@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
@@ -2852,6 +2852,84 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2852
2852
  };
2853
2853
  Relationships: [];
2854
2854
  };
2855
+ delivery_notes: {
2856
+ Row: {
2857
+ byte_size: number | null;
2858
+ connection_id: string | null;
2859
+ content_type: string;
2860
+ created_at: string;
2861
+ error_message: string | null;
2862
+ fetched_at: string | null;
2863
+ fulfillment_order_id: string | null;
2864
+ http_status: number | null;
2865
+ id: string;
2866
+ label_code: string | null;
2867
+ letter: string | null;
2868
+ load_carrier_index: number | null;
2869
+ load_carrier_type: string | null;
2870
+ order_id: string | null;
2871
+ order_number: string | null;
2872
+ packages: number | null;
2873
+ source: string;
2874
+ status: string;
2875
+ storage_bucket: string;
2876
+ storage_path: string | null;
2877
+ updated_at: string;
2878
+ };
2879
+ Insert: {
2880
+ byte_size?: number | null;
2881
+ connection_id?: string | null;
2882
+ content_type?: string;
2883
+ created_at?: string;
2884
+ error_message?: string | null;
2885
+ fetched_at?: string | null;
2886
+ fulfillment_order_id?: string | null;
2887
+ http_status?: number | null;
2888
+ id?: string;
2889
+ label_code?: string | null;
2890
+ letter?: string | null;
2891
+ load_carrier_index?: number | null;
2892
+ load_carrier_type?: string | null;
2893
+ order_id?: string | null;
2894
+ order_number?: string | null;
2895
+ packages?: number | null;
2896
+ source?: string;
2897
+ status?: string;
2898
+ storage_bucket?: string;
2899
+ storage_path?: string | null;
2900
+ updated_at?: string;
2901
+ };
2902
+ Update: {
2903
+ byte_size?: number | null;
2904
+ connection_id?: string | null;
2905
+ content_type?: string;
2906
+ created_at?: string;
2907
+ error_message?: string | null;
2908
+ fetched_at?: string | null;
2909
+ fulfillment_order_id?: string | null;
2910
+ http_status?: number | null;
2911
+ id?: string;
2912
+ label_code?: string | null;
2913
+ letter?: string | null;
2914
+ load_carrier_index?: number | null;
2915
+ load_carrier_type?: string | null;
2916
+ order_id?: string | null;
2917
+ order_number?: string | null;
2918
+ packages?: number | null;
2919
+ source?: string;
2920
+ status?: string;
2921
+ storage_bucket?: string;
2922
+ storage_path?: string | null;
2923
+ updated_at?: string;
2924
+ };
2925
+ Relationships: [{
2926
+ foreignKeyName: "delivery_notes_order_id_fkey";
2927
+ columns: ["order_id"];
2928
+ isOneToOne: false;
2929
+ referencedRelation: "orders";
2930
+ referencedColumns: ["id"];
2931
+ }];
2932
+ };
2855
2933
  document_bronregels: {
2856
2934
  Row: {
2857
2935
  bron: string;
@@ -5905,10 +5983,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
5905
5983
  };
5906
5984
  floriday_connections: {
5907
5985
  Row: {
5908
- access_token: string | null;
5909
5986
  api_key: string;
5910
- client_id: string;
5911
- client_secret: string;
5912
5987
  created_at: string;
5913
5988
  customers_endpoint: string | null;
5914
5989
  environment: string;
@@ -5923,10 +5998,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
5923
5998
  updated_at: string;
5924
5999
  };
5925
6000
  Insert: {
5926
- access_token?: string | null;
5927
6001
  api_key: string;
5928
- client_id: string;
5929
- client_secret: string;
5930
6002
  created_at?: string;
5931
6003
  customers_endpoint?: string | null;
5932
6004
  environment: string;
@@ -5941,10 +6013,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
5941
6013
  updated_at?: string;
5942
6014
  };
5943
6015
  Update: {
5944
- access_token?: string | null;
5945
6016
  api_key?: string;
5946
- client_id?: string;
5947
- client_secret?: string;
5948
6017
  created_at?: string;
5949
6018
  customers_endpoint?: string | null;
5950
6019
  environment?: string;
@@ -6028,6 +6097,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6028
6097
  attempts: number;
6029
6098
  connection_id: string;
6030
6099
  created_at: string;
6100
+ dead_lettered_at: string | null;
6031
6101
  desired_available: boolean | null;
6032
6102
  gateway_attempt_id: string | null;
6033
6103
  id: string;
@@ -6036,9 +6106,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6036
6106
  locked_by: string | null;
6037
6107
  next_attempt_at: string;
6038
6108
  number_of_pieces: number;
6109
+ product_id: string | null;
6039
6110
  sent_at: string | null;
6040
6111
  status: string;
6112
+ stock_mode: string | null;
6041
6113
  superseded_by: string | null;
6114
+ target_week: number | null;
6115
+ target_year: number | null;
6042
6116
  trade_item_id: string;
6043
6117
  updated_at: string;
6044
6118
  user_id: string;
@@ -6047,6 +6121,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6047
6121
  attempts?: number;
6048
6122
  connection_id: string;
6049
6123
  created_at?: string;
6124
+ dead_lettered_at?: string | null;
6050
6125
  desired_available?: boolean | null;
6051
6126
  gateway_attempt_id?: string | null;
6052
6127
  id?: string;
@@ -6055,9 +6130,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6055
6130
  locked_by?: string | null;
6056
6131
  next_attempt_at?: string;
6057
6132
  number_of_pieces?: number;
6133
+ product_id?: string | null;
6058
6134
  sent_at?: string | null;
6059
6135
  status?: string;
6136
+ stock_mode?: string | null;
6060
6137
  superseded_by?: string | null;
6138
+ target_week?: number | null;
6139
+ target_year?: number | null;
6061
6140
  trade_item_id: string;
6062
6141
  updated_at?: string;
6063
6142
  user_id: string;
@@ -6066,6 +6145,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6066
6145
  attempts?: number;
6067
6146
  connection_id?: string;
6068
6147
  created_at?: string;
6148
+ dead_lettered_at?: string | null;
6069
6149
  desired_available?: boolean | null;
6070
6150
  gateway_attempt_id?: string | null;
6071
6151
  id?: string;
@@ -6074,9 +6154,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6074
6154
  locked_by?: string | null;
6075
6155
  next_attempt_at?: string;
6076
6156
  number_of_pieces?: number;
6157
+ product_id?: string | null;
6077
6158
  sent_at?: string | null;
6078
6159
  status?: string;
6160
+ stock_mode?: string | null;
6079
6161
  superseded_by?: string | null;
6162
+ target_week?: number | null;
6163
+ target_year?: number | null;
6080
6164
  trade_item_id?: string;
6081
6165
  updated_at?: string;
6082
6166
  user_id?: string;
@@ -6485,6 +6569,87 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6485
6569
  referencedColumns: ["id"];
6486
6570
  }];
6487
6571
  };
6572
+ floriday_inventory_settings: {
6573
+ Row: {
6574
+ buffer_quantity: number;
6575
+ connection_id: string;
6576
+ created_at: string;
6577
+ desired_availability: boolean;
6578
+ desired_quantity: number;
6579
+ fixed_quantity: number | null;
6580
+ floriday_trade_item_id: string | null;
6581
+ id: string;
6582
+ last_confirmed_at: string | null;
6583
+ last_enqueued_at: string | null;
6584
+ last_published_at: string | null;
6585
+ last_sync_error: string | null;
6586
+ manual_quantity: number | null;
6587
+ maximum_quantity: number | null;
6588
+ product_id: string;
6589
+ quantity_control: string;
6590
+ remote_available: boolean | null;
6591
+ remote_checked_at: string | null;
6592
+ remote_quantity: number | null;
6593
+ stock_mode: string;
6594
+ sync_status: string;
6595
+ updated_at: string;
6596
+ updated_by: string | null;
6597
+ user_id: string;
6598
+ };
6599
+ Insert: {
6600
+ buffer_quantity?: number;
6601
+ connection_id: string;
6602
+ created_at?: string;
6603
+ desired_availability?: boolean;
6604
+ desired_quantity?: number;
6605
+ fixed_quantity?: number | null;
6606
+ floriday_trade_item_id?: string | null;
6607
+ id?: string;
6608
+ last_confirmed_at?: string | null;
6609
+ last_enqueued_at?: string | null;
6610
+ last_published_at?: string | null;
6611
+ last_sync_error?: string | null;
6612
+ manual_quantity?: number | null;
6613
+ maximum_quantity?: number | null;
6614
+ product_id: string;
6615
+ quantity_control?: string;
6616
+ remote_available?: boolean | null;
6617
+ remote_checked_at?: string | null;
6618
+ remote_quantity?: number | null;
6619
+ stock_mode?: string;
6620
+ sync_status?: string;
6621
+ updated_at?: string;
6622
+ updated_by?: string | null;
6623
+ user_id: string;
6624
+ };
6625
+ Update: {
6626
+ buffer_quantity?: number;
6627
+ connection_id?: string;
6628
+ created_at?: string;
6629
+ desired_availability?: boolean;
6630
+ desired_quantity?: number;
6631
+ fixed_quantity?: number | null;
6632
+ floriday_trade_item_id?: string | null;
6633
+ id?: string;
6634
+ last_confirmed_at?: string | null;
6635
+ last_enqueued_at?: string | null;
6636
+ last_published_at?: string | null;
6637
+ last_sync_error?: string | null;
6638
+ manual_quantity?: number | null;
6639
+ maximum_quantity?: number | null;
6640
+ product_id?: string;
6641
+ quantity_control?: string;
6642
+ remote_available?: boolean | null;
6643
+ remote_checked_at?: string | null;
6644
+ remote_quantity?: number | null;
6645
+ stock_mode?: string;
6646
+ sync_status?: string;
6647
+ updated_at?: string;
6648
+ updated_by?: string | null;
6649
+ user_id?: string;
6650
+ };
6651
+ Relationships: [];
6652
+ };
6488
6653
  floriday_invoices_cache: {
6489
6654
  Row: {
6490
6655
  buyer_organization_id: string | null;
@@ -6773,6 +6938,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6773
6938
  };
6774
6939
  Relationships: [];
6775
6940
  };
6941
+ floriday_sales_order_ingest: {
6942
+ Row: {
6943
+ connection_id: string;
6944
+ created_at: string;
6945
+ id: string;
6946
+ impact: import("./types").Json;
6947
+ order_status: string | null;
6948
+ order_version: number;
6949
+ processed_at: string;
6950
+ sales_order_id: string;
6951
+ };
6952
+ Insert: {
6953
+ connection_id: string;
6954
+ created_at?: string;
6955
+ id?: string;
6956
+ impact?: import("./types").Json;
6957
+ order_status?: string | null;
6958
+ order_version?: number;
6959
+ processed_at?: string;
6960
+ sales_order_id: string;
6961
+ };
6962
+ Update: {
6963
+ connection_id?: string;
6964
+ created_at?: string;
6965
+ id?: string;
6966
+ impact?: import("./types").Json;
6967
+ order_status?: string | null;
6968
+ order_version?: number;
6969
+ processed_at?: string;
6970
+ sales_order_id?: string;
6971
+ };
6972
+ Relationships: [];
6973
+ };
6776
6974
  floriday_sales_strategies_cache: {
6777
6975
  Row: {
6778
6976
  connection_id: string;
@@ -6872,6 +7070,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6872
7070
  };
6873
7071
  Relationships: [];
6874
7072
  };
7073
+ floriday_sync_cursors: {
7074
+ Row: {
7075
+ connection_id: string;
7076
+ created_at: string;
7077
+ id: string;
7078
+ last_error: string | null;
7079
+ last_sync_at: string | null;
7080
+ resource_type: string;
7081
+ sequence_number: number;
7082
+ updated_at: string;
7083
+ };
7084
+ Insert: {
7085
+ connection_id: string;
7086
+ created_at?: string;
7087
+ id?: string;
7088
+ last_error?: string | null;
7089
+ last_sync_at?: string | null;
7090
+ resource_type: string;
7091
+ sequence_number?: number;
7092
+ updated_at?: string;
7093
+ };
7094
+ Update: {
7095
+ connection_id?: string;
7096
+ created_at?: string;
7097
+ id?: string;
7098
+ last_error?: string | null;
7099
+ last_sync_at?: string | null;
7100
+ resource_type?: string;
7101
+ sequence_number?: number;
7102
+ updated_at?: string;
7103
+ };
7104
+ Relationships: [];
7105
+ };
6875
7106
  floriday_sync_state: {
6876
7107
  Row: {
6877
7108
  connection_id: string;
@@ -7562,6 +7793,42 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
7562
7793
  };
7563
7794
  Relationships: [];
7564
7795
  };
7796
+ inventory_stock_snapshots: {
7797
+ Row: {
7798
+ connection_id: string;
7799
+ created_at: string;
7800
+ erp_available_quantity: number;
7801
+ floriday_desired_quantity: number;
7802
+ floriday_remote_quantity: number | null;
7803
+ granularity: string;
7804
+ id: string;
7805
+ snapshot_at: string;
7806
+ user_id: string | null;
7807
+ };
7808
+ Insert: {
7809
+ connection_id: string;
7810
+ created_at?: string;
7811
+ erp_available_quantity?: number;
7812
+ floriday_desired_quantity?: number;
7813
+ floriday_remote_quantity?: number | null;
7814
+ granularity?: string;
7815
+ id?: string;
7816
+ snapshot_at?: string;
7817
+ user_id?: string | null;
7818
+ };
7819
+ Update: {
7820
+ connection_id?: string;
7821
+ created_at?: string;
7822
+ erp_available_quantity?: number;
7823
+ floriday_desired_quantity?: number;
7824
+ floriday_remote_quantity?: number | null;
7825
+ granularity?: string;
7826
+ id?: string;
7827
+ snapshot_at?: string;
7828
+ user_id?: string | null;
7829
+ };
7830
+ Relationships: [];
7831
+ };
7565
7832
  invoice_items: {
7566
7833
  Row: {
7567
7834
  created_at: string;
@@ -8070,13 +8337,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8070
8337
  segment?: Database["public"]["Enums"]["itk_customer_segment"];
8071
8338
  updated_at?: string;
8072
8339
  };
8073
- Relationships: [{
8074
- foreignKeyName: "itk_customers_legacy_customer_id_fkey";
8075
- columns: ["legacy_customer_id"];
8076
- isOneToOne: false;
8077
- referencedRelation: "customers";
8078
- referencedColumns: ["id"];
8079
- }];
8340
+ Relationships: [];
8080
8341
  };
8081
8342
  itk_dynamic_fields: {
8082
8343
  Row: {
@@ -8108,104 +8369,278 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8108
8369
  };
8109
8370
  Relationships: [];
8110
8371
  };
8111
- itk_offerte_events: {
8372
+ itk_handover_rechten: {
8112
8373
  Row: {
8113
8374
  created_at: string;
8114
- event_type: string;
8115
8375
  id: string;
8116
- metadata: import("./types").Json;
8117
- offerte_id: string;
8118
- omschrijving: string | null;
8376
+ module_id: string;
8377
+ rol: Database["public"]["Enums"]["app_role"] | null;
8378
+ updated_at: string;
8119
8379
  user_id: string | null;
8120
8380
  };
8121
8381
  Insert: {
8122
8382
  created_at?: string;
8123
- event_type: string;
8124
8383
  id?: string;
8125
- metadata?: import("./types").Json;
8126
- offerte_id: string;
8127
- omschrijving?: string | null;
8384
+ module_id: string;
8385
+ rol?: Database["public"]["Enums"]["app_role"] | null;
8386
+ updated_at?: string;
8128
8387
  user_id?: string | null;
8129
8388
  };
8130
8389
  Update: {
8131
8390
  created_at?: string;
8132
- event_type?: string;
8133
8391
  id?: string;
8134
- metadata?: import("./types").Json;
8135
- offerte_id?: string;
8136
- omschrijving?: string | null;
8392
+ module_id?: string;
8393
+ rol?: Database["public"]["Enums"]["app_role"] | null;
8394
+ updated_at?: string;
8137
8395
  user_id?: string | null;
8138
8396
  };
8139
- Relationships: [{
8140
- foreignKeyName: "itk_offerte_events_offerte_id_fkey";
8141
- columns: ["offerte_id"];
8142
- isOneToOne: false;
8143
- referencedRelation: "itk_offertes";
8144
- referencedColumns: ["id"];
8145
- }];
8397
+ Relationships: [];
8146
8398
  };
8147
- itk_offerte_regels: {
8399
+ itk_handover_tokens: {
8148
8400
  Row: {
8401
+ aangemaakt_door: string | null;
8149
8402
  created_at: string;
8150
8403
  id: string;
8151
- line_total_cents: number;
8152
- offerte_id: string;
8153
- omschrijving: string;
8154
- package_id: string | null;
8155
- quantity: number;
8156
- sort_order: number;
8157
- source: string;
8158
- unit_price_cents: number;
8404
+ is_actief: boolean;
8405
+ laatst_gebruikt_op: string | null;
8406
+ label: string;
8407
+ module_id: string;
8408
+ token_hash: string;
8159
8409
  updated_at: string;
8410
+ verloopt_op: string | null;
8160
8411
  };
8161
8412
  Insert: {
8413
+ aangemaakt_door?: string | null;
8162
8414
  created_at?: string;
8163
8415
  id?: string;
8164
- line_total_cents?: number;
8165
- offerte_id: string;
8166
- omschrijving?: string;
8167
- package_id?: string | null;
8168
- quantity?: number;
8169
- sort_order?: number;
8170
- source?: string;
8171
- unit_price_cents?: number;
8416
+ is_actief?: boolean;
8417
+ laatst_gebruikt_op?: string | null;
8418
+ label?: string;
8419
+ module_id: string;
8420
+ token_hash: string;
8172
8421
  updated_at?: string;
8422
+ verloopt_op?: string | null;
8173
8423
  };
8174
8424
  Update: {
8425
+ aangemaakt_door?: string | null;
8175
8426
  created_at?: string;
8176
8427
  id?: string;
8177
- line_total_cents?: number;
8178
- offerte_id?: string;
8179
- omschrijving?: string;
8180
- package_id?: string | null;
8181
- quantity?: number;
8182
- sort_order?: number;
8183
- source?: string;
8184
- unit_price_cents?: number;
8428
+ is_actief?: boolean;
8429
+ laatst_gebruikt_op?: string | null;
8430
+ label?: string;
8431
+ module_id?: string;
8432
+ token_hash?: string;
8185
8433
  updated_at?: string;
8434
+ verloopt_op?: string | null;
8186
8435
  };
8187
- Relationships: [{
8188
- foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
8189
- columns: ["offerte_id"];
8190
- isOneToOne: false;
8191
- referencedRelation: "itk_offertes";
8192
- referencedColumns: ["id"];
8193
- }, {
8194
- foreignKeyName: "itk_offerte_regels_package_id_fkey";
8195
- columns: ["package_id"];
8196
- isOneToOne: false;
8197
- referencedRelation: "werkbon_packages";
8198
- referencedColumns: ["id"];
8199
- }];
8436
+ Relationships: [];
8200
8437
  };
8201
- itk_offerte_settings: {
8438
+ itk_module_handovers: {
8202
8439
  Row: {
8203
- auto_convert_binnen_mandaat: boolean;
8440
+ bevindingen: string | null;
8441
+ bezit_tabellen: string[];
8442
+ conflicten_snapshot: import("./types").Json;
8443
+ contractfuncties: string[];
8204
8444
  created_at: string;
8205
- default_geldigheid_dagen: number;
8206
- default_vat_rate: number;
8445
+ eigenaar_module_id: string | null;
8446
+ gepubliceerd_door: string | null;
8447
+ gepubliceerd_op: string;
8448
+ herzieningstermijn_dagen: number;
8207
8449
  id: string;
8208
- singleton: boolean;
8450
+ inhoud_md: string;
8451
+ is_actueel: boolean;
8452
+ module_id: string;
8453
+ module_titel: string;
8454
+ ontbrekende_contracten: string[];
8455
+ samenvatting: string | null;
8456
+ updated_at: string;
8457
+ versie: number;
8458
+ };
8459
+ Insert: {
8460
+ bevindingen?: string | null;
8461
+ bezit_tabellen?: string[];
8462
+ conflicten_snapshot?: import("./types").Json;
8463
+ contractfuncties?: string[];
8464
+ created_at?: string;
8465
+ eigenaar_module_id?: string | null;
8466
+ gepubliceerd_door?: string | null;
8467
+ gepubliceerd_op?: string;
8468
+ herzieningstermijn_dagen?: number;
8469
+ id?: string;
8470
+ inhoud_md: string;
8471
+ is_actueel?: boolean;
8472
+ module_id: string;
8473
+ module_titel: string;
8474
+ ontbrekende_contracten?: string[];
8475
+ samenvatting?: string | null;
8476
+ updated_at?: string;
8477
+ versie?: number;
8478
+ };
8479
+ Update: {
8480
+ bevindingen?: string | null;
8481
+ bezit_tabellen?: string[];
8482
+ conflicten_snapshot?: import("./types").Json;
8483
+ contractfuncties?: string[];
8484
+ created_at?: string;
8485
+ eigenaar_module_id?: string | null;
8486
+ gepubliceerd_door?: string | null;
8487
+ gepubliceerd_op?: string;
8488
+ herzieningstermijn_dagen?: number;
8489
+ id?: string;
8490
+ inhoud_md?: string;
8491
+ is_actueel?: boolean;
8492
+ module_id?: string;
8493
+ module_titel?: string;
8494
+ ontbrekende_contracten?: string[];
8495
+ samenvatting?: string | null;
8496
+ updated_at?: string;
8497
+ versie?: number;
8498
+ };
8499
+ Relationships: [];
8500
+ };
8501
+ itk_module_instructies: {
8502
+ Row: {
8503
+ created_at: string;
8504
+ eigenaar_module_id: string;
8505
+ gepubliceerd_door: string | null;
8506
+ gepubliceerd_op: string;
8507
+ id: string;
8508
+ inhoud_md: string;
8509
+ is_actueel: boolean;
8510
+ sleutel: string;
8511
+ titel: string;
8512
+ toelichting: string | null;
8513
+ updated_at: string;
8514
+ versie: number;
8515
+ };
8516
+ Insert: {
8517
+ created_at?: string;
8518
+ eigenaar_module_id?: string;
8519
+ gepubliceerd_door?: string | null;
8520
+ gepubliceerd_op?: string;
8521
+ id?: string;
8522
+ inhoud_md: string;
8523
+ is_actueel?: boolean;
8524
+ sleutel: string;
8525
+ titel: string;
8526
+ toelichting?: string | null;
8527
+ updated_at?: string;
8528
+ versie?: number;
8529
+ };
8530
+ Update: {
8531
+ created_at?: string;
8532
+ eigenaar_module_id?: string;
8533
+ gepubliceerd_door?: string | null;
8534
+ gepubliceerd_op?: string;
8535
+ id?: string;
8536
+ inhoud_md?: string;
8537
+ is_actueel?: boolean;
8538
+ sleutel?: string;
8539
+ titel?: string;
8540
+ toelichting?: string | null;
8541
+ updated_at?: string;
8542
+ versie?: number;
8543
+ };
8544
+ Relationships: [];
8545
+ };
8546
+ itk_offerte_events: {
8547
+ Row: {
8548
+ created_at: string;
8549
+ event_type: string;
8550
+ id: string;
8551
+ metadata: import("./types").Json;
8552
+ offerte_id: string;
8553
+ omschrijving: string | null;
8554
+ user_id: string | null;
8555
+ };
8556
+ Insert: {
8557
+ created_at?: string;
8558
+ event_type: string;
8559
+ id?: string;
8560
+ metadata?: import("./types").Json;
8561
+ offerte_id: string;
8562
+ omschrijving?: string | null;
8563
+ user_id?: string | null;
8564
+ };
8565
+ Update: {
8566
+ created_at?: string;
8567
+ event_type?: string;
8568
+ id?: string;
8569
+ metadata?: import("./types").Json;
8570
+ offerte_id?: string;
8571
+ omschrijving?: string | null;
8572
+ user_id?: string | null;
8573
+ };
8574
+ Relationships: [{
8575
+ foreignKeyName: "itk_offerte_events_offerte_id_fkey";
8576
+ columns: ["offerte_id"];
8577
+ isOneToOne: false;
8578
+ referencedRelation: "itk_offertes";
8579
+ referencedColumns: ["id"];
8580
+ }];
8581
+ };
8582
+ itk_offerte_regels: {
8583
+ Row: {
8584
+ created_at: string;
8585
+ id: string;
8586
+ line_total_cents: number;
8587
+ offerte_id: string;
8588
+ omschrijving: string;
8589
+ package_id: string | null;
8590
+ quantity: number;
8591
+ sort_order: number;
8592
+ source: string;
8593
+ unit_price_cents: number;
8594
+ updated_at: string;
8595
+ };
8596
+ Insert: {
8597
+ created_at?: string;
8598
+ id?: string;
8599
+ line_total_cents?: number;
8600
+ offerte_id: string;
8601
+ omschrijving?: string;
8602
+ package_id?: string | null;
8603
+ quantity?: number;
8604
+ sort_order?: number;
8605
+ source?: string;
8606
+ unit_price_cents?: number;
8607
+ updated_at?: string;
8608
+ };
8609
+ Update: {
8610
+ created_at?: string;
8611
+ id?: string;
8612
+ line_total_cents?: number;
8613
+ offerte_id?: string;
8614
+ omschrijving?: string;
8615
+ package_id?: string | null;
8616
+ quantity?: number;
8617
+ sort_order?: number;
8618
+ source?: string;
8619
+ unit_price_cents?: number;
8620
+ updated_at?: string;
8621
+ };
8622
+ Relationships: [{
8623
+ foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
8624
+ columns: ["offerte_id"];
8625
+ isOneToOne: false;
8626
+ referencedRelation: "itk_offertes";
8627
+ referencedColumns: ["id"];
8628
+ }, {
8629
+ foreignKeyName: "itk_offerte_regels_package_id_fkey";
8630
+ columns: ["package_id"];
8631
+ isOneToOne: false;
8632
+ referencedRelation: "werkbon_packages";
8633
+ referencedColumns: ["id"];
8634
+ }];
8635
+ };
8636
+ itk_offerte_settings: {
8637
+ Row: {
8638
+ auto_convert_binnen_mandaat: boolean;
8639
+ created_at: string;
8640
+ default_geldigheid_dagen: number;
8641
+ default_vat_rate: number;
8642
+ id: string;
8643
+ singleton: boolean;
8209
8644
  updated_at: string;
8210
8645
  };
8211
8646
  Insert: {
@@ -10736,6 +11171,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10736
11171
  };
10737
11172
  Relationships: [];
10738
11173
  };
11174
+ maps_job_lease: {
11175
+ Row: {
11176
+ job: string;
11177
+ locked_until: string;
11178
+ updated_at: string;
11179
+ };
11180
+ Insert: {
11181
+ job: string;
11182
+ locked_until?: string;
11183
+ updated_at?: string;
11184
+ };
11185
+ Update: {
11186
+ job?: string;
11187
+ locked_until?: string;
11188
+ updated_at?: string;
11189
+ };
11190
+ Relationships: [];
11191
+ };
10739
11192
  maps_request_queue: {
10740
11193
  Row: {
10741
11194
  attempts: number;
@@ -10797,6 +11250,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10797
11250
  last_error: string | null;
10798
11251
  last_error_at: string | null;
10799
11252
  last_success_at: string | null;
11253
+ provider: string;
10800
11254
  updated_at: string;
10801
11255
  };
10802
11256
  Insert: {
@@ -10808,6 +11262,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10808
11262
  last_error?: string | null;
10809
11263
  last_error_at?: string | null;
10810
11264
  last_success_at?: string | null;
11265
+ provider?: string;
10811
11266
  updated_at?: string;
10812
11267
  };
10813
11268
  Update: {
@@ -10819,6 +11274,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10819
11274
  last_error?: string | null;
10820
11275
  last_error_at?: string | null;
10821
11276
  last_success_at?: string | null;
11277
+ provider?: string;
10822
11278
  updated_at?: string;
10823
11279
  };
10824
11280
  Relationships: [];
@@ -13461,6 +13917,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13461
13917
  isOneToOne: false;
13462
13918
  referencedRelation: "planning_items";
13463
13919
  referencedColumns: ["id"];
13920
+ }, {
13921
+ foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
13922
+ columns: ["planning_item_id"];
13923
+ isOneToOne: false;
13924
+ referencedRelation: "planning_overview";
13925
+ referencedColumns: ["id"];
13464
13926
  }];
13465
13927
  };
13466
13928
  planning_items: {
@@ -13556,6 +14018,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13556
14018
  };
13557
14019
  Relationships: [];
13558
14020
  };
14021
+ print_dedupe_events: {
14022
+ Row: {
14023
+ bestaande_job_id: string | null;
14024
+ created_at: string;
14025
+ detail: string | null;
14026
+ documentnaam: string | null;
14027
+ documenttype: string | null;
14028
+ id: string;
14029
+ idempotentie_sleutel: string;
14030
+ reden: string;
14031
+ };
14032
+ Insert: {
14033
+ bestaande_job_id?: string | null;
14034
+ created_at?: string;
14035
+ detail?: string | null;
14036
+ documentnaam?: string | null;
14037
+ documenttype?: string | null;
14038
+ id?: string;
14039
+ idempotentie_sleutel: string;
14040
+ reden: string;
14041
+ };
14042
+ Update: {
14043
+ bestaande_job_id?: string | null;
14044
+ created_at?: string;
14045
+ detail?: string | null;
14046
+ documentnaam?: string | null;
14047
+ documenttype?: string | null;
14048
+ id?: string;
14049
+ idempotentie_sleutel?: string;
14050
+ reden?: string;
14051
+ };
14052
+ Relationships: [];
14053
+ };
13559
14054
  print_job_logs: {
13560
14055
  Row: {
13561
14056
  created_at: string;
@@ -13597,6 +14092,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13597
14092
  foutmelding: string | null;
13598
14093
  gebruiker_id: string | null;
13599
14094
  gebruiker_naam: string;
14095
+ gebruikte_bron: string | null;
14096
+ gebruikte_layout_id: string | null;
13600
14097
  gestart_op: string | null;
13601
14098
  herkomst: string | null;
13602
14099
  id: string;
@@ -13604,6 +14101,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13604
14101
  is_herprint: boolean;
13605
14102
  kopieen: number;
13606
14103
  layout_id: string | null;
14104
+ lokaal_opgeslagen_op: string | null;
14105
+ lokale_pdf_fout: string | null;
14106
+ lokale_pdf_status: string | null;
13607
14107
  opgepakt_op: string | null;
13608
14108
  paginas: number;
13609
14109
  payload: import("./types").Json;
@@ -13612,6 +14112,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13612
14112
  pogingen: number;
13613
14113
  printer_id: string | null;
13614
14114
  render_html: string | null;
14115
+ resultaat_pdf_base64: string | null;
13615
14116
  status: Database["public"]["Enums"]["print_job_status"];
13616
14117
  updated_at: string;
13617
14118
  volgende_poging: string | null;
@@ -13627,6 +14128,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13627
14128
  foutmelding?: string | null;
13628
14129
  gebruiker_id?: string | null;
13629
14130
  gebruiker_naam?: string;
14131
+ gebruikte_bron?: string | null;
14132
+ gebruikte_layout_id?: string | null;
13630
14133
  gestart_op?: string | null;
13631
14134
  herkomst?: string | null;
13632
14135
  id?: string;
@@ -13634,6 +14137,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13634
14137
  is_herprint?: boolean;
13635
14138
  kopieen?: number;
13636
14139
  layout_id?: string | null;
14140
+ lokaal_opgeslagen_op?: string | null;
14141
+ lokale_pdf_fout?: string | null;
14142
+ lokale_pdf_status?: string | null;
13637
14143
  opgepakt_op?: string | null;
13638
14144
  paginas?: number;
13639
14145
  payload?: import("./types").Json;
@@ -13642,6 +14148,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13642
14148
  pogingen?: number;
13643
14149
  printer_id?: string | null;
13644
14150
  render_html?: string | null;
14151
+ resultaat_pdf_base64?: string | null;
13645
14152
  status?: Database["public"]["Enums"]["print_job_status"];
13646
14153
  updated_at?: string;
13647
14154
  volgende_poging?: string | null;
@@ -13657,6 +14164,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13657
14164
  foutmelding?: string | null;
13658
14165
  gebruiker_id?: string | null;
13659
14166
  gebruiker_naam?: string;
14167
+ gebruikte_bron?: string | null;
14168
+ gebruikte_layout_id?: string | null;
13660
14169
  gestart_op?: string | null;
13661
14170
  herkomst?: string | null;
13662
14171
  id?: string;
@@ -13664,6 +14173,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13664
14173
  is_herprint?: boolean;
13665
14174
  kopieen?: number;
13666
14175
  layout_id?: string | null;
14176
+ lokaal_opgeslagen_op?: string | null;
14177
+ lokale_pdf_fout?: string | null;
14178
+ lokale_pdf_status?: string | null;
13667
14179
  opgepakt_op?: string | null;
13668
14180
  paginas?: number;
13669
14181
  payload?: import("./types").Json;
@@ -13672,6 +14184,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13672
14184
  pogingen?: number;
13673
14185
  printer_id?: string | null;
13674
14186
  render_html?: string | null;
14187
+ resultaat_pdf_base64?: string | null;
13675
14188
  status?: Database["public"]["Enums"]["print_job_status"];
13676
14189
  updated_at?: string;
13677
14190
  volgende_poging?: string | null;
@@ -13790,6 +14303,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13790
14303
  };
13791
14304
  Relationships: [];
13792
14305
  };
14306
+ print_preview_events: {
14307
+ Row: {
14308
+ code: string | null;
14309
+ created_at: string;
14310
+ detail: import("./types").Json;
14311
+ id: string;
14312
+ queue_item_id: string | null;
14313
+ reden: string | null;
14314
+ station_slug: string | null;
14315
+ uitkomst: string;
14316
+ };
14317
+ Insert: {
14318
+ code?: string | null;
14319
+ created_at?: string;
14320
+ detail?: import("./types").Json;
14321
+ id?: string;
14322
+ queue_item_id?: string | null;
14323
+ reden?: string | null;
14324
+ station_slug?: string | null;
14325
+ uitkomst?: string;
14326
+ };
14327
+ Update: {
14328
+ code?: string | null;
14329
+ created_at?: string;
14330
+ detail?: import("./types").Json;
14331
+ id?: string;
14332
+ queue_item_id?: string | null;
14333
+ reden?: string | null;
14334
+ station_slug?: string | null;
14335
+ uitkomst?: string;
14336
+ };
14337
+ Relationships: [];
14338
+ };
13793
14339
  print_queue_runners: {
13794
14340
  Row: {
13795
14341
  actief: boolean;
@@ -14029,6 +14575,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14029
14575
  ondersteunde_laden: import("./types").Json | null;
14030
14576
  online: boolean;
14031
14577
  papierformaat: string;
14578
+ pdf_map: string | null;
14032
14579
  poort: number | null;
14033
14580
  soort: Database["public"]["Enums"]["printer_kind"];
14034
14581
  systeemnaam: string;
@@ -14054,6 +14601,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14054
14601
  ondersteunde_laden?: import("./types").Json | null;
14055
14602
  online?: boolean;
14056
14603
  papierformaat?: string;
14604
+ pdf_map?: string | null;
14057
14605
  poort?: number | null;
14058
14606
  soort?: Database["public"]["Enums"]["printer_kind"];
14059
14607
  systeemnaam?: string;
@@ -14079,6 +14627,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14079
14627
  ondersteunde_laden?: import("./types").Json | null;
14080
14628
  online?: boolean;
14081
14629
  papierformaat?: string;
14630
+ pdf_map?: string | null;
14082
14631
  poort?: number | null;
14083
14632
  soort?: Database["public"]["Enums"]["printer_kind"];
14084
14633
  systeemnaam?: string;
@@ -14951,530 +15500,86 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14951
15500
  referencedColumns: ["id"];
14952
15501
  }];
14953
15502
  };
14954
- quote_activities: {
15503
+ reception_notifications: {
14955
15504
  Row: {
15505
+ booking_id: string | null;
14956
15506
  created_at: string;
14957
- event_type: string;
14958
15507
  id: string;
14959
- metadata: import("./types").Json;
14960
- quote_id: string;
14961
- user_id: string | null;
15508
+ is_read: boolean;
15509
+ message: string;
15510
+ recipient_email: string | null;
15511
+ title: string;
15512
+ type: string;
14962
15513
  };
14963
15514
  Insert: {
15515
+ booking_id?: string | null;
14964
15516
  created_at?: string;
14965
- event_type: string;
14966
15517
  id?: string;
14967
- metadata?: import("./types").Json;
14968
- quote_id: string;
14969
- user_id?: string | null;
15518
+ is_read?: boolean;
15519
+ message: string;
15520
+ recipient_email?: string | null;
15521
+ title: string;
15522
+ type: string;
14970
15523
  };
14971
15524
  Update: {
15525
+ booking_id?: string | null;
14972
15526
  created_at?: string;
14973
- event_type?: string;
14974
15527
  id?: string;
14975
- metadata?: import("./types").Json;
14976
- quote_id?: string;
14977
- user_id?: string | null;
15528
+ is_read?: boolean;
15529
+ message?: string;
15530
+ recipient_email?: string | null;
15531
+ title?: string;
15532
+ type?: string;
14978
15533
  };
14979
15534
  Relationships: [{
14980
- foreignKeyName: "quote_activities_quote_id_fkey";
14981
- columns: ["quote_id"];
15535
+ foreignKeyName: "reception_notifications_booking_id_fkey";
15536
+ columns: ["booking_id"];
14982
15537
  isOneToOne: false;
14983
- referencedRelation: "quotes";
15538
+ referencedRelation: "bookings";
14984
15539
  referencedColumns: ["id"];
14985
15540
  }];
14986
15541
  };
14987
- quote_attachments: {
15542
+ role_assignments: {
14988
15543
  Row: {
14989
15544
  created_at: string;
14990
- file_name: string;
14991
- file_size: number | null;
14992
- file_url: string;
14993
15545
  id: string;
14994
- mime_type: string | null;
14995
- quote_id: string;
15546
+ role_id: string;
15547
+ user_id: string;
14996
15548
  };
14997
15549
  Insert: {
14998
15550
  created_at?: string;
14999
- file_name: string;
15000
- file_size?: number | null;
15001
- file_url: string;
15002
15551
  id?: string;
15003
- mime_type?: string | null;
15004
- quote_id: string;
15552
+ role_id: string;
15553
+ user_id: string;
15005
15554
  };
15006
15555
  Update: {
15007
15556
  created_at?: string;
15008
- file_name?: string;
15009
- file_size?: number | null;
15010
- file_url?: string;
15011
15557
  id?: string;
15012
- mime_type?: string | null;
15013
- quote_id?: string;
15558
+ role_id?: string;
15559
+ user_id?: string;
15014
15560
  };
15015
15561
  Relationships: [{
15016
- foreignKeyName: "quote_attachments_quote_id_fkey";
15017
- columns: ["quote_id"];
15562
+ foreignKeyName: "role_assignments_role_id_fkey";
15563
+ columns: ["role_id"];
15018
15564
  isOneToOne: false;
15019
- referencedRelation: "quotes";
15565
+ referencedRelation: "roles";
15020
15566
  referencedColumns: ["id"];
15021
15567
  }];
15022
15568
  };
15023
- quote_field_options: {
15569
+ role_permissions: {
15024
15570
  Row: {
15025
- created_at: string;
15026
- field_id: string;
15571
+ can_edit: boolean;
15572
+ can_view: boolean;
15573
+ feature_id: string;
15027
15574
  id: string;
15028
- label: string;
15029
- sort_order: number;
15030
- value: string;
15575
+ module_id: string;
15576
+ role_id: string;
15577
+ updated_at: string;
15031
15578
  };
15032
15579
  Insert: {
15033
- created_at?: string;
15034
- field_id: string;
15035
- id?: string;
15036
- label: string;
15037
- sort_order?: number;
15038
- value: string;
15039
- };
15040
- Update: {
15041
- created_at?: string;
15042
- field_id?: string;
15043
- id?: string;
15044
- label?: string;
15045
- sort_order?: number;
15046
- value?: string;
15047
- };
15048
- Relationships: [{
15049
- foreignKeyName: "quote_field_options_field_id_fkey";
15050
- columns: ["field_id"];
15051
- isOneToOne: false;
15052
- referencedRelation: "quote_field_settings";
15053
- referencedColumns: ["id"];
15054
- }];
15055
- };
15056
- quote_field_settings: {
15057
- Row: {
15058
- created_at: string;
15059
- default_value: string | null;
15060
- field_key: string;
15061
- field_type: string;
15062
- id: string;
15063
- is_system: boolean;
15064
- label: string;
15065
- required: boolean;
15066
- sort_order: number;
15067
- updated_at: string;
15068
- visible: boolean;
15069
- };
15070
- Insert: {
15071
- created_at?: string;
15072
- default_value?: string | null;
15073
- field_key: string;
15074
- field_type: string;
15075
- id?: string;
15076
- is_system?: boolean;
15077
- label: string;
15078
- required?: boolean;
15079
- sort_order?: number;
15080
- updated_at?: string;
15081
- visible?: boolean;
15082
- };
15083
- Update: {
15084
- created_at?: string;
15085
- default_value?: string | null;
15086
- field_key?: string;
15087
- field_type?: string;
15088
- id?: string;
15089
- is_system?: boolean;
15090
- label?: string;
15091
- required?: boolean;
15092
- sort_order?: number;
15093
- updated_at?: string;
15094
- visible?: boolean;
15095
- };
15096
- Relationships: [];
15097
- };
15098
- quote_items: {
15099
- Row: {
15100
- category: string | null;
15101
- created_at: string;
15102
- description: string;
15103
- id: string;
15104
- line_total: number;
15105
- module_id: string | null;
15106
- name: string | null;
15107
- quantity: number;
15108
- quote_id: string;
15109
- sort_order: number;
15110
- unit_price: number;
15111
- };
15112
- Insert: {
15113
- category?: string | null;
15114
- created_at?: string;
15115
- description?: string;
15116
- id?: string;
15117
- line_total?: number;
15118
- module_id?: string | null;
15119
- name?: string | null;
15120
- quantity?: number;
15121
- quote_id: string;
15122
- sort_order?: number;
15123
- unit_price?: number;
15124
- };
15125
- Update: {
15126
- category?: string | null;
15127
- created_at?: string;
15128
- description?: string;
15129
- id?: string;
15130
- line_total?: number;
15131
- module_id?: string | null;
15132
- name?: string | null;
15133
- quantity?: number;
15134
- quote_id?: string;
15135
- sort_order?: number;
15136
- unit_price?: number;
15137
- };
15138
- Relationships: [{
15139
- foreignKeyName: "quote_items_module_id_fkey";
15140
- columns: ["module_id"];
15141
- isOneToOne: false;
15142
- referencedRelation: "quote_modules";
15143
- referencedColumns: ["id"];
15144
- }, {
15145
- foreignKeyName: "quote_items_quote_id_fkey";
15146
- columns: ["quote_id"];
15147
- isOneToOne: false;
15148
- referencedRelation: "quotes";
15149
- referencedColumns: ["id"];
15150
- }];
15151
- };
15152
- quote_modules: {
15153
- Row: {
15154
- category: string | null;
15155
- created_at: string;
15156
- description: string | null;
15157
- id: string;
15158
- is_active: boolean;
15159
- name: string;
15160
- price: number;
15161
- sort_order: number;
15162
- updated_at: string;
15163
- };
15164
- Insert: {
15165
- category?: string | null;
15166
- created_at?: string;
15167
- description?: string | null;
15168
- id?: string;
15169
- is_active?: boolean;
15170
- name: string;
15171
- price?: number;
15172
- sort_order?: number;
15173
- updated_at?: string;
15174
- };
15175
- Update: {
15176
- category?: string | null;
15177
- created_at?: string;
15178
- description?: string | null;
15179
- id?: string;
15180
- is_active?: boolean;
15181
- name?: string;
15182
- price?: number;
15183
- sort_order?: number;
15184
- updated_at?: string;
15185
- };
15186
- Relationships: [];
15187
- };
15188
- quote_templates: {
15189
- Row: {
15190
- created_at: string;
15191
- description: string | null;
15192
- field_values: import("./types").Json;
15193
- id: string;
15194
- is_default: boolean;
15195
- items: import("./types").Json;
15196
- name: string;
15197
- updated_at: string;
15198
- vat_rate: number;
15199
- };
15200
- Insert: {
15201
- created_at?: string;
15202
- description?: string | null;
15203
- field_values?: import("./types").Json;
15204
- id?: string;
15205
- is_default?: boolean;
15206
- items?: import("./types").Json;
15207
- name: string;
15208
- updated_at?: string;
15209
- vat_rate?: number;
15210
- };
15211
- Update: {
15212
- created_at?: string;
15213
- description?: string | null;
15214
- field_values?: import("./types").Json;
15215
- id?: string;
15216
- is_default?: boolean;
15217
- items?: import("./types").Json;
15218
- name?: string;
15219
- updated_at?: string;
15220
- vat_rate?: number;
15221
- };
15222
- Relationships: [];
15223
- };
15224
- quote_terms: {
15225
- Row: {
15226
- content: string | null;
15227
- created_at: string;
15228
- file_url: string | null;
15229
- id: string;
15230
- is_active: boolean;
15231
- name: string;
15232
- published_at: string | null;
15233
- updated_at: string;
15234
- version: string;
15235
- };
15236
- Insert: {
15237
- content?: string | null;
15238
- created_at?: string;
15239
- file_url?: string | null;
15240
- id?: string;
15241
- is_active?: boolean;
15242
- name: string;
15243
- published_at?: string | null;
15244
- updated_at?: string;
15245
- version?: string;
15246
- };
15247
- Update: {
15248
- content?: string | null;
15249
- created_at?: string;
15250
- file_url?: string | null;
15251
- id?: string;
15252
- is_active?: boolean;
15253
- name?: string;
15254
- published_at?: string | null;
15255
- updated_at?: string;
15256
- version?: string;
15257
- };
15258
- Relationships: [];
15259
- };
15260
- quotes: {
15261
- Row: {
15262
- accepted_at: string | null;
15263
- archived_at: string | null;
15264
- contact_id: string | null;
15265
- created_at: string;
15266
- customer_id: string | null;
15267
- discount: number;
15268
- expires_at: string | null;
15269
- field_values: import("./types").Json;
15270
- id: string;
15271
- notes: string | null;
15272
- owner_id: string | null;
15273
- personal_message: string | null;
15274
- project_id: string | null;
15275
- prospect_id: string | null;
15276
- public_token: string;
15277
- quote_number: string | null;
15278
- recipient_email: string | null;
15279
- recipient_name: string | null;
15280
- rejected_at: string | null;
15281
- sent_at: string | null;
15282
- status: string;
15283
- subtotal: number;
15284
- template_id: string | null;
15285
- terms_id: string | null;
15286
- title: string;
15287
- total: number;
15288
- updated_at: string;
15289
- valid_until: string | null;
15290
- vat_amount: number;
15291
- vat_rate: number;
15292
- viewed_at: string | null;
15293
- };
15294
- Insert: {
15295
- accepted_at?: string | null;
15296
- archived_at?: string | null;
15297
- contact_id?: string | null;
15298
- created_at?: string;
15299
- customer_id?: string | null;
15300
- discount?: number;
15301
- expires_at?: string | null;
15302
- field_values?: import("./types").Json;
15303
- id?: string;
15304
- notes?: string | null;
15305
- owner_id?: string | null;
15306
- personal_message?: string | null;
15307
- project_id?: string | null;
15308
- prospect_id?: string | null;
15309
- public_token?: string;
15310
- quote_number?: string | null;
15311
- recipient_email?: string | null;
15312
- recipient_name?: string | null;
15313
- rejected_at?: string | null;
15314
- sent_at?: string | null;
15315
- status?: string;
15316
- subtotal?: number;
15317
- template_id?: string | null;
15318
- terms_id?: string | null;
15319
- title?: string;
15320
- total?: number;
15321
- updated_at?: string;
15322
- valid_until?: string | null;
15323
- vat_amount?: number;
15324
- vat_rate?: number;
15325
- viewed_at?: string | null;
15326
- };
15327
- Update: {
15328
- accepted_at?: string | null;
15329
- archived_at?: string | null;
15330
- contact_id?: string | null;
15331
- created_at?: string;
15332
- customer_id?: string | null;
15333
- discount?: number;
15334
- expires_at?: string | null;
15335
- field_values?: import("./types").Json;
15336
- id?: string;
15337
- notes?: string | null;
15338
- owner_id?: string | null;
15339
- personal_message?: string | null;
15340
- project_id?: string | null;
15341
- prospect_id?: string | null;
15342
- public_token?: string;
15343
- quote_number?: string | null;
15344
- recipient_email?: string | null;
15345
- recipient_name?: string | null;
15346
- rejected_at?: string | null;
15347
- sent_at?: string | null;
15348
- status?: string;
15349
- subtotal?: number;
15350
- template_id?: string | null;
15351
- terms_id?: string | null;
15352
- title?: string;
15353
- total?: number;
15354
- updated_at?: string;
15355
- valid_until?: string | null;
15356
- vat_amount?: number;
15357
- vat_rate?: number;
15358
- viewed_at?: string | null;
15359
- };
15360
- Relationships: [{
15361
- foreignKeyName: "quotes_contact_id_fkey";
15362
- columns: ["contact_id"];
15363
- isOneToOne: false;
15364
- referencedRelation: "customer_contacts";
15365
- referencedColumns: ["id"];
15366
- }, {
15367
- foreignKeyName: "quotes_customer_id_fkey";
15368
- columns: ["customer_id"];
15369
- isOneToOne: false;
15370
- referencedRelation: "customers";
15371
- referencedColumns: ["id"];
15372
- }, {
15373
- foreignKeyName: "quotes_project_id_fkey";
15374
- columns: ["project_id"];
15375
- isOneToOne: false;
15376
- referencedRelation: "projects";
15377
- referencedColumns: ["id"];
15378
- }, {
15379
- foreignKeyName: "quotes_prospect_id_fkey";
15380
- columns: ["prospect_id"];
15381
- isOneToOne: false;
15382
- referencedRelation: "prospects";
15383
- referencedColumns: ["id"];
15384
- }, {
15385
- foreignKeyName: "quotes_template_id_fkey";
15386
- columns: ["template_id"];
15387
- isOneToOne: false;
15388
- referencedRelation: "quote_templates";
15389
- referencedColumns: ["id"];
15390
- }, {
15391
- foreignKeyName: "quotes_terms_id_fkey";
15392
- columns: ["terms_id"];
15393
- isOneToOne: false;
15394
- referencedRelation: "quote_terms";
15395
- referencedColumns: ["id"];
15396
- }];
15397
- };
15398
- reception_notifications: {
15399
- Row: {
15400
- booking_id: string | null;
15401
- created_at: string;
15402
- id: string;
15403
- is_read: boolean;
15404
- message: string;
15405
- recipient_email: string | null;
15406
- title: string;
15407
- type: string;
15408
- };
15409
- Insert: {
15410
- booking_id?: string | null;
15411
- created_at?: string;
15412
- id?: string;
15413
- is_read?: boolean;
15414
- message: string;
15415
- recipient_email?: string | null;
15416
- title: string;
15417
- type: string;
15418
- };
15419
- Update: {
15420
- booking_id?: string | null;
15421
- created_at?: string;
15422
- id?: string;
15423
- is_read?: boolean;
15424
- message?: string;
15425
- recipient_email?: string | null;
15426
- title?: string;
15427
- type?: string;
15428
- };
15429
- Relationships: [{
15430
- foreignKeyName: "reception_notifications_booking_id_fkey";
15431
- columns: ["booking_id"];
15432
- isOneToOne: false;
15433
- referencedRelation: "bookings";
15434
- referencedColumns: ["id"];
15435
- }];
15436
- };
15437
- role_assignments: {
15438
- Row: {
15439
- created_at: string;
15440
- id: string;
15441
- role_id: string;
15442
- user_id: string;
15443
- };
15444
- Insert: {
15445
- created_at?: string;
15446
- id?: string;
15447
- role_id: string;
15448
- user_id: string;
15449
- };
15450
- Update: {
15451
- created_at?: string;
15452
- id?: string;
15453
- role_id?: string;
15454
- user_id?: string;
15455
- };
15456
- Relationships: [{
15457
- foreignKeyName: "role_assignments_role_id_fkey";
15458
- columns: ["role_id"];
15459
- isOneToOne: false;
15460
- referencedRelation: "roles";
15461
- referencedColumns: ["id"];
15462
- }];
15463
- };
15464
- role_permissions: {
15465
- Row: {
15466
- can_edit: boolean;
15467
- can_view: boolean;
15468
- feature_id: string;
15469
- id: string;
15470
- module_id: string;
15471
- role_id: string;
15472
- updated_at: string;
15473
- };
15474
- Insert: {
15475
- can_edit?: boolean;
15476
- can_view?: boolean;
15477
- feature_id?: string;
15580
+ can_edit?: boolean;
15581
+ can_view?: boolean;
15582
+ feature_id?: string;
15478
15583
  id?: string;
15479
15584
  module_id: string;
15480
15585
  role_id: string;
@@ -16516,7 +16621,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16516
16621
  foreignKeyName: "time_logs_work_order_id_fkey";
16517
16622
  columns: ["work_order_id"];
16518
16623
  isOneToOne: false;
16519
- referencedRelation: "work_orders";
16624
+ referencedRelation: "werkbonnen";
16520
16625
  referencedColumns: ["id"];
16521
16626
  }];
16522
16627
  };
@@ -16648,6 +16753,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16648
16753
  };
16649
16754
  trade_item_stock: {
16650
16755
  Row: {
16756
+ change_source: string;
16651
16757
  connection_id: string;
16652
16758
  created_at: string;
16653
16759
  id: string;
@@ -16661,6 +16767,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16661
16767
  user_id: string;
16662
16768
  };
16663
16769
  Insert: {
16770
+ change_source?: string;
16664
16771
  connection_id: string;
16665
16772
  created_at?: string;
16666
16773
  id?: string;
@@ -16674,6 +16781,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16674
16781
  user_id: string;
16675
16782
  };
16676
16783
  Update: {
16784
+ change_source?: string;
16677
16785
  connection_id?: string;
16678
16786
  created_at?: string;
16679
16787
  id?: string;
@@ -17843,156 +17951,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
17843
17951
  };
17844
17952
  Relationships: [];
17845
17953
  };
17846
- uren_offerte_regels: {
17847
- Row: {
17848
- created_at: string;
17849
- description: string;
17850
- duration_minutes: number;
17851
- id: string;
17852
- offerte_id: string;
17853
- package_id: string | null;
17854
- quantity: number;
17855
- sort_order: number;
17856
- total_cents: number;
17857
- unit_price_cents: number;
17858
- };
17859
- Insert: {
17860
- created_at?: string;
17861
- description: string;
17862
- duration_minutes?: number;
17863
- id?: string;
17864
- offerte_id: string;
17865
- package_id?: string | null;
17866
- quantity?: number;
17867
- sort_order?: number;
17868
- total_cents?: number;
17869
- unit_price_cents?: number;
17870
- };
17871
- Update: {
17872
- created_at?: string;
17873
- description?: string;
17874
- duration_minutes?: number;
17875
- id?: string;
17876
- offerte_id?: string;
17877
- package_id?: string | null;
17878
- quantity?: number;
17879
- sort_order?: number;
17880
- total_cents?: number;
17881
- unit_price_cents?: number;
17882
- };
17883
- Relationships: [{
17884
- foreignKeyName: "uren_offerte_regels_offerte_id_fkey";
17885
- columns: ["offerte_id"];
17886
- isOneToOne: false;
17887
- referencedRelation: "uren_offertes";
17888
- referencedColumns: ["id"];
17889
- }, {
17890
- foreignKeyName: "uren_offerte_regels_package_id_fkey";
17891
- columns: ["package_id"];
17892
- isOneToOne: false;
17893
- referencedRelation: "werkbon_packages";
17894
- referencedColumns: ["id"];
17895
- }];
17896
- };
17897
- uren_offerte_velden: {
17898
- Row: {
17899
- created_at: string;
17900
- field_type: string;
17901
- id: string;
17902
- key: string;
17903
- label: string;
17904
- options: string[];
17905
- required: boolean;
17906
- sort_order: number;
17907
- updated_at: string;
17908
- };
17909
- Insert: {
17910
- created_at?: string;
17911
- field_type?: string;
17912
- id?: string;
17913
- key: string;
17914
- label: string;
17915
- options?: string[];
17916
- required?: boolean;
17917
- sort_order?: number;
17918
- updated_at?: string;
17919
- };
17920
- Update: {
17921
- created_at?: string;
17922
- field_type?: string;
17923
- id?: string;
17924
- key?: string;
17925
- label?: string;
17926
- options?: string[];
17927
- required?: boolean;
17928
- sort_order?: number;
17929
- updated_at?: string;
17930
- };
17931
- Relationships: [];
17932
- };
17933
- uren_offertes: {
17934
- Row: {
17935
- created_at: string;
17936
- created_by: string | null;
17937
- customer_id: string | null;
17938
- customer_name: string | null;
17939
- dynamic_fields: import("./types").Json;
17940
- estimated_minutes: number;
17941
- id: string;
17942
- note: string | null;
17943
- quote_number: string | null;
17944
- status: string;
17945
- title: string;
17946
- total_excl_cents: number;
17947
- total_incl_cents: number;
17948
- updated_at: string;
17949
- valid_until: string | null;
17950
- vat_percentage: number;
17951
- };
17952
- Insert: {
17953
- created_at?: string;
17954
- created_by?: string | null;
17955
- customer_id?: string | null;
17956
- customer_name?: string | null;
17957
- dynamic_fields?: import("./types").Json;
17958
- estimated_minutes?: number;
17959
- id?: string;
17960
- note?: string | null;
17961
- quote_number?: string | null;
17962
- status?: string;
17963
- title?: string;
17964
- total_excl_cents?: number;
17965
- total_incl_cents?: number;
17966
- updated_at?: string;
17967
- valid_until?: string | null;
17968
- vat_percentage?: number;
17969
- };
17970
- Update: {
17971
- created_at?: string;
17972
- created_by?: string | null;
17973
- customer_id?: string | null;
17974
- customer_name?: string | null;
17975
- dynamic_fields?: import("./types").Json;
17976
- estimated_minutes?: number;
17977
- id?: string;
17978
- note?: string | null;
17979
- quote_number?: string | null;
17980
- status?: string;
17981
- title?: string;
17982
- total_excl_cents?: number;
17983
- total_incl_cents?: number;
17984
- updated_at?: string;
17985
- valid_until?: string | null;
17986
- vat_percentage?: number;
17987
- };
17988
- Relationships: [{
17989
- foreignKeyName: "uren_offertes_customer_id_fkey";
17990
- columns: ["customer_id"];
17991
- isOneToOne: false;
17992
- referencedRelation: "itk_customers";
17993
- referencedColumns: ["id"];
17994
- }];
17995
- };
17996
17954
  uren_settings: {
17997
17955
  Row: {
17998
17956
  break_minutes: number;
@@ -19679,6 +19637,37 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19679
19637
  };
19680
19638
  Relationships: [];
19681
19639
  };
19640
+ planning_overview: {
19641
+ Row: {
19642
+ assigned_monteur_id: string | null;
19643
+ assistants: import("./types").Json | null;
19644
+ budget_mandate_cents: number | null;
19645
+ created_at: string | null;
19646
+ created_by: string | null;
19647
+ customer_id: string | null;
19648
+ customer_name: string | null;
19649
+ duration_minutes: number | null;
19650
+ end_at: string | null;
19651
+ id: string | null;
19652
+ needs_detail_review: boolean | null;
19653
+ notes: string | null;
19654
+ project_number: string | null;
19655
+ review_reasons: string[] | null;
19656
+ start_at: string | null;
19657
+ status: Database["public"]["Enums"]["planning_item_status"] | null;
19658
+ updated_at: string | null;
19659
+ viewer_role: string | null;
19660
+ werkbon_id: string | null;
19661
+ work_address: string | null;
19662
+ };
19663
+ Relationships: [{
19664
+ foreignKeyName: "planning_items_werkbon_id_fkey";
19665
+ columns: ["werkbon_id"];
19666
+ isOneToOne: false;
19667
+ referencedRelation: "werkbonnen";
19668
+ referencedColumns: ["id"];
19669
+ }];
19670
+ };
19682
19671
  product_group_stock_view: {
19683
19672
  Row: {
19684
19673
  item_count: number | null;
@@ -20274,6 +20263,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20274
20263
  Args: never;
20275
20264
  Returns: number;
20276
20265
  };
20266
+ calculate_floriday_desired_stock: {
20267
+ Args: {
20268
+ p_connection_id: string;
20269
+ p_product_id: string;
20270
+ };
20271
+ Returns: {
20272
+ desired_availability: boolean;
20273
+ desired_quantity: number;
20274
+ erp_available: number;
20275
+ stock_mode: string;
20276
+ }[];
20277
+ };
20277
20278
  calculate_layer_stock: {
20278
20279
  Args: {
20279
20280
  p_product_id: string;
@@ -20326,6 +20327,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20326
20327
  foutmelding: string | null;
20327
20328
  gebruiker_id: string | null;
20328
20329
  gebruiker_naam: string;
20330
+ gebruikte_bron: string | null;
20331
+ gebruikte_layout_id: string | null;
20329
20332
  gestart_op: string | null;
20330
20333
  herkomst: string | null;
20331
20334
  id: string;
@@ -20333,6 +20336,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20333
20336
  is_herprint: boolean;
20334
20337
  kopieen: number;
20335
20338
  layout_id: string | null;
20339
+ lokaal_opgeslagen_op: string | null;
20340
+ lokale_pdf_fout: string | null;
20341
+ lokale_pdf_status: string | null;
20336
20342
  opgepakt_op: string | null;
20337
20343
  paginas: number;
20338
20344
  payload: import("./types").Json;
@@ -20341,6 +20347,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20341
20347
  pogingen: number;
20342
20348
  printer_id: string | null;
20343
20349
  render_html: string | null;
20350
+ resultaat_pdf_base64: string | null;
20344
20351
  status: Database["public"]["Enums"]["print_job_status"];
20345
20352
  updated_at: string;
20346
20353
  volgende_poging: string | null;
@@ -20362,6 +20369,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20362
20369
  attempts: number;
20363
20370
  connection_id: string;
20364
20371
  created_at: string;
20372
+ dead_lettered_at: string | null;
20365
20373
  desired_available: boolean | null;
20366
20374
  gateway_attempt_id: string | null;
20367
20375
  id: string;
@@ -20370,9 +20378,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20370
20378
  locked_by: string | null;
20371
20379
  next_attempt_at: string;
20372
20380
  number_of_pieces: number;
20381
+ product_id: string | null;
20373
20382
  sent_at: string | null;
20374
20383
  status: string;
20384
+ stock_mode: string | null;
20375
20385
  superseded_by: string | null;
20386
+ target_week: number | null;
20387
+ target_year: number | null;
20376
20388
  trade_item_id: string;
20377
20389
  updated_at: string;
20378
20390
  user_id: string;
@@ -20432,6 +20444,53 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20432
20444
  isSetofReturn: true;
20433
20445
  };
20434
20446
  };
20447
+ claim_pdf_print_jobs: {
20448
+ Args: {
20449
+ _max?: number;
20450
+ };
20451
+ Returns: {
20452
+ agent_id: string | null;
20453
+ bron_job_id: string | null;
20454
+ created_at: string;
20455
+ documentnaam: string;
20456
+ documenttype: Database["public"]["Enums"]["doc_layout_type"];
20457
+ extern_job_id: string | null;
20458
+ foutmelding: string | null;
20459
+ gebruiker_id: string | null;
20460
+ gebruiker_naam: string;
20461
+ gebruikte_bron: string | null;
20462
+ gebruikte_layout_id: string | null;
20463
+ gestart_op: string | null;
20464
+ herkomst: string | null;
20465
+ id: string;
20466
+ idempotentie_sleutel: string | null;
20467
+ is_herprint: boolean;
20468
+ kopieen: number;
20469
+ layout_id: string | null;
20470
+ lokaal_opgeslagen_op: string | null;
20471
+ lokale_pdf_fout: string | null;
20472
+ lokale_pdf_status: string | null;
20473
+ opgepakt_op: string | null;
20474
+ paginas: number;
20475
+ payload: import("./types").Json;
20476
+ pdf_base64: string | null;
20477
+ pdf_url: string | null;
20478
+ pogingen: number;
20479
+ printer_id: string | null;
20480
+ render_html: string | null;
20481
+ resultaat_pdf_base64: string | null;
20482
+ status: Database["public"]["Enums"]["print_job_status"];
20483
+ updated_at: string;
20484
+ volgende_poging: string | null;
20485
+ voltooid_op: string | null;
20486
+ }[];
20487
+ SetofOptions: {
20488
+ from: "*";
20489
+ to: "print_jobs";
20490
+ isOneToOne: false;
20491
+ isSetofReturn: true;
20492
+ };
20493
+ };
20435
20494
  claim_print_jobs: {
20436
20495
  Args: {
20437
20496
  _agent_id: string;
@@ -20447,6 +20506,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20447
20506
  foutmelding: string | null;
20448
20507
  gebruiker_id: string | null;
20449
20508
  gebruiker_naam: string;
20509
+ gebruikte_bron: string | null;
20510
+ gebruikte_layout_id: string | null;
20450
20511
  gestart_op: string | null;
20451
20512
  herkomst: string | null;
20452
20513
  id: string;
@@ -20454,6 +20515,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20454
20515
  is_herprint: boolean;
20455
20516
  kopieen: number;
20456
20517
  layout_id: string | null;
20518
+ lokaal_opgeslagen_op: string | null;
20519
+ lokale_pdf_fout: string | null;
20520
+ lokale_pdf_status: string | null;
20457
20521
  opgepakt_op: string | null;
20458
20522
  paginas: number;
20459
20523
  payload: import("./types").Json;
@@ -20462,6 +20526,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20462
20526
  pogingen: number;
20463
20527
  printer_id: string | null;
20464
20528
  render_html: string | null;
20529
+ resultaat_pdf_base64: string | null;
20465
20530
  status: Database["public"]["Enums"]["print_job_status"];
20466
20531
  updated_at: string;
20467
20532
  volgende_poging: string | null;
@@ -20602,6 +20667,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20602
20667
  order_id: string;
20603
20668
  order_source: string;
20604
20669
  pick_date: string;
20670
+ printed_at: string;
20671
+ printed_today: boolean;
20605
20672
  status: string;
20606
20673
  }[];
20607
20674
  };
@@ -20798,6 +20865,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20798
20865
  };
20799
20866
  Returns: string;
20800
20867
  };
20868
+ floriday_capture_stock_snapshot: {
20869
+ Args: never;
20870
+ Returns: number;
20871
+ };
20872
+ floriday_cleanup_stock_queue_v2: {
20873
+ Args: never;
20874
+ Returns: undefined;
20875
+ };
20876
+ floriday_compact_stock_snapshots: {
20877
+ Args: never;
20878
+ Returns: undefined;
20879
+ };
20880
+ floriday_default_owner: {
20881
+ Args: {
20882
+ p_connection_id: string;
20883
+ };
20884
+ Returns: string;
20885
+ };
20801
20886
  floriday_effective_price: {
20802
20887
  Args: {
20803
20888
  _buyer_id: string;
@@ -20815,6 +20900,34 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20815
20900
  source_id: string;
20816
20901
  }[];
20817
20902
  };
20903
+ floriday_fill_publish_horizon: {
20904
+ Args: never;
20905
+ Returns: number;
20906
+ };
20907
+ floriday_ingest_sales_orders: {
20908
+ Args: {
20909
+ p_limit?: number;
20910
+ };
20911
+ Returns: number;
20912
+ };
20913
+ floriday_publish_horizon_weeks: {
20914
+ Args: never;
20915
+ Returns: number;
20916
+ };
20917
+ floriday_recompute_inventory: {
20918
+ Args: {
20919
+ p_connection_id: string;
20920
+ p_force?: boolean;
20921
+ p_product_id: string;
20922
+ };
20923
+ Returns: undefined;
20924
+ };
20925
+ floriday_requeue_dead_letters: {
20926
+ Args: {
20927
+ p_connection_id?: string;
20928
+ };
20929
+ Returns: number;
20930
+ };
20818
20931
  format_cart_number: {
20819
20932
  Args: {
20820
20933
  p_pick_date: string;
@@ -21031,6 +21144,131 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21031
21144
  Args: never;
21032
21145
  Returns: string;
21033
21146
  };
21147
+ handover_get: {
21148
+ Args: {
21149
+ _module_id: string;
21150
+ };
21151
+ Returns: import("./types").Json;
21152
+ };
21153
+ handover_kern_naam: {
21154
+ Args: {
21155
+ _naam: string;
21156
+ };
21157
+ Returns: string;
21158
+ };
21159
+ handover_ketenmodel: {
21160
+ Args: never;
21161
+ Returns: import("./types").Json;
21162
+ };
21163
+ handover_kruisconflicten: {
21164
+ Args: never;
21165
+ Returns: import("./types").Json;
21166
+ };
21167
+ handover_list: {
21168
+ Args: never;
21169
+ Returns: import("./types").Json;
21170
+ };
21171
+ handover_mag_schrijven: {
21172
+ Args: {
21173
+ _module_id: string;
21174
+ };
21175
+ Returns: boolean;
21176
+ };
21177
+ handover_norm_naam: {
21178
+ Args: {
21179
+ _naam: string;
21180
+ };
21181
+ Returns: string;
21182
+ };
21183
+ handover_publish: {
21184
+ Args: {
21185
+ _bevindingen?: string;
21186
+ _bezit_tabellen?: string[];
21187
+ _conflicten_snapshot?: import("./types").Json;
21188
+ _contractfuncties?: string[];
21189
+ _inhoud_md: string;
21190
+ _module_id: string;
21191
+ _module_titel: string;
21192
+ _ontbrekende_contracten?: string[];
21193
+ _samenvatting?: string;
21194
+ };
21195
+ Returns: number;
21196
+ };
21197
+ handover_publish_via_token: {
21198
+ Args: {
21199
+ _bevindingen?: string;
21200
+ _bezit_tabellen?: string[];
21201
+ _conflicten_snapshot?: import("./types").Json;
21202
+ _contractfuncties?: string[];
21203
+ _inhoud_md: string;
21204
+ _module_id: string;
21205
+ _module_titel: string;
21206
+ _ontbrekende_contracten?: string[];
21207
+ _samenvatting?: string;
21208
+ _token_hash: string;
21209
+ };
21210
+ Returns: number;
21211
+ };
21212
+ handover_status: {
21213
+ Args: never;
21214
+ Returns: import("./types").Json;
21215
+ };
21216
+ handover_synonym_kern: {
21217
+ Args: {
21218
+ _naam: string;
21219
+ };
21220
+ Returns: string;
21221
+ };
21222
+ handover_token_intrekken: {
21223
+ Args: {
21224
+ _id: string;
21225
+ };
21226
+ Returns: boolean;
21227
+ };
21228
+ handover_token_lijst: {
21229
+ Args: never;
21230
+ Returns: import("./types").Json;
21231
+ };
21232
+ handover_token_maken: {
21233
+ Args: {
21234
+ _label?: string;
21235
+ _module_id: string;
21236
+ };
21237
+ Returns: string;
21238
+ };
21239
+ handover_update: {
21240
+ Args: {
21241
+ _bezit_tabellen?: string[];
21242
+ _contractfuncties?: string[];
21243
+ _herzieningstermijn_dagen?: number;
21244
+ _inhoud_md?: string;
21245
+ _module_id: string;
21246
+ _module_titel?: string;
21247
+ _samenvatting?: string;
21248
+ _versie: number;
21249
+ };
21250
+ Returns: boolean;
21251
+ } | {
21252
+ Args: {
21253
+ _bevindingen?: string;
21254
+ _bezit_tabellen?: string[];
21255
+ _contractfuncties?: string[];
21256
+ _herzieningstermijn_dagen?: number;
21257
+ _inhoud_md?: string;
21258
+ _module_id: string;
21259
+ _module_titel?: string;
21260
+ _ontbrekende_contracten?: string[];
21261
+ _samenvatting?: string;
21262
+ _versie: number;
21263
+ };
21264
+ Returns: boolean;
21265
+ };
21266
+ handover_versies: {
21267
+ Args: {
21268
+ _module_id: string;
21269
+ };
21270
+ Returns: import("./types").Json;
21271
+ };
21034
21272
  has_module_permission: {
21035
21273
  Args: {
21036
21274
  _min: string;
@@ -21050,6 +21288,25 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21050
21288
  Args: never;
21051
21289
  Returns: boolean;
21052
21290
  };
21291
+ instructie_get: {
21292
+ Args: {
21293
+ _sleutel: string;
21294
+ };
21295
+ Returns: import("./types").Json;
21296
+ };
21297
+ instructie_list: {
21298
+ Args: never;
21299
+ Returns: import("./types").Json;
21300
+ };
21301
+ instructie_publish: {
21302
+ Args: {
21303
+ _inhoud_md: string;
21304
+ _sleutel: string;
21305
+ _titel: string;
21306
+ _toelichting?: string;
21307
+ };
21308
+ Returns: number;
21309
+ };
21053
21310
  invoice_create_from_source: {
21054
21311
  Args: {
21055
21312
  _payload?: import("./types").Json;
@@ -21310,6 +21567,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21310
21567
  };
21311
21568
  Returns: number;
21312
21569
  };
21570
+ logistics_cancel_orphan_tasks: {
21571
+ Args: never;
21572
+ Returns: number;
21573
+ };
21313
21574
  logistics_capacity_day_check: {
21314
21575
  Args: {
21315
21576
  p_from?: string;
@@ -21330,6 +21591,25 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21330
21591
  };
21331
21592
  Returns: number;
21332
21593
  };
21594
+ logistics_cart_index: {
21595
+ Args: {
21596
+ p_from?: string;
21597
+ p_to?: string;
21598
+ };
21599
+ Returns: {
21600
+ cart_id: string;
21601
+ cart_index: number;
21602
+ cart_label: string;
21603
+ is_shared: boolean;
21604
+ order_number: string;
21605
+ order_source: string;
21606
+ order_uuid: string;
21607
+ pick_date: string;
21608
+ printed_at: string;
21609
+ shifted: boolean;
21610
+ task_status: string;
21611
+ }[];
21612
+ };
21333
21613
  logistics_check_order_allowed: {
21334
21614
  Args: {
21335
21615
  p_lines: import("./types").Json;
@@ -21478,6 +21758,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21478
21758
  isSetofReturn: false;
21479
21759
  };
21480
21760
  };
21761
+ logistics_consistency_check: {
21762
+ Args: never;
21763
+ Returns: {
21764
+ agenda_carts: number;
21765
+ control_carts: number;
21766
+ ok: boolean;
21767
+ orphan_tasks: number;
21768
+ pick_date: string;
21769
+ raw_carts: number;
21770
+ }[];
21771
+ };
21481
21772
  logistics_delay_customer_email: {
21482
21773
  Args: {
21483
21774
  p_customer: string;
@@ -21503,6 +21794,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21503
21794
  };
21504
21795
  Returns: string;
21505
21796
  };
21797
+ logistics_document_type_map: {
21798
+ Args: {
21799
+ _document_code: string;
21800
+ };
21801
+ Returns: Database["public"]["Enums"]["doc_layout_type"][];
21802
+ };
21506
21803
  logistics_emit_event: {
21507
21804
  Args: {
21508
21805
  p_event_type: string;
@@ -21561,6 +21858,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21561
21858
  isSetofReturn: false;
21562
21859
  };
21563
21860
  };
21861
+ logistics_floriday_cart_plan: {
21862
+ Args: {
21863
+ p_order_id: string;
21864
+ };
21865
+ Returns: {
21866
+ carrier_type: string;
21867
+ idx: number;
21868
+ packages: number;
21869
+ }[];
21870
+ };
21564
21871
  logistics_floriday_claim_pushes: {
21565
21872
  Args: {
21566
21873
  _lease_seconds?: number;
@@ -21665,6 +21972,25 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21665
21972
  };
21666
21973
  Returns: number;
21667
21974
  };
21975
+ logistics_order_overview: {
21976
+ Args: {
21977
+ p_from?: string;
21978
+ p_to?: string;
21979
+ };
21980
+ Returns: {
21981
+ cart_count: number;
21982
+ customer_name: string;
21983
+ delivery_date: string;
21984
+ order_number: string;
21985
+ order_source: string;
21986
+ order_uuid: string;
21987
+ pick_date: string;
21988
+ plant_count: number;
21989
+ printed_at: string;
21990
+ shifted: boolean;
21991
+ status: string;
21992
+ }[];
21993
+ };
21668
21994
  logistics_order_pick_day: {
21669
21995
  Args: {
21670
21996
  p_order_ref: string;
@@ -21677,6 +22003,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21677
22003
  };
21678
22004
  Returns: string;
21679
22005
  };
22006
+ logistics_pick_agenda: {
22007
+ Args: {
22008
+ p_from?: string;
22009
+ p_to?: string;
22010
+ };
22011
+ Returns: {
22012
+ cart_count: number;
22013
+ in_preparation: number;
22014
+ order_count: number;
22015
+ orders: import("./types").Json;
22016
+ pick_date: string;
22017
+ plant_count: number;
22018
+ ready: number;
22019
+ shifted_count: number;
22020
+ }[];
22021
+ };
21680
22022
  logistics_pick_email_purpose: {
21681
22023
  Args: never;
21682
22024
  Returns: string;
@@ -21731,6 +22073,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21731
22073
  };
21732
22074
  Returns: undefined;
21733
22075
  };
22076
+ logistics_plan_floriday_order: {
22077
+ Args: {
22078
+ p_buffer_id?: string;
22079
+ p_order_id: string;
22080
+ };
22081
+ Returns: number;
22082
+ };
21734
22083
  logistics_plan_impact_orders: {
21735
22084
  Args: {
21736
22085
  p_order_id: string;
@@ -21836,6 +22185,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21836
22185
  };
21837
22186
  Returns: import("./types").Json;
21838
22187
  };
22188
+ logistics_resolve_pick_document: {
22189
+ Args: {
22190
+ _is_herprint: boolean;
22191
+ _queue_item_id: string;
22192
+ _session_id: string;
22193
+ _voorbeeld: boolean;
22194
+ };
22195
+ Returns: import("./types").Json;
22196
+ };
21839
22197
  logistics_resolve_settings: {
21840
22198
  Args: {
21841
22199
  p_config_id: string;
@@ -22276,6 +22634,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22276
22634
  };
22277
22635
  pick_enqueue_print_job: {
22278
22636
  Args: {
22637
+ _is_herprint?: boolean;
22279
22638
  _printer_id?: string;
22280
22639
  _queue_item_id: string;
22281
22640
  _session_id?: string;
@@ -22289,6 +22648,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22289
22648
  };
22290
22649
  Returns: import("./types").Json;
22291
22650
  };
22651
+ pick_preview_job: {
22652
+ Args: {
22653
+ _queue_item_id: string;
22654
+ _station_slug: string;
22655
+ };
22656
+ Returns: import("./types").Json;
22657
+ };
22292
22658
  pick_print_job_status: {
22293
22659
  Args: {
22294
22660
  _job_id: string;
@@ -22466,6 +22832,84 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22466
22832
  };
22467
22833
  Returns: undefined;
22468
22834
  };
22835
+ planning_cancel_item: {
22836
+ Args: {
22837
+ _id: string;
22838
+ };
22839
+ Returns: undefined;
22840
+ };
22841
+ planning_list: {
22842
+ Args: {
22843
+ _from: string;
22844
+ _to: string;
22845
+ };
22846
+ Returns: {
22847
+ assigned_monteur_id: string | null;
22848
+ assistants: import("./types").Json | null;
22849
+ budget_mandate_cents: number | null;
22850
+ created_at: string | null;
22851
+ created_by: string | null;
22852
+ customer_id: string | null;
22853
+ customer_name: string | null;
22854
+ duration_minutes: number | null;
22855
+ end_at: string | null;
22856
+ id: string | null;
22857
+ needs_detail_review: boolean | null;
22858
+ notes: string | null;
22859
+ project_number: string | null;
22860
+ review_reasons: string[] | null;
22861
+ start_at: string | null;
22862
+ status: Database["public"]["Enums"]["planning_item_status"] | null;
22863
+ updated_at: string | null;
22864
+ viewer_role: string | null;
22865
+ werkbon_id: string | null;
22866
+ work_address: string | null;
22867
+ }[];
22868
+ SetofOptions: {
22869
+ from: "*";
22870
+ to: "planning_overview";
22871
+ isOneToOne: false;
22872
+ isSetofReturn: true;
22873
+ };
22874
+ };
22875
+ planning_set_assistants: {
22876
+ Args: {
22877
+ _monteur_ids: string[];
22878
+ _planning_item_id: string;
22879
+ };
22880
+ Returns: undefined;
22881
+ };
22882
+ planning_upsert_item: {
22883
+ Args: {
22884
+ _assigned_monteur_id: string;
22885
+ _end_at: string;
22886
+ _notes?: string;
22887
+ _start_at: string;
22888
+ _werkbon_id: string;
22889
+ };
22890
+ Returns: {
22891
+ action: string;
22892
+ id: string;
22893
+ }[];
22894
+ };
22895
+ print_preview_toestaan: {
22896
+ Args: {
22897
+ _max?: number;
22898
+ _queue_item_id: string;
22899
+ _station_slug: string;
22900
+ _venster_sec?: number;
22901
+ };
22902
+ Returns: import("./types").Json;
22903
+ };
22904
+ print_preview_weiger: {
22905
+ Args: {
22906
+ _code: string;
22907
+ _queue_item_id: string;
22908
+ _reden: string;
22909
+ _station_slug: string;
22910
+ };
22911
+ Returns: undefined;
22912
+ };
22469
22913
  process_logistics_event: {
22470
22914
  Args: {
22471
22915
  p_event_id: string;
@@ -22583,6 +23027,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22583
23027
  };
22584
23028
  Returns: undefined;
22585
23029
  };
23030
+ replace_order_carts: {
23031
+ Args: {
23032
+ p_buffer_id: string;
23033
+ p_carts: import("./types").Json;
23034
+ p_order_id: string;
23035
+ };
23036
+ Returns: import("./types").Json;
23037
+ };
22586
23038
  reset_floriday_sync_cursor: {
22587
23039
  Args: {
22588
23040
  p_connection_id: string;
@@ -22612,6 +23064,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22612
23064
  };
22613
23065
  Returns: string;
22614
23066
  };
23067
+ resolve_print_job_printer_id: {
23068
+ Args: {
23069
+ _job: Database["public"]["Tables"]["print_jobs"]["Row"];
23070
+ };
23071
+ Returns: string;
23072
+ };
22615
23073
  resolve_product_id_for_item: {
22616
23074
  Args: {
22617
23075
  p_product_name: string;
@@ -23015,6 +23473,26 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23015
23473
  };
23016
23474
  Returns: string[];
23017
23475
  };
23476
+ start_time_log_at: {
23477
+ Args: {
23478
+ p_clicked_at?: string;
23479
+ p_employee_id: string;
23480
+ p_start_lat?: number;
23481
+ p_start_lng?: number;
23482
+ p_type: string;
23483
+ p_work_order_id?: string;
23484
+ };
23485
+ Returns: import("./types").Json;
23486
+ };
23487
+ stop_time_log: {
23488
+ Args: {
23489
+ p_employee_id: string;
23490
+ p_end_lat?: number;
23491
+ p_end_lng?: number;
23492
+ p_end_time: string;
23493
+ };
23494
+ Returns: import("./types").Json;
23495
+ };
23018
23496
  switch_time_log: {
23019
23497
  Args: {
23020
23498
  p_employee_id: string;
@@ -23203,7 +23681,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23203
23681
  };
23204
23682
  CompositeTypes: { [_ in never]: never; };
23205
23683
  }, {
23206
- PostgrestVersion: "14.17";
23684
+ PostgrestVersion: "14.5";
23207
23685
  }>;
23208
23686
  userId: string;
23209
23687
  claims: import("@supabase/auth-js").JwtPayload;