@flowselections/floriday-voorraad 1.0.38 → 1.0.39

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 (120) hide show
  1. package/dist-lib/components/TemplatePage.d.ts +1 -1
  2. package/dist-lib/components/TemplatePage.d.ts.map +1 -1
  3. package/dist-lib/components/voorraad/AdditionalPackagingDialog.d.ts +1 -1
  4. package/dist-lib/components/voorraad/AdditionalPackagingDialog.d.ts.map +1 -1
  5. package/dist-lib/components/voorraad/ArtikelCompositionCard.d.ts +1 -1
  6. package/dist-lib/components/voorraad/ArtikelCompositionCard.d.ts.map +1 -1
  7. package/dist-lib/components/voorraad/ArtikelWizard.d.ts +1 -1
  8. package/dist-lib/components/voorraad/ArtikelWizard.d.ts.map +1 -1
  9. package/dist-lib/components/voorraad/ConnectionBadge.d.ts +1 -1
  10. package/dist-lib/components/voorraad/ConnectionBadge.d.ts.map +1 -1
  11. package/dist-lib/components/voorraad/EditArtikelPage.d.ts +1 -1
  12. package/dist-lib/components/voorraad/EditArtikelPage.d.ts.map +1 -1
  13. package/dist-lib/components/voorraad/ExcelExportButton.d.ts +1 -1
  14. package/dist-lib/components/voorraad/ExcelExportButton.d.ts.map +1 -1
  15. package/dist-lib/components/voorraad/FloridayInfoCard.d.ts +1 -1
  16. package/dist-lib/components/voorraad/FloridayInfoCard.d.ts.map +1 -1
  17. package/dist-lib/components/voorraad/FloridayStatusBadge.d.ts +1 -1
  18. package/dist-lib/components/voorraad/FloridayStatusBadge.d.ts.map +1 -1
  19. package/dist-lib/components/voorraad/FustenPage.d.ts +1 -1
  20. package/dist-lib/components/voorraad/FustenPage.d.ts.map +1 -1
  21. package/dist-lib/components/voorraad/InventorySettingsDrawer.d.ts +10 -0
  22. package/dist-lib/components/voorraad/InventorySettingsDrawer.d.ts.map +1 -0
  23. package/dist-lib/components/voorraad/InventorySettingsDrawer.js +99 -0
  24. package/dist-lib/components/voorraad/InventoryStatusBadge.d.ts +6 -0
  25. package/dist-lib/components/voorraad/InventoryStatusBadge.d.ts.map +1 -0
  26. package/dist-lib/components/voorraad/InventoryStatusBadge.js +43 -0
  27. package/dist-lib/components/voorraad/ModuleHealthCard.d.ts +1 -1
  28. package/dist-lib/components/voorraad/ModuleHealthCard.d.ts.map +1 -1
  29. package/dist-lib/components/voorraad/NieuwArtikelPage.d.ts +1 -1
  30. package/dist-lib/components/voorraad/NieuwArtikelPage.d.ts.map +1 -1
  31. package/dist-lib/components/voorraad/OrderHistoryCard.d.ts +1 -1
  32. package/dist-lib/components/voorraad/OrderHistoryCard.d.ts.map +1 -1
  33. package/dist-lib/components/voorraad/PriceStatusBadge.d.ts +1 -1
  34. package/dist-lib/components/voorraad/PriceStatusBadge.d.ts.map +1 -1
  35. package/dist-lib/components/voorraad/ProductCustomFieldsCard.d.ts +1 -1
  36. package/dist-lib/components/voorraad/ProductCustomFieldsCard.d.ts.map +1 -1
  37. package/dist-lib/components/voorraad/ProductLinkCard.d.ts +1 -1
  38. package/dist-lib/components/voorraad/ProductLinkCard.d.ts.map +1 -1
  39. package/dist-lib/components/voorraad/PublicatiesPage.d.ts +1 -1
  40. package/dist-lib/components/voorraad/PublicatiesPage.d.ts.map +1 -1
  41. package/dist-lib/components/voorraad/PublishProgressCard.d.ts +1 -1
  42. package/dist-lib/components/voorraad/PublishProgressCard.d.ts.map +1 -1
  43. package/dist-lib/components/voorraad/PublishReadinessCard.d.ts +1 -1
  44. package/dist-lib/components/voorraad/PublishReadinessCard.d.ts.map +1 -1
  45. package/dist-lib/components/voorraad/StepSamenstelling.d.ts +1 -1
  46. package/dist-lib/components/voorraad/StepSamenstelling.d.ts.map +1 -1
  47. package/dist-lib/components/voorraad/StockBulkButtons.d.ts +1 -1
  48. package/dist-lib/components/voorraad/StockBulkButtons.d.ts.map +1 -1
  49. package/dist-lib/components/voorraad/StockHistoryChart.d.ts +4 -0
  50. package/dist-lib/components/voorraad/StockHistoryChart.d.ts.map +1 -0
  51. package/dist-lib/components/voorraad/StockHistoryChart.js +53 -0
  52. package/dist-lib/components/voorraad/StockPushMonitor.d.ts +1 -1
  53. package/dist-lib/components/voorraad/StockPushMonitor.d.ts.map +1 -1
  54. package/dist-lib/components/voorraad/StockSyncStatus.d.ts +1 -1
  55. package/dist-lib/components/voorraad/StockSyncStatus.d.ts.map +1 -1
  56. package/dist-lib/components/voorraad/ValidationOverviewTable.d.ts +1 -1
  57. package/dist-lib/components/voorraad/ValidationOverviewTable.d.ts.map +1 -1
  58. package/dist-lib/components/voorraad/ValidationPage.d.ts +1 -1
  59. package/dist-lib/components/voorraad/ValidationPage.d.ts.map +1 -1
  60. package/dist-lib/components/voorraad/VoorraadDashboard.d.ts +1 -1
  61. package/dist-lib/components/voorraad/VoorraadDashboard.d.ts.map +1 -1
  62. package/dist-lib/components/voorraad/VoorraadPage.d.ts +1 -1
  63. package/dist-lib/components/voorraad/VoorraadPage.d.ts.map +1 -1
  64. package/dist-lib/components/voorraad/VoorraadPage.js +29 -1
  65. package/dist-lib/components/voorraad/VoorraadPagination.d.ts +1 -1
  66. package/dist-lib/components/voorraad/VoorraadPagination.d.ts.map +1 -1
  67. package/dist-lib/components/voorraad/VoorraadStockCard.d.ts +1 -1
  68. package/dist-lib/components/voorraad/VoorraadStockCard.d.ts.map +1 -1
  69. package/dist-lib/components/voorraad/VoorraadTable.d.ts +10 -2
  70. package/dist-lib/components/voorraad/VoorraadTable.d.ts.map +1 -1
  71. package/dist-lib/components/voorraad/VoorraadTable.js +17 -6
  72. package/dist-lib/components/voorraad/VoorraadVeldenCard.d.ts +1 -1
  73. package/dist-lib/components/voorraad/VoorraadVeldenCard.d.ts.map +1 -1
  74. package/dist-lib/hooks/useInventorySettings.d.ts +29 -0
  75. package/dist-lib/hooks/useInventorySettings.d.ts.map +1 -0
  76. package/dist-lib/hooks/useInventorySettings.js +62 -0
  77. package/dist-lib/integrations/supabase/auth-middleware.d.ts +1195 -717
  78. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  79. package/dist-lib/integrations/supabase/client.d.ts +1195 -717
  80. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  81. package/dist-lib/integrations/supabase/client.js +1 -1
  82. package/dist-lib/integrations/supabase/client.server.d.ts +1195 -717
  83. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  84. package/dist-lib/integrations/supabase/client.server.js +1 -1
  85. package/dist-lib/integrations/supabase/types.d.ts +1208 -748
  86. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  87. package/dist-lib/lib/floricode-required-features.functions.d.ts +1196 -724
  88. package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
  89. package/dist-lib/lib/floriday-2026v1.server.d.ts +77 -0
  90. package/dist-lib/lib/floriday-2026v1.server.d.ts.map +1 -0
  91. package/dist-lib/lib/floriday-2026v1.server.js +178 -0
  92. package/dist-lib/lib/floriday-customer-offer.functions.d.ts +1198 -718
  93. package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
  94. package/dist-lib/lib/floriday-env.functions.d.ts +2180 -1224
  95. package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
  96. package/dist-lib/lib/floriday-gateway.functions.d.ts +6852 -3984
  97. package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
  98. package/dist-lib/lib/floriday-stock-supply.server.d.ts +18 -7
  99. package/dist-lib/lib/floriday-stock-supply.server.d.ts.map +1 -1
  100. package/dist-lib/lib/floriday-stock-supply.server.js +70 -68
  101. package/dist-lib/lib/floriday-vbn-required.functions.d.ts +2180 -1224
  102. package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
  103. package/dist-lib/lib/floriday-warehouse.functions.d.ts +3476 -2042
  104. package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
  105. package/dist-lib/lib/floriday-writes.functions.d.ts +2180 -1224
  106. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  107. package/dist-lib/lib/inventory-settings.functions.d.ts +47391 -0
  108. package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -0
  109. package/dist-lib/lib/inventory-settings.functions.js +97 -0
  110. package/dist-lib/lib/module-health.functions.d.ts +2180 -1224
  111. package/dist-lib/lib/module-health.functions.d.ts.map +1 -1
  112. package/dist-lib/lib/stock-sync.functions.d.ts +2180 -1224
  113. package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
  114. package/package.json +1 -1
  115. package/dist-lib/components/settings/VoorraadSettingsCard.d.ts +0 -2
  116. package/dist-lib/components/settings/VoorraadSettingsCard.d.ts.map +0 -1
  117. package/dist-lib/components/settings/VoorraadSettingsCard.js +0 -39
  118. package/dist-lib/components/voorraad/ConnectionPicker.d.ts +0 -8
  119. package/dist-lib/components/voorraad/ConnectionPicker.d.ts.map +0 -1
  120. package/dist-lib/components/voorraad/ConnectionPicker.js +0 -8
@@ -61,13 +61,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
61
61
  signup_mail_lead_minutes?: number;
62
62
  signup_mail_purpose?: string;
63
63
  transport_register_days_before?: number;
64
- updated_at
65
- /**
66
- * Minimalistische Supabase-client-shape die `computeVbnRequiredFeatures`
67
- * daadwerkelijk gebruikt. Getypeerd als `any` zodat zowel de echte
68
- * `SupabaseClient` als de fake-client in tests passen.
69
- */
70
- ?: string;
64
+ updated_at?: string;
71
65
  user_id: string;
72
66
  };
73
67
  Update: {
@@ -2885,6 +2879,84 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
2885
2879
  };
2886
2880
  Relationships: [];
2887
2881
  };
2882
+ delivery_notes: {
2883
+ Row: {
2884
+ byte_size: number | null;
2885
+ connection_id: string | null;
2886
+ content_type: string;
2887
+ created_at: string;
2888
+ error_message: string | null;
2889
+ fetched_at: string | null;
2890
+ fulfillment_order_id: string | null;
2891
+ http_status: number | null;
2892
+ id: string;
2893
+ label_code: string | null;
2894
+ letter: string | null;
2895
+ load_carrier_index: number | null;
2896
+ load_carrier_type: string | null;
2897
+ order_id: string | null;
2898
+ order_number: string | null;
2899
+ packages: number | null;
2900
+ source: string;
2901
+ status: string;
2902
+ storage_bucket: string;
2903
+ storage_path: string | null;
2904
+ updated_at: string;
2905
+ };
2906
+ Insert: {
2907
+ byte_size?: number | null;
2908
+ connection_id?: string | null;
2909
+ content_type?: string;
2910
+ created_at?: string;
2911
+ error_message?: string | null;
2912
+ fetched_at?: string | null;
2913
+ fulfillment_order_id?: string | null;
2914
+ http_status?: number | null;
2915
+ id?: string;
2916
+ label_code?: string | null;
2917
+ letter?: string | null;
2918
+ load_carrier_index?: number | null;
2919
+ load_carrier_type?: string | null;
2920
+ order_id?: string | null;
2921
+ order_number?: string | null;
2922
+ packages?: number | null;
2923
+ source?: string;
2924
+ status?: string;
2925
+ storage_bucket?: string;
2926
+ storage_path?: string | null;
2927
+ updated_at?: string;
2928
+ };
2929
+ Update: {
2930
+ byte_size?: number | null;
2931
+ connection_id?: string | null;
2932
+ content_type?: string;
2933
+ created_at?: string;
2934
+ error_message?: string | null;
2935
+ fetched_at?: string | null;
2936
+ fulfillment_order_id?: string | null;
2937
+ http_status?: number | null;
2938
+ id?: string;
2939
+ label_code?: string | null;
2940
+ letter?: string | null;
2941
+ load_carrier_index?: number | null;
2942
+ load_carrier_type?: string | null;
2943
+ order_id?: string | null;
2944
+ order_number?: string | null;
2945
+ packages?: number | null;
2946
+ source?: string;
2947
+ status?: string;
2948
+ storage_bucket?: string;
2949
+ storage_path?: string | null;
2950
+ updated_at?: string;
2951
+ };
2952
+ Relationships: [{
2953
+ foreignKeyName: "delivery_notes_order_id_fkey";
2954
+ columns: ["order_id"];
2955
+ isOneToOne: false;
2956
+ referencedRelation: "orders";
2957
+ referencedColumns: ["id"];
2958
+ }];
2959
+ };
2888
2960
  document_bronregels: {
2889
2961
  Row: {
2890
2962
  bron: string;
@@ -5938,10 +6010,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
5938
6010
  };
5939
6011
  floriday_connections: {
5940
6012
  Row: {
5941
- access_token: string | null;
5942
6013
  api_key: string;
5943
- client_id: string;
5944
- client_secret: string;
5945
6014
  created_at: string;
5946
6015
  customers_endpoint: string | null;
5947
6016
  environment: string;
@@ -5956,10 +6025,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
5956
6025
  updated_at: string;
5957
6026
  };
5958
6027
  Insert: {
5959
- access_token?: string | null;
5960
6028
  api_key: string;
5961
- client_id: string;
5962
- client_secret: string;
5963
6029
  created_at?: string;
5964
6030
  customers_endpoint?: string | null;
5965
6031
  environment: string;
@@ -5974,10 +6040,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
5974
6040
  updated_at?: string;
5975
6041
  };
5976
6042
  Update: {
5977
- access_token?: string | null;
5978
6043
  api_key?: string;
5979
- client_id?: string;
5980
- client_secret?: string;
5981
6044
  created_at?: string;
5982
6045
  customers_endpoint?: string | null;
5983
6046
  environment?: string;
@@ -6061,6 +6124,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
6061
6124
  attempts: number;
6062
6125
  connection_id: string;
6063
6126
  created_at: string;
6127
+ dead_lettered_at: string | null;
6064
6128
  desired_available: boolean | null;
6065
6129
  gateway_attempt_id: string | null;
6066
6130
  id: string;
@@ -6069,9 +6133,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
6069
6133
  locked_by: string | null;
6070
6134
  next_attempt_at: string;
6071
6135
  number_of_pieces: number;
6136
+ product_id: string | null;
6072
6137
  sent_at: string | null;
6073
6138
  status: string;
6139
+ stock_mode: string | null;
6074
6140
  superseded_by: string | null;
6141
+ target_week: number | null;
6142
+ target_year: number | null;
6075
6143
  trade_item_id: string;
6076
6144
  updated_at: string;
6077
6145
  user_id: string;
@@ -6080,6 +6148,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
6080
6148
  attempts?: number;
6081
6149
  connection_id: string;
6082
6150
  created_at?: string;
6151
+ dead_lettered_at?: string | null;
6083
6152
  desired_available?: boolean | null;
6084
6153
  gateway_attempt_id?: string | null;
6085
6154
  id?: string;
@@ -6088,9 +6157,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
6088
6157
  locked_by?: string | null;
6089
6158
  next_attempt_at?: string;
6090
6159
  number_of_pieces?: number;
6160
+ product_id?: string | null;
6091
6161
  sent_at?: string | null;
6092
6162
  status?: string;
6163
+ stock_mode?: string | null;
6093
6164
  superseded_by?: string | null;
6165
+ target_week?: number | null;
6166
+ target_year?: number | null;
6094
6167
  trade_item_id: string;
6095
6168
  updated_at?: string;
6096
6169
  user_id: string;
@@ -6099,6 +6172,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
6099
6172
  attempts?: number;
6100
6173
  connection_id?: string;
6101
6174
  created_at?: string;
6175
+ dead_lettered_at?: string | null;
6102
6176
  desired_available?: boolean | null;
6103
6177
  gateway_attempt_id?: string | null;
6104
6178
  id?: string;
@@ -6107,9 +6181,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
6107
6181
  locked_by?: string | null;
6108
6182
  next_attempt_at?: string;
6109
6183
  number_of_pieces?: number;
6184
+ product_id?: string | null;
6110
6185
  sent_at?: string | null;
6111
6186
  status?: string;
6187
+ stock_mode?: string | null;
6112
6188
  superseded_by?: string | null;
6189
+ target_week?: number | null;
6190
+ target_year?: number | null;
6113
6191
  trade_item_id?: string;
6114
6192
  updated_at?: string;
6115
6193
  user_id?: string;
@@ -6518,6 +6596,87 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
6518
6596
  referencedColumns: ["id"];
6519
6597
  }];
6520
6598
  };
6599
+ floriday_inventory_settings: {
6600
+ Row: {
6601
+ buffer_quantity: number;
6602
+ connection_id: string;
6603
+ created_at: string;
6604
+ desired_availability: boolean;
6605
+ desired_quantity: number;
6606
+ fixed_quantity: number | null;
6607
+ floriday_trade_item_id: string | null;
6608
+ id: string;
6609
+ last_confirmed_at: string | null;
6610
+ last_enqueued_at: string | null;
6611
+ last_published_at: string | null;
6612
+ last_sync_error: string | null;
6613
+ manual_quantity: number | null;
6614
+ maximum_quantity: number | null;
6615
+ product_id: string;
6616
+ quantity_control: string;
6617
+ remote_available: boolean | null;
6618
+ remote_checked_at: string | null;
6619
+ remote_quantity: number | null;
6620
+ stock_mode: string;
6621
+ sync_status: string;
6622
+ updated_at: string;
6623
+ updated_by: string | null;
6624
+ user_id: string;
6625
+ };
6626
+ Insert: {
6627
+ buffer_quantity?: number;
6628
+ connection_id: string;
6629
+ created_at?: string;
6630
+ desired_availability?: boolean;
6631
+ desired_quantity?: number;
6632
+ fixed_quantity?: number | null;
6633
+ floriday_trade_item_id?: string | null;
6634
+ id?: string;
6635
+ last_confirmed_at?: string | null;
6636
+ last_enqueued_at?: string | null;
6637
+ last_published_at?: string | null;
6638
+ last_sync_error?: string | null;
6639
+ manual_quantity?: number | null;
6640
+ maximum_quantity?: number | null;
6641
+ product_id: string;
6642
+ quantity_control?: string;
6643
+ remote_available?: boolean | null;
6644
+ remote_checked_at?: string | null;
6645
+ remote_quantity?: number | null;
6646
+ stock_mode?: string;
6647
+ sync_status?: string;
6648
+ updated_at?: string;
6649
+ updated_by?: string | null;
6650
+ user_id: string;
6651
+ };
6652
+ Update: {
6653
+ buffer_quantity?: number;
6654
+ connection_id?: string;
6655
+ created_at?: string;
6656
+ desired_availability?: boolean;
6657
+ desired_quantity?: number;
6658
+ fixed_quantity?: number | null;
6659
+ floriday_trade_item_id?: string | null;
6660
+ id?: string;
6661
+ last_confirmed_at?: string | null;
6662
+ last_enqueued_at?: string | null;
6663
+ last_published_at?: string | null;
6664
+ last_sync_error?: string | null;
6665
+ manual_quantity?: number | null;
6666
+ maximum_quantity?: number | null;
6667
+ product_id?: string;
6668
+ quantity_control?: string;
6669
+ remote_available?: boolean | null;
6670
+ remote_checked_at?: string | null;
6671
+ remote_quantity?: number | null;
6672
+ stock_mode?: string;
6673
+ sync_status?: string;
6674
+ updated_at?: string;
6675
+ updated_by?: string | null;
6676
+ user_id?: string;
6677
+ };
6678
+ Relationships: [];
6679
+ };
6521
6680
  floriday_invoices_cache: {
6522
6681
  Row: {
6523
6682
  buyer_organization_id: string | null;
@@ -6806,6 +6965,39 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
6806
6965
  };
6807
6966
  Relationships: [];
6808
6967
  };
6968
+ floriday_sales_order_ingest: {
6969
+ Row: {
6970
+ connection_id: string;
6971
+ created_at: string;
6972
+ id: string;
6973
+ impact: import("../integrations/supabase/types").Json;
6974
+ order_status: string | null;
6975
+ order_version: number;
6976
+ processed_at: string;
6977
+ sales_order_id: string;
6978
+ };
6979
+ Insert: {
6980
+ connection_id: string;
6981
+ created_at?: string;
6982
+ id?: string;
6983
+ impact?: import("../integrations/supabase/types").Json;
6984
+ order_status?: string | null;
6985
+ order_version?: number;
6986
+ processed_at?: string;
6987
+ sales_order_id: string;
6988
+ };
6989
+ Update: {
6990
+ connection_id?: string;
6991
+ created_at?: string;
6992
+ id?: string;
6993
+ impact?: import("../integrations/supabase/types").Json;
6994
+ order_status?: string | null;
6995
+ order_version?: number;
6996
+ processed_at?: string;
6997
+ sales_order_id?: string;
6998
+ };
6999
+ Relationships: [];
7000
+ };
6809
7001
  floriday_sales_strategies_cache: {
6810
7002
  Row: {
6811
7003
  connection_id: string;
@@ -6905,6 +7097,39 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
6905
7097
  };
6906
7098
  Relationships: [];
6907
7099
  };
7100
+ floriday_sync_cursors: {
7101
+ Row: {
7102
+ connection_id: string;
7103
+ created_at: string;
7104
+ id: string;
7105
+ last_error: string | null;
7106
+ last_sync_at: string | null;
7107
+ resource_type: string;
7108
+ sequence_number: number;
7109
+ updated_at: string;
7110
+ };
7111
+ Insert: {
7112
+ connection_id: string;
7113
+ created_at?: string;
7114
+ id?: string;
7115
+ last_error?: string | null;
7116
+ last_sync_at?: string | null;
7117
+ resource_type: string;
7118
+ sequence_number?: number;
7119
+ updated_at?: string;
7120
+ };
7121
+ Update: {
7122
+ connection_id?: string;
7123
+ created_at?: string;
7124
+ id?: string;
7125
+ last_error?: string | null;
7126
+ last_sync_at?: string | null;
7127
+ resource_type?: string;
7128
+ sequence_number?: number;
7129
+ updated_at?: string;
7130
+ };
7131
+ Relationships: [];
7132
+ };
6908
7133
  floriday_sync_state: {
6909
7134
  Row: {
6910
7135
  connection_id: string;
@@ -7595,6 +7820,42 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
7595
7820
  };
7596
7821
  Relationships: [];
7597
7822
  };
7823
+ inventory_stock_snapshots: {
7824
+ Row: {
7825
+ connection_id: string;
7826
+ created_at: string;
7827
+ erp_available_quantity: number;
7828
+ floriday_desired_quantity: number;
7829
+ floriday_remote_quantity: number | null;
7830
+ granularity: string;
7831
+ id: string;
7832
+ snapshot_at: string;
7833
+ user_id: string | null;
7834
+ };
7835
+ Insert: {
7836
+ connection_id: string;
7837
+ created_at?: string;
7838
+ erp_available_quantity?: number;
7839
+ floriday_desired_quantity?: number;
7840
+ floriday_remote_quantity?: number | null;
7841
+ granularity?: string;
7842
+ id?: string;
7843
+ snapshot_at?: string;
7844
+ user_id?: string | null;
7845
+ };
7846
+ Update: {
7847
+ connection_id?: string;
7848
+ created_at?: string;
7849
+ erp_available_quantity?: number;
7850
+ floriday_desired_quantity?: number;
7851
+ floriday_remote_quantity?: number | null;
7852
+ granularity?: string;
7853
+ id?: string;
7854
+ snapshot_at?: string;
7855
+ user_id?: string | null;
7856
+ };
7857
+ Relationships: [];
7858
+ };
7598
7859
  invoice_items: {
7599
7860
  Row: {
7600
7861
  created_at: string;
@@ -8103,13 +8364,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8103
8364
  segment?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
8104
8365
  updated_at?: string;
8105
8366
  };
8106
- Relationships: [{
8107
- foreignKeyName: "itk_customers_legacy_customer_id_fkey";
8108
- columns: ["legacy_customer_id"];
8109
- isOneToOne: false;
8110
- referencedRelation: "customers";
8111
- referencedColumns: ["id"];
8112
- }];
8367
+ Relationships: [];
8113
8368
  };
8114
8369
  itk_dynamic_fields: {
8115
8370
  Row: {
@@ -8141,104 +8396,278 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8141
8396
  };
8142
8397
  Relationships: [];
8143
8398
  };
8144
- itk_offerte_events: {
8399
+ itk_handover_rechten: {
8145
8400
  Row: {
8146
8401
  created_at: string;
8147
- event_type: string;
8148
8402
  id: string;
8149
- metadata: import("../integrations/supabase/types").Json;
8150
- offerte_id: string;
8151
- omschrijving: string | null;
8403
+ module_id: string;
8404
+ rol: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"] | null;
8405
+ updated_at: string;
8152
8406
  user_id: string | null;
8153
8407
  };
8154
8408
  Insert: {
8155
8409
  created_at?: string;
8156
- event_type: string;
8157
8410
  id?: string;
8158
- metadata?: import("../integrations/supabase/types").Json;
8159
- offerte_id: string;
8160
- omschrijving?: string | null;
8411
+ module_id: string;
8412
+ rol?: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"] | null;
8413
+ updated_at?: string;
8161
8414
  user_id?: string | null;
8162
8415
  };
8163
8416
  Update: {
8164
8417
  created_at?: string;
8165
- event_type?: string;
8166
8418
  id?: string;
8167
- metadata?: import("../integrations/supabase/types").Json;
8168
- offerte_id?: string;
8169
- omschrijving?: string | null;
8419
+ module_id?: string;
8420
+ rol?: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"] | null;
8421
+ updated_at?: string;
8170
8422
  user_id?: string | null;
8171
8423
  };
8172
- Relationships: [{
8173
- foreignKeyName: "itk_offerte_events_offerte_id_fkey";
8174
- columns: ["offerte_id"];
8175
- isOneToOne: false;
8176
- referencedRelation: "itk_offertes";
8177
- referencedColumns: ["id"];
8178
- }];
8424
+ Relationships: [];
8179
8425
  };
8180
- itk_offerte_regels: {
8426
+ itk_handover_tokens: {
8181
8427
  Row: {
8428
+ aangemaakt_door: string | null;
8182
8429
  created_at: string;
8183
8430
  id: string;
8184
- line_total_cents: number;
8185
- offerte_id: string;
8186
- omschrijving: string;
8187
- package_id: string | null;
8188
- quantity: number;
8189
- sort_order: number;
8190
- source: string;
8191
- unit_price_cents: number;
8431
+ is_actief: boolean;
8432
+ laatst_gebruikt_op: string | null;
8433
+ label: string;
8434
+ module_id: string;
8435
+ token_hash: string;
8192
8436
  updated_at: string;
8437
+ verloopt_op: string | null;
8193
8438
  };
8194
8439
  Insert: {
8440
+ aangemaakt_door?: string | null;
8195
8441
  created_at?: string;
8196
8442
  id?: string;
8197
- line_total_cents?: number;
8198
- offerte_id: string;
8199
- omschrijving?: string;
8200
- package_id?: string | null;
8201
- quantity?: number;
8202
- sort_order?: number;
8203
- source?: string;
8204
- unit_price_cents?: number;
8443
+ is_actief?: boolean;
8444
+ laatst_gebruikt_op?: string | null;
8445
+ label?: string;
8446
+ module_id: string;
8447
+ token_hash: string;
8205
8448
  updated_at?: string;
8449
+ verloopt_op?: string | null;
8206
8450
  };
8207
8451
  Update: {
8452
+ aangemaakt_door?: string | null;
8208
8453
  created_at?: string;
8209
8454
  id?: string;
8210
- line_total_cents?: number;
8211
- offerte_id?: string;
8212
- omschrijving?: string;
8213
- package_id?: string | null;
8214
- quantity?: number;
8215
- sort_order?: number;
8216
- source?: string;
8217
- unit_price_cents?: number;
8455
+ is_actief?: boolean;
8456
+ laatst_gebruikt_op?: string | null;
8457
+ label?: string;
8458
+ module_id?: string;
8459
+ token_hash?: string;
8218
8460
  updated_at?: string;
8461
+ verloopt_op?: string | null;
8219
8462
  };
8220
- Relationships: [{
8221
- foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
8222
- columns: ["offerte_id"];
8223
- isOneToOne: false;
8224
- referencedRelation: "itk_offertes";
8225
- referencedColumns: ["id"];
8226
- }, {
8227
- foreignKeyName: "itk_offerte_regels_package_id_fkey";
8228
- columns: ["package_id"];
8229
- isOneToOne: false;
8230
- referencedRelation: "werkbon_packages";
8231
- referencedColumns: ["id"];
8232
- }];
8463
+ Relationships: [];
8233
8464
  };
8234
- itk_offerte_settings: {
8465
+ itk_module_handovers: {
8235
8466
  Row: {
8236
- auto_convert_binnen_mandaat: boolean;
8467
+ bevindingen: string | null;
8468
+ bezit_tabellen: string[];
8469
+ conflicten_snapshot: import("../integrations/supabase/types").Json;
8470
+ contractfuncties: string[];
8237
8471
  created_at: string;
8238
- default_geldigheid_dagen: number;
8239
- default_vat_rate: number;
8472
+ eigenaar_module_id: string | null;
8473
+ gepubliceerd_door: string | null;
8474
+ gepubliceerd_op: string;
8475
+ herzieningstermijn_dagen: number;
8240
8476
  id: string;
8241
- singleton: boolean;
8477
+ inhoud_md: string;
8478
+ is_actueel: boolean;
8479
+ module_id: string;
8480
+ module_titel: string;
8481
+ ontbrekende_contracten: string[];
8482
+ samenvatting: string | null;
8483
+ updated_at: string;
8484
+ versie: number;
8485
+ };
8486
+ Insert: {
8487
+ bevindingen?: string | null;
8488
+ bezit_tabellen?: string[];
8489
+ conflicten_snapshot?: import("../integrations/supabase/types").Json;
8490
+ contractfuncties?: string[];
8491
+ created_at?: string;
8492
+ eigenaar_module_id?: string | null;
8493
+ gepubliceerd_door?: string | null;
8494
+ gepubliceerd_op?: string;
8495
+ herzieningstermijn_dagen?: number;
8496
+ id?: string;
8497
+ inhoud_md: string;
8498
+ is_actueel?: boolean;
8499
+ module_id: string;
8500
+ module_titel: string;
8501
+ ontbrekende_contracten?: string[];
8502
+ samenvatting?: string | null;
8503
+ updated_at?: string;
8504
+ versie?: number;
8505
+ };
8506
+ Update: {
8507
+ bevindingen?: string | null;
8508
+ bezit_tabellen?: string[];
8509
+ conflicten_snapshot?: import("../integrations/supabase/types").Json;
8510
+ contractfuncties?: string[];
8511
+ created_at?: string;
8512
+ eigenaar_module_id?: string | null;
8513
+ gepubliceerd_door?: string | null;
8514
+ gepubliceerd_op?: string;
8515
+ herzieningstermijn_dagen?: number;
8516
+ id?: string;
8517
+ inhoud_md?: string;
8518
+ is_actueel?: boolean;
8519
+ module_id?: string;
8520
+ module_titel?: string;
8521
+ ontbrekende_contracten?: string[];
8522
+ samenvatting?: string | null;
8523
+ updated_at?: string;
8524
+ versie?: number;
8525
+ };
8526
+ Relationships: [];
8527
+ };
8528
+ itk_module_instructies: {
8529
+ Row: {
8530
+ created_at: string;
8531
+ eigenaar_module_id: string;
8532
+ gepubliceerd_door: string | null;
8533
+ gepubliceerd_op: string;
8534
+ id: string;
8535
+ inhoud_md: string;
8536
+ is_actueel: boolean;
8537
+ sleutel: string;
8538
+ titel: string;
8539
+ toelichting: string | null;
8540
+ updated_at: string;
8541
+ versie: number;
8542
+ };
8543
+ Insert: {
8544
+ created_at?: string;
8545
+ eigenaar_module_id?: string;
8546
+ gepubliceerd_door?: string | null;
8547
+ gepubliceerd_op?: string;
8548
+ id?: string;
8549
+ inhoud_md: string;
8550
+ is_actueel?: boolean;
8551
+ sleutel: string;
8552
+ titel: string;
8553
+ toelichting?: string | null;
8554
+ updated_at?: string;
8555
+ versie?: number;
8556
+ };
8557
+ Update: {
8558
+ created_at?: string;
8559
+ eigenaar_module_id?: string;
8560
+ gepubliceerd_door?: string | null;
8561
+ gepubliceerd_op?: string;
8562
+ id?: string;
8563
+ inhoud_md?: string;
8564
+ is_actueel?: boolean;
8565
+ sleutel?: string;
8566
+ titel?: string;
8567
+ toelichting?: string | null;
8568
+ updated_at?: string;
8569
+ versie?: number;
8570
+ };
8571
+ Relationships: [];
8572
+ };
8573
+ itk_offerte_events: {
8574
+ Row: {
8575
+ created_at: string;
8576
+ event_type: string;
8577
+ id: string;
8578
+ metadata: import("../integrations/supabase/types").Json;
8579
+ offerte_id: string;
8580
+ omschrijving: string | null;
8581
+ user_id: string | null;
8582
+ };
8583
+ Insert: {
8584
+ created_at?: string;
8585
+ event_type: string;
8586
+ id?: string;
8587
+ metadata?: import("../integrations/supabase/types").Json;
8588
+ offerte_id: string;
8589
+ omschrijving?: string | null;
8590
+ user_id?: string | null;
8591
+ };
8592
+ Update: {
8593
+ created_at?: string;
8594
+ event_type?: string;
8595
+ id?: string;
8596
+ metadata?: import("../integrations/supabase/types").Json;
8597
+ offerte_id?: string;
8598
+ omschrijving?: string | null;
8599
+ user_id?: string | null;
8600
+ };
8601
+ Relationships: [{
8602
+ foreignKeyName: "itk_offerte_events_offerte_id_fkey";
8603
+ columns: ["offerte_id"];
8604
+ isOneToOne: false;
8605
+ referencedRelation: "itk_offertes";
8606
+ referencedColumns: ["id"];
8607
+ }];
8608
+ };
8609
+ itk_offerte_regels: {
8610
+ Row: {
8611
+ created_at: string;
8612
+ id: string;
8613
+ line_total_cents: number;
8614
+ offerte_id: string;
8615
+ omschrijving: string;
8616
+ package_id: string | null;
8617
+ quantity: number;
8618
+ sort_order: number;
8619
+ source: string;
8620
+ unit_price_cents: number;
8621
+ updated_at: string;
8622
+ };
8623
+ Insert: {
8624
+ created_at?: string;
8625
+ id?: string;
8626
+ line_total_cents?: number;
8627
+ offerte_id: string;
8628
+ omschrijving?: string;
8629
+ package_id?: string | null;
8630
+ quantity?: number;
8631
+ sort_order?: number;
8632
+ source?: string;
8633
+ unit_price_cents?: number;
8634
+ updated_at?: string;
8635
+ };
8636
+ Update: {
8637
+ created_at?: string;
8638
+ id?: string;
8639
+ line_total_cents?: number;
8640
+ offerte_id?: string;
8641
+ omschrijving?: string;
8642
+ package_id?: string | null;
8643
+ quantity?: number;
8644
+ sort_order?: number;
8645
+ source?: string;
8646
+ unit_price_cents?: number;
8647
+ updated_at?: string;
8648
+ };
8649
+ Relationships: [{
8650
+ foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
8651
+ columns: ["offerte_id"];
8652
+ isOneToOne: false;
8653
+ referencedRelation: "itk_offertes";
8654
+ referencedColumns: ["id"];
8655
+ }, {
8656
+ foreignKeyName: "itk_offerte_regels_package_id_fkey";
8657
+ columns: ["package_id"];
8658
+ isOneToOne: false;
8659
+ referencedRelation: "werkbon_packages";
8660
+ referencedColumns: ["id"];
8661
+ }];
8662
+ };
8663
+ itk_offerte_settings: {
8664
+ Row: {
8665
+ auto_convert_binnen_mandaat: boolean;
8666
+ created_at: string;
8667
+ default_geldigheid_dagen: number;
8668
+ default_vat_rate: number;
8669
+ id: string;
8670
+ singleton: boolean;
8242
8671
  updated_at: string;
8243
8672
  };
8244
8673
  Insert: {
@@ -10769,6 +11198,24 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
10769
11198
  };
10770
11199
  Relationships: [];
10771
11200
  };
11201
+ maps_job_lease: {
11202
+ Row: {
11203
+ job: string;
11204
+ locked_until: string;
11205
+ updated_at: string;
11206
+ };
11207
+ Insert: {
11208
+ job: string;
11209
+ locked_until?: string;
11210
+ updated_at?: string;
11211
+ };
11212
+ Update: {
11213
+ job?: string;
11214
+ locked_until?: string;
11215
+ updated_at?: string;
11216
+ };
11217
+ Relationships: [];
11218
+ };
10772
11219
  maps_request_queue: {
10773
11220
  Row: {
10774
11221
  attempts: number;
@@ -10830,6 +11277,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
10830
11277
  last_error: string | null;
10831
11278
  last_error_at: string | null;
10832
11279
  last_success_at: string | null;
11280
+ provider: string;
10833
11281
  updated_at: string;
10834
11282
  };
10835
11283
  Insert: {
@@ -10841,6 +11289,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
10841
11289
  last_error?: string | null;
10842
11290
  last_error_at?: string | null;
10843
11291
  last_success_at?: string | null;
11292
+ provider?: string;
10844
11293
  updated_at?: string;
10845
11294
  };
10846
11295
  Update: {
@@ -10852,6 +11301,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
10852
11301
  last_error?: string | null;
10853
11302
  last_error_at?: string | null;
10854
11303
  last_success_at?: string | null;
11304
+ provider?: string;
10855
11305
  updated_at?: string;
10856
11306
  };
10857
11307
  Relationships: [];
@@ -13494,6 +13944,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
13494
13944
  isOneToOne: false;
13495
13945
  referencedRelation: "planning_items";
13496
13946
  referencedColumns: ["id"];
13947
+ }, {
13948
+ foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
13949
+ columns: ["planning_item_id"];
13950
+ isOneToOne: false;
13951
+ referencedRelation: "planning_overview";
13952
+ referencedColumns: ["id"];
13497
13953
  }];
13498
13954
  };
13499
13955
  planning_items: {
@@ -13589,6 +14045,39 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
13589
14045
  };
13590
14046
  Relationships: [];
13591
14047
  };
14048
+ print_dedupe_events: {
14049
+ Row: {
14050
+ bestaande_job_id: string | null;
14051
+ created_at: string;
14052
+ detail: string | null;
14053
+ documentnaam: string | null;
14054
+ documenttype: string | null;
14055
+ id: string;
14056
+ idempotentie_sleutel: string;
14057
+ reden: string;
14058
+ };
14059
+ Insert: {
14060
+ bestaande_job_id?: string | null;
14061
+ created_at?: string;
14062
+ detail?: string | null;
14063
+ documentnaam?: string | null;
14064
+ documenttype?: string | null;
14065
+ id?: string;
14066
+ idempotentie_sleutel: string;
14067
+ reden: string;
14068
+ };
14069
+ Update: {
14070
+ bestaande_job_id?: string | null;
14071
+ created_at?: string;
14072
+ detail?: string | null;
14073
+ documentnaam?: string | null;
14074
+ documenttype?: string | null;
14075
+ id?: string;
14076
+ idempotentie_sleutel?: string;
14077
+ reden?: string;
14078
+ };
14079
+ Relationships: [];
14080
+ };
13592
14081
  print_job_logs: {
13593
14082
  Row: {
13594
14083
  created_at: string;
@@ -13630,6 +14119,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
13630
14119
  foutmelding: string | null;
13631
14120
  gebruiker_id: string | null;
13632
14121
  gebruiker_naam: string;
14122
+ gebruikte_bron: string | null;
14123
+ gebruikte_layout_id: string | null;
13633
14124
  gestart_op: string | null;
13634
14125
  herkomst: string | null;
13635
14126
  id: string;
@@ -13637,6 +14128,9 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
13637
14128
  is_herprint: boolean;
13638
14129
  kopieen: number;
13639
14130
  layout_id: string | null;
14131
+ lokaal_opgeslagen_op: string | null;
14132
+ lokale_pdf_fout: string | null;
14133
+ lokale_pdf_status: string | null;
13640
14134
  opgepakt_op: string | null;
13641
14135
  paginas: number;
13642
14136
  payload: import("../integrations/supabase/types").Json;
@@ -13645,6 +14139,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
13645
14139
  pogingen: number;
13646
14140
  printer_id: string | null;
13647
14141
  render_html: string | null;
14142
+ resultaat_pdf_base64: string | null;
13648
14143
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13649
14144
  updated_at: string;
13650
14145
  volgende_poging: string | null;
@@ -13660,6 +14155,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
13660
14155
  foutmelding?: string | null;
13661
14156
  gebruiker_id?: string | null;
13662
14157
  gebruiker_naam?: string;
14158
+ gebruikte_bron?: string | null;
14159
+ gebruikte_layout_id?: string | null;
13663
14160
  gestart_op?: string | null;
13664
14161
  herkomst?: string | null;
13665
14162
  id?: string;
@@ -13667,6 +14164,9 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
13667
14164
  is_herprint?: boolean;
13668
14165
  kopieen?: number;
13669
14166
  layout_id?: string | null;
14167
+ lokaal_opgeslagen_op?: string | null;
14168
+ lokale_pdf_fout?: string | null;
14169
+ lokale_pdf_status?: string | null;
13670
14170
  opgepakt_op?: string | null;
13671
14171
  paginas?: number;
13672
14172
  payload?: import("../integrations/supabase/types").Json;
@@ -13675,6 +14175,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
13675
14175
  pogingen?: number;
13676
14176
  printer_id?: string | null;
13677
14177
  render_html?: string | null;
14178
+ resultaat_pdf_base64?: string | null;
13678
14179
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13679
14180
  updated_at?: string;
13680
14181
  volgende_poging?: string | null;
@@ -13690,6 +14191,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
13690
14191
  foutmelding?: string | null;
13691
14192
  gebruiker_id?: string | null;
13692
14193
  gebruiker_naam?: string;
14194
+ gebruikte_bron?: string | null;
14195
+ gebruikte_layout_id?: string | null;
13693
14196
  gestart_op?: string | null;
13694
14197
  herkomst?: string | null;
13695
14198
  id?: string;
@@ -13697,6 +14200,9 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
13697
14200
  is_herprint?: boolean;
13698
14201
  kopieen?: number;
13699
14202
  layout_id?: string | null;
14203
+ lokaal_opgeslagen_op?: string | null;
14204
+ lokale_pdf_fout?: string | null;
14205
+ lokale_pdf_status?: string | null;
13700
14206
  opgepakt_op?: string | null;
13701
14207
  paginas?: number;
13702
14208
  payload?: import("../integrations/supabase/types").Json;
@@ -13705,6 +14211,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
13705
14211
  pogingen?: number;
13706
14212
  printer_id?: string | null;
13707
14213
  render_html?: string | null;
14214
+ resultaat_pdf_base64?: string | null;
13708
14215
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13709
14216
  updated_at?: string;
13710
14217
  volgende_poging?: string | null;
@@ -13823,6 +14330,39 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
13823
14330
  };
13824
14331
  Relationships: [];
13825
14332
  };
14333
+ print_preview_events: {
14334
+ Row: {
14335
+ code: string | null;
14336
+ created_at: string;
14337
+ detail: import("../integrations/supabase/types").Json;
14338
+ id: string;
14339
+ queue_item_id: string | null;
14340
+ reden: string | null;
14341
+ station_slug: string | null;
14342
+ uitkomst: string;
14343
+ };
14344
+ Insert: {
14345
+ code?: string | null;
14346
+ created_at?: string;
14347
+ detail?: import("../integrations/supabase/types").Json;
14348
+ id?: string;
14349
+ queue_item_id?: string | null;
14350
+ reden?: string | null;
14351
+ station_slug?: string | null;
14352
+ uitkomst?: string;
14353
+ };
14354
+ Update: {
14355
+ code?: string | null;
14356
+ created_at?: string;
14357
+ detail?: import("../integrations/supabase/types").Json;
14358
+ id?: string;
14359
+ queue_item_id?: string | null;
14360
+ reden?: string | null;
14361
+ station_slug?: string | null;
14362
+ uitkomst?: string;
14363
+ };
14364
+ Relationships: [];
14365
+ };
13826
14366
  print_queue_runners: {
13827
14367
  Row: {
13828
14368
  actief: boolean;
@@ -14062,6 +14602,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
14062
14602
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
14063
14603
  online: boolean;
14064
14604
  papierformaat: string;
14605
+ pdf_map: string | null;
14065
14606
  poort: number | null;
14066
14607
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14067
14608
  systeemnaam: string;
@@ -14087,6 +14628,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
14087
14628
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14088
14629
  online?: boolean;
14089
14630
  papierformaat?: string;
14631
+ pdf_map?: string | null;
14090
14632
  poort?: number | null;
14091
14633
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14092
14634
  systeemnaam?: string;
@@ -14112,6 +14654,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
14112
14654
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14113
14655
  online?: boolean;
14114
14656
  papierformaat?: string;
14657
+ pdf_map?: string | null;
14115
14658
  poort?: number | null;
14116
14659
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14117
14660
  systeemnaam?: string;
@@ -14984,530 +15527,86 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
14984
15527
  referencedColumns: ["id"];
14985
15528
  }];
14986
15529
  };
14987
- quote_activities: {
15530
+ reception_notifications: {
14988
15531
  Row: {
15532
+ booking_id: string | null;
14989
15533
  created_at: string;
14990
- event_type: string;
14991
15534
  id: string;
14992
- metadata: import("../integrations/supabase/types").Json;
14993
- quote_id: string;
14994
- user_id: string | null;
15535
+ is_read: boolean;
15536
+ message: string;
15537
+ recipient_email: string | null;
15538
+ title: string;
15539
+ type: string;
14995
15540
  };
14996
15541
  Insert: {
15542
+ booking_id?: string | null;
14997
15543
  created_at?: string;
14998
- event_type: string;
14999
15544
  id?: string;
15000
- metadata?: import("../integrations/supabase/types").Json;
15001
- quote_id: string;
15002
- user_id?: string | null;
15545
+ is_read?: boolean;
15546
+ message: string;
15547
+ recipient_email?: string | null;
15548
+ title: string;
15549
+ type: string;
15003
15550
  };
15004
15551
  Update: {
15552
+ booking_id?: string | null;
15005
15553
  created_at?: string;
15006
- event_type?: string;
15007
15554
  id?: string;
15008
- metadata?: import("../integrations/supabase/types").Json;
15009
- quote_id?: string;
15010
- user_id?: string | null;
15555
+ is_read?: boolean;
15556
+ message?: string;
15557
+ recipient_email?: string | null;
15558
+ title?: string;
15559
+ type?: string;
15011
15560
  };
15012
15561
  Relationships: [{
15013
- foreignKeyName: "quote_activities_quote_id_fkey";
15014
- columns: ["quote_id"];
15562
+ foreignKeyName: "reception_notifications_booking_id_fkey";
15563
+ columns: ["booking_id"];
15015
15564
  isOneToOne: false;
15016
- referencedRelation: "quotes";
15565
+ referencedRelation: "bookings";
15017
15566
  referencedColumns: ["id"];
15018
15567
  }];
15019
15568
  };
15020
- quote_attachments: {
15569
+ role_assignments: {
15021
15570
  Row: {
15022
15571
  created_at: string;
15023
- file_name: string;
15024
- file_size: number | null;
15025
- file_url: string;
15026
15572
  id: string;
15027
- mime_type: string | null;
15028
- quote_id: string;
15573
+ role_id: string;
15574
+ user_id: string;
15029
15575
  };
15030
15576
  Insert: {
15031
15577
  created_at?: string;
15032
- file_name: string;
15033
- file_size?: number | null;
15034
- file_url: string;
15035
15578
  id?: string;
15036
- mime_type?: string | null;
15037
- quote_id: string;
15579
+ role_id: string;
15580
+ user_id: string;
15038
15581
  };
15039
15582
  Update: {
15040
15583
  created_at?: string;
15041
- file_name?: string;
15042
- file_size?: number | null;
15043
- file_url?: string;
15044
15584
  id?: string;
15045
- mime_type?: string | null;
15046
- quote_id?: string;
15585
+ role_id?: string;
15586
+ user_id?: string;
15047
15587
  };
15048
15588
  Relationships: [{
15049
- foreignKeyName: "quote_attachments_quote_id_fkey";
15050
- columns: ["quote_id"];
15589
+ foreignKeyName: "role_assignments_role_id_fkey";
15590
+ columns: ["role_id"];
15051
15591
  isOneToOne: false;
15052
- referencedRelation: "quotes";
15592
+ referencedRelation: "roles";
15053
15593
  referencedColumns: ["id"];
15054
15594
  }];
15055
15595
  };
15056
- quote_field_options: {
15596
+ role_permissions: {
15057
15597
  Row: {
15058
- created_at: string;
15059
- field_id: string;
15598
+ can_edit: boolean;
15599
+ can_view: boolean;
15600
+ feature_id: string;
15060
15601
  id: string;
15061
- label: string;
15062
- sort_order: number;
15063
- value: string;
15602
+ module_id: string;
15603
+ role_id: string;
15604
+ updated_at: string;
15064
15605
  };
15065
15606
  Insert: {
15066
- created_at?: string;
15067
- field_id: string;
15068
- id?: string;
15069
- label: string;
15070
- sort_order?: number;
15071
- value: string;
15072
- };
15073
- Update: {
15074
- created_at?: string;
15075
- field_id?: string;
15076
- id?: string;
15077
- label?: string;
15078
- sort_order?: number;
15079
- value?: string;
15080
- };
15081
- Relationships: [{
15082
- foreignKeyName: "quote_field_options_field_id_fkey";
15083
- columns: ["field_id"];
15084
- isOneToOne: false;
15085
- referencedRelation: "quote_field_settings";
15086
- referencedColumns: ["id"];
15087
- }];
15088
- };
15089
- quote_field_settings: {
15090
- Row: {
15091
- created_at: string;
15092
- default_value: string | null;
15093
- field_key: string;
15094
- field_type: string;
15095
- id: string;
15096
- is_system: boolean;
15097
- label: string;
15098
- required: boolean;
15099
- sort_order: number;
15100
- updated_at: string;
15101
- visible: boolean;
15102
- };
15103
- Insert: {
15104
- created_at?: string;
15105
- default_value?: string | null;
15106
- field_key: string;
15107
- field_type: string;
15108
- id?: string;
15109
- is_system?: boolean;
15110
- label: string;
15111
- required?: boolean;
15112
- sort_order?: number;
15113
- updated_at?: string;
15114
- visible?: boolean;
15115
- };
15116
- Update: {
15117
- created_at?: string;
15118
- default_value?: string | null;
15119
- field_key?: string;
15120
- field_type?: string;
15121
- id?: string;
15122
- is_system?: boolean;
15123
- label?: string;
15124
- required?: boolean;
15125
- sort_order?: number;
15126
- updated_at?: string;
15127
- visible?: boolean;
15128
- };
15129
- Relationships: [];
15130
- };
15131
- quote_items: {
15132
- Row: {
15133
- category: string | null;
15134
- created_at: string;
15135
- description: string;
15136
- id: string;
15137
- line_total: number;
15138
- module_id: string | null;
15139
- name: string | null;
15140
- quantity: number;
15141
- quote_id: string;
15142
- sort_order: number;
15143
- unit_price: number;
15144
- };
15145
- Insert: {
15146
- category?: string | null;
15147
- created_at?: string;
15148
- description?: string;
15149
- id?: string;
15150
- line_total?: number;
15151
- module_id?: string | null;
15152
- name?: string | null;
15153
- quantity?: number;
15154
- quote_id: string;
15155
- sort_order?: number;
15156
- unit_price?: number;
15157
- };
15158
- Update: {
15159
- category?: string | null;
15160
- created_at?: string;
15161
- description?: string;
15162
- id?: string;
15163
- line_total?: number;
15164
- module_id?: string | null;
15165
- name?: string | null;
15166
- quantity?: number;
15167
- quote_id?: string;
15168
- sort_order?: number;
15169
- unit_price?: number;
15170
- };
15171
- Relationships: [{
15172
- foreignKeyName: "quote_items_module_id_fkey";
15173
- columns: ["module_id"];
15174
- isOneToOne: false;
15175
- referencedRelation: "quote_modules";
15176
- referencedColumns: ["id"];
15177
- }, {
15178
- foreignKeyName: "quote_items_quote_id_fkey";
15179
- columns: ["quote_id"];
15180
- isOneToOne: false;
15181
- referencedRelation: "quotes";
15182
- referencedColumns: ["id"];
15183
- }];
15184
- };
15185
- quote_modules: {
15186
- Row: {
15187
- category: string | null;
15188
- created_at: string;
15189
- description: string | null;
15190
- id: string;
15191
- is_active: boolean;
15192
- name: string;
15193
- price: number;
15194
- sort_order: number;
15195
- updated_at: string;
15196
- };
15197
- Insert: {
15198
- category?: string | null;
15199
- created_at?: string;
15200
- description?: string | null;
15201
- id?: string;
15202
- is_active?: boolean;
15203
- name: string;
15204
- price?: number;
15205
- sort_order?: number;
15206
- updated_at?: string;
15207
- };
15208
- Update: {
15209
- category?: string | null;
15210
- created_at?: string;
15211
- description?: string | null;
15212
- id?: string;
15213
- is_active?: boolean;
15214
- name?: string;
15215
- price?: number;
15216
- sort_order?: number;
15217
- updated_at?: string;
15218
- };
15219
- Relationships: [];
15220
- };
15221
- quote_templates: {
15222
- Row: {
15223
- created_at: string;
15224
- description: string | null;
15225
- field_values: import("../integrations/supabase/types").Json;
15226
- id: string;
15227
- is_default: boolean;
15228
- items: import("../integrations/supabase/types").Json;
15229
- name: string;
15230
- updated_at: string;
15231
- vat_rate: number;
15232
- };
15233
- Insert: {
15234
- created_at?: string;
15235
- description?: string | null;
15236
- field_values?: import("../integrations/supabase/types").Json;
15237
- id?: string;
15238
- is_default?: boolean;
15239
- items?: import("../integrations/supabase/types").Json;
15240
- name: string;
15241
- updated_at?: string;
15242
- vat_rate?: number;
15243
- };
15244
- Update: {
15245
- created_at?: string;
15246
- description?: string | null;
15247
- field_values?: import("../integrations/supabase/types").Json;
15248
- id?: string;
15249
- is_default?: boolean;
15250
- items?: import("../integrations/supabase/types").Json;
15251
- name?: string;
15252
- updated_at?: string;
15253
- vat_rate?: number;
15254
- };
15255
- Relationships: [];
15256
- };
15257
- quote_terms: {
15258
- Row: {
15259
- content: string | null;
15260
- created_at: string;
15261
- file_url: string | null;
15262
- id: string;
15263
- is_active: boolean;
15264
- name: string;
15265
- published_at: string | null;
15266
- updated_at: string;
15267
- version: string;
15268
- };
15269
- Insert: {
15270
- content?: string | null;
15271
- created_at?: string;
15272
- file_url?: string | null;
15273
- id?: string;
15274
- is_active?: boolean;
15275
- name: string;
15276
- published_at?: string | null;
15277
- updated_at?: string;
15278
- version?: string;
15279
- };
15280
- Update: {
15281
- content?: string | null;
15282
- created_at?: string;
15283
- file_url?: string | null;
15284
- id?: string;
15285
- is_active?: boolean;
15286
- name?: string;
15287
- published_at?: string | null;
15288
- updated_at?: string;
15289
- version?: string;
15290
- };
15291
- Relationships: [];
15292
- };
15293
- quotes: {
15294
- Row: {
15295
- accepted_at: string | null;
15296
- archived_at: string | null;
15297
- contact_id: string | null;
15298
- created_at: string;
15299
- customer_id: string | null;
15300
- discount: number;
15301
- expires_at: string | null;
15302
- field_values: import("../integrations/supabase/types").Json;
15303
- id: string;
15304
- notes: string | null;
15305
- owner_id: string | null;
15306
- personal_message: string | null;
15307
- project_id: string | null;
15308
- prospect_id: string | null;
15309
- public_token: string;
15310
- quote_number: string | null;
15311
- recipient_email: string | null;
15312
- recipient_name: string | null;
15313
- rejected_at: string | null;
15314
- sent_at: string | null;
15315
- status: string;
15316
- subtotal: number;
15317
- template_id: string | null;
15318
- terms_id: string | null;
15319
- title: string;
15320
- total: number;
15321
- updated_at: string;
15322
- valid_until: string | null;
15323
- vat_amount: number;
15324
- vat_rate: number;
15325
- viewed_at: string | null;
15326
- };
15327
- Insert: {
15328
- accepted_at?: string | null;
15329
- archived_at?: string | null;
15330
- contact_id?: string | null;
15331
- created_at?: string;
15332
- customer_id?: string | null;
15333
- discount?: number;
15334
- expires_at?: string | null;
15335
- field_values?: import("../integrations/supabase/types").Json;
15336
- id?: string;
15337
- notes?: string | null;
15338
- owner_id?: string | null;
15339
- personal_message?: string | null;
15340
- project_id?: string | null;
15341
- prospect_id?: string | null;
15342
- public_token?: string;
15343
- quote_number?: string | null;
15344
- recipient_email?: string | null;
15345
- recipient_name?: string | null;
15346
- rejected_at?: string | null;
15347
- sent_at?: string | null;
15348
- status?: string;
15349
- subtotal?: number;
15350
- template_id?: string | null;
15351
- terms_id?: string | null;
15352
- title?: string;
15353
- total?: number;
15354
- updated_at?: string;
15355
- valid_until?: string | null;
15356
- vat_amount?: number;
15357
- vat_rate?: number;
15358
- viewed_at?: string | null;
15359
- };
15360
- Update: {
15361
- accepted_at?: string | null;
15362
- archived_at?: string | null;
15363
- contact_id?: string | null;
15364
- created_at?: string;
15365
- customer_id?: string | null;
15366
- discount?: number;
15367
- expires_at?: string | null;
15368
- field_values?: import("../integrations/supabase/types").Json;
15369
- id?: string;
15370
- notes?: string | null;
15371
- owner_id?: string | null;
15372
- personal_message?: string | null;
15373
- project_id?: string | null;
15374
- prospect_id?: string | null;
15375
- public_token?: string;
15376
- quote_number?: string | null;
15377
- recipient_email?: string | null;
15378
- recipient_name?: string | null;
15379
- rejected_at?: string | null;
15380
- sent_at?: string | null;
15381
- status?: string;
15382
- subtotal?: number;
15383
- template_id?: string | null;
15384
- terms_id?: string | null;
15385
- title?: string;
15386
- total?: number;
15387
- updated_at?: string;
15388
- valid_until?: string | null;
15389
- vat_amount?: number;
15390
- vat_rate?: number;
15391
- viewed_at?: string | null;
15392
- };
15393
- Relationships: [{
15394
- foreignKeyName: "quotes_contact_id_fkey";
15395
- columns: ["contact_id"];
15396
- isOneToOne: false;
15397
- referencedRelation: "customer_contacts";
15398
- referencedColumns: ["id"];
15399
- }, {
15400
- foreignKeyName: "quotes_customer_id_fkey";
15401
- columns: ["customer_id"];
15402
- isOneToOne: false;
15403
- referencedRelation: "customers";
15404
- referencedColumns: ["id"];
15405
- }, {
15406
- foreignKeyName: "quotes_project_id_fkey";
15407
- columns: ["project_id"];
15408
- isOneToOne: false;
15409
- referencedRelation: "projects";
15410
- referencedColumns: ["id"];
15411
- }, {
15412
- foreignKeyName: "quotes_prospect_id_fkey";
15413
- columns: ["prospect_id"];
15414
- isOneToOne: false;
15415
- referencedRelation: "prospects";
15416
- referencedColumns: ["id"];
15417
- }, {
15418
- foreignKeyName: "quotes_template_id_fkey";
15419
- columns: ["template_id"];
15420
- isOneToOne: false;
15421
- referencedRelation: "quote_templates";
15422
- referencedColumns: ["id"];
15423
- }, {
15424
- foreignKeyName: "quotes_terms_id_fkey";
15425
- columns: ["terms_id"];
15426
- isOneToOne: false;
15427
- referencedRelation: "quote_terms";
15428
- referencedColumns: ["id"];
15429
- }];
15430
- };
15431
- reception_notifications: {
15432
- Row: {
15433
- booking_id: string | null;
15434
- created_at: string;
15435
- id: string;
15436
- is_read: boolean;
15437
- message: string;
15438
- recipient_email: string | null;
15439
- title: string;
15440
- type: string;
15441
- };
15442
- Insert: {
15443
- booking_id?: string | null;
15444
- created_at?: string;
15445
- id?: string;
15446
- is_read?: boolean;
15447
- message: string;
15448
- recipient_email?: string | null;
15449
- title: string;
15450
- type: string;
15451
- };
15452
- Update: {
15453
- booking_id?: string | null;
15454
- created_at?: string;
15455
- id?: string;
15456
- is_read?: boolean;
15457
- message?: string;
15458
- recipient_email?: string | null;
15459
- title?: string;
15460
- type?: string;
15461
- };
15462
- Relationships: [{
15463
- foreignKeyName: "reception_notifications_booking_id_fkey";
15464
- columns: ["booking_id"];
15465
- isOneToOne: false;
15466
- referencedRelation: "bookings";
15467
- referencedColumns: ["id"];
15468
- }];
15469
- };
15470
- role_assignments: {
15471
- Row: {
15472
- created_at: string;
15473
- id: string;
15474
- role_id: string;
15475
- user_id: string;
15476
- };
15477
- Insert: {
15478
- created_at?: string;
15479
- id?: string;
15480
- role_id: string;
15481
- user_id: string;
15482
- };
15483
- Update: {
15484
- created_at?: string;
15485
- id?: string;
15486
- role_id?: string;
15487
- user_id?: string;
15488
- };
15489
- Relationships: [{
15490
- foreignKeyName: "role_assignments_role_id_fkey";
15491
- columns: ["role_id"];
15492
- isOneToOne: false;
15493
- referencedRelation: "roles";
15494
- referencedColumns: ["id"];
15495
- }];
15496
- };
15497
- role_permissions: {
15498
- Row: {
15499
- can_edit: boolean;
15500
- can_view: boolean;
15501
- feature_id: string;
15502
- id: string;
15503
- module_id: string;
15504
- role_id: string;
15505
- updated_at: string;
15506
- };
15507
- Insert: {
15508
- can_edit?: boolean;
15509
- can_view?: boolean;
15510
- feature_id?: string;
15607
+ can_edit?: boolean;
15608
+ can_view?: boolean;
15609
+ feature_id?: string;
15511
15610
  id?: string;
15512
15611
  module_id: string;
15513
15612
  role_id: string;
@@ -16549,7 +16648,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
16549
16648
  foreignKeyName: "time_logs_work_order_id_fkey";
16550
16649
  columns: ["work_order_id"];
16551
16650
  isOneToOne: false;
16552
- referencedRelation: "work_orders";
16651
+ referencedRelation: "werkbonnen";
16553
16652
  referencedColumns: ["id"];
16554
16653
  }];
16555
16654
  };
@@ -16681,6 +16780,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
16681
16780
  };
16682
16781
  trade_item_stock: {
16683
16782
  Row: {
16783
+ change_source: string;
16684
16784
  connection_id: string;
16685
16785
  created_at: string;
16686
16786
  id: string;
@@ -16694,6 +16794,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
16694
16794
  user_id: string;
16695
16795
  };
16696
16796
  Insert: {
16797
+ change_source?: string;
16697
16798
  connection_id: string;
16698
16799
  created_at?: string;
16699
16800
  id?: string;
@@ -16707,6 +16808,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
16707
16808
  user_id: string;
16708
16809
  };
16709
16810
  Update: {
16811
+ change_source?: string;
16710
16812
  connection_id?: string;
16711
16813
  created_at?: string;
16712
16814
  id?: string;
@@ -17876,156 +17978,6 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
17876
17978
  };
17877
17979
  Relationships: [];
17878
17980
  };
17879
- uren_offerte_regels: {
17880
- Row: {
17881
- created_at: string;
17882
- description: string;
17883
- duration_minutes: number;
17884
- id: string;
17885
- offerte_id: string;
17886
- package_id: string | null;
17887
- quantity: number;
17888
- sort_order: number;
17889
- total_cents: number;
17890
- unit_price_cents: number;
17891
- };
17892
- Insert: {
17893
- created_at?: string;
17894
- description: string;
17895
- duration_minutes?: number;
17896
- id?: string;
17897
- offerte_id: string;
17898
- package_id?: string | null;
17899
- quantity?: number;
17900
- sort_order?: number;
17901
- total_cents?: number;
17902
- unit_price_cents?: number;
17903
- };
17904
- Update: {
17905
- created_at?: string;
17906
- description?: string;
17907
- duration_minutes?: number;
17908
- id?: string;
17909
- offerte_id?: string;
17910
- package_id?: string | null;
17911
- quantity?: number;
17912
- sort_order?: number;
17913
- total_cents?: number;
17914
- unit_price_cents?: number;
17915
- };
17916
- Relationships: [{
17917
- foreignKeyName: "uren_offerte_regels_offerte_id_fkey";
17918
- columns: ["offerte_id"];
17919
- isOneToOne: false;
17920
- referencedRelation: "uren_offertes";
17921
- referencedColumns: ["id"];
17922
- }, {
17923
- foreignKeyName: "uren_offerte_regels_package_id_fkey";
17924
- columns: ["package_id"];
17925
- isOneToOne: false;
17926
- referencedRelation: "werkbon_packages";
17927
- referencedColumns: ["id"];
17928
- }];
17929
- };
17930
- uren_offerte_velden: {
17931
- Row: {
17932
- created_at: string;
17933
- field_type: string;
17934
- id: string;
17935
- key: string;
17936
- label: string;
17937
- options: string[];
17938
- required: boolean;
17939
- sort_order: number;
17940
- updated_at: string;
17941
- };
17942
- Insert: {
17943
- created_at?: string;
17944
- field_type?: string;
17945
- id?: string;
17946
- key: string;
17947
- label: string;
17948
- options?: string[];
17949
- required?: boolean;
17950
- sort_order?: number;
17951
- updated_at?: string;
17952
- };
17953
- Update: {
17954
- created_at?: string;
17955
- field_type?: string;
17956
- id?: string;
17957
- key?: string;
17958
- label?: string;
17959
- options?: string[];
17960
- required?: boolean;
17961
- sort_order?: number;
17962
- updated_at?: string;
17963
- };
17964
- Relationships: [];
17965
- };
17966
- uren_offertes: {
17967
- Row: {
17968
- created_at: string;
17969
- created_by: string | null;
17970
- customer_id: string | null;
17971
- customer_name: string | null;
17972
- dynamic_fields: import("../integrations/supabase/types").Json;
17973
- estimated_minutes: number;
17974
- id: string;
17975
- note: string | null;
17976
- quote_number: string | null;
17977
- status: string;
17978
- title: string;
17979
- total_excl_cents: number;
17980
- total_incl_cents: number;
17981
- updated_at: string;
17982
- valid_until: string | null;
17983
- vat_percentage: number;
17984
- };
17985
- Insert: {
17986
- created_at?: string;
17987
- created_by?: string | null;
17988
- customer_id?: string | null;
17989
- customer_name?: string | null;
17990
- dynamic_fields?: import("../integrations/supabase/types").Json;
17991
- estimated_minutes?: number;
17992
- id?: string;
17993
- note?: string | null;
17994
- quote_number?: string | null;
17995
- status?: string;
17996
- title?: string;
17997
- total_excl_cents?: number;
17998
- total_incl_cents?: number;
17999
- updated_at?: string;
18000
- valid_until?: string | null;
18001
- vat_percentage?: number;
18002
- };
18003
- Update: {
18004
- created_at?: string;
18005
- created_by?: string | null;
18006
- customer_id?: string | null;
18007
- customer_name?: string | null;
18008
- dynamic_fields?: import("../integrations/supabase/types").Json;
18009
- estimated_minutes?: number;
18010
- id?: string;
18011
- note?: string | null;
18012
- quote_number?: string | null;
18013
- status?: string;
18014
- title?: string;
18015
- total_excl_cents?: number;
18016
- total_incl_cents?: number;
18017
- updated_at?: string;
18018
- valid_until?: string | null;
18019
- vat_percentage?: number;
18020
- };
18021
- Relationships: [{
18022
- foreignKeyName: "uren_offertes_customer_id_fkey";
18023
- columns: ["customer_id"];
18024
- isOneToOne: false;
18025
- referencedRelation: "itk_customers";
18026
- referencedColumns: ["id"];
18027
- }];
18028
- };
18029
17981
  uren_settings: {
18030
17982
  Row: {
18031
17983
  break_minutes: number;
@@ -19712,6 +19664,37 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
19712
19664
  };
19713
19665
  Relationships: [];
19714
19666
  };
19667
+ planning_overview: {
19668
+ Row: {
19669
+ assigned_monteur_id: string | null;
19670
+ assistants: import("../integrations/supabase/types").Json | null;
19671
+ budget_mandate_cents: number | null;
19672
+ created_at: string | null;
19673
+ created_by: string | null;
19674
+ customer_id: string | null;
19675
+ customer_name: string | null;
19676
+ duration_minutes: number | null;
19677
+ end_at: string | null;
19678
+ id: string | null;
19679
+ needs_detail_review: boolean | null;
19680
+ notes: string | null;
19681
+ project_number: string | null;
19682
+ review_reasons: string[] | null;
19683
+ start_at: string | null;
19684
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"] | null;
19685
+ updated_at: string | null;
19686
+ viewer_role: string | null;
19687
+ werkbon_id: string | null;
19688
+ work_address: string | null;
19689
+ };
19690
+ Relationships: [{
19691
+ foreignKeyName: "planning_items_werkbon_id_fkey";
19692
+ columns: ["werkbon_id"];
19693
+ isOneToOne: false;
19694
+ referencedRelation: "werkbonnen";
19695
+ referencedColumns: ["id"];
19696
+ }];
19697
+ };
19715
19698
  product_group_stock_view: {
19716
19699
  Row: {
19717
19700
  item_count: number | null;
@@ -20307,6 +20290,18 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20307
20290
  Args: never;
20308
20291
  Returns: number;
20309
20292
  };
20293
+ calculate_floriday_desired_stock: {
20294
+ Args: {
20295
+ p_connection_id: string;
20296
+ p_product_id: string;
20297
+ };
20298
+ Returns: {
20299
+ desired_availability: boolean;
20300
+ desired_quantity: number;
20301
+ erp_available: number;
20302
+ stock_mode: string;
20303
+ }[];
20304
+ };
20310
20305
  calculate_layer_stock: {
20311
20306
  Args: {
20312
20307
  p_product_id: string;
@@ -20359,6 +20354,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20359
20354
  foutmelding: string | null;
20360
20355
  gebruiker_id: string | null;
20361
20356
  gebruiker_naam: string;
20357
+ gebruikte_bron: string | null;
20358
+ gebruikte_layout_id: string | null;
20362
20359
  gestart_op: string | null;
20363
20360
  herkomst: string | null;
20364
20361
  id: string;
@@ -20366,6 +20363,9 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20366
20363
  is_herprint: boolean;
20367
20364
  kopieen: number;
20368
20365
  layout_id: string | null;
20366
+ lokaal_opgeslagen_op: string | null;
20367
+ lokale_pdf_fout: string | null;
20368
+ lokale_pdf_status: string | null;
20369
20369
  opgepakt_op: string | null;
20370
20370
  paginas: number;
20371
20371
  payload: import("../integrations/supabase/types").Json;
@@ -20374,6 +20374,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20374
20374
  pogingen: number;
20375
20375
  printer_id: string | null;
20376
20376
  render_html: string | null;
20377
+ resultaat_pdf_base64: string | null;
20377
20378
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20378
20379
  updated_at: string;
20379
20380
  volgende_poging: string | null;
@@ -20395,6 +20396,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20395
20396
  attempts: number;
20396
20397
  connection_id: string;
20397
20398
  created_at: string;
20399
+ dead_lettered_at: string | null;
20398
20400
  desired_available: boolean | null;
20399
20401
  gateway_attempt_id: string | null;
20400
20402
  id: string;
@@ -20403,9 +20405,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20403
20405
  locked_by: string | null;
20404
20406
  next_attempt_at: string;
20405
20407
  number_of_pieces: number;
20408
+ product_id: string | null;
20406
20409
  sent_at: string | null;
20407
20410
  status: string;
20411
+ stock_mode: string | null;
20408
20412
  superseded_by: string | null;
20413
+ target_week: number | null;
20414
+ target_year: number | null;
20409
20415
  trade_item_id: string;
20410
20416
  updated_at: string;
20411
20417
  user_id: string;
@@ -20465,6 +20471,53 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20465
20471
  isSetofReturn: true;
20466
20472
  };
20467
20473
  };
20474
+ claim_pdf_print_jobs: {
20475
+ Args: {
20476
+ _max?: number;
20477
+ };
20478
+ Returns: {
20479
+ agent_id: string | null;
20480
+ bron_job_id: string | null;
20481
+ created_at: string;
20482
+ documentnaam: string;
20483
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20484
+ extern_job_id: string | null;
20485
+ foutmelding: string | null;
20486
+ gebruiker_id: string | null;
20487
+ gebruiker_naam: string;
20488
+ gebruikte_bron: string | null;
20489
+ gebruikte_layout_id: string | null;
20490
+ gestart_op: string | null;
20491
+ herkomst: string | null;
20492
+ id: string;
20493
+ idempotentie_sleutel: string | null;
20494
+ is_herprint: boolean;
20495
+ kopieen: number;
20496
+ layout_id: string | null;
20497
+ lokaal_opgeslagen_op: string | null;
20498
+ lokale_pdf_fout: string | null;
20499
+ lokale_pdf_status: string | null;
20500
+ opgepakt_op: string | null;
20501
+ paginas: number;
20502
+ payload: import("../integrations/supabase/types").Json;
20503
+ pdf_base64: string | null;
20504
+ pdf_url: string | null;
20505
+ pogingen: number;
20506
+ printer_id: string | null;
20507
+ render_html: string | null;
20508
+ resultaat_pdf_base64: string | null;
20509
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20510
+ updated_at: string;
20511
+ volgende_poging: string | null;
20512
+ voltooid_op: string | null;
20513
+ }[];
20514
+ SetofOptions: {
20515
+ from: "*";
20516
+ to: "print_jobs";
20517
+ isOneToOne: false;
20518
+ isSetofReturn: true;
20519
+ };
20520
+ };
20468
20521
  claim_print_jobs: {
20469
20522
  Args: {
20470
20523
  _agent_id: string;
@@ -20480,6 +20533,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20480
20533
  foutmelding: string | null;
20481
20534
  gebruiker_id: string | null;
20482
20535
  gebruiker_naam: string;
20536
+ gebruikte_bron: string | null;
20537
+ gebruikte_layout_id: string | null;
20483
20538
  gestart_op: string | null;
20484
20539
  herkomst: string | null;
20485
20540
  id: string;
@@ -20487,6 +20542,9 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20487
20542
  is_herprint: boolean;
20488
20543
  kopieen: number;
20489
20544
  layout_id: string | null;
20545
+ lokaal_opgeslagen_op: string | null;
20546
+ lokale_pdf_fout: string | null;
20547
+ lokale_pdf_status: string | null;
20490
20548
  opgepakt_op: string | null;
20491
20549
  paginas: number;
20492
20550
  payload: import("../integrations/supabase/types").Json;
@@ -20495,6 +20553,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20495
20553
  pogingen: number;
20496
20554
  printer_id: string | null;
20497
20555
  render_html: string | null;
20556
+ resultaat_pdf_base64: string | null;
20498
20557
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20499
20558
  updated_at: string;
20500
20559
  volgende_poging: string | null;
@@ -20635,6 +20694,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20635
20694
  order_id: string;
20636
20695
  order_source: string;
20637
20696
  pick_date: string;
20697
+ printed_at: string;
20698
+ printed_today: boolean;
20638
20699
  status: string;
20639
20700
  }[];
20640
20701
  };
@@ -20831,6 +20892,24 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20831
20892
  };
20832
20893
  Returns: string;
20833
20894
  };
20895
+ floriday_capture_stock_snapshot: {
20896
+ Args: never;
20897
+ Returns: number;
20898
+ };
20899
+ floriday_cleanup_stock_queue_v2: {
20900
+ Args: never;
20901
+ Returns: undefined;
20902
+ };
20903
+ floriday_compact_stock_snapshots: {
20904
+ Args: never;
20905
+ Returns: undefined;
20906
+ };
20907
+ floriday_default_owner: {
20908
+ Args: {
20909
+ p_connection_id: string;
20910
+ };
20911
+ Returns: string;
20912
+ };
20834
20913
  floriday_effective_price: {
20835
20914
  Args: {
20836
20915
  _buyer_id: string;
@@ -20848,6 +20927,34 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20848
20927
  source_id: string;
20849
20928
  }[];
20850
20929
  };
20930
+ floriday_fill_publish_horizon: {
20931
+ Args: never;
20932
+ Returns: number;
20933
+ };
20934
+ floriday_ingest_sales_orders: {
20935
+ Args: {
20936
+ p_limit?: number;
20937
+ };
20938
+ Returns: number;
20939
+ };
20940
+ floriday_publish_horizon_weeks: {
20941
+ Args: never;
20942
+ Returns: number;
20943
+ };
20944
+ floriday_recompute_inventory: {
20945
+ Args: {
20946
+ p_connection_id: string;
20947
+ p_force?: boolean;
20948
+ p_product_id: string;
20949
+ };
20950
+ Returns: undefined;
20951
+ };
20952
+ floriday_requeue_dead_letters: {
20953
+ Args: {
20954
+ p_connection_id?: string;
20955
+ };
20956
+ Returns: number;
20957
+ };
20851
20958
  format_cart_number: {
20852
20959
  Args: {
20853
20960
  p_pick_date: string;
@@ -21064,6 +21171,131 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21064
21171
  Args: never;
21065
21172
  Returns: string;
21066
21173
  };
21174
+ handover_get: {
21175
+ Args: {
21176
+ _module_id: string;
21177
+ };
21178
+ Returns: import("../integrations/supabase/types").Json;
21179
+ };
21180
+ handover_kern_naam: {
21181
+ Args: {
21182
+ _naam: string;
21183
+ };
21184
+ Returns: string;
21185
+ };
21186
+ handover_ketenmodel: {
21187
+ Args: never;
21188
+ Returns: import("../integrations/supabase/types").Json;
21189
+ };
21190
+ handover_kruisconflicten: {
21191
+ Args: never;
21192
+ Returns: import("../integrations/supabase/types").Json;
21193
+ };
21194
+ handover_list: {
21195
+ Args: never;
21196
+ Returns: import("../integrations/supabase/types").Json;
21197
+ };
21198
+ handover_mag_schrijven: {
21199
+ Args: {
21200
+ _module_id: string;
21201
+ };
21202
+ Returns: boolean;
21203
+ };
21204
+ handover_norm_naam: {
21205
+ Args: {
21206
+ _naam: string;
21207
+ };
21208
+ Returns: string;
21209
+ };
21210
+ handover_publish: {
21211
+ Args: {
21212
+ _bevindingen?: string;
21213
+ _bezit_tabellen?: string[];
21214
+ _conflicten_snapshot?: import("../integrations/supabase/types").Json;
21215
+ _contractfuncties?: string[];
21216
+ _inhoud_md: string;
21217
+ _module_id: string;
21218
+ _module_titel: string;
21219
+ _ontbrekende_contracten?: string[];
21220
+ _samenvatting?: string;
21221
+ };
21222
+ Returns: number;
21223
+ };
21224
+ handover_publish_via_token: {
21225
+ Args: {
21226
+ _bevindingen?: string;
21227
+ _bezit_tabellen?: string[];
21228
+ _conflicten_snapshot?: import("../integrations/supabase/types").Json;
21229
+ _contractfuncties?: string[];
21230
+ _inhoud_md: string;
21231
+ _module_id: string;
21232
+ _module_titel: string;
21233
+ _ontbrekende_contracten?: string[];
21234
+ _samenvatting?: string;
21235
+ _token_hash: string;
21236
+ };
21237
+ Returns: number;
21238
+ };
21239
+ handover_status: {
21240
+ Args: never;
21241
+ Returns: import("../integrations/supabase/types").Json;
21242
+ };
21243
+ handover_synonym_kern: {
21244
+ Args: {
21245
+ _naam: string;
21246
+ };
21247
+ Returns: string;
21248
+ };
21249
+ handover_token_intrekken: {
21250
+ Args: {
21251
+ _id: string;
21252
+ };
21253
+ Returns: boolean;
21254
+ };
21255
+ handover_token_lijst: {
21256
+ Args: never;
21257
+ Returns: import("../integrations/supabase/types").Json;
21258
+ };
21259
+ handover_token_maken: {
21260
+ Args: {
21261
+ _label?: string;
21262
+ _module_id: string;
21263
+ };
21264
+ Returns: string;
21265
+ };
21266
+ handover_update: {
21267
+ Args: {
21268
+ _bezit_tabellen?: string[];
21269
+ _contractfuncties?: string[];
21270
+ _herzieningstermijn_dagen?: number;
21271
+ _inhoud_md?: string;
21272
+ _module_id: string;
21273
+ _module_titel?: string;
21274
+ _samenvatting?: string;
21275
+ _versie: number;
21276
+ };
21277
+ Returns: boolean;
21278
+ } | {
21279
+ Args: {
21280
+ _bevindingen?: string;
21281
+ _bezit_tabellen?: string[];
21282
+ _contractfuncties?: string[];
21283
+ _herzieningstermijn_dagen?: number;
21284
+ _inhoud_md?: string;
21285
+ _module_id: string;
21286
+ _module_titel?: string;
21287
+ _ontbrekende_contracten?: string[];
21288
+ _samenvatting?: string;
21289
+ _versie: number;
21290
+ };
21291
+ Returns: boolean;
21292
+ };
21293
+ handover_versies: {
21294
+ Args: {
21295
+ _module_id: string;
21296
+ };
21297
+ Returns: import("../integrations/supabase/types").Json;
21298
+ };
21067
21299
  has_module_permission: {
21068
21300
  Args: {
21069
21301
  _min: string;
@@ -21083,6 +21315,25 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21083
21315
  Args: never;
21084
21316
  Returns: boolean;
21085
21317
  };
21318
+ instructie_get: {
21319
+ Args: {
21320
+ _sleutel: string;
21321
+ };
21322
+ Returns: import("../integrations/supabase/types").Json;
21323
+ };
21324
+ instructie_list: {
21325
+ Args: never;
21326
+ Returns: import("../integrations/supabase/types").Json;
21327
+ };
21328
+ instructie_publish: {
21329
+ Args: {
21330
+ _inhoud_md: string;
21331
+ _sleutel: string;
21332
+ _titel: string;
21333
+ _toelichting?: string;
21334
+ };
21335
+ Returns: number;
21336
+ };
21086
21337
  invoice_create_from_source: {
21087
21338
  Args: {
21088
21339
  _payload?: import("../integrations/supabase/types").Json;
@@ -21343,6 +21594,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21343
21594
  };
21344
21595
  Returns: number;
21345
21596
  };
21597
+ logistics_cancel_orphan_tasks: {
21598
+ Args: never;
21599
+ Returns: number;
21600
+ };
21346
21601
  logistics_capacity_day_check: {
21347
21602
  Args: {
21348
21603
  p_from?: string;
@@ -21363,6 +21618,25 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21363
21618
  };
21364
21619
  Returns: number;
21365
21620
  };
21621
+ logistics_cart_index: {
21622
+ Args: {
21623
+ p_from?: string;
21624
+ p_to?: string;
21625
+ };
21626
+ Returns: {
21627
+ cart_id: string;
21628
+ cart_index: number;
21629
+ cart_label: string;
21630
+ is_shared: boolean;
21631
+ order_number: string;
21632
+ order_source: string;
21633
+ order_uuid: string;
21634
+ pick_date: string;
21635
+ printed_at: string;
21636
+ shifted: boolean;
21637
+ task_status: string;
21638
+ }[];
21639
+ };
21366
21640
  logistics_check_order_allowed: {
21367
21641
  Args: {
21368
21642
  p_lines: import("../integrations/supabase/types").Json;
@@ -21511,6 +21785,17 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21511
21785
  isSetofReturn: false;
21512
21786
  };
21513
21787
  };
21788
+ logistics_consistency_check: {
21789
+ Args: never;
21790
+ Returns: {
21791
+ agenda_carts: number;
21792
+ control_carts: number;
21793
+ ok: boolean;
21794
+ orphan_tasks: number;
21795
+ pick_date: string;
21796
+ raw_carts: number;
21797
+ }[];
21798
+ };
21514
21799
  logistics_delay_customer_email: {
21515
21800
  Args: {
21516
21801
  p_customer: string;
@@ -21536,6 +21821,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21536
21821
  };
21537
21822
  Returns: string;
21538
21823
  };
21824
+ logistics_document_type_map: {
21825
+ Args: {
21826
+ _document_code: string;
21827
+ };
21828
+ Returns: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"][];
21829
+ };
21539
21830
  logistics_emit_event: {
21540
21831
  Args: {
21541
21832
  p_event_type: string;
@@ -21594,6 +21885,16 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21594
21885
  isSetofReturn: false;
21595
21886
  };
21596
21887
  };
21888
+ logistics_floriday_cart_plan: {
21889
+ Args: {
21890
+ p_order_id: string;
21891
+ };
21892
+ Returns: {
21893
+ carrier_type: string;
21894
+ idx: number;
21895
+ packages: number;
21896
+ }[];
21897
+ };
21597
21898
  logistics_floriday_claim_pushes: {
21598
21899
  Args: {
21599
21900
  _lease_seconds?: number;
@@ -21698,6 +21999,25 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21698
21999
  };
21699
22000
  Returns: number;
21700
22001
  };
22002
+ logistics_order_overview: {
22003
+ Args: {
22004
+ p_from?: string;
22005
+ p_to?: string;
22006
+ };
22007
+ Returns: {
22008
+ cart_count: number;
22009
+ customer_name: string;
22010
+ delivery_date: string;
22011
+ order_number: string;
22012
+ order_source: string;
22013
+ order_uuid: string;
22014
+ pick_date: string;
22015
+ plant_count: number;
22016
+ printed_at: string;
22017
+ shifted: boolean;
22018
+ status: string;
22019
+ }[];
22020
+ };
21701
22021
  logistics_order_pick_day: {
21702
22022
  Args: {
21703
22023
  p_order_ref: string;
@@ -21710,6 +22030,22 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21710
22030
  };
21711
22031
  Returns: string;
21712
22032
  };
22033
+ logistics_pick_agenda: {
22034
+ Args: {
22035
+ p_from?: string;
22036
+ p_to?: string;
22037
+ };
22038
+ Returns: {
22039
+ cart_count: number;
22040
+ in_preparation: number;
22041
+ order_count: number;
22042
+ orders: import("../integrations/supabase/types").Json;
22043
+ pick_date: string;
22044
+ plant_count: number;
22045
+ ready: number;
22046
+ shifted_count: number;
22047
+ }[];
22048
+ };
21713
22049
  logistics_pick_email_purpose: {
21714
22050
  Args: never;
21715
22051
  Returns: string;
@@ -21764,6 +22100,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21764
22100
  };
21765
22101
  Returns: undefined;
21766
22102
  };
22103
+ logistics_plan_floriday_order: {
22104
+ Args: {
22105
+ p_buffer_id?: string;
22106
+ p_order_id: string;
22107
+ };
22108
+ Returns: number;
22109
+ };
21767
22110
  logistics_plan_impact_orders: {
21768
22111
  Args: {
21769
22112
  p_order_id: string;
@@ -21869,6 +22212,15 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21869
22212
  };
21870
22213
  Returns: import("../integrations/supabase/types").Json;
21871
22214
  };
22215
+ logistics_resolve_pick_document: {
22216
+ Args: {
22217
+ _is_herprint: boolean;
22218
+ _queue_item_id: string;
22219
+ _session_id: string;
22220
+ _voorbeeld: boolean;
22221
+ };
22222
+ Returns: import("../integrations/supabase/types").Json;
22223
+ };
21872
22224
  logistics_resolve_settings: {
21873
22225
  Args: {
21874
22226
  p_config_id: string;
@@ -22309,6 +22661,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
22309
22661
  };
22310
22662
  pick_enqueue_print_job: {
22311
22663
  Args: {
22664
+ _is_herprint?: boolean;
22312
22665
  _printer_id?: string;
22313
22666
  _queue_item_id: string;
22314
22667
  _session_id?: string;
@@ -22322,6 +22675,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
22322
22675
  };
22323
22676
  Returns: import("../integrations/supabase/types").Json;
22324
22677
  };
22678
+ pick_preview_job: {
22679
+ Args: {
22680
+ _queue_item_id: string;
22681
+ _station_slug: string;
22682
+ };
22683
+ Returns: import("../integrations/supabase/types").Json;
22684
+ };
22325
22685
  pick_print_job_status: {
22326
22686
  Args: {
22327
22687
  _job_id: string;
@@ -22499,6 +22859,84 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
22499
22859
  };
22500
22860
  Returns: undefined;
22501
22861
  };
22862
+ planning_cancel_item: {
22863
+ Args: {
22864
+ _id: string;
22865
+ };
22866
+ Returns: undefined;
22867
+ };
22868
+ planning_list: {
22869
+ Args: {
22870
+ _from: string;
22871
+ _to: string;
22872
+ };
22873
+ Returns: {
22874
+ assigned_monteur_id: string | null;
22875
+ assistants: import("../integrations/supabase/types").Json | null;
22876
+ budget_mandate_cents: number | null;
22877
+ created_at: string | null;
22878
+ created_by: string | null;
22879
+ customer_id: string | null;
22880
+ customer_name: string | null;
22881
+ duration_minutes: number | null;
22882
+ end_at: string | null;
22883
+ id: string | null;
22884
+ needs_detail_review: boolean | null;
22885
+ notes: string | null;
22886
+ project_number: string | null;
22887
+ review_reasons: string[] | null;
22888
+ start_at: string | null;
22889
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"] | null;
22890
+ updated_at: string | null;
22891
+ viewer_role: string | null;
22892
+ werkbon_id: string | null;
22893
+ work_address: string | null;
22894
+ }[];
22895
+ SetofOptions: {
22896
+ from: "*";
22897
+ to: "planning_overview";
22898
+ isOneToOne: false;
22899
+ isSetofReturn: true;
22900
+ };
22901
+ };
22902
+ planning_set_assistants: {
22903
+ Args: {
22904
+ _monteur_ids: string[];
22905
+ _planning_item_id: string;
22906
+ };
22907
+ Returns: undefined;
22908
+ };
22909
+ planning_upsert_item: {
22910
+ Args: {
22911
+ _assigned_monteur_id: string;
22912
+ _end_at: string;
22913
+ _notes?: string;
22914
+ _start_at: string;
22915
+ _werkbon_id: string;
22916
+ };
22917
+ Returns: {
22918
+ action: string;
22919
+ id: string;
22920
+ }[];
22921
+ };
22922
+ print_preview_toestaan: {
22923
+ Args: {
22924
+ _max?: number;
22925
+ _queue_item_id: string;
22926
+ _station_slug: string;
22927
+ _venster_sec?: number;
22928
+ };
22929
+ Returns: import("../integrations/supabase/types").Json;
22930
+ };
22931
+ print_preview_weiger: {
22932
+ Args: {
22933
+ _code: string;
22934
+ _queue_item_id: string;
22935
+ _reden: string;
22936
+ _station_slug: string;
22937
+ };
22938
+ Returns: undefined;
22939
+ };
22502
22940
  process_logistics_event: {
22503
22941
  Args: {
22504
22942
  p_event_id: string;
@@ -22616,6 +23054,14 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
22616
23054
  };
22617
23055
  Returns: undefined;
22618
23056
  };
23057
+ replace_order_carts: {
23058
+ Args: {
23059
+ p_buffer_id: string;
23060
+ p_carts: import("../integrations/supabase/types").Json;
23061
+ p_order_id: string;
23062
+ };
23063
+ Returns: import("../integrations/supabase/types").Json;
23064
+ };
22619
23065
  reset_floriday_sync_cursor: {
22620
23066
  Args: {
22621
23067
  p_connection_id: string;
@@ -22645,6 +23091,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
22645
23091
  };
22646
23092
  Returns: string;
22647
23093
  };
23094
+ resolve_print_job_printer_id: {
23095
+ Args: {
23096
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
23097
+ };
23098
+ Returns: string;
23099
+ };
22648
23100
  resolve_product_id_for_item: {
22649
23101
  Args: {
22650
23102
  p_product_name: string;
@@ -23048,6 +23500,26 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
23048
23500
  };
23049
23501
  Returns: string[];
23050
23502
  };
23503
+ start_time_log_at: {
23504
+ Args: {
23505
+ p_clicked_at?: string;
23506
+ p_employee_id: string;
23507
+ p_start_lat?: number;
23508
+ p_start_lng?: number;
23509
+ p_type: string;
23510
+ p_work_order_id?: string;
23511
+ };
23512
+ Returns: import("../integrations/supabase/types").Json;
23513
+ };
23514
+ stop_time_log: {
23515
+ Args: {
23516
+ p_employee_id: string;
23517
+ p_end_lat?: number;
23518
+ p_end_lng?: number;
23519
+ p_end_time: string;
23520
+ };
23521
+ Returns: import("../integrations/supabase/types").Json;
23522
+ };
23051
23523
  switch_time_log: {
23052
23524
  Args: {
23053
23525
  p_employee_id: string;
@@ -23236,7 +23708,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
23236
23708
  };
23237
23709
  CompositeTypes: { [_ in never]: never; };
23238
23710
  }, {
23239
- PostgrestVersion: "14.17";
23711
+ PostgrestVersion: "14.5";
23240
23712
  }>;
23241
23713
  userId: string;
23242
23714
  claims: import("@supabase/auth-js").JwtPayload;