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