@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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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 getActiveFloridayConnectionFn: import("@tanstack/start-clie
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;
@@ -26063,6 +26541,84 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
26063
26541
  };
26064
26542
  Relationships: [];
26065
26543
  };
26544
+ delivery_notes: {
26545
+ Row: {
26546
+ byte_size: number | null;
26547
+ connection_id: string | null;
26548
+ content_type: string;
26549
+ created_at: string;
26550
+ error_message: string | null;
26551
+ fetched_at: string | null;
26552
+ fulfillment_order_id: string | null;
26553
+ http_status: number | null;
26554
+ id: string;
26555
+ label_code: string | null;
26556
+ letter: string | null;
26557
+ load_carrier_index: number | null;
26558
+ load_carrier_type: string | null;
26559
+ order_id: string | null;
26560
+ order_number: string | null;
26561
+ packages: number | null;
26562
+ source: string;
26563
+ status: string;
26564
+ storage_bucket: string;
26565
+ storage_path: string | null;
26566
+ updated_at: string;
26567
+ };
26568
+ Insert: {
26569
+ byte_size?: number | null;
26570
+ connection_id?: string | null;
26571
+ content_type?: string;
26572
+ created_at?: string;
26573
+ error_message?: string | null;
26574
+ fetched_at?: string | null;
26575
+ fulfillment_order_id?: string | null;
26576
+ http_status?: number | null;
26577
+ id?: string;
26578
+ label_code?: string | null;
26579
+ letter?: string | null;
26580
+ load_carrier_index?: number | null;
26581
+ load_carrier_type?: string | null;
26582
+ order_id?: string | null;
26583
+ order_number?: string | null;
26584
+ packages?: number | null;
26585
+ source?: string;
26586
+ status?: string;
26587
+ storage_bucket?: string;
26588
+ storage_path?: string | null;
26589
+ updated_at?: string;
26590
+ };
26591
+ Update: {
26592
+ byte_size?: number | null;
26593
+ connection_id?: string | null;
26594
+ content_type?: string;
26595
+ created_at?: string;
26596
+ error_message?: string | null;
26597
+ fetched_at?: string | null;
26598
+ fulfillment_order_id?: string | null;
26599
+ http_status?: number | null;
26600
+ id?: string;
26601
+ label_code?: string | null;
26602
+ letter?: string | null;
26603
+ load_carrier_index?: number | null;
26604
+ load_carrier_type?: string | null;
26605
+ order_id?: string | null;
26606
+ order_number?: string | null;
26607
+ packages?: number | null;
26608
+ source?: string;
26609
+ status?: string;
26610
+ storage_bucket?: string;
26611
+ storage_path?: string | null;
26612
+ updated_at?: string;
26613
+ };
26614
+ Relationships: [{
26615
+ foreignKeyName: "delivery_notes_order_id_fkey";
26616
+ columns: ["order_id"];
26617
+ isOneToOne: false;
26618
+ referencedRelation: "orders";
26619
+ referencedColumns: ["id"];
26620
+ }];
26621
+ };
26066
26622
  document_bronregels: {
26067
26623
  Row: {
26068
26624
  bron: string;
@@ -29116,10 +29672,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
29116
29672
  };
29117
29673
  floriday_connections: {
29118
29674
  Row: {
29119
- access_token: string | null;
29120
29675
  api_key: string;
29121
- client_id: string;
29122
- client_secret: string;
29123
29676
  created_at: string;
29124
29677
  customers_endpoint: string | null;
29125
29678
  environment: string;
@@ -29134,10 +29687,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
29134
29687
  updated_at: string;
29135
29688
  };
29136
29689
  Insert: {
29137
- access_token?: string | null;
29138
29690
  api_key: string;
29139
- client_id: string;
29140
- client_secret: string;
29141
29691
  created_at?: string;
29142
29692
  customers_endpoint?: string | null;
29143
29693
  environment: string;
@@ -29152,10 +29702,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
29152
29702
  updated_at?: string;
29153
29703
  };
29154
29704
  Update: {
29155
- access_token?: string | null;
29156
29705
  api_key?: string;
29157
- client_id?: string;
29158
- client_secret?: string;
29159
29706
  created_at?: string;
29160
29707
  customers_endpoint?: string | null;
29161
29708
  environment?: string;
@@ -29239,6 +29786,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
29239
29786
  attempts: number;
29240
29787
  connection_id: string;
29241
29788
  created_at: string;
29789
+ dead_lettered_at: string | null;
29242
29790
  desired_available: boolean | null;
29243
29791
  gateway_attempt_id: string | null;
29244
29792
  id: string;
@@ -29247,9 +29795,13 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
29247
29795
  locked_by: string | null;
29248
29796
  next_attempt_at: string;
29249
29797
  number_of_pieces: number;
29798
+ product_id: string | null;
29250
29799
  sent_at: string | null;
29251
29800
  status: string;
29801
+ stock_mode: string | null;
29252
29802
  superseded_by: string | null;
29803
+ target_week: number | null;
29804
+ target_year: number | null;
29253
29805
  trade_item_id: string;
29254
29806
  updated_at: string;
29255
29807
  user_id: string;
@@ -29258,6 +29810,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
29258
29810
  attempts?: number;
29259
29811
  connection_id: string;
29260
29812
  created_at?: string;
29813
+ dead_lettered_at?: string | null;
29261
29814
  desired_available?: boolean | null;
29262
29815
  gateway_attempt_id?: string | null;
29263
29816
  id?: string;
@@ -29266,9 +29819,13 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
29266
29819
  locked_by?: string | null;
29267
29820
  next_attempt_at?: string;
29268
29821
  number_of_pieces?: number;
29822
+ product_id?: string | null;
29269
29823
  sent_at?: string | null;
29270
29824
  status?: string;
29825
+ stock_mode?: string | null;
29271
29826
  superseded_by?: string | null;
29827
+ target_week?: number | null;
29828
+ target_year?: number | null;
29272
29829
  trade_item_id: string;
29273
29830
  updated_at?: string;
29274
29831
  user_id: string;
@@ -29277,6 +29834,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
29277
29834
  attempts?: number;
29278
29835
  connection_id?: string;
29279
29836
  created_at?: string;
29837
+ dead_lettered_at?: string | null;
29280
29838
  desired_available?: boolean | null;
29281
29839
  gateway_attempt_id?: string | null;
29282
29840
  id?: string;
@@ -29285,9 +29843,13 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
29285
29843
  locked_by?: string | null;
29286
29844
  next_attempt_at?: string;
29287
29845
  number_of_pieces?: number;
29846
+ product_id?: string | null;
29288
29847
  sent_at?: string | null;
29289
29848
  status?: string;
29849
+ stock_mode?: string | null;
29290
29850
  superseded_by?: string | null;
29851
+ target_week?: number | null;
29852
+ target_year?: number | null;
29291
29853
  trade_item_id?: string;
29292
29854
  updated_at?: string;
29293
29855
  user_id?: string;
@@ -29696,6 +30258,87 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
29696
30258
  referencedColumns: ["id"];
29697
30259
  }];
29698
30260
  };
30261
+ floriday_inventory_settings: {
30262
+ Row: {
30263
+ buffer_quantity: number;
30264
+ connection_id: string;
30265
+ created_at: string;
30266
+ desired_availability: boolean;
30267
+ desired_quantity: number;
30268
+ fixed_quantity: number | null;
30269
+ floriday_trade_item_id: string | null;
30270
+ id: string;
30271
+ last_confirmed_at: string | null;
30272
+ last_enqueued_at: string | null;
30273
+ last_published_at: string | null;
30274
+ last_sync_error: string | null;
30275
+ manual_quantity: number | null;
30276
+ maximum_quantity: number | null;
30277
+ product_id: string;
30278
+ quantity_control: string;
30279
+ remote_available: boolean | null;
30280
+ remote_checked_at: string | null;
30281
+ remote_quantity: number | null;
30282
+ stock_mode: string;
30283
+ sync_status: string;
30284
+ updated_at: string;
30285
+ updated_by: string | null;
30286
+ user_id: string;
30287
+ };
30288
+ Insert: {
30289
+ buffer_quantity?: number;
30290
+ connection_id: string;
30291
+ created_at?: string;
30292
+ desired_availability?: boolean;
30293
+ desired_quantity?: number;
30294
+ fixed_quantity?: number | null;
30295
+ floriday_trade_item_id?: string | null;
30296
+ id?: string;
30297
+ last_confirmed_at?: string | null;
30298
+ last_enqueued_at?: string | null;
30299
+ last_published_at?: string | null;
30300
+ last_sync_error?: string | null;
30301
+ manual_quantity?: number | null;
30302
+ maximum_quantity?: number | null;
30303
+ product_id: string;
30304
+ quantity_control?: string;
30305
+ remote_available?: boolean | null;
30306
+ remote_checked_at?: string | null;
30307
+ remote_quantity?: number | null;
30308
+ stock_mode?: string;
30309
+ sync_status?: string;
30310
+ updated_at?: string;
30311
+ updated_by?: string | null;
30312
+ user_id: string;
30313
+ };
30314
+ Update: {
30315
+ buffer_quantity?: number;
30316
+ connection_id?: string;
30317
+ created_at?: string;
30318
+ desired_availability?: boolean;
30319
+ desired_quantity?: number;
30320
+ fixed_quantity?: number | null;
30321
+ floriday_trade_item_id?: string | null;
30322
+ id?: string;
30323
+ last_confirmed_at?: string | null;
30324
+ last_enqueued_at?: string | null;
30325
+ last_published_at?: string | null;
30326
+ last_sync_error?: string | null;
30327
+ manual_quantity?: number | null;
30328
+ maximum_quantity?: number | null;
30329
+ product_id?: string;
30330
+ quantity_control?: string;
30331
+ remote_available?: boolean | null;
30332
+ remote_checked_at?: string | null;
30333
+ remote_quantity?: number | null;
30334
+ stock_mode?: string;
30335
+ sync_status?: string;
30336
+ updated_at?: string;
30337
+ updated_by?: string | null;
30338
+ user_id?: string;
30339
+ };
30340
+ Relationships: [];
30341
+ };
29699
30342
  floriday_invoices_cache: {
29700
30343
  Row: {
29701
30344
  buyer_organization_id: string | null;
@@ -29984,6 +30627,39 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
29984
30627
  };
29985
30628
  Relationships: [];
29986
30629
  };
30630
+ floriday_sales_order_ingest: {
30631
+ Row: {
30632
+ connection_id: string;
30633
+ created_at: string;
30634
+ id: string;
30635
+ impact: import("../integrations/supabase/types").Json;
30636
+ order_status: string | null;
30637
+ order_version: number;
30638
+ processed_at: string;
30639
+ sales_order_id: string;
30640
+ };
30641
+ Insert: {
30642
+ connection_id: string;
30643
+ created_at?: string;
30644
+ id?: string;
30645
+ impact?: import("../integrations/supabase/types").Json;
30646
+ order_status?: string | null;
30647
+ order_version?: number;
30648
+ processed_at?: string;
30649
+ sales_order_id: string;
30650
+ };
30651
+ Update: {
30652
+ connection_id?: string;
30653
+ created_at?: string;
30654
+ id?: string;
30655
+ impact?: import("../integrations/supabase/types").Json;
30656
+ order_status?: string | null;
30657
+ order_version?: number;
30658
+ processed_at?: string;
30659
+ sales_order_id?: string;
30660
+ };
30661
+ Relationships: [];
30662
+ };
29987
30663
  floriday_sales_strategies_cache: {
29988
30664
  Row: {
29989
30665
  connection_id: string;
@@ -30083,6 +30759,39 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
30083
30759
  };
30084
30760
  Relationships: [];
30085
30761
  };
30762
+ floriday_sync_cursors: {
30763
+ Row: {
30764
+ connection_id: string;
30765
+ created_at: string;
30766
+ id: string;
30767
+ last_error: string | null;
30768
+ last_sync_at: string | null;
30769
+ resource_type: string;
30770
+ sequence_number: number;
30771
+ updated_at: string;
30772
+ };
30773
+ Insert: {
30774
+ connection_id: string;
30775
+ created_at?: string;
30776
+ id?: string;
30777
+ last_error?: string | null;
30778
+ last_sync_at?: string | null;
30779
+ resource_type: string;
30780
+ sequence_number?: number;
30781
+ updated_at?: string;
30782
+ };
30783
+ Update: {
30784
+ connection_id?: string;
30785
+ created_at?: string;
30786
+ id?: string;
30787
+ last_error?: string | null;
30788
+ last_sync_at?: string | null;
30789
+ resource_type?: string;
30790
+ sequence_number?: number;
30791
+ updated_at?: string;
30792
+ };
30793
+ Relationships: [];
30794
+ };
30086
30795
  floriday_sync_state: {
30087
30796
  Row: {
30088
30797
  connection_id: string;
@@ -30773,6 +31482,42 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
30773
31482
  };
30774
31483
  Relationships: [];
30775
31484
  };
31485
+ inventory_stock_snapshots: {
31486
+ Row: {
31487
+ connection_id: string;
31488
+ created_at: string;
31489
+ erp_available_quantity: number;
31490
+ floriday_desired_quantity: number;
31491
+ floriday_remote_quantity: number | null;
31492
+ granularity: string;
31493
+ id: string;
31494
+ snapshot_at: string;
31495
+ user_id: string | null;
31496
+ };
31497
+ Insert: {
31498
+ connection_id: string;
31499
+ created_at?: string;
31500
+ erp_available_quantity?: number;
31501
+ floriday_desired_quantity?: number;
31502
+ floriday_remote_quantity?: number | null;
31503
+ granularity?: string;
31504
+ id?: string;
31505
+ snapshot_at?: string;
31506
+ user_id?: string | null;
31507
+ };
31508
+ Update: {
31509
+ connection_id?: string;
31510
+ created_at?: string;
31511
+ erp_available_quantity?: number;
31512
+ floriday_desired_quantity?: number;
31513
+ floriday_remote_quantity?: number | null;
31514
+ granularity?: string;
31515
+ id?: string;
31516
+ snapshot_at?: string;
31517
+ user_id?: string | null;
31518
+ };
31519
+ Relationships: [];
31520
+ };
30776
31521
  invoice_items: {
30777
31522
  Row: {
30778
31523
  created_at: string;
@@ -31281,13 +32026,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
31281
32026
  segment?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
31282
32027
  updated_at?: string;
31283
32028
  };
31284
- Relationships: [{
31285
- foreignKeyName: "itk_customers_legacy_customer_id_fkey";
31286
- columns: ["legacy_customer_id"];
31287
- isOneToOne: false;
31288
- referencedRelation: "customers";
31289
- referencedColumns: ["id"];
31290
- }];
32029
+ Relationships: [];
31291
32030
  };
31292
32031
  itk_dynamic_fields: {
31293
32032
  Row: {
@@ -31319,6 +32058,180 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
31319
32058
  };
31320
32059
  Relationships: [];
31321
32060
  };
32061
+ itk_handover_rechten: {
32062
+ Row: {
32063
+ created_at: string;
32064
+ id: string;
32065
+ module_id: string;
32066
+ rol: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"] | null;
32067
+ updated_at: string;
32068
+ user_id: string | null;
32069
+ };
32070
+ Insert: {
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
+ Update: {
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
+ Relationships: [];
32087
+ };
32088
+ itk_handover_tokens: {
32089
+ Row: {
32090
+ aangemaakt_door: string | null;
32091
+ created_at: string;
32092
+ id: string;
32093
+ is_actief: boolean;
32094
+ laatst_gebruikt_op: string | null;
32095
+ label: string;
32096
+ module_id: string;
32097
+ token_hash: string;
32098
+ updated_at: string;
32099
+ verloopt_op: string | null;
32100
+ };
32101
+ Insert: {
32102
+ aangemaakt_door?: string | null;
32103
+ created_at?: string;
32104
+ id?: string;
32105
+ is_actief?: boolean;
32106
+ laatst_gebruikt_op?: string | null;
32107
+ label?: string;
32108
+ module_id: string;
32109
+ token_hash: string;
32110
+ updated_at?: string;
32111
+ verloopt_op?: string | null;
32112
+ };
32113
+ Update: {
32114
+ aangemaakt_door?: string | null;
32115
+ created_at?: string;
32116
+ id?: string;
32117
+ is_actief?: boolean;
32118
+ laatst_gebruikt_op?: string | null;
32119
+ label?: string;
32120
+ module_id?: string;
32121
+ token_hash?: string;
32122
+ updated_at?: string;
32123
+ verloopt_op?: string | null;
32124
+ };
32125
+ Relationships: [];
32126
+ };
32127
+ itk_module_handovers: {
32128
+ Row: {
32129
+ bevindingen: string | null;
32130
+ bezit_tabellen: string[];
32131
+ conflicten_snapshot: import("../integrations/supabase/types").Json;
32132
+ contractfuncties: string[];
32133
+ created_at: string;
32134
+ eigenaar_module_id: string | null;
32135
+ gepubliceerd_door: string | null;
32136
+ gepubliceerd_op: string;
32137
+ herzieningstermijn_dagen: number;
32138
+ id: string;
32139
+ inhoud_md: string;
32140
+ is_actueel: boolean;
32141
+ module_id: string;
32142
+ module_titel: string;
32143
+ ontbrekende_contracten: string[];
32144
+ samenvatting: string | null;
32145
+ updated_at: string;
32146
+ versie: number;
32147
+ };
32148
+ Insert: {
32149
+ bevindingen?: string | null;
32150
+ bezit_tabellen?: string[];
32151
+ conflicten_snapshot?: import("../integrations/supabase/types").Json;
32152
+ contractfuncties?: string[];
32153
+ created_at?: string;
32154
+ eigenaar_module_id?: string | null;
32155
+ gepubliceerd_door?: string | null;
32156
+ gepubliceerd_op?: string;
32157
+ herzieningstermijn_dagen?: number;
32158
+ id?: string;
32159
+ inhoud_md: string;
32160
+ is_actueel?: boolean;
32161
+ module_id: string;
32162
+ module_titel: string;
32163
+ ontbrekende_contracten?: string[];
32164
+ samenvatting?: string | null;
32165
+ updated_at?: string;
32166
+ versie?: number;
32167
+ };
32168
+ Update: {
32169
+ bevindingen?: string | null;
32170
+ bezit_tabellen?: string[];
32171
+ conflicten_snapshot?: import("../integrations/supabase/types").Json;
32172
+ contractfuncties?: string[];
32173
+ created_at?: string;
32174
+ eigenaar_module_id?: string | null;
32175
+ gepubliceerd_door?: string | null;
32176
+ gepubliceerd_op?: string;
32177
+ herzieningstermijn_dagen?: number;
32178
+ id?: string;
32179
+ inhoud_md?: string;
32180
+ is_actueel?: boolean;
32181
+ module_id?: string;
32182
+ module_titel?: string;
32183
+ ontbrekende_contracten?: string[];
32184
+ samenvatting?: string | null;
32185
+ updated_at?: string;
32186
+ versie?: number;
32187
+ };
32188
+ Relationships: [];
32189
+ };
32190
+ itk_module_instructies: {
32191
+ Row: {
32192
+ created_at: string;
32193
+ eigenaar_module_id: string;
32194
+ gepubliceerd_door: string | null;
32195
+ gepubliceerd_op: string;
32196
+ id: string;
32197
+ inhoud_md: string;
32198
+ is_actueel: boolean;
32199
+ sleutel: string;
32200
+ titel: string;
32201
+ toelichting: string | null;
32202
+ updated_at: string;
32203
+ versie: number;
32204
+ };
32205
+ Insert: {
32206
+ created_at?: string;
32207
+ eigenaar_module_id?: string;
32208
+ gepubliceerd_door?: string | null;
32209
+ gepubliceerd_op?: string;
32210
+ id?: string;
32211
+ inhoud_md: string;
32212
+ is_actueel?: boolean;
32213
+ sleutel: string;
32214
+ titel: string;
32215
+ toelichting?: string | null;
32216
+ updated_at?: string;
32217
+ versie?: number;
32218
+ };
32219
+ Update: {
32220
+ created_at?: string;
32221
+ eigenaar_module_id?: string;
32222
+ gepubliceerd_door?: string | null;
32223
+ gepubliceerd_op?: string;
32224
+ id?: string;
32225
+ inhoud_md?: string;
32226
+ is_actueel?: boolean;
32227
+ sleutel?: string;
32228
+ titel?: string;
32229
+ toelichting?: string | null;
32230
+ updated_at?: string;
32231
+ versie?: number;
32232
+ };
32233
+ Relationships: [];
32234
+ };
31322
32235
  itk_offerte_events: {
31323
32236
  Row: {
31324
32237
  created_at: string;
@@ -33947,6 +34860,24 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
33947
34860
  };
33948
34861
  Relationships: [];
33949
34862
  };
34863
+ maps_job_lease: {
34864
+ Row: {
34865
+ job: string;
34866
+ locked_until: string;
34867
+ updated_at: string;
34868
+ };
34869
+ Insert: {
34870
+ job: string;
34871
+ locked_until?: string;
34872
+ updated_at?: string;
34873
+ };
34874
+ Update: {
34875
+ job?: string;
34876
+ locked_until?: string;
34877
+ updated_at?: string;
34878
+ };
34879
+ Relationships: [];
34880
+ };
33950
34881
  maps_request_queue: {
33951
34882
  Row: {
33952
34883
  attempts: number;
@@ -34008,6 +34939,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
34008
34939
  last_error: string | null;
34009
34940
  last_error_at: string | null;
34010
34941
  last_success_at: string | null;
34942
+ provider: string;
34011
34943
  updated_at: string;
34012
34944
  };
34013
34945
  Insert: {
@@ -34019,6 +34951,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
34019
34951
  last_error?: string | null;
34020
34952
  last_error_at?: string | null;
34021
34953
  last_success_at?: string | null;
34954
+ provider?: string;
34022
34955
  updated_at?: string;
34023
34956
  };
34024
34957
  Update: {
@@ -34030,6 +34963,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
34030
34963
  last_error?: string | null;
34031
34964
  last_error_at?: string | null;
34032
34965
  last_success_at?: string | null;
34966
+ provider?: string;
34033
34967
  updated_at?: string;
34034
34968
  };
34035
34969
  Relationships: [];
@@ -36672,6 +37606,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
36672
37606
  isOneToOne: false;
36673
37607
  referencedRelation: "planning_items";
36674
37608
  referencedColumns: ["id"];
37609
+ }, {
37610
+ foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
37611
+ columns: ["planning_item_id"];
37612
+ isOneToOne: false;
37613
+ referencedRelation: "planning_overview";
37614
+ referencedColumns: ["id"];
36675
37615
  }];
36676
37616
  };
36677
37617
  planning_items: {
@@ -36767,6 +37707,39 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
36767
37707
  };
36768
37708
  Relationships: [];
36769
37709
  };
37710
+ print_dedupe_events: {
37711
+ Row: {
37712
+ bestaande_job_id: string | null;
37713
+ created_at: string;
37714
+ detail: string | null;
37715
+ documentnaam: string | null;
37716
+ documenttype: string | null;
37717
+ id: string;
37718
+ idempotentie_sleutel: string;
37719
+ reden: string;
37720
+ };
37721
+ Insert: {
37722
+ bestaande_job_id?: string | null;
37723
+ created_at?: string;
37724
+ detail?: string | null;
37725
+ documentnaam?: string | null;
37726
+ documenttype?: string | null;
37727
+ id?: string;
37728
+ idempotentie_sleutel: string;
37729
+ reden: string;
37730
+ };
37731
+ Update: {
37732
+ bestaande_job_id?: string | null;
37733
+ created_at?: string;
37734
+ detail?: string | null;
37735
+ documentnaam?: string | null;
37736
+ documenttype?: string | null;
37737
+ id?: string;
37738
+ idempotentie_sleutel?: string;
37739
+ reden?: string;
37740
+ };
37741
+ Relationships: [];
37742
+ };
36770
37743
  print_job_logs: {
36771
37744
  Row: {
36772
37745
  created_at: string;
@@ -36808,6 +37781,8 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
36808
37781
  foutmelding: string | null;
36809
37782
  gebruiker_id: string | null;
36810
37783
  gebruiker_naam: string;
37784
+ gebruikte_bron: string | null;
37785
+ gebruikte_layout_id: string | null;
36811
37786
  gestart_op: string | null;
36812
37787
  herkomst: string | null;
36813
37788
  id: string;
@@ -36815,6 +37790,9 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
36815
37790
  is_herprint: boolean;
36816
37791
  kopieen: number;
36817
37792
  layout_id: string | null;
37793
+ lokaal_opgeslagen_op: string | null;
37794
+ lokale_pdf_fout: string | null;
37795
+ lokale_pdf_status: string | null;
36818
37796
  opgepakt_op: string | null;
36819
37797
  paginas: number;
36820
37798
  payload: import("../integrations/supabase/types").Json;
@@ -36823,6 +37801,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
36823
37801
  pogingen: number;
36824
37802
  printer_id: string | null;
36825
37803
  render_html: string | null;
37804
+ resultaat_pdf_base64: string | null;
36826
37805
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36827
37806
  updated_at: string;
36828
37807
  volgende_poging: string | null;
@@ -36838,6 +37817,8 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
36838
37817
  foutmelding?: string | null;
36839
37818
  gebruiker_id?: string | null;
36840
37819
  gebruiker_naam?: string;
37820
+ gebruikte_bron?: string | null;
37821
+ gebruikte_layout_id?: string | null;
36841
37822
  gestart_op?: string | null;
36842
37823
  herkomst?: string | null;
36843
37824
  id?: string;
@@ -36845,6 +37826,9 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
36845
37826
  is_herprint?: boolean;
36846
37827
  kopieen?: number;
36847
37828
  layout_id?: string | null;
37829
+ lokaal_opgeslagen_op?: string | null;
37830
+ lokale_pdf_fout?: string | null;
37831
+ lokale_pdf_status?: string | null;
36848
37832
  opgepakt_op?: string | null;
36849
37833
  paginas?: number;
36850
37834
  payload?: import("../integrations/supabase/types").Json;
@@ -36853,6 +37837,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
36853
37837
  pogingen?: number;
36854
37838
  printer_id?: string | null;
36855
37839
  render_html?: string | null;
37840
+ resultaat_pdf_base64?: string | null;
36856
37841
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36857
37842
  updated_at?: string;
36858
37843
  volgende_poging?: string | null;
@@ -36868,6 +37853,8 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
36868
37853
  foutmelding?: string | null;
36869
37854
  gebruiker_id?: string | null;
36870
37855
  gebruiker_naam?: string;
37856
+ gebruikte_bron?: string | null;
37857
+ gebruikte_layout_id?: string | null;
36871
37858
  gestart_op?: string | null;
36872
37859
  herkomst?: string | null;
36873
37860
  id?: string;
@@ -36875,6 +37862,9 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
36875
37862
  is_herprint?: boolean;
36876
37863
  kopieen?: number;
36877
37864
  layout_id?: string | null;
37865
+ lokaal_opgeslagen_op?: string | null;
37866
+ lokale_pdf_fout?: string | null;
37867
+ lokale_pdf_status?: string | null;
36878
37868
  opgepakt_op?: string | null;
36879
37869
  paginas?: number;
36880
37870
  payload?: import("../integrations/supabase/types").Json;
@@ -36883,6 +37873,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
36883
37873
  pogingen?: number;
36884
37874
  printer_id?: string | null;
36885
37875
  render_html?: string | null;
37876
+ resultaat_pdf_base64?: string | null;
36886
37877
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36887
37878
  updated_at?: string;
36888
37879
  volgende_poging?: string | null;
@@ -37001,6 +37992,39 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
37001
37992
  };
37002
37993
  Relationships: [];
37003
37994
  };
37995
+ print_preview_events: {
37996
+ Row: {
37997
+ code: string | null;
37998
+ created_at: string;
37999
+ detail: import("../integrations/supabase/types").Json;
38000
+ id: string;
38001
+ queue_item_id: string | null;
38002
+ reden: string | null;
38003
+ station_slug: string | null;
38004
+ uitkomst: string;
38005
+ };
38006
+ Insert: {
38007
+ code?: string | null;
38008
+ created_at?: string;
38009
+ detail?: import("../integrations/supabase/types").Json;
38010
+ id?: string;
38011
+ queue_item_id?: string | null;
38012
+ reden?: string | null;
38013
+ station_slug?: string | null;
38014
+ uitkomst?: string;
38015
+ };
38016
+ Update: {
38017
+ code?: string | null;
38018
+ created_at?: string;
38019
+ detail?: import("../integrations/supabase/types").Json;
38020
+ id?: string;
38021
+ queue_item_id?: string | null;
38022
+ reden?: string | null;
38023
+ station_slug?: string | null;
38024
+ uitkomst?: string;
38025
+ };
38026
+ Relationships: [];
38027
+ };
37004
38028
  print_queue_runners: {
37005
38029
  Row: {
37006
38030
  actief: boolean;
@@ -37240,6 +38264,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
37240
38264
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
37241
38265
  online: boolean;
37242
38266
  papierformaat: string;
38267
+ pdf_map: string | null;
37243
38268
  poort: number | null;
37244
38269
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37245
38270
  systeemnaam: string;
@@ -37265,6 +38290,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
37265
38290
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37266
38291
  online?: boolean;
37267
38292
  papierformaat?: string;
38293
+ pdf_map?: string | null;
37268
38294
  poort?: number | null;
37269
38295
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37270
38296
  systeemnaam?: string;
@@ -37290,6 +38316,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
37290
38316
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37291
38317
  online?: boolean;
37292
38318
  papierformaat?: string;
38319
+ pdf_map?: string | null;
37293
38320
  poort?: number | null;
37294
38321
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37295
38322
  systeemnaam?: string;
@@ -38162,450 +39189,6 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
38162
39189
  referencedColumns: ["id"];
38163
39190
  }];
38164
39191
  };
38165
- quote_activities: {
38166
- Row: {
38167
- created_at: string;
38168
- event_type: string;
38169
- id: string;
38170
- metadata: import("../integrations/supabase/types").Json;
38171
- quote_id: string;
38172
- user_id: string | null;
38173
- };
38174
- Insert: {
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
- Update: {
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
- Relationships: [{
38191
- foreignKeyName: "quote_activities_quote_id_fkey";
38192
- columns: ["quote_id"];
38193
- isOneToOne: false;
38194
- referencedRelation: "quotes";
38195
- referencedColumns: ["id"];
38196
- }];
38197
- };
38198
- quote_attachments: {
38199
- Row: {
38200
- created_at: string;
38201
- file_name: string;
38202
- file_size: number | null;
38203
- file_url: string;
38204
- id: string;
38205
- mime_type: string | null;
38206
- quote_id: string;
38207
- };
38208
- Insert: {
38209
- created_at?: string;
38210
- file_name: string;
38211
- file_size?: number | null;
38212
- file_url: string;
38213
- id?: string;
38214
- mime_type?: string | null;
38215
- quote_id: string;
38216
- };
38217
- Update: {
38218
- created_at?: string;
38219
- file_name?: string;
38220
- file_size?: number | null;
38221
- file_url?: string;
38222
- id?: string;
38223
- mime_type?: string | null;
38224
- quote_id?: string;
38225
- };
38226
- Relationships: [{
38227
- foreignKeyName: "quote_attachments_quote_id_fkey";
38228
- columns: ["quote_id"];
38229
- isOneToOne: false;
38230
- referencedRelation: "quotes";
38231
- referencedColumns: ["id"];
38232
- }];
38233
- };
38234
- quote_field_options: {
38235
- Row: {
38236
- created_at: string;
38237
- field_id: string;
38238
- id: string;
38239
- label: string;
38240
- sort_order: number;
38241
- value: string;
38242
- };
38243
- Insert: {
38244
- created_at?: string;
38245
- field_id: string;
38246
- id?: string;
38247
- label: string;
38248
- sort_order?: number;
38249
- value: string;
38250
- };
38251
- Update: {
38252
- created_at?: string;
38253
- field_id?: string;
38254
- id?: string;
38255
- label?: string;
38256
- sort_order?: number;
38257
- value?: string;
38258
- };
38259
- Relationships: [{
38260
- foreignKeyName: "quote_field_options_field_id_fkey";
38261
- columns: ["field_id"];
38262
- isOneToOne: false;
38263
- referencedRelation: "quote_field_settings";
38264
- referencedColumns: ["id"];
38265
- }];
38266
- };
38267
- quote_field_settings: {
38268
- Row: {
38269
- created_at: string;
38270
- default_value: string | null;
38271
- field_key: string;
38272
- field_type: string;
38273
- id: string;
38274
- is_system: boolean;
38275
- label: string;
38276
- required: boolean;
38277
- sort_order: number;
38278
- updated_at: string;
38279
- visible: boolean;
38280
- };
38281
- Insert: {
38282
- created_at?: string;
38283
- default_value?: string | null;
38284
- field_key: string;
38285
- field_type: string;
38286
- id?: string;
38287
- is_system?: boolean;
38288
- label: string;
38289
- required?: boolean;
38290
- sort_order?: number;
38291
- updated_at?: string;
38292
- visible?: boolean;
38293
- };
38294
- Update: {
38295
- created_at?: string;
38296
- default_value?: string | null;
38297
- field_key?: string;
38298
- field_type?: string;
38299
- id?: string;
38300
- is_system?: boolean;
38301
- label?: string;
38302
- required?: boolean;
38303
- sort_order?: number;
38304
- updated_at?: string;
38305
- visible?: boolean;
38306
- };
38307
- Relationships: [];
38308
- };
38309
- quote_items: {
38310
- Row: {
38311
- category: string | null;
38312
- created_at: string;
38313
- description: string;
38314
- id: string;
38315
- line_total: number;
38316
- module_id: string | null;
38317
- name: string | null;
38318
- quantity: number;
38319
- quote_id: string;
38320
- sort_order: number;
38321
- unit_price: number;
38322
- };
38323
- Insert: {
38324
- category?: string | null;
38325
- created_at?: string;
38326
- description?: string;
38327
- id?: string;
38328
- line_total?: number;
38329
- module_id?: string | null;
38330
- name?: string | null;
38331
- quantity?: number;
38332
- quote_id: string;
38333
- sort_order?: number;
38334
- unit_price?: number;
38335
- };
38336
- Update: {
38337
- category?: string | null;
38338
- created_at?: string;
38339
- description?: string;
38340
- id?: string;
38341
- line_total?: number;
38342
- module_id?: string | null;
38343
- name?: string | null;
38344
- quantity?: number;
38345
- quote_id?: string;
38346
- sort_order?: number;
38347
- unit_price?: number;
38348
- };
38349
- Relationships: [{
38350
- foreignKeyName: "quote_items_module_id_fkey";
38351
- columns: ["module_id"];
38352
- isOneToOne: false;
38353
- referencedRelation: "quote_modules";
38354
- referencedColumns: ["id"];
38355
- }, {
38356
- foreignKeyName: "quote_items_quote_id_fkey";
38357
- columns: ["quote_id"];
38358
- isOneToOne: false;
38359
- referencedRelation: "quotes";
38360
- referencedColumns: ["id"];
38361
- }];
38362
- };
38363
- quote_modules: {
38364
- Row: {
38365
- category: string | null;
38366
- created_at: string;
38367
- description: string | null;
38368
- id: string;
38369
- is_active: boolean;
38370
- name: string;
38371
- price: number;
38372
- sort_order: number;
38373
- updated_at: string;
38374
- };
38375
- Insert: {
38376
- category?: string | null;
38377
- created_at?: string;
38378
- description?: string | null;
38379
- id?: string;
38380
- is_active?: boolean;
38381
- name: string;
38382
- price?: number;
38383
- sort_order?: number;
38384
- updated_at?: string;
38385
- };
38386
- Update: {
38387
- category?: string | null;
38388
- created_at?: string;
38389
- description?: string | null;
38390
- id?: string;
38391
- is_active?: boolean;
38392
- name?: string;
38393
- price?: number;
38394
- sort_order?: number;
38395
- updated_at?: string;
38396
- };
38397
- Relationships: [];
38398
- };
38399
- quote_templates: {
38400
- Row: {
38401
- created_at: string;
38402
- description: string | null;
38403
- field_values: import("../integrations/supabase/types").Json;
38404
- id: string;
38405
- is_default: boolean;
38406
- items: import("../integrations/supabase/types").Json;
38407
- name: string;
38408
- updated_at: string;
38409
- vat_rate: number;
38410
- };
38411
- Insert: {
38412
- created_at?: string;
38413
- description?: string | null;
38414
- field_values?: import("../integrations/supabase/types").Json;
38415
- id?: string;
38416
- is_default?: boolean;
38417
- items?: import("../integrations/supabase/types").Json;
38418
- name: string;
38419
- updated_at?: string;
38420
- vat_rate?: number;
38421
- };
38422
- Update: {
38423
- created_at?: string;
38424
- description?: string | null;
38425
- field_values?: import("../integrations/supabase/types").Json;
38426
- id?: string;
38427
- is_default?: boolean;
38428
- items?: import("../integrations/supabase/types").Json;
38429
- name?: string;
38430
- updated_at?: string;
38431
- vat_rate?: number;
38432
- };
38433
- Relationships: [];
38434
- };
38435
- quote_terms: {
38436
- Row: {
38437
- content: string | null;
38438
- created_at: string;
38439
- file_url: string | null;
38440
- id: string;
38441
- is_active: boolean;
38442
- name: string;
38443
- published_at: string | null;
38444
- updated_at: string;
38445
- version: string;
38446
- };
38447
- Insert: {
38448
- content?: string | null;
38449
- created_at?: string;
38450
- file_url?: string | null;
38451
- id?: string;
38452
- is_active?: boolean;
38453
- name: string;
38454
- published_at?: string | null;
38455
- updated_at?: string;
38456
- version?: string;
38457
- };
38458
- Update: {
38459
- content?: string | null;
38460
- created_at?: string;
38461
- file_url?: string | null;
38462
- id?: string;
38463
- is_active?: boolean;
38464
- name?: string;
38465
- published_at?: string | null;
38466
- updated_at?: string;
38467
- version?: string;
38468
- };
38469
- Relationships: [];
38470
- };
38471
- quotes: {
38472
- Row: {
38473
- accepted_at: string | null;
38474
- archived_at: string | null;
38475
- contact_id: string | null;
38476
- created_at: string;
38477
- customer_id: string | null;
38478
- discount: number;
38479
- expires_at: string | null;
38480
- field_values: import("../integrations/supabase/types").Json;
38481
- id: string;
38482
- notes: string | null;
38483
- owner_id: string | null;
38484
- personal_message: string | null;
38485
- project_id: string | null;
38486
- prospect_id: string | null;
38487
- public_token: string;
38488
- quote_number: string | null;
38489
- recipient_email: string | null;
38490
- recipient_name: string | null;
38491
- rejected_at: string | null;
38492
- sent_at: string | null;
38493
- status: string;
38494
- subtotal: number;
38495
- template_id: string | null;
38496
- terms_id: string | null;
38497
- title: string;
38498
- total: number;
38499
- updated_at: string;
38500
- valid_until: string | null;
38501
- vat_amount: number;
38502
- vat_rate: number;
38503
- viewed_at: string | null;
38504
- };
38505
- Insert: {
38506
- accepted_at?: string | null;
38507
- archived_at?: string | null;
38508
- contact_id?: string | null;
38509
- created_at?: string;
38510
- customer_id?: string | null;
38511
- discount?: number;
38512
- expires_at?: string | null;
38513
- field_values?: import("../integrations/supabase/types").Json;
38514
- id?: string;
38515
- notes?: string | null;
38516
- owner_id?: string | null;
38517
- personal_message?: string | null;
38518
- project_id?: string | null;
38519
- prospect_id?: string | null;
38520
- public_token?: string;
38521
- quote_number?: string | null;
38522
- recipient_email?: string | null;
38523
- recipient_name?: string | null;
38524
- rejected_at?: string | null;
38525
- sent_at?: string | null;
38526
- status?: string;
38527
- subtotal?: number;
38528
- template_id?: string | null;
38529
- terms_id?: string | null;
38530
- title?: string;
38531
- total?: number;
38532
- updated_at?: string;
38533
- valid_until?: string | null;
38534
- vat_amount?: number;
38535
- vat_rate?: number;
38536
- viewed_at?: string | null;
38537
- };
38538
- Update: {
38539
- accepted_at?: string | null;
38540
- archived_at?: string | null;
38541
- contact_id?: string | null;
38542
- created_at?: string;
38543
- customer_id?: string | null;
38544
- discount?: number;
38545
- expires_at?: string | null;
38546
- field_values?: import("../integrations/supabase/types").Json;
38547
- id?: string;
38548
- notes?: string | null;
38549
- owner_id?: string | null;
38550
- personal_message?: string | null;
38551
- project_id?: string | null;
38552
- prospect_id?: string | null;
38553
- public_token?: string;
38554
- quote_number?: string | null;
38555
- recipient_email?: string | null;
38556
- recipient_name?: string | null;
38557
- rejected_at?: string | null;
38558
- sent_at?: string | null;
38559
- status?: string;
38560
- subtotal?: number;
38561
- template_id?: string | null;
38562
- terms_id?: string | null;
38563
- title?: string;
38564
- total?: number;
38565
- updated_at?: string;
38566
- valid_until?: string | null;
38567
- vat_amount?: number;
38568
- vat_rate?: number;
38569
- viewed_at?: string | null;
38570
- };
38571
- Relationships: [{
38572
- foreignKeyName: "quotes_contact_id_fkey";
38573
- columns: ["contact_id"];
38574
- isOneToOne: false;
38575
- referencedRelation: "customer_contacts";
38576
- referencedColumns: ["id"];
38577
- }, {
38578
- foreignKeyName: "quotes_customer_id_fkey";
38579
- columns: ["customer_id"];
38580
- isOneToOne: false;
38581
- referencedRelation: "customers";
38582
- referencedColumns: ["id"];
38583
- }, {
38584
- foreignKeyName: "quotes_project_id_fkey";
38585
- columns: ["project_id"];
38586
- isOneToOne: false;
38587
- referencedRelation: "projects";
38588
- referencedColumns: ["id"];
38589
- }, {
38590
- foreignKeyName: "quotes_prospect_id_fkey";
38591
- columns: ["prospect_id"];
38592
- isOneToOne: false;
38593
- referencedRelation: "prospects";
38594
- referencedColumns: ["id"];
38595
- }, {
38596
- foreignKeyName: "quotes_template_id_fkey";
38597
- columns: ["template_id"];
38598
- isOneToOne: false;
38599
- referencedRelation: "quote_templates";
38600
- referencedColumns: ["id"];
38601
- }, {
38602
- foreignKeyName: "quotes_terms_id_fkey";
38603
- columns: ["terms_id"];
38604
- isOneToOne: false;
38605
- referencedRelation: "quote_terms";
38606
- referencedColumns: ["id"];
38607
- }];
38608
- };
38609
39192
  reception_notifications: {
38610
39193
  Row: {
38611
39194
  booking_id: string | null;
@@ -39727,7 +40310,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39727
40310
  foreignKeyName: "time_logs_work_order_id_fkey";
39728
40311
  columns: ["work_order_id"];
39729
40312
  isOneToOne: false;
39730
- referencedRelation: "work_orders";
40313
+ referencedRelation: "werkbonnen";
39731
40314
  referencedColumns: ["id"];
39732
40315
  }];
39733
40316
  };
@@ -39859,6 +40442,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39859
40442
  };
39860
40443
  trade_item_stock: {
39861
40444
  Row: {
40445
+ change_source: string;
39862
40446
  connection_id: string;
39863
40447
  created_at: string;
39864
40448
  id: string;
@@ -39872,6 +40456,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39872
40456
  user_id: string;
39873
40457
  };
39874
40458
  Insert: {
40459
+ change_source?: string;
39875
40460
  connection_id: string;
39876
40461
  created_at?: string;
39877
40462
  id?: string;
@@ -39885,6 +40470,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39885
40470
  user_id: string;
39886
40471
  };
39887
40472
  Update: {
40473
+ change_source?: string;
39888
40474
  connection_id?: string;
39889
40475
  created_at?: string;
39890
40476
  id?: string;
@@ -41054,156 +41640,6 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
41054
41640
  };
41055
41641
  Relationships: [];
41056
41642
  };
41057
- uren_offerte_regels: {
41058
- Row: {
41059
- created_at: string;
41060
- description: string;
41061
- duration_minutes: number;
41062
- id: string;
41063
- offerte_id: string;
41064
- package_id: string | null;
41065
- quantity: number;
41066
- sort_order: number;
41067
- total_cents: number;
41068
- unit_price_cents: number;
41069
- };
41070
- Insert: {
41071
- created_at?: string;
41072
- description: string;
41073
- duration_minutes?: number;
41074
- id?: string;
41075
- offerte_id: string;
41076
- package_id?: string | null;
41077
- quantity?: number;
41078
- sort_order?: number;
41079
- total_cents?: number;
41080
- unit_price_cents?: number;
41081
- };
41082
- Update: {
41083
- created_at?: string;
41084
- description?: string;
41085
- duration_minutes?: number;
41086
- id?: string;
41087
- offerte_id?: string;
41088
- package_id?: string | null;
41089
- quantity?: number;
41090
- sort_order?: number;
41091
- total_cents?: number;
41092
- unit_price_cents?: number;
41093
- };
41094
- Relationships: [{
41095
- foreignKeyName: "uren_offerte_regels_offerte_id_fkey";
41096
- columns: ["offerte_id"];
41097
- isOneToOne: false;
41098
- referencedRelation: "uren_offertes";
41099
- referencedColumns: ["id"];
41100
- }, {
41101
- foreignKeyName: "uren_offerte_regels_package_id_fkey";
41102
- columns: ["package_id"];
41103
- isOneToOne: false;
41104
- referencedRelation: "werkbon_packages";
41105
- referencedColumns: ["id"];
41106
- }];
41107
- };
41108
- uren_offerte_velden: {
41109
- Row: {
41110
- created_at: string;
41111
- field_type: string;
41112
- id: string;
41113
- key: string;
41114
- label: string;
41115
- options: string[];
41116
- required: boolean;
41117
- sort_order: number;
41118
- updated_at: string;
41119
- };
41120
- Insert: {
41121
- created_at?: string;
41122
- field_type?: string;
41123
- id?: string;
41124
- key: string;
41125
- label: string;
41126
- options?: string[];
41127
- required?: boolean;
41128
- sort_order?: number;
41129
- updated_at?: string;
41130
- };
41131
- Update: {
41132
- created_at?: string;
41133
- field_type?: string;
41134
- id?: string;
41135
- key?: string;
41136
- label?: string;
41137
- options?: string[];
41138
- required?: boolean;
41139
- sort_order?: number;
41140
- updated_at?: string;
41141
- };
41142
- Relationships: [];
41143
- };
41144
- uren_offertes: {
41145
- Row: {
41146
- created_at: string;
41147
- created_by: string | null;
41148
- customer_id: string | null;
41149
- customer_name: string | null;
41150
- dynamic_fields: import("../integrations/supabase/types").Json;
41151
- estimated_minutes: number;
41152
- id: string;
41153
- note: string | null;
41154
- quote_number: string | null;
41155
- status: string;
41156
- title: string;
41157
- total_excl_cents: number;
41158
- total_incl_cents: number;
41159
- updated_at: string;
41160
- valid_until: string | null;
41161
- vat_percentage: number;
41162
- };
41163
- Insert: {
41164
- created_at?: string;
41165
- created_by?: string | null;
41166
- customer_id?: string | null;
41167
- customer_name?: string | null;
41168
- dynamic_fields?: import("../integrations/supabase/types").Json;
41169
- estimated_minutes?: number;
41170
- id?: string;
41171
- note?: string | null;
41172
- quote_number?: string | null;
41173
- status?: string;
41174
- title?: string;
41175
- total_excl_cents?: number;
41176
- total_incl_cents?: number;
41177
- updated_at?: string;
41178
- valid_until?: string | null;
41179
- vat_percentage?: number;
41180
- };
41181
- Update: {
41182
- created_at?: string;
41183
- created_by?: string | null;
41184
- customer_id?: string | null;
41185
- customer_name?: string | null;
41186
- dynamic_fields?: import("../integrations/supabase/types").Json;
41187
- estimated_minutes?: number;
41188
- id?: string;
41189
- note?: string | null;
41190
- quote_number?: string | null;
41191
- status?: string;
41192
- title?: string;
41193
- total_excl_cents?: number;
41194
- total_incl_cents?: number;
41195
- updated_at?: string;
41196
- valid_until?: string | null;
41197
- vat_percentage?: number;
41198
- };
41199
- Relationships: [{
41200
- foreignKeyName: "uren_offertes_customer_id_fkey";
41201
- columns: ["customer_id"];
41202
- isOneToOne: false;
41203
- referencedRelation: "itk_customers";
41204
- referencedColumns: ["id"];
41205
- }];
41206
- };
41207
41643
  uren_settings: {
41208
41644
  Row: {
41209
41645
  break_minutes: number;
@@ -42890,6 +43326,37 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
42890
43326
  };
42891
43327
  Relationships: [];
42892
43328
  };
43329
+ planning_overview: {
43330
+ Row: {
43331
+ assigned_monteur_id: string | null;
43332
+ assistants: import("../integrations/supabase/types").Json | null;
43333
+ budget_mandate_cents: number | null;
43334
+ created_at: string | null;
43335
+ created_by: string | null;
43336
+ customer_id: string | null;
43337
+ customer_name: string | null;
43338
+ duration_minutes: number | null;
43339
+ end_at: string | null;
43340
+ id: string | null;
43341
+ needs_detail_review: boolean | null;
43342
+ notes: string | null;
43343
+ project_number: string | null;
43344
+ review_reasons: string[] | null;
43345
+ start_at: string | null;
43346
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"] | null;
43347
+ updated_at: string | null;
43348
+ viewer_role: string | null;
43349
+ werkbon_id: string | null;
43350
+ work_address: string | null;
43351
+ };
43352
+ Relationships: [{
43353
+ foreignKeyName: "planning_items_werkbon_id_fkey";
43354
+ columns: ["werkbon_id"];
43355
+ isOneToOne: false;
43356
+ referencedRelation: "werkbonnen";
43357
+ referencedColumns: ["id"];
43358
+ }];
43359
+ };
42893
43360
  product_group_stock_view: {
42894
43361
  Row: {
42895
43362
  item_count: number | null;
@@ -43485,6 +43952,18 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
43485
43952
  Args: never;
43486
43953
  Returns: number;
43487
43954
  };
43955
+ calculate_floriday_desired_stock: {
43956
+ Args: {
43957
+ p_connection_id: string;
43958
+ p_product_id: string;
43959
+ };
43960
+ Returns: {
43961
+ desired_availability: boolean;
43962
+ desired_quantity: number;
43963
+ erp_available: number;
43964
+ stock_mode: string;
43965
+ }[];
43966
+ };
43488
43967
  calculate_layer_stock: {
43489
43968
  Args: {
43490
43969
  p_product_id: string;
@@ -43537,6 +44016,8 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
43537
44016
  foutmelding: string | null;
43538
44017
  gebruiker_id: string | null;
43539
44018
  gebruiker_naam: string;
44019
+ gebruikte_bron: string | null;
44020
+ gebruikte_layout_id: string | null;
43540
44021
  gestart_op: string | null;
43541
44022
  herkomst: string | null;
43542
44023
  id: string;
@@ -43544,6 +44025,9 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
43544
44025
  is_herprint: boolean;
43545
44026
  kopieen: number;
43546
44027
  layout_id: string | null;
44028
+ lokaal_opgeslagen_op: string | null;
44029
+ lokale_pdf_fout: string | null;
44030
+ lokale_pdf_status: string | null;
43547
44031
  opgepakt_op: string | null;
43548
44032
  paginas: number;
43549
44033
  payload: import("../integrations/supabase/types").Json;
@@ -43552,6 +44036,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
43552
44036
  pogingen: number;
43553
44037
  printer_id: string | null;
43554
44038
  render_html: string | null;
44039
+ resultaat_pdf_base64: string | null;
43555
44040
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43556
44041
  updated_at: string;
43557
44042
  volgende_poging: string | null;
@@ -43573,6 +44058,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
43573
44058
  attempts: number;
43574
44059
  connection_id: string;
43575
44060
  created_at: string;
44061
+ dead_lettered_at: string | null;
43576
44062
  desired_available: boolean | null;
43577
44063
  gateway_attempt_id: string | null;
43578
44064
  id: string;
@@ -43581,9 +44067,13 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
43581
44067
  locked_by: string | null;
43582
44068
  next_attempt_at: string;
43583
44069
  number_of_pieces: number;
44070
+ product_id: string | null;
43584
44071
  sent_at: string | null;
43585
44072
  status: string;
44073
+ stock_mode: string | null;
43586
44074
  superseded_by: string | null;
44075
+ target_week: number | null;
44076
+ target_year: number | null;
43587
44077
  trade_item_id: string;
43588
44078
  updated_at: string;
43589
44079
  user_id: string;
@@ -43643,6 +44133,53 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
43643
44133
  isSetofReturn: true;
43644
44134
  };
43645
44135
  };
44136
+ claim_pdf_print_jobs: {
44137
+ Args: {
44138
+ _max?: number;
44139
+ };
44140
+ Returns: {
44141
+ agent_id: string | null;
44142
+ bron_job_id: string | null;
44143
+ created_at: string;
44144
+ documentnaam: string;
44145
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
44146
+ extern_job_id: string | null;
44147
+ foutmelding: string | null;
44148
+ gebruiker_id: string | null;
44149
+ gebruiker_naam: string;
44150
+ gebruikte_bron: string | null;
44151
+ gebruikte_layout_id: string | null;
44152
+ gestart_op: string | null;
44153
+ herkomst: string | null;
44154
+ id: string;
44155
+ idempotentie_sleutel: string | null;
44156
+ is_herprint: boolean;
44157
+ kopieen: number;
44158
+ layout_id: string | null;
44159
+ lokaal_opgeslagen_op: string | null;
44160
+ lokale_pdf_fout: string | null;
44161
+ lokale_pdf_status: string | null;
44162
+ opgepakt_op: string | null;
44163
+ paginas: number;
44164
+ payload: import("../integrations/supabase/types").Json;
44165
+ pdf_base64: string | null;
44166
+ pdf_url: string | null;
44167
+ pogingen: number;
44168
+ printer_id: string | null;
44169
+ render_html: string | null;
44170
+ resultaat_pdf_base64: string | null;
44171
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
44172
+ updated_at: string;
44173
+ volgende_poging: string | null;
44174
+ voltooid_op: string | null;
44175
+ }[];
44176
+ SetofOptions: {
44177
+ from: "*";
44178
+ to: "print_jobs";
44179
+ isOneToOne: false;
44180
+ isSetofReturn: true;
44181
+ };
44182
+ };
43646
44183
  claim_print_jobs: {
43647
44184
  Args: {
43648
44185
  _agent_id: string;
@@ -43658,6 +44195,8 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
43658
44195
  foutmelding: string | null;
43659
44196
  gebruiker_id: string | null;
43660
44197
  gebruiker_naam: string;
44198
+ gebruikte_bron: string | null;
44199
+ gebruikte_layout_id: string | null;
43661
44200
  gestart_op: string | null;
43662
44201
  herkomst: string | null;
43663
44202
  id: string;
@@ -43665,6 +44204,9 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
43665
44204
  is_herprint: boolean;
43666
44205
  kopieen: number;
43667
44206
  layout_id: string | null;
44207
+ lokaal_opgeslagen_op: string | null;
44208
+ lokale_pdf_fout: string | null;
44209
+ lokale_pdf_status: string | null;
43668
44210
  opgepakt_op: string | null;
43669
44211
  paginas: number;
43670
44212
  payload: import("../integrations/supabase/types").Json;
@@ -43673,6 +44215,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
43673
44215
  pogingen: number;
43674
44216
  printer_id: string | null;
43675
44217
  render_html: string | null;
44218
+ resultaat_pdf_base64: string | null;
43676
44219
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43677
44220
  updated_at: string;
43678
44221
  volgende_poging: string | null;
@@ -43813,6 +44356,8 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
43813
44356
  order_id: string;
43814
44357
  order_source: string;
43815
44358
  pick_date: string;
44359
+ printed_at: string;
44360
+ printed_today: boolean;
43816
44361
  status: string;
43817
44362
  }[];
43818
44363
  };
@@ -44009,6 +44554,24 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
44009
44554
  };
44010
44555
  Returns: string;
44011
44556
  };
44557
+ floriday_capture_stock_snapshot: {
44558
+ Args: never;
44559
+ Returns: number;
44560
+ };
44561
+ floriday_cleanup_stock_queue_v2: {
44562
+ Args: never;
44563
+ Returns: undefined;
44564
+ };
44565
+ floriday_compact_stock_snapshots: {
44566
+ Args: never;
44567
+ Returns: undefined;
44568
+ };
44569
+ floriday_default_owner: {
44570
+ Args: {
44571
+ p_connection_id: string;
44572
+ };
44573
+ Returns: string;
44574
+ };
44012
44575
  floriday_effective_price: {
44013
44576
  Args: {
44014
44577
  _buyer_id: string;
@@ -44026,6 +44589,34 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
44026
44589
  source_id: string;
44027
44590
  }[];
44028
44591
  };
44592
+ floriday_fill_publish_horizon: {
44593
+ Args: never;
44594
+ Returns: number;
44595
+ };
44596
+ floriday_ingest_sales_orders: {
44597
+ Args: {
44598
+ p_limit?: number;
44599
+ };
44600
+ Returns: number;
44601
+ };
44602
+ floriday_publish_horizon_weeks: {
44603
+ Args: never;
44604
+ Returns: number;
44605
+ };
44606
+ floriday_recompute_inventory: {
44607
+ Args: {
44608
+ p_connection_id: string;
44609
+ p_force?: boolean;
44610
+ p_product_id: string;
44611
+ };
44612
+ Returns: undefined;
44613
+ };
44614
+ floriday_requeue_dead_letters: {
44615
+ Args: {
44616
+ p_connection_id?: string;
44617
+ };
44618
+ Returns: number;
44619
+ };
44029
44620
  format_cart_number: {
44030
44621
  Args: {
44031
44622
  p_pick_date: string;
@@ -44242,6 +44833,131 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
44242
44833
  Args: never;
44243
44834
  Returns: string;
44244
44835
  };
44836
+ handover_get: {
44837
+ Args: {
44838
+ _module_id: string;
44839
+ };
44840
+ Returns: import("../integrations/supabase/types").Json;
44841
+ };
44842
+ handover_kern_naam: {
44843
+ Args: {
44844
+ _naam: string;
44845
+ };
44846
+ Returns: string;
44847
+ };
44848
+ handover_ketenmodel: {
44849
+ Args: never;
44850
+ Returns: import("../integrations/supabase/types").Json;
44851
+ };
44852
+ handover_kruisconflicten: {
44853
+ Args: never;
44854
+ Returns: import("../integrations/supabase/types").Json;
44855
+ };
44856
+ handover_list: {
44857
+ Args: never;
44858
+ Returns: import("../integrations/supabase/types").Json;
44859
+ };
44860
+ handover_mag_schrijven: {
44861
+ Args: {
44862
+ _module_id: string;
44863
+ };
44864
+ Returns: boolean;
44865
+ };
44866
+ handover_norm_naam: {
44867
+ Args: {
44868
+ _naam: string;
44869
+ };
44870
+ Returns: string;
44871
+ };
44872
+ handover_publish: {
44873
+ Args: {
44874
+ _bevindingen?: string;
44875
+ _bezit_tabellen?: string[];
44876
+ _conflicten_snapshot?: import("../integrations/supabase/types").Json;
44877
+ _contractfuncties?: string[];
44878
+ _inhoud_md: string;
44879
+ _module_id: string;
44880
+ _module_titel: string;
44881
+ _ontbrekende_contracten?: string[];
44882
+ _samenvatting?: string;
44883
+ };
44884
+ Returns: number;
44885
+ };
44886
+ handover_publish_via_token: {
44887
+ Args: {
44888
+ _bevindingen?: string;
44889
+ _bezit_tabellen?: string[];
44890
+ _conflicten_snapshot?: import("../integrations/supabase/types").Json;
44891
+ _contractfuncties?: string[];
44892
+ _inhoud_md: string;
44893
+ _module_id: string;
44894
+ _module_titel: string;
44895
+ _ontbrekende_contracten?: string[];
44896
+ _samenvatting?: string;
44897
+ _token_hash: string;
44898
+ };
44899
+ Returns: number;
44900
+ };
44901
+ handover_status: {
44902
+ Args: never;
44903
+ Returns: import("../integrations/supabase/types").Json;
44904
+ };
44905
+ handover_synonym_kern: {
44906
+ Args: {
44907
+ _naam: string;
44908
+ };
44909
+ Returns: string;
44910
+ };
44911
+ handover_token_intrekken: {
44912
+ Args: {
44913
+ _id: string;
44914
+ };
44915
+ Returns: boolean;
44916
+ };
44917
+ handover_token_lijst: {
44918
+ Args: never;
44919
+ Returns: import("../integrations/supabase/types").Json;
44920
+ };
44921
+ handover_token_maken: {
44922
+ Args: {
44923
+ _label?: string;
44924
+ _module_id: string;
44925
+ };
44926
+ Returns: string;
44927
+ };
44928
+ handover_update: {
44929
+ Args: {
44930
+ _bezit_tabellen?: string[];
44931
+ _contractfuncties?: string[];
44932
+ _herzieningstermijn_dagen?: number;
44933
+ _inhoud_md?: string;
44934
+ _module_id: string;
44935
+ _module_titel?: string;
44936
+ _samenvatting?: string;
44937
+ _versie: number;
44938
+ };
44939
+ Returns: boolean;
44940
+ } | {
44941
+ Args: {
44942
+ _bevindingen?: string;
44943
+ _bezit_tabellen?: string[];
44944
+ _contractfuncties?: string[];
44945
+ _herzieningstermijn_dagen?: number;
44946
+ _inhoud_md?: string;
44947
+ _module_id: string;
44948
+ _module_titel?: string;
44949
+ _ontbrekende_contracten?: string[];
44950
+ _samenvatting?: string;
44951
+ _versie: number;
44952
+ };
44953
+ Returns: boolean;
44954
+ };
44955
+ handover_versies: {
44956
+ Args: {
44957
+ _module_id: string;
44958
+ };
44959
+ Returns: import("../integrations/supabase/types").Json;
44960
+ };
44245
44961
  has_module_permission: {
44246
44962
  Args: {
44247
44963
  _min: string;
@@ -44261,6 +44977,25 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
44261
44977
  Args: never;
44262
44978
  Returns: boolean;
44263
44979
  };
44980
+ instructie_get: {
44981
+ Args: {
44982
+ _sleutel: string;
44983
+ };
44984
+ Returns: import("../integrations/supabase/types").Json;
44985
+ };
44986
+ instructie_list: {
44987
+ Args: never;
44988
+ Returns: import("../integrations/supabase/types").Json;
44989
+ };
44990
+ instructie_publish: {
44991
+ Args: {
44992
+ _inhoud_md: string;
44993
+ _sleutel: string;
44994
+ _titel: string;
44995
+ _toelichting?: string;
44996
+ };
44997
+ Returns: number;
44998
+ };
44264
44999
  invoice_create_from_source: {
44265
45000
  Args: {
44266
45001
  _payload?: import("../integrations/supabase/types").Json;
@@ -44521,6 +45256,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
44521
45256
  };
44522
45257
  Returns: number;
44523
45258
  };
45259
+ logistics_cancel_orphan_tasks: {
45260
+ Args: never;
45261
+ Returns: number;
45262
+ };
44524
45263
  logistics_capacity_day_check: {
44525
45264
  Args: {
44526
45265
  p_from?: string;
@@ -44541,6 +45280,25 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
44541
45280
  };
44542
45281
  Returns: number;
44543
45282
  };
45283
+ logistics_cart_index: {
45284
+ Args: {
45285
+ p_from?: string;
45286
+ p_to?: string;
45287
+ };
45288
+ Returns: {
45289
+ cart_id: string;
45290
+ cart_index: number;
45291
+ cart_label: string;
45292
+ is_shared: boolean;
45293
+ order_number: string;
45294
+ order_source: string;
45295
+ order_uuid: string;
45296
+ pick_date: string;
45297
+ printed_at: string;
45298
+ shifted: boolean;
45299
+ task_status: string;
45300
+ }[];
45301
+ };
44544
45302
  logistics_check_order_allowed: {
44545
45303
  Args: {
44546
45304
  p_lines: import("../integrations/supabase/types").Json;
@@ -44689,6 +45447,17 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
44689
45447
  isSetofReturn: false;
44690
45448
  };
44691
45449
  };
45450
+ logistics_consistency_check: {
45451
+ Args: never;
45452
+ Returns: {
45453
+ agenda_carts: number;
45454
+ control_carts: number;
45455
+ ok: boolean;
45456
+ orphan_tasks: number;
45457
+ pick_date: string;
45458
+ raw_carts: number;
45459
+ }[];
45460
+ };
44692
45461
  logistics_delay_customer_email: {
44693
45462
  Args: {
44694
45463
  p_customer: string;
@@ -44714,6 +45483,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
44714
45483
  };
44715
45484
  Returns: string;
44716
45485
  };
45486
+ logistics_document_type_map: {
45487
+ Args: {
45488
+ _document_code: string;
45489
+ };
45490
+ Returns: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"][];
45491
+ };
44717
45492
  logistics_emit_event: {
44718
45493
  Args: {
44719
45494
  p_event_type: string;
@@ -44772,6 +45547,16 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
44772
45547
  isSetofReturn: false;
44773
45548
  };
44774
45549
  };
45550
+ logistics_floriday_cart_plan: {
45551
+ Args: {
45552
+ p_order_id: string;
45553
+ };
45554
+ Returns: {
45555
+ carrier_type: string;
45556
+ idx: number;
45557
+ packages: number;
45558
+ }[];
45559
+ };
44775
45560
  logistics_floriday_claim_pushes: {
44776
45561
  Args: {
44777
45562
  _lease_seconds?: number;
@@ -44876,6 +45661,25 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
44876
45661
  };
44877
45662
  Returns: number;
44878
45663
  };
45664
+ logistics_order_overview: {
45665
+ Args: {
45666
+ p_from?: string;
45667
+ p_to?: string;
45668
+ };
45669
+ Returns: {
45670
+ cart_count: number;
45671
+ customer_name: string;
45672
+ delivery_date: string;
45673
+ order_number: string;
45674
+ order_source: string;
45675
+ order_uuid: string;
45676
+ pick_date: string;
45677
+ plant_count: number;
45678
+ printed_at: string;
45679
+ shifted: boolean;
45680
+ status: string;
45681
+ }[];
45682
+ };
44879
45683
  logistics_order_pick_day: {
44880
45684
  Args: {
44881
45685
  p_order_ref: string;
@@ -44888,6 +45692,22 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
44888
45692
  };
44889
45693
  Returns: string;
44890
45694
  };
45695
+ logistics_pick_agenda: {
45696
+ Args: {
45697
+ p_from?: string;
45698
+ p_to?: string;
45699
+ };
45700
+ Returns: {
45701
+ cart_count: number;
45702
+ in_preparation: number;
45703
+ order_count: number;
45704
+ orders: import("../integrations/supabase/types").Json;
45705
+ pick_date: string;
45706
+ plant_count: number;
45707
+ ready: number;
45708
+ shifted_count: number;
45709
+ }[];
45710
+ };
44891
45711
  logistics_pick_email_purpose: {
44892
45712
  Args: never;
44893
45713
  Returns: string;
@@ -44942,6 +45762,13 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
44942
45762
  };
44943
45763
  Returns: undefined;
44944
45764
  };
45765
+ logistics_plan_floriday_order: {
45766
+ Args: {
45767
+ p_buffer_id?: string;
45768
+ p_order_id: string;
45769
+ };
45770
+ Returns: number;
45771
+ };
44945
45772
  logistics_plan_impact_orders: {
44946
45773
  Args: {
44947
45774
  p_order_id: string;
@@ -45047,6 +45874,15 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
45047
45874
  };
45048
45875
  Returns: import("../integrations/supabase/types").Json;
45049
45876
  };
45877
+ logistics_resolve_pick_document: {
45878
+ Args: {
45879
+ _is_herprint: boolean;
45880
+ _queue_item_id: string;
45881
+ _session_id: string;
45882
+ _voorbeeld: boolean;
45883
+ };
45884
+ Returns: import("../integrations/supabase/types").Json;
45885
+ };
45050
45886
  logistics_resolve_settings: {
45051
45887
  Args: {
45052
45888
  p_config_id: string;
@@ -45487,6 +46323,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
45487
46323
  };
45488
46324
  pick_enqueue_print_job: {
45489
46325
  Args: {
46326
+ _is_herprint?: boolean;
45490
46327
  _printer_id?: string;
45491
46328
  _queue_item_id: string;
45492
46329
  _session_id?: string;
@@ -45500,6 +46337,13 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
45500
46337
  };
45501
46338
  Returns: import("../integrations/supabase/types").Json;
45502
46339
  };
46340
+ pick_preview_job: {
46341
+ Args: {
46342
+ _queue_item_id: string;
46343
+ _station_slug: string;
46344
+ };
46345
+ Returns: import("../integrations/supabase/types").Json;
46346
+ };
45503
46347
  pick_print_job_status: {
45504
46348
  Args: {
45505
46349
  _job_id: string;
@@ -45677,6 +46521,84 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
45677
46521
  };
45678
46522
  Returns: undefined;
45679
46523
  };
46524
+ planning_cancel_item: {
46525
+ Args: {
46526
+ _id: string;
46527
+ };
46528
+ Returns: undefined;
46529
+ };
46530
+ planning_list: {
46531
+ Args: {
46532
+ _from: string;
46533
+ _to: string;
46534
+ };
46535
+ Returns: {
46536
+ assigned_monteur_id: string | null;
46537
+ assistants: import("../integrations/supabase/types").Json | null;
46538
+ budget_mandate_cents: number | null;
46539
+ created_at: string | null;
46540
+ created_by: string | null;
46541
+ customer_id: string | null;
46542
+ customer_name: string | null;
46543
+ duration_minutes: number | null;
46544
+ end_at: string | null;
46545
+ id: string | null;
46546
+ needs_detail_review: boolean | null;
46547
+ notes: string | null;
46548
+ project_number: string | null;
46549
+ review_reasons: string[] | null;
46550
+ start_at: string | null;
46551
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"] | null;
46552
+ updated_at: string | null;
46553
+ viewer_role: string | null;
46554
+ werkbon_id: string | null;
46555
+ work_address: string | null;
46556
+ }[];
46557
+ SetofOptions: {
46558
+ from: "*";
46559
+ to: "planning_overview";
46560
+ isOneToOne: false;
46561
+ isSetofReturn: true;
46562
+ };
46563
+ };
46564
+ planning_set_assistants: {
46565
+ Args: {
46566
+ _monteur_ids: string[];
46567
+ _planning_item_id: string;
46568
+ };
46569
+ Returns: undefined;
46570
+ };
46571
+ planning_upsert_item: {
46572
+ Args: {
46573
+ _assigned_monteur_id: string;
46574
+ _end_at: string;
46575
+ _notes?: string;
46576
+ _start_at: string;
46577
+ _werkbon_id: string;
46578
+ };
46579
+ Returns: {
46580
+ action: string;
46581
+ id: string;
46582
+ }[];
46583
+ };
46584
+ print_preview_toestaan: {
46585
+ Args: {
46586
+ _max?: number;
46587
+ _queue_item_id: string;
46588
+ _station_slug: string;
46589
+ _venster_sec?: number;
46590
+ };
46591
+ Returns: import("../integrations/supabase/types").Json;
46592
+ };
46593
+ print_preview_weiger: {
46594
+ Args: {
46595
+ _code: string;
46596
+ _queue_item_id: string;
46597
+ _reden: string;
46598
+ _station_slug: string;
46599
+ };
46600
+ Returns: undefined;
46601
+ };
45680
46602
  process_logistics_event: {
45681
46603
  Args: {
45682
46604
  p_event_id: string;
@@ -45794,6 +46716,14 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
45794
46716
  };
45795
46717
  Returns: undefined;
45796
46718
  };
46719
+ replace_order_carts: {
46720
+ Args: {
46721
+ p_buffer_id: string;
46722
+ p_carts: import("../integrations/supabase/types").Json;
46723
+ p_order_id: string;
46724
+ };
46725
+ Returns: import("../integrations/supabase/types").Json;
46726
+ };
45797
46727
  reset_floriday_sync_cursor: {
45798
46728
  Args: {
45799
46729
  p_connection_id: string;
@@ -45823,6 +46753,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
45823
46753
  };
45824
46754
  Returns: string;
45825
46755
  };
46756
+ resolve_print_job_printer_id: {
46757
+ Args: {
46758
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
46759
+ };
46760
+ Returns: string;
46761
+ };
45826
46762
  resolve_product_id_for_item: {
45827
46763
  Args: {
45828
46764
  p_product_name: string;
@@ -46226,6 +47162,26 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
46226
47162
  };
46227
47163
  Returns: string[];
46228
47164
  };
47165
+ start_time_log_at: {
47166
+ Args: {
47167
+ p_clicked_at?: string;
47168
+ p_employee_id: string;
47169
+ p_start_lat?: number;
47170
+ p_start_lng?: number;
47171
+ p_type: string;
47172
+ p_work_order_id?: string;
47173
+ };
47174
+ Returns: import("../integrations/supabase/types").Json;
47175
+ };
47176
+ stop_time_log: {
47177
+ Args: {
47178
+ p_employee_id: string;
47179
+ p_end_lat?: number;
47180
+ p_end_lng?: number;
47181
+ p_end_time: string;
47182
+ };
47183
+ Returns: import("../integrations/supabase/types").Json;
47184
+ };
46229
47185
  switch_time_log: {
46230
47186
  Args: {
46231
47187
  p_employee_id: string;
@@ -46414,7 +47370,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
46414
47370
  };
46415
47371
  CompositeTypes: { [_ in never]: never; };
46416
47372
  }, {
46417
- PostgrestVersion: "14.17";
47373
+ PostgrestVersion: "14.5";
46418
47374
  }>;
46419
47375
  userId: string;
46420
47376
  claims: import("@supabase/auth-js").JwtPayload;