@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
@@ -2229,6 +2229,45 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
2229
2229
  };
2230
2230
  Relationships: [];
2231
2231
  };
2232
+ customer_product_stickers: {
2233
+ Row: {
2234
+ created_at: string;
2235
+ customer_key: string;
2236
+ file_name: string;
2237
+ file_path: string;
2238
+ file_size: number | null;
2239
+ id: string;
2240
+ mime_type: string | null;
2241
+ trade_item_key: string;
2242
+ updated_at: string;
2243
+ uploaded_by: string | null;
2244
+ };
2245
+ Insert: {
2246
+ created_at?: string;
2247
+ customer_key: string;
2248
+ file_name: string;
2249
+ file_path: string;
2250
+ file_size?: number | null;
2251
+ id?: string;
2252
+ mime_type?: string | null;
2253
+ trade_item_key: string;
2254
+ updated_at?: string;
2255
+ uploaded_by?: string | null;
2256
+ };
2257
+ Update: {
2258
+ created_at?: string;
2259
+ customer_key?: string;
2260
+ file_name?: string;
2261
+ file_path?: string;
2262
+ file_size?: number | null;
2263
+ id?: string;
2264
+ mime_type?: string | null;
2265
+ trade_item_key?: string;
2266
+ updated_at?: string;
2267
+ uploaded_by?: string | null;
2268
+ };
2269
+ Relationships: [];
2270
+ };
2232
2271
  customer_selected_assortment: {
2233
2272
  Row: {
2234
2273
  article_number: string | null;
@@ -2277,6 +2316,30 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
2277
2316
  referencedColumns: ["id"];
2278
2317
  }];
2279
2318
  };
2319
+ customer_sticker_settings: {
2320
+ Row: {
2321
+ created_at: string;
2322
+ customer_key: string;
2323
+ height_mm: number;
2324
+ updated_at: string;
2325
+ width_mm: number;
2326
+ };
2327
+ Insert: {
2328
+ created_at?: string;
2329
+ customer_key: string;
2330
+ height_mm?: number;
2331
+ updated_at?: string;
2332
+ width_mm?: number;
2333
+ };
2334
+ Update: {
2335
+ created_at?: string;
2336
+ customer_key?: string;
2337
+ height_mm?: number;
2338
+ updated_at?: string;
2339
+ width_mm?: number;
2340
+ };
2341
+ Relationships: [];
2342
+ };
2280
2343
  customer_trade_settings: {
2281
2344
  Row: {
2282
2345
  category: string;
@@ -5607,6 +5670,102 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
5607
5670
  referencedColumns: ["id"];
5608
5671
  }];
5609
5672
  };
5673
+ floriday_api_log: {
5674
+ Row: {
5675
+ action: string | null;
5676
+ caller: string | null;
5677
+ connection_id: string | null;
5678
+ created_at: string;
5679
+ cursor_from: number | null;
5680
+ direction: string;
5681
+ duration_ms: number | null;
5682
+ environment: string | null;
5683
+ error: string | null;
5684
+ floriday_id: string | null;
5685
+ floriday_reference: string | null;
5686
+ http_status: number;
5687
+ id: string;
5688
+ item_count: number | null;
5689
+ kind: string | null;
5690
+ local_id: string | null;
5691
+ local_reference: string | null;
5692
+ method: string;
5693
+ module: string | null;
5694
+ ok: boolean;
5695
+ path: string;
5696
+ request: import("../integrations/supabase/types").Json | null;
5697
+ resource_type: string | null;
5698
+ response: import("../integrations/supabase/types").Json | null;
5699
+ write_log_id: string | null;
5700
+ };
5701
+ Insert: {
5702
+ action?: string | null;
5703
+ caller?: string | null;
5704
+ connection_id?: string | null;
5705
+ created_at?: string;
5706
+ cursor_from?: number | null;
5707
+ direction: string;
5708
+ duration_ms?: number | null;
5709
+ environment?: string | null;
5710
+ error?: string | null;
5711
+ floriday_id?: string | null;
5712
+ floriday_reference?: string | null;
5713
+ http_status?: number;
5714
+ id?: string;
5715
+ item_count?: number | null;
5716
+ kind?: string | null;
5717
+ local_id?: string | null;
5718
+ local_reference?: string | null;
5719
+ method: string;
5720
+ module?: string | null;
5721
+ ok?: boolean;
5722
+ path: string;
5723
+ request?: import("../integrations/supabase/types").Json | null;
5724
+ resource_type?: string | null;
5725
+ response?: import("../integrations/supabase/types").Json | null;
5726
+ write_log_id?: string | null;
5727
+ };
5728
+ Update: {
5729
+ action?: string | null;
5730
+ caller?: string | null;
5731
+ connection_id?: string | null;
5732
+ created_at?: string;
5733
+ cursor_from?: number | null;
5734
+ direction?: string;
5735
+ duration_ms?: number | null;
5736
+ environment?: string | null;
5737
+ error?: string | null;
5738
+ floriday_id?: string | null;
5739
+ floriday_reference?: string | null;
5740
+ http_status?: number;
5741
+ id?: string;
5742
+ item_count?: number | null;
5743
+ kind?: string | null;
5744
+ local_id?: string | null;
5745
+ local_reference?: string | null;
5746
+ method?: string;
5747
+ module?: string | null;
5748
+ ok?: boolean;
5749
+ path?: string;
5750
+ request?: import("../integrations/supabase/types").Json | null;
5751
+ resource_type?: string | null;
5752
+ response?: import("../integrations/supabase/types").Json | null;
5753
+ write_log_id?: string | null;
5754
+ };
5755
+ Relationships: [{
5756
+ foreignKeyName: "floriday_api_log_connection_id_fkey";
5757
+ columns: ["connection_id"];
5758
+ isOneToOne: false;
5759
+ referencedRelation: "floriday_connections";
5760
+ referencedColumns: ["id"];
5761
+ }, {
5762
+ foreignKeyName: "floriday_api_log_write_log_id_fkey";
5763
+ columns: ["write_log_id"];
5764
+ isOneToOne: false;
5765
+ referencedRelation: "floriday_write_log";
5766
+ referencedColumns: ["id"];
5767
+ }];
5768
+ };
5610
5769
  floriday_auction_letters_cache: {
5611
5770
  Row: {
5612
5771
  auction_letter_code: string;
@@ -5814,6 +5973,84 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
5814
5973
  referencedColumns: ["id"];
5815
5974
  }];
5816
5975
  };
5976
+ floriday_catalog_prices_cache: {
5977
+ Row: {
5978
+ connection_id: string;
5979
+ created_at: string;
5980
+ currency: string;
5981
+ id: string;
5982
+ is_deleted: boolean;
5983
+ price: number | null;
5984
+ price_group_id: string | null;
5985
+ price_group_name: string | null;
5986
+ price_type: string;
5987
+ raw: import("../integrations/supabase/types").Json | null;
5988
+ sales_unit: string | null;
5989
+ sequence_number: number;
5990
+ supplier_article_code: string | null;
5991
+ supply_line_id: string;
5992
+ synced_at: string;
5993
+ trade_item_id: string | null;
5994
+ updated_at: string;
5995
+ valid_from: string | null;
5996
+ valid_to: string | null;
5997
+ week: number | null;
5998
+ year: number | null;
5999
+ };
6000
+ Insert: {
6001
+ connection_id: string;
6002
+ created_at?: string;
6003
+ currency?: string;
6004
+ id?: string;
6005
+ is_deleted?: boolean;
6006
+ price?: number | null;
6007
+ price_group_id?: string | null;
6008
+ price_group_name?: string | null;
6009
+ price_type?: string;
6010
+ raw?: import("../integrations/supabase/types").Json | null;
6011
+ sales_unit?: string | null;
6012
+ sequence_number?: number;
6013
+ supplier_article_code?: string | null;
6014
+ supply_line_id: string;
6015
+ synced_at?: string;
6016
+ trade_item_id?: string | null;
6017
+ updated_at?: string;
6018
+ valid_from?: string | null;
6019
+ valid_to?: string | null;
6020
+ week?: number | null;
6021
+ year?: number | null;
6022
+ };
6023
+ Update: {
6024
+ connection_id?: string;
6025
+ created_at?: string;
6026
+ currency?: string;
6027
+ id?: string;
6028
+ is_deleted?: boolean;
6029
+ price?: number | null;
6030
+ price_group_id?: string | null;
6031
+ price_group_name?: string | null;
6032
+ price_type?: string;
6033
+ raw?: import("../integrations/supabase/types").Json | null;
6034
+ sales_unit?: string | null;
6035
+ sequence_number?: number;
6036
+ supplier_article_code?: string | null;
6037
+ supply_line_id?: string;
6038
+ synced_at?: string;
6039
+ trade_item_id?: string | null;
6040
+ updated_at?: string;
6041
+ valid_from?: string | null;
6042
+ valid_to?: string | null;
6043
+ week?: number | null;
6044
+ year?: number | null;
6045
+ };
6046
+ Relationships: [{
6047
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
6048
+ columns: ["connection_id"];
6049
+ isOneToOne: false;
6050
+ referencedRelation: "floriday_connections";
6051
+ referencedColumns: ["id"];
6052
+ }];
6053
+ };
5817
6054
  floriday_clock_presales_cache: {
5818
6055
  Row: {
5819
6056
  buyer_organization_id: string | null;
@@ -6729,6 +6966,69 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
6729
6966
  referencedColumns: ["id"];
6730
6967
  }];
6731
6968
  };
6969
+ floriday_link_templates: {
6970
+ Row: {
6971
+ created_at: string;
6972
+ floriday_url_template: string | null;
6973
+ is_active: boolean;
6974
+ label: string;
6975
+ local_url_template: string | null;
6976
+ resource_type: string;
6977
+ updated_at: string;
6978
+ };
6979
+ Insert: {
6980
+ created_at?: string;
6981
+ floriday_url_template?: string | null;
6982
+ is_active?: boolean;
6983
+ label: string;
6984
+ local_url_template?: string | null;
6985
+ resource_type: string;
6986
+ updated_at?: string;
6987
+ };
6988
+ Update: {
6989
+ created_at?: string;
6990
+ floriday_url_template?: string | null;
6991
+ is_active?: boolean;
6992
+ label?: string;
6993
+ local_url_template?: string | null;
6994
+ resource_type?: string;
6995
+ updated_at?: string;
6996
+ };
6997
+ Relationships: [];
6998
+ };
6999
+ floriday_log_retention: {
7000
+ Row: {
7001
+ created_at: string;
7002
+ direction: string | null;
7003
+ id: string;
7004
+ keep_failed_days: number | null;
7005
+ keep_ok_days: number | null;
7006
+ note: string | null;
7007
+ resource_type: string | null;
7008
+ updated_at: string;
7009
+ };
7010
+ Insert: {
7011
+ created_at?: string;
7012
+ direction?: string | null;
7013
+ id?: string;
7014
+ keep_failed_days?: number | null;
7015
+ keep_ok_days?: number | null;
7016
+ note?: string | null;
7017
+ resource_type?: string | null;
7018
+ updated_at?: string;
7019
+ };
7020
+ Update: {
7021
+ created_at?: string;
7022
+ direction?: string | null;
7023
+ id?: string;
7024
+ keep_failed_days?: number | null;
7025
+ keep_ok_days?: number | null;
7026
+ note?: string | null;
7027
+ resource_type?: string | null;
7028
+ updated_at?: string;
7029
+ };
7030
+ Relationships: [];
7031
+ };
6732
7032
  floriday_logistic_labels_cache: {
6733
7033
  Row: {
6734
7034
  byte_size: number | null;
@@ -10082,22 +10382,31 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
10082
10382
  };
10083
10383
  logistics_floriday_push_refusals: {
10084
10384
  Row: {
10385
+ action: string | null;
10085
10386
  created_at: string;
10086
10387
  id: string;
10087
10388
  order_ref: string;
10088
10389
  reason: string;
10390
+ source_module: string | null;
10391
+ source_shell: string | null;
10089
10392
  };
10090
10393
  Insert: {
10394
+ action?: string | null;
10091
10395
  created_at?: string;
10092
10396
  id?: string;
10093
10397
  order_ref: string;
10094
10398
  reason: string;
10399
+ source_module?: string | null;
10400
+ source_shell?: string | null;
10095
10401
  };
10096
10402
  Update: {
10403
+ action?: string | null;
10097
10404
  created_at?: string;
10098
10405
  id?: string;
10099
10406
  order_ref?: string;
10100
10407
  reason?: string;
10408
+ source_module?: string | null;
10409
+ source_shell?: string | null;
10101
10410
  };
10102
10411
  Relationships: [];
10103
10412
  };
@@ -10176,6 +10485,42 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
10176
10485
  };
10177
10486
  Relationships: [];
10178
10487
  };
10488
+ logistics_floriday_status_sends: {
10489
+ Row: {
10490
+ action: string;
10491
+ created_at: string;
10492
+ detail: string | null;
10493
+ http_status: number | null;
10494
+ id: string;
10495
+ ok: boolean;
10496
+ order_ref: string;
10497
+ source_module: string | null;
10498
+ source_shell: string | null;
10499
+ };
10500
+ Insert: {
10501
+ action: string;
10502
+ created_at?: string;
10503
+ detail?: string | null;
10504
+ http_status?: number | null;
10505
+ id?: string;
10506
+ ok?: boolean;
10507
+ order_ref: string;
10508
+ source_module?: string | null;
10509
+ source_shell?: string | null;
10510
+ };
10511
+ Update: {
10512
+ action?: string;
10513
+ created_at?: string;
10514
+ detail?: string | null;
10515
+ http_status?: number | null;
10516
+ id?: string;
10517
+ ok?: boolean;
10518
+ order_ref?: string;
10519
+ source_module?: string | null;
10520
+ source_shell?: string | null;
10521
+ };
10522
+ Relationships: [];
10523
+ };
10179
10524
  logistics_formulas: {
10180
10525
  Row: {
10181
10526
  created_at: string;
@@ -10248,28 +10593,130 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
10248
10593
  };
10249
10594
  Relationships: [];
10250
10595
  };
10251
- logistics_pickup_moments: {
10596
+ logistics_opening_exceptions: {
10252
10597
  Row: {
10253
- carrier_ref: string | null;
10598
+ closes: string | null;
10254
10599
  created_at: string;
10600
+ day: string;
10255
10601
  id: string;
10256
- label: string | null;
10257
- moment_date: string;
10258
- pickup_time: string;
10259
- sequence: number;
10260
- updated_at: string;
10261
- user_id: string;
10602
+ is_closed: boolean;
10603
+ note: string | null;
10604
+ opens: string | null;
10262
10605
  };
10263
10606
  Insert: {
10264
- carrier_ref?: string | null;
10607
+ closes?: string | null;
10265
10608
  created_at?: string;
10609
+ day: string;
10266
10610
  id?: string;
10267
- label?: string | null;
10268
- moment_date: string;
10269
- pickup_time: string;
10270
- sequence?: number;
10271
- updated_at?: string;
10272
- user_id?: string;
10611
+ is_closed?: boolean;
10612
+ note?: string | null;
10613
+ opens?: string | null;
10614
+ };
10615
+ Update: {
10616
+ closes?: string | null;
10617
+ created_at?: string;
10618
+ day?: string;
10619
+ id?: string;
10620
+ is_closed?: boolean;
10621
+ note?: string | null;
10622
+ opens?: string | null;
10623
+ };
10624
+ Relationships: [];
10625
+ };
10626
+ logistics_opening_hours: {
10627
+ Row: {
10628
+ closes: string;
10629
+ created_at: string;
10630
+ id: string;
10631
+ is_active: boolean;
10632
+ note: string | null;
10633
+ opens: string;
10634
+ weekday: number;
10635
+ };
10636
+ Insert: {
10637
+ closes: string;
10638
+ created_at?: string;
10639
+ id?: string;
10640
+ is_active?: boolean;
10641
+ note?: string | null;
10642
+ opens: string;
10643
+ weekday: number;
10644
+ };
10645
+ Update: {
10646
+ closes?: string;
10647
+ created_at?: string;
10648
+ id?: string;
10649
+ is_active?: boolean;
10650
+ note?: string | null;
10651
+ opens?: string;
10652
+ weekday?: number;
10653
+ };
10654
+ Relationships: [];
10655
+ };
10656
+ logistics_pick_data_requests: {
10657
+ Row: {
10658
+ actions: import("../integrations/supabase/types").Json;
10659
+ created_at: string;
10660
+ event_id: string | null;
10661
+ finished_at: string | null;
10662
+ id: string;
10663
+ missing: import("../integrations/supabase/types").Json;
10664
+ order_ref: string;
10665
+ reason: string | null;
10666
+ result: import("../integrations/supabase/types").Json | null;
10667
+ status: string;
10668
+ unit_ref: string | null;
10669
+ };
10670
+ Insert: {
10671
+ actions?: import("../integrations/supabase/types").Json;
10672
+ created_at?: string;
10673
+ event_id?: string | null;
10674
+ finished_at?: string | null;
10675
+ id?: string;
10676
+ missing?: import("../integrations/supabase/types").Json;
10677
+ order_ref: string;
10678
+ reason?: string | null;
10679
+ result?: import("../integrations/supabase/types").Json | null;
10680
+ status?: string;
10681
+ unit_ref?: string | null;
10682
+ };
10683
+ Update: {
10684
+ actions?: import("../integrations/supabase/types").Json;
10685
+ created_at?: string;
10686
+ event_id?: string | null;
10687
+ finished_at?: string | null;
10688
+ id?: string;
10689
+ missing?: import("../integrations/supabase/types").Json;
10690
+ order_ref?: string;
10691
+ reason?: string | null;
10692
+ result?: import("../integrations/supabase/types").Json | null;
10693
+ status?: string;
10694
+ unit_ref?: string | null;
10695
+ };
10696
+ Relationships: [];
10697
+ };
10698
+ logistics_pickup_moments: {
10699
+ Row: {
10700
+ carrier_ref: string | null;
10701
+ created_at: string;
10702
+ id: string;
10703
+ label: string | null;
10704
+ moment_date: string;
10705
+ pickup_time: string;
10706
+ sequence: number;
10707
+ updated_at: string;
10708
+ user_id: string;
10709
+ };
10710
+ Insert: {
10711
+ carrier_ref?: string | null;
10712
+ created_at?: string;
10713
+ id?: string;
10714
+ label?: string | null;
10715
+ moment_date: string;
10716
+ pickup_time: string;
10717
+ sequence?: number;
10718
+ updated_at?: string;
10719
+ user_id?: string;
10273
10720
  };
10274
10721
  Update: {
10275
10722
  carrier_ref?: string | null;
@@ -10707,6 +11154,69 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
10707
11154
  };
10708
11155
  Relationships: [];
10709
11156
  };
11157
+ logistics_slip_shipping_note: {
11158
+ Row: {
11159
+ attempts: number;
11160
+ batch_key: string | null;
11161
+ cart_id: string | null;
11162
+ created_at: string;
11163
+ error: string | null;
11164
+ error_code: string | null;
11165
+ fulfillment_order_id: string | null;
11166
+ id: string;
11167
+ locked_until: string | null;
11168
+ next_attempt_at: string | null;
11169
+ order_id: string | null;
11170
+ order_number: string | null;
11171
+ print_job_id: string | null;
11172
+ printer_id: string | null;
11173
+ retry_class: string | null;
11174
+ slip_job_id: string;
11175
+ status: string;
11176
+ updated_at: string;
11177
+ };
11178
+ Insert: {
11179
+ attempts?: number;
11180
+ batch_key?: string | null;
11181
+ cart_id?: string | null;
11182
+ created_at?: string;
11183
+ error?: string | null;
11184
+ error_code?: string | null;
11185
+ fulfillment_order_id?: string | null;
11186
+ id?: string;
11187
+ locked_until?: string | null;
11188
+ next_attempt_at?: string | null;
11189
+ order_id?: string | null;
11190
+ order_number?: string | null;
11191
+ print_job_id?: string | null;
11192
+ printer_id?: string | null;
11193
+ retry_class?: string | null;
11194
+ slip_job_id: string;
11195
+ status?: string;
11196
+ updated_at?: string;
11197
+ };
11198
+ Update: {
11199
+ attempts?: number;
11200
+ batch_key?: string | null;
11201
+ cart_id?: string | null;
11202
+ created_at?: string;
11203
+ error?: string | null;
11204
+ error_code?: string | null;
11205
+ fulfillment_order_id?: string | null;
11206
+ id?: string;
11207
+ locked_until?: string | null;
11208
+ next_attempt_at?: string | null;
11209
+ order_id?: string | null;
11210
+ order_number?: string | null;
11211
+ print_job_id?: string | null;
11212
+ printer_id?: string | null;
11213
+ retry_class?: string | null;
11214
+ slip_job_id?: string;
11215
+ status?: string;
11216
+ updated_at?: string;
11217
+ };
11218
+ Relationships: [];
11219
+ };
10710
11220
  logistics_staff_planning: {
10711
11221
  Row: {
10712
11222
  created_at: string;
@@ -11040,6 +11550,129 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
11040
11550
  };
11041
11551
  Relationships: [];
11042
11552
  };
11553
+ logistics_time_settings: {
11554
+ Row: {
11555
+ id: boolean;
11556
+ timezone: string;
11557
+ updated_at: string;
11558
+ };
11559
+ Insert: {
11560
+ id?: boolean;
11561
+ timezone: string;
11562
+ updated_at?: string;
11563
+ };
11564
+ Update: {
11565
+ id?: boolean;
11566
+ timezone?: string;
11567
+ updated_at?: string;
11568
+ };
11569
+ Relationships: [];
11570
+ };
11571
+ logistics_trace_events: {
11572
+ Row: {
11573
+ actor: string | null;
11574
+ attempts: number;
11575
+ cart_ref: string | null;
11576
+ created_at: string;
11577
+ db_action: string | null;
11578
+ db_new: import("../integrations/supabase/types").Json | null;
11579
+ db_old: import("../integrations/supabase/types").Json | null;
11580
+ db_record: string | null;
11581
+ db_table: string | null;
11582
+ decision: string | null;
11583
+ duration_ms: number | null;
11584
+ error: string | null;
11585
+ external_action: string | null;
11586
+ external_ref: string | null;
11587
+ external_response: import("../integrations/supabase/types").Json | null;
11588
+ external_status: string | null;
11589
+ external_system: string | null;
11590
+ id: string;
11591
+ input: import("../integrations/supabase/types").Json | null;
11592
+ next_attempt_at: string | null;
11593
+ order_ref: string | null;
11594
+ order_source: string | null;
11595
+ output: import("../integrations/supabase/types").Json | null;
11596
+ phase: string;
11597
+ reads: import("../integrations/supabase/types").Json | null;
11598
+ reason: string | null;
11599
+ rule: string | null;
11600
+ slip_ref: string | null;
11601
+ status: string;
11602
+ step: string;
11603
+ trace_id: string;
11604
+ values_used: import("../integrations/supabase/types").Json | null;
11605
+ };
11606
+ Insert: {
11607
+ actor?: string | null;
11608
+ attempts?: number;
11609
+ cart_ref?: string | null;
11610
+ created_at?: string;
11611
+ db_action?: string | null;
11612
+ db_new?: import("../integrations/supabase/types").Json | null;
11613
+ db_old?: import("../integrations/supabase/types").Json | null;
11614
+ db_record?: string | null;
11615
+ db_table?: string | null;
11616
+ decision?: string | null;
11617
+ duration_ms?: number | null;
11618
+ error?: string | null;
11619
+ external_action?: string | null;
11620
+ external_ref?: string | null;
11621
+ external_response?: import("../integrations/supabase/types").Json | null;
11622
+ external_status?: string | null;
11623
+ external_system?: string | null;
11624
+ id?: string;
11625
+ input?: import("../integrations/supabase/types").Json | null;
11626
+ next_attempt_at?: string | null;
11627
+ order_ref?: string | null;
11628
+ order_source?: string | null;
11629
+ output?: import("../integrations/supabase/types").Json | null;
11630
+ phase: string;
11631
+ reads?: import("../integrations/supabase/types").Json | null;
11632
+ reason?: string | null;
11633
+ rule?: string | null;
11634
+ slip_ref?: string | null;
11635
+ status: string;
11636
+ step: string;
11637
+ trace_id?: string;
11638
+ values_used?: import("../integrations/supabase/types").Json | null;
11639
+ };
11640
+ Update: {
11641
+ actor?: string | null;
11642
+ attempts?: number;
11643
+ cart_ref?: string | null;
11644
+ created_at?: string;
11645
+ db_action?: string | null;
11646
+ db_new?: import("../integrations/supabase/types").Json | null;
11647
+ db_old?: import("../integrations/supabase/types").Json | null;
11648
+ db_record?: string | null;
11649
+ db_table?: string | null;
11650
+ decision?: string | null;
11651
+ duration_ms?: number | null;
11652
+ error?: string | null;
11653
+ external_action?: string | null;
11654
+ external_ref?: string | null;
11655
+ external_response?: import("../integrations/supabase/types").Json | null;
11656
+ external_status?: string | null;
11657
+ external_system?: string | null;
11658
+ id?: string;
11659
+ input?: import("../integrations/supabase/types").Json | null;
11660
+ next_attempt_at?: string | null;
11661
+ order_ref?: string | null;
11662
+ order_source?: string | null;
11663
+ output?: import("../integrations/supabase/types").Json | null;
11664
+ phase?: string;
11665
+ reads?: import("../integrations/supabase/types").Json | null;
11666
+ reason?: string | null;
11667
+ rule?: string | null;
11668
+ slip_ref?: string | null;
11669
+ status?: string;
11670
+ step?: string;
11671
+ trace_id?: string;
11672
+ values_used?: import("../integrations/supabase/types").Json | null;
11673
+ };
11674
+ Relationships: [];
11675
+ };
11043
11676
  logistics_variables: {
11044
11677
  Row: {
11045
11678
  created_at: string;
@@ -13430,6 +14063,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
13430
14063
  customer_name: string;
13431
14064
  deleted_at: string | null;
13432
14065
  delivery_date: string | null;
14066
+ floriday_order_group_key: string | null;
13433
14067
  floriday_sales_order_id: string | null;
13434
14068
  id: string;
13435
14069
  invoice_due_at: string | null;
@@ -13457,6 +14091,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
13457
14091
  customer_name?: string;
13458
14092
  deleted_at?: string | null;
13459
14093
  delivery_date?: string | null;
14094
+ floriday_order_group_key?: string | null;
13460
14095
  floriday_sales_order_id?: string | null;
13461
14096
  id?: string;
13462
14097
  invoice_due_at?: string | null;
@@ -13484,6 +14119,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
13484
14119
  customer_name?: string;
13485
14120
  deleted_at?: string | null;
13486
14121
  delivery_date?: string | null;
14122
+ floriday_order_group_key?: string | null;
13487
14123
  floriday_sales_order_id?: string | null;
13488
14124
  id?: string;
13489
14125
  invoice_due_at?: string | null;
@@ -19347,6 +19983,36 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
19347
19983
  referencedColumns: ["id"];
19348
19984
  }];
19349
19985
  };
19986
+ voorraad_buffer_state: {
19987
+ Row: {
19988
+ buffer_id: string;
19989
+ buffer_key: string | null;
19990
+ closed_at: string | null;
19991
+ created_at: string;
19992
+ detached_orders: import("../integrations/supabase/types").Json;
19993
+ reason: string | null;
19994
+ updated_at: string;
19995
+ };
19996
+ Insert: {
19997
+ buffer_id: string;
19998
+ buffer_key?: string | null;
19999
+ closed_at?: string | null;
20000
+ created_at?: string;
20001
+ detached_orders?: import("../integrations/supabase/types").Json;
20002
+ reason?: string | null;
20003
+ updated_at?: string;
20004
+ };
20005
+ Update: {
20006
+ buffer_id?: string;
20007
+ buffer_key?: string | null;
20008
+ closed_at?: string | null;
20009
+ created_at?: string;
20010
+ detached_orders?: import("../integrations/supabase/types").Json;
20011
+ reason?: string | null;
20012
+ updated_at?: string;
20013
+ };
20014
+ Relationships: [];
20015
+ };
19350
20016
  voorraad_custom_fields: {
19351
20017
  Row: {
19352
20018
  created_at: string;
@@ -19389,6 +20055,36 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
19389
20055
  };
19390
20056
  Relationships: [];
19391
20057
  };
20058
+ voorraad_logistics_event_log: {
20059
+ Row: {
20060
+ created_at: string;
20061
+ event_id: string;
20062
+ event_type: string;
20063
+ order_ref: string | null;
20064
+ processed_at: string;
20065
+ result: import("../integrations/supabase/types").Json;
20066
+ updated_at: string;
20067
+ };
20068
+ Insert: {
20069
+ created_at?: string;
20070
+ event_id: string;
20071
+ event_type: string;
20072
+ order_ref?: string | null;
20073
+ processed_at?: string;
20074
+ result?: import("../integrations/supabase/types").Json;
20075
+ updated_at?: string;
20076
+ };
20077
+ Update: {
20078
+ created_at?: string;
20079
+ event_id?: string;
20080
+ event_type?: string;
20081
+ order_ref?: string | null;
20082
+ processed_at?: string;
20083
+ result?: import("../integrations/supabase/types").Json;
20084
+ updated_at?: string;
20085
+ };
20086
+ Relationships: [];
20087
+ };
19392
20088
  voorraad_media_upload_failures: {
19393
20089
  Row: {
19394
20090
  action: string;
@@ -21549,6 +22245,15 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
21549
22245
  Args: never;
21550
22246
  Returns: boolean;
21551
22247
  };
22248
+ cancel_open_print_jobs: {
22249
+ Args: {
22250
+ _cutoff: string;
22251
+ };
22252
+ Returns: {
22253
+ extern_job_id: string;
22254
+ id: string;
22255
+ }[];
22256
+ };
21552
22257
  check_offer_product_available_stock: {
21553
22258
  Args: {
21554
22259
  p_campaign_product_id: string;
@@ -23087,6 +23792,12 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
23087
23792
  };
23088
23793
  Returns: string;
23089
23794
  };
23795
+ logistics_cart_checkin_at: {
23796
+ Args: {
23797
+ p_cart_id: string;
23798
+ };
23799
+ Returns: string;
23800
+ };
23090
23801
  logistics_cart_handled: {
23091
23802
  Args: {
23092
23803
  p_cart_index: number;
@@ -23120,10 +23831,22 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
23120
23831
  task_status: string;
23121
23832
  }[];
23122
23833
  };
23834
+ logistics_cart_is_full: {
23835
+ Args: {
23836
+ p_cart_id: string;
23837
+ };
23838
+ Returns: boolean;
23839
+ };
23123
23840
  logistics_cart_layout_method: {
23124
23841
  Args: never;
23125
23842
  Returns: import("../integrations/supabase/types").Json;
23126
23843
  };
23844
+ logistics_cart_order_refs: {
23845
+ Args: {
23846
+ p_cart_id: string;
23847
+ };
23848
+ Returns: string[];
23849
+ };
23127
23850
  logistics_cart_plan_overview: {
23128
23851
  Args: {
23129
23852
  p_days?: number;
@@ -23143,6 +23866,24 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
23143
23866
  };
23144
23867
  Returns: import("../integrations/supabase/types").Json;
23145
23868
  };
23869
+ logistics_cart_plan_status_core: {
23870
+ Args: {
23871
+ p_ref: string;
23872
+ };
23873
+ Returns: import("../integrations/supabase/types").Json;
23874
+ };
23875
+ logistics_cart_release_reason: {
23876
+ Args: {
23877
+ p_cart_id: string;
23878
+ };
23879
+ Returns: string;
23880
+ };
23881
+ logistics_cart_released: {
23882
+ Args: {
23883
+ p_cart_id: string;
23884
+ };
23885
+ Returns: boolean;
23886
+ };
23146
23887
  logistics_cart_seq: {
23147
23888
  Args: {
23148
23889
  p_order_uuid?: string;
@@ -23193,6 +23934,10 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
23193
23934
  unit_ref: string;
23194
23935
  }[];
23195
23936
  };
23937
+ logistics_carts_per_print: {
23938
+ Args: never;
23939
+ Returns: number;
23940
+ };
23196
23941
  logistics_check_order_allowed: {
23197
23942
  Args: {
23198
23943
  p_lines: import("../integrations/supabase/types").Json;
@@ -23296,6 +24041,10 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
23296
24041
  isSetofReturn: false;
23297
24042
  };
23298
24043
  };
24044
+ logistics_cleanup_orphan_print_jobs: {
24045
+ Args: never;
24046
+ Returns: import("../integrations/supabase/types").Json;
24047
+ };
23299
24048
  logistics_complete_task: {
23300
24049
  Args: {
23301
24050
  p_result?: import("../integrations/supabase/types").Json;
@@ -23358,6 +24107,12 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
23358
24107
  station_carts: number;
23359
24108
  }[];
23360
24109
  };
24110
+ logistics_control_complete_cart: {
24111
+ Args: {
24112
+ p_cart_id: string;
24113
+ };
24114
+ Returns: number;
24115
+ };
23361
24116
  logistics_control_scan_approve: {
23362
24117
  Args: {
23363
24118
  p_allow_reprint?: boolean;
@@ -23437,6 +24192,15 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
23437
24192
  Args: never;
23438
24193
  Returns: import("../integrations/supabase/types").Json;
23439
24194
  };
24195
+ logistics_day_windows: {
24196
+ Args: {
24197
+ p_day: string;
24198
+ };
24199
+ Returns: {
24200
+ win_end: string;
24201
+ win_start: string;
24202
+ }[];
24203
+ };
23440
24204
  logistics_delay_customer_email: {
23441
24205
  Args: {
23442
24206
  p_customer: string;
@@ -23504,6 +24268,17 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
23504
24268
  };
23505
24269
  Returns: import("../integrations/supabase/types").Json;
23506
24270
  };
24271
+ logistics_enqueue_shipping_note_with_slip: {
24272
+ Args: {
24273
+ _cart_id: string;
24274
+ _is_herprint: boolean;
24275
+ _printer_id: string;
24276
+ _queue_item_id: string;
24277
+ _session_id: string;
24278
+ _slip_job_id: string;
24279
+ };
24280
+ Returns: string;
24281
+ };
23507
24282
  logistics_enqueue_sticker_with_slip: {
23508
24283
  Args: {
23509
24284
  _cart_id: string;
@@ -23521,6 +24296,20 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
23521
24296
  };
23522
24297
  Returns: string;
23523
24298
  };
24299
+ logistics_ensure_pick_data: {
24300
+ Args: {
24301
+ p_event_id?: string;
24302
+ p_missing?: import("../integrations/supabase/types").Json;
24303
+ p_ref: string;
24304
+ };
24305
+ Returns: import("../integrations/supabase/types").Json;
24306
+ };
24307
+ logistics_ensure_shipping_notes: {
24308
+ Args: {
24309
+ p_limit?: number;
24310
+ };
24311
+ Returns: import("../integrations/supabase/types").Json;
24312
+ };
23524
24313
  logistics_fail_task: {
23525
24314
  Args: {
23526
24315
  p_error: string;
@@ -23566,6 +24355,10 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
23566
24355
  isSetofReturn: false;
23567
24356
  };
23568
24357
  };
24358
+ logistics_fix_wrong_shipping_notes: {
24359
+ Args: never;
24360
+ Returns: import("../integrations/supabase/types").Json;
24361
+ };
23569
24362
  logistics_floriday_cart_plan: {
23570
24363
  Args: {
23571
24364
  p_order_id: string;
@@ -23593,6 +24386,10 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
23593
24386
  revision: number;
23594
24387
  }[];
23595
24388
  };
24389
+ logistics_floriday_delivery_note_create_enabled: {
24390
+ Args: never;
24391
+ Returns: boolean;
24392
+ };
23596
24393
  logistics_floriday_finish_push: {
23597
24394
  Args: {
23598
24395
  _error?: string;
@@ -23642,6 +24439,32 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
23642
24439
  };
23643
24440
  Returns: string;
23644
24441
  };
24442
+ logistics_floriday_gate_status: {
24443
+ Args: never;
24444
+ Returns: import("../integrations/supabase/types").Json;
24445
+ };
24446
+ logistics_floriday_log_refusal: {
24447
+ Args: {
24448
+ _action?: string;
24449
+ _module?: string;
24450
+ _order_ref: string;
24451
+ _reason: string;
24452
+ _shell?: string;
24453
+ };
24454
+ Returns: undefined;
24455
+ };
24456
+ logistics_floriday_log_send: {
24457
+ Args: {
24458
+ _action: string;
24459
+ _detail?: string;
24460
+ _http_status?: number;
24461
+ _module?: string;
24462
+ _ok: boolean;
24463
+ _order_ref: string;
24464
+ _shell?: string;
24465
+ };
24466
+ Returns: undefined;
24467
+ };
23645
24468
  logistics_floriday_order_approved: {
23646
24469
  Args: {
23647
24470
  _order_ref: string;
@@ -23666,6 +24489,16 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
23666
24489
  Args: never;
23667
24490
  Returns: boolean;
23668
24491
  };
24492
+ logistics_floriday_stock_updates_enabled: {
24493
+ Args: never;
24494
+ Returns: boolean;
24495
+ };
24496
+ logistics_floriday_write_allowed: {
24497
+ Args: {
24498
+ _action: string;
24499
+ };
24500
+ Returns: boolean;
24501
+ };
23669
24502
  logistics_fulfill_barcode_requests: {
23670
24503
  Args: {
23671
24504
  p_limit?: number;
@@ -23708,6 +24541,12 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
23708
24541
  };
23709
24542
  Returns: number;
23710
24543
  };
24544
+ logistics_merge_partial_carts: {
24545
+ Args: {
24546
+ p_limit?: number;
24547
+ };
24548
+ Returns: import("../integrations/supabase/types").Json;
24549
+ };
23711
24550
  logistics_next_workday_date: {
23712
24551
  Args: {
23713
24552
  p_date: string;
@@ -23734,6 +24573,10 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
23734
24573
  };
23735
24574
  Returns: string;
23736
24575
  };
24576
+ logistics_opening_timezone: {
24577
+ Args: never;
24578
+ Returns: string;
24579
+ };
23737
24580
  logistics_order_cart_count: {
23738
24581
  Args: {
23739
24582
  p_order_ref: string;
@@ -23790,6 +24633,12 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
23790
24633
  };
23791
24634
  Returns: string;
23792
24635
  };
24636
+ logistics_payload_is_floriday: {
24637
+ Args: {
24638
+ _payload: import("../integrations/supabase/types").Json;
24639
+ };
24640
+ Returns: boolean;
24641
+ };
23793
24642
  logistics_pick_agenda: {
23794
24643
  Args: {
23795
24644
  p_from?: string;
@@ -23818,6 +24667,10 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
23818
24667
  Args: never;
23819
24668
  Returns: import("../integrations/supabase/types").Json;
23820
24669
  };
24670
+ logistics_pick_partial_mode: {
24671
+ Args: never;
24672
+ Returns: string;
24673
+ };
23821
24674
  logistics_pick_start_estimate: {
23822
24675
  Args: {
23823
24676
  p_order: import("../integrations/supabase/types").Json;
@@ -23908,6 +24761,20 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
23908
24761
  Args: never;
23909
24762
  Returns: undefined;
23910
24763
  };
24764
+ logistics_plan_progress: {
24765
+ Args: {
24766
+ p_refs: string[];
24767
+ };
24768
+ Returns: {
24769
+ cart_plan_ready: boolean;
24770
+ cart_plan_reason: string;
24771
+ cart_plan_released: boolean;
24772
+ plan_progress: number;
24773
+ plan_state: string;
24774
+ plan_state_since: string;
24775
+ unit_ref: string;
24776
+ }[];
24777
+ };
23911
24778
  logistics_plan_prune: {
23912
24779
  Args: never;
23913
24780
  Returns: number;
@@ -23929,6 +24796,18 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
23929
24796
  };
23930
24797
  Returns: number;
23931
24798
  };
24799
+ logistics_plan_state_for: {
24800
+ Args: {
24801
+ p_ref: string;
24802
+ };
24803
+ Returns: import("../integrations/supabase/types").Json;
24804
+ };
24805
+ logistics_prepare_pick_documents: {
24806
+ Args: {
24807
+ p_limit?: number;
24808
+ };
24809
+ Returns: import("../integrations/supabase/types").Json;
24810
+ };
23932
24811
  logistics_prune_buffer_member_queue: {
23933
24812
  Args: never;
23934
24813
  Returns: number;
@@ -23969,18 +24848,36 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
23969
24848
  Args: never;
23970
24849
  Returns: import("../integrations/supabase/types").Json;
23971
24850
  };
24851
+ logistics_refresh_pick_queue_status: {
24852
+ Args: {
24853
+ p_ref: string;
24854
+ };
24855
+ Returns: number;
24856
+ };
23972
24857
  logistics_refresh_pickup_moments: {
23973
24858
  Args: {
23974
24859
  p_weeks?: number;
23975
24860
  };
23976
24861
  Returns: import("../integrations/supabase/types").Json;
23977
24862
  };
24863
+ logistics_refresh_plan_state: {
24864
+ Args: {
24865
+ p_limit?: number;
24866
+ };
24867
+ Returns: import("../integrations/supabase/types").Json;
24868
+ };
23978
24869
  logistics_replan_all: {
23979
24870
  Args: {
23980
24871
  p_reason?: string;
23981
24872
  };
23982
24873
  Returns: import("../integrations/supabase/types").Json;
23983
24874
  };
24875
+ logistics_replan_all_force: {
24876
+ Args: {
24877
+ p_reason?: string;
24878
+ };
24879
+ Returns: import("../integrations/supabase/types").Json;
24880
+ };
23984
24881
  logistics_report_delay: {
23985
24882
  Args: {
23986
24883
  p_expected_date?: string;
@@ -24125,6 +25022,10 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
24125
25022
  };
24126
25023
  Returns: string;
24127
25024
  };
25025
+ logistics_shipping_note_follows_slip: {
25026
+ Args: never;
25027
+ Returns: boolean;
25028
+ };
24128
25029
  logistics_shipping_note_from_barcode: {
24129
25030
  Args: {
24130
25031
  p_allow_reprint?: boolean;
@@ -24133,10 +25034,86 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
24133
25034
  };
24134
25035
  Returns: import("../integrations/supabase/types").Json;
24135
25036
  };
25037
+ logistics_shipping_note_job_for_slip: {
25038
+ Args: {
25039
+ _slip_job_id: string;
25040
+ };
25041
+ Returns: string;
25042
+ };
25043
+ logistics_shipping_notes_wake_all: {
25044
+ Args: never;
25045
+ Returns: import("../integrations/supabase/types").Json;
25046
+ };
25047
+ logistics_slip_is_floriday: {
25048
+ Args: {
25049
+ _slip_job_id: string;
25050
+ };
25051
+ Returns: boolean;
25052
+ };
25053
+ logistics_slip_note_claim: {
25054
+ Args: {
25055
+ _lease_seconds?: number;
25056
+ _limit?: number;
25057
+ };
25058
+ Returns: {
25059
+ attempts: number;
25060
+ batch_key: string | null;
25061
+ cart_id: string | null;
25062
+ created_at: string;
25063
+ error: string | null;
25064
+ error_code: string | null;
25065
+ fulfillment_order_id: string | null;
25066
+ id: string;
25067
+ locked_until: string | null;
25068
+ next_attempt_at: string | null;
25069
+ order_id: string | null;
25070
+ order_number: string | null;
25071
+ print_job_id: string | null;
25072
+ printer_id: string | null;
25073
+ retry_class: string | null;
25074
+ slip_job_id: string;
25075
+ status: string;
25076
+ updated_at: string;
25077
+ }[];
25078
+ SetofOptions: {
25079
+ from: "*";
25080
+ to: "logistics_slip_shipping_note";
25081
+ isOneToOne: false;
25082
+ isSetofReturn: true;
25083
+ };
25084
+ };
25085
+ logistics_slip_note_finish: {
25086
+ Args: {
25087
+ _error?: string;
25088
+ _error_code?: string;
25089
+ _fulfillment_order_id?: string;
25090
+ _id: string;
25091
+ _ok: boolean;
25092
+ _print_job_id?: string;
25093
+ _status?: string;
25094
+ };
25095
+ Returns: undefined;
25096
+ };
25097
+ logistics_slip_note_keep_waiting: {
25098
+ Args: {
25099
+ _class?: string;
25100
+ _id: string;
25101
+ _reason: string;
25102
+ };
25103
+ Returns: undefined;
25104
+ };
24136
25105
  logistics_sticker_follows_slip: {
24137
25106
  Args: never;
24138
25107
  Returns: boolean;
24139
25108
  };
25109
+ logistics_subtract_working_minutes: {
25110
+ Args: {
25111
+ p_deadline: string;
25112
+ p_max_workdays?: number;
25113
+ p_minutes: number;
25114
+ };
25115
+ Returns: import("../integrations/supabase/types").Json;
25116
+ };
24140
25117
  logistics_supersede_stale_tasks: {
24141
25118
  Args: {
24142
25119
  p_keep: string[];
@@ -24173,6 +25150,46 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
24173
25150
  Args: never;
24174
25151
  Returns: string;
24175
25152
  };
25153
+ logistics_timezone_options: {
25154
+ Args: never;
25155
+ Returns: {
25156
+ name: string;
25157
+ }[];
25158
+ };
25159
+ logistics_trace: {
25160
+ Args: {
25161
+ p: import("../integrations/supabase/types").Json;
25162
+ };
25163
+ Returns: string;
25164
+ };
25165
+ logistics_trace_batch: {
25166
+ Args: {
25167
+ p: import("../integrations/supabase/types").Json;
25168
+ };
25169
+ Returns: number;
25170
+ };
25171
+ logistics_trace_orders: {
25172
+ Args: {
25173
+ p_limit?: number;
25174
+ p_search?: string;
25175
+ p_since?: string;
25176
+ p_status?: string;
25177
+ };
25178
+ Returns: import("../integrations/supabase/types").Json;
25179
+ };
25180
+ logistics_trace_redact: {
25181
+ Args: {
25182
+ p: import("../integrations/supabase/types").Json;
25183
+ };
25184
+ Returns: import("../integrations/supabase/types").Json;
25185
+ };
25186
+ logistics_trace_timeline: {
25187
+ Args: {
25188
+ p_limit?: number;
25189
+ p_order_ref: string;
25190
+ };
25191
+ Returns: import("../integrations/supabase/types").Json;
25192
+ };
24176
25193
  logistics_upsert_task: {
24177
25194
  Args: {
24178
25195
  p_buffer_ref: string;
@@ -24192,6 +25209,16 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
24192
25209
  };
24193
25210
  Returns: string;
24194
25211
  };
25212
+ logistics_valid_timezone: {
25213
+ Args: {
25214
+ _tz: string;
25215
+ };
25216
+ Returns: boolean;
25217
+ };
25218
+ logistics_working_hours_status: {
25219
+ Args: never;
25220
+ Returns: import("../integrations/supabase/types").Json;
25221
+ };
24195
25222
  logistics_write_buffer_layer_positions: {
24196
25223
  Args: {
24197
25224
  p_buffer_id: string;
@@ -25204,6 +26231,10 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
25204
26231
  };
25205
26232
  Returns: undefined;
25206
26233
  };
26234
+ prune_floriday_api_log: {
26235
+ Args: never;
26236
+ Returns: number;
26237
+ };
25207
26238
  quote_create_from_source: {
25208
26239
  Args: {
25209
26240
  _payload?: import("../integrations/supabase/types").Json;
@@ -25637,6 +26668,13 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
25637
26668
  };
25638
26669
  Returns: number;
25639
26670
  };
26671
+ schedule_floriday_catalog_prices_sync: {
26672
+ Args: {
26673
+ p_apikey: string;
26674
+ p_url: string;
26675
+ };
26676
+ Returns: number;
26677
+ };
25640
26678
  schedule_floriday_clock_presales_sync: {
25641
26679
  Args: {
25642
26680
  p_apikey: string;
@@ -25937,6 +26975,10 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
25937
26975
  };
25938
26976
  Returns: undefined;
25939
26977
  };
26978
+ sync_floriday_prices_into_price_groups: {
26979
+ Args: never;
26980
+ Returns: number;
26981
+ };
25940
26982
  sync_layer_stock: {
25941
26983
  Args: {
25942
26984
  p_product_id: string;
@@ -26069,6 +27111,10 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
26069
27111
  Args: never;
26070
27112
  Returns: string;
26071
27113
  };
27114
+ voorraad_cleanup_old_rows: {
27115
+ Args: never;
27116
+ Returns: import("../integrations/supabase/types").Json;
27117
+ };
26072
27118
  wake_print_queue: {
26073
27119
  Args: {
26074
27120
  _min_interval_ms?: number;