@flowselections/floriday-verkoop-module 1.0.60 → 1.0.62

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 (149) hide show
  1. package/dist-lib/components/floriday/FlorydaySyncHealthBanner.d.ts +9 -0
  2. package/dist-lib/components/floriday/FlorydaySyncHealthBanner.d.ts.map +1 -0
  3. package/dist-lib/components/floriday/FlorydaySyncHealthBanner.js +26 -0
  4. package/dist-lib/components/karindeling/AfmetingenTab.d.ts +6 -0
  5. package/dist-lib/components/karindeling/AfmetingenTab.d.ts.map +1 -0
  6. package/dist-lib/components/karindeling/AfmetingenTab.js +128 -0
  7. package/dist-lib/components/karindeling/KarindelingPage.d.ts +2 -0
  8. package/dist-lib/components/karindeling/KarindelingPage.d.ts.map +1 -0
  9. package/dist-lib/components/karindeling/KarindelingPage.js +102 -0
  10. package/dist-lib/components/ui/dropdown-menu.d.ts +9 -0
  11. package/dist-lib/components/ui/dropdown-menu.d.ts.map +1 -0
  12. package/dist-lib/components/ui/dropdown-menu.js +14 -0
  13. package/dist-lib/components/verkoop/AnalyticsCards.d.ts +1 -1
  14. package/dist-lib/components/verkoop/AnalyticsCards.d.ts.map +1 -1
  15. package/dist-lib/components/verkoop/AutoFulfillmentStatusCard.d.ts +1 -1
  16. package/dist-lib/components/verkoop/AutoFulfillmentStatusCard.d.ts.map +1 -1
  17. package/dist-lib/components/verkoop/CartAssignmentWizard.d.ts +1 -1
  18. package/dist-lib/components/verkoop/CartAssignmentWizard.d.ts.map +1 -1
  19. package/dist-lib/components/verkoop/CartLayersDialog.d.ts +1 -1
  20. package/dist-lib/components/verkoop/CartLayersDialog.d.ts.map +1 -1
  21. package/dist-lib/components/verkoop/CreateOrderDialog.d.ts +5 -0
  22. package/dist-lib/components/verkoop/CreateOrderDialog.d.ts.map +1 -0
  23. package/dist-lib/components/verkoop/CreateOrderDialog.js +33 -0
  24. package/dist-lib/components/verkoop/CreateOrderPage.d.ts +1 -1
  25. package/dist-lib/components/verkoop/CreateOrderPage.d.ts.map +1 -1
  26. package/dist-lib/components/verkoop/DiagnoseConnectionDialog.d.ts +1 -1
  27. package/dist-lib/components/verkoop/DiagnoseConnectionDialog.d.ts.map +1 -1
  28. package/dist-lib/components/verkoop/EditLocalOrderDialog.d.ts +1 -1
  29. package/dist-lib/components/verkoop/EditLocalOrderDialog.d.ts.map +1 -1
  30. package/dist-lib/components/verkoop/EngineBufferCard.d.ts +1 -1
  31. package/dist-lib/components/verkoop/EngineBufferCard.d.ts.map +1 -1
  32. package/dist-lib/components/verkoop/InvoiceTimingSettings.d.ts +1 -1
  33. package/dist-lib/components/verkoop/InvoiceTimingSettings.d.ts.map +1 -1
  34. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.d.ts +1 -1
  35. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.d.ts.map +1 -1
  36. package/dist-lib/components/verkoop/OrderCarrierPicker.d.ts +1 -1
  37. package/dist-lib/components/verkoop/OrderCarrierPicker.d.ts.map +1 -1
  38. package/dist-lib/components/verkoop/OrderControlStatusCard.d.ts +1 -1
  39. package/dist-lib/components/verkoop/OrderControlStatusCard.d.ts.map +1 -1
  40. package/dist-lib/components/verkoop/OrderKarindelingCard.d.ts +1 -1
  41. package/dist-lib/components/verkoop/OrderKarindelingCard.d.ts.map +1 -1
  42. package/dist-lib/components/verkoop/OrderPickupMomentPicker.d.ts +1 -1
  43. package/dist-lib/components/verkoop/OrderPickupMomentPicker.d.ts.map +1 -1
  44. package/dist-lib/components/verkoop/OrderShipmentsCard.d.ts +1 -1
  45. package/dist-lib/components/verkoop/OrderShipmentsCard.d.ts.map +1 -1
  46. package/dist-lib/components/verkoop/ProductDimensionsSettings.d.ts +1 -1
  47. package/dist-lib/components/verkoop/ProductDimensionsSettings.d.ts.map +1 -1
  48. package/dist-lib/components/verkoop/SalesOrderDetailPage.d.ts +1 -1
  49. package/dist-lib/components/verkoop/SalesOrderDetailPage.d.ts.map +1 -1
  50. package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts +1 -1
  51. package/dist-lib/components/verkoop/SalesOrderDetailView.d.ts.map +1 -1
  52. package/dist-lib/components/verkoop/SalesOrdersFilterPanel.d.ts +1 -1
  53. package/dist-lib/components/verkoop/SalesOrdersFilterPanel.d.ts.map +1 -1
  54. package/dist-lib/components/verkoop/SalesOrdersFilters.d.ts +1 -1
  55. package/dist-lib/components/verkoop/SalesOrdersFilters.d.ts.map +1 -1
  56. package/dist-lib/components/verkoop/SalesOrdersTable.d.ts +1 -2
  57. package/dist-lib/components/verkoop/SalesOrdersTable.d.ts.map +1 -1
  58. package/dist-lib/components/verkoop/SearchableSelect.d.ts +1 -1
  59. package/dist-lib/components/verkoop/SearchableSelect.d.ts.map +1 -1
  60. package/dist-lib/components/verkoop/StockConsumptionAlertsBanner.d.ts +1 -1
  61. package/dist-lib/components/verkoop/StockConsumptionAlertsBanner.d.ts.map +1 -1
  62. package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts +1 -1
  63. package/dist-lib/components/verkoop/VerkoopOrdersPage.d.ts.map +1 -1
  64. package/dist-lib/components/verkoop/VerkoopOrdersPage.js +18 -5
  65. package/dist-lib/components/verkoop/WeekCalendar.d.ts +1 -1
  66. package/dist-lib/components/verkoop/WeekCalendar.d.ts.map +1 -1
  67. package/dist-lib/integrations/supabase/auth-middleware.d.ts +1061 -15
  68. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  69. package/dist-lib/integrations/supabase/client.server.d.ts +1061 -15
  70. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  71. package/dist-lib/integrations/supabase/types.d.ts +1061 -10
  72. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  73. package/dist-lib/lib/buffer-events.functions.d.ts +1061 -15
  74. package/dist-lib/lib/buffer-events.functions.d.ts.map +1 -1
  75. package/dist-lib/lib/cart-layers.functions.d.ts +4188 -36
  76. package/dist-lib/lib/cart-layers.functions.d.ts.map +1 -1
  77. package/dist-lib/lib/cart-lock.functions.d.ts +1061 -15
  78. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  79. package/dist-lib/lib/cart-planning-settings.functions.d.ts +11506 -0
  80. package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
  81. package/dist-lib/lib/cart-replan.functions.d.ts +3139 -1
  82. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  83. package/dist-lib/lib/cart-replan.functions.js +8 -47
  84. package/dist-lib/lib/create-order.functions.d.ts +17799 -102
  85. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  86. package/dist-lib/lib/create-order.functions.js +3 -16
  87. package/dist-lib/lib/cron/push-order-statuses.d.ts +4 -0
  88. package/dist-lib/lib/cron/push-order-statuses.d.ts.map +1 -0
  89. package/dist-lib/lib/cron/push-order-statuses.js +23 -0
  90. package/dist-lib/lib/cron/replan-carts.d.ts +1 -1
  91. package/dist-lib/lib/cron/replan-carts.d.ts.map +1 -1
  92. package/dist-lib/lib/cron/replan-carts.js +10 -15
  93. package/dist-lib/lib/floriday/floriday.server.d.ts +14 -0
  94. package/dist-lib/lib/floriday/floriday.server.d.ts.map +1 -0
  95. package/dist-lib/lib/floriday/floriday.server.js +92 -0
  96. package/dist-lib/lib/floriday/sales-orders.functions.d.ts +4736 -0
  97. package/dist-lib/lib/floriday/sales-orders.functions.d.ts.map +1 -0
  98. package/dist-lib/lib/floriday/sales-orders.functions.js +193 -0
  99. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +13288 -2362
  100. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  101. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +2092 -0
  102. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  103. package/dist-lib/lib/floriday-mirror.functions.d.ts +1061 -15
  104. package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
  105. package/dist-lib/lib/floriday-mirror.functions.js +282 -117
  106. package/dist-lib/lib/floriday-public.functions.d.ts +7322 -0
  107. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  108. package/dist-lib/lib/floriday-status-sync.server.d.ts +14 -0
  109. package/dist-lib/lib/floriday-status-sync.server.d.ts.map +1 -0
  110. package/dist-lib/lib/floriday-status-sync.server.js +130 -0
  111. package/dist-lib/lib/floriday-writes.functions.d.ts +2092 -0
  112. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  113. package/dist-lib/lib/invoice-timing.functions.d.ts +4184 -0
  114. package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
  115. package/dist-lib/lib/load-carriers.functions.d.ts +1061 -15
  116. package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
  117. package/dist-lib/lib/logistics-engine.functions.d.ts +5235 -15
  118. package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
  119. package/dist-lib/lib/logistics-engine.server.d.ts.map +1 -1
  120. package/dist-lib/lib/logistics-engine.server.js +2 -9
  121. package/dist-lib/lib/logistics-stock.functions.d.ts +2092 -0
  122. package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
  123. package/dist-lib/lib/order-addresses.functions.d.ts +1061 -15
  124. package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
  125. package/dist-lib/lib/order-buffers.functions.d.ts +3147 -3
  126. package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
  127. package/dist-lib/lib/order-buffers.functions.js +3 -12
  128. package/dist-lib/lib/order-carrier.functions.d.ts +2092 -0
  129. package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
  130. package/dist-lib/lib/order-fulfill.functions.d.ts +1061 -15
  131. package/dist-lib/lib/order-fulfill.functions.d.ts.map +1 -1
  132. package/dist-lib/lib/order-pickup.functions.d.ts +2092 -0
  133. package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
  134. package/dist-lib/lib/order-shipments.functions.d.ts +4184 -0
  135. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  136. package/dist-lib/lib/product-dimensions.functions.d.ts +2092 -0
  137. package/dist-lib/lib/product-dimensions.functions.d.ts.map +1 -1
  138. package/dist-lib/lib/salesorders-list.functions.d.ts +2092 -0
  139. package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
  140. package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -1
  141. package/dist-lib/lib/salesorders-list.server.js +62 -3
  142. package/dist-lib/lib/salesorders.functions.d.ts +6303 -17
  143. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  144. package/dist-lib/lib/salesorders.functions.js +22 -22
  145. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +2092 -0
  146. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -1
  147. package/dist-lib/lib/tradeitems.functions.d.ts +1061 -15
  148. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  149. package/package.json +1 -1
@@ -2234,6 +2234,45 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
2234
2234
  };
2235
2235
  Relationships: [];
2236
2236
  };
2237
+ customer_product_stickers: {
2238
+ Row: {
2239
+ created_at: string;
2240
+ customer_key: string;
2241
+ file_name: string;
2242
+ file_path: string;
2243
+ file_size: number | null;
2244
+ id: string;
2245
+ mime_type: string | null;
2246
+ trade_item_key: string;
2247
+ updated_at: string;
2248
+ uploaded_by: string | null;
2249
+ };
2250
+ Insert: {
2251
+ created_at?: string;
2252
+ customer_key: string;
2253
+ file_name: string;
2254
+ file_path: string;
2255
+ file_size?: number | null;
2256
+ id?: string;
2257
+ mime_type?: string | null;
2258
+ trade_item_key: string;
2259
+ updated_at?: string;
2260
+ uploaded_by?: string | null;
2261
+ };
2262
+ Update: {
2263
+ created_at?: string;
2264
+ customer_key?: string;
2265
+ file_name?: string;
2266
+ file_path?: string;
2267
+ file_size?: number | null;
2268
+ id?: string;
2269
+ mime_type?: string | null;
2270
+ trade_item_key?: string;
2271
+ updated_at?: string;
2272
+ uploaded_by?: string | null;
2273
+ };
2274
+ Relationships: [];
2275
+ };
2237
2276
  customer_selected_assortment: {
2238
2277
  Row: {
2239
2278
  article_number: string | null;
@@ -2282,6 +2321,30 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
2282
2321
  referencedColumns: ["id"];
2283
2322
  }];
2284
2323
  };
2324
+ customer_sticker_settings: {
2325
+ Row: {
2326
+ created_at: string;
2327
+ customer_key: string;
2328
+ height_mm: number;
2329
+ updated_at: string;
2330
+ width_mm: number;
2331
+ };
2332
+ Insert: {
2333
+ created_at?: string;
2334
+ customer_key: string;
2335
+ height_mm?: number;
2336
+ updated_at?: string;
2337
+ width_mm?: number;
2338
+ };
2339
+ Update: {
2340
+ created_at?: string;
2341
+ customer_key?: string;
2342
+ height_mm?: number;
2343
+ updated_at?: string;
2344
+ width_mm?: number;
2345
+ };
2346
+ Relationships: [];
2347
+ };
2285
2348
  customer_trade_settings: {
2286
2349
  Row: {
2287
2350
  category: string;
@@ -5612,6 +5675,102 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
5612
5675
  referencedColumns: ["id"];
5613
5676
  }];
5614
5677
  };
5678
+ floriday_api_log: {
5679
+ Row: {
5680
+ action: string | null;
5681
+ caller: string | null;
5682
+ connection_id: string | null;
5683
+ created_at: string;
5684
+ cursor_from: number | null;
5685
+ direction: string;
5686
+ duration_ms: number | null;
5687
+ environment: string | null;
5688
+ error: string | null;
5689
+ floriday_id: string | null;
5690
+ floriday_reference: string | null;
5691
+ http_status: number;
5692
+ id: string;
5693
+ item_count: number | null;
5694
+ kind: string | null;
5695
+ local_id: string | null;
5696
+ local_reference: string | null;
5697
+ method: string;
5698
+ module: string | null;
5699
+ ok: boolean;
5700
+ path: string;
5701
+ request: import("../integrations/supabase/types").Json | null;
5702
+ resource_type: string | null;
5703
+ response: import("../integrations/supabase/types").Json | null;
5704
+ write_log_id: string | null;
5705
+ };
5706
+ Insert: {
5707
+ action?: string | null;
5708
+ caller?: string | null;
5709
+ connection_id?: string | null;
5710
+ created_at?: string;
5711
+ cursor_from?: number | null;
5712
+ direction: string;
5713
+ duration_ms?: number | null;
5714
+ environment?: string | null;
5715
+ error?: string | null;
5716
+ floriday_id?: string | null;
5717
+ floriday_reference?: string | null;
5718
+ http_status?: number;
5719
+ id?: string;
5720
+ item_count?: number | null;
5721
+ kind?: string | null;
5722
+ local_id?: string | null;
5723
+ local_reference?: string | null;
5724
+ method: string;
5725
+ module?: string | null;
5726
+ ok?: boolean;
5727
+ path: string;
5728
+ request?: import("../integrations/supabase/types").Json | null;
5729
+ resource_type?: string | null;
5730
+ response?: import("../integrations/supabase/types").Json | null;
5731
+ write_log_id?: string | null;
5732
+ };
5733
+ Update: {
5734
+ action?: string | null;
5735
+ caller?: string | null;
5736
+ connection_id?: string | null;
5737
+ created_at?: string;
5738
+ cursor_from?: number | null;
5739
+ direction?: string;
5740
+ duration_ms?: number | null;
5741
+ environment?: string | null;
5742
+ error?: string | null;
5743
+ floriday_id?: string | null;
5744
+ floriday_reference?: string | null;
5745
+ http_status?: number;
5746
+ id?: string;
5747
+ item_count?: number | null;
5748
+ kind?: string | null;
5749
+ local_id?: string | null;
5750
+ local_reference?: string | null;
5751
+ method?: string;
5752
+ module?: string | null;
5753
+ ok?: boolean;
5754
+ path?: string;
5755
+ request?: import("../integrations/supabase/types").Json | null;
5756
+ resource_type?: string | null;
5757
+ response?: import("../integrations/supabase/types").Json | null;
5758
+ write_log_id?: string | null;
5759
+ };
5760
+ Relationships: [{
5761
+ foreignKeyName: "floriday_api_log_connection_id_fkey";
5762
+ columns: ["connection_id"];
5763
+ isOneToOne: false;
5764
+ referencedRelation: "floriday_connections";
5765
+ referencedColumns: ["id"];
5766
+ }, {
5767
+ foreignKeyName: "floriday_api_log_write_log_id_fkey";
5768
+ columns: ["write_log_id"];
5769
+ isOneToOne: false;
5770
+ referencedRelation: "floriday_write_log";
5771
+ referencedColumns: ["id"];
5772
+ }];
5773
+ };
5615
5774
  floriday_auction_letters_cache: {
5616
5775
  Row: {
5617
5776
  auction_letter_code: string;
@@ -5819,6 +5978,84 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
5819
5978
  referencedColumns: ["id"];
5820
5979
  }];
5821
5980
  };
5981
+ floriday_catalog_prices_cache: {
5982
+ Row: {
5983
+ connection_id: string;
5984
+ created_at: string;
5985
+ currency: string;
5986
+ id: string;
5987
+ is_deleted: boolean;
5988
+ price: number | null;
5989
+ price_group_id: string | null;
5990
+ price_group_name: string | null;
5991
+ price_type: string;
5992
+ raw: import("../integrations/supabase/types").Json | null;
5993
+ sales_unit: string | null;
5994
+ sequence_number: number;
5995
+ supplier_article_code: string | null;
5996
+ supply_line_id: string;
5997
+ synced_at: string;
5998
+ trade_item_id: string | null;
5999
+ updated_at: string;
6000
+ valid_from: string | null;
6001
+ valid_to: string | null;
6002
+ week: number | null;
6003
+ year: number | null;
6004
+ };
6005
+ Insert: {
6006
+ connection_id: string;
6007
+ created_at?: string;
6008
+ currency?: string;
6009
+ id?: string;
6010
+ is_deleted?: boolean;
6011
+ price?: number | null;
6012
+ price_group_id?: string | null;
6013
+ price_group_name?: string | null;
6014
+ price_type?: string;
6015
+ raw?: import("../integrations/supabase/types").Json | null;
6016
+ sales_unit?: string | null;
6017
+ sequence_number?: number;
6018
+ supplier_article_code?: string | null;
6019
+ supply_line_id: string;
6020
+ synced_at?: string;
6021
+ trade_item_id?: string | null;
6022
+ updated_at?: string;
6023
+ valid_from?: string | null;
6024
+ valid_to?: string | null;
6025
+ week?: number | null;
6026
+ year?: number | null;
6027
+ };
6028
+ Update: {
6029
+ connection_id?: string;
6030
+ created_at?: string;
6031
+ currency?: string;
6032
+ id?: string;
6033
+ is_deleted?: boolean;
6034
+ price?: number | null;
6035
+ price_group_id?: string | null;
6036
+ price_group_name?: string | null;
6037
+ price_type?: string;
6038
+ raw?: import("../integrations/supabase/types").Json | null;
6039
+ sales_unit?: string | null;
6040
+ sequence_number?: number;
6041
+ supplier_article_code?: string | null;
6042
+ supply_line_id?: string;
6043
+ synced_at?: string;
6044
+ trade_item_id?: string | null;
6045
+ updated_at?: string;
6046
+ valid_from?: string | null;
6047
+ valid_to?: string | null;
6048
+ week?: number | null;
6049
+ year?: number | null;
6050
+ };
6051
+ Relationships: [{
6052
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
6053
+ columns: ["connection_id"];
6054
+ isOneToOne: false;
6055
+ referencedRelation: "floriday_connections";
6056
+ referencedColumns: ["id"];
6057
+ }];
6058
+ };
5822
6059
  floriday_clock_presales_cache: {
5823
6060
  Row: {
5824
6061
  buyer_organization_id: string | null;
@@ -6734,6 +6971,69 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
6734
6971
  referencedColumns: ["id"];
6735
6972
  }];
6736
6973
  };
6974
+ floriday_link_templates: {
6975
+ Row: {
6976
+ created_at: string;
6977
+ floriday_url_template: string | null;
6978
+ is_active: boolean;
6979
+ label: string;
6980
+ local_url_template: string | null;
6981
+ resource_type: string;
6982
+ updated_at: string;
6983
+ };
6984
+ Insert: {
6985
+ created_at?: string;
6986
+ floriday_url_template?: string | null;
6987
+ is_active?: boolean;
6988
+ label: string;
6989
+ local_url_template?: string | null;
6990
+ resource_type: string;
6991
+ updated_at?: string;
6992
+ };
6993
+ Update: {
6994
+ created_at?: string;
6995
+ floriday_url_template?: string | null;
6996
+ is_active?: boolean;
6997
+ label?: string;
6998
+ local_url_template?: string | null;
6999
+ resource_type?: string;
7000
+ updated_at?: string;
7001
+ };
7002
+ Relationships: [];
7003
+ };
7004
+ floriday_log_retention: {
7005
+ Row: {
7006
+ created_at: string;
7007
+ direction: string | null;
7008
+ id: string;
7009
+ keep_failed_days: number | null;
7010
+ keep_ok_days: number | null;
7011
+ note: string | null;
7012
+ resource_type: string | null;
7013
+ updated_at: string;
7014
+ };
7015
+ Insert: {
7016
+ created_at?: string;
7017
+ direction?: string | null;
7018
+ id?: string;
7019
+ keep_failed_days?: number | null;
7020
+ keep_ok_days?: number | null;
7021
+ note?: string | null;
7022
+ resource_type?: string | null;
7023
+ updated_at?: string;
7024
+ };
7025
+ Update: {
7026
+ created_at?: string;
7027
+ direction?: string | null;
7028
+ id?: string;
7029
+ keep_failed_days?: number | null;
7030
+ keep_ok_days?: number | null;
7031
+ note?: string | null;
7032
+ resource_type?: string | null;
7033
+ updated_at?: string;
7034
+ };
7035
+ Relationships: [];
7036
+ };
6737
7037
  floriday_logistic_labels_cache: {
6738
7038
  Row: {
6739
7039
  byte_size: number | null;
@@ -10087,22 +10387,31 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
10087
10387
  };
10088
10388
  logistics_floriday_push_refusals: {
10089
10389
  Row: {
10390
+ action: string | null;
10090
10391
  created_at: string;
10091
10392
  id: string;
10092
10393
  order_ref: string;
10093
10394
  reason: string;
10395
+ source_module: string | null;
10396
+ source_shell: string | null;
10094
10397
  };
10095
10398
  Insert: {
10399
+ action?: string | null;
10096
10400
  created_at?: string;
10097
10401
  id?: string;
10098
10402
  order_ref: string;
10099
10403
  reason: string;
10404
+ source_module?: string | null;
10405
+ source_shell?: string | null;
10100
10406
  };
10101
10407
  Update: {
10408
+ action?: string | null;
10102
10409
  created_at?: string;
10103
10410
  id?: string;
10104
10411
  order_ref?: string;
10105
10412
  reason?: string;
10413
+ source_module?: string | null;
10414
+ source_shell?: string | null;
10106
10415
  };
10107
10416
  Relationships: [];
10108
10417
  };
@@ -10181,6 +10490,42 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
10181
10490
  };
10182
10491
  Relationships: [];
10183
10492
  };
10493
+ logistics_floriday_status_sends: {
10494
+ Row: {
10495
+ action: string;
10496
+ created_at: string;
10497
+ detail: string | null;
10498
+ http_status: number | null;
10499
+ id: string;
10500
+ ok: boolean;
10501
+ order_ref: string;
10502
+ source_module: string | null;
10503
+ source_shell: string | null;
10504
+ };
10505
+ Insert: {
10506
+ action: string;
10507
+ created_at?: string;
10508
+ detail?: string | null;
10509
+ http_status?: number | null;
10510
+ id?: string;
10511
+ ok?: boolean;
10512
+ order_ref: string;
10513
+ source_module?: string | null;
10514
+ source_shell?: string | null;
10515
+ };
10516
+ Update: {
10517
+ action?: string;
10518
+ created_at?: string;
10519
+ detail?: string | null;
10520
+ http_status?: number | null;
10521
+ id?: string;
10522
+ ok?: boolean;
10523
+ order_ref?: string;
10524
+ source_module?: string | null;
10525
+ source_shell?: string | null;
10526
+ };
10527
+ Relationships: [];
10528
+ };
10184
10529
  logistics_formulas: {
10185
10530
  Row: {
10186
10531
  created_at: string;
@@ -10253,28 +10598,130 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
10253
10598
  };
10254
10599
  Relationships: [];
10255
10600
  };
10256
- logistics_pickup_moments: {
10601
+ logistics_opening_exceptions: {
10257
10602
  Row: {
10258
- carrier_ref: string | null;
10603
+ closes: string | null;
10259
10604
  created_at: string;
10605
+ day: string;
10260
10606
  id: string;
10261
- label: string | null;
10262
- moment_date: string;
10263
- pickup_time: string;
10264
- sequence: number;
10265
- updated_at: string;
10266
- user_id: string;
10607
+ is_closed: boolean;
10608
+ note: string | null;
10609
+ opens: string | null;
10267
10610
  };
10268
10611
  Insert: {
10269
- carrier_ref?: string | null;
10612
+ closes?: string | null;
10270
10613
  created_at?: string;
10614
+ day: string;
10271
10615
  id?: string;
10272
- label?: string | null;
10273
- moment_date: string;
10274
- pickup_time: string;
10275
- sequence?: number;
10276
- updated_at?: string;
10277
- user_id?: string;
10616
+ is_closed?: boolean;
10617
+ note?: string | null;
10618
+ opens?: string | null;
10619
+ };
10620
+ Update: {
10621
+ closes?: string | null;
10622
+ created_at?: string;
10623
+ day?: string;
10624
+ id?: string;
10625
+ is_closed?: boolean;
10626
+ note?: string | null;
10627
+ opens?: string | null;
10628
+ };
10629
+ Relationships: [];
10630
+ };
10631
+ logistics_opening_hours: {
10632
+ Row: {
10633
+ closes: string;
10634
+ created_at: string;
10635
+ id: string;
10636
+ is_active: boolean;
10637
+ note: string | null;
10638
+ opens: string;
10639
+ weekday: number;
10640
+ };
10641
+ Insert: {
10642
+ closes: string;
10643
+ created_at?: string;
10644
+ id?: string;
10645
+ is_active?: boolean;
10646
+ note?: string | null;
10647
+ opens: string;
10648
+ weekday: number;
10649
+ };
10650
+ Update: {
10651
+ closes?: string;
10652
+ created_at?: string;
10653
+ id?: string;
10654
+ is_active?: boolean;
10655
+ note?: string | null;
10656
+ opens?: string;
10657
+ weekday?: number;
10658
+ };
10659
+ Relationships: [];
10660
+ };
10661
+ logistics_pick_data_requests: {
10662
+ Row: {
10663
+ actions: import("../integrations/supabase/types").Json;
10664
+ created_at: string;
10665
+ event_id: string | null;
10666
+ finished_at: string | null;
10667
+ id: string;
10668
+ missing: import("../integrations/supabase/types").Json;
10669
+ order_ref: string;
10670
+ reason: string | null;
10671
+ result: import("../integrations/supabase/types").Json | null;
10672
+ status: string;
10673
+ unit_ref: string | null;
10674
+ };
10675
+ Insert: {
10676
+ actions?: import("../integrations/supabase/types").Json;
10677
+ created_at?: string;
10678
+ event_id?: string | null;
10679
+ finished_at?: string | null;
10680
+ id?: string;
10681
+ missing?: import("../integrations/supabase/types").Json;
10682
+ order_ref: string;
10683
+ reason?: string | null;
10684
+ result?: import("../integrations/supabase/types").Json | null;
10685
+ status?: string;
10686
+ unit_ref?: string | null;
10687
+ };
10688
+ Update: {
10689
+ actions?: import("../integrations/supabase/types").Json;
10690
+ created_at?: string;
10691
+ event_id?: string | null;
10692
+ finished_at?: string | null;
10693
+ id?: string;
10694
+ missing?: import("../integrations/supabase/types").Json;
10695
+ order_ref?: string;
10696
+ reason?: string | null;
10697
+ result?: import("../integrations/supabase/types").Json | null;
10698
+ status?: string;
10699
+ unit_ref?: string | null;
10700
+ };
10701
+ Relationships: [];
10702
+ };
10703
+ logistics_pickup_moments: {
10704
+ Row: {
10705
+ carrier_ref: string | null;
10706
+ created_at: string;
10707
+ id: string;
10708
+ label: string | null;
10709
+ moment_date: string;
10710
+ pickup_time: string;
10711
+ sequence: number;
10712
+ updated_at: string;
10713
+ user_id: string;
10714
+ };
10715
+ Insert: {
10716
+ carrier_ref?: string | null;
10717
+ created_at?: string;
10718
+ id?: string;
10719
+ label?: string | null;
10720
+ moment_date: string;
10721
+ pickup_time: string;
10722
+ sequence?: number;
10723
+ updated_at?: string;
10724
+ user_id?: string;
10278
10725
  };
10279
10726
  Update: {
10280
10727
  carrier_ref?: string | null;
@@ -10712,6 +11159,69 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
10712
11159
  };
10713
11160
  Relationships: [];
10714
11161
  };
11162
+ logistics_slip_shipping_note: {
11163
+ Row: {
11164
+ attempts: number;
11165
+ batch_key: string | null;
11166
+ cart_id: string | null;
11167
+ created_at: string;
11168
+ error: string | null;
11169
+ error_code: string | null;
11170
+ fulfillment_order_id: string | null;
11171
+ id: string;
11172
+ locked_until: string | null;
11173
+ next_attempt_at: string | null;
11174
+ order_id: string | null;
11175
+ order_number: string | null;
11176
+ print_job_id: string | null;
11177
+ printer_id: string | null;
11178
+ retry_class: string | null;
11179
+ slip_job_id: string;
11180
+ status: string;
11181
+ updated_at: string;
11182
+ };
11183
+ Insert: {
11184
+ attempts?: number;
11185
+ batch_key?: string | null;
11186
+ cart_id?: string | null;
11187
+ created_at?: string;
11188
+ error?: string | null;
11189
+ error_code?: string | null;
11190
+ fulfillment_order_id?: string | null;
11191
+ id?: string;
11192
+ locked_until?: string | null;
11193
+ next_attempt_at?: string | null;
11194
+ order_id?: string | null;
11195
+ order_number?: string | null;
11196
+ print_job_id?: string | null;
11197
+ printer_id?: string | null;
11198
+ retry_class?: string | null;
11199
+ slip_job_id: string;
11200
+ status?: string;
11201
+ updated_at?: string;
11202
+ };
11203
+ Update: {
11204
+ attempts?: number;
11205
+ batch_key?: string | null;
11206
+ cart_id?: string | null;
11207
+ created_at?: string;
11208
+ error?: string | null;
11209
+ error_code?: string | null;
11210
+ fulfillment_order_id?: string | null;
11211
+ id?: string;
11212
+ locked_until?: string | null;
11213
+ next_attempt_at?: string | null;
11214
+ order_id?: string | null;
11215
+ order_number?: string | null;
11216
+ print_job_id?: string | null;
11217
+ printer_id?: string | null;
11218
+ retry_class?: string | null;
11219
+ slip_job_id?: string;
11220
+ status?: string;
11221
+ updated_at?: string;
11222
+ };
11223
+ Relationships: [];
11224
+ };
10715
11225
  logistics_staff_planning: {
10716
11226
  Row: {
10717
11227
  created_at: string;
@@ -11045,6 +11555,129 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
11045
11555
  };
11046
11556
  Relationships: [];
11047
11557
  };
11558
+ logistics_time_settings: {
11559
+ Row: {
11560
+ id: boolean;
11561
+ timezone: string;
11562
+ updated_at: string;
11563
+ };
11564
+ Insert: {
11565
+ id?: boolean;
11566
+ timezone: string;
11567
+ updated_at?: string;
11568
+ };
11569
+ Update: {
11570
+ id?: boolean;
11571
+ timezone?: string;
11572
+ updated_at?: string;
11573
+ };
11574
+ Relationships: [];
11575
+ };
11576
+ logistics_trace_events: {
11577
+ Row: {
11578
+ actor: string | null;
11579
+ attempts: number;
11580
+ cart_ref: string | null;
11581
+ created_at: string;
11582
+ db_action: string | null;
11583
+ db_new: import("../integrations/supabase/types").Json | null;
11584
+ db_old: import("../integrations/supabase/types").Json | null;
11585
+ db_record: string | null;
11586
+ db_table: string | null;
11587
+ decision: string | null;
11588
+ duration_ms: number | null;
11589
+ error: string | null;
11590
+ external_action: string | null;
11591
+ external_ref: string | null;
11592
+ external_response: import("../integrations/supabase/types").Json | null;
11593
+ external_status: string | null;
11594
+ external_system: string | null;
11595
+ id: string;
11596
+ input: import("../integrations/supabase/types").Json | null;
11597
+ next_attempt_at: string | null;
11598
+ order_ref: string | null;
11599
+ order_source: string | null;
11600
+ output: import("../integrations/supabase/types").Json | null;
11601
+ phase: string;
11602
+ reads: import("../integrations/supabase/types").Json | null;
11603
+ reason: string | null;
11604
+ rule: string | null;
11605
+ slip_ref: string | null;
11606
+ status: string;
11607
+ step: string;
11608
+ trace_id: string;
11609
+ values_used: import("../integrations/supabase/types").Json | null;
11610
+ };
11611
+ Insert: {
11612
+ actor?: string | null;
11613
+ attempts?: number;
11614
+ cart_ref?: string | null;
11615
+ created_at?: string;
11616
+ db_action?: string | null;
11617
+ db_new?: import("../integrations/supabase/types").Json | null;
11618
+ db_old?: import("../integrations/supabase/types").Json | null;
11619
+ db_record?: string | null;
11620
+ db_table?: string | null;
11621
+ decision?: string | null;
11622
+ duration_ms?: number | null;
11623
+ error?: string | null;
11624
+ external_action?: string | null;
11625
+ external_ref?: string | null;
11626
+ external_response?: import("../integrations/supabase/types").Json | null;
11627
+ external_status?: string | null;
11628
+ external_system?: string | null;
11629
+ id?: string;
11630
+ input?: import("../integrations/supabase/types").Json | null;
11631
+ next_attempt_at?: string | null;
11632
+ order_ref?: string | null;
11633
+ order_source?: string | null;
11634
+ output?: import("../integrations/supabase/types").Json | null;
11635
+ phase: string;
11636
+ reads?: import("../integrations/supabase/types").Json | null;
11637
+ reason?: string | null;
11638
+ rule?: string | null;
11639
+ slip_ref?: string | null;
11640
+ status: string;
11641
+ step: string;
11642
+ trace_id?: string;
11643
+ values_used?: import("../integrations/supabase/types").Json | null;
11644
+ };
11645
+ Update: {
11646
+ actor?: string | null;
11647
+ attempts?: number;
11648
+ cart_ref?: string | null;
11649
+ created_at?: string;
11650
+ db_action?: string | null;
11651
+ db_new?: import("../integrations/supabase/types").Json | null;
11652
+ db_old?: import("../integrations/supabase/types").Json | null;
11653
+ db_record?: string | null;
11654
+ db_table?: string | null;
11655
+ decision?: string | null;
11656
+ duration_ms?: number | null;
11657
+ error?: string | null;
11658
+ external_action?: string | null;
11659
+ external_ref?: string | null;
11660
+ external_response?: import("../integrations/supabase/types").Json | null;
11661
+ external_status?: string | null;
11662
+ external_system?: string | null;
11663
+ id?: string;
11664
+ input?: import("../integrations/supabase/types").Json | null;
11665
+ next_attempt_at?: string | null;
11666
+ order_ref?: string | null;
11667
+ order_source?: string | null;
11668
+ output?: import("../integrations/supabase/types").Json | null;
11669
+ phase?: string;
11670
+ reads?: import("../integrations/supabase/types").Json | null;
11671
+ reason?: string | null;
11672
+ rule?: string | null;
11673
+ slip_ref?: string | null;
11674
+ status?: string;
11675
+ step?: string;
11676
+ trace_id?: string;
11677
+ values_used?: import("../integrations/supabase/types").Json | null;
11678
+ };
11679
+ Relationships: [];
11680
+ };
11048
11681
  logistics_variables: {
11049
11682
  Row: {
11050
11683
  created_at: string;
@@ -13435,6 +14068,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
13435
14068
  customer_name: string;
13436
14069
  deleted_at: string | null;
13437
14070
  delivery_date: string | null;
14071
+ floriday_order_group_key: string | null;
13438
14072
  floriday_sales_order_id: string | null;
13439
14073
  id: string;
13440
14074
  invoice_due_at: string | null;
@@ -13462,6 +14096,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
13462
14096
  customer_name?: string;
13463
14097
  deleted_at?: string | null;
13464
14098
  delivery_date?: string | null;
14099
+ floriday_order_group_key?: string | null;
13465
14100
  floriday_sales_order_id?: string | null;
13466
14101
  id?: string;
13467
14102
  invoice_due_at?: string | null;
@@ -13489,6 +14124,7 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
13489
14124
  customer_name?: string;
13490
14125
  deleted_at?: string | null;
13491
14126
  delivery_date?: string | null;
14127
+ floriday_order_group_key?: string | null;
13492
14128
  floriday_sales_order_id?: string | null;
13493
14129
  id?: string;
13494
14130
  invoice_due_at?: string | null;
@@ -19352,6 +19988,36 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
19352
19988
  referencedColumns: ["id"];
19353
19989
  }];
19354
19990
  };
19991
+ voorraad_buffer_state: {
19992
+ Row: {
19993
+ buffer_id: string;
19994
+ buffer_key: string | null;
19995
+ closed_at: string | null;
19996
+ created_at: string;
19997
+ detached_orders: import("../integrations/supabase/types").Json;
19998
+ reason: string | null;
19999
+ updated_at: string;
20000
+ };
20001
+ Insert: {
20002
+ buffer_id: string;
20003
+ buffer_key?: string | null;
20004
+ closed_at?: string | null;
20005
+ created_at?: string;
20006
+ detached_orders?: import("../integrations/supabase/types").Json;
20007
+ reason?: string | null;
20008
+ updated_at?: string;
20009
+ };
20010
+ Update: {
20011
+ buffer_id?: string;
20012
+ buffer_key?: string | null;
20013
+ closed_at?: string | null;
20014
+ created_at?: string;
20015
+ detached_orders?: import("../integrations/supabase/types").Json;
20016
+ reason?: string | null;
20017
+ updated_at?: string;
20018
+ };
20019
+ Relationships: [];
20020
+ };
19355
20021
  voorraad_custom_fields: {
19356
20022
  Row: {
19357
20023
  created_at: string;
@@ -19394,6 +20060,36 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
19394
20060
  };
19395
20061
  Relationships: [];
19396
20062
  };
20063
+ voorraad_logistics_event_log: {
20064
+ Row: {
20065
+ created_at: string;
20066
+ event_id: string;
20067
+ event_type: string;
20068
+ order_ref: string | null;
20069
+ processed_at: string;
20070
+ result: import("../integrations/supabase/types").Json;
20071
+ updated_at: string;
20072
+ };
20073
+ Insert: {
20074
+ created_at?: string;
20075
+ event_id: string;
20076
+ event_type: string;
20077
+ order_ref?: string | null;
20078
+ processed_at?: string;
20079
+ result?: import("../integrations/supabase/types").Json;
20080
+ updated_at?: string;
20081
+ };
20082
+ Update: {
20083
+ created_at?: string;
20084
+ event_id?: string;
20085
+ event_type?: string;
20086
+ order_ref?: string | null;
20087
+ processed_at?: string;
20088
+ result?: import("../integrations/supabase/types").Json;
20089
+ updated_at?: string;
20090
+ };
20091
+ Relationships: [];
20092
+ };
19397
20093
  voorraad_media_upload_failures: {
19398
20094
  Row: {
19399
20095
  action: string;
@@ -21554,6 +22250,15 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
21554
22250
  Args: never;
21555
22251
  Returns: boolean;
21556
22252
  };
22253
+ cancel_open_print_jobs: {
22254
+ Args: {
22255
+ _cutoff: string;
22256
+ };
22257
+ Returns: {
22258
+ extern_job_id: string;
22259
+ id: string;
22260
+ }[];
22261
+ };
21557
22262
  check_offer_product_available_stock: {
21558
22263
  Args: {
21559
22264
  p_campaign_product_id: string;
@@ -23092,6 +23797,12 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
23092
23797
  };
23093
23798
  Returns: string;
23094
23799
  };
23800
+ logistics_cart_checkin_at: {
23801
+ Args: {
23802
+ p_cart_id: string;
23803
+ };
23804
+ Returns: string;
23805
+ };
23095
23806
  logistics_cart_handled: {
23096
23807
  Args: {
23097
23808
  p_cart_index: number;
@@ -23125,10 +23836,22 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
23125
23836
  task_status: string;
23126
23837
  }[];
23127
23838
  };
23839
+ logistics_cart_is_full: {
23840
+ Args: {
23841
+ p_cart_id: string;
23842
+ };
23843
+ Returns: boolean;
23844
+ };
23128
23845
  logistics_cart_layout_method: {
23129
23846
  Args: never;
23130
23847
  Returns: import("../integrations/supabase/types").Json;
23131
23848
  };
23849
+ logistics_cart_order_refs: {
23850
+ Args: {
23851
+ p_cart_id: string;
23852
+ };
23853
+ Returns: string[];
23854
+ };
23132
23855
  logistics_cart_plan_overview: {
23133
23856
  Args: {
23134
23857
  p_days?: number;
@@ -23148,6 +23871,24 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
23148
23871
  };
23149
23872
  Returns: import("../integrations/supabase/types").Json;
23150
23873
  };
23874
+ logistics_cart_plan_status_core: {
23875
+ Args: {
23876
+ p_ref: string;
23877
+ };
23878
+ Returns: import("../integrations/supabase/types").Json;
23879
+ };
23880
+ logistics_cart_release_reason: {
23881
+ Args: {
23882
+ p_cart_id: string;
23883
+ };
23884
+ Returns: string;
23885
+ };
23886
+ logistics_cart_released: {
23887
+ Args: {
23888
+ p_cart_id: string;
23889
+ };
23890
+ Returns: boolean;
23891
+ };
23151
23892
  logistics_cart_seq: {
23152
23893
  Args: {
23153
23894
  p_order_uuid?: string;
@@ -23198,6 +23939,10 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
23198
23939
  unit_ref: string;
23199
23940
  }[];
23200
23941
  };
23942
+ logistics_carts_per_print: {
23943
+ Args: never;
23944
+ Returns: number;
23945
+ };
23201
23946
  logistics_check_order_allowed: {
23202
23947
  Args: {
23203
23948
  p_lines: import("../integrations/supabase/types").Json;
@@ -23301,6 +24046,10 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
23301
24046
  isSetofReturn: false;
23302
24047
  };
23303
24048
  };
24049
+ logistics_cleanup_orphan_print_jobs: {
24050
+ Args: never;
24051
+ Returns: import("../integrations/supabase/types").Json;
24052
+ };
23304
24053
  logistics_complete_task: {
23305
24054
  Args: {
23306
24055
  p_result?: import("../integrations/supabase/types").Json;
@@ -23363,6 +24112,12 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
23363
24112
  station_carts: number;
23364
24113
  }[];
23365
24114
  };
24115
+ logistics_control_complete_cart: {
24116
+ Args: {
24117
+ p_cart_id: string;
24118
+ };
24119
+ Returns: number;
24120
+ };
23366
24121
  logistics_control_scan_approve: {
23367
24122
  Args: {
23368
24123
  p_allow_reprint?: boolean;
@@ -23442,6 +24197,15 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
23442
24197
  Args: never;
23443
24198
  Returns: import("../integrations/supabase/types").Json;
23444
24199
  };
24200
+ logistics_day_windows: {
24201
+ Args: {
24202
+ p_day: string;
24203
+ };
24204
+ Returns: {
24205
+ win_end: string;
24206
+ win_start: string;
24207
+ }[];
24208
+ };
23445
24209
  logistics_delay_customer_email: {
23446
24210
  Args: {
23447
24211
  p_customer: string;
@@ -23509,6 +24273,17 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
23509
24273
  };
23510
24274
  Returns: import("../integrations/supabase/types").Json;
23511
24275
  };
24276
+ logistics_enqueue_shipping_note_with_slip: {
24277
+ Args: {
24278
+ _cart_id: string;
24279
+ _is_herprint: boolean;
24280
+ _printer_id: string;
24281
+ _queue_item_id: string;
24282
+ _session_id: string;
24283
+ _slip_job_id: string;
24284
+ };
24285
+ Returns: string;
24286
+ };
23512
24287
  logistics_enqueue_sticker_with_slip: {
23513
24288
  Args: {
23514
24289
  _cart_id: string;
@@ -23526,6 +24301,20 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
23526
24301
  };
23527
24302
  Returns: string;
23528
24303
  };
24304
+ logistics_ensure_pick_data: {
24305
+ Args: {
24306
+ p_event_id?: string;
24307
+ p_missing?: import("../integrations/supabase/types").Json;
24308
+ p_ref: string;
24309
+ };
24310
+ Returns: import("../integrations/supabase/types").Json;
24311
+ };
24312
+ logistics_ensure_shipping_notes: {
24313
+ Args: {
24314
+ p_limit?: number;
24315
+ };
24316
+ Returns: import("../integrations/supabase/types").Json;
24317
+ };
23529
24318
  logistics_fail_task: {
23530
24319
  Args: {
23531
24320
  p_error: string;
@@ -23571,6 +24360,10 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
23571
24360
  isSetofReturn: false;
23572
24361
  };
23573
24362
  };
24363
+ logistics_fix_wrong_shipping_notes: {
24364
+ Args: never;
24365
+ Returns: import("../integrations/supabase/types").Json;
24366
+ };
23574
24367
  logistics_floriday_cart_plan: {
23575
24368
  Args: {
23576
24369
  p_order_id: string;
@@ -23598,6 +24391,10 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
23598
24391
  revision: number;
23599
24392
  }[];
23600
24393
  };
24394
+ logistics_floriday_delivery_note_create_enabled: {
24395
+ Args: never;
24396
+ Returns: boolean;
24397
+ };
23601
24398
  logistics_floriday_finish_push: {
23602
24399
  Args: {
23603
24400
  _error?: string;
@@ -23647,6 +24444,32 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
23647
24444
  };
23648
24445
  Returns: string;
23649
24446
  };
24447
+ logistics_floriday_gate_status: {
24448
+ Args: never;
24449
+ Returns: import("../integrations/supabase/types").Json;
24450
+ };
24451
+ logistics_floriday_log_refusal: {
24452
+ Args: {
24453
+ _action?: string;
24454
+ _module?: string;
24455
+ _order_ref: string;
24456
+ _reason: string;
24457
+ _shell?: string;
24458
+ };
24459
+ Returns: undefined;
24460
+ };
24461
+ logistics_floriday_log_send: {
24462
+ Args: {
24463
+ _action: string;
24464
+ _detail?: string;
24465
+ _http_status?: number;
24466
+ _module?: string;
24467
+ _ok: boolean;
24468
+ _order_ref: string;
24469
+ _shell?: string;
24470
+ };
24471
+ Returns: undefined;
24472
+ };
23650
24473
  logistics_floriday_order_approved: {
23651
24474
  Args: {
23652
24475
  _order_ref: string;
@@ -23671,6 +24494,16 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
23671
24494
  Args: never;
23672
24495
  Returns: boolean;
23673
24496
  };
24497
+ logistics_floriday_stock_updates_enabled: {
24498
+ Args: never;
24499
+ Returns: boolean;
24500
+ };
24501
+ logistics_floriday_write_allowed: {
24502
+ Args: {
24503
+ _action: string;
24504
+ };
24505
+ Returns: boolean;
24506
+ };
23674
24507
  logistics_fulfill_barcode_requests: {
23675
24508
  Args: {
23676
24509
  p_limit?: number;
@@ -23713,6 +24546,12 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
23713
24546
  };
23714
24547
  Returns: number;
23715
24548
  };
24549
+ logistics_merge_partial_carts: {
24550
+ Args: {
24551
+ p_limit?: number;
24552
+ };
24553
+ Returns: import("../integrations/supabase/types").Json;
24554
+ };
23716
24555
  logistics_next_workday_date: {
23717
24556
  Args: {
23718
24557
  p_date: string;
@@ -23739,6 +24578,10 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
23739
24578
  };
23740
24579
  Returns: string;
23741
24580
  };
24581
+ logistics_opening_timezone: {
24582
+ Args: never;
24583
+ Returns: string;
24584
+ };
23742
24585
  logistics_order_cart_count: {
23743
24586
  Args: {
23744
24587
  p_order_ref: string;
@@ -23795,6 +24638,12 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
23795
24638
  };
23796
24639
  Returns: string;
23797
24640
  };
24641
+ logistics_payload_is_floriday: {
24642
+ Args: {
24643
+ _payload: import("../integrations/supabase/types").Json;
24644
+ };
24645
+ Returns: boolean;
24646
+ };
23798
24647
  logistics_pick_agenda: {
23799
24648
  Args: {
23800
24649
  p_from?: string;
@@ -23823,6 +24672,10 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
23823
24672
  Args: never;
23824
24673
  Returns: import("../integrations/supabase/types").Json;
23825
24674
  };
24675
+ logistics_pick_partial_mode: {
24676
+ Args: never;
24677
+ Returns: string;
24678
+ };
23826
24679
  logistics_pick_start_estimate: {
23827
24680
  Args: {
23828
24681
  p_order: import("../integrations/supabase/types").Json;
@@ -23913,6 +24766,20 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
23913
24766
  Args: never;
23914
24767
  Returns: undefined;
23915
24768
  };
24769
+ logistics_plan_progress: {
24770
+ Args: {
24771
+ p_refs: string[];
24772
+ };
24773
+ Returns: {
24774
+ cart_plan_ready: boolean;
24775
+ cart_plan_reason: string;
24776
+ cart_plan_released: boolean;
24777
+ plan_progress: number;
24778
+ plan_state: string;
24779
+ plan_state_since: string;
24780
+ unit_ref: string;
24781
+ }[];
24782
+ };
23916
24783
  logistics_plan_prune: {
23917
24784
  Args: never;
23918
24785
  Returns: number;
@@ -23934,6 +24801,18 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
23934
24801
  };
23935
24802
  Returns: number;
23936
24803
  };
24804
+ logistics_plan_state_for: {
24805
+ Args: {
24806
+ p_ref: string;
24807
+ };
24808
+ Returns: import("../integrations/supabase/types").Json;
24809
+ };
24810
+ logistics_prepare_pick_documents: {
24811
+ Args: {
24812
+ p_limit?: number;
24813
+ };
24814
+ Returns: import("../integrations/supabase/types").Json;
24815
+ };
23937
24816
  logistics_prune_buffer_member_queue: {
23938
24817
  Args: never;
23939
24818
  Returns: number;
@@ -23974,18 +24853,36 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
23974
24853
  Args: never;
23975
24854
  Returns: import("../integrations/supabase/types").Json;
23976
24855
  };
24856
+ logistics_refresh_pick_queue_status: {
24857
+ Args: {
24858
+ p_ref: string;
24859
+ };
24860
+ Returns: number;
24861
+ };
23977
24862
  logistics_refresh_pickup_moments: {
23978
24863
  Args: {
23979
24864
  p_weeks?: number;
23980
24865
  };
23981
24866
  Returns: import("../integrations/supabase/types").Json;
23982
24867
  };
24868
+ logistics_refresh_plan_state: {
24869
+ Args: {
24870
+ p_limit?: number;
24871
+ };
24872
+ Returns: import("../integrations/supabase/types").Json;
24873
+ };
23983
24874
  logistics_replan_all: {
23984
24875
  Args: {
23985
24876
  p_reason?: string;
23986
24877
  };
23987
24878
  Returns: import("../integrations/supabase/types").Json;
23988
24879
  };
24880
+ logistics_replan_all_force: {
24881
+ Args: {
24882
+ p_reason?: string;
24883
+ };
24884
+ Returns: import("../integrations/supabase/types").Json;
24885
+ };
23989
24886
  logistics_report_delay: {
23990
24887
  Args: {
23991
24888
  p_expected_date?: string;
@@ -24130,6 +25027,10 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
24130
25027
  };
24131
25028
  Returns: string;
24132
25029
  };
25030
+ logistics_shipping_note_follows_slip: {
25031
+ Args: never;
25032
+ Returns: boolean;
25033
+ };
24133
25034
  logistics_shipping_note_from_barcode: {
24134
25035
  Args: {
24135
25036
  p_allow_reprint?: boolean;
@@ -24138,10 +25039,86 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
24138
25039
  };
24139
25040
  Returns: import("../integrations/supabase/types").Json;
24140
25041
  };
25042
+ logistics_shipping_note_job_for_slip: {
25043
+ Args: {
25044
+ _slip_job_id: string;
25045
+ };
25046
+ Returns: string;
25047
+ };
25048
+ logistics_shipping_notes_wake_all: {
25049
+ Args: never;
25050
+ Returns: import("../integrations/supabase/types").Json;
25051
+ };
25052
+ logistics_slip_is_floriday: {
25053
+ Args: {
25054
+ _slip_job_id: string;
25055
+ };
25056
+ Returns: boolean;
25057
+ };
25058
+ logistics_slip_note_claim: {
25059
+ Args: {
25060
+ _lease_seconds?: number;
25061
+ _limit?: number;
25062
+ };
25063
+ Returns: {
25064
+ attempts: number;
25065
+ batch_key: string | null;
25066
+ cart_id: string | null;
25067
+ created_at: string;
25068
+ error: string | null;
25069
+ error_code: string | null;
25070
+ fulfillment_order_id: string | null;
25071
+ id: string;
25072
+ locked_until: string | null;
25073
+ next_attempt_at: string | null;
25074
+ order_id: string | null;
25075
+ order_number: string | null;
25076
+ print_job_id: string | null;
25077
+ printer_id: string | null;
25078
+ retry_class: string | null;
25079
+ slip_job_id: string;
25080
+ status: string;
25081
+ updated_at: string;
25082
+ }[];
25083
+ SetofOptions: {
25084
+ from: "*";
25085
+ to: "logistics_slip_shipping_note";
25086
+ isOneToOne: false;
25087
+ isSetofReturn: true;
25088
+ };
25089
+ };
25090
+ logistics_slip_note_finish: {
25091
+ Args: {
25092
+ _error?: string;
25093
+ _error_code?: string;
25094
+ _fulfillment_order_id?: string;
25095
+ _id: string;
25096
+ _ok: boolean;
25097
+ _print_job_id?: string;
25098
+ _status?: string;
25099
+ };
25100
+ Returns: undefined;
25101
+ };
25102
+ logistics_slip_note_keep_waiting: {
25103
+ Args: {
25104
+ _class?: string;
25105
+ _id: string;
25106
+ _reason: string;
25107
+ };
25108
+ Returns: undefined;
25109
+ };
24141
25110
  logistics_sticker_follows_slip: {
24142
25111
  Args: never;
24143
25112
  Returns: boolean;
24144
25113
  };
25114
+ logistics_subtract_working_minutes: {
25115
+ Args: {
25116
+ p_deadline: string;
25117
+ p_max_workdays?: number;
25118
+ p_minutes: number;
25119
+ };
25120
+ Returns: import("../integrations/supabase/types").Json;
25121
+ };
24145
25122
  logistics_supersede_stale_tasks: {
24146
25123
  Args: {
24147
25124
  p_keep: string[];
@@ -24178,6 +25155,46 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
24178
25155
  Args: never;
24179
25156
  Returns: string;
24180
25157
  };
25158
+ logistics_timezone_options: {
25159
+ Args: never;
25160
+ Returns: {
25161
+ name: string;
25162
+ }[];
25163
+ };
25164
+ logistics_trace: {
25165
+ Args: {
25166
+ p: import("../integrations/supabase/types").Json;
25167
+ };
25168
+ Returns: string;
25169
+ };
25170
+ logistics_trace_batch: {
25171
+ Args: {
25172
+ p: import("../integrations/supabase/types").Json;
25173
+ };
25174
+ Returns: number;
25175
+ };
25176
+ logistics_trace_orders: {
25177
+ Args: {
25178
+ p_limit?: number;
25179
+ p_search?: string;
25180
+ p_since?: string;
25181
+ p_status?: string;
25182
+ };
25183
+ Returns: import("../integrations/supabase/types").Json;
25184
+ };
25185
+ logistics_trace_redact: {
25186
+ Args: {
25187
+ p: import("../integrations/supabase/types").Json;
25188
+ };
25189
+ Returns: import("../integrations/supabase/types").Json;
25190
+ };
25191
+ logistics_trace_timeline: {
25192
+ Args: {
25193
+ p_limit?: number;
25194
+ p_order_ref: string;
25195
+ };
25196
+ Returns: import("../integrations/supabase/types").Json;
25197
+ };
24181
25198
  logistics_upsert_task: {
24182
25199
  Args: {
24183
25200
  p_buffer_ref: string;
@@ -24197,6 +25214,16 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
24197
25214
  };
24198
25215
  Returns: string;
24199
25216
  };
25217
+ logistics_valid_timezone: {
25218
+ Args: {
25219
+ _tz: string;
25220
+ };
25221
+ Returns: boolean;
25222
+ };
25223
+ logistics_working_hours_status: {
25224
+ Args: never;
25225
+ Returns: import("../integrations/supabase/types").Json;
25226
+ };
24200
25227
  logistics_write_buffer_layer_positions: {
24201
25228
  Args: {
24202
25229
  p_buffer_id: string;
@@ -25209,6 +26236,10 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
25209
26236
  };
25210
26237
  Returns: undefined;
25211
26238
  };
26239
+ prune_floriday_api_log: {
26240
+ Args: never;
26241
+ Returns: number;
26242
+ };
25212
26243
  quote_create_from_source: {
25213
26244
  Args: {
25214
26245
  _payload?: import("../integrations/supabase/types").Json;
@@ -25642,6 +26673,13 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
25642
26673
  };
25643
26674
  Returns: number;
25644
26675
  };
26676
+ schedule_floriday_catalog_prices_sync: {
26677
+ Args: {
26678
+ p_apikey: string;
26679
+ p_url: string;
26680
+ };
26681
+ Returns: number;
26682
+ };
25645
26683
  schedule_floriday_clock_presales_sync: {
25646
26684
  Args: {
25647
26685
  p_apikey: string;
@@ -25942,6 +26980,10 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
25942
26980
  };
25943
26981
  Returns: undefined;
25944
26982
  };
26983
+ sync_floriday_prices_into_price_groups: {
26984
+ Args: never;
26985
+ Returns: number;
26986
+ };
25945
26987
  sync_layer_stock: {
25946
26988
  Args: {
25947
26989
  p_product_id: string;
@@ -26074,6 +27116,10 @@ export declare const mirrorFloridayOrders: import("@tanstack/start-client-core")
26074
27116
  Args: never;
26075
27117
  Returns: string;
26076
27118
  };
27119
+ voorraad_cleanup_old_rows: {
27120
+ Args: never;
27121
+ Returns: import("../integrations/supabase/types").Json;
27122
+ };
26077
27123
  wake_print_queue: {
26078
27124
  Args: {
26079
27125
  _min_interval_ms?: number;