@flowselections/layout-maker 1.32.0 → 1.38.4

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 (115) hide show
  1. package/README.md +139 -139
  2. package/dist-lib/components/AfdrukKnop.d.ts +19 -19
  3. package/dist-lib/components/ComputersLijst.d.ts.map +1 -1
  4. package/dist-lib/components/ComputersLijst.js +5 -5
  5. package/dist-lib/components/DocumentenPage.d.ts.map +1 -1
  6. package/dist-lib/components/DocumentenPage.js +3 -2
  7. package/dist-lib/components/LayoutPrinterSelect.d.ts +8 -0
  8. package/dist-lib/components/LayoutPrinterSelect.d.ts.map +1 -0
  9. package/dist-lib/components/LayoutPrinterSelect.js +23 -0
  10. package/dist-lib/components/LayoutsPage.d.ts.map +1 -1
  11. package/dist-lib/components/LayoutsPage.js +16 -3
  12. package/dist-lib/components/NetwerkPrintersDialog.d.ts +7 -7
  13. package/dist-lib/components/PaginaDocument.d.ts +4 -1
  14. package/dist-lib/components/PaginaDocument.d.ts.map +1 -1
  15. package/dist-lib/components/PaginaDocument.js +10 -5
  16. package/dist-lib/components/PakbonBuilderPage.d.ts.map +1 -1
  17. package/dist-lib/components/PakbonBuilderPage.js +6 -2
  18. package/dist-lib/components/PakbonPreview.d.ts +4 -2
  19. package/dist-lib/components/PakbonPreview.d.ts.map +1 -1
  20. package/dist-lib/components/PakbonPreview.js +55 -12
  21. package/dist-lib/components/PakbonSectiesPanel.d.ts +2 -2
  22. package/dist-lib/components/PakbonSectiesPanel.d.ts.map +1 -1
  23. package/dist-lib/components/PakbonSectiesPanel.js +7 -2
  24. package/dist-lib/components/PdfMapAutoSaver.d.ts +6 -0
  25. package/dist-lib/components/PdfMapAutoSaver.d.ts.map +1 -0
  26. package/dist-lib/components/PdfMapAutoSaver.js +12 -0
  27. package/dist-lib/components/PdfMapGlobaleBanner.d.ts +12 -0
  28. package/dist-lib/components/PdfMapGlobaleBanner.d.ts.map +1 -0
  29. package/dist-lib/components/PdfMapGlobaleBanner.js +30 -0
  30. package/dist-lib/components/PdfMapToestemmingBanner.d.ts +7 -0
  31. package/dist-lib/components/PdfMapToestemmingBanner.d.ts.map +1 -0
  32. package/dist-lib/components/PdfMapToestemmingBanner.js +139 -0
  33. package/dist-lib/components/PrintQueuePage.d.ts.map +1 -1
  34. package/dist-lib/components/PrintQueuePage.js +42 -3
  35. package/dist-lib/components/PrintenPage.d.ts.map +1 -1
  36. package/dist-lib/components/PrintenPage.js +3 -2
  37. package/dist-lib/components/PrinterSetupWizard.d.ts.map +1 -1
  38. package/dist-lib/components/PrinterSetupWizard.js +28 -5
  39. package/dist-lib/components/PrintersRedirectPage.d.ts +1 -1
  40. package/dist-lib/components/PrintersRedirectPage.js +14 -14
  41. package/dist-lib/components/PrintplekDetailPage.d.ts.map +1 -1
  42. package/dist-lib/components/PrintplekDetailPage.js +30 -4
  43. package/dist-lib/components/PrintplekWizard.d.ts.map +1 -1
  44. package/dist-lib/components/PrintplekWizard.js +81 -3
  45. package/dist-lib/components/ProductiebonBuilderPage.d.ts.map +1 -1
  46. package/dist-lib/components/ProductiebonBuilderPage.js +3 -1
  47. package/dist-lib/index.d.ts +10 -2
  48. package/dist-lib/index.d.ts.map +1 -1
  49. package/dist-lib/index.js +13 -2
  50. package/dist-lib/integrations/supabase/auth-middleware.d.ts +1396 -727
  51. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  52. package/dist-lib/integrations/supabase/client.server.d.ts +1396 -727
  53. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  54. package/dist-lib/integrations/supabase/client.server.js +1 -1
  55. package/dist-lib/integrations/supabase/moduleClient.d.ts +24008 -0
  56. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -0
  57. package/dist-lib/integrations/supabase/moduleClient.js +29 -0
  58. package/dist-lib/integrations/supabase/types.d.ts +1403 -750
  59. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  60. package/dist-lib/lib/aiLayout.functions.d.ts +1396 -727
  61. package/dist-lib/lib/aiLayout.functions.d.ts.map +1 -1
  62. package/dist-lib/lib/aiLayout.server.js +9 -9
  63. package/dist-lib/lib/browserPrint.js +1 -1
  64. package/dist-lib/lib/code128.d.ts +5 -0
  65. package/dist-lib/lib/code128.d.ts.map +1 -0
  66. package/dist-lib/lib/code128.js +51 -0
  67. package/dist-lib/lib/htmlPdf.server.d.ts.map +1 -1
  68. package/dist-lib/lib/htmlPdf.server.js +101 -6
  69. package/dist-lib/lib/layoutPreview.d.ts.map +1 -1
  70. package/dist-lib/lib/layoutPreview.js +11 -8
  71. package/dist-lib/lib/orderData.server.d.ts.map +1 -1
  72. package/dist-lib/lib/orderData.server.js +123 -10
  73. package/dist-lib/lib/pakbonBuilder.d.ts +28 -2
  74. package/dist-lib/lib/pakbonBuilder.d.ts.map +1 -1
  75. package/dist-lib/lib/pakbonBuilder.js +69 -8
  76. package/dist-lib/lib/pakbonHtml.d.ts +14 -2
  77. package/dist-lib/lib/pakbonHtml.d.ts.map +1 -1
  78. package/dist-lib/lib/pakbonHtml.js +155 -63
  79. package/dist-lib/lib/pakbonScan.d.ts +44 -0
  80. package/dist-lib/lib/pakbonScan.d.ts.map +1 -0
  81. package/dist-lib/lib/pakbonScan.js +105 -0
  82. package/dist-lib/lib/pdfJobSaver.d.ts +20 -0
  83. package/dist-lib/lib/pdfJobSaver.d.ts.map +1 -0
  84. package/dist-lib/lib/pdfJobSaver.js +173 -0
  85. package/dist-lib/lib/pdfMap.d.ts +48 -0
  86. package/dist-lib/lib/pdfMap.d.ts.map +1 -0
  87. package/dist-lib/lib/pdfMap.js +219 -0
  88. package/dist-lib/lib/pdfPrinter.d.ts +9 -0
  89. package/dist-lib/lib/pdfPrinter.d.ts.map +1 -0
  90. package/dist-lib/lib/pdfPrinter.js +34 -0
  91. package/dist-lib/lib/previewPdf.d.ts.map +1 -1
  92. package/dist-lib/lib/previewPdf.js +41 -9
  93. package/dist-lib/lib/printApi.d.ts.map +1 -1
  94. package/dist-lib/lib/printApi.js +9 -1
  95. package/dist-lib/lib/printQueue.server.d.ts +7 -0
  96. package/dist-lib/lib/printQueue.server.d.ts.map +1 -1
  97. package/dist-lib/lib/printQueue.server.js +346 -52
  98. package/dist-lib/lib/printService.functions.d.ts +5365 -2689
  99. package/dist-lib/lib/printService.functions.d.ts.map +1 -1
  100. package/dist-lib/lib/productiebonHtml.js +15 -15
  101. package/dist-lib/lib/profielHtml.js +18 -18
  102. package/dist-lib/lib/supabaseAdmin.server.d.ts +5 -5
  103. package/dist-lib/lib/supabaseAdmin.server.js +43 -43
  104. package/dist-lib/lib/supabaseClient.d.ts +1 -3
  105. package/dist-lib/lib/supabaseClient.d.ts.map +1 -1
  106. package/dist-lib/lib/supabaseClient.js +4 -8
  107. package/dist-lib/lib/testpagina.js +3 -3
  108. package/dist-lib/lib/testprint.js +4 -4
  109. package/dist-lib/lib/useDocumentData.d.ts +10 -0
  110. package/dist-lib/lib/useDocumentData.d.ts.map +1 -1
  111. package/dist-lib/lib/useDocumentData.js +19 -0
  112. package/dist-lib/lib/voorbeeldPrint.d.ts +4 -0
  113. package/dist-lib/lib/voorbeeldPrint.d.ts.map +1 -1
  114. package/dist-lib/lib/voorbeeldPrint.js +13 -2
  115. package/package.json +151 -151
@@ -2851,6 +2851,84 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
2851
2851
  };
2852
2852
  Relationships: [];
2853
2853
  };
2854
+ delivery_notes: {
2855
+ Row: {
2856
+ byte_size: number | null;
2857
+ connection_id: string | null;
2858
+ content_type: string;
2859
+ created_at: string;
2860
+ error_message: string | null;
2861
+ fetched_at: string | null;
2862
+ fulfillment_order_id: string | null;
2863
+ http_status: number | null;
2864
+ id: string;
2865
+ label_code: string | null;
2866
+ letter: string | null;
2867
+ load_carrier_index: number | null;
2868
+ load_carrier_type: string | null;
2869
+ order_id: string | null;
2870
+ order_number: string | null;
2871
+ packages: number | null;
2872
+ source: string;
2873
+ status: string;
2874
+ storage_bucket: string;
2875
+ storage_path: string | null;
2876
+ updated_at: string;
2877
+ };
2878
+ Insert: {
2879
+ byte_size?: number | null;
2880
+ connection_id?: string | null;
2881
+ content_type?: string;
2882
+ created_at?: string;
2883
+ error_message?: string | null;
2884
+ fetched_at?: string | null;
2885
+ fulfillment_order_id?: string | null;
2886
+ http_status?: number | null;
2887
+ id?: string;
2888
+ label_code?: string | null;
2889
+ letter?: string | null;
2890
+ load_carrier_index?: number | null;
2891
+ load_carrier_type?: string | null;
2892
+ order_id?: string | null;
2893
+ order_number?: string | null;
2894
+ packages?: number | null;
2895
+ source?: string;
2896
+ status?: string;
2897
+ storage_bucket?: string;
2898
+ storage_path?: string | null;
2899
+ updated_at?: string;
2900
+ };
2901
+ Update: {
2902
+ byte_size?: number | null;
2903
+ connection_id?: string | null;
2904
+ content_type?: string;
2905
+ created_at?: string;
2906
+ error_message?: string | null;
2907
+ fetched_at?: string | null;
2908
+ fulfillment_order_id?: string | null;
2909
+ http_status?: number | null;
2910
+ id?: string;
2911
+ label_code?: string | null;
2912
+ letter?: string | null;
2913
+ load_carrier_index?: number | null;
2914
+ load_carrier_type?: string | null;
2915
+ order_id?: string | null;
2916
+ order_number?: string | null;
2917
+ packages?: number | null;
2918
+ source?: string;
2919
+ status?: string;
2920
+ storage_bucket?: string;
2921
+ storage_path?: string | null;
2922
+ updated_at?: string;
2923
+ };
2924
+ Relationships: [{
2925
+ foreignKeyName: "delivery_notes_order_id_fkey";
2926
+ columns: ["order_id"];
2927
+ isOneToOne: false;
2928
+ referencedRelation: "orders";
2929
+ referencedColumns: ["id"];
2930
+ }];
2931
+ };
2854
2932
  document_bronregels: {
2855
2933
  Row: {
2856
2934
  bron: string;
@@ -5904,10 +5982,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
5904
5982
  };
5905
5983
  floriday_connections: {
5906
5984
  Row: {
5907
- access_token: string | null;
5908
5985
  api_key: string;
5909
- client_id: string;
5910
- client_secret: string;
5911
5986
  created_at: string;
5912
5987
  customers_endpoint: string | null;
5913
5988
  environment: string;
@@ -5922,10 +5997,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
5922
5997
  updated_at: string;
5923
5998
  };
5924
5999
  Insert: {
5925
- access_token?: string | null;
5926
6000
  api_key: string;
5927
- client_id: string;
5928
- client_secret: string;
5929
6001
  created_at?: string;
5930
6002
  customers_endpoint?: string | null;
5931
6003
  environment: string;
@@ -5940,10 +6012,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
5940
6012
  updated_at?: string;
5941
6013
  };
5942
6014
  Update: {
5943
- access_token?: string | null;
5944
6015
  api_key?: string;
5945
- client_id?: string;
5946
- client_secret?: string;
5947
6016
  created_at?: string;
5948
6017
  customers_endpoint?: string | null;
5949
6018
  environment?: string;
@@ -6027,6 +6096,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
6027
6096
  attempts: number;
6028
6097
  connection_id: string;
6029
6098
  created_at: string;
6099
+ dead_lettered_at: string | null;
6030
6100
  desired_available: boolean | null;
6031
6101
  gateway_attempt_id: string | null;
6032
6102
  id: string;
@@ -6035,9 +6105,13 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
6035
6105
  locked_by: string | null;
6036
6106
  next_attempt_at: string;
6037
6107
  number_of_pieces: number;
6108
+ product_id: string | null;
6038
6109
  sent_at: string | null;
6039
6110
  status: string;
6111
+ stock_mode: string | null;
6040
6112
  superseded_by: string | null;
6113
+ target_week: number | null;
6114
+ target_year: number | null;
6041
6115
  trade_item_id: string;
6042
6116
  updated_at: string;
6043
6117
  user_id: string;
@@ -6046,6 +6120,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
6046
6120
  attempts?: number;
6047
6121
  connection_id: string;
6048
6122
  created_at?: string;
6123
+ dead_lettered_at?: string | null;
6049
6124
  desired_available?: boolean | null;
6050
6125
  gateway_attempt_id?: string | null;
6051
6126
  id?: string;
@@ -6054,9 +6129,13 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
6054
6129
  locked_by?: string | null;
6055
6130
  next_attempt_at?: string;
6056
6131
  number_of_pieces?: number;
6132
+ product_id?: string | null;
6057
6133
  sent_at?: string | null;
6058
6134
  status?: string;
6135
+ stock_mode?: string | null;
6059
6136
  superseded_by?: string | null;
6137
+ target_week?: number | null;
6138
+ target_year?: number | null;
6060
6139
  trade_item_id: string;
6061
6140
  updated_at?: string;
6062
6141
  user_id: string;
@@ -6065,6 +6144,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
6065
6144
  attempts?: number;
6066
6145
  connection_id?: string;
6067
6146
  created_at?: string;
6147
+ dead_lettered_at?: string | null;
6068
6148
  desired_available?: boolean | null;
6069
6149
  gateway_attempt_id?: string | null;
6070
6150
  id?: string;
@@ -6073,9 +6153,13 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
6073
6153
  locked_by?: string | null;
6074
6154
  next_attempt_at?: string;
6075
6155
  number_of_pieces?: number;
6156
+ product_id?: string | null;
6076
6157
  sent_at?: string | null;
6077
6158
  status?: string;
6159
+ stock_mode?: string | null;
6078
6160
  superseded_by?: string | null;
6161
+ target_week?: number | null;
6162
+ target_year?: number | null;
6079
6163
  trade_item_id?: string;
6080
6164
  updated_at?: string;
6081
6165
  user_id?: string;
@@ -6484,6 +6568,87 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
6484
6568
  referencedColumns: ["id"];
6485
6569
  }];
6486
6570
  };
6571
+ floriday_inventory_settings: {
6572
+ Row: {
6573
+ buffer_quantity: number;
6574
+ connection_id: string;
6575
+ created_at: string;
6576
+ desired_availability: boolean;
6577
+ desired_quantity: number;
6578
+ fixed_quantity: number | null;
6579
+ floriday_trade_item_id: string | null;
6580
+ id: string;
6581
+ last_confirmed_at: string | null;
6582
+ last_enqueued_at: string | null;
6583
+ last_published_at: string | null;
6584
+ last_sync_error: string | null;
6585
+ manual_quantity: number | null;
6586
+ maximum_quantity: number | null;
6587
+ product_id: string;
6588
+ quantity_control: string;
6589
+ remote_available: boolean | null;
6590
+ remote_checked_at: string | null;
6591
+ remote_quantity: number | null;
6592
+ stock_mode: string;
6593
+ sync_status: string;
6594
+ updated_at: string;
6595
+ updated_by: string | null;
6596
+ user_id: string;
6597
+ };
6598
+ Insert: {
6599
+ buffer_quantity?: number;
6600
+ connection_id: string;
6601
+ created_at?: string;
6602
+ desired_availability?: boolean;
6603
+ desired_quantity?: number;
6604
+ fixed_quantity?: number | null;
6605
+ floriday_trade_item_id?: string | null;
6606
+ id?: string;
6607
+ last_confirmed_at?: string | null;
6608
+ last_enqueued_at?: string | null;
6609
+ last_published_at?: string | null;
6610
+ last_sync_error?: string | null;
6611
+ manual_quantity?: number | null;
6612
+ maximum_quantity?: number | null;
6613
+ product_id: string;
6614
+ quantity_control?: string;
6615
+ remote_available?: boolean | null;
6616
+ remote_checked_at?: string | null;
6617
+ remote_quantity?: number | null;
6618
+ stock_mode?: string;
6619
+ sync_status?: string;
6620
+ updated_at?: string;
6621
+ updated_by?: string | null;
6622
+ user_id: string;
6623
+ };
6624
+ Update: {
6625
+ buffer_quantity?: number;
6626
+ connection_id?: string;
6627
+ created_at?: string;
6628
+ desired_availability?: boolean;
6629
+ desired_quantity?: number;
6630
+ fixed_quantity?: number | null;
6631
+ floriday_trade_item_id?: string | null;
6632
+ id?: string;
6633
+ last_confirmed_at?: string | null;
6634
+ last_enqueued_at?: string | null;
6635
+ last_published_at?: string | null;
6636
+ last_sync_error?: string | null;
6637
+ manual_quantity?: number | null;
6638
+ maximum_quantity?: number | null;
6639
+ product_id?: string;
6640
+ quantity_control?: string;
6641
+ remote_available?: boolean | null;
6642
+ remote_checked_at?: string | null;
6643
+ remote_quantity?: number | null;
6644
+ stock_mode?: string;
6645
+ sync_status?: string;
6646
+ updated_at?: string;
6647
+ updated_by?: string | null;
6648
+ user_id?: string;
6649
+ };
6650
+ Relationships: [];
6651
+ };
6487
6652
  floriday_invoices_cache: {
6488
6653
  Row: {
6489
6654
  buyer_organization_id: string | null;
@@ -6772,6 +6937,39 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
6772
6937
  };
6773
6938
  Relationships: [];
6774
6939
  };
6940
+ floriday_sales_order_ingest: {
6941
+ Row: {
6942
+ connection_id: string;
6943
+ created_at: string;
6944
+ id: string;
6945
+ impact: import("../integrations/supabase/types.js").Json;
6946
+ order_status: string | null;
6947
+ order_version: number;
6948
+ processed_at: string;
6949
+ sales_order_id: string;
6950
+ };
6951
+ Insert: {
6952
+ connection_id: string;
6953
+ created_at?: string;
6954
+ id?: string;
6955
+ impact?: import("../integrations/supabase/types.js").Json;
6956
+ order_status?: string | null;
6957
+ order_version?: number;
6958
+ processed_at?: string;
6959
+ sales_order_id: string;
6960
+ };
6961
+ Update: {
6962
+ connection_id?: string;
6963
+ created_at?: string;
6964
+ id?: string;
6965
+ impact?: import("../integrations/supabase/types.js").Json;
6966
+ order_status?: string | null;
6967
+ order_version?: number;
6968
+ processed_at?: string;
6969
+ sales_order_id?: string;
6970
+ };
6971
+ Relationships: [];
6972
+ };
6775
6973
  floriday_sales_strategies_cache: {
6776
6974
  Row: {
6777
6975
  connection_id: string;
@@ -6871,6 +7069,39 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
6871
7069
  };
6872
7070
  Relationships: [];
6873
7071
  };
7072
+ floriday_sync_cursors: {
7073
+ Row: {
7074
+ connection_id: string;
7075
+ created_at: string;
7076
+ id: string;
7077
+ last_error: string | null;
7078
+ last_sync_at: string | null;
7079
+ resource_type: string;
7080
+ sequence_number: number;
7081
+ updated_at: string;
7082
+ };
7083
+ Insert: {
7084
+ connection_id: string;
7085
+ created_at?: string;
7086
+ id?: string;
7087
+ last_error?: string | null;
7088
+ last_sync_at?: string | null;
7089
+ resource_type: string;
7090
+ sequence_number?: number;
7091
+ updated_at?: string;
7092
+ };
7093
+ Update: {
7094
+ connection_id?: string;
7095
+ created_at?: string;
7096
+ id?: string;
7097
+ last_error?: string | null;
7098
+ last_sync_at?: string | null;
7099
+ resource_type?: string;
7100
+ sequence_number?: number;
7101
+ updated_at?: string;
7102
+ };
7103
+ Relationships: [];
7104
+ };
6874
7105
  floriday_sync_state: {
6875
7106
  Row: {
6876
7107
  connection_id: string;
@@ -7561,6 +7792,42 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
7561
7792
  };
7562
7793
  Relationships: [];
7563
7794
  };
7795
+ inventory_stock_snapshots: {
7796
+ Row: {
7797
+ connection_id: string;
7798
+ created_at: string;
7799
+ erp_available_quantity: number;
7800
+ floriday_desired_quantity: number;
7801
+ floriday_remote_quantity: number | null;
7802
+ granularity: string;
7803
+ id: string;
7804
+ snapshot_at: string;
7805
+ user_id: string | null;
7806
+ };
7807
+ Insert: {
7808
+ connection_id: string;
7809
+ created_at?: string;
7810
+ erp_available_quantity?: number;
7811
+ floriday_desired_quantity?: number;
7812
+ floriday_remote_quantity?: number | null;
7813
+ granularity?: string;
7814
+ id?: string;
7815
+ snapshot_at?: string;
7816
+ user_id?: string | null;
7817
+ };
7818
+ Update: {
7819
+ connection_id?: string;
7820
+ created_at?: string;
7821
+ erp_available_quantity?: number;
7822
+ floriday_desired_quantity?: number;
7823
+ floriday_remote_quantity?: number | null;
7824
+ granularity?: string;
7825
+ id?: string;
7826
+ snapshot_at?: string;
7827
+ user_id?: string | null;
7828
+ };
7829
+ Relationships: [];
7830
+ };
7564
7831
  invoice_items: {
7565
7832
  Row: {
7566
7833
  created_at: string;
@@ -8069,13 +8336,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
8069
8336
  segment?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["itk_customer_segment"];
8070
8337
  updated_at?: string;
8071
8338
  };
8072
- Relationships: [{
8073
- foreignKeyName: "itk_customers_legacy_customer_id_fkey";
8074
- columns: ["legacy_customer_id"];
8075
- isOneToOne: false;
8076
- referencedRelation: "customers";
8077
- referencedColumns: ["id"];
8078
- }];
8339
+ Relationships: [];
8079
8340
  };
8080
8341
  itk_dynamic_fields: {
8081
8342
  Row: {
@@ -8107,104 +8368,278 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
8107
8368
  };
8108
8369
  Relationships: [];
8109
8370
  };
8110
- itk_offerte_events: {
8371
+ itk_handover_rechten: {
8111
8372
  Row: {
8112
8373
  created_at: string;
8113
- event_type: string;
8114
8374
  id: string;
8115
- metadata: import("../integrations/supabase/types.js").Json;
8116
- offerte_id: string;
8117
- omschrijving: string | null;
8375
+ module_id: string;
8376
+ rol: import("../integrations/supabase/types.js").Database["public"]["Enums"]["app_role"] | null;
8377
+ updated_at: string;
8118
8378
  user_id: string | null;
8119
8379
  };
8120
8380
  Insert: {
8121
8381
  created_at?: string;
8122
- event_type: string;
8123
8382
  id?: string;
8124
- metadata?: import("../integrations/supabase/types.js").Json;
8125
- offerte_id: string;
8126
- omschrijving?: string | null;
8383
+ module_id: string;
8384
+ rol?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["app_role"] | null;
8385
+ updated_at?: string;
8127
8386
  user_id?: string | null;
8128
8387
  };
8129
8388
  Update: {
8130
8389
  created_at?: string;
8131
- event_type?: string;
8132
8390
  id?: string;
8133
- metadata?: import("../integrations/supabase/types.js").Json;
8134
- offerte_id?: string;
8135
- omschrijving?: string | null;
8391
+ module_id?: string;
8392
+ rol?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["app_role"] | null;
8393
+ updated_at?: string;
8136
8394
  user_id?: string | null;
8137
8395
  };
8138
- Relationships: [{
8139
- foreignKeyName: "itk_offerte_events_offerte_id_fkey";
8140
- columns: ["offerte_id"];
8141
- isOneToOne: false;
8142
- referencedRelation: "itk_offertes";
8143
- referencedColumns: ["id"];
8144
- }];
8396
+ Relationships: [];
8145
8397
  };
8146
- itk_offerte_regels: {
8398
+ itk_handover_tokens: {
8147
8399
  Row: {
8400
+ aangemaakt_door: string | null;
8148
8401
  created_at: string;
8149
8402
  id: string;
8150
- line_total_cents: number;
8151
- offerte_id: string;
8152
- omschrijving: string;
8153
- package_id: string | null;
8154
- quantity: number;
8155
- sort_order: number;
8156
- source: string;
8157
- unit_price_cents: number;
8403
+ is_actief: boolean;
8404
+ laatst_gebruikt_op: string | null;
8405
+ label: string;
8406
+ module_id: string;
8407
+ token_hash: string;
8158
8408
  updated_at: string;
8409
+ verloopt_op: string | null;
8159
8410
  };
8160
8411
  Insert: {
8412
+ aangemaakt_door?: string | null;
8161
8413
  created_at?: string;
8162
8414
  id?: string;
8163
- line_total_cents?: number;
8164
- offerte_id: string;
8165
- omschrijving?: string;
8166
- package_id?: string | null;
8167
- quantity?: number;
8168
- sort_order?: number;
8169
- source?: string;
8170
- unit_price_cents?: number;
8415
+ is_actief?: boolean;
8416
+ laatst_gebruikt_op?: string | null;
8417
+ label?: string;
8418
+ module_id: string;
8419
+ token_hash: string;
8171
8420
  updated_at?: string;
8421
+ verloopt_op?: string | null;
8172
8422
  };
8173
8423
  Update: {
8424
+ aangemaakt_door?: string | null;
8174
8425
  created_at?: string;
8175
8426
  id?: string;
8176
- line_total_cents?: number;
8177
- offerte_id?: string;
8178
- omschrijving?: string;
8179
- package_id?: string | null;
8180
- quantity?: number;
8181
- sort_order?: number;
8182
- source?: string;
8183
- unit_price_cents?: number;
8427
+ is_actief?: boolean;
8428
+ laatst_gebruikt_op?: string | null;
8429
+ label?: string;
8430
+ module_id?: string;
8431
+ token_hash?: string;
8184
8432
  updated_at?: string;
8433
+ verloopt_op?: string | null;
8185
8434
  };
8186
- Relationships: [{
8187
- foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
8188
- columns: ["offerte_id"];
8189
- isOneToOne: false;
8190
- referencedRelation: "itk_offertes";
8191
- referencedColumns: ["id"];
8192
- }, {
8193
- foreignKeyName: "itk_offerte_regels_package_id_fkey";
8194
- columns: ["package_id"];
8195
- isOneToOne: false;
8196
- referencedRelation: "werkbon_packages";
8197
- referencedColumns: ["id"];
8198
- }];
8435
+ Relationships: [];
8199
8436
  };
8200
- itk_offerte_settings: {
8437
+ itk_module_handovers: {
8201
8438
  Row: {
8202
- auto_convert_binnen_mandaat: boolean;
8439
+ bevindingen: string | null;
8440
+ bezit_tabellen: string[];
8441
+ conflicten_snapshot: import("../integrations/supabase/types.js").Json;
8442
+ contractfuncties: string[];
8203
8443
  created_at: string;
8204
- default_geldigheid_dagen: number;
8205
- default_vat_rate: number;
8444
+ eigenaar_module_id: string | null;
8445
+ gepubliceerd_door: string | null;
8446
+ gepubliceerd_op: string;
8447
+ herzieningstermijn_dagen: number;
8206
8448
  id: string;
8207
- singleton: boolean;
8449
+ inhoud_md: string;
8450
+ is_actueel: boolean;
8451
+ module_id: string;
8452
+ module_titel: string;
8453
+ ontbrekende_contracten: string[];
8454
+ samenvatting: string | null;
8455
+ updated_at: string;
8456
+ versie: number;
8457
+ };
8458
+ Insert: {
8459
+ bevindingen?: string | null;
8460
+ bezit_tabellen?: string[];
8461
+ conflicten_snapshot?: import("../integrations/supabase/types.js").Json;
8462
+ contractfuncties?: string[];
8463
+ created_at?: string;
8464
+ eigenaar_module_id?: string | null;
8465
+ gepubliceerd_door?: string | null;
8466
+ gepubliceerd_op?: string;
8467
+ herzieningstermijn_dagen?: number;
8468
+ id?: string;
8469
+ inhoud_md: string;
8470
+ is_actueel?: boolean;
8471
+ module_id: string;
8472
+ module_titel: string;
8473
+ ontbrekende_contracten?: string[];
8474
+ samenvatting?: string | null;
8475
+ updated_at?: string;
8476
+ versie?: number;
8477
+ };
8478
+ Update: {
8479
+ bevindingen?: string | null;
8480
+ bezit_tabellen?: string[];
8481
+ conflicten_snapshot?: import("../integrations/supabase/types.js").Json;
8482
+ contractfuncties?: string[];
8483
+ created_at?: string;
8484
+ eigenaar_module_id?: string | null;
8485
+ gepubliceerd_door?: string | null;
8486
+ gepubliceerd_op?: string;
8487
+ herzieningstermijn_dagen?: number;
8488
+ id?: string;
8489
+ inhoud_md?: string;
8490
+ is_actueel?: boolean;
8491
+ module_id?: string;
8492
+ module_titel?: string;
8493
+ ontbrekende_contracten?: string[];
8494
+ samenvatting?: string | null;
8495
+ updated_at?: string;
8496
+ versie?: number;
8497
+ };
8498
+ Relationships: [];
8499
+ };
8500
+ itk_module_instructies: {
8501
+ Row: {
8502
+ created_at: string;
8503
+ eigenaar_module_id: string;
8504
+ gepubliceerd_door: string | null;
8505
+ gepubliceerd_op: string;
8506
+ id: string;
8507
+ inhoud_md: string;
8508
+ is_actueel: boolean;
8509
+ sleutel: string;
8510
+ titel: string;
8511
+ toelichting: string | null;
8512
+ updated_at: string;
8513
+ versie: number;
8514
+ };
8515
+ Insert: {
8516
+ created_at?: string;
8517
+ eigenaar_module_id?: string;
8518
+ gepubliceerd_door?: string | null;
8519
+ gepubliceerd_op?: string;
8520
+ id?: string;
8521
+ inhoud_md: string;
8522
+ is_actueel?: boolean;
8523
+ sleutel: string;
8524
+ titel: string;
8525
+ toelichting?: string | null;
8526
+ updated_at?: string;
8527
+ versie?: number;
8528
+ };
8529
+ Update: {
8530
+ created_at?: string;
8531
+ eigenaar_module_id?: string;
8532
+ gepubliceerd_door?: string | null;
8533
+ gepubliceerd_op?: string;
8534
+ id?: string;
8535
+ inhoud_md?: string;
8536
+ is_actueel?: boolean;
8537
+ sleutel?: string;
8538
+ titel?: string;
8539
+ toelichting?: string | null;
8540
+ updated_at?: string;
8541
+ versie?: number;
8542
+ };
8543
+ Relationships: [];
8544
+ };
8545
+ itk_offerte_events: {
8546
+ Row: {
8547
+ created_at: string;
8548
+ event_type: string;
8549
+ id: string;
8550
+ metadata: import("../integrations/supabase/types.js").Json;
8551
+ offerte_id: string;
8552
+ omschrijving: string | null;
8553
+ user_id: string | null;
8554
+ };
8555
+ Insert: {
8556
+ created_at?: string;
8557
+ event_type: string;
8558
+ id?: string;
8559
+ metadata?: import("../integrations/supabase/types.js").Json;
8560
+ offerte_id: string;
8561
+ omschrijving?: string | null;
8562
+ user_id?: string | null;
8563
+ };
8564
+ Update: {
8565
+ created_at?: string;
8566
+ event_type?: string;
8567
+ id?: string;
8568
+ metadata?: import("../integrations/supabase/types.js").Json;
8569
+ offerte_id?: string;
8570
+ omschrijving?: string | null;
8571
+ user_id?: string | null;
8572
+ };
8573
+ Relationships: [{
8574
+ foreignKeyName: "itk_offerte_events_offerte_id_fkey";
8575
+ columns: ["offerte_id"];
8576
+ isOneToOne: false;
8577
+ referencedRelation: "itk_offertes";
8578
+ referencedColumns: ["id"];
8579
+ }];
8580
+ };
8581
+ itk_offerte_regels: {
8582
+ Row: {
8583
+ created_at: string;
8584
+ id: string;
8585
+ line_total_cents: number;
8586
+ offerte_id: string;
8587
+ omschrijving: string;
8588
+ package_id: string | null;
8589
+ quantity: number;
8590
+ sort_order: number;
8591
+ source: string;
8592
+ unit_price_cents: number;
8593
+ updated_at: string;
8594
+ };
8595
+ Insert: {
8596
+ created_at?: string;
8597
+ id?: string;
8598
+ line_total_cents?: number;
8599
+ offerte_id: string;
8600
+ omschrijving?: string;
8601
+ package_id?: string | null;
8602
+ quantity?: number;
8603
+ sort_order?: number;
8604
+ source?: string;
8605
+ unit_price_cents?: number;
8606
+ updated_at?: string;
8607
+ };
8608
+ Update: {
8609
+ created_at?: string;
8610
+ id?: string;
8611
+ line_total_cents?: number;
8612
+ offerte_id?: string;
8613
+ omschrijving?: string;
8614
+ package_id?: string | null;
8615
+ quantity?: number;
8616
+ sort_order?: number;
8617
+ source?: string;
8618
+ unit_price_cents?: number;
8619
+ updated_at?: string;
8620
+ };
8621
+ Relationships: [{
8622
+ foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
8623
+ columns: ["offerte_id"];
8624
+ isOneToOne: false;
8625
+ referencedRelation: "itk_offertes";
8626
+ referencedColumns: ["id"];
8627
+ }, {
8628
+ foreignKeyName: "itk_offerte_regels_package_id_fkey";
8629
+ columns: ["package_id"];
8630
+ isOneToOne: false;
8631
+ referencedRelation: "werkbon_packages";
8632
+ referencedColumns: ["id"];
8633
+ }];
8634
+ };
8635
+ itk_offerte_settings: {
8636
+ Row: {
8637
+ auto_convert_binnen_mandaat: boolean;
8638
+ created_at: string;
8639
+ default_geldigheid_dagen: number;
8640
+ default_vat_rate: number;
8641
+ id: string;
8642
+ singleton: boolean;
8208
8643
  updated_at: string;
8209
8644
  };
8210
8645
  Insert: {
@@ -8965,6 +9400,27 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
8965
9400
  };
8966
9401
  Relationships: [];
8967
9402
  };
9403
+ logistics_cart_barcode: {
9404
+ Row: {
9405
+ barcode: string;
9406
+ cart_id: string;
9407
+ created_at: string;
9408
+ order_id: string | null;
9409
+ };
9410
+ Insert: {
9411
+ barcode: string;
9412
+ cart_id: string;
9413
+ created_at?: string;
9414
+ order_id?: string | null;
9415
+ };
9416
+ Update: {
9417
+ barcode?: string;
9418
+ cart_id?: string;
9419
+ created_at?: string;
9420
+ order_id?: string | null;
9421
+ };
9422
+ Relationships: [];
9423
+ };
8968
9424
  logistics_decisions: {
8969
9425
  Row: {
8970
9426
  created_at: string;
@@ -9793,6 +10249,36 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
9793
10249
  referencedColumns: ["id"];
9794
10250
  }];
9795
10251
  };
10252
+ logistics_shipping_note_scan: {
10253
+ Row: {
10254
+ barcode: string;
10255
+ cart_id: string;
10256
+ id: string;
10257
+ is_reprint: boolean;
10258
+ order_id: string | null;
10259
+ print_job_id: string | null;
10260
+ scanned_at: string;
10261
+ };
10262
+ Insert: {
10263
+ barcode: string;
10264
+ cart_id: string;
10265
+ id?: string;
10266
+ is_reprint?: boolean;
10267
+ order_id?: string | null;
10268
+ print_job_id?: string | null;
10269
+ scanned_at?: string;
10270
+ };
10271
+ Update: {
10272
+ barcode?: string;
10273
+ cart_id?: string;
10274
+ id?: string;
10275
+ is_reprint?: boolean;
10276
+ order_id?: string | null;
10277
+ print_job_id?: string | null;
10278
+ scanned_at?: string;
10279
+ };
10280
+ Relationships: [];
10281
+ };
9796
10282
  logistics_staff_planning: {
9797
10283
  Row: {
9798
10284
  created_at: string;
@@ -11848,6 +12334,8 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
11848
12334
  order_buffers: {
11849
12335
  Row: {
11850
12336
  buffer_key: string;
12337
+ close_at: string | null;
12338
+ closed_at: string | null;
11851
12339
  created_at: string;
11852
12340
  customer_id: string | null;
11853
12341
  grouping_mode: string;
@@ -11859,6 +12347,8 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
11859
12347
  };
11860
12348
  Insert: {
11861
12349
  buffer_key: string;
12350
+ close_at?: string | null;
12351
+ closed_at?: string | null;
11862
12352
  created_at?: string;
11863
12353
  customer_id?: string | null;
11864
12354
  grouping_mode: string;
@@ -11870,6 +12360,8 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
11870
12360
  };
11871
12361
  Update: {
11872
12362
  buffer_key?: string;
12363
+ close_at?: string | null;
12364
+ closed_at?: string | null;
11873
12365
  created_at?: string;
11874
12366
  customer_id?: string | null;
11875
12367
  grouping_mode?: string;
@@ -11886,10 +12378,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
11886
12378
  boxes: number | null;
11887
12379
  cart_id: string;
11888
12380
  crates: number;
12381
+ crates_in_layer: number | null;
11889
12382
  crates_per_layer: number;
11890
12383
  created_at: string;
11891
12384
  id: string;
11892
12385
  layer_fraction: number;
12386
+ layer_index: number | null;
11893
12387
  layer_share_pct: number;
11894
12388
  layers_per_cart: number;
11895
12389
  order_item_id: string | null;
@@ -11902,10 +12396,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
11902
12396
  boxes?: number | null;
11903
12397
  cart_id: string;
11904
12398
  crates: number;
12399
+ crates_in_layer?: number | null;
11905
12400
  crates_per_layer?: number;
11906
12401
  created_at?: string;
11907
12402
  id?: string;
11908
12403
  layer_fraction?: number;
12404
+ layer_index?: number | null;
11909
12405
  layer_share_pct?: number;
11910
12406
  layers_per_cart?: number;
11911
12407
  order_item_id?: string | null;
@@ -11918,10 +12414,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
11918
12414
  boxes?: number | null;
11919
12415
  cart_id?: string;
11920
12416
  crates?: number;
12417
+ crates_in_layer?: number | null;
11921
12418
  crates_per_layer?: number;
11922
12419
  created_at?: string;
11923
12420
  id?: string;
11924
12421
  layer_fraction?: number;
12422
+ layer_index?: number | null;
11925
12423
  layer_share_pct?: number;
11926
12424
  layers_per_cart?: number;
11927
12425
  order_item_id?: string | null;
@@ -11961,6 +12459,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
11961
12459
  id: string;
11962
12460
  is_auto: boolean;
11963
12461
  is_complete: boolean;
12462
+ layout_method: string | null;
11964
12463
  max_layers: number | null;
11965
12464
  moved_at: string | null;
11966
12465
  moved_from_moment_id: string | null;
@@ -11985,6 +12484,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
11985
12484
  id?: string;
11986
12485
  is_auto?: boolean;
11987
12486
  is_complete?: boolean;
12487
+ layout_method?: string | null;
11988
12488
  max_layers?: number | null;
11989
12489
  moved_at?: string | null;
11990
12490
  moved_from_moment_id?: string | null;
@@ -12009,6 +12509,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
12009
12509
  id?: string;
12010
12510
  is_auto?: boolean;
12011
12511
  is_complete?: boolean;
12512
+ layout_method?: string | null;
12012
12513
  max_layers?: number | null;
12013
12514
  moved_at?: string | null;
12014
12515
  moved_from_moment_id?: string | null;
@@ -12457,6 +12958,63 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
12457
12958
  };
12458
12959
  Relationships: [];
12459
12960
  };
12961
+ pakbon_barcode_inhoud: {
12962
+ Row: {
12963
+ barcode: string;
12964
+ cart_id: string | null;
12965
+ cart_index: number | null;
12966
+ cart_label: string | null;
12967
+ cart_total: number | null;
12968
+ created_at: string;
12969
+ is_herprint: boolean;
12970
+ klant_naam: string | null;
12971
+ klant_nummer: string | null;
12972
+ layout_id: string | null;
12973
+ layout_variant: string | null;
12974
+ order_nummer: string | null;
12975
+ order_ref: string | null;
12976
+ print_job_id: string | null;
12977
+ regels: import("../integrations/supabase/types.js").Json;
12978
+ updated_at: string;
12979
+ };
12980
+ Insert: {
12981
+ barcode: string;
12982
+ cart_id?: string | null;
12983
+ cart_index?: number | null;
12984
+ cart_label?: string | null;
12985
+ cart_total?: number | null;
12986
+ created_at?: string;
12987
+ is_herprint?: boolean;
12988
+ klant_naam?: string | null;
12989
+ klant_nummer?: string | null;
12990
+ layout_id?: string | null;
12991
+ layout_variant?: string | null;
12992
+ order_nummer?: string | null;
12993
+ order_ref?: string | null;
12994
+ print_job_id?: string | null;
12995
+ regels?: import("../integrations/supabase/types.js").Json;
12996
+ updated_at?: string;
12997
+ };
12998
+ Update: {
12999
+ barcode?: string;
13000
+ cart_id?: string | null;
13001
+ cart_index?: number | null;
13002
+ cart_label?: string | null;
13003
+ cart_total?: number | null;
13004
+ created_at?: string;
13005
+ is_herprint?: boolean;
13006
+ klant_naam?: string | null;
13007
+ klant_nummer?: string | null;
13008
+ layout_id?: string | null;
13009
+ layout_variant?: string | null;
13010
+ order_nummer?: string | null;
13011
+ order_ref?: string | null;
13012
+ print_job_id?: string | null;
13013
+ regels?: import("../integrations/supabase/types.js").Json;
13014
+ updated_at?: string;
13015
+ };
13016
+ Relationships: [];
13017
+ };
12460
13018
  pick_countries: {
12461
13019
  Row: {
12462
13020
  active: boolean;
@@ -12614,6 +13172,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
12614
13172
  print_job_id: string | null;
12615
13173
  printed_at: string | null;
12616
13174
  printed_by: string | null;
13175
+ printed_cart_ids: import("../integrations/supabase/types.js").Json;
12617
13176
  printer_id: string | null;
12618
13177
  priority: number;
12619
13178
  reference: string | null;
@@ -12648,6 +13207,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
12648
13207
  print_job_id?: string | null;
12649
13208
  printed_at?: string | null;
12650
13209
  printed_by?: string | null;
13210
+ printed_cart_ids?: import("../integrations/supabase/types.js").Json;
12651
13211
  printer_id?: string | null;
12652
13212
  priority?: number;
12653
13213
  reference?: string | null;
@@ -12682,6 +13242,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
12682
13242
  print_job_id?: string | null;
12683
13243
  printed_at?: string | null;
12684
13244
  printed_by?: string | null;
13245
+ printed_cart_ids?: import("../integrations/supabase/types.js").Json;
12685
13246
  printer_id?: string | null;
12686
13247
  priority?: number;
12687
13248
  reference?: string | null;
@@ -13481,6 +14042,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
13481
14042
  isOneToOne: false;
13482
14043
  referencedRelation: "planning_items";
13483
14044
  referencedColumns: ["id"];
14045
+ }, {
14046
+ foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
14047
+ columns: ["planning_item_id"];
14048
+ isOneToOne: false;
14049
+ referencedRelation: "planning_overview";
14050
+ referencedColumns: ["id"];
13484
14051
  }];
13485
14052
  };
13486
14053
  planning_items: {
@@ -13659,6 +14226,9 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
13659
14226
  is_herprint: boolean;
13660
14227
  kopieen: number;
13661
14228
  layout_id: string | null;
14229
+ lokaal_opgeslagen_op: string | null;
14230
+ lokale_pdf_fout: string | null;
14231
+ lokale_pdf_status: string | null;
13662
14232
  opgepakt_op: string | null;
13663
14233
  paginas: number;
13664
14234
  payload: import("../integrations/supabase/types.js").Json;
@@ -13667,6 +14237,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
13667
14237
  pogingen: number;
13668
14238
  printer_id: string | null;
13669
14239
  render_html: string | null;
14240
+ resultaat_pdf_base64: string | null;
13670
14241
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
13671
14242
  updated_at: string;
13672
14243
  volgende_poging: string | null;
@@ -13691,6 +14262,9 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
13691
14262
  is_herprint?: boolean;
13692
14263
  kopieen?: number;
13693
14264
  layout_id?: string | null;
14265
+ lokaal_opgeslagen_op?: string | null;
14266
+ lokale_pdf_fout?: string | null;
14267
+ lokale_pdf_status?: string | null;
13694
14268
  opgepakt_op?: string | null;
13695
14269
  paginas?: number;
13696
14270
  payload?: import("../integrations/supabase/types.js").Json;
@@ -13699,6 +14273,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
13699
14273
  pogingen?: number;
13700
14274
  printer_id?: string | null;
13701
14275
  render_html?: string | null;
14276
+ resultaat_pdf_base64?: string | null;
13702
14277
  status?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
13703
14278
  updated_at?: string;
13704
14279
  volgende_poging?: string | null;
@@ -13723,6 +14298,9 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
13723
14298
  is_herprint?: boolean;
13724
14299
  kopieen?: number;
13725
14300
  layout_id?: string | null;
14301
+ lokaal_opgeslagen_op?: string | null;
14302
+ lokale_pdf_fout?: string | null;
14303
+ lokale_pdf_status?: string | null;
13726
14304
  opgepakt_op?: string | null;
13727
14305
  paginas?: number;
13728
14306
  payload?: import("../integrations/supabase/types.js").Json;
@@ -13731,6 +14309,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
13731
14309
  pogingen?: number;
13732
14310
  printer_id?: string | null;
13733
14311
  render_html?: string | null;
14312
+ resultaat_pdf_base64?: string | null;
13734
14313
  status?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
13735
14314
  updated_at?: string;
13736
14315
  volgende_poging?: string | null;
@@ -14121,6 +14700,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
14121
14700
  ondersteunde_laden: import("../integrations/supabase/types.js").Json | null;
14122
14701
  online: boolean;
14123
14702
  papierformaat: string;
14703
+ pdf_map: string | null;
14124
14704
  poort: number | null;
14125
14705
  soort: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
14126
14706
  systeemnaam: string;
@@ -14146,6 +14726,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
14146
14726
  ondersteunde_laden?: import("../integrations/supabase/types.js").Json | null;
14147
14727
  online?: boolean;
14148
14728
  papierformaat?: string;
14729
+ pdf_map?: string | null;
14149
14730
  poort?: number | null;
14150
14731
  soort?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
14151
14732
  systeemnaam?: string;
@@ -14171,6 +14752,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
14171
14752
  ondersteunde_laden?: import("../integrations/supabase/types.js").Json | null;
14172
14753
  online?: boolean;
14173
14754
  papierformaat?: string;
14755
+ pdf_map?: string | null;
14174
14756
  poort?: number | null;
14175
14757
  soort?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
14176
14758
  systeemnaam?: string;
@@ -14575,6 +15157,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
14575
15157
  created_at: string;
14576
15158
  custom_fields: import("../integrations/supabase/types.js").Json;
14577
15159
  floriday_trade_item_id: string | null;
15160
+ fust_type_id: string | null;
14578
15161
  id: string;
14579
15162
  image_url: string | null;
14580
15163
  incoming_quantity: number;
@@ -14582,6 +15165,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
14582
15165
  layers_per_cart: number;
14583
15166
  location: string;
14584
15167
  min_quantity: number;
15168
+ plant_height_cm: number | null;
14585
15169
  plants_per_crate: number;
14586
15170
  product: string;
14587
15171
  product_type: string;
@@ -14601,6 +15185,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
14601
15185
  created_at?: string;
14602
15186
  custom_fields?: import("../integrations/supabase/types.js").Json;
14603
15187
  floriday_trade_item_id?: string | null;
15188
+ fust_type_id?: string | null;
14604
15189
  id?: string;
14605
15190
  image_url?: string | null;
14606
15191
  incoming_quantity?: number;
@@ -14608,6 +15193,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
14608
15193
  layers_per_cart?: number;
14609
15194
  location: string;
14610
15195
  min_quantity?: number;
15196
+ plant_height_cm?: number | null;
14611
15197
  plants_per_crate?: number;
14612
15198
  product: string;
14613
15199
  product_type?: string;
@@ -14627,6 +15213,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
14627
15213
  created_at?: string;
14628
15214
  custom_fields?: import("../integrations/supabase/types.js").Json;
14629
15215
  floriday_trade_item_id?: string | null;
15216
+ fust_type_id?: string | null;
14630
15217
  id?: string;
14631
15218
  image_url?: string | null;
14632
15219
  incoming_quantity?: number;
@@ -14634,6 +15221,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
14634
15221
  layers_per_cart?: number;
14635
15222
  location?: string;
14636
15223
  min_quantity?: number;
15224
+ plant_height_cm?: number | null;
14637
15225
  plants_per_crate?: number;
14638
15226
  product?: string;
14639
15227
  product_type?: string;
@@ -14645,7 +15233,13 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
14645
15233
  updated_at?: string;
14646
15234
  weight?: string | null;
14647
15235
  };
14648
- Relationships: [];
15236
+ Relationships: [{
15237
+ foreignKeyName: "products_fust_type_id_fkey";
15238
+ columns: ["fust_type_id"];
15239
+ isOneToOne: false;
15240
+ referencedRelation: "fust_types";
15241
+ referencedColumns: ["id"];
15242
+ }];
14649
15243
  };
14650
15244
  profile_modules: {
14651
15245
  Row: {
@@ -15043,507 +15637,63 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
15043
15637
  referencedColumns: ["id"];
15044
15638
  }];
15045
15639
  };
15046
- quote_activities: {
15640
+ reception_notifications: {
15047
15641
  Row: {
15642
+ booking_id: string | null;
15048
15643
  created_at: string;
15049
- event_type: string;
15050
15644
  id: string;
15051
- metadata: import("../integrations/supabase/types.js").Json;
15052
- quote_id: string;
15053
- user_id: string | null;
15645
+ is_read: boolean;
15646
+ message: string;
15647
+ recipient_email: string | null;
15648
+ title: string;
15649
+ type: string;
15054
15650
  };
15055
15651
  Insert: {
15652
+ booking_id?: string | null;
15056
15653
  created_at?: string;
15057
- event_type: string;
15058
15654
  id?: string;
15059
- metadata?: import("../integrations/supabase/types.js").Json;
15060
- quote_id: string;
15061
- user_id?: string | null;
15655
+ is_read?: boolean;
15656
+ message: string;
15657
+ recipient_email?: string | null;
15658
+ title: string;
15659
+ type: string;
15062
15660
  };
15063
15661
  Update: {
15662
+ booking_id?: string | null;
15064
15663
  created_at?: string;
15065
- event_type?: string;
15066
15664
  id?: string;
15067
- metadata?: import("../integrations/supabase/types.js").Json;
15068
- quote_id?: string;
15069
- user_id?: string | null;
15665
+ is_read?: boolean;
15666
+ message?: string;
15667
+ recipient_email?: string | null;
15668
+ title?: string;
15669
+ type?: string;
15070
15670
  };
15071
15671
  Relationships: [{
15072
- foreignKeyName: "quote_activities_quote_id_fkey";
15073
- columns: ["quote_id"];
15672
+ foreignKeyName: "reception_notifications_booking_id_fkey";
15673
+ columns: ["booking_id"];
15074
15674
  isOneToOne: false;
15075
- referencedRelation: "quotes";
15675
+ referencedRelation: "bookings";
15076
15676
  referencedColumns: ["id"];
15077
15677
  }];
15078
15678
  };
15079
- quote_attachments: {
15679
+ role_assignments: {
15080
15680
  Row: {
15081
15681
  created_at: string;
15082
- file_name: string;
15083
- file_size: number | null;
15084
- file_url: string;
15085
15682
  id: string;
15086
- mime_type: string | null;
15087
- quote_id: string;
15683
+ role_id: string;
15684
+ user_id: string;
15088
15685
  };
15089
15686
  Insert: {
15090
15687
  created_at?: string;
15091
- file_name: string;
15092
- file_size?: number | null;
15093
- file_url: string;
15094
15688
  id?: string;
15095
- mime_type?: string | null;
15096
- quote_id: string;
15689
+ role_id: string;
15690
+ user_id: string;
15097
15691
  };
15098
15692
  Update: {
15099
15693
  created_at?: string;
15100
- file_name?: string;
15101
- file_size?: number | null;
15102
- file_url?: string;
15103
15694
  id?: string;
15104
- mime_type?: string | null;
15105
- quote_id?: string;
15106
- };
15107
- Relationships: [{
15108
- foreignKeyName: "quote_attachments_quote_id_fkey";
15109
- columns: ["quote_id"];
15110
- isOneToOne: false;
15111
- referencedRelation: "quotes";
15112
- referencedColumns: ["id"];
15113
- }];
15114
- };
15115
- quote_field_options: {
15116
- Row: {
15117
- created_at: string;
15118
- field_id: string;
15119
- id: string;
15120
- label: string;
15121
- sort_order: number;
15122
- value: string;
15123
- };
15124
- Insert: {
15125
- created_at?: string;
15126
- field_id: string;
15127
- id?: string;
15128
- label: string;
15129
- sort_order?: number;
15130
- value: string;
15131
- };
15132
- Update: {
15133
- created_at?: string;
15134
- field_id?: string;
15135
- id?: string;
15136
- label?: string;
15137
- sort_order?: number;
15138
- value?: string;
15139
- };
15140
- Relationships: [{
15141
- foreignKeyName: "quote_field_options_field_id_fkey";
15142
- columns: ["field_id"];
15143
- isOneToOne: false;
15144
- referencedRelation: "quote_field_settings";
15145
- referencedColumns: ["id"];
15146
- }];
15147
- };
15148
- quote_field_settings: {
15149
- Row: {
15150
- created_at: string;
15151
- default_value: string | null;
15152
- field_key: string;
15153
- field_type: string;
15154
- id: string;
15155
- is_system: boolean;
15156
- label: string;
15157
- required: boolean;
15158
- sort_order: number;
15159
- updated_at: string;
15160
- visible: boolean;
15161
- };
15162
- Insert: {
15163
- created_at?: string;
15164
- default_value?: string | null;
15165
- field_key: string;
15166
- field_type: string;
15167
- id?: string;
15168
- is_system?: boolean;
15169
- label: string;
15170
- required?: boolean;
15171
- sort_order?: number;
15172
- updated_at?: string;
15173
- visible?: boolean;
15174
- };
15175
- Update: {
15176
- created_at?: string;
15177
- default_value?: string | null;
15178
- field_key?: string;
15179
- field_type?: string;
15180
- id?: string;
15181
- is_system?: boolean;
15182
- label?: string;
15183
- required?: boolean;
15184
- sort_order?: number;
15185
- updated_at?: string;
15186
- visible?: boolean;
15187
- };
15188
- Relationships: [];
15189
- };
15190
- quote_items: {
15191
- Row: {
15192
- category: string | null;
15193
- created_at: string;
15194
- description: string;
15195
- id: string;
15196
- line_total: number;
15197
- module_id: string | null;
15198
- name: string | null;
15199
- quantity: number;
15200
- quote_id: string;
15201
- sort_order: number;
15202
- unit_price: number;
15203
- };
15204
- Insert: {
15205
- category?: string | null;
15206
- created_at?: string;
15207
- description?: string;
15208
- id?: string;
15209
- line_total?: number;
15210
- module_id?: string | null;
15211
- name?: string | null;
15212
- quantity?: number;
15213
- quote_id: string;
15214
- sort_order?: number;
15215
- unit_price?: number;
15216
- };
15217
- Update: {
15218
- category?: string | null;
15219
- created_at?: string;
15220
- description?: string;
15221
- id?: string;
15222
- line_total?: number;
15223
- module_id?: string | null;
15224
- name?: string | null;
15225
- quantity?: number;
15226
- quote_id?: string;
15227
- sort_order?: number;
15228
- unit_price?: number;
15229
- };
15230
- Relationships: [{
15231
- foreignKeyName: "quote_items_module_id_fkey";
15232
- columns: ["module_id"];
15233
- isOneToOne: false;
15234
- referencedRelation: "quote_modules";
15235
- referencedColumns: ["id"];
15236
- }, {
15237
- foreignKeyName: "quote_items_quote_id_fkey";
15238
- columns: ["quote_id"];
15239
- isOneToOne: false;
15240
- referencedRelation: "quotes";
15241
- referencedColumns: ["id"];
15242
- }];
15243
- };
15244
- quote_modules: {
15245
- Row: {
15246
- category: string | null;
15247
- created_at: string;
15248
- description: string | null;
15249
- id: string;
15250
- is_active: boolean;
15251
- name: string;
15252
- price: number;
15253
- sort_order: number;
15254
- updated_at: string;
15255
- };
15256
- Insert: {
15257
- category?: string | null;
15258
- created_at?: string;
15259
- description?: string | null;
15260
- id?: string;
15261
- is_active?: boolean;
15262
- name: string;
15263
- price?: number;
15264
- sort_order?: number;
15265
- updated_at?: string;
15266
- };
15267
- Update: {
15268
- category?: string | null;
15269
- created_at?: string;
15270
- description?: string | null;
15271
- id?: string;
15272
- is_active?: boolean;
15273
- name?: string;
15274
- price?: number;
15275
- sort_order?: number;
15276
- updated_at?: string;
15277
- };
15278
- Relationships: [];
15279
- };
15280
- quote_templates: {
15281
- Row: {
15282
- created_at: string;
15283
- description: string | null;
15284
- field_values: import("../integrations/supabase/types.js").Json;
15285
- id: string;
15286
- is_default: boolean;
15287
- items: import("../integrations/supabase/types.js").Json;
15288
- name: string;
15289
- updated_at: string;
15290
- vat_rate: number;
15291
- };
15292
- Insert: {
15293
- created_at?: string;
15294
- description?: string | null;
15295
- field_values?: import("../integrations/supabase/types.js").Json;
15296
- id?: string;
15297
- is_default?: boolean;
15298
- items?: import("../integrations/supabase/types.js").Json;
15299
- name: string;
15300
- updated_at?: string;
15301
- vat_rate?: number;
15302
- };
15303
- Update: {
15304
- created_at?: string;
15305
- description?: string | null;
15306
- field_values?: import("../integrations/supabase/types.js").Json;
15307
- id?: string;
15308
- is_default?: boolean;
15309
- items?: import("../integrations/supabase/types.js").Json;
15310
- name?: string;
15311
- updated_at?: string;
15312
- vat_rate?: number;
15313
- };
15314
- Relationships: [];
15315
- };
15316
- quote_terms: {
15317
- Row: {
15318
- content: string | null;
15319
- created_at: string;
15320
- file_url: string | null;
15321
- id: string;
15322
- is_active: boolean;
15323
- name: string;
15324
- published_at: string | null;
15325
- updated_at: string;
15326
- version: string;
15327
- };
15328
- Insert: {
15329
- content?: string | null;
15330
- created_at?: string;
15331
- file_url?: string | null;
15332
- id?: string;
15333
- is_active?: boolean;
15334
- name: string;
15335
- published_at?: string | null;
15336
- updated_at?: string;
15337
- version?: string;
15338
- };
15339
- Update: {
15340
- content?: string | null;
15341
- created_at?: string;
15342
- file_url?: string | null;
15343
- id?: string;
15344
- is_active?: boolean;
15345
- name?: string;
15346
- published_at?: string | null;
15347
- updated_at?: string;
15348
- version?: string;
15349
- };
15350
- Relationships: [];
15351
- };
15352
- quotes: {
15353
- Row: {
15354
- accepted_at: string | null;
15355
- archived_at: string | null;
15356
- contact_id: string | null;
15357
- created_at: string;
15358
- customer_id: string | null;
15359
- discount: number;
15360
- expires_at: string | null;
15361
- field_values: import("../integrations/supabase/types.js").Json;
15362
- id: string;
15363
- notes: string | null;
15364
- owner_id: string | null;
15365
- personal_message: string | null;
15366
- project_id: string | null;
15367
- prospect_id: string | null;
15368
- public_token: string;
15369
- quote_number: string | null;
15370
- recipient_email: string | null;
15371
- recipient_name: string | null;
15372
- rejected_at: string | null;
15373
- sent_at: string | null;
15374
- status: string;
15375
- subtotal: number;
15376
- template_id: string | null;
15377
- terms_id: string | null;
15378
- title: string;
15379
- total: number;
15380
- updated_at: string;
15381
- valid_until: string | null;
15382
- vat_amount: number;
15383
- vat_rate: number;
15384
- viewed_at: string | null;
15385
- };
15386
- Insert: {
15387
- accepted_at?: string | null;
15388
- archived_at?: string | null;
15389
- contact_id?: string | null;
15390
- created_at?: string;
15391
- customer_id?: string | null;
15392
- discount?: number;
15393
- expires_at?: string | null;
15394
- field_values?: import("../integrations/supabase/types.js").Json;
15395
- id?: string;
15396
- notes?: string | null;
15397
- owner_id?: string | null;
15398
- personal_message?: string | null;
15399
- project_id?: string | null;
15400
- prospect_id?: string | null;
15401
- public_token?: string;
15402
- quote_number?: string | null;
15403
- recipient_email?: string | null;
15404
- recipient_name?: string | null;
15405
- rejected_at?: string | null;
15406
- sent_at?: string | null;
15407
- status?: string;
15408
- subtotal?: number;
15409
- template_id?: string | null;
15410
- terms_id?: string | null;
15411
- title?: string;
15412
- total?: number;
15413
- updated_at?: string;
15414
- valid_until?: string | null;
15415
- vat_amount?: number;
15416
- vat_rate?: number;
15417
- viewed_at?: string | null;
15418
- };
15419
- Update: {
15420
- accepted_at?: string | null;
15421
- archived_at?: string | null;
15422
- contact_id?: string | null;
15423
- created_at?: string;
15424
- customer_id?: string | null;
15425
- discount?: number;
15426
- expires_at?: string | null;
15427
- field_values?: import("../integrations/supabase/types.js").Json;
15428
- id?: string;
15429
- notes?: string | null;
15430
- owner_id?: string | null;
15431
- personal_message?: string | null;
15432
- project_id?: string | null;
15433
- prospect_id?: string | null;
15434
- public_token?: string;
15435
- quote_number?: string | null;
15436
- recipient_email?: string | null;
15437
- recipient_name?: string | null;
15438
- rejected_at?: string | null;
15439
- sent_at?: string | null;
15440
- status?: string;
15441
- subtotal?: number;
15442
- template_id?: string | null;
15443
- terms_id?: string | null;
15444
- title?: string;
15445
- total?: number;
15446
- updated_at?: string;
15447
- valid_until?: string | null;
15448
- vat_amount?: number;
15449
- vat_rate?: number;
15450
- viewed_at?: string | null;
15451
- };
15452
- Relationships: [{
15453
- foreignKeyName: "quotes_contact_id_fkey";
15454
- columns: ["contact_id"];
15455
- isOneToOne: false;
15456
- referencedRelation: "customer_contacts";
15457
- referencedColumns: ["id"];
15458
- }, {
15459
- foreignKeyName: "quotes_customer_id_fkey";
15460
- columns: ["customer_id"];
15461
- isOneToOne: false;
15462
- referencedRelation: "customers";
15463
- referencedColumns: ["id"];
15464
- }, {
15465
- foreignKeyName: "quotes_project_id_fkey";
15466
- columns: ["project_id"];
15467
- isOneToOne: false;
15468
- referencedRelation: "projects";
15469
- referencedColumns: ["id"];
15470
- }, {
15471
- foreignKeyName: "quotes_prospect_id_fkey";
15472
- columns: ["prospect_id"];
15473
- isOneToOne: false;
15474
- referencedRelation: "prospects";
15475
- referencedColumns: ["id"];
15476
- }, {
15477
- foreignKeyName: "quotes_template_id_fkey";
15478
- columns: ["template_id"];
15479
- isOneToOne: false;
15480
- referencedRelation: "quote_templates";
15481
- referencedColumns: ["id"];
15482
- }, {
15483
- foreignKeyName: "quotes_terms_id_fkey";
15484
- columns: ["terms_id"];
15485
- isOneToOne: false;
15486
- referencedRelation: "quote_terms";
15487
- referencedColumns: ["id"];
15488
- }];
15489
- };
15490
- reception_notifications: {
15491
- Row: {
15492
- booking_id: string | null;
15493
- created_at: string;
15494
- id: string;
15495
- is_read: boolean;
15496
- message: string;
15497
- recipient_email: string | null;
15498
- title: string;
15499
- type: string;
15500
- };
15501
- Insert: {
15502
- booking_id?: string | null;
15503
- created_at?: string;
15504
- id?: string;
15505
- is_read?: boolean;
15506
- message: string;
15507
- recipient_email?: string | null;
15508
- title: string;
15509
- type: string;
15510
- };
15511
- Update: {
15512
- booking_id?: string | null;
15513
- created_at?: string;
15514
- id?: string;
15515
- is_read?: boolean;
15516
- message?: string;
15517
- recipient_email?: string | null;
15518
- title?: string;
15519
- type?: string;
15520
- };
15521
- Relationships: [{
15522
- foreignKeyName: "reception_notifications_booking_id_fkey";
15523
- columns: ["booking_id"];
15524
- isOneToOne: false;
15525
- referencedRelation: "bookings";
15526
- referencedColumns: ["id"];
15527
- }];
15528
- };
15529
- role_assignments: {
15530
- Row: {
15531
- created_at: string;
15532
- id: string;
15533
- role_id: string;
15534
- user_id: string;
15535
- };
15536
- Insert: {
15537
- created_at?: string;
15538
- id?: string;
15539
- role_id: string;
15540
- user_id: string;
15541
- };
15542
- Update: {
15543
- created_at?: string;
15544
- id?: string;
15545
- role_id?: string;
15546
- user_id?: string;
15695
+ role_id?: string;
15696
+ user_id?: string;
15547
15697
  };
15548
15698
  Relationships: [{
15549
15699
  foreignKeyName: "role_assignments_role_id_fkey";
@@ -16608,7 +16758,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
16608
16758
  foreignKeyName: "time_logs_work_order_id_fkey";
16609
16759
  columns: ["work_order_id"];
16610
16760
  isOneToOne: false;
16611
- referencedRelation: "work_orders";
16761
+ referencedRelation: "werkbonnen";
16612
16762
  referencedColumns: ["id"];
16613
16763
  }];
16614
16764
  };
@@ -16740,6 +16890,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
16740
16890
  };
16741
16891
  trade_item_stock: {
16742
16892
  Row: {
16893
+ change_source: string;
16743
16894
  connection_id: string;
16744
16895
  created_at: string;
16745
16896
  id: string;
@@ -16753,6 +16904,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
16753
16904
  user_id: string;
16754
16905
  };
16755
16906
  Insert: {
16907
+ change_source?: string;
16756
16908
  connection_id: string;
16757
16909
  created_at?: string;
16758
16910
  id?: string;
@@ -16766,6 +16918,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
16766
16918
  user_id: string;
16767
16919
  };
16768
16920
  Update: {
16921
+ change_source?: string;
16769
16922
  connection_id?: string;
16770
16923
  created_at?: string;
16771
16924
  id?: string;
@@ -17906,184 +18059,34 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
17906
18059
  Row: {
17907
18060
  created_at: string;
17908
18061
  created_by: string | null;
17909
- file_name: string | null;
17910
- id: string;
17911
- monteur_ids: string[];
17912
- period_end: string;
17913
- period_start: string;
17914
- row_count: number;
17915
- };
17916
- Insert: {
17917
- created_at?: string;
17918
- created_by?: string | null;
17919
- file_name?: string | null;
17920
- id?: string;
17921
- monteur_ids?: string[];
17922
- period_end: string;
17923
- period_start: string;
17924
- row_count?: number;
17925
- };
17926
- Update: {
17927
- created_at?: string;
17928
- created_by?: string | null;
17929
- file_name?: string | null;
17930
- id?: string;
17931
- monteur_ids?: string[];
17932
- period_end?: string;
17933
- period_start?: string;
17934
- row_count?: number;
17935
- };
17936
- Relationships: [];
17937
- };
17938
- uren_offerte_regels: {
17939
- Row: {
17940
- created_at: string;
17941
- description: string;
17942
- duration_minutes: number;
17943
- id: string;
17944
- offerte_id: string;
17945
- package_id: string | null;
17946
- quantity: number;
17947
- sort_order: number;
17948
- total_cents: number;
17949
- unit_price_cents: number;
17950
- };
17951
- Insert: {
17952
- created_at?: string;
17953
- description: string;
17954
- duration_minutes?: number;
17955
- id?: string;
17956
- offerte_id: string;
17957
- package_id?: string | null;
17958
- quantity?: number;
17959
- sort_order?: number;
17960
- total_cents?: number;
17961
- unit_price_cents?: number;
17962
- };
17963
- Update: {
17964
- created_at?: string;
17965
- description?: string;
17966
- duration_minutes?: number;
17967
- id?: string;
17968
- offerte_id?: string;
17969
- package_id?: string | null;
17970
- quantity?: number;
17971
- sort_order?: number;
17972
- total_cents?: number;
17973
- unit_price_cents?: number;
17974
- };
17975
- Relationships: [{
17976
- foreignKeyName: "uren_offerte_regels_offerte_id_fkey";
17977
- columns: ["offerte_id"];
17978
- isOneToOne: false;
17979
- referencedRelation: "uren_offertes";
17980
- referencedColumns: ["id"];
17981
- }, {
17982
- foreignKeyName: "uren_offerte_regels_package_id_fkey";
17983
- columns: ["package_id"];
17984
- isOneToOne: false;
17985
- referencedRelation: "werkbon_packages";
17986
- referencedColumns: ["id"];
17987
- }];
17988
- };
17989
- uren_offerte_velden: {
17990
- Row: {
17991
- created_at: string;
17992
- field_type: string;
17993
- id: string;
17994
- key: string;
17995
- label: string;
17996
- options: string[];
17997
- required: boolean;
17998
- sort_order: number;
17999
- updated_at: string;
18000
- };
18001
- Insert: {
18002
- created_at?: string;
18003
- field_type?: string;
18004
- id?: string;
18005
- key: string;
18006
- label: string;
18007
- options?: string[];
18008
- required?: boolean;
18009
- sort_order?: number;
18010
- updated_at?: string;
18011
- };
18012
- Update: {
18013
- created_at?: string;
18014
- field_type?: string;
18015
- id?: string;
18016
- key?: string;
18017
- label?: string;
18018
- options?: string[];
18019
- required?: boolean;
18020
- sort_order?: number;
18021
- updated_at?: string;
18022
- };
18023
- Relationships: [];
18024
- };
18025
- uren_offertes: {
18026
- Row: {
18027
- created_at: string;
18028
- created_by: string | null;
18029
- customer_id: string | null;
18030
- customer_name: string | null;
18031
- dynamic_fields: import("../integrations/supabase/types.js").Json;
18032
- estimated_minutes: number;
18033
- id: string;
18034
- note: string | null;
18035
- quote_number: string | null;
18036
- status: string;
18037
- title: string;
18038
- total_excl_cents: number;
18039
- total_incl_cents: number;
18040
- updated_at: string;
18041
- valid_until: string | null;
18042
- vat_percentage: number;
18062
+ file_name: string | null;
18063
+ id: string;
18064
+ monteur_ids: string[];
18065
+ period_end: string;
18066
+ period_start: string;
18067
+ row_count: number;
18043
18068
  };
18044
18069
  Insert: {
18045
18070
  created_at?: string;
18046
18071
  created_by?: string | null;
18047
- customer_id?: string | null;
18048
- customer_name?: string | null;
18049
- dynamic_fields?: import("../integrations/supabase/types.js").Json;
18050
- estimated_minutes?: number;
18072
+ file_name?: string | null;
18051
18073
  id?: string;
18052
- note?: string | null;
18053
- quote_number?: string | null;
18054
- status?: string;
18055
- title?: string;
18056
- total_excl_cents?: number;
18057
- total_incl_cents?: number;
18058
- updated_at?: string;
18059
- valid_until?: string | null;
18060
- vat_percentage?: number;
18074
+ monteur_ids?: string[];
18075
+ period_end: string;
18076
+ period_start: string;
18077
+ row_count?: number;
18061
18078
  };
18062
18079
  Update: {
18063
18080
  created_at?: string;
18064
18081
  created_by?: string | null;
18065
- customer_id?: string | null;
18066
- customer_name?: string | null;
18067
- dynamic_fields?: import("../integrations/supabase/types.js").Json;
18068
- estimated_minutes?: number;
18082
+ file_name?: string | null;
18069
18083
  id?: string;
18070
- note?: string | null;
18071
- quote_number?: string | null;
18072
- status?: string;
18073
- title?: string;
18074
- total_excl_cents?: number;
18075
- total_incl_cents?: number;
18076
- updated_at?: string;
18077
- valid_until?: string | null;
18078
- vat_percentage?: number;
18084
+ monteur_ids?: string[];
18085
+ period_end?: string;
18086
+ period_start?: string;
18087
+ row_count?: number;
18079
18088
  };
18080
- Relationships: [{
18081
- foreignKeyName: "uren_offertes_customer_id_fkey";
18082
- columns: ["customer_id"];
18083
- isOneToOne: false;
18084
- referencedRelation: "itk_customers";
18085
- referencedColumns: ["id"];
18086
- }];
18089
+ Relationships: [];
18087
18090
  };
18088
18091
  uren_settings: {
18089
18092
  Row: {
@@ -19771,6 +19774,37 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
19771
19774
  };
19772
19775
  Relationships: [];
19773
19776
  };
19777
+ planning_overview: {
19778
+ Row: {
19779
+ assigned_monteur_id: string | null;
19780
+ assistants: import("../integrations/supabase/types.js").Json | null;
19781
+ budget_mandate_cents: number | null;
19782
+ created_at: string | null;
19783
+ created_by: string | null;
19784
+ customer_id: string | null;
19785
+ customer_name: string | null;
19786
+ duration_minutes: number | null;
19787
+ end_at: string | null;
19788
+ id: string | null;
19789
+ needs_detail_review: boolean | null;
19790
+ notes: string | null;
19791
+ project_number: string | null;
19792
+ review_reasons: string[] | null;
19793
+ start_at: string | null;
19794
+ status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["planning_item_status"] | null;
19795
+ updated_at: string | null;
19796
+ viewer_role: string | null;
19797
+ werkbon_id: string | null;
19798
+ work_address: string | null;
19799
+ };
19800
+ Relationships: [{
19801
+ foreignKeyName: "planning_items_werkbon_id_fkey";
19802
+ columns: ["werkbon_id"];
19803
+ isOneToOne: false;
19804
+ referencedRelation: "werkbonnen";
19805
+ referencedColumns: ["id"];
19806
+ }];
19807
+ };
19774
19808
  product_group_stock_view: {
19775
19809
  Row: {
19776
19810
  item_count: number | null;
@@ -20366,6 +20400,18 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
20366
20400
  Args: never;
20367
20401
  Returns: number;
20368
20402
  };
20403
+ calculate_floriday_desired_stock: {
20404
+ Args: {
20405
+ p_connection_id: string;
20406
+ p_product_id: string;
20407
+ };
20408
+ Returns: {
20409
+ desired_availability: boolean;
20410
+ desired_quantity: number;
20411
+ erp_available: number;
20412
+ stock_mode: string;
20413
+ }[];
20414
+ };
20369
20415
  calculate_layer_stock: {
20370
20416
  Args: {
20371
20417
  p_product_id: string;
@@ -20427,6 +20473,9 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
20427
20473
  is_herprint: boolean;
20428
20474
  kopieen: number;
20429
20475
  layout_id: string | null;
20476
+ lokaal_opgeslagen_op: string | null;
20477
+ lokale_pdf_fout: string | null;
20478
+ lokale_pdf_status: string | null;
20430
20479
  opgepakt_op: string | null;
20431
20480
  paginas: number;
20432
20481
  payload: import("../integrations/supabase/types.js").Json;
@@ -20435,6 +20484,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
20435
20484
  pogingen: number;
20436
20485
  printer_id: string | null;
20437
20486
  render_html: string | null;
20487
+ resultaat_pdf_base64: string | null;
20438
20488
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
20439
20489
  updated_at: string;
20440
20490
  volgende_poging: string | null;
@@ -20456,6 +20506,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
20456
20506
  attempts: number;
20457
20507
  connection_id: string;
20458
20508
  created_at: string;
20509
+ dead_lettered_at: string | null;
20459
20510
  desired_available: boolean | null;
20460
20511
  gateway_attempt_id: string | null;
20461
20512
  id: string;
@@ -20464,9 +20515,13 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
20464
20515
  locked_by: string | null;
20465
20516
  next_attempt_at: string;
20466
20517
  number_of_pieces: number;
20518
+ product_id: string | null;
20467
20519
  sent_at: string | null;
20468
20520
  status: string;
20521
+ stock_mode: string | null;
20469
20522
  superseded_by: string | null;
20523
+ target_week: number | null;
20524
+ target_year: number | null;
20470
20525
  trade_item_id: string;
20471
20526
  updated_at: string;
20472
20527
  user_id: string;
@@ -20526,6 +20581,53 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
20526
20581
  isSetofReturn: true;
20527
20582
  };
20528
20583
  };
20584
+ claim_pdf_print_jobs: {
20585
+ Args: {
20586
+ _max?: number;
20587
+ };
20588
+ Returns: {
20589
+ agent_id: string | null;
20590
+ bron_job_id: string | null;
20591
+ created_at: string;
20592
+ documentnaam: string;
20593
+ documenttype: import("../integrations/supabase/types.js").Database["public"]["Enums"]["doc_layout_type"];
20594
+ extern_job_id: string | null;
20595
+ foutmelding: string | null;
20596
+ gebruiker_id: string | null;
20597
+ gebruiker_naam: string;
20598
+ gebruikte_bron: string | null;
20599
+ gebruikte_layout_id: string | null;
20600
+ gestart_op: string | null;
20601
+ herkomst: string | null;
20602
+ id: string;
20603
+ idempotentie_sleutel: string | null;
20604
+ is_herprint: boolean;
20605
+ kopieen: number;
20606
+ layout_id: string | null;
20607
+ lokaal_opgeslagen_op: string | null;
20608
+ lokale_pdf_fout: string | null;
20609
+ lokale_pdf_status: string | null;
20610
+ opgepakt_op: string | null;
20611
+ paginas: number;
20612
+ payload: import("../integrations/supabase/types.js").Json;
20613
+ pdf_base64: string | null;
20614
+ pdf_url: string | null;
20615
+ pogingen: number;
20616
+ printer_id: string | null;
20617
+ render_html: string | null;
20618
+ resultaat_pdf_base64: string | null;
20619
+ status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
20620
+ updated_at: string;
20621
+ volgende_poging: string | null;
20622
+ voltooid_op: string | null;
20623
+ }[];
20624
+ SetofOptions: {
20625
+ from: "*";
20626
+ to: "print_jobs";
20627
+ isOneToOne: false;
20628
+ isSetofReturn: true;
20629
+ };
20630
+ };
20529
20631
  claim_print_jobs: {
20530
20632
  Args: {
20531
20633
  _agent_id: string;
@@ -20550,6 +20652,9 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
20550
20652
  is_herprint: boolean;
20551
20653
  kopieen: number;
20552
20654
  layout_id: string | null;
20655
+ lokaal_opgeslagen_op: string | null;
20656
+ lokale_pdf_fout: string | null;
20657
+ lokale_pdf_status: string | null;
20553
20658
  opgepakt_op: string | null;
20554
20659
  paginas: number;
20555
20660
  payload: import("../integrations/supabase/types.js").Json;
@@ -20558,6 +20663,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
20558
20663
  pogingen: number;
20559
20664
  printer_id: string | null;
20560
20665
  render_html: string | null;
20666
+ resultaat_pdf_base64: string | null;
20561
20667
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
20562
20668
  updated_at: string;
20563
20669
  volgende_poging: string | null;
@@ -20698,6 +20804,8 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
20698
20804
  order_id: string;
20699
20805
  order_source: string;
20700
20806
  pick_date: string;
20807
+ printed_at: string;
20808
+ printed_today: boolean;
20701
20809
  status: string;
20702
20810
  }[];
20703
20811
  };
@@ -20894,6 +21002,24 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
20894
21002
  };
20895
21003
  Returns: string;
20896
21004
  };
21005
+ floriday_capture_stock_snapshot: {
21006
+ Args: never;
21007
+ Returns: number;
21008
+ };
21009
+ floriday_cleanup_stock_queue_v2: {
21010
+ Args: never;
21011
+ Returns: undefined;
21012
+ };
21013
+ floriday_compact_stock_snapshots: {
21014
+ Args: never;
21015
+ Returns: undefined;
21016
+ };
21017
+ floriday_default_owner: {
21018
+ Args: {
21019
+ p_connection_id: string;
21020
+ };
21021
+ Returns: string;
21022
+ };
20897
21023
  floriday_effective_price: {
20898
21024
  Args: {
20899
21025
  _buyer_id: string;
@@ -20911,6 +21037,34 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
20911
21037
  source_id: string;
20912
21038
  }[];
20913
21039
  };
21040
+ floriday_fill_publish_horizon: {
21041
+ Args: never;
21042
+ Returns: number;
21043
+ };
21044
+ floriday_ingest_sales_orders: {
21045
+ Args: {
21046
+ p_limit?: number;
21047
+ };
21048
+ Returns: number;
21049
+ };
21050
+ floriday_publish_horizon_weeks: {
21051
+ Args: never;
21052
+ Returns: number;
21053
+ };
21054
+ floriday_recompute_inventory: {
21055
+ Args: {
21056
+ p_connection_id: string;
21057
+ p_force?: boolean;
21058
+ p_product_id: string;
21059
+ };
21060
+ Returns: undefined;
21061
+ };
21062
+ floriday_requeue_dead_letters: {
21063
+ Args: {
21064
+ p_connection_id?: string;
21065
+ };
21066
+ Returns: number;
21067
+ };
20914
21068
  format_cart_number: {
20915
21069
  Args: {
20916
21070
  p_pick_date: string;
@@ -21127,6 +21281,131 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
21127
21281
  Args: never;
21128
21282
  Returns: string;
21129
21283
  };
21284
+ handover_get: {
21285
+ Args: {
21286
+ _module_id: string;
21287
+ };
21288
+ Returns: import("../integrations/supabase/types.js").Json;
21289
+ };
21290
+ handover_kern_naam: {
21291
+ Args: {
21292
+ _naam: string;
21293
+ };
21294
+ Returns: string;
21295
+ };
21296
+ handover_ketenmodel: {
21297
+ Args: never;
21298
+ Returns: import("../integrations/supabase/types.js").Json;
21299
+ };
21300
+ handover_kruisconflicten: {
21301
+ Args: never;
21302
+ Returns: import("../integrations/supabase/types.js").Json;
21303
+ };
21304
+ handover_list: {
21305
+ Args: never;
21306
+ Returns: import("../integrations/supabase/types.js").Json;
21307
+ };
21308
+ handover_mag_schrijven: {
21309
+ Args: {
21310
+ _module_id: string;
21311
+ };
21312
+ Returns: boolean;
21313
+ };
21314
+ handover_norm_naam: {
21315
+ Args: {
21316
+ _naam: string;
21317
+ };
21318
+ Returns: string;
21319
+ };
21320
+ handover_publish: {
21321
+ Args: {
21322
+ _bevindingen?: string;
21323
+ _bezit_tabellen?: string[];
21324
+ _conflicten_snapshot?: import("../integrations/supabase/types.js").Json;
21325
+ _contractfuncties?: string[];
21326
+ _inhoud_md: string;
21327
+ _module_id: string;
21328
+ _module_titel: string;
21329
+ _ontbrekende_contracten?: string[];
21330
+ _samenvatting?: string;
21331
+ };
21332
+ Returns: number;
21333
+ };
21334
+ handover_publish_via_token: {
21335
+ Args: {
21336
+ _bevindingen?: string;
21337
+ _bezit_tabellen?: string[];
21338
+ _conflicten_snapshot?: import("../integrations/supabase/types.js").Json;
21339
+ _contractfuncties?: string[];
21340
+ _inhoud_md: string;
21341
+ _module_id: string;
21342
+ _module_titel: string;
21343
+ _ontbrekende_contracten?: string[];
21344
+ _samenvatting?: string;
21345
+ _token_hash: string;
21346
+ };
21347
+ Returns: number;
21348
+ };
21349
+ handover_status: {
21350
+ Args: never;
21351
+ Returns: import("../integrations/supabase/types.js").Json;
21352
+ };
21353
+ handover_synonym_kern: {
21354
+ Args: {
21355
+ _naam: string;
21356
+ };
21357
+ Returns: string;
21358
+ };
21359
+ handover_token_intrekken: {
21360
+ Args: {
21361
+ _id: string;
21362
+ };
21363
+ Returns: boolean;
21364
+ };
21365
+ handover_token_lijst: {
21366
+ Args: never;
21367
+ Returns: import("../integrations/supabase/types.js").Json;
21368
+ };
21369
+ handover_token_maken: {
21370
+ Args: {
21371
+ _label?: string;
21372
+ _module_id: string;
21373
+ };
21374
+ Returns: string;
21375
+ };
21376
+ handover_update: {
21377
+ Args: {
21378
+ _bezit_tabellen?: string[];
21379
+ _contractfuncties?: string[];
21380
+ _herzieningstermijn_dagen?: number;
21381
+ _inhoud_md?: string;
21382
+ _module_id: string;
21383
+ _module_titel?: string;
21384
+ _samenvatting?: string;
21385
+ _versie: number;
21386
+ };
21387
+ Returns: boolean;
21388
+ } | {
21389
+ Args: {
21390
+ _bevindingen?: string;
21391
+ _bezit_tabellen?: string[];
21392
+ _contractfuncties?: string[];
21393
+ _herzieningstermijn_dagen?: number;
21394
+ _inhoud_md?: string;
21395
+ _module_id: string;
21396
+ _module_titel?: string;
21397
+ _ontbrekende_contracten?: string[];
21398
+ _samenvatting?: string;
21399
+ _versie: number;
21400
+ };
21401
+ Returns: boolean;
21402
+ };
21403
+ handover_versies: {
21404
+ Args: {
21405
+ _module_id: string;
21406
+ };
21407
+ Returns: import("../integrations/supabase/types.js").Json;
21408
+ };
21130
21409
  has_module_permission: {
21131
21410
  Args: {
21132
21411
  _min: string;
@@ -21146,6 +21425,25 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
21146
21425
  Args: never;
21147
21426
  Returns: boolean;
21148
21427
  };
21428
+ instructie_get: {
21429
+ Args: {
21430
+ _sleutel: string;
21431
+ };
21432
+ Returns: import("../integrations/supabase/types.js").Json;
21433
+ };
21434
+ instructie_list: {
21435
+ Args: never;
21436
+ Returns: import("../integrations/supabase/types.js").Json;
21437
+ };
21438
+ instructie_publish: {
21439
+ Args: {
21440
+ _inhoud_md: string;
21441
+ _sleutel: string;
21442
+ _titel: string;
21443
+ _toelichting?: string;
21444
+ };
21445
+ Returns: number;
21446
+ };
21149
21447
  invoice_create_from_source: {
21150
21448
  Args: {
21151
21449
  _payload?: import("../integrations/supabase/types.js").Json;
@@ -21370,6 +21668,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
21370
21668
  };
21371
21669
  Returns: boolean;
21372
21670
  };
21671
+ logistics_barcode_lookup: {
21672
+ Args: {
21673
+ p_barcode: string;
21674
+ };
21675
+ Returns: import("../integrations/supabase/types.js").Json;
21676
+ };
21373
21677
  logistics_buffer_criteria: {
21374
21678
  Args: {
21375
21679
  p_settings: import("../integrations/supabase/types.js").Json;
@@ -21406,6 +21710,10 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
21406
21710
  };
21407
21711
  Returns: number;
21408
21712
  };
21713
+ logistics_cancel_orphan_tasks: {
21714
+ Args: never;
21715
+ Returns: number;
21716
+ };
21409
21717
  logistics_capacity_day_check: {
21410
21718
  Args: {
21411
21719
  p_from?: string;
@@ -21417,14 +21725,49 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
21417
21725
  Args: {
21418
21726
  p_date: string;
21419
21727
  };
21420
- Returns: import("../integrations/supabase/types.js").Json;
21728
+ Returns: import("../integrations/supabase/types.js").Json;
21729
+ };
21730
+ logistics_carrier_minutes: {
21731
+ Args: {
21732
+ p_carrier: string;
21733
+ p_settings: import("../integrations/supabase/types.js").Json;
21734
+ };
21735
+ Returns: number;
21736
+ };
21737
+ logistics_cart_barcode_value: {
21738
+ Args: {
21739
+ _cart_id: string;
21740
+ };
21741
+ Returns: string;
21742
+ };
21743
+ logistics_cart_index: {
21744
+ Args: {
21745
+ p_from?: string;
21746
+ p_to?: string;
21747
+ };
21748
+ Returns: {
21749
+ cart_id: string;
21750
+ cart_index: number;
21751
+ cart_label: string;
21752
+ delivery_date: string;
21753
+ is_announced: boolean;
21754
+ is_controlled: boolean;
21755
+ is_printed: boolean;
21756
+ is_shared: boolean;
21757
+ order_number: string;
21758
+ order_source: string;
21759
+ order_uuid: string;
21760
+ pick_date: string;
21761
+ printed_at: string;
21762
+ shifted: boolean;
21763
+ task_status: string;
21764
+ }[];
21421
21765
  };
21422
- logistics_carrier_minutes: {
21766
+ logistics_cart_slip_plan: {
21423
21767
  Args: {
21424
- p_carrier: string;
21425
- p_settings: import("../integrations/supabase/types.js").Json;
21768
+ p_order_id: string;
21426
21769
  };
21427
- Returns: number;
21770
+ Returns: import("../integrations/supabase/types.js").Json;
21428
21771
  };
21429
21772
  logistics_check_order_allowed: {
21430
21773
  Args: {
@@ -21574,6 +21917,21 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
21574
21917
  isSetofReturn: false;
21575
21918
  };
21576
21919
  };
21920
+ logistics_consistency_check: {
21921
+ Args: never;
21922
+ Returns: {
21923
+ agenda_carts: number;
21924
+ announced_carts: number;
21925
+ control_carts: number;
21926
+ delivery_carts: number;
21927
+ ok: boolean;
21928
+ orphan_tasks: number;
21929
+ pick_date: string;
21930
+ raw_carts: number;
21931
+ sales_carts: number;
21932
+ station_carts: number;
21933
+ }[];
21934
+ };
21577
21935
  logistics_delay_customer_email: {
21578
21936
  Args: {
21579
21937
  p_customer: string;
@@ -21587,12 +21945,35 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
21587
21945
  subject: string;
21588
21946
  }[];
21589
21947
  };
21948
+ logistics_delivery_agenda: {
21949
+ Args: {
21950
+ p_from?: string;
21951
+ p_to?: string;
21952
+ };
21953
+ Returns: {
21954
+ announced_count: number;
21955
+ cart_count: number;
21956
+ controlled_count: number;
21957
+ delivery_date: string;
21958
+ order_count: number;
21959
+ orders: import("../integrations/supabase/types.js").Json;
21960
+ plant_count: number;
21961
+ printed_count: number;
21962
+ }[];
21963
+ };
21590
21964
  logistics_document_layout: {
21591
21965
  Args: {
21592
21966
  _document_code: string;
21593
21967
  };
21594
21968
  Returns: import("../integrations/supabase/types.js").Json;
21595
21969
  };
21970
+ logistics_document_layout_v2: {
21971
+ Args: {
21972
+ _document_code: string;
21973
+ _is_partial?: boolean;
21974
+ };
21975
+ Returns: import("../integrations/supabase/types.js").Json;
21976
+ };
21596
21977
  logistics_document_station: {
21597
21978
  Args: {
21598
21979
  _document_code: string;
@@ -21618,6 +21999,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
21618
21999
  };
21619
22000
  Returns: import("../integrations/supabase/types.js").Json;
21620
22001
  };
22002
+ logistics_ensure_cart_barcode: {
22003
+ Args: {
22004
+ _cart_id: string;
22005
+ };
22006
+ Returns: string;
22007
+ };
21621
22008
  logistics_fail_task: {
21622
22009
  Args: {
21623
22010
  p_error: string;
@@ -21663,6 +22050,16 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
21663
22050
  isSetofReturn: false;
21664
22051
  };
21665
22052
  };
22053
+ logistics_floriday_cart_plan: {
22054
+ Args: {
22055
+ p_order_id: string;
22056
+ };
22057
+ Returns: {
22058
+ carrier_type: string;
22059
+ idx: number;
22060
+ packages: number;
22061
+ }[];
22062
+ };
21666
22063
  logistics_floriday_claim_pushes: {
21667
22064
  Args: {
21668
22065
  _lease_seconds?: number;
@@ -21767,6 +22164,25 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
21767
22164
  };
21768
22165
  Returns: number;
21769
22166
  };
22167
+ logistics_order_overview: {
22168
+ Args: {
22169
+ p_from?: string;
22170
+ p_to?: string;
22171
+ };
22172
+ Returns: {
22173
+ cart_count: number;
22174
+ customer_name: string;
22175
+ delivery_date: string;
22176
+ order_number: string;
22177
+ order_source: string;
22178
+ order_uuid: string;
22179
+ pick_date: string;
22180
+ plant_count: number;
22181
+ printed_at: string;
22182
+ shifted: boolean;
22183
+ status: string;
22184
+ }[];
22185
+ };
21770
22186
  logistics_order_pick_day: {
21771
22187
  Args: {
21772
22188
  p_order_ref: string;
@@ -21779,10 +22195,37 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
21779
22195
  };
21780
22196
  Returns: string;
21781
22197
  };
22198
+ logistics_pick_agenda: {
22199
+ Args: {
22200
+ p_from?: string;
22201
+ p_to?: string;
22202
+ };
22203
+ Returns: {
22204
+ cart_count: number;
22205
+ in_preparation: number;
22206
+ order_count: number;
22207
+ orders: import("../integrations/supabase/types.js").Json;
22208
+ pick_date: string;
22209
+ plant_count: number;
22210
+ ready: number;
22211
+ shifted_count: number;
22212
+ }[];
22213
+ };
22214
+ logistics_pick_barcode_enabled: {
22215
+ Args: never;
22216
+ Returns: boolean;
22217
+ };
21782
22218
  logistics_pick_email_purpose: {
21783
22219
  Args: never;
21784
22220
  Returns: string;
21785
22221
  };
22222
+ logistics_pick_start_estimate: {
22223
+ Args: {
22224
+ p_order: import("../integrations/supabase/types.js").Json;
22225
+ s: import("../integrations/supabase/types.js").Json;
22226
+ };
22227
+ Returns: string;
22228
+ };
21786
22229
  logistics_plan_all: {
21787
22230
  Args: {
21788
22231
  p_user_id?: string;
@@ -21833,6 +22276,13 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
21833
22276
  };
21834
22277
  Returns: undefined;
21835
22278
  };
22279
+ logistics_plan_floriday_order: {
22280
+ Args: {
22281
+ p_buffer_id?: string;
22282
+ p_order_id: string;
22283
+ };
22284
+ Returns: number;
22285
+ };
21836
22286
  logistics_plan_impact_orders: {
21837
22287
  Args: {
21838
22288
  p_order_id: string;
@@ -21938,6 +22388,15 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
21938
22388
  };
21939
22389
  Returns: import("../integrations/supabase/types.js").Json;
21940
22390
  };
22391
+ logistics_resolve_pick_document: {
22392
+ Args: {
22393
+ _is_herprint: boolean;
22394
+ _queue_item_id: string;
22395
+ _session_id: string;
22396
+ _voorbeeld: boolean;
22397
+ };
22398
+ Returns: import("../integrations/supabase/types.js").Json;
22399
+ };
21941
22400
  logistics_resolve_settings: {
21942
22401
  Args: {
21943
22402
  p_config_id: string;
@@ -22017,6 +22476,14 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22017
22476
  };
22018
22477
  Returns: string;
22019
22478
  };
22479
+ logistics_shipping_note_from_barcode: {
22480
+ Args: {
22481
+ p_allow_reprint?: boolean;
22482
+ p_barcode: string;
22483
+ p_station_id?: string;
22484
+ };
22485
+ Returns: import("../integrations/supabase/types.js").Json;
22486
+ };
22020
22487
  logistics_supersede_stale_tasks: {
22021
22488
  Args: {
22022
22489
  p_keep: string[];
@@ -22238,6 +22705,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22238
22705
  print_job_id: string | null;
22239
22706
  printed_at: string | null;
22240
22707
  printed_by: string | null;
22708
+ printed_cart_ids: import("../integrations/supabase/types.js").Json;
22241
22709
  printer_id: string | null;
22242
22710
  priority: number;
22243
22711
  reference: string | null;
@@ -22287,6 +22755,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22287
22755
  print_job_id: string | null;
22288
22756
  printed_at: string | null;
22289
22757
  printed_by: string | null;
22758
+ printed_cart_ids: import("../integrations/supabase/types.js").Json;
22290
22759
  printer_id: string | null;
22291
22760
  priority: number;
22292
22761
  reference: string | null;
@@ -22341,6 +22810,56 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22341
22810
  print_job_id: string | null;
22342
22811
  printed_at: string | null;
22343
22812
  printed_by: string | null;
22813
+ printed_cart_ids: import("../integrations/supabase/types.js").Json;
22814
+ printer_id: string | null;
22815
+ priority: number;
22816
+ reference: string | null;
22817
+ route: string | null;
22818
+ screen_id: string | null;
22819
+ station_id: string | null;
22820
+ status_id: string | null;
22821
+ updated_at: string;
22822
+ warnings: import("../integrations/supabase/types.js").Json;
22823
+ };
22824
+ SetofOptions: {
22825
+ from: "*";
22826
+ to: "pick_queue";
22827
+ isOneToOne: true;
22828
+ isSetofReturn: false;
22829
+ };
22830
+ };
22831
+ pick_complete_print_cart: {
22832
+ Args: {
22833
+ _cart_id: string;
22834
+ _printer_id: string;
22835
+ _queue_item_id: string;
22836
+ _session_id: string;
22837
+ };
22838
+ Returns: {
22839
+ announced_at: string;
22840
+ assigned_user_id: string | null;
22841
+ barcode: string | null;
22842
+ cancelled_at: string | null;
22843
+ cart_count: number;
22844
+ completed_at: string | null;
22845
+ country_code: string | null;
22846
+ created_at: string;
22847
+ customer_name: string | null;
22848
+ delivery_address: string | null;
22849
+ document_number: string | null;
22850
+ document_type_id: string | null;
22851
+ due_at: string | null;
22852
+ id: string;
22853
+ is_urgent: boolean;
22854
+ line_count: number;
22855
+ order_number: string | null;
22856
+ order_type: string | null;
22857
+ payload: import("../integrations/supabase/types.js").Json;
22858
+ print_count: number;
22859
+ print_job_id: string | null;
22860
+ printed_at: string | null;
22861
+ printed_by: string | null;
22862
+ printed_cart_ids: import("../integrations/supabase/types.js").Json;
22344
22863
  printer_id: string | null;
22345
22864
  priority: number;
22346
22865
  reference: string | null;
@@ -22384,6 +22903,15 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22384
22903
  _session_id?: string;
22385
22904
  };
22386
22905
  Returns: string;
22906
+ } | {
22907
+ Args: {
22908
+ _cart_id: string;
22909
+ _is_herprint: boolean;
22910
+ _printer_id: string;
22911
+ _queue_item_id: string;
22912
+ _session_id: string;
22913
+ };
22914
+ Returns: string;
22387
22915
  };
22388
22916
  pick_order_context: {
22389
22917
  Args: {
@@ -22392,6 +22920,13 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22392
22920
  };
22393
22921
  Returns: import("../integrations/supabase/types.js").Json;
22394
22922
  };
22923
+ pick_preview_job: {
22924
+ Args: {
22925
+ _queue_item_id: string;
22926
+ _station_slug: string;
22927
+ };
22928
+ Returns: import("../integrations/supabase/types.js").Json;
22929
+ };
22395
22930
  pick_print_job_status: {
22396
22931
  Args: {
22397
22932
  _job_id: string;
@@ -22457,6 +22992,54 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22457
22992
  print_job_id: string | null;
22458
22993
  printed_at: string | null;
22459
22994
  printed_by: string | null;
22995
+ printed_cart_ids: import("../integrations/supabase/types.js").Json;
22996
+ printer_id: string | null;
22997
+ priority: number;
22998
+ reference: string | null;
22999
+ route: string | null;
23000
+ screen_id: string | null;
23001
+ station_id: string | null;
23002
+ status_id: string | null;
23003
+ updated_at: string;
23004
+ warnings: import("../integrations/supabase/types.js").Json;
23005
+ };
23006
+ SetofOptions: {
23007
+ from: "*";
23008
+ to: "pick_queue";
23009
+ isOneToOne: true;
23010
+ isSetofReturn: false;
23011
+ };
23012
+ } | {
23013
+ Args: {
23014
+ _cart_id?: string;
23015
+ _queue_item_id: string;
23016
+ _session_id: string;
23017
+ };
23018
+ Returns: {
23019
+ announced_at: string;
23020
+ assigned_user_id: string | null;
23021
+ barcode: string | null;
23022
+ cancelled_at: string | null;
23023
+ cart_count: number;
23024
+ completed_at: string | null;
23025
+ country_code: string | null;
23026
+ created_at: string;
23027
+ customer_name: string | null;
23028
+ delivery_address: string | null;
23029
+ document_number: string | null;
23030
+ document_type_id: string | null;
23031
+ due_at: string | null;
23032
+ id: string;
23033
+ is_urgent: boolean;
23034
+ line_count: number;
23035
+ order_number: string | null;
23036
+ order_type: string | null;
23037
+ payload: import("../integrations/supabase/types.js").Json;
23038
+ print_count: number;
23039
+ print_job_id: string | null;
23040
+ printed_at: string | null;
23041
+ printed_by: string | null;
23042
+ printed_cart_ids: import("../integrations/supabase/types.js").Json;
22460
23043
  printer_id: string | null;
22461
23044
  priority: number;
22462
23045
  reference: string | null;
@@ -22569,6 +23152,66 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22569
23152
  };
22570
23153
  Returns: undefined;
22571
23154
  };
23155
+ planning_cancel_item: {
23156
+ Args: {
23157
+ _id: string;
23158
+ };
23159
+ Returns: undefined;
23160
+ };
23161
+ planning_list: {
23162
+ Args: {
23163
+ _from: string;
23164
+ _to: string;
23165
+ };
23166
+ Returns: {
23167
+ assigned_monteur_id: string | null;
23168
+ assistants: import("../integrations/supabase/types.js").Json | null;
23169
+ budget_mandate_cents: number | null;
23170
+ created_at: string | null;
23171
+ created_by: string | null;
23172
+ customer_id: string | null;
23173
+ customer_name: string | null;
23174
+ duration_minutes: number | null;
23175
+ end_at: string | null;
23176
+ id: string | null;
23177
+ needs_detail_review: boolean | null;
23178
+ notes: string | null;
23179
+ project_number: string | null;
23180
+ review_reasons: string[] | null;
23181
+ start_at: string | null;
23182
+ status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["planning_item_status"] | null;
23183
+ updated_at: string | null;
23184
+ viewer_role: string | null;
23185
+ werkbon_id: string | null;
23186
+ work_address: string | null;
23187
+ }[];
23188
+ SetofOptions: {
23189
+ from: "*";
23190
+ to: "planning_overview";
23191
+ isOneToOne: false;
23192
+ isSetofReturn: true;
23193
+ };
23194
+ };
23195
+ planning_set_assistants: {
23196
+ Args: {
23197
+ _monteur_ids: string[];
23198
+ _planning_item_id: string;
23199
+ };
23200
+ Returns: undefined;
23201
+ };
23202
+ planning_upsert_item: {
23203
+ Args: {
23204
+ _assigned_monteur_id: string;
23205
+ _end_at: string;
23206
+ _notes?: string;
23207
+ _start_at: string;
23208
+ _werkbon_id: string;
23209
+ };
23210
+ Returns: {
23211
+ action: string;
23212
+ id: string;
23213
+ }[];
23214
+ };
22572
23215
  print_preview_toestaan: {
22573
23216
  Args: {
22574
23217
  _max?: number;
@@ -22741,6 +23384,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22741
23384
  };
22742
23385
  Returns: string;
22743
23386
  };
23387
+ resolve_print_job_printer_id: {
23388
+ Args: {
23389
+ _job: import("../integrations/supabase/types.js").Database["public"]["Tables"]["print_jobs"]["Row"];
23390
+ };
23391
+ Returns: string;
23392
+ };
22744
23393
  resolve_product_id_for_item: {
22745
23394
  Args: {
22746
23395
  p_product_name: string;
@@ -23144,6 +23793,26 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
23144
23793
  };
23145
23794
  Returns: string[];
23146
23795
  };
23796
+ start_time_log_at: {
23797
+ Args: {
23798
+ p_clicked_at?: string;
23799
+ p_employee_id: string;
23800
+ p_start_lat?: number;
23801
+ p_start_lng?: number;
23802
+ p_type: string;
23803
+ p_work_order_id?: string;
23804
+ };
23805
+ Returns: import("../integrations/supabase/types.js").Json;
23806
+ };
23807
+ stop_time_log: {
23808
+ Args: {
23809
+ p_employee_id: string;
23810
+ p_end_lat?: number;
23811
+ p_end_lng?: number;
23812
+ p_end_time: string;
23813
+ };
23814
+ Returns: import("../integrations/supabase/types.js").Json;
23815
+ };
23147
23816
  switch_time_log: {
23148
23817
  Args: {
23149
23818
  p_employee_id: string;
@@ -23332,7 +24001,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
23332
24001
  };
23333
24002
  CompositeTypes: { [_ in never]: never; };
23334
24003
  }, {
23335
- PostgrestVersion: "14.17";
24004
+ PostgrestVersion: "14.5";
23336
24005
  }>;
23337
24006
  userId: string;
23338
24007
  claims: import("@supabase/auth-js").JwtPayload;