@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
@@ -2851,6 +2851,84 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
2851
2851
  };
2852
2852
  Relationships: [];
2853
2853
  };
2854
+ delivery_notes: {
2855
+ Row: {
2856
+ byte_size: number | null;
2857
+ connection_id: string | null;
2858
+ content_type: string;
2859
+ created_at: string;
2860
+ error_message: string | null;
2861
+ fetched_at: string | null;
2862
+ fulfillment_order_id: string | null;
2863
+ http_status: number | null;
2864
+ id: string;
2865
+ label_code: string | null;
2866
+ letter: string | null;
2867
+ load_carrier_index: number | null;
2868
+ load_carrier_type: string | null;
2869
+ order_id: string | null;
2870
+ order_number: string | null;
2871
+ packages: number | null;
2872
+ source: string;
2873
+ status: string;
2874
+ storage_bucket: string;
2875
+ storage_path: string | null;
2876
+ updated_at: string;
2877
+ };
2878
+ Insert: {
2879
+ byte_size?: number | null;
2880
+ connection_id?: string | null;
2881
+ content_type?: string;
2882
+ created_at?: string;
2883
+ error_message?: string | null;
2884
+ fetched_at?: string | null;
2885
+ fulfillment_order_id?: string | null;
2886
+ http_status?: number | null;
2887
+ id?: string;
2888
+ label_code?: string | null;
2889
+ letter?: string | null;
2890
+ load_carrier_index?: number | null;
2891
+ load_carrier_type?: string | null;
2892
+ order_id?: string | null;
2893
+ order_number?: string | null;
2894
+ packages?: number | null;
2895
+ source?: string;
2896
+ status?: string;
2897
+ storage_bucket?: string;
2898
+ storage_path?: string | null;
2899
+ updated_at?: string;
2900
+ };
2901
+ Update: {
2902
+ byte_size?: number | null;
2903
+ connection_id?: string | null;
2904
+ content_type?: string;
2905
+ created_at?: string;
2906
+ error_message?: string | null;
2907
+ fetched_at?: string | null;
2908
+ fulfillment_order_id?: string | null;
2909
+ http_status?: number | null;
2910
+ id?: string;
2911
+ label_code?: string | null;
2912
+ letter?: string | null;
2913
+ load_carrier_index?: number | null;
2914
+ load_carrier_type?: string | null;
2915
+ order_id?: string | null;
2916
+ order_number?: string | null;
2917
+ packages?: number | null;
2918
+ source?: string;
2919
+ status?: string;
2920
+ storage_bucket?: string;
2921
+ storage_path?: string | null;
2922
+ updated_at?: string;
2923
+ };
2924
+ Relationships: [{
2925
+ foreignKeyName: "delivery_notes_order_id_fkey";
2926
+ columns: ["order_id"];
2927
+ isOneToOne: false;
2928
+ referencedRelation: "orders";
2929
+ referencedColumns: ["id"];
2930
+ }];
2931
+ };
2854
2932
  document_bronregels: {
2855
2933
  Row: {
2856
2934
  bron: string;
@@ -5904,10 +5982,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
5904
5982
  };
5905
5983
  floriday_connections: {
5906
5984
  Row: {
5907
- access_token: string | null;
5908
5985
  api_key: string;
5909
- client_id: string;
5910
- client_secret: string;
5911
5986
  created_at: string;
5912
5987
  customers_endpoint: string | null;
5913
5988
  environment: string;
@@ -5922,10 +5997,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
5922
5997
  updated_at: string;
5923
5998
  };
5924
5999
  Insert: {
5925
- access_token?: string | null;
5926
6000
  api_key: string;
5927
- client_id: string;
5928
- client_secret: string;
5929
6001
  created_at?: string;
5930
6002
  customers_endpoint?: string | null;
5931
6003
  environment: string;
@@ -5940,10 +6012,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
5940
6012
  updated_at?: string;
5941
6013
  };
5942
6014
  Update: {
5943
- access_token?: string | null;
5944
6015
  api_key?: string;
5945
- client_id?: string;
5946
- client_secret?: string;
5947
6016
  created_at?: string;
5948
6017
  customers_endpoint?: string | null;
5949
6018
  environment?: string;
@@ -6027,6 +6096,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
6027
6096
  attempts: number;
6028
6097
  connection_id: string;
6029
6098
  created_at: string;
6099
+ dead_lettered_at: string | null;
6030
6100
  desired_available: boolean | null;
6031
6101
  gateway_attempt_id: string | null;
6032
6102
  id: string;
@@ -6035,9 +6105,13 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
6035
6105
  locked_by: string | null;
6036
6106
  next_attempt_at: string;
6037
6107
  number_of_pieces: number;
6108
+ product_id: string | null;
6038
6109
  sent_at: string | null;
6039
6110
  status: string;
6111
+ stock_mode: string | null;
6040
6112
  superseded_by: string | null;
6113
+ target_week: number | null;
6114
+ target_year: number | null;
6041
6115
  trade_item_id: string;
6042
6116
  updated_at: string;
6043
6117
  user_id: string;
@@ -6046,6 +6120,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
6046
6120
  attempts?: number;
6047
6121
  connection_id: string;
6048
6122
  created_at?: string;
6123
+ dead_lettered_at?: string | null;
6049
6124
  desired_available?: boolean | null;
6050
6125
  gateway_attempt_id?: string | null;
6051
6126
  id?: string;
@@ -6054,9 +6129,13 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
6054
6129
  locked_by?: string | null;
6055
6130
  next_attempt_at?: string;
6056
6131
  number_of_pieces?: number;
6132
+ product_id?: string | null;
6057
6133
  sent_at?: string | null;
6058
6134
  status?: string;
6135
+ stock_mode?: string | null;
6059
6136
  superseded_by?: string | null;
6137
+ target_week?: number | null;
6138
+ target_year?: number | null;
6060
6139
  trade_item_id: string;
6061
6140
  updated_at?: string;
6062
6141
  user_id: string;
@@ -6065,6 +6144,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
6065
6144
  attempts?: number;
6066
6145
  connection_id?: string;
6067
6146
  created_at?: string;
6147
+ dead_lettered_at?: string | null;
6068
6148
  desired_available?: boolean | null;
6069
6149
  gateway_attempt_id?: string | null;
6070
6150
  id?: string;
@@ -6073,9 +6153,13 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
6073
6153
  locked_by?: string | null;
6074
6154
  next_attempt_at?: string;
6075
6155
  number_of_pieces?: number;
6156
+ product_id?: string | null;
6076
6157
  sent_at?: string | null;
6077
6158
  status?: string;
6159
+ stock_mode?: string | null;
6078
6160
  superseded_by?: string | null;
6161
+ target_week?: number | null;
6162
+ target_year?: number | null;
6079
6163
  trade_item_id?: string;
6080
6164
  updated_at?: string;
6081
6165
  user_id?: string;
@@ -6484,6 +6568,87 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
6484
6568
  referencedColumns: ["id"];
6485
6569
  }];
6486
6570
  };
6571
+ floriday_inventory_settings: {
6572
+ Row: {
6573
+ buffer_quantity: number;
6574
+ connection_id: string;
6575
+ created_at: string;
6576
+ desired_availability: boolean;
6577
+ desired_quantity: number;
6578
+ fixed_quantity: number | null;
6579
+ floriday_trade_item_id: string | null;
6580
+ id: string;
6581
+ last_confirmed_at: string | null;
6582
+ last_enqueued_at: string | null;
6583
+ last_published_at: string | null;
6584
+ last_sync_error: string | null;
6585
+ manual_quantity: number | null;
6586
+ maximum_quantity: number | null;
6587
+ product_id: string;
6588
+ quantity_control: string;
6589
+ remote_available: boolean | null;
6590
+ remote_checked_at: string | null;
6591
+ remote_quantity: number | null;
6592
+ stock_mode: string;
6593
+ sync_status: string;
6594
+ updated_at: string;
6595
+ updated_by: string | null;
6596
+ user_id: string;
6597
+ };
6598
+ Insert: {
6599
+ buffer_quantity?: number;
6600
+ connection_id: string;
6601
+ created_at?: string;
6602
+ desired_availability?: boolean;
6603
+ desired_quantity?: number;
6604
+ fixed_quantity?: number | null;
6605
+ floriday_trade_item_id?: string | null;
6606
+ id?: string;
6607
+ last_confirmed_at?: string | null;
6608
+ last_enqueued_at?: string | null;
6609
+ last_published_at?: string | null;
6610
+ last_sync_error?: string | null;
6611
+ manual_quantity?: number | null;
6612
+ maximum_quantity?: number | null;
6613
+ product_id: string;
6614
+ quantity_control?: string;
6615
+ remote_available?: boolean | null;
6616
+ remote_checked_at?: string | null;
6617
+ remote_quantity?: number | null;
6618
+ stock_mode?: string;
6619
+ sync_status?: string;
6620
+ updated_at?: string;
6621
+ updated_by?: string | null;
6622
+ user_id: string;
6623
+ };
6624
+ Update: {
6625
+ buffer_quantity?: number;
6626
+ connection_id?: string;
6627
+ created_at?: string;
6628
+ desired_availability?: boolean;
6629
+ desired_quantity?: number;
6630
+ fixed_quantity?: number | null;
6631
+ floriday_trade_item_id?: string | null;
6632
+ id?: string;
6633
+ last_confirmed_at?: string | null;
6634
+ last_enqueued_at?: string | null;
6635
+ last_published_at?: string | null;
6636
+ last_sync_error?: string | null;
6637
+ manual_quantity?: number | null;
6638
+ maximum_quantity?: number | null;
6639
+ product_id?: string;
6640
+ quantity_control?: string;
6641
+ remote_available?: boolean | null;
6642
+ remote_checked_at?: string | null;
6643
+ remote_quantity?: number | null;
6644
+ stock_mode?: string;
6645
+ sync_status?: string;
6646
+ updated_at?: string;
6647
+ updated_by?: string | null;
6648
+ user_id?: string;
6649
+ };
6650
+ Relationships: [];
6651
+ };
6487
6652
  floriday_invoices_cache: {
6488
6653
  Row: {
6489
6654
  buyer_organization_id: string | null;
@@ -6772,6 +6937,39 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
6772
6937
  };
6773
6938
  Relationships: [];
6774
6939
  };
6940
+ floriday_sales_order_ingest: {
6941
+ Row: {
6942
+ connection_id: string;
6943
+ created_at: string;
6944
+ id: string;
6945
+ impact: import("../integrations/supabase/types").Json;
6946
+ order_status: string | null;
6947
+ order_version: number;
6948
+ processed_at: string;
6949
+ sales_order_id: string;
6950
+ };
6951
+ Insert: {
6952
+ connection_id: string;
6953
+ created_at?: string;
6954
+ id?: string;
6955
+ impact?: import("../integrations/supabase/types").Json;
6956
+ order_status?: string | null;
6957
+ order_version?: number;
6958
+ processed_at?: string;
6959
+ sales_order_id: string;
6960
+ };
6961
+ Update: {
6962
+ connection_id?: string;
6963
+ created_at?: string;
6964
+ id?: string;
6965
+ impact?: import("../integrations/supabase/types").Json;
6966
+ order_status?: string | null;
6967
+ order_version?: number;
6968
+ processed_at?: string;
6969
+ sales_order_id?: string;
6970
+ };
6971
+ Relationships: [];
6972
+ };
6775
6973
  floriday_sales_strategies_cache: {
6776
6974
  Row: {
6777
6975
  connection_id: string;
@@ -6871,6 +7069,39 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
6871
7069
  };
6872
7070
  Relationships: [];
6873
7071
  };
7072
+ floriday_sync_cursors: {
7073
+ Row: {
7074
+ connection_id: string;
7075
+ created_at: string;
7076
+ id: string;
7077
+ last_error: string | null;
7078
+ last_sync_at: string | null;
7079
+ resource_type: string;
7080
+ sequence_number: number;
7081
+ updated_at: string;
7082
+ };
7083
+ Insert: {
7084
+ connection_id: string;
7085
+ created_at?: string;
7086
+ id?: string;
7087
+ last_error?: string | null;
7088
+ last_sync_at?: string | null;
7089
+ resource_type: string;
7090
+ sequence_number?: number;
7091
+ updated_at?: string;
7092
+ };
7093
+ Update: {
7094
+ connection_id?: string;
7095
+ created_at?: string;
7096
+ id?: string;
7097
+ last_error?: string | null;
7098
+ last_sync_at?: string | null;
7099
+ resource_type?: string;
7100
+ sequence_number?: number;
7101
+ updated_at?: string;
7102
+ };
7103
+ Relationships: [];
7104
+ };
6874
7105
  floriday_sync_state: {
6875
7106
  Row: {
6876
7107
  connection_id: string;
@@ -7561,6 +7792,42 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
7561
7792
  };
7562
7793
  Relationships: [];
7563
7794
  };
7795
+ inventory_stock_snapshots: {
7796
+ Row: {
7797
+ connection_id: string;
7798
+ created_at: string;
7799
+ erp_available_quantity: number;
7800
+ floriday_desired_quantity: number;
7801
+ floriday_remote_quantity: number | null;
7802
+ granularity: string;
7803
+ id: string;
7804
+ snapshot_at: string;
7805
+ user_id: string | null;
7806
+ };
7807
+ Insert: {
7808
+ connection_id: string;
7809
+ created_at?: string;
7810
+ erp_available_quantity?: number;
7811
+ floriday_desired_quantity?: number;
7812
+ floriday_remote_quantity?: number | null;
7813
+ granularity?: string;
7814
+ id?: string;
7815
+ snapshot_at?: string;
7816
+ user_id?: string | null;
7817
+ };
7818
+ Update: {
7819
+ connection_id?: string;
7820
+ created_at?: string;
7821
+ erp_available_quantity?: number;
7822
+ floriday_desired_quantity?: number;
7823
+ floriday_remote_quantity?: number | null;
7824
+ granularity?: string;
7825
+ id?: string;
7826
+ snapshot_at?: string;
7827
+ user_id?: string | null;
7828
+ };
7829
+ Relationships: [];
7830
+ };
7564
7831
  invoice_items: {
7565
7832
  Row: {
7566
7833
  created_at: string;
@@ -8069,13 +8336,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
8069
8336
  segment?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
8070
8337
  updated_at?: string;
8071
8338
  };
8072
- Relationships: [{
8073
- foreignKeyName: "itk_customers_legacy_customer_id_fkey";
8074
- columns: ["legacy_customer_id"];
8075
- isOneToOne: false;
8076
- referencedRelation: "customers";
8077
- referencedColumns: ["id"];
8078
- }];
8339
+ Relationships: [];
8079
8340
  };
8080
8341
  itk_dynamic_fields: {
8081
8342
  Row: {
@@ -8107,6 +8368,180 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
8107
8368
  };
8108
8369
  Relationships: [];
8109
8370
  };
8371
+ itk_handover_rechten: {
8372
+ Row: {
8373
+ created_at: string;
8374
+ id: string;
8375
+ module_id: string;
8376
+ rol: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"] | null;
8377
+ updated_at: string;
8378
+ user_id: string | null;
8379
+ };
8380
+ Insert: {
8381
+ created_at?: string;
8382
+ id?: string;
8383
+ module_id: string;
8384
+ rol?: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"] | null;
8385
+ updated_at?: string;
8386
+ user_id?: string | null;
8387
+ };
8388
+ Update: {
8389
+ created_at?: string;
8390
+ id?: string;
8391
+ module_id?: string;
8392
+ rol?: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"] | null;
8393
+ updated_at?: string;
8394
+ user_id?: string | null;
8395
+ };
8396
+ Relationships: [];
8397
+ };
8398
+ itk_handover_tokens: {
8399
+ Row: {
8400
+ aangemaakt_door: string | null;
8401
+ created_at: string;
8402
+ id: string;
8403
+ is_actief: boolean;
8404
+ laatst_gebruikt_op: string | null;
8405
+ label: string;
8406
+ module_id: string;
8407
+ token_hash: string;
8408
+ updated_at: string;
8409
+ verloopt_op: string | null;
8410
+ };
8411
+ Insert: {
8412
+ aangemaakt_door?: string | null;
8413
+ created_at?: string;
8414
+ id?: string;
8415
+ is_actief?: boolean;
8416
+ laatst_gebruikt_op?: string | null;
8417
+ label?: string;
8418
+ module_id: string;
8419
+ token_hash: string;
8420
+ updated_at?: string;
8421
+ verloopt_op?: string | null;
8422
+ };
8423
+ Update: {
8424
+ aangemaakt_door?: string | null;
8425
+ created_at?: string;
8426
+ id?: string;
8427
+ is_actief?: boolean;
8428
+ laatst_gebruikt_op?: string | null;
8429
+ label?: string;
8430
+ module_id?: string;
8431
+ token_hash?: string;
8432
+ updated_at?: string;
8433
+ verloopt_op?: string | null;
8434
+ };
8435
+ Relationships: [];
8436
+ };
8437
+ itk_module_handovers: {
8438
+ Row: {
8439
+ bevindingen: string | null;
8440
+ bezit_tabellen: string[];
8441
+ conflicten_snapshot: import("../integrations/supabase/types").Json;
8442
+ contractfuncties: string[];
8443
+ created_at: string;
8444
+ eigenaar_module_id: string | null;
8445
+ gepubliceerd_door: string | null;
8446
+ gepubliceerd_op: string;
8447
+ herzieningstermijn_dagen: number;
8448
+ id: string;
8449
+ inhoud_md: string;
8450
+ is_actueel: boolean;
8451
+ module_id: string;
8452
+ module_titel: string;
8453
+ ontbrekende_contracten: string[];
8454
+ samenvatting: string | null;
8455
+ updated_at: string;
8456
+ versie: number;
8457
+ };
8458
+ Insert: {
8459
+ bevindingen?: string | null;
8460
+ bezit_tabellen?: string[];
8461
+ conflicten_snapshot?: import("../integrations/supabase/types").Json;
8462
+ contractfuncties?: string[];
8463
+ created_at?: string;
8464
+ eigenaar_module_id?: string | null;
8465
+ gepubliceerd_door?: string | null;
8466
+ gepubliceerd_op?: string;
8467
+ herzieningstermijn_dagen?: number;
8468
+ id?: string;
8469
+ inhoud_md: string;
8470
+ is_actueel?: boolean;
8471
+ module_id: string;
8472
+ module_titel: string;
8473
+ ontbrekende_contracten?: string[];
8474
+ samenvatting?: string | null;
8475
+ updated_at?: string;
8476
+ versie?: number;
8477
+ };
8478
+ Update: {
8479
+ bevindingen?: string | null;
8480
+ bezit_tabellen?: string[];
8481
+ conflicten_snapshot?: import("../integrations/supabase/types").Json;
8482
+ contractfuncties?: string[];
8483
+ created_at?: string;
8484
+ eigenaar_module_id?: string | null;
8485
+ gepubliceerd_door?: string | null;
8486
+ gepubliceerd_op?: string;
8487
+ herzieningstermijn_dagen?: number;
8488
+ id?: string;
8489
+ inhoud_md?: string;
8490
+ is_actueel?: boolean;
8491
+ module_id?: string;
8492
+ module_titel?: string;
8493
+ ontbrekende_contracten?: string[];
8494
+ samenvatting?: string | null;
8495
+ updated_at?: string;
8496
+ versie?: number;
8497
+ };
8498
+ Relationships: [];
8499
+ };
8500
+ itk_module_instructies: {
8501
+ Row: {
8502
+ created_at: string;
8503
+ eigenaar_module_id: string;
8504
+ gepubliceerd_door: string | null;
8505
+ gepubliceerd_op: string;
8506
+ id: string;
8507
+ inhoud_md: string;
8508
+ is_actueel: boolean;
8509
+ sleutel: string;
8510
+ titel: string;
8511
+ toelichting: string | null;
8512
+ updated_at: string;
8513
+ versie: number;
8514
+ };
8515
+ Insert: {
8516
+ created_at?: string;
8517
+ eigenaar_module_id?: string;
8518
+ gepubliceerd_door?: string | null;
8519
+ gepubliceerd_op?: string;
8520
+ id?: string;
8521
+ inhoud_md: string;
8522
+ is_actueel?: boolean;
8523
+ sleutel: string;
8524
+ titel: string;
8525
+ toelichting?: string | null;
8526
+ updated_at?: string;
8527
+ versie?: number;
8528
+ };
8529
+ Update: {
8530
+ created_at?: string;
8531
+ eigenaar_module_id?: string;
8532
+ gepubliceerd_door?: string | null;
8533
+ gepubliceerd_op?: string;
8534
+ id?: string;
8535
+ inhoud_md?: string;
8536
+ is_actueel?: boolean;
8537
+ sleutel?: string;
8538
+ titel?: string;
8539
+ toelichting?: string | null;
8540
+ updated_at?: string;
8541
+ versie?: number;
8542
+ };
8543
+ Relationships: [];
8544
+ };
8110
8545
  itk_offerte_events: {
8111
8546
  Row: {
8112
8547
  created_at: string;
@@ -10735,6 +11170,24 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
10735
11170
  };
10736
11171
  Relationships: [];
10737
11172
  };
11173
+ maps_job_lease: {
11174
+ Row: {
11175
+ job: string;
11176
+ locked_until: string;
11177
+ updated_at: string;
11178
+ };
11179
+ Insert: {
11180
+ job: string;
11181
+ locked_until?: string;
11182
+ updated_at?: string;
11183
+ };
11184
+ Update: {
11185
+ job?: string;
11186
+ locked_until?: string;
11187
+ updated_at?: string;
11188
+ };
11189
+ Relationships: [];
11190
+ };
10738
11191
  maps_request_queue: {
10739
11192
  Row: {
10740
11193
  attempts: number;
@@ -10796,6 +11249,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
10796
11249
  last_error: string | null;
10797
11250
  last_error_at: string | null;
10798
11251
  last_success_at: string | null;
11252
+ provider: string;
10799
11253
  updated_at: string;
10800
11254
  };
10801
11255
  Insert: {
@@ -10807,6 +11261,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
10807
11261
  last_error?: string | null;
10808
11262
  last_error_at?: string | null;
10809
11263
  last_success_at?: string | null;
11264
+ provider?: string;
10810
11265
  updated_at?: string;
10811
11266
  };
10812
11267
  Update: {
@@ -10818,6 +11273,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
10818
11273
  last_error?: string | null;
10819
11274
  last_error_at?: string | null;
10820
11275
  last_success_at?: string | null;
11276
+ provider?: string;
10821
11277
  updated_at?: string;
10822
11278
  };
10823
11279
  Relationships: [];
@@ -13460,6 +13916,12 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
13460
13916
  isOneToOne: false;
13461
13917
  referencedRelation: "planning_items";
13462
13918
  referencedColumns: ["id"];
13919
+ }, {
13920
+ foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
13921
+ columns: ["planning_item_id"];
13922
+ isOneToOne: false;
13923
+ referencedRelation: "planning_overview";
13924
+ referencedColumns: ["id"];
13463
13925
  }];
13464
13926
  };
13465
13927
  planning_items: {
@@ -13555,6 +14017,39 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
13555
14017
  };
13556
14018
  Relationships: [];
13557
14019
  };
14020
+ print_dedupe_events: {
14021
+ Row: {
14022
+ bestaande_job_id: string | null;
14023
+ created_at: string;
14024
+ detail: string | null;
14025
+ documentnaam: string | null;
14026
+ documenttype: string | null;
14027
+ id: string;
14028
+ idempotentie_sleutel: string;
14029
+ reden: string;
14030
+ };
14031
+ Insert: {
14032
+ bestaande_job_id?: string | null;
14033
+ created_at?: string;
14034
+ detail?: string | null;
14035
+ documentnaam?: string | null;
14036
+ documenttype?: string | null;
14037
+ id?: string;
14038
+ idempotentie_sleutel: string;
14039
+ reden: string;
14040
+ };
14041
+ Update: {
14042
+ bestaande_job_id?: string | null;
14043
+ created_at?: string;
14044
+ detail?: string | null;
14045
+ documentnaam?: string | null;
14046
+ documenttype?: string | null;
14047
+ id?: string;
14048
+ idempotentie_sleutel?: string;
14049
+ reden?: string;
14050
+ };
14051
+ Relationships: [];
14052
+ };
13558
14053
  print_job_logs: {
13559
14054
  Row: {
13560
14055
  created_at: string;
@@ -13596,6 +14091,8 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
13596
14091
  foutmelding: string | null;
13597
14092
  gebruiker_id: string | null;
13598
14093
  gebruiker_naam: string;
14094
+ gebruikte_bron: string | null;
14095
+ gebruikte_layout_id: string | null;
13599
14096
  gestart_op: string | null;
13600
14097
  herkomst: string | null;
13601
14098
  id: string;
@@ -13603,6 +14100,9 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
13603
14100
  is_herprint: boolean;
13604
14101
  kopieen: number;
13605
14102
  layout_id: string | null;
14103
+ lokaal_opgeslagen_op: string | null;
14104
+ lokale_pdf_fout: string | null;
14105
+ lokale_pdf_status: string | null;
13606
14106
  opgepakt_op: string | null;
13607
14107
  paginas: number;
13608
14108
  payload: import("../integrations/supabase/types").Json;
@@ -13611,6 +14111,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
13611
14111
  pogingen: number;
13612
14112
  printer_id: string | null;
13613
14113
  render_html: string | null;
14114
+ resultaat_pdf_base64: string | null;
13614
14115
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13615
14116
  updated_at: string;
13616
14117
  volgende_poging: string | null;
@@ -13626,6 +14127,8 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
13626
14127
  foutmelding?: string | null;
13627
14128
  gebruiker_id?: string | null;
13628
14129
  gebruiker_naam?: string;
14130
+ gebruikte_bron?: string | null;
14131
+ gebruikte_layout_id?: string | null;
13629
14132
  gestart_op?: string | null;
13630
14133
  herkomst?: string | null;
13631
14134
  id?: string;
@@ -13633,6 +14136,9 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
13633
14136
  is_herprint?: boolean;
13634
14137
  kopieen?: number;
13635
14138
  layout_id?: string | null;
14139
+ lokaal_opgeslagen_op?: string | null;
14140
+ lokale_pdf_fout?: string | null;
14141
+ lokale_pdf_status?: string | null;
13636
14142
  opgepakt_op?: string | null;
13637
14143
  paginas?: number;
13638
14144
  payload?: import("../integrations/supabase/types").Json;
@@ -13641,6 +14147,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
13641
14147
  pogingen?: number;
13642
14148
  printer_id?: string | null;
13643
14149
  render_html?: string | null;
14150
+ resultaat_pdf_base64?: string | null;
13644
14151
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13645
14152
  updated_at?: string;
13646
14153
  volgende_poging?: string | null;
@@ -13656,6 +14163,8 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
13656
14163
  foutmelding?: string | null;
13657
14164
  gebruiker_id?: string | null;
13658
14165
  gebruiker_naam?: string;
14166
+ gebruikte_bron?: string | null;
14167
+ gebruikte_layout_id?: string | null;
13659
14168
  gestart_op?: string | null;
13660
14169
  herkomst?: string | null;
13661
14170
  id?: string;
@@ -13663,6 +14172,9 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
13663
14172
  is_herprint?: boolean;
13664
14173
  kopieen?: number;
13665
14174
  layout_id?: string | null;
14175
+ lokaal_opgeslagen_op?: string | null;
14176
+ lokale_pdf_fout?: string | null;
14177
+ lokale_pdf_status?: string | null;
13666
14178
  opgepakt_op?: string | null;
13667
14179
  paginas?: number;
13668
14180
  payload?: import("../integrations/supabase/types").Json;
@@ -13671,6 +14183,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
13671
14183
  pogingen?: number;
13672
14184
  printer_id?: string | null;
13673
14185
  render_html?: string | null;
14186
+ resultaat_pdf_base64?: string | null;
13674
14187
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13675
14188
  updated_at?: string;
13676
14189
  volgende_poging?: string | null;
@@ -13789,6 +14302,39 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
13789
14302
  };
13790
14303
  Relationships: [];
13791
14304
  };
14305
+ print_preview_events: {
14306
+ Row: {
14307
+ code: string | null;
14308
+ created_at: string;
14309
+ detail: import("../integrations/supabase/types").Json;
14310
+ id: string;
14311
+ queue_item_id: string | null;
14312
+ reden: string | null;
14313
+ station_slug: string | null;
14314
+ uitkomst: string;
14315
+ };
14316
+ Insert: {
14317
+ code?: string | null;
14318
+ created_at?: string;
14319
+ detail?: import("../integrations/supabase/types").Json;
14320
+ id?: string;
14321
+ queue_item_id?: string | null;
14322
+ reden?: string | null;
14323
+ station_slug?: string | null;
14324
+ uitkomst?: string;
14325
+ };
14326
+ Update: {
14327
+ code?: string | null;
14328
+ created_at?: string;
14329
+ detail?: import("../integrations/supabase/types").Json;
14330
+ id?: string;
14331
+ queue_item_id?: string | null;
14332
+ reden?: string | null;
14333
+ station_slug?: string | null;
14334
+ uitkomst?: string;
14335
+ };
14336
+ Relationships: [];
14337
+ };
13792
14338
  print_queue_runners: {
13793
14339
  Row: {
13794
14340
  actief: boolean;
@@ -14028,6 +14574,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
14028
14574
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
14029
14575
  online: boolean;
14030
14576
  papierformaat: string;
14577
+ pdf_map: string | null;
14031
14578
  poort: number | null;
14032
14579
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14033
14580
  systeemnaam: string;
@@ -14053,6 +14600,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
14053
14600
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14054
14601
  online?: boolean;
14055
14602
  papierformaat?: string;
14603
+ pdf_map?: string | null;
14056
14604
  poort?: number | null;
14057
14605
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14058
14606
  systeemnaam?: string;
@@ -14078,6 +14626,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
14078
14626
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14079
14627
  online?: boolean;
14080
14628
  papierformaat?: string;
14629
+ pdf_map?: string | null;
14081
14630
  poort?: number | null;
14082
14631
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14083
14632
  systeemnaam?: string;
@@ -14950,450 +15499,6 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
14950
15499
  referencedColumns: ["id"];
14951
15500
  }];
14952
15501
  };
14953
- quote_activities: {
14954
- Row: {
14955
- created_at: string;
14956
- event_type: string;
14957
- id: string;
14958
- metadata: import("../integrations/supabase/types").Json;
14959
- quote_id: string;
14960
- user_id: string | null;
14961
- };
14962
- Insert: {
14963
- created_at?: string;
14964
- event_type: string;
14965
- id?: string;
14966
- metadata?: import("../integrations/supabase/types").Json;
14967
- quote_id: string;
14968
- user_id?: string | null;
14969
- };
14970
- Update: {
14971
- created_at?: string;
14972
- event_type?: string;
14973
- id?: string;
14974
- metadata?: import("../integrations/supabase/types").Json;
14975
- quote_id?: string;
14976
- user_id?: string | null;
14977
- };
14978
- Relationships: [{
14979
- foreignKeyName: "quote_activities_quote_id_fkey";
14980
- columns: ["quote_id"];
14981
- isOneToOne: false;
14982
- referencedRelation: "quotes";
14983
- referencedColumns: ["id"];
14984
- }];
14985
- };
14986
- quote_attachments: {
14987
- Row: {
14988
- created_at: string;
14989
- file_name: string;
14990
- file_size: number | null;
14991
- file_url: string;
14992
- id: string;
14993
- mime_type: string | null;
14994
- quote_id: string;
14995
- };
14996
- Insert: {
14997
- created_at?: string;
14998
- file_name: string;
14999
- file_size?: number | null;
15000
- file_url: string;
15001
- id?: string;
15002
- mime_type?: string | null;
15003
- quote_id: string;
15004
- };
15005
- Update: {
15006
- created_at?: string;
15007
- file_name?: string;
15008
- file_size?: number | null;
15009
- file_url?: string;
15010
- id?: string;
15011
- mime_type?: string | null;
15012
- quote_id?: string;
15013
- };
15014
- Relationships: [{
15015
- foreignKeyName: "quote_attachments_quote_id_fkey";
15016
- columns: ["quote_id"];
15017
- isOneToOne: false;
15018
- referencedRelation: "quotes";
15019
- referencedColumns: ["id"];
15020
- }];
15021
- };
15022
- quote_field_options: {
15023
- Row: {
15024
- created_at: string;
15025
- field_id: string;
15026
- id: string;
15027
- label: string;
15028
- sort_order: number;
15029
- value: string;
15030
- };
15031
- Insert: {
15032
- created_at?: string;
15033
- field_id: string;
15034
- id?: string;
15035
- label: string;
15036
- sort_order?: number;
15037
- value: string;
15038
- };
15039
- Update: {
15040
- created_at?: string;
15041
- field_id?: string;
15042
- id?: string;
15043
- label?: string;
15044
- sort_order?: number;
15045
- value?: string;
15046
- };
15047
- Relationships: [{
15048
- foreignKeyName: "quote_field_options_field_id_fkey";
15049
- columns: ["field_id"];
15050
- isOneToOne: false;
15051
- referencedRelation: "quote_field_settings";
15052
- referencedColumns: ["id"];
15053
- }];
15054
- };
15055
- quote_field_settings: {
15056
- Row: {
15057
- created_at: string;
15058
- default_value: string | null;
15059
- field_key: string;
15060
- field_type: string;
15061
- id: string;
15062
- is_system: boolean;
15063
- label: string;
15064
- required: boolean;
15065
- sort_order: number;
15066
- updated_at: string;
15067
- visible: boolean;
15068
- };
15069
- Insert: {
15070
- created_at?: string;
15071
- default_value?: string | null;
15072
- field_key: string;
15073
- field_type: string;
15074
- id?: string;
15075
- is_system?: boolean;
15076
- label: string;
15077
- required?: boolean;
15078
- sort_order?: number;
15079
- updated_at?: string;
15080
- visible?: boolean;
15081
- };
15082
- Update: {
15083
- created_at?: string;
15084
- default_value?: string | null;
15085
- field_key?: string;
15086
- field_type?: string;
15087
- id?: string;
15088
- is_system?: boolean;
15089
- label?: string;
15090
- required?: boolean;
15091
- sort_order?: number;
15092
- updated_at?: string;
15093
- visible?: boolean;
15094
- };
15095
- Relationships: [];
15096
- };
15097
- quote_items: {
15098
- Row: {
15099
- category: string | null;
15100
- created_at: string;
15101
- description: string;
15102
- id: string;
15103
- line_total: number;
15104
- module_id: string | null;
15105
- name: string | null;
15106
- quantity: number;
15107
- quote_id: string;
15108
- sort_order: number;
15109
- unit_price: number;
15110
- };
15111
- Insert: {
15112
- category?: string | null;
15113
- created_at?: string;
15114
- description?: string;
15115
- id?: string;
15116
- line_total?: number;
15117
- module_id?: string | null;
15118
- name?: string | null;
15119
- quantity?: number;
15120
- quote_id: string;
15121
- sort_order?: number;
15122
- unit_price?: number;
15123
- };
15124
- Update: {
15125
- category?: string | null;
15126
- created_at?: string;
15127
- description?: string;
15128
- id?: string;
15129
- line_total?: number;
15130
- module_id?: string | null;
15131
- name?: string | null;
15132
- quantity?: number;
15133
- quote_id?: string;
15134
- sort_order?: number;
15135
- unit_price?: number;
15136
- };
15137
- Relationships: [{
15138
- foreignKeyName: "quote_items_module_id_fkey";
15139
- columns: ["module_id"];
15140
- isOneToOne: false;
15141
- referencedRelation: "quote_modules";
15142
- referencedColumns: ["id"];
15143
- }, {
15144
- foreignKeyName: "quote_items_quote_id_fkey";
15145
- columns: ["quote_id"];
15146
- isOneToOne: false;
15147
- referencedRelation: "quotes";
15148
- referencedColumns: ["id"];
15149
- }];
15150
- };
15151
- quote_modules: {
15152
- Row: {
15153
- category: string | null;
15154
- created_at: string;
15155
- description: string | null;
15156
- id: string;
15157
- is_active: boolean;
15158
- name: string;
15159
- price: number;
15160
- sort_order: number;
15161
- updated_at: string;
15162
- };
15163
- Insert: {
15164
- category?: string | null;
15165
- created_at?: string;
15166
- description?: string | null;
15167
- id?: string;
15168
- is_active?: boolean;
15169
- name: string;
15170
- price?: number;
15171
- sort_order?: number;
15172
- updated_at?: string;
15173
- };
15174
- Update: {
15175
- category?: string | null;
15176
- created_at?: string;
15177
- description?: string | null;
15178
- id?: string;
15179
- is_active?: boolean;
15180
- name?: string;
15181
- price?: number;
15182
- sort_order?: number;
15183
- updated_at?: string;
15184
- };
15185
- Relationships: [];
15186
- };
15187
- quote_templates: {
15188
- Row: {
15189
- created_at: string;
15190
- description: string | null;
15191
- field_values: import("../integrations/supabase/types").Json;
15192
- id: string;
15193
- is_default: boolean;
15194
- items: import("../integrations/supabase/types").Json;
15195
- name: string;
15196
- updated_at: string;
15197
- vat_rate: number;
15198
- };
15199
- Insert: {
15200
- created_at?: string;
15201
- description?: string | null;
15202
- field_values?: import("../integrations/supabase/types").Json;
15203
- id?: string;
15204
- is_default?: boolean;
15205
- items?: import("../integrations/supabase/types").Json;
15206
- name: string;
15207
- updated_at?: string;
15208
- vat_rate?: number;
15209
- };
15210
- Update: {
15211
- created_at?: string;
15212
- description?: string | null;
15213
- field_values?: import("../integrations/supabase/types").Json;
15214
- id?: string;
15215
- is_default?: boolean;
15216
- items?: import("../integrations/supabase/types").Json;
15217
- name?: string;
15218
- updated_at?: string;
15219
- vat_rate?: number;
15220
- };
15221
- Relationships: [];
15222
- };
15223
- quote_terms: {
15224
- Row: {
15225
- content: string | null;
15226
- created_at: string;
15227
- file_url: string | null;
15228
- id: string;
15229
- is_active: boolean;
15230
- name: string;
15231
- published_at: string | null;
15232
- updated_at: string;
15233
- version: string;
15234
- };
15235
- Insert: {
15236
- content?: string | null;
15237
- created_at?: string;
15238
- file_url?: string | null;
15239
- id?: string;
15240
- is_active?: boolean;
15241
- name: string;
15242
- published_at?: string | null;
15243
- updated_at?: string;
15244
- version?: string;
15245
- };
15246
- Update: {
15247
- content?: string | null;
15248
- created_at?: string;
15249
- file_url?: string | null;
15250
- id?: string;
15251
- is_active?: boolean;
15252
- name?: string;
15253
- published_at?: string | null;
15254
- updated_at?: string;
15255
- version?: string;
15256
- };
15257
- Relationships: [];
15258
- };
15259
- quotes: {
15260
- Row: {
15261
- accepted_at: string | null;
15262
- archived_at: string | null;
15263
- contact_id: string | null;
15264
- created_at: string;
15265
- customer_id: string | null;
15266
- discount: number;
15267
- expires_at: string | null;
15268
- field_values: import("../integrations/supabase/types").Json;
15269
- id: string;
15270
- notes: string | null;
15271
- owner_id: string | null;
15272
- personal_message: string | null;
15273
- project_id: string | null;
15274
- prospect_id: string | null;
15275
- public_token: string;
15276
- quote_number: string | null;
15277
- recipient_email: string | null;
15278
- recipient_name: string | null;
15279
- rejected_at: string | null;
15280
- sent_at: string | null;
15281
- status: string;
15282
- subtotal: number;
15283
- template_id: string | null;
15284
- terms_id: string | null;
15285
- title: string;
15286
- total: number;
15287
- updated_at: string;
15288
- valid_until: string | null;
15289
- vat_amount: number;
15290
- vat_rate: number;
15291
- viewed_at: string | null;
15292
- };
15293
- Insert: {
15294
- accepted_at?: string | null;
15295
- archived_at?: string | null;
15296
- contact_id?: string | null;
15297
- created_at?: string;
15298
- customer_id?: string | null;
15299
- discount?: number;
15300
- expires_at?: string | null;
15301
- field_values?: import("../integrations/supabase/types").Json;
15302
- id?: string;
15303
- notes?: string | null;
15304
- owner_id?: string | null;
15305
- personal_message?: string | null;
15306
- project_id?: string | null;
15307
- prospect_id?: string | null;
15308
- public_token?: string;
15309
- quote_number?: string | null;
15310
- recipient_email?: string | null;
15311
- recipient_name?: string | null;
15312
- rejected_at?: string | null;
15313
- sent_at?: string | null;
15314
- status?: string;
15315
- subtotal?: number;
15316
- template_id?: string | null;
15317
- terms_id?: string | null;
15318
- title?: string;
15319
- total?: number;
15320
- updated_at?: string;
15321
- valid_until?: string | null;
15322
- vat_amount?: number;
15323
- vat_rate?: number;
15324
- viewed_at?: string | null;
15325
- };
15326
- Update: {
15327
- accepted_at?: string | null;
15328
- archived_at?: string | null;
15329
- contact_id?: string | null;
15330
- created_at?: string;
15331
- customer_id?: string | null;
15332
- discount?: number;
15333
- expires_at?: string | null;
15334
- field_values?: import("../integrations/supabase/types").Json;
15335
- id?: string;
15336
- notes?: string | null;
15337
- owner_id?: string | null;
15338
- personal_message?: string | null;
15339
- project_id?: string | null;
15340
- prospect_id?: string | null;
15341
- public_token?: string;
15342
- quote_number?: string | null;
15343
- recipient_email?: string | null;
15344
- recipient_name?: string | null;
15345
- rejected_at?: string | null;
15346
- sent_at?: string | null;
15347
- status?: string;
15348
- subtotal?: number;
15349
- template_id?: string | null;
15350
- terms_id?: string | null;
15351
- title?: string;
15352
- total?: number;
15353
- updated_at?: string;
15354
- valid_until?: string | null;
15355
- vat_amount?: number;
15356
- vat_rate?: number;
15357
- viewed_at?: string | null;
15358
- };
15359
- Relationships: [{
15360
- foreignKeyName: "quotes_contact_id_fkey";
15361
- columns: ["contact_id"];
15362
- isOneToOne: false;
15363
- referencedRelation: "customer_contacts";
15364
- referencedColumns: ["id"];
15365
- }, {
15366
- foreignKeyName: "quotes_customer_id_fkey";
15367
- columns: ["customer_id"];
15368
- isOneToOne: false;
15369
- referencedRelation: "customers";
15370
- referencedColumns: ["id"];
15371
- }, {
15372
- foreignKeyName: "quotes_project_id_fkey";
15373
- columns: ["project_id"];
15374
- isOneToOne: false;
15375
- referencedRelation: "projects";
15376
- referencedColumns: ["id"];
15377
- }, {
15378
- foreignKeyName: "quotes_prospect_id_fkey";
15379
- columns: ["prospect_id"];
15380
- isOneToOne: false;
15381
- referencedRelation: "prospects";
15382
- referencedColumns: ["id"];
15383
- }, {
15384
- foreignKeyName: "quotes_template_id_fkey";
15385
- columns: ["template_id"];
15386
- isOneToOne: false;
15387
- referencedRelation: "quote_templates";
15388
- referencedColumns: ["id"];
15389
- }, {
15390
- foreignKeyName: "quotes_terms_id_fkey";
15391
- columns: ["terms_id"];
15392
- isOneToOne: false;
15393
- referencedRelation: "quote_terms";
15394
- referencedColumns: ["id"];
15395
- }];
15396
- };
15397
15502
  reception_notifications: {
15398
15503
  Row: {
15399
15504
  booking_id: string | null;
@@ -16515,7 +16620,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
16515
16620
  foreignKeyName: "time_logs_work_order_id_fkey";
16516
16621
  columns: ["work_order_id"];
16517
16622
  isOneToOne: false;
16518
- referencedRelation: "work_orders";
16623
+ referencedRelation: "werkbonnen";
16519
16624
  referencedColumns: ["id"];
16520
16625
  }];
16521
16626
  };
@@ -16647,6 +16752,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
16647
16752
  };
16648
16753
  trade_item_stock: {
16649
16754
  Row: {
16755
+ change_source: string;
16650
16756
  connection_id: string;
16651
16757
  created_at: string;
16652
16758
  id: string;
@@ -16660,6 +16766,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
16660
16766
  user_id: string;
16661
16767
  };
16662
16768
  Insert: {
16769
+ change_source?: string;
16663
16770
  connection_id: string;
16664
16771
  created_at?: string;
16665
16772
  id?: string;
@@ -16673,6 +16780,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
16673
16780
  user_id: string;
16674
16781
  };
16675
16782
  Update: {
16783
+ change_source?: string;
16676
16784
  connection_id?: string;
16677
16785
  created_at?: string;
16678
16786
  id?: string;
@@ -17842,156 +17950,6 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
17842
17950
  };
17843
17951
  Relationships: [];
17844
17952
  };
17845
- uren_offerte_regels: {
17846
- Row: {
17847
- created_at: string;
17848
- description: string;
17849
- duration_minutes: number;
17850
- id: string;
17851
- offerte_id: string;
17852
- package_id: string | null;
17853
- quantity: number;
17854
- sort_order: number;
17855
- total_cents: number;
17856
- unit_price_cents: number;
17857
- };
17858
- Insert: {
17859
- created_at?: string;
17860
- description: string;
17861
- duration_minutes?: number;
17862
- id?: string;
17863
- offerte_id: string;
17864
- package_id?: string | null;
17865
- quantity?: number;
17866
- sort_order?: number;
17867
- total_cents?: number;
17868
- unit_price_cents?: number;
17869
- };
17870
- Update: {
17871
- created_at?: string;
17872
- description?: string;
17873
- duration_minutes?: number;
17874
- id?: string;
17875
- offerte_id?: string;
17876
- package_id?: string | null;
17877
- quantity?: number;
17878
- sort_order?: number;
17879
- total_cents?: number;
17880
- unit_price_cents?: number;
17881
- };
17882
- Relationships: [{
17883
- foreignKeyName: "uren_offerte_regels_offerte_id_fkey";
17884
- columns: ["offerte_id"];
17885
- isOneToOne: false;
17886
- referencedRelation: "uren_offertes";
17887
- referencedColumns: ["id"];
17888
- }, {
17889
- foreignKeyName: "uren_offerte_regels_package_id_fkey";
17890
- columns: ["package_id"];
17891
- isOneToOne: false;
17892
- referencedRelation: "werkbon_packages";
17893
- referencedColumns: ["id"];
17894
- }];
17895
- };
17896
- uren_offerte_velden: {
17897
- Row: {
17898
- created_at: string;
17899
- field_type: string;
17900
- id: string;
17901
- key: string;
17902
- label: string;
17903
- options: string[];
17904
- required: boolean;
17905
- sort_order: number;
17906
- updated_at: string;
17907
- };
17908
- Insert: {
17909
- created_at?: string;
17910
- field_type?: string;
17911
- id?: string;
17912
- key: string;
17913
- label: string;
17914
- options?: string[];
17915
- required?: boolean;
17916
- sort_order?: number;
17917
- updated_at?: string;
17918
- };
17919
- Update: {
17920
- created_at?: string;
17921
- field_type?: string;
17922
- id?: string;
17923
- key?: string;
17924
- label?: string;
17925
- options?: string[];
17926
- required?: boolean;
17927
- sort_order?: number;
17928
- updated_at?: string;
17929
- };
17930
- Relationships: [];
17931
- };
17932
- uren_offertes: {
17933
- Row: {
17934
- created_at: string;
17935
- created_by: string | null;
17936
- customer_id: string | null;
17937
- customer_name: string | null;
17938
- dynamic_fields: import("../integrations/supabase/types").Json;
17939
- estimated_minutes: number;
17940
- id: string;
17941
- note: string | null;
17942
- quote_number: string | null;
17943
- status: string;
17944
- title: string;
17945
- total_excl_cents: number;
17946
- total_incl_cents: number;
17947
- updated_at: string;
17948
- valid_until: string | null;
17949
- vat_percentage: number;
17950
- };
17951
- Insert: {
17952
- created_at?: string;
17953
- created_by?: string | null;
17954
- customer_id?: string | null;
17955
- customer_name?: string | null;
17956
- dynamic_fields?: import("../integrations/supabase/types").Json;
17957
- estimated_minutes?: number;
17958
- id?: string;
17959
- note?: string | null;
17960
- quote_number?: string | null;
17961
- status?: string;
17962
- title?: string;
17963
- total_excl_cents?: number;
17964
- total_incl_cents?: number;
17965
- updated_at?: string;
17966
- valid_until?: string | null;
17967
- vat_percentage?: number;
17968
- };
17969
- Update: {
17970
- created_at?: string;
17971
- created_by?: string | null;
17972
- customer_id?: string | null;
17973
- customer_name?: string | null;
17974
- dynamic_fields?: import("../integrations/supabase/types").Json;
17975
- estimated_minutes?: number;
17976
- id?: string;
17977
- note?: string | null;
17978
- quote_number?: string | null;
17979
- status?: string;
17980
- title?: string;
17981
- total_excl_cents?: number;
17982
- total_incl_cents?: number;
17983
- updated_at?: string;
17984
- valid_until?: string | null;
17985
- vat_percentage?: number;
17986
- };
17987
- Relationships: [{
17988
- foreignKeyName: "uren_offertes_customer_id_fkey";
17989
- columns: ["customer_id"];
17990
- isOneToOne: false;
17991
- referencedRelation: "itk_customers";
17992
- referencedColumns: ["id"];
17993
- }];
17994
- };
17995
17953
  uren_settings: {
17996
17954
  Row: {
17997
17955
  break_minutes: number;
@@ -19678,6 +19636,37 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
19678
19636
  };
19679
19637
  Relationships: [];
19680
19638
  };
19639
+ planning_overview: {
19640
+ Row: {
19641
+ assigned_monteur_id: string | null;
19642
+ assistants: import("../integrations/supabase/types").Json | null;
19643
+ budget_mandate_cents: number | null;
19644
+ created_at: string | null;
19645
+ created_by: string | null;
19646
+ customer_id: string | null;
19647
+ customer_name: string | null;
19648
+ duration_minutes: number | null;
19649
+ end_at: string | null;
19650
+ id: string | null;
19651
+ needs_detail_review: boolean | null;
19652
+ notes: string | null;
19653
+ project_number: string | null;
19654
+ review_reasons: string[] | null;
19655
+ start_at: string | null;
19656
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"] | null;
19657
+ updated_at: string | null;
19658
+ viewer_role: string | null;
19659
+ werkbon_id: string | null;
19660
+ work_address: string | null;
19661
+ };
19662
+ Relationships: [{
19663
+ foreignKeyName: "planning_items_werkbon_id_fkey";
19664
+ columns: ["werkbon_id"];
19665
+ isOneToOne: false;
19666
+ referencedRelation: "werkbonnen";
19667
+ referencedColumns: ["id"];
19668
+ }];
19669
+ };
19681
19670
  product_group_stock_view: {
19682
19671
  Row: {
19683
19672
  item_count: number | null;
@@ -20273,6 +20262,18 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
20273
20262
  Args: never;
20274
20263
  Returns: number;
20275
20264
  };
20265
+ calculate_floriday_desired_stock: {
20266
+ Args: {
20267
+ p_connection_id: string;
20268
+ p_product_id: string;
20269
+ };
20270
+ Returns: {
20271
+ desired_availability: boolean;
20272
+ desired_quantity: number;
20273
+ erp_available: number;
20274
+ stock_mode: string;
20275
+ }[];
20276
+ };
20276
20277
  calculate_layer_stock: {
20277
20278
  Args: {
20278
20279
  p_product_id: string;
@@ -20325,6 +20326,8 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
20325
20326
  foutmelding: string | null;
20326
20327
  gebruiker_id: string | null;
20327
20328
  gebruiker_naam: string;
20329
+ gebruikte_bron: string | null;
20330
+ gebruikte_layout_id: string | null;
20328
20331
  gestart_op: string | null;
20329
20332
  herkomst: string | null;
20330
20333
  id: string;
@@ -20332,6 +20335,9 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
20332
20335
  is_herprint: boolean;
20333
20336
  kopieen: number;
20334
20337
  layout_id: string | null;
20338
+ lokaal_opgeslagen_op: string | null;
20339
+ lokale_pdf_fout: string | null;
20340
+ lokale_pdf_status: string | null;
20335
20341
  opgepakt_op: string | null;
20336
20342
  paginas: number;
20337
20343
  payload: import("../integrations/supabase/types").Json;
@@ -20340,6 +20346,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
20340
20346
  pogingen: number;
20341
20347
  printer_id: string | null;
20342
20348
  render_html: string | null;
20349
+ resultaat_pdf_base64: string | null;
20343
20350
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20344
20351
  updated_at: string;
20345
20352
  volgende_poging: string | null;
@@ -20361,6 +20368,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
20361
20368
  attempts: number;
20362
20369
  connection_id: string;
20363
20370
  created_at: string;
20371
+ dead_lettered_at: string | null;
20364
20372
  desired_available: boolean | null;
20365
20373
  gateway_attempt_id: string | null;
20366
20374
  id: string;
@@ -20369,9 +20377,13 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
20369
20377
  locked_by: string | null;
20370
20378
  next_attempt_at: string;
20371
20379
  number_of_pieces: number;
20380
+ product_id: string | null;
20372
20381
  sent_at: string | null;
20373
20382
  status: string;
20383
+ stock_mode: string | null;
20374
20384
  superseded_by: string | null;
20385
+ target_week: number | null;
20386
+ target_year: number | null;
20375
20387
  trade_item_id: string;
20376
20388
  updated_at: string;
20377
20389
  user_id: string;
@@ -20431,6 +20443,53 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
20431
20443
  isSetofReturn: true;
20432
20444
  };
20433
20445
  };
20446
+ claim_pdf_print_jobs: {
20447
+ Args: {
20448
+ _max?: number;
20449
+ };
20450
+ Returns: {
20451
+ agent_id: string | null;
20452
+ bron_job_id: string | null;
20453
+ created_at: string;
20454
+ documentnaam: string;
20455
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20456
+ extern_job_id: string | null;
20457
+ foutmelding: string | null;
20458
+ gebruiker_id: string | null;
20459
+ gebruiker_naam: string;
20460
+ gebruikte_bron: string | null;
20461
+ gebruikte_layout_id: string | null;
20462
+ gestart_op: string | null;
20463
+ herkomst: string | null;
20464
+ id: string;
20465
+ idempotentie_sleutel: string | null;
20466
+ is_herprint: boolean;
20467
+ kopieen: number;
20468
+ layout_id: string | null;
20469
+ lokaal_opgeslagen_op: string | null;
20470
+ lokale_pdf_fout: string | null;
20471
+ lokale_pdf_status: string | null;
20472
+ opgepakt_op: string | null;
20473
+ paginas: number;
20474
+ payload: import("../integrations/supabase/types").Json;
20475
+ pdf_base64: string | null;
20476
+ pdf_url: string | null;
20477
+ pogingen: number;
20478
+ printer_id: string | null;
20479
+ render_html: string | null;
20480
+ resultaat_pdf_base64: string | null;
20481
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20482
+ updated_at: string;
20483
+ volgende_poging: string | null;
20484
+ voltooid_op: string | null;
20485
+ }[];
20486
+ SetofOptions: {
20487
+ from: "*";
20488
+ to: "print_jobs";
20489
+ isOneToOne: false;
20490
+ isSetofReturn: true;
20491
+ };
20492
+ };
20434
20493
  claim_print_jobs: {
20435
20494
  Args: {
20436
20495
  _agent_id: string;
@@ -20446,6 +20505,8 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
20446
20505
  foutmelding: string | null;
20447
20506
  gebruiker_id: string | null;
20448
20507
  gebruiker_naam: string;
20508
+ gebruikte_bron: string | null;
20509
+ gebruikte_layout_id: string | null;
20449
20510
  gestart_op: string | null;
20450
20511
  herkomst: string | null;
20451
20512
  id: string;
@@ -20453,6 +20514,9 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
20453
20514
  is_herprint: boolean;
20454
20515
  kopieen: number;
20455
20516
  layout_id: string | null;
20517
+ lokaal_opgeslagen_op: string | null;
20518
+ lokale_pdf_fout: string | null;
20519
+ lokale_pdf_status: string | null;
20456
20520
  opgepakt_op: string | null;
20457
20521
  paginas: number;
20458
20522
  payload: import("../integrations/supabase/types").Json;
@@ -20461,6 +20525,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
20461
20525
  pogingen: number;
20462
20526
  printer_id: string | null;
20463
20527
  render_html: string | null;
20528
+ resultaat_pdf_base64: string | null;
20464
20529
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20465
20530
  updated_at: string;
20466
20531
  volgende_poging: string | null;
@@ -20601,6 +20666,8 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
20601
20666
  order_id: string;
20602
20667
  order_source: string;
20603
20668
  pick_date: string;
20669
+ printed_at: string;
20670
+ printed_today: boolean;
20604
20671
  status: string;
20605
20672
  }[];
20606
20673
  };
@@ -20797,6 +20864,24 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
20797
20864
  };
20798
20865
  Returns: string;
20799
20866
  };
20867
+ floriday_capture_stock_snapshot: {
20868
+ Args: never;
20869
+ Returns: number;
20870
+ };
20871
+ floriday_cleanup_stock_queue_v2: {
20872
+ Args: never;
20873
+ Returns: undefined;
20874
+ };
20875
+ floriday_compact_stock_snapshots: {
20876
+ Args: never;
20877
+ Returns: undefined;
20878
+ };
20879
+ floriday_default_owner: {
20880
+ Args: {
20881
+ p_connection_id: string;
20882
+ };
20883
+ Returns: string;
20884
+ };
20800
20885
  floriday_effective_price: {
20801
20886
  Args: {
20802
20887
  _buyer_id: string;
@@ -20814,6 +20899,34 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
20814
20899
  source_id: string;
20815
20900
  }[];
20816
20901
  };
20902
+ floriday_fill_publish_horizon: {
20903
+ Args: never;
20904
+ Returns: number;
20905
+ };
20906
+ floriday_ingest_sales_orders: {
20907
+ Args: {
20908
+ p_limit?: number;
20909
+ };
20910
+ Returns: number;
20911
+ };
20912
+ floriday_publish_horizon_weeks: {
20913
+ Args: never;
20914
+ Returns: number;
20915
+ };
20916
+ floriday_recompute_inventory: {
20917
+ Args: {
20918
+ p_connection_id: string;
20919
+ p_force?: boolean;
20920
+ p_product_id: string;
20921
+ };
20922
+ Returns: undefined;
20923
+ };
20924
+ floriday_requeue_dead_letters: {
20925
+ Args: {
20926
+ p_connection_id?: string;
20927
+ };
20928
+ Returns: number;
20929
+ };
20817
20930
  format_cart_number: {
20818
20931
  Args: {
20819
20932
  p_pick_date: string;
@@ -21030,6 +21143,131 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
21030
21143
  Args: never;
21031
21144
  Returns: string;
21032
21145
  };
21146
+ handover_get: {
21147
+ Args: {
21148
+ _module_id: string;
21149
+ };
21150
+ Returns: import("../integrations/supabase/types").Json;
21151
+ };
21152
+ handover_kern_naam: {
21153
+ Args: {
21154
+ _naam: string;
21155
+ };
21156
+ Returns: string;
21157
+ };
21158
+ handover_ketenmodel: {
21159
+ Args: never;
21160
+ Returns: import("../integrations/supabase/types").Json;
21161
+ };
21162
+ handover_kruisconflicten: {
21163
+ Args: never;
21164
+ Returns: import("../integrations/supabase/types").Json;
21165
+ };
21166
+ handover_list: {
21167
+ Args: never;
21168
+ Returns: import("../integrations/supabase/types").Json;
21169
+ };
21170
+ handover_mag_schrijven: {
21171
+ Args: {
21172
+ _module_id: string;
21173
+ };
21174
+ Returns: boolean;
21175
+ };
21176
+ handover_norm_naam: {
21177
+ Args: {
21178
+ _naam: string;
21179
+ };
21180
+ Returns: string;
21181
+ };
21182
+ handover_publish: {
21183
+ Args: {
21184
+ _bevindingen?: string;
21185
+ _bezit_tabellen?: string[];
21186
+ _conflicten_snapshot?: import("../integrations/supabase/types").Json;
21187
+ _contractfuncties?: string[];
21188
+ _inhoud_md: string;
21189
+ _module_id: string;
21190
+ _module_titel: string;
21191
+ _ontbrekende_contracten?: string[];
21192
+ _samenvatting?: string;
21193
+ };
21194
+ Returns: number;
21195
+ };
21196
+ handover_publish_via_token: {
21197
+ Args: {
21198
+ _bevindingen?: string;
21199
+ _bezit_tabellen?: string[];
21200
+ _conflicten_snapshot?: import("../integrations/supabase/types").Json;
21201
+ _contractfuncties?: string[];
21202
+ _inhoud_md: string;
21203
+ _module_id: string;
21204
+ _module_titel: string;
21205
+ _ontbrekende_contracten?: string[];
21206
+ _samenvatting?: string;
21207
+ _token_hash: string;
21208
+ };
21209
+ Returns: number;
21210
+ };
21211
+ handover_status: {
21212
+ Args: never;
21213
+ Returns: import("../integrations/supabase/types").Json;
21214
+ };
21215
+ handover_synonym_kern: {
21216
+ Args: {
21217
+ _naam: string;
21218
+ };
21219
+ Returns: string;
21220
+ };
21221
+ handover_token_intrekken: {
21222
+ Args: {
21223
+ _id: string;
21224
+ };
21225
+ Returns: boolean;
21226
+ };
21227
+ handover_token_lijst: {
21228
+ Args: never;
21229
+ Returns: import("../integrations/supabase/types").Json;
21230
+ };
21231
+ handover_token_maken: {
21232
+ Args: {
21233
+ _label?: string;
21234
+ _module_id: string;
21235
+ };
21236
+ Returns: string;
21237
+ };
21238
+ handover_update: {
21239
+ Args: {
21240
+ _bezit_tabellen?: string[];
21241
+ _contractfuncties?: string[];
21242
+ _herzieningstermijn_dagen?: number;
21243
+ _inhoud_md?: string;
21244
+ _module_id: string;
21245
+ _module_titel?: string;
21246
+ _samenvatting?: string;
21247
+ _versie: number;
21248
+ };
21249
+ Returns: boolean;
21250
+ } | {
21251
+ Args: {
21252
+ _bevindingen?: string;
21253
+ _bezit_tabellen?: string[];
21254
+ _contractfuncties?: string[];
21255
+ _herzieningstermijn_dagen?: number;
21256
+ _inhoud_md?: string;
21257
+ _module_id: string;
21258
+ _module_titel?: string;
21259
+ _ontbrekende_contracten?: string[];
21260
+ _samenvatting?: string;
21261
+ _versie: number;
21262
+ };
21263
+ Returns: boolean;
21264
+ };
21265
+ handover_versies: {
21266
+ Args: {
21267
+ _module_id: string;
21268
+ };
21269
+ Returns: import("../integrations/supabase/types").Json;
21270
+ };
21033
21271
  has_module_permission: {
21034
21272
  Args: {
21035
21273
  _min: string;
@@ -21049,6 +21287,25 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
21049
21287
  Args: never;
21050
21288
  Returns: boolean;
21051
21289
  };
21290
+ instructie_get: {
21291
+ Args: {
21292
+ _sleutel: string;
21293
+ };
21294
+ Returns: import("../integrations/supabase/types").Json;
21295
+ };
21296
+ instructie_list: {
21297
+ Args: never;
21298
+ Returns: import("../integrations/supabase/types").Json;
21299
+ };
21300
+ instructie_publish: {
21301
+ Args: {
21302
+ _inhoud_md: string;
21303
+ _sleutel: string;
21304
+ _titel: string;
21305
+ _toelichting?: string;
21306
+ };
21307
+ Returns: number;
21308
+ };
21052
21309
  invoice_create_from_source: {
21053
21310
  Args: {
21054
21311
  _payload?: import("../integrations/supabase/types").Json;
@@ -21309,6 +21566,10 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
21309
21566
  };
21310
21567
  Returns: number;
21311
21568
  };
21569
+ logistics_cancel_orphan_tasks: {
21570
+ Args: never;
21571
+ Returns: number;
21572
+ };
21312
21573
  logistics_capacity_day_check: {
21313
21574
  Args: {
21314
21575
  p_from?: string;
@@ -21329,6 +21590,25 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
21329
21590
  };
21330
21591
  Returns: number;
21331
21592
  };
21593
+ logistics_cart_index: {
21594
+ Args: {
21595
+ p_from?: string;
21596
+ p_to?: string;
21597
+ };
21598
+ Returns: {
21599
+ cart_id: string;
21600
+ cart_index: number;
21601
+ cart_label: string;
21602
+ is_shared: boolean;
21603
+ order_number: string;
21604
+ order_source: string;
21605
+ order_uuid: string;
21606
+ pick_date: string;
21607
+ printed_at: string;
21608
+ shifted: boolean;
21609
+ task_status: string;
21610
+ }[];
21611
+ };
21332
21612
  logistics_check_order_allowed: {
21333
21613
  Args: {
21334
21614
  p_lines: import("../integrations/supabase/types").Json;
@@ -21477,6 +21757,17 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
21477
21757
  isSetofReturn: false;
21478
21758
  };
21479
21759
  };
21760
+ logistics_consistency_check: {
21761
+ Args: never;
21762
+ Returns: {
21763
+ agenda_carts: number;
21764
+ control_carts: number;
21765
+ ok: boolean;
21766
+ orphan_tasks: number;
21767
+ pick_date: string;
21768
+ raw_carts: number;
21769
+ }[];
21770
+ };
21480
21771
  logistics_delay_customer_email: {
21481
21772
  Args: {
21482
21773
  p_customer: string;
@@ -21502,6 +21793,12 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
21502
21793
  };
21503
21794
  Returns: string;
21504
21795
  };
21796
+ logistics_document_type_map: {
21797
+ Args: {
21798
+ _document_code: string;
21799
+ };
21800
+ Returns: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"][];
21801
+ };
21505
21802
  logistics_emit_event: {
21506
21803
  Args: {
21507
21804
  p_event_type: string;
@@ -21560,6 +21857,16 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
21560
21857
  isSetofReturn: false;
21561
21858
  };
21562
21859
  };
21860
+ logistics_floriday_cart_plan: {
21861
+ Args: {
21862
+ p_order_id: string;
21863
+ };
21864
+ Returns: {
21865
+ carrier_type: string;
21866
+ idx: number;
21867
+ packages: number;
21868
+ }[];
21869
+ };
21563
21870
  logistics_floriday_claim_pushes: {
21564
21871
  Args: {
21565
21872
  _lease_seconds?: number;
@@ -21664,6 +21971,25 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
21664
21971
  };
21665
21972
  Returns: number;
21666
21973
  };
21974
+ logistics_order_overview: {
21975
+ Args: {
21976
+ p_from?: string;
21977
+ p_to?: string;
21978
+ };
21979
+ Returns: {
21980
+ cart_count: number;
21981
+ customer_name: string;
21982
+ delivery_date: string;
21983
+ order_number: string;
21984
+ order_source: string;
21985
+ order_uuid: string;
21986
+ pick_date: string;
21987
+ plant_count: number;
21988
+ printed_at: string;
21989
+ shifted: boolean;
21990
+ status: string;
21991
+ }[];
21992
+ };
21667
21993
  logistics_order_pick_day: {
21668
21994
  Args: {
21669
21995
  p_order_ref: string;
@@ -21676,6 +22002,22 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
21676
22002
  };
21677
22003
  Returns: string;
21678
22004
  };
22005
+ logistics_pick_agenda: {
22006
+ Args: {
22007
+ p_from?: string;
22008
+ p_to?: string;
22009
+ };
22010
+ Returns: {
22011
+ cart_count: number;
22012
+ in_preparation: number;
22013
+ order_count: number;
22014
+ orders: import("../integrations/supabase/types").Json;
22015
+ pick_date: string;
22016
+ plant_count: number;
22017
+ ready: number;
22018
+ shifted_count: number;
22019
+ }[];
22020
+ };
21679
22021
  logistics_pick_email_purpose: {
21680
22022
  Args: never;
21681
22023
  Returns: string;
@@ -21730,6 +22072,13 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
21730
22072
  };
21731
22073
  Returns: undefined;
21732
22074
  };
22075
+ logistics_plan_floriday_order: {
22076
+ Args: {
22077
+ p_buffer_id?: string;
22078
+ p_order_id: string;
22079
+ };
22080
+ Returns: number;
22081
+ };
21733
22082
  logistics_plan_impact_orders: {
21734
22083
  Args: {
21735
22084
  p_order_id: string;
@@ -21835,6 +22184,15 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
21835
22184
  };
21836
22185
  Returns: import("../integrations/supabase/types").Json;
21837
22186
  };
22187
+ logistics_resolve_pick_document: {
22188
+ Args: {
22189
+ _is_herprint: boolean;
22190
+ _queue_item_id: string;
22191
+ _session_id: string;
22192
+ _voorbeeld: boolean;
22193
+ };
22194
+ Returns: import("../integrations/supabase/types").Json;
22195
+ };
21838
22196
  logistics_resolve_settings: {
21839
22197
  Args: {
21840
22198
  p_config_id: string;
@@ -22275,6 +22633,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
22275
22633
  };
22276
22634
  pick_enqueue_print_job: {
22277
22635
  Args: {
22636
+ _is_herprint?: boolean;
22278
22637
  _printer_id?: string;
22279
22638
  _queue_item_id: string;
22280
22639
  _session_id?: string;
@@ -22288,6 +22647,13 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
22288
22647
  };
22289
22648
  Returns: import("../integrations/supabase/types").Json;
22290
22649
  };
22650
+ pick_preview_job: {
22651
+ Args: {
22652
+ _queue_item_id: string;
22653
+ _station_slug: string;
22654
+ };
22655
+ Returns: import("../integrations/supabase/types").Json;
22656
+ };
22291
22657
  pick_print_job_status: {
22292
22658
  Args: {
22293
22659
  _job_id: string;
@@ -22465,6 +22831,84 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
22465
22831
  };
22466
22832
  Returns: undefined;
22467
22833
  };
22834
+ planning_cancel_item: {
22835
+ Args: {
22836
+ _id: string;
22837
+ };
22838
+ Returns: undefined;
22839
+ };
22840
+ planning_list: {
22841
+ Args: {
22842
+ _from: string;
22843
+ _to: string;
22844
+ };
22845
+ Returns: {
22846
+ assigned_monteur_id: string | null;
22847
+ assistants: import("../integrations/supabase/types").Json | null;
22848
+ budget_mandate_cents: number | null;
22849
+ created_at: string | null;
22850
+ created_by: string | null;
22851
+ customer_id: string | null;
22852
+ customer_name: string | null;
22853
+ duration_minutes: number | null;
22854
+ end_at: string | null;
22855
+ id: string | null;
22856
+ needs_detail_review: boolean | null;
22857
+ notes: string | null;
22858
+ project_number: string | null;
22859
+ review_reasons: string[] | null;
22860
+ start_at: string | null;
22861
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"] | null;
22862
+ updated_at: string | null;
22863
+ viewer_role: string | null;
22864
+ werkbon_id: string | null;
22865
+ work_address: string | null;
22866
+ }[];
22867
+ SetofOptions: {
22868
+ from: "*";
22869
+ to: "planning_overview";
22870
+ isOneToOne: false;
22871
+ isSetofReturn: true;
22872
+ };
22873
+ };
22874
+ planning_set_assistants: {
22875
+ Args: {
22876
+ _monteur_ids: string[];
22877
+ _planning_item_id: string;
22878
+ };
22879
+ Returns: undefined;
22880
+ };
22881
+ planning_upsert_item: {
22882
+ Args: {
22883
+ _assigned_monteur_id: string;
22884
+ _end_at: string;
22885
+ _notes?: string;
22886
+ _start_at: string;
22887
+ _werkbon_id: string;
22888
+ };
22889
+ Returns: {
22890
+ action: string;
22891
+ id: string;
22892
+ }[];
22893
+ };
22894
+ print_preview_toestaan: {
22895
+ Args: {
22896
+ _max?: number;
22897
+ _queue_item_id: string;
22898
+ _station_slug: string;
22899
+ _venster_sec?: number;
22900
+ };
22901
+ Returns: import("../integrations/supabase/types").Json;
22902
+ };
22903
+ print_preview_weiger: {
22904
+ Args: {
22905
+ _code: string;
22906
+ _queue_item_id: string;
22907
+ _reden: string;
22908
+ _station_slug: string;
22909
+ };
22910
+ Returns: undefined;
22911
+ };
22468
22912
  process_logistics_event: {
22469
22913
  Args: {
22470
22914
  p_event_id: string;
@@ -22582,6 +23026,14 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
22582
23026
  };
22583
23027
  Returns: undefined;
22584
23028
  };
23029
+ replace_order_carts: {
23030
+ Args: {
23031
+ p_buffer_id: string;
23032
+ p_carts: import("../integrations/supabase/types").Json;
23033
+ p_order_id: string;
23034
+ };
23035
+ Returns: import("../integrations/supabase/types").Json;
23036
+ };
22585
23037
  reset_floriday_sync_cursor: {
22586
23038
  Args: {
22587
23039
  p_connection_id: string;
@@ -22611,6 +23063,12 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
22611
23063
  };
22612
23064
  Returns: string;
22613
23065
  };
23066
+ resolve_print_job_printer_id: {
23067
+ Args: {
23068
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
23069
+ };
23070
+ Returns: string;
23071
+ };
22614
23072
  resolve_product_id_for_item: {
22615
23073
  Args: {
22616
23074
  p_product_name: string;
@@ -23014,6 +23472,26 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
23014
23472
  };
23015
23473
  Returns: string[];
23016
23474
  };
23475
+ start_time_log_at: {
23476
+ Args: {
23477
+ p_clicked_at?: string;
23478
+ p_employee_id: string;
23479
+ p_start_lat?: number;
23480
+ p_start_lng?: number;
23481
+ p_type: string;
23482
+ p_work_order_id?: string;
23483
+ };
23484
+ Returns: import("../integrations/supabase/types").Json;
23485
+ };
23486
+ stop_time_log: {
23487
+ Args: {
23488
+ p_employee_id: string;
23489
+ p_end_lat?: number;
23490
+ p_end_lng?: number;
23491
+ p_end_time: string;
23492
+ };
23493
+ Returns: import("../integrations/supabase/types").Json;
23494
+ };
23017
23495
  switch_time_log: {
23018
23496
  Args: {
23019
23497
  p_employee_id: string;
@@ -23202,7 +23680,7 @@ export declare const getFloridayVbnRequired: import("@tanstack/start-client-core
23202
23680
  };
23203
23681
  CompositeTypes: { [_ in never]: never; };
23204
23682
  }, {
23205
- PostgrestVersion: "14.17";
23683
+ PostgrestVersion: "14.5";
23206
23684
  }>;
23207
23685
  userId: string;
23208
23686
  claims: import("@supabase/auth-js").JwtPayload;
@@ -26071,6 +26549,84 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
26071
26549
  };
26072
26550
  Relationships: [];
26073
26551
  };
26552
+ delivery_notes: {
26553
+ Row: {
26554
+ byte_size: number | null;
26555
+ connection_id: string | null;
26556
+ content_type: string;
26557
+ created_at: string;
26558
+ error_message: string | null;
26559
+ fetched_at: string | null;
26560
+ fulfillment_order_id: string | null;
26561
+ http_status: number | null;
26562
+ id: string;
26563
+ label_code: string | null;
26564
+ letter: string | null;
26565
+ load_carrier_index: number | null;
26566
+ load_carrier_type: string | null;
26567
+ order_id: string | null;
26568
+ order_number: string | null;
26569
+ packages: number | null;
26570
+ source: string;
26571
+ status: string;
26572
+ storage_bucket: string;
26573
+ storage_path: string | null;
26574
+ updated_at: string;
26575
+ };
26576
+ Insert: {
26577
+ byte_size?: number | null;
26578
+ connection_id?: string | null;
26579
+ content_type?: string;
26580
+ created_at?: string;
26581
+ error_message?: string | null;
26582
+ fetched_at?: string | null;
26583
+ fulfillment_order_id?: string | null;
26584
+ http_status?: number | null;
26585
+ id?: string;
26586
+ label_code?: string | null;
26587
+ letter?: string | null;
26588
+ load_carrier_index?: number | null;
26589
+ load_carrier_type?: string | null;
26590
+ order_id?: string | null;
26591
+ order_number?: string | null;
26592
+ packages?: number | null;
26593
+ source?: string;
26594
+ status?: string;
26595
+ storage_bucket?: string;
26596
+ storage_path?: string | null;
26597
+ updated_at?: string;
26598
+ };
26599
+ Update: {
26600
+ byte_size?: number | null;
26601
+ connection_id?: string | null;
26602
+ content_type?: string;
26603
+ created_at?: string;
26604
+ error_message?: string | null;
26605
+ fetched_at?: string | null;
26606
+ fulfillment_order_id?: string | null;
26607
+ http_status?: number | null;
26608
+ id?: string;
26609
+ label_code?: string | null;
26610
+ letter?: string | null;
26611
+ load_carrier_index?: number | null;
26612
+ load_carrier_type?: string | null;
26613
+ order_id?: string | null;
26614
+ order_number?: string | null;
26615
+ packages?: number | null;
26616
+ source?: string;
26617
+ status?: string;
26618
+ storage_bucket?: string;
26619
+ storage_path?: string | null;
26620
+ updated_at?: string;
26621
+ };
26622
+ Relationships: [{
26623
+ foreignKeyName: "delivery_notes_order_id_fkey";
26624
+ columns: ["order_id"];
26625
+ isOneToOne: false;
26626
+ referencedRelation: "orders";
26627
+ referencedColumns: ["id"];
26628
+ }];
26629
+ };
26074
26630
  document_bronregels: {
26075
26631
  Row: {
26076
26632
  bron: string;
@@ -29124,10 +29680,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
29124
29680
  };
29125
29681
  floriday_connections: {
29126
29682
  Row: {
29127
- access_token: string | null;
29128
29683
  api_key: string;
29129
- client_id: string;
29130
- client_secret: string;
29131
29684
  created_at: string;
29132
29685
  customers_endpoint: string | null;
29133
29686
  environment: string;
@@ -29142,10 +29695,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
29142
29695
  updated_at: string;
29143
29696
  };
29144
29697
  Insert: {
29145
- access_token?: string | null;
29146
29698
  api_key: string;
29147
- client_id: string;
29148
- client_secret: string;
29149
29699
  created_at?: string;
29150
29700
  customers_endpoint?: string | null;
29151
29701
  environment: string;
@@ -29160,10 +29710,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
29160
29710
  updated_at?: string;
29161
29711
  };
29162
29712
  Update: {
29163
- access_token?: string | null;
29164
29713
  api_key?: string;
29165
- client_id?: string;
29166
- client_secret?: string;
29167
29714
  created_at?: string;
29168
29715
  customers_endpoint?: string | null;
29169
29716
  environment?: string;
@@ -29247,6 +29794,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
29247
29794
  attempts: number;
29248
29795
  connection_id: string;
29249
29796
  created_at: string;
29797
+ dead_lettered_at: string | null;
29250
29798
  desired_available: boolean | null;
29251
29799
  gateway_attempt_id: string | null;
29252
29800
  id: string;
@@ -29255,9 +29803,13 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
29255
29803
  locked_by: string | null;
29256
29804
  next_attempt_at: string;
29257
29805
  number_of_pieces: number;
29806
+ product_id: string | null;
29258
29807
  sent_at: string | null;
29259
29808
  status: string;
29809
+ stock_mode: string | null;
29260
29810
  superseded_by: string | null;
29811
+ target_week: number | null;
29812
+ target_year: number | null;
29261
29813
  trade_item_id: string;
29262
29814
  updated_at: string;
29263
29815
  user_id: string;
@@ -29266,6 +29818,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
29266
29818
  attempts?: number;
29267
29819
  connection_id: string;
29268
29820
  created_at?: string;
29821
+ dead_lettered_at?: string | null;
29269
29822
  desired_available?: boolean | null;
29270
29823
  gateway_attempt_id?: string | null;
29271
29824
  id?: string;
@@ -29274,9 +29827,13 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
29274
29827
  locked_by?: string | null;
29275
29828
  next_attempt_at?: string;
29276
29829
  number_of_pieces?: number;
29830
+ product_id?: string | null;
29277
29831
  sent_at?: string | null;
29278
29832
  status?: string;
29833
+ stock_mode?: string | null;
29279
29834
  superseded_by?: string | null;
29835
+ target_week?: number | null;
29836
+ target_year?: number | null;
29280
29837
  trade_item_id: string;
29281
29838
  updated_at?: string;
29282
29839
  user_id: string;
@@ -29285,6 +29842,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
29285
29842
  attempts?: number;
29286
29843
  connection_id?: string;
29287
29844
  created_at?: string;
29845
+ dead_lettered_at?: string | null;
29288
29846
  desired_available?: boolean | null;
29289
29847
  gateway_attempt_id?: string | null;
29290
29848
  id?: string;
@@ -29293,9 +29851,13 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
29293
29851
  locked_by?: string | null;
29294
29852
  next_attempt_at?: string;
29295
29853
  number_of_pieces?: number;
29854
+ product_id?: string | null;
29296
29855
  sent_at?: string | null;
29297
29856
  status?: string;
29857
+ stock_mode?: string | null;
29298
29858
  superseded_by?: string | null;
29859
+ target_week?: number | null;
29860
+ target_year?: number | null;
29299
29861
  trade_item_id?: string;
29300
29862
  updated_at?: string;
29301
29863
  user_id?: string;
@@ -29704,6 +30266,87 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
29704
30266
  referencedColumns: ["id"];
29705
30267
  }];
29706
30268
  };
30269
+ floriday_inventory_settings: {
30270
+ Row: {
30271
+ buffer_quantity: number;
30272
+ connection_id: string;
30273
+ created_at: string;
30274
+ desired_availability: boolean;
30275
+ desired_quantity: number;
30276
+ fixed_quantity: number | null;
30277
+ floriday_trade_item_id: string | null;
30278
+ id: string;
30279
+ last_confirmed_at: string | null;
30280
+ last_enqueued_at: string | null;
30281
+ last_published_at: string | null;
30282
+ last_sync_error: string | null;
30283
+ manual_quantity: number | null;
30284
+ maximum_quantity: number | null;
30285
+ product_id: string;
30286
+ quantity_control: string;
30287
+ remote_available: boolean | null;
30288
+ remote_checked_at: string | null;
30289
+ remote_quantity: number | null;
30290
+ stock_mode: string;
30291
+ sync_status: string;
30292
+ updated_at: string;
30293
+ updated_by: string | null;
30294
+ user_id: string;
30295
+ };
30296
+ Insert: {
30297
+ buffer_quantity?: number;
30298
+ connection_id: string;
30299
+ created_at?: string;
30300
+ desired_availability?: boolean;
30301
+ desired_quantity?: number;
30302
+ fixed_quantity?: number | null;
30303
+ floriday_trade_item_id?: string | null;
30304
+ id?: string;
30305
+ last_confirmed_at?: string | null;
30306
+ last_enqueued_at?: string | null;
30307
+ last_published_at?: string | null;
30308
+ last_sync_error?: string | null;
30309
+ manual_quantity?: number | null;
30310
+ maximum_quantity?: number | null;
30311
+ product_id: string;
30312
+ quantity_control?: string;
30313
+ remote_available?: boolean | null;
30314
+ remote_checked_at?: string | null;
30315
+ remote_quantity?: number | null;
30316
+ stock_mode?: string;
30317
+ sync_status?: string;
30318
+ updated_at?: string;
30319
+ updated_by?: string | null;
30320
+ user_id: string;
30321
+ };
30322
+ Update: {
30323
+ buffer_quantity?: number;
30324
+ connection_id?: string;
30325
+ created_at?: string;
30326
+ desired_availability?: boolean;
30327
+ desired_quantity?: number;
30328
+ fixed_quantity?: number | null;
30329
+ floriday_trade_item_id?: string | null;
30330
+ id?: string;
30331
+ last_confirmed_at?: string | null;
30332
+ last_enqueued_at?: string | null;
30333
+ last_published_at?: string | null;
30334
+ last_sync_error?: string | null;
30335
+ manual_quantity?: number | null;
30336
+ maximum_quantity?: number | null;
30337
+ product_id?: string;
30338
+ quantity_control?: string;
30339
+ remote_available?: boolean | null;
30340
+ remote_checked_at?: string | null;
30341
+ remote_quantity?: number | null;
30342
+ stock_mode?: string;
30343
+ sync_status?: string;
30344
+ updated_at?: string;
30345
+ updated_by?: string | null;
30346
+ user_id?: string;
30347
+ };
30348
+ Relationships: [];
30349
+ };
29707
30350
  floriday_invoices_cache: {
29708
30351
  Row: {
29709
30352
  buyer_organization_id: string | null;
@@ -29992,6 +30635,39 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
29992
30635
  };
29993
30636
  Relationships: [];
29994
30637
  };
30638
+ floriday_sales_order_ingest: {
30639
+ Row: {
30640
+ connection_id: string;
30641
+ created_at: string;
30642
+ id: string;
30643
+ impact: import("../integrations/supabase/types").Json;
30644
+ order_status: string | null;
30645
+ order_version: number;
30646
+ processed_at: string;
30647
+ sales_order_id: string;
30648
+ };
30649
+ Insert: {
30650
+ connection_id: string;
30651
+ created_at?: string;
30652
+ id?: string;
30653
+ impact?: import("../integrations/supabase/types").Json;
30654
+ order_status?: string | null;
30655
+ order_version?: number;
30656
+ processed_at?: string;
30657
+ sales_order_id: string;
30658
+ };
30659
+ Update: {
30660
+ connection_id?: string;
30661
+ created_at?: string;
30662
+ id?: string;
30663
+ impact?: import("../integrations/supabase/types").Json;
30664
+ order_status?: string | null;
30665
+ order_version?: number;
30666
+ processed_at?: string;
30667
+ sales_order_id?: string;
30668
+ };
30669
+ Relationships: [];
30670
+ };
29995
30671
  floriday_sales_strategies_cache: {
29996
30672
  Row: {
29997
30673
  connection_id: string;
@@ -30091,6 +30767,39 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
30091
30767
  };
30092
30768
  Relationships: [];
30093
30769
  };
30770
+ floriday_sync_cursors: {
30771
+ Row: {
30772
+ connection_id: string;
30773
+ created_at: string;
30774
+ id: string;
30775
+ last_error: string | null;
30776
+ last_sync_at: string | null;
30777
+ resource_type: string;
30778
+ sequence_number: number;
30779
+ updated_at: string;
30780
+ };
30781
+ Insert: {
30782
+ connection_id: string;
30783
+ created_at?: string;
30784
+ id?: string;
30785
+ last_error?: string | null;
30786
+ last_sync_at?: string | null;
30787
+ resource_type: string;
30788
+ sequence_number?: number;
30789
+ updated_at?: string;
30790
+ };
30791
+ Update: {
30792
+ connection_id?: string;
30793
+ created_at?: string;
30794
+ id?: string;
30795
+ last_error?: string | null;
30796
+ last_sync_at?: string | null;
30797
+ resource_type?: string;
30798
+ sequence_number?: number;
30799
+ updated_at?: string;
30800
+ };
30801
+ Relationships: [];
30802
+ };
30094
30803
  floriday_sync_state: {
30095
30804
  Row: {
30096
30805
  connection_id: string;
@@ -30781,6 +31490,42 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
30781
31490
  };
30782
31491
  Relationships: [];
30783
31492
  };
31493
+ inventory_stock_snapshots: {
31494
+ Row: {
31495
+ connection_id: string;
31496
+ created_at: string;
31497
+ erp_available_quantity: number;
31498
+ floriday_desired_quantity: number;
31499
+ floriday_remote_quantity: number | null;
31500
+ granularity: string;
31501
+ id: string;
31502
+ snapshot_at: string;
31503
+ user_id: string | null;
31504
+ };
31505
+ Insert: {
31506
+ connection_id: string;
31507
+ created_at?: string;
31508
+ erp_available_quantity?: number;
31509
+ floriday_desired_quantity?: number;
31510
+ floriday_remote_quantity?: number | null;
31511
+ granularity?: string;
31512
+ id?: string;
31513
+ snapshot_at?: string;
31514
+ user_id?: string | null;
31515
+ };
31516
+ Update: {
31517
+ connection_id?: string;
31518
+ created_at?: string;
31519
+ erp_available_quantity?: number;
31520
+ floriday_desired_quantity?: number;
31521
+ floriday_remote_quantity?: number | null;
31522
+ granularity?: string;
31523
+ id?: string;
31524
+ snapshot_at?: string;
31525
+ user_id?: string | null;
31526
+ };
31527
+ Relationships: [];
31528
+ };
30784
31529
  invoice_items: {
30785
31530
  Row: {
30786
31531
  created_at: string;
@@ -31289,13 +32034,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
31289
32034
  segment?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
31290
32035
  updated_at?: string;
31291
32036
  };
31292
- Relationships: [{
31293
- foreignKeyName: "itk_customers_legacy_customer_id_fkey";
31294
- columns: ["legacy_customer_id"];
31295
- isOneToOne: false;
31296
- referencedRelation: "customers";
31297
- referencedColumns: ["id"];
31298
- }];
32037
+ Relationships: [];
31299
32038
  };
31300
32039
  itk_dynamic_fields: {
31301
32040
  Row: {
@@ -31327,6 +32066,180 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
31327
32066
  };
31328
32067
  Relationships: [];
31329
32068
  };
32069
+ itk_handover_rechten: {
32070
+ Row: {
32071
+ created_at: string;
32072
+ id: string;
32073
+ module_id: string;
32074
+ rol: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"] | null;
32075
+ updated_at: string;
32076
+ user_id: string | null;
32077
+ };
32078
+ Insert: {
32079
+ created_at?: string;
32080
+ id?: string;
32081
+ module_id: string;
32082
+ rol?: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"] | null;
32083
+ updated_at?: string;
32084
+ user_id?: string | null;
32085
+ };
32086
+ Update: {
32087
+ created_at?: string;
32088
+ id?: string;
32089
+ module_id?: string;
32090
+ rol?: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"] | null;
32091
+ updated_at?: string;
32092
+ user_id?: string | null;
32093
+ };
32094
+ Relationships: [];
32095
+ };
32096
+ itk_handover_tokens: {
32097
+ Row: {
32098
+ aangemaakt_door: string | null;
32099
+ created_at: string;
32100
+ id: string;
32101
+ is_actief: boolean;
32102
+ laatst_gebruikt_op: string | null;
32103
+ label: string;
32104
+ module_id: string;
32105
+ token_hash: string;
32106
+ updated_at: string;
32107
+ verloopt_op: string | null;
32108
+ };
32109
+ Insert: {
32110
+ aangemaakt_door?: string | null;
32111
+ created_at?: string;
32112
+ id?: string;
32113
+ is_actief?: boolean;
32114
+ laatst_gebruikt_op?: string | null;
32115
+ label?: string;
32116
+ module_id: string;
32117
+ token_hash: string;
32118
+ updated_at?: string;
32119
+ verloopt_op?: string | null;
32120
+ };
32121
+ Update: {
32122
+ aangemaakt_door?: string | null;
32123
+ created_at?: string;
32124
+ id?: string;
32125
+ is_actief?: boolean;
32126
+ laatst_gebruikt_op?: string | null;
32127
+ label?: string;
32128
+ module_id?: string;
32129
+ token_hash?: string;
32130
+ updated_at?: string;
32131
+ verloopt_op?: string | null;
32132
+ };
32133
+ Relationships: [];
32134
+ };
32135
+ itk_module_handovers: {
32136
+ Row: {
32137
+ bevindingen: string | null;
32138
+ bezit_tabellen: string[];
32139
+ conflicten_snapshot: import("../integrations/supabase/types").Json;
32140
+ contractfuncties: string[];
32141
+ created_at: string;
32142
+ eigenaar_module_id: string | null;
32143
+ gepubliceerd_door: string | null;
32144
+ gepubliceerd_op: string;
32145
+ herzieningstermijn_dagen: number;
32146
+ id: string;
32147
+ inhoud_md: string;
32148
+ is_actueel: boolean;
32149
+ module_id: string;
32150
+ module_titel: string;
32151
+ ontbrekende_contracten: string[];
32152
+ samenvatting: string | null;
32153
+ updated_at: string;
32154
+ versie: number;
32155
+ };
32156
+ Insert: {
32157
+ bevindingen?: string | null;
32158
+ bezit_tabellen?: string[];
32159
+ conflicten_snapshot?: import("../integrations/supabase/types").Json;
32160
+ contractfuncties?: string[];
32161
+ created_at?: string;
32162
+ eigenaar_module_id?: string | null;
32163
+ gepubliceerd_door?: string | null;
32164
+ gepubliceerd_op?: string;
32165
+ herzieningstermijn_dagen?: number;
32166
+ id?: string;
32167
+ inhoud_md: string;
32168
+ is_actueel?: boolean;
32169
+ module_id: string;
32170
+ module_titel: string;
32171
+ ontbrekende_contracten?: string[];
32172
+ samenvatting?: string | null;
32173
+ updated_at?: string;
32174
+ versie?: number;
32175
+ };
32176
+ Update: {
32177
+ bevindingen?: string | null;
32178
+ bezit_tabellen?: string[];
32179
+ conflicten_snapshot?: import("../integrations/supabase/types").Json;
32180
+ contractfuncties?: string[];
32181
+ created_at?: string;
32182
+ eigenaar_module_id?: string | null;
32183
+ gepubliceerd_door?: string | null;
32184
+ gepubliceerd_op?: string;
32185
+ herzieningstermijn_dagen?: number;
32186
+ id?: string;
32187
+ inhoud_md?: string;
32188
+ is_actueel?: boolean;
32189
+ module_id?: string;
32190
+ module_titel?: string;
32191
+ ontbrekende_contracten?: string[];
32192
+ samenvatting?: string | null;
32193
+ updated_at?: string;
32194
+ versie?: number;
32195
+ };
32196
+ Relationships: [];
32197
+ };
32198
+ itk_module_instructies: {
32199
+ Row: {
32200
+ created_at: string;
32201
+ eigenaar_module_id: string;
32202
+ gepubliceerd_door: string | null;
32203
+ gepubliceerd_op: string;
32204
+ id: string;
32205
+ inhoud_md: string;
32206
+ is_actueel: boolean;
32207
+ sleutel: string;
32208
+ titel: string;
32209
+ toelichting: string | null;
32210
+ updated_at: string;
32211
+ versie: number;
32212
+ };
32213
+ Insert: {
32214
+ created_at?: string;
32215
+ eigenaar_module_id?: string;
32216
+ gepubliceerd_door?: string | null;
32217
+ gepubliceerd_op?: string;
32218
+ id?: string;
32219
+ inhoud_md: string;
32220
+ is_actueel?: boolean;
32221
+ sleutel: string;
32222
+ titel: string;
32223
+ toelichting?: string | null;
32224
+ updated_at?: string;
32225
+ versie?: number;
32226
+ };
32227
+ Update: {
32228
+ created_at?: string;
32229
+ eigenaar_module_id?: string;
32230
+ gepubliceerd_door?: string | null;
32231
+ gepubliceerd_op?: string;
32232
+ id?: string;
32233
+ inhoud_md?: string;
32234
+ is_actueel?: boolean;
32235
+ sleutel?: string;
32236
+ titel?: string;
32237
+ toelichting?: string | null;
32238
+ updated_at?: string;
32239
+ versie?: number;
32240
+ };
32241
+ Relationships: [];
32242
+ };
31330
32243
  itk_offerte_events: {
31331
32244
  Row: {
31332
32245
  created_at: string;
@@ -33955,6 +34868,24 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
33955
34868
  };
33956
34869
  Relationships: [];
33957
34870
  };
34871
+ maps_job_lease: {
34872
+ Row: {
34873
+ job: string;
34874
+ locked_until: string;
34875
+ updated_at: string;
34876
+ };
34877
+ Insert: {
34878
+ job: string;
34879
+ locked_until?: string;
34880
+ updated_at?: string;
34881
+ };
34882
+ Update: {
34883
+ job?: string;
34884
+ locked_until?: string;
34885
+ updated_at?: string;
34886
+ };
34887
+ Relationships: [];
34888
+ };
33958
34889
  maps_request_queue: {
33959
34890
  Row: {
33960
34891
  attempts: number;
@@ -34016,6 +34947,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
34016
34947
  last_error: string | null;
34017
34948
  last_error_at: string | null;
34018
34949
  last_success_at: string | null;
34950
+ provider: string;
34019
34951
  updated_at: string;
34020
34952
  };
34021
34953
  Insert: {
@@ -34027,6 +34959,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
34027
34959
  last_error?: string | null;
34028
34960
  last_error_at?: string | null;
34029
34961
  last_success_at?: string | null;
34962
+ provider?: string;
34030
34963
  updated_at?: string;
34031
34964
  };
34032
34965
  Update: {
@@ -34038,6 +34971,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
34038
34971
  last_error?: string | null;
34039
34972
  last_error_at?: string | null;
34040
34973
  last_success_at?: string | null;
34974
+ provider?: string;
34041
34975
  updated_at?: string;
34042
34976
  };
34043
34977
  Relationships: [];
@@ -36680,6 +37614,12 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
36680
37614
  isOneToOne: false;
36681
37615
  referencedRelation: "planning_items";
36682
37616
  referencedColumns: ["id"];
37617
+ }, {
37618
+ foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
37619
+ columns: ["planning_item_id"];
37620
+ isOneToOne: false;
37621
+ referencedRelation: "planning_overview";
37622
+ referencedColumns: ["id"];
36683
37623
  }];
36684
37624
  };
36685
37625
  planning_items: {
@@ -36775,6 +37715,39 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
36775
37715
  };
36776
37716
  Relationships: [];
36777
37717
  };
37718
+ print_dedupe_events: {
37719
+ Row: {
37720
+ bestaande_job_id: string | null;
37721
+ created_at: string;
37722
+ detail: string | null;
37723
+ documentnaam: string | null;
37724
+ documenttype: string | null;
37725
+ id: string;
37726
+ idempotentie_sleutel: string;
37727
+ reden: string;
37728
+ };
37729
+ Insert: {
37730
+ bestaande_job_id?: string | null;
37731
+ created_at?: string;
37732
+ detail?: string | null;
37733
+ documentnaam?: string | null;
37734
+ documenttype?: string | null;
37735
+ id?: string;
37736
+ idempotentie_sleutel: string;
37737
+ reden: string;
37738
+ };
37739
+ Update: {
37740
+ bestaande_job_id?: string | null;
37741
+ created_at?: string;
37742
+ detail?: string | null;
37743
+ documentnaam?: string | null;
37744
+ documenttype?: string | null;
37745
+ id?: string;
37746
+ idempotentie_sleutel?: string;
37747
+ reden?: string;
37748
+ };
37749
+ Relationships: [];
37750
+ };
36778
37751
  print_job_logs: {
36779
37752
  Row: {
36780
37753
  created_at: string;
@@ -36816,6 +37789,8 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
36816
37789
  foutmelding: string | null;
36817
37790
  gebruiker_id: string | null;
36818
37791
  gebruiker_naam: string;
37792
+ gebruikte_bron: string | null;
37793
+ gebruikte_layout_id: string | null;
36819
37794
  gestart_op: string | null;
36820
37795
  herkomst: string | null;
36821
37796
  id: string;
@@ -36823,6 +37798,9 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
36823
37798
  is_herprint: boolean;
36824
37799
  kopieen: number;
36825
37800
  layout_id: string | null;
37801
+ lokaal_opgeslagen_op: string | null;
37802
+ lokale_pdf_fout: string | null;
37803
+ lokale_pdf_status: string | null;
36826
37804
  opgepakt_op: string | null;
36827
37805
  paginas: number;
36828
37806
  payload: import("../integrations/supabase/types").Json;
@@ -36831,6 +37809,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
36831
37809
  pogingen: number;
36832
37810
  printer_id: string | null;
36833
37811
  render_html: string | null;
37812
+ resultaat_pdf_base64: string | null;
36834
37813
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36835
37814
  updated_at: string;
36836
37815
  volgende_poging: string | null;
@@ -36846,6 +37825,8 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
36846
37825
  foutmelding?: string | null;
36847
37826
  gebruiker_id?: string | null;
36848
37827
  gebruiker_naam?: string;
37828
+ gebruikte_bron?: string | null;
37829
+ gebruikte_layout_id?: string | null;
36849
37830
  gestart_op?: string | null;
36850
37831
  herkomst?: string | null;
36851
37832
  id?: string;
@@ -36853,6 +37834,9 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
36853
37834
  is_herprint?: boolean;
36854
37835
  kopieen?: number;
36855
37836
  layout_id?: string | null;
37837
+ lokaal_opgeslagen_op?: string | null;
37838
+ lokale_pdf_fout?: string | null;
37839
+ lokale_pdf_status?: string | null;
36856
37840
  opgepakt_op?: string | null;
36857
37841
  paginas?: number;
36858
37842
  payload?: import("../integrations/supabase/types").Json;
@@ -36861,6 +37845,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
36861
37845
  pogingen?: number;
36862
37846
  printer_id?: string | null;
36863
37847
  render_html?: string | null;
37848
+ resultaat_pdf_base64?: string | null;
36864
37849
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36865
37850
  updated_at?: string;
36866
37851
  volgende_poging?: string | null;
@@ -36876,6 +37861,8 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
36876
37861
  foutmelding?: string | null;
36877
37862
  gebruiker_id?: string | null;
36878
37863
  gebruiker_naam?: string;
37864
+ gebruikte_bron?: string | null;
37865
+ gebruikte_layout_id?: string | null;
36879
37866
  gestart_op?: string | null;
36880
37867
  herkomst?: string | null;
36881
37868
  id?: string;
@@ -36883,6 +37870,9 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
36883
37870
  is_herprint?: boolean;
36884
37871
  kopieen?: number;
36885
37872
  layout_id?: string | null;
37873
+ lokaal_opgeslagen_op?: string | null;
37874
+ lokale_pdf_fout?: string | null;
37875
+ lokale_pdf_status?: string | null;
36886
37876
  opgepakt_op?: string | null;
36887
37877
  paginas?: number;
36888
37878
  payload?: import("../integrations/supabase/types").Json;
@@ -36891,6 +37881,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
36891
37881
  pogingen?: number;
36892
37882
  printer_id?: string | null;
36893
37883
  render_html?: string | null;
37884
+ resultaat_pdf_base64?: string | null;
36894
37885
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36895
37886
  updated_at?: string;
36896
37887
  volgende_poging?: string | null;
@@ -37009,6 +38000,39 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
37009
38000
  };
37010
38001
  Relationships: [];
37011
38002
  };
38003
+ print_preview_events: {
38004
+ Row: {
38005
+ code: string | null;
38006
+ created_at: string;
38007
+ detail: import("../integrations/supabase/types").Json;
38008
+ id: string;
38009
+ queue_item_id: string | null;
38010
+ reden: string | null;
38011
+ station_slug: string | null;
38012
+ uitkomst: string;
38013
+ };
38014
+ Insert: {
38015
+ code?: string | null;
38016
+ created_at?: string;
38017
+ detail?: import("../integrations/supabase/types").Json;
38018
+ id?: string;
38019
+ queue_item_id?: string | null;
38020
+ reden?: string | null;
38021
+ station_slug?: string | null;
38022
+ uitkomst?: string;
38023
+ };
38024
+ Update: {
38025
+ code?: string | null;
38026
+ created_at?: string;
38027
+ detail?: import("../integrations/supabase/types").Json;
38028
+ id?: string;
38029
+ queue_item_id?: string | null;
38030
+ reden?: string | null;
38031
+ station_slug?: string | null;
38032
+ uitkomst?: string;
38033
+ };
38034
+ Relationships: [];
38035
+ };
37012
38036
  print_queue_runners: {
37013
38037
  Row: {
37014
38038
  actief: boolean;
@@ -37248,6 +38272,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
37248
38272
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
37249
38273
  online: boolean;
37250
38274
  papierformaat: string;
38275
+ pdf_map: string | null;
37251
38276
  poort: number | null;
37252
38277
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37253
38278
  systeemnaam: string;
@@ -37273,6 +38298,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
37273
38298
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37274
38299
  online?: boolean;
37275
38300
  papierformaat?: string;
38301
+ pdf_map?: string | null;
37276
38302
  poort?: number | null;
37277
38303
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37278
38304
  systeemnaam?: string;
@@ -37298,6 +38324,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
37298
38324
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37299
38325
  online?: boolean;
37300
38326
  papierformaat?: string;
38327
+ pdf_map?: string | null;
37301
38328
  poort?: number | null;
37302
38329
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37303
38330
  systeemnaam?: string;
@@ -38170,450 +39197,6 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
38170
39197
  referencedColumns: ["id"];
38171
39198
  }];
38172
39199
  };
38173
- quote_activities: {
38174
- Row: {
38175
- created_at: string;
38176
- event_type: string;
38177
- id: string;
38178
- metadata: import("../integrations/supabase/types").Json;
38179
- quote_id: string;
38180
- user_id: string | null;
38181
- };
38182
- Insert: {
38183
- created_at?: string;
38184
- event_type: string;
38185
- id?: string;
38186
- metadata?: import("../integrations/supabase/types").Json;
38187
- quote_id: string;
38188
- user_id?: string | null;
38189
- };
38190
- Update: {
38191
- created_at?: string;
38192
- event_type?: string;
38193
- id?: string;
38194
- metadata?: import("../integrations/supabase/types").Json;
38195
- quote_id?: string;
38196
- user_id?: string | null;
38197
- };
38198
- Relationships: [{
38199
- foreignKeyName: "quote_activities_quote_id_fkey";
38200
- columns: ["quote_id"];
38201
- isOneToOne: false;
38202
- referencedRelation: "quotes";
38203
- referencedColumns: ["id"];
38204
- }];
38205
- };
38206
- quote_attachments: {
38207
- Row: {
38208
- created_at: string;
38209
- file_name: string;
38210
- file_size: number | null;
38211
- file_url: string;
38212
- id: string;
38213
- mime_type: string | null;
38214
- quote_id: string;
38215
- };
38216
- Insert: {
38217
- created_at?: string;
38218
- file_name: string;
38219
- file_size?: number | null;
38220
- file_url: string;
38221
- id?: string;
38222
- mime_type?: string | null;
38223
- quote_id: string;
38224
- };
38225
- Update: {
38226
- created_at?: string;
38227
- file_name?: string;
38228
- file_size?: number | null;
38229
- file_url?: string;
38230
- id?: string;
38231
- mime_type?: string | null;
38232
- quote_id?: string;
38233
- };
38234
- Relationships: [{
38235
- foreignKeyName: "quote_attachments_quote_id_fkey";
38236
- columns: ["quote_id"];
38237
- isOneToOne: false;
38238
- referencedRelation: "quotes";
38239
- referencedColumns: ["id"];
38240
- }];
38241
- };
38242
- quote_field_options: {
38243
- Row: {
38244
- created_at: string;
38245
- field_id: string;
38246
- id: string;
38247
- label: string;
38248
- sort_order: number;
38249
- value: string;
38250
- };
38251
- Insert: {
38252
- created_at?: string;
38253
- field_id: string;
38254
- id?: string;
38255
- label: string;
38256
- sort_order?: number;
38257
- value: string;
38258
- };
38259
- Update: {
38260
- created_at?: string;
38261
- field_id?: string;
38262
- id?: string;
38263
- label?: string;
38264
- sort_order?: number;
38265
- value?: string;
38266
- };
38267
- Relationships: [{
38268
- foreignKeyName: "quote_field_options_field_id_fkey";
38269
- columns: ["field_id"];
38270
- isOneToOne: false;
38271
- referencedRelation: "quote_field_settings";
38272
- referencedColumns: ["id"];
38273
- }];
38274
- };
38275
- quote_field_settings: {
38276
- Row: {
38277
- created_at: string;
38278
- default_value: string | null;
38279
- field_key: string;
38280
- field_type: string;
38281
- id: string;
38282
- is_system: boolean;
38283
- label: string;
38284
- required: boolean;
38285
- sort_order: number;
38286
- updated_at: string;
38287
- visible: boolean;
38288
- };
38289
- Insert: {
38290
- created_at?: string;
38291
- default_value?: string | null;
38292
- field_key: string;
38293
- field_type: string;
38294
- id?: string;
38295
- is_system?: boolean;
38296
- label: string;
38297
- required?: boolean;
38298
- sort_order?: number;
38299
- updated_at?: string;
38300
- visible?: boolean;
38301
- };
38302
- Update: {
38303
- created_at?: string;
38304
- default_value?: string | null;
38305
- field_key?: string;
38306
- field_type?: string;
38307
- id?: string;
38308
- is_system?: boolean;
38309
- label?: string;
38310
- required?: boolean;
38311
- sort_order?: number;
38312
- updated_at?: string;
38313
- visible?: boolean;
38314
- };
38315
- Relationships: [];
38316
- };
38317
- quote_items: {
38318
- Row: {
38319
- category: string | null;
38320
- created_at: string;
38321
- description: string;
38322
- id: string;
38323
- line_total: number;
38324
- module_id: string | null;
38325
- name: string | null;
38326
- quantity: number;
38327
- quote_id: string;
38328
- sort_order: number;
38329
- unit_price: number;
38330
- };
38331
- Insert: {
38332
- category?: string | null;
38333
- created_at?: string;
38334
- description?: string;
38335
- id?: string;
38336
- line_total?: number;
38337
- module_id?: string | null;
38338
- name?: string | null;
38339
- quantity?: number;
38340
- quote_id: string;
38341
- sort_order?: number;
38342
- unit_price?: number;
38343
- };
38344
- Update: {
38345
- category?: string | null;
38346
- created_at?: string;
38347
- description?: string;
38348
- id?: string;
38349
- line_total?: number;
38350
- module_id?: string | null;
38351
- name?: string | null;
38352
- quantity?: number;
38353
- quote_id?: string;
38354
- sort_order?: number;
38355
- unit_price?: number;
38356
- };
38357
- Relationships: [{
38358
- foreignKeyName: "quote_items_module_id_fkey";
38359
- columns: ["module_id"];
38360
- isOneToOne: false;
38361
- referencedRelation: "quote_modules";
38362
- referencedColumns: ["id"];
38363
- }, {
38364
- foreignKeyName: "quote_items_quote_id_fkey";
38365
- columns: ["quote_id"];
38366
- isOneToOne: false;
38367
- referencedRelation: "quotes";
38368
- referencedColumns: ["id"];
38369
- }];
38370
- };
38371
- quote_modules: {
38372
- Row: {
38373
- category: string | null;
38374
- created_at: string;
38375
- description: string | null;
38376
- id: string;
38377
- is_active: boolean;
38378
- name: string;
38379
- price: number;
38380
- sort_order: number;
38381
- updated_at: string;
38382
- };
38383
- Insert: {
38384
- category?: string | null;
38385
- created_at?: string;
38386
- description?: string | null;
38387
- id?: string;
38388
- is_active?: boolean;
38389
- name: string;
38390
- price?: number;
38391
- sort_order?: number;
38392
- updated_at?: string;
38393
- };
38394
- Update: {
38395
- category?: string | null;
38396
- created_at?: string;
38397
- description?: string | null;
38398
- id?: string;
38399
- is_active?: boolean;
38400
- name?: string;
38401
- price?: number;
38402
- sort_order?: number;
38403
- updated_at?: string;
38404
- };
38405
- Relationships: [];
38406
- };
38407
- quote_templates: {
38408
- Row: {
38409
- created_at: string;
38410
- description: string | null;
38411
- field_values: import("../integrations/supabase/types").Json;
38412
- id: string;
38413
- is_default: boolean;
38414
- items: import("../integrations/supabase/types").Json;
38415
- name: string;
38416
- updated_at: string;
38417
- vat_rate: number;
38418
- };
38419
- Insert: {
38420
- created_at?: string;
38421
- description?: string | null;
38422
- field_values?: import("../integrations/supabase/types").Json;
38423
- id?: string;
38424
- is_default?: boolean;
38425
- items?: import("../integrations/supabase/types").Json;
38426
- name: string;
38427
- updated_at?: string;
38428
- vat_rate?: number;
38429
- };
38430
- Update: {
38431
- created_at?: string;
38432
- description?: string | null;
38433
- field_values?: import("../integrations/supabase/types").Json;
38434
- id?: string;
38435
- is_default?: boolean;
38436
- items?: import("../integrations/supabase/types").Json;
38437
- name?: string;
38438
- updated_at?: string;
38439
- vat_rate?: number;
38440
- };
38441
- Relationships: [];
38442
- };
38443
- quote_terms: {
38444
- Row: {
38445
- content: string | null;
38446
- created_at: string;
38447
- file_url: string | null;
38448
- id: string;
38449
- is_active: boolean;
38450
- name: string;
38451
- published_at: string | null;
38452
- updated_at: string;
38453
- version: string;
38454
- };
38455
- Insert: {
38456
- content?: string | null;
38457
- created_at?: string;
38458
- file_url?: string | null;
38459
- id?: string;
38460
- is_active?: boolean;
38461
- name: string;
38462
- published_at?: string | null;
38463
- updated_at?: string;
38464
- version?: string;
38465
- };
38466
- Update: {
38467
- content?: string | null;
38468
- created_at?: string;
38469
- file_url?: string | null;
38470
- id?: string;
38471
- is_active?: boolean;
38472
- name?: string;
38473
- published_at?: string | null;
38474
- updated_at?: string;
38475
- version?: string;
38476
- };
38477
- Relationships: [];
38478
- };
38479
- quotes: {
38480
- Row: {
38481
- accepted_at: string | null;
38482
- archived_at: string | null;
38483
- contact_id: string | null;
38484
- created_at: string;
38485
- customer_id: string | null;
38486
- discount: number;
38487
- expires_at: string | null;
38488
- field_values: import("../integrations/supabase/types").Json;
38489
- id: string;
38490
- notes: string | null;
38491
- owner_id: string | null;
38492
- personal_message: string | null;
38493
- project_id: string | null;
38494
- prospect_id: string | null;
38495
- public_token: string;
38496
- quote_number: string | null;
38497
- recipient_email: string | null;
38498
- recipient_name: string | null;
38499
- rejected_at: string | null;
38500
- sent_at: string | null;
38501
- status: string;
38502
- subtotal: number;
38503
- template_id: string | null;
38504
- terms_id: string | null;
38505
- title: string;
38506
- total: number;
38507
- updated_at: string;
38508
- valid_until: string | null;
38509
- vat_amount: number;
38510
- vat_rate: number;
38511
- viewed_at: string | null;
38512
- };
38513
- Insert: {
38514
- accepted_at?: string | null;
38515
- archived_at?: string | null;
38516
- contact_id?: string | null;
38517
- created_at?: string;
38518
- customer_id?: string | null;
38519
- discount?: number;
38520
- expires_at?: string | null;
38521
- field_values?: import("../integrations/supabase/types").Json;
38522
- id?: string;
38523
- notes?: string | null;
38524
- owner_id?: string | null;
38525
- personal_message?: string | null;
38526
- project_id?: string | null;
38527
- prospect_id?: string | null;
38528
- public_token?: string;
38529
- quote_number?: string | null;
38530
- recipient_email?: string | null;
38531
- recipient_name?: string | null;
38532
- rejected_at?: string | null;
38533
- sent_at?: string | null;
38534
- status?: string;
38535
- subtotal?: number;
38536
- template_id?: string | null;
38537
- terms_id?: string | null;
38538
- title?: string;
38539
- total?: number;
38540
- updated_at?: string;
38541
- valid_until?: string | null;
38542
- vat_amount?: number;
38543
- vat_rate?: number;
38544
- viewed_at?: string | null;
38545
- };
38546
- Update: {
38547
- accepted_at?: string | null;
38548
- archived_at?: string | null;
38549
- contact_id?: string | null;
38550
- created_at?: string;
38551
- customer_id?: string | null;
38552
- discount?: number;
38553
- expires_at?: string | null;
38554
- field_values?: import("../integrations/supabase/types").Json;
38555
- id?: string;
38556
- notes?: string | null;
38557
- owner_id?: string | null;
38558
- personal_message?: string | null;
38559
- project_id?: string | null;
38560
- prospect_id?: string | null;
38561
- public_token?: string;
38562
- quote_number?: string | null;
38563
- recipient_email?: string | null;
38564
- recipient_name?: string | null;
38565
- rejected_at?: string | null;
38566
- sent_at?: string | null;
38567
- status?: string;
38568
- subtotal?: number;
38569
- template_id?: string | null;
38570
- terms_id?: string | null;
38571
- title?: string;
38572
- total?: number;
38573
- updated_at?: string;
38574
- valid_until?: string | null;
38575
- vat_amount?: number;
38576
- vat_rate?: number;
38577
- viewed_at?: string | null;
38578
- };
38579
- Relationships: [{
38580
- foreignKeyName: "quotes_contact_id_fkey";
38581
- columns: ["contact_id"];
38582
- isOneToOne: false;
38583
- referencedRelation: "customer_contacts";
38584
- referencedColumns: ["id"];
38585
- }, {
38586
- foreignKeyName: "quotes_customer_id_fkey";
38587
- columns: ["customer_id"];
38588
- isOneToOne: false;
38589
- referencedRelation: "customers";
38590
- referencedColumns: ["id"];
38591
- }, {
38592
- foreignKeyName: "quotes_project_id_fkey";
38593
- columns: ["project_id"];
38594
- isOneToOne: false;
38595
- referencedRelation: "projects";
38596
- referencedColumns: ["id"];
38597
- }, {
38598
- foreignKeyName: "quotes_prospect_id_fkey";
38599
- columns: ["prospect_id"];
38600
- isOneToOne: false;
38601
- referencedRelation: "prospects";
38602
- referencedColumns: ["id"];
38603
- }, {
38604
- foreignKeyName: "quotes_template_id_fkey";
38605
- columns: ["template_id"];
38606
- isOneToOne: false;
38607
- referencedRelation: "quote_templates";
38608
- referencedColumns: ["id"];
38609
- }, {
38610
- foreignKeyName: "quotes_terms_id_fkey";
38611
- columns: ["terms_id"];
38612
- isOneToOne: false;
38613
- referencedRelation: "quote_terms";
38614
- referencedColumns: ["id"];
38615
- }];
38616
- };
38617
39200
  reception_notifications: {
38618
39201
  Row: {
38619
39202
  booking_id: string | null;
@@ -39735,7 +40318,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
39735
40318
  foreignKeyName: "time_logs_work_order_id_fkey";
39736
40319
  columns: ["work_order_id"];
39737
40320
  isOneToOne: false;
39738
- referencedRelation: "work_orders";
40321
+ referencedRelation: "werkbonnen";
39739
40322
  referencedColumns: ["id"];
39740
40323
  }];
39741
40324
  };
@@ -39867,6 +40450,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
39867
40450
  };
39868
40451
  trade_item_stock: {
39869
40452
  Row: {
40453
+ change_source: string;
39870
40454
  connection_id: string;
39871
40455
  created_at: string;
39872
40456
  id: string;
@@ -39880,6 +40464,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
39880
40464
  user_id: string;
39881
40465
  };
39882
40466
  Insert: {
40467
+ change_source?: string;
39883
40468
  connection_id: string;
39884
40469
  created_at?: string;
39885
40470
  id?: string;
@@ -39893,6 +40478,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
39893
40478
  user_id: string;
39894
40479
  };
39895
40480
  Update: {
40481
+ change_source?: string;
39896
40482
  connection_id?: string;
39897
40483
  created_at?: string;
39898
40484
  id?: string;
@@ -41062,156 +41648,6 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
41062
41648
  };
41063
41649
  Relationships: [];
41064
41650
  };
41065
- uren_offerte_regels: {
41066
- Row: {
41067
- created_at: string;
41068
- description: string;
41069
- duration_minutes: number;
41070
- id: string;
41071
- offerte_id: string;
41072
- package_id: string | null;
41073
- quantity: number;
41074
- sort_order: number;
41075
- total_cents: number;
41076
- unit_price_cents: number;
41077
- };
41078
- Insert: {
41079
- created_at?: string;
41080
- description: string;
41081
- duration_minutes?: number;
41082
- id?: string;
41083
- offerte_id: string;
41084
- package_id?: string | null;
41085
- quantity?: number;
41086
- sort_order?: number;
41087
- total_cents?: number;
41088
- unit_price_cents?: number;
41089
- };
41090
- Update: {
41091
- created_at?: string;
41092
- description?: string;
41093
- duration_minutes?: number;
41094
- id?: string;
41095
- offerte_id?: string;
41096
- package_id?: string | null;
41097
- quantity?: number;
41098
- sort_order?: number;
41099
- total_cents?: number;
41100
- unit_price_cents?: number;
41101
- };
41102
- Relationships: [{
41103
- foreignKeyName: "uren_offerte_regels_offerte_id_fkey";
41104
- columns: ["offerte_id"];
41105
- isOneToOne: false;
41106
- referencedRelation: "uren_offertes";
41107
- referencedColumns: ["id"];
41108
- }, {
41109
- foreignKeyName: "uren_offerte_regels_package_id_fkey";
41110
- columns: ["package_id"];
41111
- isOneToOne: false;
41112
- referencedRelation: "werkbon_packages";
41113
- referencedColumns: ["id"];
41114
- }];
41115
- };
41116
- uren_offerte_velden: {
41117
- Row: {
41118
- created_at: string;
41119
- field_type: string;
41120
- id: string;
41121
- key: string;
41122
- label: string;
41123
- options: string[];
41124
- required: boolean;
41125
- sort_order: number;
41126
- updated_at: string;
41127
- };
41128
- Insert: {
41129
- created_at?: string;
41130
- field_type?: string;
41131
- id?: string;
41132
- key: string;
41133
- label: string;
41134
- options?: string[];
41135
- required?: boolean;
41136
- sort_order?: number;
41137
- updated_at?: string;
41138
- };
41139
- Update: {
41140
- created_at?: string;
41141
- field_type?: string;
41142
- id?: string;
41143
- key?: string;
41144
- label?: string;
41145
- options?: string[];
41146
- required?: boolean;
41147
- sort_order?: number;
41148
- updated_at?: string;
41149
- };
41150
- Relationships: [];
41151
- };
41152
- uren_offertes: {
41153
- Row: {
41154
- created_at: string;
41155
- created_by: string | null;
41156
- customer_id: string | null;
41157
- customer_name: string | null;
41158
- dynamic_fields: import("../integrations/supabase/types").Json;
41159
- estimated_minutes: number;
41160
- id: string;
41161
- note: string | null;
41162
- quote_number: string | null;
41163
- status: string;
41164
- title: string;
41165
- total_excl_cents: number;
41166
- total_incl_cents: number;
41167
- updated_at: string;
41168
- valid_until: string | null;
41169
- vat_percentage: number;
41170
- };
41171
- Insert: {
41172
- created_at?: string;
41173
- created_by?: string | null;
41174
- customer_id?: string | null;
41175
- customer_name?: string | null;
41176
- dynamic_fields?: import("../integrations/supabase/types").Json;
41177
- estimated_minutes?: number;
41178
- id?: string;
41179
- note?: string | null;
41180
- quote_number?: string | null;
41181
- status?: string;
41182
- title?: string;
41183
- total_excl_cents?: number;
41184
- total_incl_cents?: number;
41185
- updated_at?: string;
41186
- valid_until?: string | null;
41187
- vat_percentage?: number;
41188
- };
41189
- Update: {
41190
- created_at?: string;
41191
- created_by?: string | null;
41192
- customer_id?: string | null;
41193
- customer_name?: string | null;
41194
- dynamic_fields?: import("../integrations/supabase/types").Json;
41195
- estimated_minutes?: number;
41196
- id?: string;
41197
- note?: string | null;
41198
- quote_number?: string | null;
41199
- status?: string;
41200
- title?: string;
41201
- total_excl_cents?: number;
41202
- total_incl_cents?: number;
41203
- updated_at?: string;
41204
- valid_until?: string | null;
41205
- vat_percentage?: number;
41206
- };
41207
- Relationships: [{
41208
- foreignKeyName: "uren_offertes_customer_id_fkey";
41209
- columns: ["customer_id"];
41210
- isOneToOne: false;
41211
- referencedRelation: "itk_customers";
41212
- referencedColumns: ["id"];
41213
- }];
41214
- };
41215
41651
  uren_settings: {
41216
41652
  Row: {
41217
41653
  break_minutes: number;
@@ -42898,6 +43334,37 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
42898
43334
  };
42899
43335
  Relationships: [];
42900
43336
  };
43337
+ planning_overview: {
43338
+ Row: {
43339
+ assigned_monteur_id: string | null;
43340
+ assistants: import("../integrations/supabase/types").Json | null;
43341
+ budget_mandate_cents: number | null;
43342
+ created_at: string | null;
43343
+ created_by: string | null;
43344
+ customer_id: string | null;
43345
+ customer_name: string | null;
43346
+ duration_minutes: number | null;
43347
+ end_at: string | null;
43348
+ id: string | null;
43349
+ needs_detail_review: boolean | null;
43350
+ notes: string | null;
43351
+ project_number: string | null;
43352
+ review_reasons: string[] | null;
43353
+ start_at: string | null;
43354
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"] | null;
43355
+ updated_at: string | null;
43356
+ viewer_role: string | null;
43357
+ werkbon_id: string | null;
43358
+ work_address: string | null;
43359
+ };
43360
+ Relationships: [{
43361
+ foreignKeyName: "planning_items_werkbon_id_fkey";
43362
+ columns: ["werkbon_id"];
43363
+ isOneToOne: false;
43364
+ referencedRelation: "werkbonnen";
43365
+ referencedColumns: ["id"];
43366
+ }];
43367
+ };
42901
43368
  product_group_stock_view: {
42902
43369
  Row: {
42903
43370
  item_count: number | null;
@@ -43493,6 +43960,18 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
43493
43960
  Args: never;
43494
43961
  Returns: number;
43495
43962
  };
43963
+ calculate_floriday_desired_stock: {
43964
+ Args: {
43965
+ p_connection_id: string;
43966
+ p_product_id: string;
43967
+ };
43968
+ Returns: {
43969
+ desired_availability: boolean;
43970
+ desired_quantity: number;
43971
+ erp_available: number;
43972
+ stock_mode: string;
43973
+ }[];
43974
+ };
43496
43975
  calculate_layer_stock: {
43497
43976
  Args: {
43498
43977
  p_product_id: string;
@@ -43545,6 +44024,8 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
43545
44024
  foutmelding: string | null;
43546
44025
  gebruiker_id: string | null;
43547
44026
  gebruiker_naam: string;
44027
+ gebruikte_bron: string | null;
44028
+ gebruikte_layout_id: string | null;
43548
44029
  gestart_op: string | null;
43549
44030
  herkomst: string | null;
43550
44031
  id: string;
@@ -43552,6 +44033,9 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
43552
44033
  is_herprint: boolean;
43553
44034
  kopieen: number;
43554
44035
  layout_id: string | null;
44036
+ lokaal_opgeslagen_op: string | null;
44037
+ lokale_pdf_fout: string | null;
44038
+ lokale_pdf_status: string | null;
43555
44039
  opgepakt_op: string | null;
43556
44040
  paginas: number;
43557
44041
  payload: import("../integrations/supabase/types").Json;
@@ -43560,6 +44044,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
43560
44044
  pogingen: number;
43561
44045
  printer_id: string | null;
43562
44046
  render_html: string | null;
44047
+ resultaat_pdf_base64: string | null;
43563
44048
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43564
44049
  updated_at: string;
43565
44050
  volgende_poging: string | null;
@@ -43581,6 +44066,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
43581
44066
  attempts: number;
43582
44067
  connection_id: string;
43583
44068
  created_at: string;
44069
+ dead_lettered_at: string | null;
43584
44070
  desired_available: boolean | null;
43585
44071
  gateway_attempt_id: string | null;
43586
44072
  id: string;
@@ -43589,9 +44075,13 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
43589
44075
  locked_by: string | null;
43590
44076
  next_attempt_at: string;
43591
44077
  number_of_pieces: number;
44078
+ product_id: string | null;
43592
44079
  sent_at: string | null;
43593
44080
  status: string;
44081
+ stock_mode: string | null;
43594
44082
  superseded_by: string | null;
44083
+ target_week: number | null;
44084
+ target_year: number | null;
43595
44085
  trade_item_id: string;
43596
44086
  updated_at: string;
43597
44087
  user_id: string;
@@ -43651,6 +44141,53 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
43651
44141
  isSetofReturn: true;
43652
44142
  };
43653
44143
  };
44144
+ claim_pdf_print_jobs: {
44145
+ Args: {
44146
+ _max?: number;
44147
+ };
44148
+ Returns: {
44149
+ agent_id: string | null;
44150
+ bron_job_id: string | null;
44151
+ created_at: string;
44152
+ documentnaam: string;
44153
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
44154
+ extern_job_id: string | null;
44155
+ foutmelding: string | null;
44156
+ gebruiker_id: string | null;
44157
+ gebruiker_naam: string;
44158
+ gebruikte_bron: string | null;
44159
+ gebruikte_layout_id: string | null;
44160
+ gestart_op: string | null;
44161
+ herkomst: string | null;
44162
+ id: string;
44163
+ idempotentie_sleutel: string | null;
44164
+ is_herprint: boolean;
44165
+ kopieen: number;
44166
+ layout_id: string | null;
44167
+ lokaal_opgeslagen_op: string | null;
44168
+ lokale_pdf_fout: string | null;
44169
+ lokale_pdf_status: string | null;
44170
+ opgepakt_op: string | null;
44171
+ paginas: number;
44172
+ payload: import("../integrations/supabase/types").Json;
44173
+ pdf_base64: string | null;
44174
+ pdf_url: string | null;
44175
+ pogingen: number;
44176
+ printer_id: string | null;
44177
+ render_html: string | null;
44178
+ resultaat_pdf_base64: string | null;
44179
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
44180
+ updated_at: string;
44181
+ volgende_poging: string | null;
44182
+ voltooid_op: string | null;
44183
+ }[];
44184
+ SetofOptions: {
44185
+ from: "*";
44186
+ to: "print_jobs";
44187
+ isOneToOne: false;
44188
+ isSetofReturn: true;
44189
+ };
44190
+ };
43654
44191
  claim_print_jobs: {
43655
44192
  Args: {
43656
44193
  _agent_id: string;
@@ -43666,6 +44203,8 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
43666
44203
  foutmelding: string | null;
43667
44204
  gebruiker_id: string | null;
43668
44205
  gebruiker_naam: string;
44206
+ gebruikte_bron: string | null;
44207
+ gebruikte_layout_id: string | null;
43669
44208
  gestart_op: string | null;
43670
44209
  herkomst: string | null;
43671
44210
  id: string;
@@ -43673,6 +44212,9 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
43673
44212
  is_herprint: boolean;
43674
44213
  kopieen: number;
43675
44214
  layout_id: string | null;
44215
+ lokaal_opgeslagen_op: string | null;
44216
+ lokale_pdf_fout: string | null;
44217
+ lokale_pdf_status: string | null;
43676
44218
  opgepakt_op: string | null;
43677
44219
  paginas: number;
43678
44220
  payload: import("../integrations/supabase/types").Json;
@@ -43681,6 +44223,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
43681
44223
  pogingen: number;
43682
44224
  printer_id: string | null;
43683
44225
  render_html: string | null;
44226
+ resultaat_pdf_base64: string | null;
43684
44227
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43685
44228
  updated_at: string;
43686
44229
  volgende_poging: string | null;
@@ -43821,6 +44364,8 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
43821
44364
  order_id: string;
43822
44365
  order_source: string;
43823
44366
  pick_date: string;
44367
+ printed_at: string;
44368
+ printed_today: boolean;
43824
44369
  status: string;
43825
44370
  }[];
43826
44371
  };
@@ -44017,6 +44562,24 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
44017
44562
  };
44018
44563
  Returns: string;
44019
44564
  };
44565
+ floriday_capture_stock_snapshot: {
44566
+ Args: never;
44567
+ Returns: number;
44568
+ };
44569
+ floriday_cleanup_stock_queue_v2: {
44570
+ Args: never;
44571
+ Returns: undefined;
44572
+ };
44573
+ floriday_compact_stock_snapshots: {
44574
+ Args: never;
44575
+ Returns: undefined;
44576
+ };
44577
+ floriday_default_owner: {
44578
+ Args: {
44579
+ p_connection_id: string;
44580
+ };
44581
+ Returns: string;
44582
+ };
44020
44583
  floriday_effective_price: {
44021
44584
  Args: {
44022
44585
  _buyer_id: string;
@@ -44034,6 +44597,34 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
44034
44597
  source_id: string;
44035
44598
  }[];
44036
44599
  };
44600
+ floriday_fill_publish_horizon: {
44601
+ Args: never;
44602
+ Returns: number;
44603
+ };
44604
+ floriday_ingest_sales_orders: {
44605
+ Args: {
44606
+ p_limit?: number;
44607
+ };
44608
+ Returns: number;
44609
+ };
44610
+ floriday_publish_horizon_weeks: {
44611
+ Args: never;
44612
+ Returns: number;
44613
+ };
44614
+ floriday_recompute_inventory: {
44615
+ Args: {
44616
+ p_connection_id: string;
44617
+ p_force?: boolean;
44618
+ p_product_id: string;
44619
+ };
44620
+ Returns: undefined;
44621
+ };
44622
+ floriday_requeue_dead_letters: {
44623
+ Args: {
44624
+ p_connection_id?: string;
44625
+ };
44626
+ Returns: number;
44627
+ };
44037
44628
  format_cart_number: {
44038
44629
  Args: {
44039
44630
  p_pick_date: string;
@@ -44250,6 +44841,131 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
44250
44841
  Args: never;
44251
44842
  Returns: string;
44252
44843
  };
44844
+ handover_get: {
44845
+ Args: {
44846
+ _module_id: string;
44847
+ };
44848
+ Returns: import("../integrations/supabase/types").Json;
44849
+ };
44850
+ handover_kern_naam: {
44851
+ Args: {
44852
+ _naam: string;
44853
+ };
44854
+ Returns: string;
44855
+ };
44856
+ handover_ketenmodel: {
44857
+ Args: never;
44858
+ Returns: import("../integrations/supabase/types").Json;
44859
+ };
44860
+ handover_kruisconflicten: {
44861
+ Args: never;
44862
+ Returns: import("../integrations/supabase/types").Json;
44863
+ };
44864
+ handover_list: {
44865
+ Args: never;
44866
+ Returns: import("../integrations/supabase/types").Json;
44867
+ };
44868
+ handover_mag_schrijven: {
44869
+ Args: {
44870
+ _module_id: string;
44871
+ };
44872
+ Returns: boolean;
44873
+ };
44874
+ handover_norm_naam: {
44875
+ Args: {
44876
+ _naam: string;
44877
+ };
44878
+ Returns: string;
44879
+ };
44880
+ handover_publish: {
44881
+ Args: {
44882
+ _bevindingen?: string;
44883
+ _bezit_tabellen?: string[];
44884
+ _conflicten_snapshot?: import("../integrations/supabase/types").Json;
44885
+ _contractfuncties?: string[];
44886
+ _inhoud_md: string;
44887
+ _module_id: string;
44888
+ _module_titel: string;
44889
+ _ontbrekende_contracten?: string[];
44890
+ _samenvatting?: string;
44891
+ };
44892
+ Returns: number;
44893
+ };
44894
+ handover_publish_via_token: {
44895
+ Args: {
44896
+ _bevindingen?: string;
44897
+ _bezit_tabellen?: string[];
44898
+ _conflicten_snapshot?: import("../integrations/supabase/types").Json;
44899
+ _contractfuncties?: string[];
44900
+ _inhoud_md: string;
44901
+ _module_id: string;
44902
+ _module_titel: string;
44903
+ _ontbrekende_contracten?: string[];
44904
+ _samenvatting?: string;
44905
+ _token_hash: string;
44906
+ };
44907
+ Returns: number;
44908
+ };
44909
+ handover_status: {
44910
+ Args: never;
44911
+ Returns: import("../integrations/supabase/types").Json;
44912
+ };
44913
+ handover_synonym_kern: {
44914
+ Args: {
44915
+ _naam: string;
44916
+ };
44917
+ Returns: string;
44918
+ };
44919
+ handover_token_intrekken: {
44920
+ Args: {
44921
+ _id: string;
44922
+ };
44923
+ Returns: boolean;
44924
+ };
44925
+ handover_token_lijst: {
44926
+ Args: never;
44927
+ Returns: import("../integrations/supabase/types").Json;
44928
+ };
44929
+ handover_token_maken: {
44930
+ Args: {
44931
+ _label?: string;
44932
+ _module_id: string;
44933
+ };
44934
+ Returns: string;
44935
+ };
44936
+ handover_update: {
44937
+ Args: {
44938
+ _bezit_tabellen?: string[];
44939
+ _contractfuncties?: string[];
44940
+ _herzieningstermijn_dagen?: number;
44941
+ _inhoud_md?: string;
44942
+ _module_id: string;
44943
+ _module_titel?: string;
44944
+ _samenvatting?: string;
44945
+ _versie: number;
44946
+ };
44947
+ Returns: boolean;
44948
+ } | {
44949
+ Args: {
44950
+ _bevindingen?: string;
44951
+ _bezit_tabellen?: string[];
44952
+ _contractfuncties?: string[];
44953
+ _herzieningstermijn_dagen?: number;
44954
+ _inhoud_md?: string;
44955
+ _module_id: string;
44956
+ _module_titel?: string;
44957
+ _ontbrekende_contracten?: string[];
44958
+ _samenvatting?: string;
44959
+ _versie: number;
44960
+ };
44961
+ Returns: boolean;
44962
+ };
44963
+ handover_versies: {
44964
+ Args: {
44965
+ _module_id: string;
44966
+ };
44967
+ Returns: import("../integrations/supabase/types").Json;
44968
+ };
44253
44969
  has_module_permission: {
44254
44970
  Args: {
44255
44971
  _min: string;
@@ -44269,6 +44985,25 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
44269
44985
  Args: never;
44270
44986
  Returns: boolean;
44271
44987
  };
44988
+ instructie_get: {
44989
+ Args: {
44990
+ _sleutel: string;
44991
+ };
44992
+ Returns: import("../integrations/supabase/types").Json;
44993
+ };
44994
+ instructie_list: {
44995
+ Args: never;
44996
+ Returns: import("../integrations/supabase/types").Json;
44997
+ };
44998
+ instructie_publish: {
44999
+ Args: {
45000
+ _inhoud_md: string;
45001
+ _sleutel: string;
45002
+ _titel: string;
45003
+ _toelichting?: string;
45004
+ };
45005
+ Returns: number;
45006
+ };
44272
45007
  invoice_create_from_source: {
44273
45008
  Args: {
44274
45009
  _payload?: import("../integrations/supabase/types").Json;
@@ -44529,6 +45264,10 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
44529
45264
  };
44530
45265
  Returns: number;
44531
45266
  };
45267
+ logistics_cancel_orphan_tasks: {
45268
+ Args: never;
45269
+ Returns: number;
45270
+ };
44532
45271
  logistics_capacity_day_check: {
44533
45272
  Args: {
44534
45273
  p_from?: string;
@@ -44549,6 +45288,25 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
44549
45288
  };
44550
45289
  Returns: number;
44551
45290
  };
45291
+ logistics_cart_index: {
45292
+ Args: {
45293
+ p_from?: string;
45294
+ p_to?: string;
45295
+ };
45296
+ Returns: {
45297
+ cart_id: string;
45298
+ cart_index: number;
45299
+ cart_label: string;
45300
+ is_shared: boolean;
45301
+ order_number: string;
45302
+ order_source: string;
45303
+ order_uuid: string;
45304
+ pick_date: string;
45305
+ printed_at: string;
45306
+ shifted: boolean;
45307
+ task_status: string;
45308
+ }[];
45309
+ };
44552
45310
  logistics_check_order_allowed: {
44553
45311
  Args: {
44554
45312
  p_lines: import("../integrations/supabase/types").Json;
@@ -44697,6 +45455,17 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
44697
45455
  isSetofReturn: false;
44698
45456
  };
44699
45457
  };
45458
+ logistics_consistency_check: {
45459
+ Args: never;
45460
+ Returns: {
45461
+ agenda_carts: number;
45462
+ control_carts: number;
45463
+ ok: boolean;
45464
+ orphan_tasks: number;
45465
+ pick_date: string;
45466
+ raw_carts: number;
45467
+ }[];
45468
+ };
44700
45469
  logistics_delay_customer_email: {
44701
45470
  Args: {
44702
45471
  p_customer: string;
@@ -44722,6 +45491,12 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
44722
45491
  };
44723
45492
  Returns: string;
44724
45493
  };
45494
+ logistics_document_type_map: {
45495
+ Args: {
45496
+ _document_code: string;
45497
+ };
45498
+ Returns: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"][];
45499
+ };
44725
45500
  logistics_emit_event: {
44726
45501
  Args: {
44727
45502
  p_event_type: string;
@@ -44780,6 +45555,16 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
44780
45555
  isSetofReturn: false;
44781
45556
  };
44782
45557
  };
45558
+ logistics_floriday_cart_plan: {
45559
+ Args: {
45560
+ p_order_id: string;
45561
+ };
45562
+ Returns: {
45563
+ carrier_type: string;
45564
+ idx: number;
45565
+ packages: number;
45566
+ }[];
45567
+ };
44783
45568
  logistics_floriday_claim_pushes: {
44784
45569
  Args: {
44785
45570
  _lease_seconds?: number;
@@ -44884,6 +45669,25 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
44884
45669
  };
44885
45670
  Returns: number;
44886
45671
  };
45672
+ logistics_order_overview: {
45673
+ Args: {
45674
+ p_from?: string;
45675
+ p_to?: string;
45676
+ };
45677
+ Returns: {
45678
+ cart_count: number;
45679
+ customer_name: string;
45680
+ delivery_date: string;
45681
+ order_number: string;
45682
+ order_source: string;
45683
+ order_uuid: string;
45684
+ pick_date: string;
45685
+ plant_count: number;
45686
+ printed_at: string;
45687
+ shifted: boolean;
45688
+ status: string;
45689
+ }[];
45690
+ };
44887
45691
  logistics_order_pick_day: {
44888
45692
  Args: {
44889
45693
  p_order_ref: string;
@@ -44896,6 +45700,22 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
44896
45700
  };
44897
45701
  Returns: string;
44898
45702
  };
45703
+ logistics_pick_agenda: {
45704
+ Args: {
45705
+ p_from?: string;
45706
+ p_to?: string;
45707
+ };
45708
+ Returns: {
45709
+ cart_count: number;
45710
+ in_preparation: number;
45711
+ order_count: number;
45712
+ orders: import("../integrations/supabase/types").Json;
45713
+ pick_date: string;
45714
+ plant_count: number;
45715
+ ready: number;
45716
+ shifted_count: number;
45717
+ }[];
45718
+ };
44899
45719
  logistics_pick_email_purpose: {
44900
45720
  Args: never;
44901
45721
  Returns: string;
@@ -44950,6 +45770,13 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
44950
45770
  };
44951
45771
  Returns: undefined;
44952
45772
  };
45773
+ logistics_plan_floriday_order: {
45774
+ Args: {
45775
+ p_buffer_id?: string;
45776
+ p_order_id: string;
45777
+ };
45778
+ Returns: number;
45779
+ };
44953
45780
  logistics_plan_impact_orders: {
44954
45781
  Args: {
44955
45782
  p_order_id: string;
@@ -45055,6 +45882,15 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
45055
45882
  };
45056
45883
  Returns: import("../integrations/supabase/types").Json;
45057
45884
  };
45885
+ logistics_resolve_pick_document: {
45886
+ Args: {
45887
+ _is_herprint: boolean;
45888
+ _queue_item_id: string;
45889
+ _session_id: string;
45890
+ _voorbeeld: boolean;
45891
+ };
45892
+ Returns: import("../integrations/supabase/types").Json;
45893
+ };
45058
45894
  logistics_resolve_settings: {
45059
45895
  Args: {
45060
45896
  p_config_id: string;
@@ -45495,6 +46331,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
45495
46331
  };
45496
46332
  pick_enqueue_print_job: {
45497
46333
  Args: {
46334
+ _is_herprint?: boolean;
45498
46335
  _printer_id?: string;
45499
46336
  _queue_item_id: string;
45500
46337
  _session_id?: string;
@@ -45508,6 +46345,13 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
45508
46345
  };
45509
46346
  Returns: import("../integrations/supabase/types").Json;
45510
46347
  };
46348
+ pick_preview_job: {
46349
+ Args: {
46350
+ _queue_item_id: string;
46351
+ _station_slug: string;
46352
+ };
46353
+ Returns: import("../integrations/supabase/types").Json;
46354
+ };
45511
46355
  pick_print_job_status: {
45512
46356
  Args: {
45513
46357
  _job_id: string;
@@ -45685,6 +46529,84 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
45685
46529
  };
45686
46530
  Returns: undefined;
45687
46531
  };
46532
+ planning_cancel_item: {
46533
+ Args: {
46534
+ _id: string;
46535
+ };
46536
+ Returns: undefined;
46537
+ };
46538
+ planning_list: {
46539
+ Args: {
46540
+ _from: string;
46541
+ _to: string;
46542
+ };
46543
+ Returns: {
46544
+ assigned_monteur_id: string | null;
46545
+ assistants: import("../integrations/supabase/types").Json | null;
46546
+ budget_mandate_cents: number | null;
46547
+ created_at: string | null;
46548
+ created_by: string | null;
46549
+ customer_id: string | null;
46550
+ customer_name: string | null;
46551
+ duration_minutes: number | null;
46552
+ end_at: string | null;
46553
+ id: string | null;
46554
+ needs_detail_review: boolean | null;
46555
+ notes: string | null;
46556
+ project_number: string | null;
46557
+ review_reasons: string[] | null;
46558
+ start_at: string | null;
46559
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"] | null;
46560
+ updated_at: string | null;
46561
+ viewer_role: string | null;
46562
+ werkbon_id: string | null;
46563
+ work_address: string | null;
46564
+ }[];
46565
+ SetofOptions: {
46566
+ from: "*";
46567
+ to: "planning_overview";
46568
+ isOneToOne: false;
46569
+ isSetofReturn: true;
46570
+ };
46571
+ };
46572
+ planning_set_assistants: {
46573
+ Args: {
46574
+ _monteur_ids: string[];
46575
+ _planning_item_id: string;
46576
+ };
46577
+ Returns: undefined;
46578
+ };
46579
+ planning_upsert_item: {
46580
+ Args: {
46581
+ _assigned_monteur_id: string;
46582
+ _end_at: string;
46583
+ _notes?: string;
46584
+ _start_at: string;
46585
+ _werkbon_id: string;
46586
+ };
46587
+ Returns: {
46588
+ action: string;
46589
+ id: string;
46590
+ }[];
46591
+ };
46592
+ print_preview_toestaan: {
46593
+ Args: {
46594
+ _max?: number;
46595
+ _queue_item_id: string;
46596
+ _station_slug: string;
46597
+ _venster_sec?: number;
46598
+ };
46599
+ Returns: import("../integrations/supabase/types").Json;
46600
+ };
46601
+ print_preview_weiger: {
46602
+ Args: {
46603
+ _code: string;
46604
+ _queue_item_id: string;
46605
+ _reden: string;
46606
+ _station_slug: string;
46607
+ };
46608
+ Returns: undefined;
46609
+ };
45688
46610
  process_logistics_event: {
45689
46611
  Args: {
45690
46612
  p_event_id: string;
@@ -45802,6 +46724,14 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
45802
46724
  };
45803
46725
  Returns: undefined;
45804
46726
  };
46727
+ replace_order_carts: {
46728
+ Args: {
46729
+ p_buffer_id: string;
46730
+ p_carts: import("../integrations/supabase/types").Json;
46731
+ p_order_id: string;
46732
+ };
46733
+ Returns: import("../integrations/supabase/types").Json;
46734
+ };
45805
46735
  reset_floriday_sync_cursor: {
45806
46736
  Args: {
45807
46737
  p_connection_id: string;
@@ -45831,6 +46761,12 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
45831
46761
  };
45832
46762
  Returns: string;
45833
46763
  };
46764
+ resolve_print_job_printer_id: {
46765
+ Args: {
46766
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
46767
+ };
46768
+ Returns: string;
46769
+ };
45834
46770
  resolve_product_id_for_item: {
45835
46771
  Args: {
45836
46772
  p_product_name: string;
@@ -46234,6 +47170,26 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
46234
47170
  };
46235
47171
  Returns: string[];
46236
47172
  };
47173
+ start_time_log_at: {
47174
+ Args: {
47175
+ p_clicked_at?: string;
47176
+ p_employee_id: string;
47177
+ p_start_lat?: number;
47178
+ p_start_lng?: number;
47179
+ p_type: string;
47180
+ p_work_order_id?: string;
47181
+ };
47182
+ Returns: import("../integrations/supabase/types").Json;
47183
+ };
47184
+ stop_time_log: {
47185
+ Args: {
47186
+ p_employee_id: string;
47187
+ p_end_lat?: number;
47188
+ p_end_lng?: number;
47189
+ p_end_time: string;
47190
+ };
47191
+ Returns: import("../integrations/supabase/types").Json;
47192
+ };
46237
47193
  switch_time_log: {
46238
47194
  Args: {
46239
47195
  p_employee_id: string;
@@ -46422,7 +47378,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
46422
47378
  };
46423
47379
  CompositeTypes: { [_ in never]: never; };
46424
47380
  }, {
46425
- PostgrestVersion: "14.17";
47381
+ PostgrestVersion: "14.5";
46426
47382
  }>;
46427
47383
  userId: string;
46428
47384
  claims: import("@supabase/auth-js").JwtPayload;