@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
@@ -2237,6 +2237,45 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
2237
2237
  };
2238
2238
  Relationships: [];
2239
2239
  };
2240
+ customer_product_stickers: {
2241
+ Row: {
2242
+ created_at: string;
2243
+ customer_key: string;
2244
+ file_name: string;
2245
+ file_path: string;
2246
+ file_size: number | null;
2247
+ id: string;
2248
+ mime_type: string | null;
2249
+ trade_item_key: string;
2250
+ updated_at: string;
2251
+ uploaded_by: string | null;
2252
+ };
2253
+ Insert: {
2254
+ created_at?: string;
2255
+ customer_key: string;
2256
+ file_name: string;
2257
+ file_path: string;
2258
+ file_size?: number | null;
2259
+ id?: string;
2260
+ mime_type?: string | null;
2261
+ trade_item_key: string;
2262
+ updated_at?: string;
2263
+ uploaded_by?: string | null;
2264
+ };
2265
+ Update: {
2266
+ created_at?: string;
2267
+ customer_key?: string;
2268
+ file_name?: string;
2269
+ file_path?: string;
2270
+ file_size?: number | null;
2271
+ id?: string;
2272
+ mime_type?: string | null;
2273
+ trade_item_key?: string;
2274
+ updated_at?: string;
2275
+ uploaded_by?: string | null;
2276
+ };
2277
+ Relationships: [];
2278
+ };
2240
2279
  customer_selected_assortment: {
2241
2280
  Row: {
2242
2281
  article_number: string | null;
@@ -2285,6 +2324,30 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
2285
2324
  referencedColumns: ["id"];
2286
2325
  }];
2287
2326
  };
2327
+ customer_sticker_settings: {
2328
+ Row: {
2329
+ created_at: string;
2330
+ customer_key: string;
2331
+ height_mm: number;
2332
+ updated_at: string;
2333
+ width_mm: number;
2334
+ };
2335
+ Insert: {
2336
+ created_at?: string;
2337
+ customer_key: string;
2338
+ height_mm?: number;
2339
+ updated_at?: string;
2340
+ width_mm?: number;
2341
+ };
2342
+ Update: {
2343
+ created_at?: string;
2344
+ customer_key?: string;
2345
+ height_mm?: number;
2346
+ updated_at?: string;
2347
+ width_mm?: number;
2348
+ };
2349
+ Relationships: [];
2350
+ };
2288
2351
  customer_trade_settings: {
2289
2352
  Row: {
2290
2353
  category: string;
@@ -5615,6 +5678,102 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
5615
5678
  referencedColumns: ["id"];
5616
5679
  }];
5617
5680
  };
5681
+ floriday_api_log: {
5682
+ Row: {
5683
+ action: string | null;
5684
+ caller: string | null;
5685
+ connection_id: string | null;
5686
+ created_at: string;
5687
+ cursor_from: number | null;
5688
+ direction: string;
5689
+ duration_ms: number | null;
5690
+ environment: string | null;
5691
+ error: string | null;
5692
+ floriday_id: string | null;
5693
+ floriday_reference: string | null;
5694
+ http_status: number;
5695
+ id: string;
5696
+ item_count: number | null;
5697
+ kind: string | null;
5698
+ local_id: string | null;
5699
+ local_reference: string | null;
5700
+ method: string;
5701
+ module: string | null;
5702
+ ok: boolean;
5703
+ path: string;
5704
+ request: import("../integrations/supabase/types").Json | null;
5705
+ resource_type: string | null;
5706
+ response: import("../integrations/supabase/types").Json | null;
5707
+ write_log_id: string | null;
5708
+ };
5709
+ Insert: {
5710
+ action?: string | null;
5711
+ caller?: string | null;
5712
+ connection_id?: string | null;
5713
+ created_at?: string;
5714
+ cursor_from?: number | null;
5715
+ direction: string;
5716
+ duration_ms?: number | null;
5717
+ environment?: string | null;
5718
+ error?: string | null;
5719
+ floriday_id?: string | null;
5720
+ floriday_reference?: string | null;
5721
+ http_status?: number;
5722
+ id?: string;
5723
+ item_count?: number | null;
5724
+ kind?: string | null;
5725
+ local_id?: string | null;
5726
+ local_reference?: string | null;
5727
+ method: string;
5728
+ module?: string | null;
5729
+ ok?: boolean;
5730
+ path: string;
5731
+ request?: import("../integrations/supabase/types").Json | null;
5732
+ resource_type?: string | null;
5733
+ response?: import("../integrations/supabase/types").Json | null;
5734
+ write_log_id?: string | null;
5735
+ };
5736
+ Update: {
5737
+ action?: string | null;
5738
+ caller?: string | null;
5739
+ connection_id?: string | null;
5740
+ created_at?: string;
5741
+ cursor_from?: number | null;
5742
+ direction?: string;
5743
+ duration_ms?: number | null;
5744
+ environment?: string | null;
5745
+ error?: string | null;
5746
+ floriday_id?: string | null;
5747
+ floriday_reference?: string | null;
5748
+ http_status?: number;
5749
+ id?: string;
5750
+ item_count?: number | null;
5751
+ kind?: string | null;
5752
+ local_id?: string | null;
5753
+ local_reference?: string | null;
5754
+ method?: string;
5755
+ module?: string | null;
5756
+ ok?: boolean;
5757
+ path?: string;
5758
+ request?: import("../integrations/supabase/types").Json | null;
5759
+ resource_type?: string | null;
5760
+ response?: import("../integrations/supabase/types").Json | null;
5761
+ write_log_id?: string | null;
5762
+ };
5763
+ Relationships: [{
5764
+ foreignKeyName: "floriday_api_log_connection_id_fkey";
5765
+ columns: ["connection_id"];
5766
+ isOneToOne: false;
5767
+ referencedRelation: "floriday_connections";
5768
+ referencedColumns: ["id"];
5769
+ }, {
5770
+ foreignKeyName: "floriday_api_log_write_log_id_fkey";
5771
+ columns: ["write_log_id"];
5772
+ isOneToOne: false;
5773
+ referencedRelation: "floriday_write_log";
5774
+ referencedColumns: ["id"];
5775
+ }];
5776
+ };
5618
5777
  floriday_auction_letters_cache: {
5619
5778
  Row: {
5620
5779
  auction_letter_code: string;
@@ -5822,6 +5981,84 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
5822
5981
  referencedColumns: ["id"];
5823
5982
  }];
5824
5983
  };
5984
+ floriday_catalog_prices_cache: {
5985
+ Row: {
5986
+ connection_id: string;
5987
+ created_at: string;
5988
+ currency: string;
5989
+ id: string;
5990
+ is_deleted: boolean;
5991
+ price: number | null;
5992
+ price_group_id: string | null;
5993
+ price_group_name: string | null;
5994
+ price_type: string;
5995
+ raw: import("../integrations/supabase/types").Json | null;
5996
+ sales_unit: string | null;
5997
+ sequence_number: number;
5998
+ supplier_article_code: string | null;
5999
+ supply_line_id: string;
6000
+ synced_at: string;
6001
+ trade_item_id: string | null;
6002
+ updated_at: string;
6003
+ valid_from: string | null;
6004
+ valid_to: string | null;
6005
+ week: number | null;
6006
+ year: number | null;
6007
+ };
6008
+ Insert: {
6009
+ connection_id: string;
6010
+ created_at?: string;
6011
+ currency?: string;
6012
+ id?: string;
6013
+ is_deleted?: boolean;
6014
+ price?: number | null;
6015
+ price_group_id?: string | null;
6016
+ price_group_name?: string | null;
6017
+ price_type?: string;
6018
+ raw?: import("../integrations/supabase/types").Json | null;
6019
+ sales_unit?: string | null;
6020
+ sequence_number?: number;
6021
+ supplier_article_code?: string | null;
6022
+ supply_line_id: string;
6023
+ synced_at?: string;
6024
+ trade_item_id?: string | null;
6025
+ updated_at?: string;
6026
+ valid_from?: string | null;
6027
+ valid_to?: string | null;
6028
+ week?: number | null;
6029
+ year?: number | null;
6030
+ };
6031
+ Update: {
6032
+ connection_id?: string;
6033
+ created_at?: string;
6034
+ currency?: string;
6035
+ id?: string;
6036
+ is_deleted?: boolean;
6037
+ price?: number | null;
6038
+ price_group_id?: string | null;
6039
+ price_group_name?: string | null;
6040
+ price_type?: string;
6041
+ raw?: import("../integrations/supabase/types").Json | null;
6042
+ sales_unit?: string | null;
6043
+ sequence_number?: number;
6044
+ supplier_article_code?: string | null;
6045
+ supply_line_id?: string;
6046
+ synced_at?: string;
6047
+ trade_item_id?: string | null;
6048
+ updated_at?: string;
6049
+ valid_from?: string | null;
6050
+ valid_to?: string | null;
6051
+ week?: number | null;
6052
+ year?: number | null;
6053
+ };
6054
+ Relationships: [{
6055
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
6056
+ columns: ["connection_id"];
6057
+ isOneToOne: false;
6058
+ referencedRelation: "floriday_connections";
6059
+ referencedColumns: ["id"];
6060
+ }];
6061
+ };
5825
6062
  floriday_clock_presales_cache: {
5826
6063
  Row: {
5827
6064
  buyer_organization_id: string | null;
@@ -6737,6 +6974,69 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
6737
6974
  referencedColumns: ["id"];
6738
6975
  }];
6739
6976
  };
6977
+ floriday_link_templates: {
6978
+ Row: {
6979
+ created_at: string;
6980
+ floriday_url_template: string | null;
6981
+ is_active: boolean;
6982
+ label: string;
6983
+ local_url_template: string | null;
6984
+ resource_type: string;
6985
+ updated_at: string;
6986
+ };
6987
+ Insert: {
6988
+ created_at?: string;
6989
+ floriday_url_template?: string | null;
6990
+ is_active?: boolean;
6991
+ label: string;
6992
+ local_url_template?: string | null;
6993
+ resource_type: string;
6994
+ updated_at?: string;
6995
+ };
6996
+ Update: {
6997
+ created_at?: string;
6998
+ floriday_url_template?: string | null;
6999
+ is_active?: boolean;
7000
+ label?: string;
7001
+ local_url_template?: string | null;
7002
+ resource_type?: string;
7003
+ updated_at?: string;
7004
+ };
7005
+ Relationships: [];
7006
+ };
7007
+ floriday_log_retention: {
7008
+ Row: {
7009
+ created_at: string;
7010
+ direction: string | null;
7011
+ id: string;
7012
+ keep_failed_days: number | null;
7013
+ keep_ok_days: number | null;
7014
+ note: string | null;
7015
+ resource_type: string | null;
7016
+ updated_at: string;
7017
+ };
7018
+ Insert: {
7019
+ created_at?: string;
7020
+ direction?: string | null;
7021
+ id?: string;
7022
+ keep_failed_days?: number | null;
7023
+ keep_ok_days?: number | null;
7024
+ note?: string | null;
7025
+ resource_type?: string | null;
7026
+ updated_at?: string;
7027
+ };
7028
+ Update: {
7029
+ created_at?: string;
7030
+ direction?: string | null;
7031
+ id?: string;
7032
+ keep_failed_days?: number | null;
7033
+ keep_ok_days?: number | null;
7034
+ note?: string | null;
7035
+ resource_type?: string | null;
7036
+ updated_at?: string;
7037
+ };
7038
+ Relationships: [];
7039
+ };
6740
7040
  floriday_logistic_labels_cache: {
6741
7041
  Row: {
6742
7042
  byte_size: number | null;
@@ -10090,22 +10390,31 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
10090
10390
  };
10091
10391
  logistics_floriday_push_refusals: {
10092
10392
  Row: {
10393
+ action: string | null;
10093
10394
  created_at: string;
10094
10395
  id: string;
10095
10396
  order_ref: string;
10096
10397
  reason: string;
10398
+ source_module: string | null;
10399
+ source_shell: string | null;
10097
10400
  };
10098
10401
  Insert: {
10402
+ action?: string | null;
10099
10403
  created_at?: string;
10100
10404
  id?: string;
10101
10405
  order_ref: string;
10102
10406
  reason: string;
10407
+ source_module?: string | null;
10408
+ source_shell?: string | null;
10103
10409
  };
10104
10410
  Update: {
10411
+ action?: string | null;
10105
10412
  created_at?: string;
10106
10413
  id?: string;
10107
10414
  order_ref?: string;
10108
10415
  reason?: string;
10416
+ source_module?: string | null;
10417
+ source_shell?: string | null;
10109
10418
  };
10110
10419
  Relationships: [];
10111
10420
  };
@@ -10184,6 +10493,42 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
10184
10493
  };
10185
10494
  Relationships: [];
10186
10495
  };
10496
+ logistics_floriday_status_sends: {
10497
+ Row: {
10498
+ action: string;
10499
+ created_at: string;
10500
+ detail: string | null;
10501
+ http_status: number | null;
10502
+ id: string;
10503
+ ok: boolean;
10504
+ order_ref: string;
10505
+ source_module: string | null;
10506
+ source_shell: string | null;
10507
+ };
10508
+ Insert: {
10509
+ action: string;
10510
+ created_at?: string;
10511
+ detail?: string | null;
10512
+ http_status?: number | null;
10513
+ id?: string;
10514
+ ok?: boolean;
10515
+ order_ref: string;
10516
+ source_module?: string | null;
10517
+ source_shell?: string | null;
10518
+ };
10519
+ Update: {
10520
+ action?: string;
10521
+ created_at?: string;
10522
+ detail?: string | null;
10523
+ http_status?: number | null;
10524
+ id?: string;
10525
+ ok?: boolean;
10526
+ order_ref?: string;
10527
+ source_module?: string | null;
10528
+ source_shell?: string | null;
10529
+ };
10530
+ Relationships: [];
10531
+ };
10187
10532
  logistics_formulas: {
10188
10533
  Row: {
10189
10534
  created_at: string;
@@ -10256,28 +10601,130 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
10256
10601
  };
10257
10602
  Relationships: [];
10258
10603
  };
10259
- logistics_pickup_moments: {
10604
+ logistics_opening_exceptions: {
10260
10605
  Row: {
10261
- carrier_ref: string | null;
10606
+ closes: string | null;
10262
10607
  created_at: string;
10608
+ day: string;
10263
10609
  id: string;
10264
- label: string | null;
10265
- moment_date: string;
10266
- pickup_time: string;
10267
- sequence: number;
10268
- updated_at: string;
10269
- user_id: string;
10610
+ is_closed: boolean;
10611
+ note: string | null;
10612
+ opens: string | null;
10270
10613
  };
10271
10614
  Insert: {
10272
- carrier_ref?: string | null;
10615
+ closes?: string | null;
10273
10616
  created_at?: string;
10617
+ day: string;
10274
10618
  id?: string;
10275
- label?: string | null;
10276
- moment_date: string;
10277
- pickup_time: string;
10278
- sequence?: number;
10279
- updated_at?: string;
10280
- user_id?: string;
10619
+ is_closed?: boolean;
10620
+ note?: string | null;
10621
+ opens?: string | null;
10622
+ };
10623
+ Update: {
10624
+ closes?: string | null;
10625
+ created_at?: string;
10626
+ day?: string;
10627
+ id?: string;
10628
+ is_closed?: boolean;
10629
+ note?: string | null;
10630
+ opens?: string | null;
10631
+ };
10632
+ Relationships: [];
10633
+ };
10634
+ logistics_opening_hours: {
10635
+ Row: {
10636
+ closes: string;
10637
+ created_at: string;
10638
+ id: string;
10639
+ is_active: boolean;
10640
+ note: string | null;
10641
+ opens: string;
10642
+ weekday: number;
10643
+ };
10644
+ Insert: {
10645
+ closes: string;
10646
+ created_at?: string;
10647
+ id?: string;
10648
+ is_active?: boolean;
10649
+ note?: string | null;
10650
+ opens: string;
10651
+ weekday: number;
10652
+ };
10653
+ Update: {
10654
+ closes?: string;
10655
+ created_at?: string;
10656
+ id?: string;
10657
+ is_active?: boolean;
10658
+ note?: string | null;
10659
+ opens?: string;
10660
+ weekday?: number;
10661
+ };
10662
+ Relationships: [];
10663
+ };
10664
+ logistics_pick_data_requests: {
10665
+ Row: {
10666
+ actions: import("../integrations/supabase/types").Json;
10667
+ created_at: string;
10668
+ event_id: string | null;
10669
+ finished_at: string | null;
10670
+ id: string;
10671
+ missing: import("../integrations/supabase/types").Json;
10672
+ order_ref: string;
10673
+ reason: string | null;
10674
+ result: import("../integrations/supabase/types").Json | null;
10675
+ status: string;
10676
+ unit_ref: string | null;
10677
+ };
10678
+ Insert: {
10679
+ actions?: import("../integrations/supabase/types").Json;
10680
+ created_at?: string;
10681
+ event_id?: string | null;
10682
+ finished_at?: string | null;
10683
+ id?: string;
10684
+ missing?: import("../integrations/supabase/types").Json;
10685
+ order_ref: string;
10686
+ reason?: string | null;
10687
+ result?: import("../integrations/supabase/types").Json | null;
10688
+ status?: string;
10689
+ unit_ref?: string | null;
10690
+ };
10691
+ Update: {
10692
+ actions?: import("../integrations/supabase/types").Json;
10693
+ created_at?: string;
10694
+ event_id?: string | null;
10695
+ finished_at?: string | null;
10696
+ id?: string;
10697
+ missing?: import("../integrations/supabase/types").Json;
10698
+ order_ref?: string;
10699
+ reason?: string | null;
10700
+ result?: import("../integrations/supabase/types").Json | null;
10701
+ status?: string;
10702
+ unit_ref?: string | null;
10703
+ };
10704
+ Relationships: [];
10705
+ };
10706
+ logistics_pickup_moments: {
10707
+ Row: {
10708
+ carrier_ref: string | null;
10709
+ created_at: string;
10710
+ id: string;
10711
+ label: string | null;
10712
+ moment_date: string;
10713
+ pickup_time: string;
10714
+ sequence: number;
10715
+ updated_at: string;
10716
+ user_id: string;
10717
+ };
10718
+ Insert: {
10719
+ carrier_ref?: string | null;
10720
+ created_at?: string;
10721
+ id?: string;
10722
+ label?: string | null;
10723
+ moment_date: string;
10724
+ pickup_time: string;
10725
+ sequence?: number;
10726
+ updated_at?: string;
10727
+ user_id?: string;
10281
10728
  };
10282
10729
  Update: {
10283
10730
  carrier_ref?: string | null;
@@ -10715,6 +11162,69 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
10715
11162
  };
10716
11163
  Relationships: [];
10717
11164
  };
11165
+ logistics_slip_shipping_note: {
11166
+ Row: {
11167
+ attempts: number;
11168
+ batch_key: string | null;
11169
+ cart_id: string | null;
11170
+ created_at: string;
11171
+ error: string | null;
11172
+ error_code: string | null;
11173
+ fulfillment_order_id: string | null;
11174
+ id: string;
11175
+ locked_until: string | null;
11176
+ next_attempt_at: string | null;
11177
+ order_id: string | null;
11178
+ order_number: string | null;
11179
+ print_job_id: string | null;
11180
+ printer_id: string | null;
11181
+ retry_class: string | null;
11182
+ slip_job_id: string;
11183
+ status: string;
11184
+ updated_at: string;
11185
+ };
11186
+ Insert: {
11187
+ attempts?: number;
11188
+ batch_key?: string | null;
11189
+ cart_id?: string | null;
11190
+ created_at?: string;
11191
+ error?: string | null;
11192
+ error_code?: string | null;
11193
+ fulfillment_order_id?: string | null;
11194
+ id?: string;
11195
+ locked_until?: string | null;
11196
+ next_attempt_at?: string | null;
11197
+ order_id?: string | null;
11198
+ order_number?: string | null;
11199
+ print_job_id?: string | null;
11200
+ printer_id?: string | null;
11201
+ retry_class?: string | null;
11202
+ slip_job_id: string;
11203
+ status?: string;
11204
+ updated_at?: string;
11205
+ };
11206
+ Update: {
11207
+ attempts?: number;
11208
+ batch_key?: string | null;
11209
+ cart_id?: string | null;
11210
+ created_at?: string;
11211
+ error?: string | null;
11212
+ error_code?: string | null;
11213
+ fulfillment_order_id?: string | null;
11214
+ id?: string;
11215
+ locked_until?: string | null;
11216
+ next_attempt_at?: string | null;
11217
+ order_id?: string | null;
11218
+ order_number?: string | null;
11219
+ print_job_id?: string | null;
11220
+ printer_id?: string | null;
11221
+ retry_class?: string | null;
11222
+ slip_job_id?: string;
11223
+ status?: string;
11224
+ updated_at?: string;
11225
+ };
11226
+ Relationships: [];
11227
+ };
10718
11228
  logistics_staff_planning: {
10719
11229
  Row: {
10720
11230
  created_at: string;
@@ -11048,6 +11558,129 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
11048
11558
  };
11049
11559
  Relationships: [];
11050
11560
  };
11561
+ logistics_time_settings: {
11562
+ Row: {
11563
+ id: boolean;
11564
+ timezone: string;
11565
+ updated_at: string;
11566
+ };
11567
+ Insert: {
11568
+ id?: boolean;
11569
+ timezone: string;
11570
+ updated_at?: string;
11571
+ };
11572
+ Update: {
11573
+ id?: boolean;
11574
+ timezone?: string;
11575
+ updated_at?: string;
11576
+ };
11577
+ Relationships: [];
11578
+ };
11579
+ logistics_trace_events: {
11580
+ Row: {
11581
+ actor: string | null;
11582
+ attempts: number;
11583
+ cart_ref: string | null;
11584
+ created_at: string;
11585
+ db_action: string | null;
11586
+ db_new: import("../integrations/supabase/types").Json | null;
11587
+ db_old: import("../integrations/supabase/types").Json | null;
11588
+ db_record: string | null;
11589
+ db_table: string | null;
11590
+ decision: string | null;
11591
+ duration_ms: number | null;
11592
+ error: string | null;
11593
+ external_action: string | null;
11594
+ external_ref: string | null;
11595
+ external_response: import("../integrations/supabase/types").Json | null;
11596
+ external_status: string | null;
11597
+ external_system: string | null;
11598
+ id: string;
11599
+ input: import("../integrations/supabase/types").Json | null;
11600
+ next_attempt_at: string | null;
11601
+ order_ref: string | null;
11602
+ order_source: string | null;
11603
+ output: import("../integrations/supabase/types").Json | null;
11604
+ phase: string;
11605
+ reads: import("../integrations/supabase/types").Json | null;
11606
+ reason: string | null;
11607
+ rule: string | null;
11608
+ slip_ref: string | null;
11609
+ status: string;
11610
+ step: string;
11611
+ trace_id: string;
11612
+ values_used: import("../integrations/supabase/types").Json | null;
11613
+ };
11614
+ Insert: {
11615
+ actor?: string | null;
11616
+ attempts?: number;
11617
+ cart_ref?: string | null;
11618
+ created_at?: string;
11619
+ db_action?: string | null;
11620
+ db_new?: import("../integrations/supabase/types").Json | null;
11621
+ db_old?: import("../integrations/supabase/types").Json | null;
11622
+ db_record?: string | null;
11623
+ db_table?: string | null;
11624
+ decision?: string | null;
11625
+ duration_ms?: number | null;
11626
+ error?: string | null;
11627
+ external_action?: string | null;
11628
+ external_ref?: string | null;
11629
+ external_response?: import("../integrations/supabase/types").Json | null;
11630
+ external_status?: string | null;
11631
+ external_system?: string | null;
11632
+ id?: string;
11633
+ input?: import("../integrations/supabase/types").Json | null;
11634
+ next_attempt_at?: string | null;
11635
+ order_ref?: string | null;
11636
+ order_source?: string | null;
11637
+ output?: import("../integrations/supabase/types").Json | null;
11638
+ phase: string;
11639
+ reads?: import("../integrations/supabase/types").Json | null;
11640
+ reason?: string | null;
11641
+ rule?: string | null;
11642
+ slip_ref?: string | null;
11643
+ status: string;
11644
+ step: string;
11645
+ trace_id?: string;
11646
+ values_used?: import("../integrations/supabase/types").Json | null;
11647
+ };
11648
+ Update: {
11649
+ actor?: string | null;
11650
+ attempts?: number;
11651
+ cart_ref?: string | null;
11652
+ created_at?: string;
11653
+ db_action?: string | null;
11654
+ db_new?: import("../integrations/supabase/types").Json | null;
11655
+ db_old?: import("../integrations/supabase/types").Json | null;
11656
+ db_record?: string | null;
11657
+ db_table?: string | null;
11658
+ decision?: string | null;
11659
+ duration_ms?: number | null;
11660
+ error?: string | null;
11661
+ external_action?: string | null;
11662
+ external_ref?: string | null;
11663
+ external_response?: import("../integrations/supabase/types").Json | null;
11664
+ external_status?: string | null;
11665
+ external_system?: string | null;
11666
+ id?: string;
11667
+ input?: import("../integrations/supabase/types").Json | null;
11668
+ next_attempt_at?: string | null;
11669
+ order_ref?: string | null;
11670
+ order_source?: string | null;
11671
+ output?: import("../integrations/supabase/types").Json | null;
11672
+ phase?: string;
11673
+ reads?: import("../integrations/supabase/types").Json | null;
11674
+ reason?: string | null;
11675
+ rule?: string | null;
11676
+ slip_ref?: string | null;
11677
+ status?: string;
11678
+ step?: string;
11679
+ trace_id?: string;
11680
+ values_used?: import("../integrations/supabase/types").Json | null;
11681
+ };
11682
+ Relationships: [];
11683
+ };
11051
11684
  logistics_variables: {
11052
11685
  Row: {
11053
11686
  created_at: string;
@@ -13438,6 +14071,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
13438
14071
  customer_name: string;
13439
14072
  deleted_at: string | null;
13440
14073
  delivery_date: string | null;
14074
+ floriday_order_group_key: string | null;
13441
14075
  floriday_sales_order_id: string | null;
13442
14076
  id: string;
13443
14077
  invoice_due_at: string | null;
@@ -13465,6 +14099,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
13465
14099
  customer_name?: string;
13466
14100
  deleted_at?: string | null;
13467
14101
  delivery_date?: string | null;
14102
+ floriday_order_group_key?: string | null;
13468
14103
  floriday_sales_order_id?: string | null;
13469
14104
  id?: string;
13470
14105
  invoice_due_at?: string | null;
@@ -13492,6 +14127,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
13492
14127
  customer_name?: string;
13493
14128
  deleted_at?: string | null;
13494
14129
  delivery_date?: string | null;
14130
+ floriday_order_group_key?: string | null;
13495
14131
  floriday_sales_order_id?: string | null;
13496
14132
  id?: string;
13497
14133
  invoice_due_at?: string | null;
@@ -19355,6 +19991,36 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
19355
19991
  referencedColumns: ["id"];
19356
19992
  }];
19357
19993
  };
19994
+ voorraad_buffer_state: {
19995
+ Row: {
19996
+ buffer_id: string;
19997
+ buffer_key: string | null;
19998
+ closed_at: string | null;
19999
+ created_at: string;
20000
+ detached_orders: import("../integrations/supabase/types").Json;
20001
+ reason: string | null;
20002
+ updated_at: string;
20003
+ };
20004
+ Insert: {
20005
+ buffer_id: string;
20006
+ buffer_key?: string | null;
20007
+ closed_at?: string | null;
20008
+ created_at?: string;
20009
+ detached_orders?: import("../integrations/supabase/types").Json;
20010
+ reason?: string | null;
20011
+ updated_at?: string;
20012
+ };
20013
+ Update: {
20014
+ buffer_id?: string;
20015
+ buffer_key?: string | null;
20016
+ closed_at?: string | null;
20017
+ created_at?: string;
20018
+ detached_orders?: import("../integrations/supabase/types").Json;
20019
+ reason?: string | null;
20020
+ updated_at?: string;
20021
+ };
20022
+ Relationships: [];
20023
+ };
19358
20024
  voorraad_custom_fields: {
19359
20025
  Row: {
19360
20026
  created_at: string;
@@ -19397,6 +20063,36 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
19397
20063
  };
19398
20064
  Relationships: [];
19399
20065
  };
20066
+ voorraad_logistics_event_log: {
20067
+ Row: {
20068
+ created_at: string;
20069
+ event_id: string;
20070
+ event_type: string;
20071
+ order_ref: string | null;
20072
+ processed_at: string;
20073
+ result: import("../integrations/supabase/types").Json;
20074
+ updated_at: string;
20075
+ };
20076
+ Insert: {
20077
+ created_at?: string;
20078
+ event_id: string;
20079
+ event_type: string;
20080
+ order_ref?: string | null;
20081
+ processed_at?: string;
20082
+ result?: import("../integrations/supabase/types").Json;
20083
+ updated_at?: string;
20084
+ };
20085
+ Update: {
20086
+ created_at?: string;
20087
+ event_id?: string;
20088
+ event_type?: string;
20089
+ order_ref?: string | null;
20090
+ processed_at?: string;
20091
+ result?: import("../integrations/supabase/types").Json;
20092
+ updated_at?: string;
20093
+ };
20094
+ Relationships: [];
20095
+ };
19400
20096
  voorraad_media_upload_failures: {
19401
20097
  Row: {
19402
20098
  action: string;
@@ -21557,6 +22253,15 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
21557
22253
  Args: never;
21558
22254
  Returns: boolean;
21559
22255
  };
22256
+ cancel_open_print_jobs: {
22257
+ Args: {
22258
+ _cutoff: string;
22259
+ };
22260
+ Returns: {
22261
+ extern_job_id: string;
22262
+ id: string;
22263
+ }[];
22264
+ };
21560
22265
  check_offer_product_available_stock: {
21561
22266
  Args: {
21562
22267
  p_campaign_product_id: string;
@@ -23095,6 +23800,12 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
23095
23800
  };
23096
23801
  Returns: string;
23097
23802
  };
23803
+ logistics_cart_checkin_at: {
23804
+ Args: {
23805
+ p_cart_id: string;
23806
+ };
23807
+ Returns: string;
23808
+ };
23098
23809
  logistics_cart_handled: {
23099
23810
  Args: {
23100
23811
  p_cart_index: number;
@@ -23128,10 +23839,22 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
23128
23839
  task_status: string;
23129
23840
  }[];
23130
23841
  };
23842
+ logistics_cart_is_full: {
23843
+ Args: {
23844
+ p_cart_id: string;
23845
+ };
23846
+ Returns: boolean;
23847
+ };
23131
23848
  logistics_cart_layout_method: {
23132
23849
  Args: never;
23133
23850
  Returns: import("../integrations/supabase/types").Json;
23134
23851
  };
23852
+ logistics_cart_order_refs: {
23853
+ Args: {
23854
+ p_cart_id: string;
23855
+ };
23856
+ Returns: string[];
23857
+ };
23135
23858
  logistics_cart_plan_overview: {
23136
23859
  Args: {
23137
23860
  p_days?: number;
@@ -23151,6 +23874,24 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
23151
23874
  };
23152
23875
  Returns: import("../integrations/supabase/types").Json;
23153
23876
  };
23877
+ logistics_cart_plan_status_core: {
23878
+ Args: {
23879
+ p_ref: string;
23880
+ };
23881
+ Returns: import("../integrations/supabase/types").Json;
23882
+ };
23883
+ logistics_cart_release_reason: {
23884
+ Args: {
23885
+ p_cart_id: string;
23886
+ };
23887
+ Returns: string;
23888
+ };
23889
+ logistics_cart_released: {
23890
+ Args: {
23891
+ p_cart_id: string;
23892
+ };
23893
+ Returns: boolean;
23894
+ };
23154
23895
  logistics_cart_seq: {
23155
23896
  Args: {
23156
23897
  p_order_uuid?: string;
@@ -23201,6 +23942,10 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
23201
23942
  unit_ref: string;
23202
23943
  }[];
23203
23944
  };
23945
+ logistics_carts_per_print: {
23946
+ Args: never;
23947
+ Returns: number;
23948
+ };
23204
23949
  logistics_check_order_allowed: {
23205
23950
  Args: {
23206
23951
  p_lines: import("../integrations/supabase/types").Json;
@@ -23304,6 +24049,10 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
23304
24049
  isSetofReturn: false;
23305
24050
  };
23306
24051
  };
24052
+ logistics_cleanup_orphan_print_jobs: {
24053
+ Args: never;
24054
+ Returns: import("../integrations/supabase/types").Json;
24055
+ };
23307
24056
  logistics_complete_task: {
23308
24057
  Args: {
23309
24058
  p_result?: import("../integrations/supabase/types").Json;
@@ -23366,6 +24115,12 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
23366
24115
  station_carts: number;
23367
24116
  }[];
23368
24117
  };
24118
+ logistics_control_complete_cart: {
24119
+ Args: {
24120
+ p_cart_id: string;
24121
+ };
24122
+ Returns: number;
24123
+ };
23369
24124
  logistics_control_scan_approve: {
23370
24125
  Args: {
23371
24126
  p_allow_reprint?: boolean;
@@ -23445,6 +24200,15 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
23445
24200
  Args: never;
23446
24201
  Returns: import("../integrations/supabase/types").Json;
23447
24202
  };
24203
+ logistics_day_windows: {
24204
+ Args: {
24205
+ p_day: string;
24206
+ };
24207
+ Returns: {
24208
+ win_end: string;
24209
+ win_start: string;
24210
+ }[];
24211
+ };
23448
24212
  logistics_delay_customer_email: {
23449
24213
  Args: {
23450
24214
  p_customer: string;
@@ -23512,6 +24276,17 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
23512
24276
  };
23513
24277
  Returns: import("../integrations/supabase/types").Json;
23514
24278
  };
24279
+ logistics_enqueue_shipping_note_with_slip: {
24280
+ Args: {
24281
+ _cart_id: string;
24282
+ _is_herprint: boolean;
24283
+ _printer_id: string;
24284
+ _queue_item_id: string;
24285
+ _session_id: string;
24286
+ _slip_job_id: string;
24287
+ };
24288
+ Returns: string;
24289
+ };
23515
24290
  logistics_enqueue_sticker_with_slip: {
23516
24291
  Args: {
23517
24292
  _cart_id: string;
@@ -23529,6 +24304,20 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
23529
24304
  };
23530
24305
  Returns: string;
23531
24306
  };
24307
+ logistics_ensure_pick_data: {
24308
+ Args: {
24309
+ p_event_id?: string;
24310
+ p_missing?: import("../integrations/supabase/types").Json;
24311
+ p_ref: string;
24312
+ };
24313
+ Returns: import("../integrations/supabase/types").Json;
24314
+ };
24315
+ logistics_ensure_shipping_notes: {
24316
+ Args: {
24317
+ p_limit?: number;
24318
+ };
24319
+ Returns: import("../integrations/supabase/types").Json;
24320
+ };
23532
24321
  logistics_fail_task: {
23533
24322
  Args: {
23534
24323
  p_error: string;
@@ -23574,6 +24363,10 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
23574
24363
  isSetofReturn: false;
23575
24364
  };
23576
24365
  };
24366
+ logistics_fix_wrong_shipping_notes: {
24367
+ Args: never;
24368
+ Returns: import("../integrations/supabase/types").Json;
24369
+ };
23577
24370
  logistics_floriday_cart_plan: {
23578
24371
  Args: {
23579
24372
  p_order_id: string;
@@ -23601,6 +24394,10 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
23601
24394
  revision: number;
23602
24395
  }[];
23603
24396
  };
24397
+ logistics_floriday_delivery_note_create_enabled: {
24398
+ Args: never;
24399
+ Returns: boolean;
24400
+ };
23604
24401
  logistics_floriday_finish_push: {
23605
24402
  Args: {
23606
24403
  _error?: string;
@@ -23650,6 +24447,32 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
23650
24447
  };
23651
24448
  Returns: string;
23652
24449
  };
24450
+ logistics_floriday_gate_status: {
24451
+ Args: never;
24452
+ Returns: import("../integrations/supabase/types").Json;
24453
+ };
24454
+ logistics_floriday_log_refusal: {
24455
+ Args: {
24456
+ _action?: string;
24457
+ _module?: string;
24458
+ _order_ref: string;
24459
+ _reason: string;
24460
+ _shell?: string;
24461
+ };
24462
+ Returns: undefined;
24463
+ };
24464
+ logistics_floriday_log_send: {
24465
+ Args: {
24466
+ _action: string;
24467
+ _detail?: string;
24468
+ _http_status?: number;
24469
+ _module?: string;
24470
+ _ok: boolean;
24471
+ _order_ref: string;
24472
+ _shell?: string;
24473
+ };
24474
+ Returns: undefined;
24475
+ };
23653
24476
  logistics_floriday_order_approved: {
23654
24477
  Args: {
23655
24478
  _order_ref: string;
@@ -23674,6 +24497,16 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
23674
24497
  Args: never;
23675
24498
  Returns: boolean;
23676
24499
  };
24500
+ logistics_floriday_stock_updates_enabled: {
24501
+ Args: never;
24502
+ Returns: boolean;
24503
+ };
24504
+ logistics_floriday_write_allowed: {
24505
+ Args: {
24506
+ _action: string;
24507
+ };
24508
+ Returns: boolean;
24509
+ };
23677
24510
  logistics_fulfill_barcode_requests: {
23678
24511
  Args: {
23679
24512
  p_limit?: number;
@@ -23716,6 +24549,12 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
23716
24549
  };
23717
24550
  Returns: number;
23718
24551
  };
24552
+ logistics_merge_partial_carts: {
24553
+ Args: {
24554
+ p_limit?: number;
24555
+ };
24556
+ Returns: import("../integrations/supabase/types").Json;
24557
+ };
23719
24558
  logistics_next_workday_date: {
23720
24559
  Args: {
23721
24560
  p_date: string;
@@ -23742,6 +24581,10 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
23742
24581
  };
23743
24582
  Returns: string;
23744
24583
  };
24584
+ logistics_opening_timezone: {
24585
+ Args: never;
24586
+ Returns: string;
24587
+ };
23745
24588
  logistics_order_cart_count: {
23746
24589
  Args: {
23747
24590
  p_order_ref: string;
@@ -23798,6 +24641,12 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
23798
24641
  };
23799
24642
  Returns: string;
23800
24643
  };
24644
+ logistics_payload_is_floriday: {
24645
+ Args: {
24646
+ _payload: import("../integrations/supabase/types").Json;
24647
+ };
24648
+ Returns: boolean;
24649
+ };
23801
24650
  logistics_pick_agenda: {
23802
24651
  Args: {
23803
24652
  p_from?: string;
@@ -23826,6 +24675,10 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
23826
24675
  Args: never;
23827
24676
  Returns: import("../integrations/supabase/types").Json;
23828
24677
  };
24678
+ logistics_pick_partial_mode: {
24679
+ Args: never;
24680
+ Returns: string;
24681
+ };
23829
24682
  logistics_pick_start_estimate: {
23830
24683
  Args: {
23831
24684
  p_order: import("../integrations/supabase/types").Json;
@@ -23916,6 +24769,20 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
23916
24769
  Args: never;
23917
24770
  Returns: undefined;
23918
24771
  };
24772
+ logistics_plan_progress: {
24773
+ Args: {
24774
+ p_refs: string[];
24775
+ };
24776
+ Returns: {
24777
+ cart_plan_ready: boolean;
24778
+ cart_plan_reason: string;
24779
+ cart_plan_released: boolean;
24780
+ plan_progress: number;
24781
+ plan_state: string;
24782
+ plan_state_since: string;
24783
+ unit_ref: string;
24784
+ }[];
24785
+ };
23919
24786
  logistics_plan_prune: {
23920
24787
  Args: never;
23921
24788
  Returns: number;
@@ -23937,6 +24804,18 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
23937
24804
  };
23938
24805
  Returns: number;
23939
24806
  };
24807
+ logistics_plan_state_for: {
24808
+ Args: {
24809
+ p_ref: string;
24810
+ };
24811
+ Returns: import("../integrations/supabase/types").Json;
24812
+ };
24813
+ logistics_prepare_pick_documents: {
24814
+ Args: {
24815
+ p_limit?: number;
24816
+ };
24817
+ Returns: import("../integrations/supabase/types").Json;
24818
+ };
23940
24819
  logistics_prune_buffer_member_queue: {
23941
24820
  Args: never;
23942
24821
  Returns: number;
@@ -23977,18 +24856,36 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
23977
24856
  Args: never;
23978
24857
  Returns: import("../integrations/supabase/types").Json;
23979
24858
  };
24859
+ logistics_refresh_pick_queue_status: {
24860
+ Args: {
24861
+ p_ref: string;
24862
+ };
24863
+ Returns: number;
24864
+ };
23980
24865
  logistics_refresh_pickup_moments: {
23981
24866
  Args: {
23982
24867
  p_weeks?: number;
23983
24868
  };
23984
24869
  Returns: import("../integrations/supabase/types").Json;
23985
24870
  };
24871
+ logistics_refresh_plan_state: {
24872
+ Args: {
24873
+ p_limit?: number;
24874
+ };
24875
+ Returns: import("../integrations/supabase/types").Json;
24876
+ };
23986
24877
  logistics_replan_all: {
23987
24878
  Args: {
23988
24879
  p_reason?: string;
23989
24880
  };
23990
24881
  Returns: import("../integrations/supabase/types").Json;
23991
24882
  };
24883
+ logistics_replan_all_force: {
24884
+ Args: {
24885
+ p_reason?: string;
24886
+ };
24887
+ Returns: import("../integrations/supabase/types").Json;
24888
+ };
23992
24889
  logistics_report_delay: {
23993
24890
  Args: {
23994
24891
  p_expected_date?: string;
@@ -24133,6 +25030,10 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
24133
25030
  };
24134
25031
  Returns: string;
24135
25032
  };
25033
+ logistics_shipping_note_follows_slip: {
25034
+ Args: never;
25035
+ Returns: boolean;
25036
+ };
24136
25037
  logistics_shipping_note_from_barcode: {
24137
25038
  Args: {
24138
25039
  p_allow_reprint?: boolean;
@@ -24141,10 +25042,86 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
24141
25042
  };
24142
25043
  Returns: import("../integrations/supabase/types").Json;
24143
25044
  };
25045
+ logistics_shipping_note_job_for_slip: {
25046
+ Args: {
25047
+ _slip_job_id: string;
25048
+ };
25049
+ Returns: string;
25050
+ };
25051
+ logistics_shipping_notes_wake_all: {
25052
+ Args: never;
25053
+ Returns: import("../integrations/supabase/types").Json;
25054
+ };
25055
+ logistics_slip_is_floriday: {
25056
+ Args: {
25057
+ _slip_job_id: string;
25058
+ };
25059
+ Returns: boolean;
25060
+ };
25061
+ logistics_slip_note_claim: {
25062
+ Args: {
25063
+ _lease_seconds?: number;
25064
+ _limit?: number;
25065
+ };
25066
+ Returns: {
25067
+ attempts: number;
25068
+ batch_key: string | null;
25069
+ cart_id: string | null;
25070
+ created_at: string;
25071
+ error: string | null;
25072
+ error_code: string | null;
25073
+ fulfillment_order_id: string | null;
25074
+ id: string;
25075
+ locked_until: string | null;
25076
+ next_attempt_at: string | null;
25077
+ order_id: string | null;
25078
+ order_number: string | null;
25079
+ print_job_id: string | null;
25080
+ printer_id: string | null;
25081
+ retry_class: string | null;
25082
+ slip_job_id: string;
25083
+ status: string;
25084
+ updated_at: string;
25085
+ }[];
25086
+ SetofOptions: {
25087
+ from: "*";
25088
+ to: "logistics_slip_shipping_note";
25089
+ isOneToOne: false;
25090
+ isSetofReturn: true;
25091
+ };
25092
+ };
25093
+ logistics_slip_note_finish: {
25094
+ Args: {
25095
+ _error?: string;
25096
+ _error_code?: string;
25097
+ _fulfillment_order_id?: string;
25098
+ _id: string;
25099
+ _ok: boolean;
25100
+ _print_job_id?: string;
25101
+ _status?: string;
25102
+ };
25103
+ Returns: undefined;
25104
+ };
25105
+ logistics_slip_note_keep_waiting: {
25106
+ Args: {
25107
+ _class?: string;
25108
+ _id: string;
25109
+ _reason: string;
25110
+ };
25111
+ Returns: undefined;
25112
+ };
24144
25113
  logistics_sticker_follows_slip: {
24145
25114
  Args: never;
24146
25115
  Returns: boolean;
24147
25116
  };
25117
+ logistics_subtract_working_minutes: {
25118
+ Args: {
25119
+ p_deadline: string;
25120
+ p_max_workdays?: number;
25121
+ p_minutes: number;
25122
+ };
25123
+ Returns: import("../integrations/supabase/types").Json;
25124
+ };
24148
25125
  logistics_supersede_stale_tasks: {
24149
25126
  Args: {
24150
25127
  p_keep: string[];
@@ -24181,6 +25158,46 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
24181
25158
  Args: never;
24182
25159
  Returns: string;
24183
25160
  };
25161
+ logistics_timezone_options: {
25162
+ Args: never;
25163
+ Returns: {
25164
+ name: string;
25165
+ }[];
25166
+ };
25167
+ logistics_trace: {
25168
+ Args: {
25169
+ p: import("../integrations/supabase/types").Json;
25170
+ };
25171
+ Returns: string;
25172
+ };
25173
+ logistics_trace_batch: {
25174
+ Args: {
25175
+ p: import("../integrations/supabase/types").Json;
25176
+ };
25177
+ Returns: number;
25178
+ };
25179
+ logistics_trace_orders: {
25180
+ Args: {
25181
+ p_limit?: number;
25182
+ p_search?: string;
25183
+ p_since?: string;
25184
+ p_status?: string;
25185
+ };
25186
+ Returns: import("../integrations/supabase/types").Json;
25187
+ };
25188
+ logistics_trace_redact: {
25189
+ Args: {
25190
+ p: import("../integrations/supabase/types").Json;
25191
+ };
25192
+ Returns: import("../integrations/supabase/types").Json;
25193
+ };
25194
+ logistics_trace_timeline: {
25195
+ Args: {
25196
+ p_limit?: number;
25197
+ p_order_ref: string;
25198
+ };
25199
+ Returns: import("../integrations/supabase/types").Json;
25200
+ };
24184
25201
  logistics_upsert_task: {
24185
25202
  Args: {
24186
25203
  p_buffer_ref: string;
@@ -24200,6 +25217,16 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
24200
25217
  };
24201
25218
  Returns: string;
24202
25219
  };
25220
+ logistics_valid_timezone: {
25221
+ Args: {
25222
+ _tz: string;
25223
+ };
25224
+ Returns: boolean;
25225
+ };
25226
+ logistics_working_hours_status: {
25227
+ Args: never;
25228
+ Returns: import("../integrations/supabase/types").Json;
25229
+ };
24203
25230
  logistics_write_buffer_layer_positions: {
24204
25231
  Args: {
24205
25232
  p_buffer_id: string;
@@ -25212,6 +26239,10 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
25212
26239
  };
25213
26240
  Returns: undefined;
25214
26241
  };
26242
+ prune_floriday_api_log: {
26243
+ Args: never;
26244
+ Returns: number;
26245
+ };
25215
26246
  quote_create_from_source: {
25216
26247
  Args: {
25217
26248
  _payload?: import("../integrations/supabase/types").Json;
@@ -25645,6 +26676,13 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
25645
26676
  };
25646
26677
  Returns: number;
25647
26678
  };
26679
+ schedule_floriday_catalog_prices_sync: {
26680
+ Args: {
26681
+ p_apikey: string;
26682
+ p_url: string;
26683
+ };
26684
+ Returns: number;
26685
+ };
25648
26686
  schedule_floriday_clock_presales_sync: {
25649
26687
  Args: {
25650
26688
  p_apikey: string;
@@ -25945,6 +26983,10 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
25945
26983
  };
25946
26984
  Returns: undefined;
25947
26985
  };
26986
+ sync_floriday_prices_into_price_groups: {
26987
+ Args: never;
26988
+ Returns: number;
26989
+ };
25948
26990
  sync_layer_stock: {
25949
26991
  Args: {
25950
26992
  p_product_id: string;
@@ -26077,6 +27119,10 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
26077
27119
  Args: never;
26078
27120
  Returns: string;
26079
27121
  };
27122
+ voorraad_cleanup_old_rows: {
27123
+ Args: never;
27124
+ Returns: import("../integrations/supabase/types").Json;
27125
+ };
26080
27126
  wake_print_queue: {
26081
27127
  Args: {
26082
27128
  _min_interval_ms?: number;