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