@flowselections/floriday-voorraad 1.0.41 → 1.0.43

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 (53) hide show
  1. package/dist-lib/components/voorraad/ArtikelWizard.d.ts.map +1 -1
  2. package/dist-lib/components/voorraad/ArtikelWizard.js +15 -11
  3. package/dist-lib/components/voorraad/OrderHistoryCard.js +2 -2
  4. package/dist-lib/components/voorraad/StockMutationHistoryCard.d.ts +7 -0
  5. package/dist-lib/components/voorraad/StockMutationHistoryCard.d.ts.map +1 -0
  6. package/dist-lib/components/voorraad/StockMutationHistoryCard.js +134 -0
  7. package/dist-lib/components/voorraad/StockPushMonitor.d.ts.map +1 -1
  8. package/dist-lib/components/voorraad/StockPushMonitor.js +90 -12
  9. package/dist-lib/components/voorraad/VoorraadPage.d.ts.map +1 -1
  10. package/dist-lib/components/voorraad/VoorraadPage.js +1 -1
  11. package/dist-lib/hooks/useFloriday.d.ts.map +1 -1
  12. package/dist-lib/hooks/useFloriday.js +5 -2
  13. package/dist-lib/hooks/useStockPushJobs.d.ts +2 -0
  14. package/dist-lib/hooks/useStockPushJobs.d.ts.map +1 -1
  15. package/dist-lib/hooks/useStockPushJobs.js +18 -5
  16. package/dist-lib/integrations/supabase/auth-middleware.d.ts +1001 -15
  17. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  18. package/dist-lib/integrations/supabase/client.d.ts +1001 -15
  19. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  20. package/dist-lib/integrations/supabase/client.server.d.ts +1001 -15
  21. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  22. package/dist-lib/integrations/supabase/types.d.ts +1001 -10
  23. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  24. package/dist-lib/lib/floricode-required-features.functions.d.ts +1001 -15
  25. package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/floriday-2026v1.server.d.ts +1 -1
  27. package/dist-lib/lib/floriday-2026v1.server.d.ts.map +1 -1
  28. package/dist-lib/lib/floriday-2026v1.server.js +10 -0
  29. package/dist-lib/lib/floriday-customer-offer.functions.d.ts +1001 -15
  30. package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/floriday-env.functions.d.ts +1972 -0
  32. package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/floriday-gateway.functions.d.ts +5916 -0
  34. package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/floriday-gateway.server.d.ts +7 -1
  36. package/dist-lib/lib/floriday-gateway.server.d.ts.map +1 -1
  37. package/dist-lib/lib/floriday-gateway.server.js +50 -3
  38. package/dist-lib/lib/floriday-vbn-required.functions.d.ts +1972 -0
  39. package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/floriday-warehouse.functions.d.ts +2958 -0
  41. package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
  42. package/dist-lib/lib/floriday-write-gate.server.d.ts +60 -0
  43. package/dist-lib/lib/floriday-write-gate.server.d.ts.map +1 -0
  44. package/dist-lib/lib/floriday-write-gate.server.js +196 -0
  45. package/dist-lib/lib/floriday-writes.functions.d.ts +1972 -0
  46. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  47. package/dist-lib/lib/inventory-settings.functions.d.ts +1972 -0
  48. package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -1
  49. package/dist-lib/lib/module-health.functions.d.ts +1092 -0
  50. package/dist-lib/lib/module-health.functions.d.ts.map +1 -1
  51. package/dist-lib/lib/stock-sync.functions.d.ts +1972 -0
  52. package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
  53. package/package.json +1 -1
@@ -2224,6 +2224,45 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
2224
2224
  };
2225
2225
  Relationships: [];
2226
2226
  };
2227
+ customer_product_stickers: {
2228
+ Row: {
2229
+ created_at: string;
2230
+ customer_key: string;
2231
+ file_name: string;
2232
+ file_path: string;
2233
+ file_size: number | null;
2234
+ id: string;
2235
+ mime_type: string | null;
2236
+ trade_item_key: string;
2237
+ updated_at: string;
2238
+ uploaded_by: string | null;
2239
+ };
2240
+ Insert: {
2241
+ created_at?: string;
2242
+ customer_key: string;
2243
+ file_name: string;
2244
+ file_path: string;
2245
+ file_size?: number | null;
2246
+ id?: string;
2247
+ mime_type?: string | null;
2248
+ trade_item_key: string;
2249
+ updated_at?: string;
2250
+ uploaded_by?: string | null;
2251
+ };
2252
+ Update: {
2253
+ created_at?: string;
2254
+ customer_key?: string;
2255
+ file_name?: string;
2256
+ file_path?: string;
2257
+ file_size?: number | null;
2258
+ id?: string;
2259
+ mime_type?: string | null;
2260
+ trade_item_key?: string;
2261
+ updated_at?: string;
2262
+ uploaded_by?: string | null;
2263
+ };
2264
+ Relationships: [];
2265
+ };
2227
2266
  customer_selected_assortment: {
2228
2267
  Row: {
2229
2268
  article_number: string | null;
@@ -2272,6 +2311,30 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
2272
2311
  referencedColumns: ["id"];
2273
2312
  }];
2274
2313
  };
2314
+ customer_sticker_settings: {
2315
+ Row: {
2316
+ created_at: string;
2317
+ customer_key: string;
2318
+ height_mm: number;
2319
+ updated_at: string;
2320
+ width_mm: number;
2321
+ };
2322
+ Insert: {
2323
+ created_at?: string;
2324
+ customer_key: string;
2325
+ height_mm?: number;
2326
+ updated_at?: string;
2327
+ width_mm?: number;
2328
+ };
2329
+ Update: {
2330
+ created_at?: string;
2331
+ customer_key?: string;
2332
+ height_mm?: number;
2333
+ updated_at?: string;
2334
+ width_mm?: number;
2335
+ };
2336
+ Relationships: [];
2337
+ };
2275
2338
  customer_trade_settings: {
2276
2339
  Row: {
2277
2340
  category: string;
@@ -5602,6 +5665,102 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
5602
5665
  referencedColumns: ["id"];
5603
5666
  }];
5604
5667
  };
5668
+ floriday_api_log: {
5669
+ Row: {
5670
+ action: string | null;
5671
+ caller: string | null;
5672
+ connection_id: string | null;
5673
+ created_at: string;
5674
+ cursor_from: number | null;
5675
+ direction: string;
5676
+ duration_ms: number | null;
5677
+ environment: string | null;
5678
+ error: string | null;
5679
+ floriday_id: string | null;
5680
+ floriday_reference: string | null;
5681
+ http_status: number;
5682
+ id: string;
5683
+ item_count: number | null;
5684
+ kind: string | null;
5685
+ local_id: string | null;
5686
+ local_reference: string | null;
5687
+ method: string;
5688
+ module: string | null;
5689
+ ok: boolean;
5690
+ path: string;
5691
+ request: import("../integrations/supabase/types").Json | null;
5692
+ resource_type: string | null;
5693
+ response: import("../integrations/supabase/types").Json | null;
5694
+ write_log_id: string | null;
5695
+ };
5696
+ Insert: {
5697
+ action?: string | null;
5698
+ caller?: string | null;
5699
+ connection_id?: string | null;
5700
+ created_at?: string;
5701
+ cursor_from?: number | null;
5702
+ direction: string;
5703
+ duration_ms?: number | null;
5704
+ environment?: string | null;
5705
+ error?: string | null;
5706
+ floriday_id?: string | null;
5707
+ floriday_reference?: string | null;
5708
+ http_status?: number;
5709
+ id?: string;
5710
+ item_count?: number | null;
5711
+ kind?: string | null;
5712
+ local_id?: string | null;
5713
+ local_reference?: string | null;
5714
+ method: string;
5715
+ module?: string | null;
5716
+ ok?: boolean;
5717
+ path: string;
5718
+ request?: import("../integrations/supabase/types").Json | null;
5719
+ resource_type?: string | null;
5720
+ response?: import("../integrations/supabase/types").Json | null;
5721
+ write_log_id?: string | null;
5722
+ };
5723
+ Update: {
5724
+ action?: string | null;
5725
+ caller?: string | null;
5726
+ connection_id?: string | null;
5727
+ created_at?: string;
5728
+ cursor_from?: number | null;
5729
+ direction?: string;
5730
+ duration_ms?: number | null;
5731
+ environment?: string | null;
5732
+ error?: string | null;
5733
+ floriday_id?: string | null;
5734
+ floriday_reference?: string | null;
5735
+ http_status?: number;
5736
+ id?: string;
5737
+ item_count?: number | null;
5738
+ kind?: string | null;
5739
+ local_id?: string | null;
5740
+ local_reference?: string | null;
5741
+ method?: string;
5742
+ module?: string | null;
5743
+ ok?: boolean;
5744
+ path?: string;
5745
+ request?: import("../integrations/supabase/types").Json | null;
5746
+ resource_type?: string | null;
5747
+ response?: import("../integrations/supabase/types").Json | null;
5748
+ write_log_id?: string | null;
5749
+ };
5750
+ Relationships: [{
5751
+ foreignKeyName: "floriday_api_log_connection_id_fkey";
5752
+ columns: ["connection_id"];
5753
+ isOneToOne: false;
5754
+ referencedRelation: "floriday_connections";
5755
+ referencedColumns: ["id"];
5756
+ }, {
5757
+ foreignKeyName: "floriday_api_log_write_log_id_fkey";
5758
+ columns: ["write_log_id"];
5759
+ isOneToOne: false;
5760
+ referencedRelation: "floriday_write_log";
5761
+ referencedColumns: ["id"];
5762
+ }];
5763
+ };
5605
5764
  floriday_auction_letters_cache: {
5606
5765
  Row: {
5607
5766
  auction_letter_code: string;
@@ -5809,6 +5968,84 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
5809
5968
  referencedColumns: ["id"];
5810
5969
  }];
5811
5970
  };
5971
+ floriday_catalog_prices_cache: {
5972
+ Row: {
5973
+ connection_id: string;
5974
+ created_at: string;
5975
+ currency: string;
5976
+ id: string;
5977
+ is_deleted: boolean;
5978
+ price: number | null;
5979
+ price_group_id: string | null;
5980
+ price_group_name: string | null;
5981
+ price_type: string;
5982
+ raw: import("../integrations/supabase/types").Json | null;
5983
+ sales_unit: string | null;
5984
+ sequence_number: number;
5985
+ supplier_article_code: string | null;
5986
+ supply_line_id: string;
5987
+ synced_at: string;
5988
+ trade_item_id: string | null;
5989
+ updated_at: string;
5990
+ valid_from: string | null;
5991
+ valid_to: string | null;
5992
+ week: number | null;
5993
+ year: number | null;
5994
+ };
5995
+ Insert: {
5996
+ connection_id: string;
5997
+ created_at?: string;
5998
+ currency?: string;
5999
+ id?: string;
6000
+ is_deleted?: boolean;
6001
+ price?: number | null;
6002
+ price_group_id?: string | null;
6003
+ price_group_name?: string | null;
6004
+ price_type?: string;
6005
+ raw?: import("../integrations/supabase/types").Json | null;
6006
+ sales_unit?: string | null;
6007
+ sequence_number?: number;
6008
+ supplier_article_code?: string | null;
6009
+ supply_line_id: string;
6010
+ synced_at?: string;
6011
+ trade_item_id?: string | null;
6012
+ updated_at?: string;
6013
+ valid_from?: string | null;
6014
+ valid_to?: string | null;
6015
+ week?: number | null;
6016
+ year?: number | null;
6017
+ };
6018
+ Update: {
6019
+ connection_id?: string;
6020
+ created_at?: string;
6021
+ currency?: string;
6022
+ id?: string;
6023
+ is_deleted?: boolean;
6024
+ price?: number | null;
6025
+ price_group_id?: string | null;
6026
+ price_group_name?: string | null;
6027
+ price_type?: string;
6028
+ raw?: import("../integrations/supabase/types").Json | null;
6029
+ sales_unit?: string | null;
6030
+ sequence_number?: number;
6031
+ supplier_article_code?: string | null;
6032
+ supply_line_id?: string;
6033
+ synced_at?: string;
6034
+ trade_item_id?: string | null;
6035
+ updated_at?: string;
6036
+ valid_from?: string | null;
6037
+ valid_to?: string | null;
6038
+ week?: number | null;
6039
+ year?: number | null;
6040
+ };
6041
+ Relationships: [{
6042
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
6043
+ columns: ["connection_id"];
6044
+ isOneToOne: false;
6045
+ referencedRelation: "floriday_connections";
6046
+ referencedColumns: ["id"];
6047
+ }];
6048
+ };
5812
6049
  floriday_clock_presales_cache: {
5813
6050
  Row: {
5814
6051
  buyer_organization_id: string | null;
@@ -6724,6 +6961,69 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
6724
6961
  referencedColumns: ["id"];
6725
6962
  }];
6726
6963
  };
6964
+ floriday_link_templates: {
6965
+ Row: {
6966
+ created_at: string;
6967
+ floriday_url_template: string | null;
6968
+ is_active: boolean;
6969
+ label: string;
6970
+ local_url_template: string | null;
6971
+ resource_type: string;
6972
+ updated_at: string;
6973
+ };
6974
+ Insert: {
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
+ Update: {
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
+ Relationships: [];
6993
+ };
6994
+ floriday_log_retention: {
6995
+ Row: {
6996
+ created_at: string;
6997
+ direction: string | null;
6998
+ id: string;
6999
+ keep_failed_days: number | null;
7000
+ keep_ok_days: number | null;
7001
+ note: string | null;
7002
+ resource_type: string | null;
7003
+ updated_at: string;
7004
+ };
7005
+ Insert: {
7006
+ created_at?: string;
7007
+ direction?: string | null;
7008
+ id?: string;
7009
+ keep_failed_days?: number | null;
7010
+ keep_ok_days?: number | null;
7011
+ note?: string | null;
7012
+ resource_type?: string | null;
7013
+ updated_at?: string;
7014
+ };
7015
+ Update: {
7016
+ created_at?: string;
7017
+ direction?: string | null;
7018
+ id?: string;
7019
+ keep_failed_days?: number | null;
7020
+ keep_ok_days?: number | null;
7021
+ note?: string | null;
7022
+ resource_type?: string | null;
7023
+ updated_at?: string;
7024
+ };
7025
+ Relationships: [];
7026
+ };
6727
7027
  floriday_logistic_labels_cache: {
6728
7028
  Row: {
6729
7029
  byte_size: number | null;
@@ -10077,22 +10377,31 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
10077
10377
  };
10078
10378
  logistics_floriday_push_refusals: {
10079
10379
  Row: {
10380
+ action: string | null;
10080
10381
  created_at: string;
10081
10382
  id: string;
10082
10383
  order_ref: string;
10083
10384
  reason: string;
10385
+ source_module: string | null;
10386
+ source_shell: string | null;
10084
10387
  };
10085
10388
  Insert: {
10389
+ action?: string | null;
10086
10390
  created_at?: string;
10087
10391
  id?: string;
10088
10392
  order_ref: string;
10089
10393
  reason: string;
10394
+ source_module?: string | null;
10395
+ source_shell?: string | null;
10090
10396
  };
10091
10397
  Update: {
10398
+ action?: string | null;
10092
10399
  created_at?: string;
10093
10400
  id?: string;
10094
10401
  order_ref?: string;
10095
10402
  reason?: string;
10403
+ source_module?: string | null;
10404
+ source_shell?: string | null;
10096
10405
  };
10097
10406
  Relationships: [];
10098
10407
  };
@@ -10171,6 +10480,42 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
10171
10480
  };
10172
10481
  Relationships: [];
10173
10482
  };
10483
+ logistics_floriday_status_sends: {
10484
+ Row: {
10485
+ action: string;
10486
+ created_at: string;
10487
+ detail: string | null;
10488
+ http_status: number | null;
10489
+ id: string;
10490
+ ok: boolean;
10491
+ order_ref: string;
10492
+ source_module: string | null;
10493
+ source_shell: string | null;
10494
+ };
10495
+ Insert: {
10496
+ action: string;
10497
+ created_at?: string;
10498
+ detail?: string | null;
10499
+ http_status?: number | null;
10500
+ id?: string;
10501
+ ok?: boolean;
10502
+ order_ref: string;
10503
+ source_module?: string | null;
10504
+ source_shell?: string | null;
10505
+ };
10506
+ Update: {
10507
+ action?: string;
10508
+ created_at?: string;
10509
+ detail?: string | null;
10510
+ http_status?: number | null;
10511
+ id?: string;
10512
+ ok?: boolean;
10513
+ order_ref?: string;
10514
+ source_module?: string | null;
10515
+ source_shell?: string | null;
10516
+ };
10517
+ Relationships: [];
10518
+ };
10174
10519
  logistics_formulas: {
10175
10520
  Row: {
10176
10521
  created_at: string;
@@ -10243,6 +10588,108 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
10243
10588
  };
10244
10589
  Relationships: [];
10245
10590
  };
10591
+ logistics_opening_exceptions: {
10592
+ Row: {
10593
+ closes: string | null;
10594
+ created_at: string;
10595
+ day: string;
10596
+ id: string;
10597
+ is_closed: boolean;
10598
+ note: string | null;
10599
+ opens: string | null;
10600
+ };
10601
+ Insert: {
10602
+ closes?: string | null;
10603
+ created_at?: string;
10604
+ day: string;
10605
+ id?: string;
10606
+ is_closed?: boolean;
10607
+ note?: string | null;
10608
+ opens?: string | null;
10609
+ };
10610
+ Update: {
10611
+ closes?: string | null;
10612
+ created_at?: string;
10613
+ day?: string;
10614
+ id?: string;
10615
+ is_closed?: boolean;
10616
+ note?: string | null;
10617
+ opens?: string | null;
10618
+ };
10619
+ Relationships: [];
10620
+ };
10621
+ logistics_opening_hours: {
10622
+ Row: {
10623
+ closes: string;
10624
+ created_at: string;
10625
+ id: string;
10626
+ is_active: boolean;
10627
+ note: string | null;
10628
+ opens: string;
10629
+ weekday: number;
10630
+ };
10631
+ Insert: {
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
+ Update: {
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
+ Relationships: [];
10650
+ };
10651
+ logistics_pick_data_requests: {
10652
+ Row: {
10653
+ actions: import("../integrations/supabase/types").Json;
10654
+ created_at: string;
10655
+ event_id: string | null;
10656
+ finished_at: string | null;
10657
+ id: string;
10658
+ missing: import("../integrations/supabase/types").Json;
10659
+ order_ref: string;
10660
+ reason: string | null;
10661
+ result: import("../integrations/supabase/types").Json | null;
10662
+ status: string;
10663
+ unit_ref: string | null;
10664
+ };
10665
+ Insert: {
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
+ Update: {
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
+ Relationships: [];
10692
+ };
10246
10693
  logistics_pickup_moments: {
10247
10694
  Row: {
10248
10695
  carrier_ref: string | null;
@@ -10702,6 +11149,69 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
10702
11149
  };
10703
11150
  Relationships: [];
10704
11151
  };
11152
+ logistics_slip_shipping_note: {
11153
+ Row: {
11154
+ attempts: number;
11155
+ batch_key: string | null;
11156
+ cart_id: string | null;
11157
+ created_at: string;
11158
+ error: string | null;
11159
+ error_code: string | null;
11160
+ fulfillment_order_id: string | null;
11161
+ id: string;
11162
+ locked_until: string | null;
11163
+ next_attempt_at: string | null;
11164
+ order_id: string | null;
11165
+ order_number: string | null;
11166
+ print_job_id: string | null;
11167
+ printer_id: string | null;
11168
+ retry_class: string | null;
11169
+ slip_job_id: string;
11170
+ status: string;
11171
+ updated_at: string;
11172
+ };
11173
+ Insert: {
11174
+ attempts?: number;
11175
+ batch_key?: string | null;
11176
+ cart_id?: string | null;
11177
+ created_at?: string;
11178
+ error?: string | null;
11179
+ error_code?: string | null;
11180
+ fulfillment_order_id?: string | null;
11181
+ id?: string;
11182
+ locked_until?: string | null;
11183
+ next_attempt_at?: string | null;
11184
+ order_id?: string | null;
11185
+ order_number?: string | null;
11186
+ print_job_id?: string | null;
11187
+ printer_id?: string | null;
11188
+ retry_class?: string | null;
11189
+ slip_job_id: string;
11190
+ status?: string;
11191
+ updated_at?: string;
11192
+ };
11193
+ Update: {
11194
+ attempts?: number;
11195
+ batch_key?: string | null;
11196
+ cart_id?: string | null;
11197
+ created_at?: string;
11198
+ error?: string | null;
11199
+ error_code?: string | null;
11200
+ fulfillment_order_id?: string | null;
11201
+ id?: string;
11202
+ locked_until?: string | null;
11203
+ next_attempt_at?: string | null;
11204
+ order_id?: string | null;
11205
+ order_number?: string | null;
11206
+ print_job_id?: string | null;
11207
+ printer_id?: string | null;
11208
+ retry_class?: string | null;
11209
+ slip_job_id?: string;
11210
+ status?: string;
11211
+ updated_at?: string;
11212
+ };
11213
+ Relationships: [];
11214
+ };
10705
11215
  logistics_staff_planning: {
10706
11216
  Row: {
10707
11217
  created_at: string;
@@ -11035,6 +11545,129 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
11035
11545
  };
11036
11546
  Relationships: [];
11037
11547
  };
11548
+ logistics_time_settings: {
11549
+ Row: {
11550
+ id: boolean;
11551
+ timezone: string;
11552
+ updated_at: string;
11553
+ };
11554
+ Insert: {
11555
+ id?: boolean;
11556
+ timezone: string;
11557
+ updated_at?: string;
11558
+ };
11559
+ Update: {
11560
+ id?: boolean;
11561
+ timezone?: string;
11562
+ updated_at?: string;
11563
+ };
11564
+ Relationships: [];
11565
+ };
11566
+ logistics_trace_events: {
11567
+ Row: {
11568
+ actor: string | null;
11569
+ attempts: number;
11570
+ cart_ref: string | null;
11571
+ created_at: string;
11572
+ db_action: string | null;
11573
+ db_new: import("../integrations/supabase/types").Json | null;
11574
+ db_old: import("../integrations/supabase/types").Json | null;
11575
+ db_record: string | null;
11576
+ db_table: string | null;
11577
+ decision: string | null;
11578
+ duration_ms: number | null;
11579
+ error: string | null;
11580
+ external_action: string | null;
11581
+ external_ref: string | null;
11582
+ external_response: import("../integrations/supabase/types").Json | null;
11583
+ external_status: string | null;
11584
+ external_system: string | null;
11585
+ id: string;
11586
+ input: import("../integrations/supabase/types").Json | null;
11587
+ next_attempt_at: string | null;
11588
+ order_ref: string | null;
11589
+ order_source: string | null;
11590
+ output: import("../integrations/supabase/types").Json | null;
11591
+ phase: string;
11592
+ reads: import("../integrations/supabase/types").Json | null;
11593
+ reason: string | null;
11594
+ rule: string | null;
11595
+ slip_ref: string | null;
11596
+ status: string;
11597
+ step: string;
11598
+ trace_id: string;
11599
+ values_used: import("../integrations/supabase/types").Json | null;
11600
+ };
11601
+ Insert: {
11602
+ actor?: string | null;
11603
+ attempts?: number;
11604
+ cart_ref?: string | null;
11605
+ created_at?: string;
11606
+ db_action?: string | null;
11607
+ db_new?: import("../integrations/supabase/types").Json | null;
11608
+ db_old?: import("../integrations/supabase/types").Json | null;
11609
+ db_record?: string | null;
11610
+ db_table?: string | null;
11611
+ decision?: string | null;
11612
+ duration_ms?: number | null;
11613
+ error?: string | null;
11614
+ external_action?: string | null;
11615
+ external_ref?: string | null;
11616
+ external_response?: import("../integrations/supabase/types").Json | null;
11617
+ external_status?: string | null;
11618
+ external_system?: string | null;
11619
+ id?: string;
11620
+ input?: import("../integrations/supabase/types").Json | null;
11621
+ next_attempt_at?: string | null;
11622
+ order_ref?: string | null;
11623
+ order_source?: string | null;
11624
+ output?: import("../integrations/supabase/types").Json | null;
11625
+ phase: string;
11626
+ reads?: import("../integrations/supabase/types").Json | null;
11627
+ reason?: string | null;
11628
+ rule?: string | null;
11629
+ slip_ref?: string | null;
11630
+ status: string;
11631
+ step: string;
11632
+ trace_id?: string;
11633
+ values_used?: import("../integrations/supabase/types").Json | null;
11634
+ };
11635
+ Update: {
11636
+ actor?: string | null;
11637
+ attempts?: number;
11638
+ cart_ref?: string | null;
11639
+ created_at?: string;
11640
+ db_action?: string | null;
11641
+ db_new?: import("../integrations/supabase/types").Json | null;
11642
+ db_old?: import("../integrations/supabase/types").Json | null;
11643
+ db_record?: string | null;
11644
+ db_table?: string | null;
11645
+ decision?: string | null;
11646
+ duration_ms?: number | null;
11647
+ error?: string | null;
11648
+ external_action?: string | null;
11649
+ external_ref?: string | null;
11650
+ external_response?: import("../integrations/supabase/types").Json | null;
11651
+ external_status?: string | null;
11652
+ external_system?: string | null;
11653
+ id?: string;
11654
+ input?: import("../integrations/supabase/types").Json | null;
11655
+ next_attempt_at?: string | null;
11656
+ order_ref?: string | null;
11657
+ order_source?: string | null;
11658
+ output?: import("../integrations/supabase/types").Json | null;
11659
+ phase?: string;
11660
+ reads?: import("../integrations/supabase/types").Json | null;
11661
+ reason?: string | null;
11662
+ rule?: string | null;
11663
+ slip_ref?: string | null;
11664
+ status?: string;
11665
+ step?: string;
11666
+ trace_id?: string;
11667
+ values_used?: import("../integrations/supabase/types").Json | null;
11668
+ };
11669
+ Relationships: [];
11670
+ };
11038
11671
  logistics_variables: {
11039
11672
  Row: {
11040
11673
  created_at: string;
@@ -13425,6 +14058,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
13425
14058
  customer_name: string;
13426
14059
  deleted_at: string | null;
13427
14060
  delivery_date: string | null;
14061
+ floriday_order_group_key: string | null;
13428
14062
  floriday_sales_order_id: string | null;
13429
14063
  id: string;
13430
14064
  invoice_due_at: string | null;
@@ -13452,6 +14086,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
13452
14086
  customer_name?: string;
13453
14087
  deleted_at?: string | null;
13454
14088
  delivery_date?: string | null;
14089
+ floriday_order_group_key?: string | null;
13455
14090
  floriday_sales_order_id?: string | null;
13456
14091
  id?: string;
13457
14092
  invoice_due_at?: string | null;
@@ -13479,6 +14114,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
13479
14114
  customer_name?: string;
13480
14115
  deleted_at?: string | null;
13481
14116
  delivery_date?: string | null;
14117
+ floriday_order_group_key?: string | null;
13482
14118
  floriday_sales_order_id?: string | null;
13483
14119
  id?: string;
13484
14120
  invoice_due_at?: string | null;
@@ -21604,6 +22240,15 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
21604
22240
  Args: never;
21605
22241
  Returns: boolean;
21606
22242
  };
22243
+ cancel_open_print_jobs: {
22244
+ Args: {
22245
+ _cutoff: string;
22246
+ };
22247
+ Returns: {
22248
+ extern_job_id: string;
22249
+ id: string;
22250
+ }[];
22251
+ };
21607
22252
  check_offer_product_available_stock: {
21608
22253
  Args: {
21609
22254
  p_campaign_product_id: string;
@@ -23142,6 +23787,12 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23142
23787
  };
23143
23788
  Returns: string;
23144
23789
  };
23790
+ logistics_cart_checkin_at: {
23791
+ Args: {
23792
+ p_cart_id: string;
23793
+ };
23794
+ Returns: string;
23795
+ };
23145
23796
  logistics_cart_handled: {
23146
23797
  Args: {
23147
23798
  p_cart_index: number;
@@ -23175,10 +23826,22 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23175
23826
  task_status: string;
23176
23827
  }[];
23177
23828
  };
23829
+ logistics_cart_is_full: {
23830
+ Args: {
23831
+ p_cart_id: string;
23832
+ };
23833
+ Returns: boolean;
23834
+ };
23178
23835
  logistics_cart_layout_method: {
23179
23836
  Args: never;
23180
23837
  Returns: import("../integrations/supabase/types").Json;
23181
23838
  };
23839
+ logistics_cart_order_refs: {
23840
+ Args: {
23841
+ p_cart_id: string;
23842
+ };
23843
+ Returns: string[];
23844
+ };
23182
23845
  logistics_cart_plan_overview: {
23183
23846
  Args: {
23184
23847
  p_days?: number;
@@ -23198,6 +23861,24 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23198
23861
  };
23199
23862
  Returns: import("../integrations/supabase/types").Json;
23200
23863
  };
23864
+ logistics_cart_plan_status_core: {
23865
+ Args: {
23866
+ p_ref: string;
23867
+ };
23868
+ Returns: import("../integrations/supabase/types").Json;
23869
+ };
23870
+ logistics_cart_release_reason: {
23871
+ Args: {
23872
+ p_cart_id: string;
23873
+ };
23874
+ Returns: string;
23875
+ };
23876
+ logistics_cart_released: {
23877
+ Args: {
23878
+ p_cart_id: string;
23879
+ };
23880
+ Returns: boolean;
23881
+ };
23201
23882
  logistics_cart_seq: {
23202
23883
  Args: {
23203
23884
  p_order_uuid?: string;
@@ -23248,6 +23929,10 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23248
23929
  unit_ref: string;
23249
23930
  }[];
23250
23931
  };
23932
+ logistics_carts_per_print: {
23933
+ Args: never;
23934
+ Returns: number;
23935
+ };
23251
23936
  logistics_check_order_allowed: {
23252
23937
  Args: {
23253
23938
  p_lines: import("../integrations/supabase/types").Json;
@@ -23351,6 +24036,10 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23351
24036
  isSetofReturn: false;
23352
24037
  };
23353
24038
  };
24039
+ logistics_cleanup_orphan_print_jobs: {
24040
+ Args: never;
24041
+ Returns: import("../integrations/supabase/types").Json;
24042
+ };
23354
24043
  logistics_complete_task: {
23355
24044
  Args: {
23356
24045
  p_result?: import("../integrations/supabase/types").Json;
@@ -23413,6 +24102,12 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23413
24102
  station_carts: number;
23414
24103
  }[];
23415
24104
  };
24105
+ logistics_control_complete_cart: {
24106
+ Args: {
24107
+ p_cart_id: string;
24108
+ };
24109
+ Returns: number;
24110
+ };
23416
24111
  logistics_control_scan_approve: {
23417
24112
  Args: {
23418
24113
  p_allow_reprint?: boolean;
@@ -23492,6 +24187,15 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23492
24187
  Args: never;
23493
24188
  Returns: import("../integrations/supabase/types").Json;
23494
24189
  };
24190
+ logistics_day_windows: {
24191
+ Args: {
24192
+ p_day: string;
24193
+ };
24194
+ Returns: {
24195
+ win_end: string;
24196
+ win_start: string;
24197
+ }[];
24198
+ };
23495
24199
  logistics_delay_customer_email: {
23496
24200
  Args: {
23497
24201
  p_customer: string;
@@ -23559,6 +24263,17 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23559
24263
  };
23560
24264
  Returns: import("../integrations/supabase/types").Json;
23561
24265
  };
24266
+ logistics_enqueue_shipping_note_with_slip: {
24267
+ Args: {
24268
+ _cart_id: string;
24269
+ _is_herprint: boolean;
24270
+ _printer_id: string;
24271
+ _queue_item_id: string;
24272
+ _session_id: string;
24273
+ _slip_job_id: string;
24274
+ };
24275
+ Returns: string;
24276
+ };
23562
24277
  logistics_enqueue_sticker_with_slip: {
23563
24278
  Args: {
23564
24279
  _cart_id: string;
@@ -23576,6 +24291,20 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23576
24291
  };
23577
24292
  Returns: string;
23578
24293
  };
24294
+ logistics_ensure_pick_data: {
24295
+ Args: {
24296
+ p_event_id?: string;
24297
+ p_missing?: import("../integrations/supabase/types").Json;
24298
+ p_ref: string;
24299
+ };
24300
+ Returns: import("../integrations/supabase/types").Json;
24301
+ };
24302
+ logistics_ensure_shipping_notes: {
24303
+ Args: {
24304
+ p_limit?: number;
24305
+ };
24306
+ Returns: import("../integrations/supabase/types").Json;
24307
+ };
23579
24308
  logistics_fail_task: {
23580
24309
  Args: {
23581
24310
  p_error: string;
@@ -23621,6 +24350,10 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23621
24350
  isSetofReturn: false;
23622
24351
  };
23623
24352
  };
24353
+ logistics_fix_wrong_shipping_notes: {
24354
+ Args: never;
24355
+ Returns: import("../integrations/supabase/types").Json;
24356
+ };
23624
24357
  logistics_floriday_cart_plan: {
23625
24358
  Args: {
23626
24359
  p_order_id: string;
@@ -23648,6 +24381,10 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23648
24381
  revision: number;
23649
24382
  }[];
23650
24383
  };
24384
+ logistics_floriday_delivery_note_create_enabled: {
24385
+ Args: never;
24386
+ Returns: boolean;
24387
+ };
23651
24388
  logistics_floriday_finish_push: {
23652
24389
  Args: {
23653
24390
  _error?: string;
@@ -23697,6 +24434,32 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23697
24434
  };
23698
24435
  Returns: string;
23699
24436
  };
24437
+ logistics_floriday_gate_status: {
24438
+ Args: never;
24439
+ Returns: import("../integrations/supabase/types").Json;
24440
+ };
24441
+ logistics_floriday_log_refusal: {
24442
+ Args: {
24443
+ _action?: string;
24444
+ _module?: string;
24445
+ _order_ref: string;
24446
+ _reason: string;
24447
+ _shell?: string;
24448
+ };
24449
+ Returns: undefined;
24450
+ };
24451
+ logistics_floriday_log_send: {
24452
+ Args: {
24453
+ _action: string;
24454
+ _detail?: string;
24455
+ _http_status?: number;
24456
+ _module?: string;
24457
+ _ok: boolean;
24458
+ _order_ref: string;
24459
+ _shell?: string;
24460
+ };
24461
+ Returns: undefined;
24462
+ };
23700
24463
  logistics_floriday_order_approved: {
23701
24464
  Args: {
23702
24465
  _order_ref: string;
@@ -23721,6 +24484,16 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23721
24484
  Args: never;
23722
24485
  Returns: boolean;
23723
24486
  };
24487
+ logistics_floriday_stock_updates_enabled: {
24488
+ Args: never;
24489
+ Returns: boolean;
24490
+ };
24491
+ logistics_floriday_write_allowed: {
24492
+ Args: {
24493
+ _action: string;
24494
+ };
24495
+ Returns: boolean;
24496
+ };
23724
24497
  logistics_fulfill_barcode_requests: {
23725
24498
  Args: {
23726
24499
  p_limit?: number;
@@ -23763,6 +24536,12 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23763
24536
  };
23764
24537
  Returns: number;
23765
24538
  };
24539
+ logistics_merge_partial_carts: {
24540
+ Args: {
24541
+ p_limit?: number;
24542
+ };
24543
+ Returns: import("../integrations/supabase/types").Json;
24544
+ };
23766
24545
  logistics_next_workday_date: {
23767
24546
  Args: {
23768
24547
  p_date: string;
@@ -23789,6 +24568,10 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23789
24568
  };
23790
24569
  Returns: string;
23791
24570
  };
24571
+ logistics_opening_timezone: {
24572
+ Args: never;
24573
+ Returns: string;
24574
+ };
23792
24575
  logistics_order_cart_count: {
23793
24576
  Args: {
23794
24577
  p_order_ref: string;
@@ -23845,6 +24628,12 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23845
24628
  };
23846
24629
  Returns: string;
23847
24630
  };
24631
+ logistics_payload_is_floriday: {
24632
+ Args: {
24633
+ _payload: import("../integrations/supabase/types").Json;
24634
+ };
24635
+ Returns: boolean;
24636
+ };
23848
24637
  logistics_pick_agenda: {
23849
24638
  Args: {
23850
24639
  p_from?: string;
@@ -23873,6 +24662,10 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23873
24662
  Args: never;
23874
24663
  Returns: import("../integrations/supabase/types").Json;
23875
24664
  };
24665
+ logistics_pick_partial_mode: {
24666
+ Args: never;
24667
+ Returns: string;
24668
+ };
23876
24669
  logistics_pick_start_estimate: {
23877
24670
  Args: {
23878
24671
  p_order: import("../integrations/supabase/types").Json;
@@ -23963,6 +24756,20 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23963
24756
  Args: never;
23964
24757
  Returns: undefined;
23965
24758
  };
24759
+ logistics_plan_progress: {
24760
+ Args: {
24761
+ p_refs: string[];
24762
+ };
24763
+ Returns: {
24764
+ cart_plan_ready: boolean;
24765
+ cart_plan_reason: string;
24766
+ cart_plan_released: boolean;
24767
+ plan_progress: number;
24768
+ plan_state: string;
24769
+ plan_state_since: string;
24770
+ unit_ref: string;
24771
+ }[];
24772
+ };
23966
24773
  logistics_plan_prune: {
23967
24774
  Args: never;
23968
24775
  Returns: number;
@@ -23984,6 +24791,18 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23984
24791
  };
23985
24792
  Returns: number;
23986
24793
  };
24794
+ logistics_plan_state_for: {
24795
+ Args: {
24796
+ p_ref: string;
24797
+ };
24798
+ Returns: import("../integrations/supabase/types").Json;
24799
+ };
24800
+ logistics_prepare_pick_documents: {
24801
+ Args: {
24802
+ p_limit?: number;
24803
+ };
24804
+ Returns: import("../integrations/supabase/types").Json;
24805
+ };
23987
24806
  logistics_prune_buffer_member_queue: {
23988
24807
  Args: never;
23989
24808
  Returns: number;
@@ -24024,18 +24843,36 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
24024
24843
  Args: never;
24025
24844
  Returns: import("../integrations/supabase/types").Json;
24026
24845
  };
24846
+ logistics_refresh_pick_queue_status: {
24847
+ Args: {
24848
+ p_ref: string;
24849
+ };
24850
+ Returns: number;
24851
+ };
24027
24852
  logistics_refresh_pickup_moments: {
24028
24853
  Args: {
24029
24854
  p_weeks?: number;
24030
24855
  };
24031
24856
  Returns: import("../integrations/supabase/types").Json;
24032
24857
  };
24858
+ logistics_refresh_plan_state: {
24859
+ Args: {
24860
+ p_limit?: number;
24861
+ };
24862
+ Returns: import("../integrations/supabase/types").Json;
24863
+ };
24033
24864
  logistics_replan_all: {
24034
24865
  Args: {
24035
24866
  p_reason?: string;
24036
24867
  };
24037
24868
  Returns: import("../integrations/supabase/types").Json;
24038
24869
  };
24870
+ logistics_replan_all_force: {
24871
+ Args: {
24872
+ p_reason?: string;
24873
+ };
24874
+ Returns: import("../integrations/supabase/types").Json;
24875
+ };
24039
24876
  logistics_report_delay: {
24040
24877
  Args: {
24041
24878
  p_expected_date?: string;
@@ -24180,6 +25017,10 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
24180
25017
  };
24181
25018
  Returns: string;
24182
25019
  };
25020
+ logistics_shipping_note_follows_slip: {
25021
+ Args: never;
25022
+ Returns: boolean;
25023
+ };
24183
25024
  logistics_shipping_note_from_barcode: {
24184
25025
  Args: {
24185
25026
  p_allow_reprint?: boolean;
@@ -24188,10 +25029,86 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
24188
25029
  };
24189
25030
  Returns: import("../integrations/supabase/types").Json;
24190
25031
  };
25032
+ logistics_shipping_note_job_for_slip: {
25033
+ Args: {
25034
+ _slip_job_id: string;
25035
+ };
25036
+ Returns: string;
25037
+ };
25038
+ logistics_shipping_notes_wake_all: {
25039
+ Args: never;
25040
+ Returns: import("../integrations/supabase/types").Json;
25041
+ };
25042
+ logistics_slip_is_floriday: {
25043
+ Args: {
25044
+ _slip_job_id: string;
25045
+ };
25046
+ Returns: boolean;
25047
+ };
25048
+ logistics_slip_note_claim: {
25049
+ Args: {
25050
+ _lease_seconds?: number;
25051
+ _limit?: number;
25052
+ };
25053
+ Returns: {
25054
+ attempts: number;
25055
+ batch_key: string | null;
25056
+ cart_id: string | null;
25057
+ created_at: string;
25058
+ error: string | null;
25059
+ error_code: string | null;
25060
+ fulfillment_order_id: string | null;
25061
+ id: string;
25062
+ locked_until: string | null;
25063
+ next_attempt_at: string | null;
25064
+ order_id: string | null;
25065
+ order_number: string | null;
25066
+ print_job_id: string | null;
25067
+ printer_id: string | null;
25068
+ retry_class: string | null;
25069
+ slip_job_id: string;
25070
+ status: string;
25071
+ updated_at: string;
25072
+ }[];
25073
+ SetofOptions: {
25074
+ from: "*";
25075
+ to: "logistics_slip_shipping_note";
25076
+ isOneToOne: false;
25077
+ isSetofReturn: true;
25078
+ };
25079
+ };
25080
+ logistics_slip_note_finish: {
25081
+ Args: {
25082
+ _error?: string;
25083
+ _error_code?: string;
25084
+ _fulfillment_order_id?: string;
25085
+ _id: string;
25086
+ _ok: boolean;
25087
+ _print_job_id?: string;
25088
+ _status?: string;
25089
+ };
25090
+ Returns: undefined;
25091
+ };
25092
+ logistics_slip_note_keep_waiting: {
25093
+ Args: {
25094
+ _class?: string;
25095
+ _id: string;
25096
+ _reason: string;
25097
+ };
25098
+ Returns: undefined;
25099
+ };
24191
25100
  logistics_sticker_follows_slip: {
24192
25101
  Args: never;
24193
25102
  Returns: boolean;
24194
25103
  };
25104
+ logistics_subtract_working_minutes: {
25105
+ Args: {
25106
+ p_deadline: string;
25107
+ p_max_workdays?: number;
25108
+ p_minutes: number;
25109
+ };
25110
+ Returns: import("../integrations/supabase/types").Json;
25111
+ };
24195
25112
  logistics_supersede_stale_tasks: {
24196
25113
  Args: {
24197
25114
  p_keep: string[];
@@ -24228,6 +25145,46 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
24228
25145
  Args: never;
24229
25146
  Returns: string;
24230
25147
  };
25148
+ logistics_timezone_options: {
25149
+ Args: never;
25150
+ Returns: {
25151
+ name: string;
25152
+ }[];
25153
+ };
25154
+ logistics_trace: {
25155
+ Args: {
25156
+ p: import("../integrations/supabase/types").Json;
25157
+ };
25158
+ Returns: string;
25159
+ };
25160
+ logistics_trace_batch: {
25161
+ Args: {
25162
+ p: import("../integrations/supabase/types").Json;
25163
+ };
25164
+ Returns: number;
25165
+ };
25166
+ logistics_trace_orders: {
25167
+ Args: {
25168
+ p_limit?: number;
25169
+ p_search?: string;
25170
+ p_since?: string;
25171
+ p_status?: string;
25172
+ };
25173
+ Returns: import("../integrations/supabase/types").Json;
25174
+ };
25175
+ logistics_trace_redact: {
25176
+ Args: {
25177
+ p: import("../integrations/supabase/types").Json;
25178
+ };
25179
+ Returns: import("../integrations/supabase/types").Json;
25180
+ };
25181
+ logistics_trace_timeline: {
25182
+ Args: {
25183
+ p_limit?: number;
25184
+ p_order_ref: string;
25185
+ };
25186
+ Returns: import("../integrations/supabase/types").Json;
25187
+ };
24231
25188
  logistics_upsert_task: {
24232
25189
  Args: {
24233
25190
  p_buffer_ref: string;
@@ -24247,6 +25204,16 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
24247
25204
  };
24248
25205
  Returns: string;
24249
25206
  };
25207
+ logistics_valid_timezone: {
25208
+ Args: {
25209
+ _tz: string;
25210
+ };
25211
+ Returns: boolean;
25212
+ };
25213
+ logistics_working_hours_status: {
25214
+ Args: never;
25215
+ Returns: import("../integrations/supabase/types").Json;
25216
+ };
24250
25217
  logistics_write_buffer_layer_positions: {
24251
25218
  Args: {
24252
25219
  p_buffer_id: string;
@@ -25259,6 +26226,10 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
25259
26226
  };
25260
26227
  Returns: undefined;
25261
26228
  };
26229
+ prune_floriday_api_log: {
26230
+ Args: never;
26231
+ Returns: number;
26232
+ };
25262
26233
  quote_create_from_source: {
25263
26234
  Args: {
25264
26235
  _payload?: import("../integrations/supabase/types").Json;
@@ -25692,6 +26663,13 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
25692
26663
  };
25693
26664
  Returns: number;
25694
26665
  };
26666
+ schedule_floriday_catalog_prices_sync: {
26667
+ Args: {
26668
+ p_apikey: string;
26669
+ p_url: string;
26670
+ };
26671
+ Returns: number;
26672
+ };
25695
26673
  schedule_floriday_clock_presales_sync: {
25696
26674
  Args: {
25697
26675
  p_apikey: string;
@@ -25992,6 +26970,10 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
25992
26970
  };
25993
26971
  Returns: undefined;
25994
26972
  };
26973
+ sync_floriday_prices_into_price_groups: {
26974
+ Args: never;
26975
+ Returns: number;
26976
+ };
25995
26977
  sync_layer_stock: {
25996
26978
  Args: {
25997
26979
  p_product_id: string;
@@ -26124,6 +27106,10 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
26124
27106
  Args: never;
26125
27107
  Returns: string;
26126
27108
  };
27109
+ voorraad_cleanup_old_rows: {
27110
+ Args: never;
27111
+ Returns: import("../integrations/supabase/types").Json;
27112
+ };
26127
27113
  wake_print_queue: {
26128
27114
  Args: {
26129
27115
  _min_interval_ms?: number;
@@ -28422,6 +29408,45 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
28422
29408
  };
28423
29409
  Relationships: [];
28424
29410
  };
29411
+ customer_product_stickers: {
29412
+ Row: {
29413
+ created_at: string;
29414
+ customer_key: string;
29415
+ file_name: string;
29416
+ file_path: string;
29417
+ file_size: number | null;
29418
+ id: string;
29419
+ mime_type: string | null;
29420
+ trade_item_key: string;
29421
+ updated_at: string;
29422
+ uploaded_by: string | null;
29423
+ };
29424
+ Insert: {
29425
+ created_at?: string;
29426
+ customer_key: string;
29427
+ file_name: string;
29428
+ file_path: string;
29429
+ file_size?: number | null;
29430
+ id?: string;
29431
+ mime_type?: string | null;
29432
+ trade_item_key: string;
29433
+ updated_at?: string;
29434
+ uploaded_by?: string | null;
29435
+ };
29436
+ Update: {
29437
+ created_at?: string;
29438
+ customer_key?: string;
29439
+ file_name?: string;
29440
+ file_path?: string;
29441
+ file_size?: number | null;
29442
+ id?: string;
29443
+ mime_type?: string | null;
29444
+ trade_item_key?: string;
29445
+ updated_at?: string;
29446
+ uploaded_by?: string | null;
29447
+ };
29448
+ Relationships: [];
29449
+ };
28425
29450
  customer_selected_assortment: {
28426
29451
  Row: {
28427
29452
  article_number: string | null;
@@ -28470,6 +29495,30 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
28470
29495
  referencedColumns: ["id"];
28471
29496
  }];
28472
29497
  };
29498
+ customer_sticker_settings: {
29499
+ Row: {
29500
+ created_at: string;
29501
+ customer_key: string;
29502
+ height_mm: number;
29503
+ updated_at: string;
29504
+ width_mm: number;
29505
+ };
29506
+ Insert: {
29507
+ created_at?: string;
29508
+ customer_key: string;
29509
+ height_mm?: number;
29510
+ updated_at?: string;
29511
+ width_mm?: number;
29512
+ };
29513
+ Update: {
29514
+ created_at?: string;
29515
+ customer_key?: string;
29516
+ height_mm?: number;
29517
+ updated_at?: string;
29518
+ width_mm?: number;
29519
+ };
29520
+ Relationships: [];
29521
+ };
28473
29522
  customer_trade_settings: {
28474
29523
  Row: {
28475
29524
  category: string;
@@ -31800,6 +32849,102 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
31800
32849
  referencedColumns: ["id"];
31801
32850
  }];
31802
32851
  };
32852
+ floriday_api_log: {
32853
+ Row: {
32854
+ action: string | null;
32855
+ caller: string | null;
32856
+ connection_id: string | null;
32857
+ created_at: string;
32858
+ cursor_from: number | null;
32859
+ direction: string;
32860
+ duration_ms: number | null;
32861
+ environment: string | null;
32862
+ error: string | null;
32863
+ floriday_id: string | null;
32864
+ floriday_reference: string | null;
32865
+ http_status: number;
32866
+ id: string;
32867
+ item_count: number | null;
32868
+ kind: string | null;
32869
+ local_id: string | null;
32870
+ local_reference: string | null;
32871
+ method: string;
32872
+ module: string | null;
32873
+ ok: boolean;
32874
+ path: string;
32875
+ request: import("../integrations/supabase/types").Json | null;
32876
+ resource_type: string | null;
32877
+ response: import("../integrations/supabase/types").Json | null;
32878
+ write_log_id: string | null;
32879
+ };
32880
+ Insert: {
32881
+ action?: string | null;
32882
+ caller?: string | null;
32883
+ connection_id?: string | null;
32884
+ created_at?: string;
32885
+ cursor_from?: number | null;
32886
+ direction: string;
32887
+ duration_ms?: number | null;
32888
+ environment?: string | null;
32889
+ error?: string | null;
32890
+ floriday_id?: string | null;
32891
+ floriday_reference?: string | null;
32892
+ http_status?: number;
32893
+ id?: string;
32894
+ item_count?: number | null;
32895
+ kind?: string | null;
32896
+ local_id?: string | null;
32897
+ local_reference?: string | null;
32898
+ method: string;
32899
+ module?: string | null;
32900
+ ok?: boolean;
32901
+ path: string;
32902
+ request?: import("../integrations/supabase/types").Json | null;
32903
+ resource_type?: string | null;
32904
+ response?: import("../integrations/supabase/types").Json | null;
32905
+ write_log_id?: string | null;
32906
+ };
32907
+ Update: {
32908
+ action?: string | null;
32909
+ caller?: string | null;
32910
+ connection_id?: string | null;
32911
+ created_at?: string;
32912
+ cursor_from?: number | null;
32913
+ direction?: string;
32914
+ duration_ms?: number | null;
32915
+ environment?: string | null;
32916
+ error?: string | null;
32917
+ floriday_id?: string | null;
32918
+ floriday_reference?: string | null;
32919
+ http_status?: number;
32920
+ id?: string;
32921
+ item_count?: number | null;
32922
+ kind?: string | null;
32923
+ local_id?: string | null;
32924
+ local_reference?: string | null;
32925
+ method?: string;
32926
+ module?: string | null;
32927
+ ok?: boolean;
32928
+ path?: string;
32929
+ request?: import("../integrations/supabase/types").Json | null;
32930
+ resource_type?: string | null;
32931
+ response?: import("../integrations/supabase/types").Json | null;
32932
+ write_log_id?: string | null;
32933
+ };
32934
+ Relationships: [{
32935
+ foreignKeyName: "floriday_api_log_connection_id_fkey";
32936
+ columns: ["connection_id"];
32937
+ isOneToOne: false;
32938
+ referencedRelation: "floriday_connections";
32939
+ referencedColumns: ["id"];
32940
+ }, {
32941
+ foreignKeyName: "floriday_api_log_write_log_id_fkey";
32942
+ columns: ["write_log_id"];
32943
+ isOneToOne: false;
32944
+ referencedRelation: "floriday_write_log";
32945
+ referencedColumns: ["id"];
32946
+ }];
32947
+ };
31803
32948
  floriday_auction_letters_cache: {
31804
32949
  Row: {
31805
32950
  auction_letter_code: string;
@@ -32007,6 +33152,84 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
32007
33152
  referencedColumns: ["id"];
32008
33153
  }];
32009
33154
  };
33155
+ floriday_catalog_prices_cache: {
33156
+ Row: {
33157
+ connection_id: string;
33158
+ created_at: string;
33159
+ currency: string;
33160
+ id: string;
33161
+ is_deleted: boolean;
33162
+ price: number | null;
33163
+ price_group_id: string | null;
33164
+ price_group_name: string | null;
33165
+ price_type: string;
33166
+ raw: import("../integrations/supabase/types").Json | null;
33167
+ sales_unit: string | null;
33168
+ sequence_number: number;
33169
+ supplier_article_code: string | null;
33170
+ supply_line_id: string;
33171
+ synced_at: string;
33172
+ trade_item_id: string | null;
33173
+ updated_at: string;
33174
+ valid_from: string | null;
33175
+ valid_to: string | null;
33176
+ week: number | null;
33177
+ year: number | null;
33178
+ };
33179
+ Insert: {
33180
+ connection_id: string;
33181
+ created_at?: string;
33182
+ currency?: string;
33183
+ id?: string;
33184
+ is_deleted?: boolean;
33185
+ price?: number | null;
33186
+ price_group_id?: string | null;
33187
+ price_group_name?: string | null;
33188
+ price_type?: string;
33189
+ raw?: import("../integrations/supabase/types").Json | null;
33190
+ sales_unit?: string | null;
33191
+ sequence_number?: number;
33192
+ supplier_article_code?: string | null;
33193
+ supply_line_id: string;
33194
+ synced_at?: string;
33195
+ trade_item_id?: string | null;
33196
+ updated_at?: string;
33197
+ valid_from?: string | null;
33198
+ valid_to?: string | null;
33199
+ week?: number | null;
33200
+ year?: number | null;
33201
+ };
33202
+ Update: {
33203
+ connection_id?: string;
33204
+ created_at?: string;
33205
+ currency?: string;
33206
+ id?: string;
33207
+ is_deleted?: boolean;
33208
+ price?: number | null;
33209
+ price_group_id?: string | null;
33210
+ price_group_name?: string | null;
33211
+ price_type?: string;
33212
+ raw?: import("../integrations/supabase/types").Json | null;
33213
+ sales_unit?: string | null;
33214
+ sequence_number?: number;
33215
+ supplier_article_code?: string | null;
33216
+ supply_line_id?: string;
33217
+ synced_at?: string;
33218
+ trade_item_id?: string | null;
33219
+ updated_at?: string;
33220
+ valid_from?: string | null;
33221
+ valid_to?: string | null;
33222
+ week?: number | null;
33223
+ year?: number | null;
33224
+ };
33225
+ Relationships: [{
33226
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
33227
+ columns: ["connection_id"];
33228
+ isOneToOne: false;
33229
+ referencedRelation: "floriday_connections";
33230
+ referencedColumns: ["id"];
33231
+ }];
33232
+ };
32010
33233
  floriday_clock_presales_cache: {
32011
33234
  Row: {
32012
33235
  buyer_organization_id: string | null;
@@ -32922,6 +34145,69 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
32922
34145
  referencedColumns: ["id"];
32923
34146
  }];
32924
34147
  };
34148
+ floriday_link_templates: {
34149
+ Row: {
34150
+ created_at: string;
34151
+ floriday_url_template: string | null;
34152
+ is_active: boolean;
34153
+ label: string;
34154
+ local_url_template: string | null;
34155
+ resource_type: string;
34156
+ updated_at: string;
34157
+ };
34158
+ Insert: {
34159
+ created_at?: string;
34160
+ floriday_url_template?: string | null;
34161
+ is_active?: boolean;
34162
+ label: string;
34163
+ local_url_template?: string | null;
34164
+ resource_type: string;
34165
+ updated_at?: string;
34166
+ };
34167
+ Update: {
34168
+ created_at?: string;
34169
+ floriday_url_template?: string | null;
34170
+ is_active?: boolean;
34171
+ label?: string;
34172
+ local_url_template?: string | null;
34173
+ resource_type?: string;
34174
+ updated_at?: string;
34175
+ };
34176
+ Relationships: [];
34177
+ };
34178
+ floriday_log_retention: {
34179
+ Row: {
34180
+ created_at: string;
34181
+ direction: string | null;
34182
+ id: string;
34183
+ keep_failed_days: number | null;
34184
+ keep_ok_days: number | null;
34185
+ note: string | null;
34186
+ resource_type: string | null;
34187
+ updated_at: string;
34188
+ };
34189
+ Insert: {
34190
+ created_at?: string;
34191
+ direction?: string | null;
34192
+ id?: string;
34193
+ keep_failed_days?: number | null;
34194
+ keep_ok_days?: number | null;
34195
+ note?: string | null;
34196
+ resource_type?: string | null;
34197
+ updated_at?: string;
34198
+ };
34199
+ Update: {
34200
+ created_at?: string;
34201
+ direction?: string | null;
34202
+ id?: string;
34203
+ keep_failed_days?: number | null;
34204
+ keep_ok_days?: number | null;
34205
+ note?: string | null;
34206
+ resource_type?: string | null;
34207
+ updated_at?: string;
34208
+ };
34209
+ Relationships: [];
34210
+ };
32925
34211
  floriday_logistic_labels_cache: {
32926
34212
  Row: {
32927
34213
  byte_size: number | null;
@@ -36275,22 +37561,31 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
36275
37561
  };
36276
37562
  logistics_floriday_push_refusals: {
36277
37563
  Row: {
37564
+ action: string | null;
36278
37565
  created_at: string;
36279
37566
  id: string;
36280
37567
  order_ref: string;
36281
37568
  reason: string;
37569
+ source_module: string | null;
37570
+ source_shell: string | null;
36282
37571
  };
36283
37572
  Insert: {
37573
+ action?: string | null;
36284
37574
  created_at?: string;
36285
37575
  id?: string;
36286
37576
  order_ref: string;
36287
37577
  reason: string;
37578
+ source_module?: string | null;
37579
+ source_shell?: string | null;
36288
37580
  };
36289
37581
  Update: {
37582
+ action?: string | null;
36290
37583
  created_at?: string;
36291
37584
  id?: string;
36292
37585
  order_ref?: string;
36293
37586
  reason?: string;
37587
+ source_module?: string | null;
37588
+ source_shell?: string | null;
36294
37589
  };
36295
37590
  Relationships: [];
36296
37591
  };
@@ -36369,6 +37664,42 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
36369
37664
  };
36370
37665
  Relationships: [];
36371
37666
  };
37667
+ logistics_floriday_status_sends: {
37668
+ Row: {
37669
+ action: string;
37670
+ created_at: string;
37671
+ detail: string | null;
37672
+ http_status: number | null;
37673
+ id: string;
37674
+ ok: boolean;
37675
+ order_ref: string;
37676
+ source_module: string | null;
37677
+ source_shell: string | null;
37678
+ };
37679
+ Insert: {
37680
+ action: string;
37681
+ created_at?: string;
37682
+ detail?: string | null;
37683
+ http_status?: number | null;
37684
+ id?: string;
37685
+ ok?: boolean;
37686
+ order_ref: string;
37687
+ source_module?: string | null;
37688
+ source_shell?: string | null;
37689
+ };
37690
+ Update: {
37691
+ action?: string;
37692
+ created_at?: string;
37693
+ detail?: string | null;
37694
+ http_status?: number | null;
37695
+ id?: string;
37696
+ ok?: boolean;
37697
+ order_ref?: string;
37698
+ source_module?: string | null;
37699
+ source_shell?: string | null;
37700
+ };
37701
+ Relationships: [];
37702
+ };
36372
37703
  logistics_formulas: {
36373
37704
  Row: {
36374
37705
  created_at: string;
@@ -36441,6 +37772,108 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
36441
37772
  };
36442
37773
  Relationships: [];
36443
37774
  };
37775
+ logistics_opening_exceptions: {
37776
+ Row: {
37777
+ closes: string | null;
37778
+ created_at: string;
37779
+ day: string;
37780
+ id: string;
37781
+ is_closed: boolean;
37782
+ note: string | null;
37783
+ opens: string | null;
37784
+ };
37785
+ Insert: {
37786
+ closes?: string | null;
37787
+ created_at?: string;
37788
+ day: string;
37789
+ id?: string;
37790
+ is_closed?: boolean;
37791
+ note?: string | null;
37792
+ opens?: string | null;
37793
+ };
37794
+ Update: {
37795
+ closes?: string | null;
37796
+ created_at?: string;
37797
+ day?: string;
37798
+ id?: string;
37799
+ is_closed?: boolean;
37800
+ note?: string | null;
37801
+ opens?: string | null;
37802
+ };
37803
+ Relationships: [];
37804
+ };
37805
+ logistics_opening_hours: {
37806
+ Row: {
37807
+ closes: string;
37808
+ created_at: string;
37809
+ id: string;
37810
+ is_active: boolean;
37811
+ note: string | null;
37812
+ opens: string;
37813
+ weekday: number;
37814
+ };
37815
+ Insert: {
37816
+ closes: string;
37817
+ created_at?: string;
37818
+ id?: string;
37819
+ is_active?: boolean;
37820
+ note?: string | null;
37821
+ opens: string;
37822
+ weekday: number;
37823
+ };
37824
+ Update: {
37825
+ closes?: string;
37826
+ created_at?: string;
37827
+ id?: string;
37828
+ is_active?: boolean;
37829
+ note?: string | null;
37830
+ opens?: string;
37831
+ weekday?: number;
37832
+ };
37833
+ Relationships: [];
37834
+ };
37835
+ logistics_pick_data_requests: {
37836
+ Row: {
37837
+ actions: import("../integrations/supabase/types").Json;
37838
+ created_at: string;
37839
+ event_id: string | null;
37840
+ finished_at: string | null;
37841
+ id: string;
37842
+ missing: import("../integrations/supabase/types").Json;
37843
+ order_ref: string;
37844
+ reason: string | null;
37845
+ result: import("../integrations/supabase/types").Json | null;
37846
+ status: string;
37847
+ unit_ref: string | null;
37848
+ };
37849
+ Insert: {
37850
+ actions?: import("../integrations/supabase/types").Json;
37851
+ created_at?: string;
37852
+ event_id?: string | null;
37853
+ finished_at?: string | null;
37854
+ id?: string;
37855
+ missing?: import("../integrations/supabase/types").Json;
37856
+ order_ref: string;
37857
+ reason?: string | null;
37858
+ result?: import("../integrations/supabase/types").Json | null;
37859
+ status?: string;
37860
+ unit_ref?: string | null;
37861
+ };
37862
+ Update: {
37863
+ actions?: import("../integrations/supabase/types").Json;
37864
+ created_at?: string;
37865
+ event_id?: string | null;
37866
+ finished_at?: string | null;
37867
+ id?: string;
37868
+ missing?: import("../integrations/supabase/types").Json;
37869
+ order_ref?: string;
37870
+ reason?: string | null;
37871
+ result?: import("../integrations/supabase/types").Json | null;
37872
+ status?: string;
37873
+ unit_ref?: string | null;
37874
+ };
37875
+ Relationships: [];
37876
+ };
36444
37877
  logistics_pickup_moments: {
36445
37878
  Row: {
36446
37879
  carrier_ref: string | null;
@@ -36900,6 +38333,69 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
36900
38333
  };
36901
38334
  Relationships: [];
36902
38335
  };
38336
+ logistics_slip_shipping_note: {
38337
+ Row: {
38338
+ attempts: number;
38339
+ batch_key: string | null;
38340
+ cart_id: string | null;
38341
+ created_at: string;
38342
+ error: string | null;
38343
+ error_code: string | null;
38344
+ fulfillment_order_id: string | null;
38345
+ id: string;
38346
+ locked_until: string | null;
38347
+ next_attempt_at: string | null;
38348
+ order_id: string | null;
38349
+ order_number: string | null;
38350
+ print_job_id: string | null;
38351
+ printer_id: string | null;
38352
+ retry_class: string | null;
38353
+ slip_job_id: string;
38354
+ status: string;
38355
+ updated_at: string;
38356
+ };
38357
+ Insert: {
38358
+ attempts?: number;
38359
+ batch_key?: string | null;
38360
+ cart_id?: string | null;
38361
+ created_at?: string;
38362
+ error?: string | null;
38363
+ error_code?: string | null;
38364
+ fulfillment_order_id?: string | null;
38365
+ id?: string;
38366
+ locked_until?: string | null;
38367
+ next_attempt_at?: string | null;
38368
+ order_id?: string | null;
38369
+ order_number?: string | null;
38370
+ print_job_id?: string | null;
38371
+ printer_id?: string | null;
38372
+ retry_class?: string | null;
38373
+ slip_job_id: string;
38374
+ status?: string;
38375
+ updated_at?: string;
38376
+ };
38377
+ Update: {
38378
+ attempts?: number;
38379
+ batch_key?: string | null;
38380
+ cart_id?: string | null;
38381
+ created_at?: string;
38382
+ error?: string | null;
38383
+ error_code?: string | null;
38384
+ fulfillment_order_id?: string | null;
38385
+ id?: string;
38386
+ locked_until?: string | null;
38387
+ next_attempt_at?: string | null;
38388
+ order_id?: string | null;
38389
+ order_number?: string | null;
38390
+ print_job_id?: string | null;
38391
+ printer_id?: string | null;
38392
+ retry_class?: string | null;
38393
+ slip_job_id?: string;
38394
+ status?: string;
38395
+ updated_at?: string;
38396
+ };
38397
+ Relationships: [];
38398
+ };
36903
38399
  logistics_staff_planning: {
36904
38400
  Row: {
36905
38401
  created_at: string;
@@ -37233,6 +38729,129 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
37233
38729
  };
37234
38730
  Relationships: [];
37235
38731
  };
38732
+ logistics_time_settings: {
38733
+ Row: {
38734
+ id: boolean;
38735
+ timezone: string;
38736
+ updated_at: string;
38737
+ };
38738
+ Insert: {
38739
+ id?: boolean;
38740
+ timezone: string;
38741
+ updated_at?: string;
38742
+ };
38743
+ Update: {
38744
+ id?: boolean;
38745
+ timezone?: string;
38746
+ updated_at?: string;
38747
+ };
38748
+ Relationships: [];
38749
+ };
38750
+ logistics_trace_events: {
38751
+ Row: {
38752
+ actor: string | null;
38753
+ attempts: number;
38754
+ cart_ref: string | null;
38755
+ created_at: string;
38756
+ db_action: string | null;
38757
+ db_new: import("../integrations/supabase/types").Json | null;
38758
+ db_old: import("../integrations/supabase/types").Json | null;
38759
+ db_record: string | null;
38760
+ db_table: string | null;
38761
+ decision: string | null;
38762
+ duration_ms: number | null;
38763
+ error: string | null;
38764
+ external_action: string | null;
38765
+ external_ref: string | null;
38766
+ external_response: import("../integrations/supabase/types").Json | null;
38767
+ external_status: string | null;
38768
+ external_system: string | null;
38769
+ id: string;
38770
+ input: import("../integrations/supabase/types").Json | null;
38771
+ next_attempt_at: string | null;
38772
+ order_ref: string | null;
38773
+ order_source: string | null;
38774
+ output: import("../integrations/supabase/types").Json | null;
38775
+ phase: string;
38776
+ reads: import("../integrations/supabase/types").Json | null;
38777
+ reason: string | null;
38778
+ rule: string | null;
38779
+ slip_ref: string | null;
38780
+ status: string;
38781
+ step: string;
38782
+ trace_id: string;
38783
+ values_used: import("../integrations/supabase/types").Json | null;
38784
+ };
38785
+ Insert: {
38786
+ actor?: string | null;
38787
+ attempts?: number;
38788
+ cart_ref?: string | null;
38789
+ created_at?: string;
38790
+ db_action?: string | null;
38791
+ db_new?: import("../integrations/supabase/types").Json | null;
38792
+ db_old?: import("../integrations/supabase/types").Json | null;
38793
+ db_record?: string | null;
38794
+ db_table?: string | null;
38795
+ decision?: string | null;
38796
+ duration_ms?: number | null;
38797
+ error?: string | null;
38798
+ external_action?: string | null;
38799
+ external_ref?: string | null;
38800
+ external_response?: import("../integrations/supabase/types").Json | null;
38801
+ external_status?: string | null;
38802
+ external_system?: string | null;
38803
+ id?: string;
38804
+ input?: import("../integrations/supabase/types").Json | null;
38805
+ next_attempt_at?: string | null;
38806
+ order_ref?: string | null;
38807
+ order_source?: string | null;
38808
+ output?: import("../integrations/supabase/types").Json | null;
38809
+ phase: string;
38810
+ reads?: import("../integrations/supabase/types").Json | null;
38811
+ reason?: string | null;
38812
+ rule?: string | null;
38813
+ slip_ref?: string | null;
38814
+ status: string;
38815
+ step: string;
38816
+ trace_id?: string;
38817
+ values_used?: import("../integrations/supabase/types").Json | null;
38818
+ };
38819
+ Update: {
38820
+ actor?: string | null;
38821
+ attempts?: number;
38822
+ cart_ref?: string | null;
38823
+ created_at?: string;
38824
+ db_action?: string | null;
38825
+ db_new?: import("../integrations/supabase/types").Json | null;
38826
+ db_old?: import("../integrations/supabase/types").Json | null;
38827
+ db_record?: string | null;
38828
+ db_table?: string | null;
38829
+ decision?: string | null;
38830
+ duration_ms?: number | null;
38831
+ error?: string | null;
38832
+ external_action?: string | null;
38833
+ external_ref?: string | null;
38834
+ external_response?: import("../integrations/supabase/types").Json | null;
38835
+ external_status?: string | null;
38836
+ external_system?: string | null;
38837
+ id?: string;
38838
+ input?: import("../integrations/supabase/types").Json | null;
38839
+ next_attempt_at?: string | null;
38840
+ order_ref?: string | null;
38841
+ order_source?: string | null;
38842
+ output?: import("../integrations/supabase/types").Json | null;
38843
+ phase?: string;
38844
+ reads?: import("../integrations/supabase/types").Json | null;
38845
+ reason?: string | null;
38846
+ rule?: string | null;
38847
+ slip_ref?: string | null;
38848
+ status?: string;
38849
+ step?: string;
38850
+ trace_id?: string;
38851
+ values_used?: import("../integrations/supabase/types").Json | null;
38852
+ };
38853
+ Relationships: [];
38854
+ };
37236
38855
  logistics_variables: {
37237
38856
  Row: {
37238
38857
  created_at: string;
@@ -39623,6 +41242,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39623
41242
  customer_name: string;
39624
41243
  deleted_at: string | null;
39625
41244
  delivery_date: string | null;
41245
+ floriday_order_group_key: string | null;
39626
41246
  floriday_sales_order_id: string | null;
39627
41247
  id: string;
39628
41248
  invoice_due_at: string | null;
@@ -39650,6 +41270,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39650
41270
  customer_name?: string;
39651
41271
  deleted_at?: string | null;
39652
41272
  delivery_date?: string | null;
41273
+ floriday_order_group_key?: string | null;
39653
41274
  floriday_sales_order_id?: string | null;
39654
41275
  id?: string;
39655
41276
  invoice_due_at?: string | null;
@@ -39677,6 +41298,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39677
41298
  customer_name?: string;
39678
41299
  deleted_at?: string | null;
39679
41300
  delivery_date?: string | null;
41301
+ floriday_order_group_key?: string | null;
39680
41302
  floriday_sales_order_id?: string | null;
39681
41303
  id?: string;
39682
41304
  invoice_due_at?: string | null;
@@ -47802,6 +49424,15 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
47802
49424
  Args: never;
47803
49425
  Returns: boolean;
47804
49426
  };
49427
+ cancel_open_print_jobs: {
49428
+ Args: {
49429
+ _cutoff: string;
49430
+ };
49431
+ Returns: {
49432
+ extern_job_id: string;
49433
+ id: string;
49434
+ }[];
49435
+ };
47805
49436
  check_offer_product_available_stock: {
47806
49437
  Args: {
47807
49438
  p_campaign_product_id: string;
@@ -49340,6 +50971,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49340
50971
  };
49341
50972
  Returns: string;
49342
50973
  };
50974
+ logistics_cart_checkin_at: {
50975
+ Args: {
50976
+ p_cart_id: string;
50977
+ };
50978
+ Returns: string;
50979
+ };
49343
50980
  logistics_cart_handled: {
49344
50981
  Args: {
49345
50982
  p_cart_index: number;
@@ -49373,10 +51010,22 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49373
51010
  task_status: string;
49374
51011
  }[];
49375
51012
  };
51013
+ logistics_cart_is_full: {
51014
+ Args: {
51015
+ p_cart_id: string;
51016
+ };
51017
+ Returns: boolean;
51018
+ };
49376
51019
  logistics_cart_layout_method: {
49377
51020
  Args: never;
49378
51021
  Returns: import("../integrations/supabase/types").Json;
49379
51022
  };
51023
+ logistics_cart_order_refs: {
51024
+ Args: {
51025
+ p_cart_id: string;
51026
+ };
51027
+ Returns: string[];
51028
+ };
49380
51029
  logistics_cart_plan_overview: {
49381
51030
  Args: {
49382
51031
  p_days?: number;
@@ -49396,6 +51045,24 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49396
51045
  };
49397
51046
  Returns: import("../integrations/supabase/types").Json;
49398
51047
  };
51048
+ logistics_cart_plan_status_core: {
51049
+ Args: {
51050
+ p_ref: string;
51051
+ };
51052
+ Returns: import("../integrations/supabase/types").Json;
51053
+ };
51054
+ logistics_cart_release_reason: {
51055
+ Args: {
51056
+ p_cart_id: string;
51057
+ };
51058
+ Returns: string;
51059
+ };
51060
+ logistics_cart_released: {
51061
+ Args: {
51062
+ p_cart_id: string;
51063
+ };
51064
+ Returns: boolean;
51065
+ };
49399
51066
  logistics_cart_seq: {
49400
51067
  Args: {
49401
51068
  p_order_uuid?: string;
@@ -49446,6 +51113,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49446
51113
  unit_ref: string;
49447
51114
  }[];
49448
51115
  };
51116
+ logistics_carts_per_print: {
51117
+ Args: never;
51118
+ Returns: number;
51119
+ };
49449
51120
  logistics_check_order_allowed: {
49450
51121
  Args: {
49451
51122
  p_lines: import("../integrations/supabase/types").Json;
@@ -49549,6 +51220,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49549
51220
  isSetofReturn: false;
49550
51221
  };
49551
51222
  };
51223
+ logistics_cleanup_orphan_print_jobs: {
51224
+ Args: never;
51225
+ Returns: import("../integrations/supabase/types").Json;
51226
+ };
49552
51227
  logistics_complete_task: {
49553
51228
  Args: {
49554
51229
  p_result?: import("../integrations/supabase/types").Json;
@@ -49611,6 +51286,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49611
51286
  station_carts: number;
49612
51287
  }[];
49613
51288
  };
51289
+ logistics_control_complete_cart: {
51290
+ Args: {
51291
+ p_cart_id: string;
51292
+ };
51293
+ Returns: number;
51294
+ };
49614
51295
  logistics_control_scan_approve: {
49615
51296
  Args: {
49616
51297
  p_allow_reprint?: boolean;
@@ -49690,6 +51371,15 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49690
51371
  Args: never;
49691
51372
  Returns: import("../integrations/supabase/types").Json;
49692
51373
  };
51374
+ logistics_day_windows: {
51375
+ Args: {
51376
+ p_day: string;
51377
+ };
51378
+ Returns: {
51379
+ win_end: string;
51380
+ win_start: string;
51381
+ }[];
51382
+ };
49693
51383
  logistics_delay_customer_email: {
49694
51384
  Args: {
49695
51385
  p_customer: string;
@@ -49757,6 +51447,17 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49757
51447
  };
49758
51448
  Returns: import("../integrations/supabase/types").Json;
49759
51449
  };
51450
+ logistics_enqueue_shipping_note_with_slip: {
51451
+ Args: {
51452
+ _cart_id: string;
51453
+ _is_herprint: boolean;
51454
+ _printer_id: string;
51455
+ _queue_item_id: string;
51456
+ _session_id: string;
51457
+ _slip_job_id: string;
51458
+ };
51459
+ Returns: string;
51460
+ };
49760
51461
  logistics_enqueue_sticker_with_slip: {
49761
51462
  Args: {
49762
51463
  _cart_id: string;
@@ -49774,6 +51475,20 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49774
51475
  };
49775
51476
  Returns: string;
49776
51477
  };
51478
+ logistics_ensure_pick_data: {
51479
+ Args: {
51480
+ p_event_id?: string;
51481
+ p_missing?: import("../integrations/supabase/types").Json;
51482
+ p_ref: string;
51483
+ };
51484
+ Returns: import("../integrations/supabase/types").Json;
51485
+ };
51486
+ logistics_ensure_shipping_notes: {
51487
+ Args: {
51488
+ p_limit?: number;
51489
+ };
51490
+ Returns: import("../integrations/supabase/types").Json;
51491
+ };
49777
51492
  logistics_fail_task: {
49778
51493
  Args: {
49779
51494
  p_error: string;
@@ -49819,6 +51534,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49819
51534
  isSetofReturn: false;
49820
51535
  };
49821
51536
  };
51537
+ logistics_fix_wrong_shipping_notes: {
51538
+ Args: never;
51539
+ Returns: import("../integrations/supabase/types").Json;
51540
+ };
49822
51541
  logistics_floriday_cart_plan: {
49823
51542
  Args: {
49824
51543
  p_order_id: string;
@@ -49846,6 +51565,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49846
51565
  revision: number;
49847
51566
  }[];
49848
51567
  };
51568
+ logistics_floriday_delivery_note_create_enabled: {
51569
+ Args: never;
51570
+ Returns: boolean;
51571
+ };
49849
51572
  logistics_floriday_finish_push: {
49850
51573
  Args: {
49851
51574
  _error?: string;
@@ -49895,6 +51618,32 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49895
51618
  };
49896
51619
  Returns: string;
49897
51620
  };
51621
+ logistics_floriday_gate_status: {
51622
+ Args: never;
51623
+ Returns: import("../integrations/supabase/types").Json;
51624
+ };
51625
+ logistics_floriday_log_refusal: {
51626
+ Args: {
51627
+ _action?: string;
51628
+ _module?: string;
51629
+ _order_ref: string;
51630
+ _reason: string;
51631
+ _shell?: string;
51632
+ };
51633
+ Returns: undefined;
51634
+ };
51635
+ logistics_floriday_log_send: {
51636
+ Args: {
51637
+ _action: string;
51638
+ _detail?: string;
51639
+ _http_status?: number;
51640
+ _module?: string;
51641
+ _ok: boolean;
51642
+ _order_ref: string;
51643
+ _shell?: string;
51644
+ };
51645
+ Returns: undefined;
51646
+ };
49898
51647
  logistics_floriday_order_approved: {
49899
51648
  Args: {
49900
51649
  _order_ref: string;
@@ -49919,6 +51668,16 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49919
51668
  Args: never;
49920
51669
  Returns: boolean;
49921
51670
  };
51671
+ logistics_floriday_stock_updates_enabled: {
51672
+ Args: never;
51673
+ Returns: boolean;
51674
+ };
51675
+ logistics_floriday_write_allowed: {
51676
+ Args: {
51677
+ _action: string;
51678
+ };
51679
+ Returns: boolean;
51680
+ };
49922
51681
  logistics_fulfill_barcode_requests: {
49923
51682
  Args: {
49924
51683
  p_limit?: number;
@@ -49961,6 +51720,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49961
51720
  };
49962
51721
  Returns: number;
49963
51722
  };
51723
+ logistics_merge_partial_carts: {
51724
+ Args: {
51725
+ p_limit?: number;
51726
+ };
51727
+ Returns: import("../integrations/supabase/types").Json;
51728
+ };
49964
51729
  logistics_next_workday_date: {
49965
51730
  Args: {
49966
51731
  p_date: string;
@@ -49987,6 +51752,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49987
51752
  };
49988
51753
  Returns: string;
49989
51754
  };
51755
+ logistics_opening_timezone: {
51756
+ Args: never;
51757
+ Returns: string;
51758
+ };
49990
51759
  logistics_order_cart_count: {
49991
51760
  Args: {
49992
51761
  p_order_ref: string;
@@ -50043,6 +51812,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
50043
51812
  };
50044
51813
  Returns: string;
50045
51814
  };
51815
+ logistics_payload_is_floriday: {
51816
+ Args: {
51817
+ _payload: import("../integrations/supabase/types").Json;
51818
+ };
51819
+ Returns: boolean;
51820
+ };
50046
51821
  logistics_pick_agenda: {
50047
51822
  Args: {
50048
51823
  p_from?: string;
@@ -50071,6 +51846,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
50071
51846
  Args: never;
50072
51847
  Returns: import("../integrations/supabase/types").Json;
50073
51848
  };
51849
+ logistics_pick_partial_mode: {
51850
+ Args: never;
51851
+ Returns: string;
51852
+ };
50074
51853
  logistics_pick_start_estimate: {
50075
51854
  Args: {
50076
51855
  p_order: import("../integrations/supabase/types").Json;
@@ -50161,6 +51940,20 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
50161
51940
  Args: never;
50162
51941
  Returns: undefined;
50163
51942
  };
51943
+ logistics_plan_progress: {
51944
+ Args: {
51945
+ p_refs: string[];
51946
+ };
51947
+ Returns: {
51948
+ cart_plan_ready: boolean;
51949
+ cart_plan_reason: string;
51950
+ cart_plan_released: boolean;
51951
+ plan_progress: number;
51952
+ plan_state: string;
51953
+ plan_state_since: string;
51954
+ unit_ref: string;
51955
+ }[];
51956
+ };
50164
51957
  logistics_plan_prune: {
50165
51958
  Args: never;
50166
51959
  Returns: number;
@@ -50182,6 +51975,18 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
50182
51975
  };
50183
51976
  Returns: number;
50184
51977
  };
51978
+ logistics_plan_state_for: {
51979
+ Args: {
51980
+ p_ref: string;
51981
+ };
51982
+ Returns: import("../integrations/supabase/types").Json;
51983
+ };
51984
+ logistics_prepare_pick_documents: {
51985
+ Args: {
51986
+ p_limit?: number;
51987
+ };
51988
+ Returns: import("../integrations/supabase/types").Json;
51989
+ };
50185
51990
  logistics_prune_buffer_member_queue: {
50186
51991
  Args: never;
50187
51992
  Returns: number;
@@ -50222,18 +52027,36 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
50222
52027
  Args: never;
50223
52028
  Returns: import("../integrations/supabase/types").Json;
50224
52029
  };
52030
+ logistics_refresh_pick_queue_status: {
52031
+ Args: {
52032
+ p_ref: string;
52033
+ };
52034
+ Returns: number;
52035
+ };
50225
52036
  logistics_refresh_pickup_moments: {
50226
52037
  Args: {
50227
52038
  p_weeks?: number;
50228
52039
  };
50229
52040
  Returns: import("../integrations/supabase/types").Json;
50230
52041
  };
52042
+ logistics_refresh_plan_state: {
52043
+ Args: {
52044
+ p_limit?: number;
52045
+ };
52046
+ Returns: import("../integrations/supabase/types").Json;
52047
+ };
50231
52048
  logistics_replan_all: {
50232
52049
  Args: {
50233
52050
  p_reason?: string;
50234
52051
  };
50235
52052
  Returns: import("../integrations/supabase/types").Json;
50236
52053
  };
52054
+ logistics_replan_all_force: {
52055
+ Args: {
52056
+ p_reason?: string;
52057
+ };
52058
+ Returns: import("../integrations/supabase/types").Json;
52059
+ };
50237
52060
  logistics_report_delay: {
50238
52061
  Args: {
50239
52062
  p_expected_date?: string;
@@ -50378,6 +52201,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
50378
52201
  };
50379
52202
  Returns: string;
50380
52203
  };
52204
+ logistics_shipping_note_follows_slip: {
52205
+ Args: never;
52206
+ Returns: boolean;
52207
+ };
50381
52208
  logistics_shipping_note_from_barcode: {
50382
52209
  Args: {
50383
52210
  p_allow_reprint?: boolean;
@@ -50386,10 +52213,86 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
50386
52213
  };
50387
52214
  Returns: import("../integrations/supabase/types").Json;
50388
52215
  };
52216
+ logistics_shipping_note_job_for_slip: {
52217
+ Args: {
52218
+ _slip_job_id: string;
52219
+ };
52220
+ Returns: string;
52221
+ };
52222
+ logistics_shipping_notes_wake_all: {
52223
+ Args: never;
52224
+ Returns: import("../integrations/supabase/types").Json;
52225
+ };
52226
+ logistics_slip_is_floriday: {
52227
+ Args: {
52228
+ _slip_job_id: string;
52229
+ };
52230
+ Returns: boolean;
52231
+ };
52232
+ logistics_slip_note_claim: {
52233
+ Args: {
52234
+ _lease_seconds?: number;
52235
+ _limit?: number;
52236
+ };
52237
+ Returns: {
52238
+ attempts: number;
52239
+ batch_key: string | null;
52240
+ cart_id: string | null;
52241
+ created_at: string;
52242
+ error: string | null;
52243
+ error_code: string | null;
52244
+ fulfillment_order_id: string | null;
52245
+ id: string;
52246
+ locked_until: string | null;
52247
+ next_attempt_at: string | null;
52248
+ order_id: string | null;
52249
+ order_number: string | null;
52250
+ print_job_id: string | null;
52251
+ printer_id: string | null;
52252
+ retry_class: string | null;
52253
+ slip_job_id: string;
52254
+ status: string;
52255
+ updated_at: string;
52256
+ }[];
52257
+ SetofOptions: {
52258
+ from: "*";
52259
+ to: "logistics_slip_shipping_note";
52260
+ isOneToOne: false;
52261
+ isSetofReturn: true;
52262
+ };
52263
+ };
52264
+ logistics_slip_note_finish: {
52265
+ Args: {
52266
+ _error?: string;
52267
+ _error_code?: string;
52268
+ _fulfillment_order_id?: string;
52269
+ _id: string;
52270
+ _ok: boolean;
52271
+ _print_job_id?: string;
52272
+ _status?: string;
52273
+ };
52274
+ Returns: undefined;
52275
+ };
52276
+ logistics_slip_note_keep_waiting: {
52277
+ Args: {
52278
+ _class?: string;
52279
+ _id: string;
52280
+ _reason: string;
52281
+ };
52282
+ Returns: undefined;
52283
+ };
50389
52284
  logistics_sticker_follows_slip: {
50390
52285
  Args: never;
50391
52286
  Returns: boolean;
50392
52287
  };
52288
+ logistics_subtract_working_minutes: {
52289
+ Args: {
52290
+ p_deadline: string;
52291
+ p_max_workdays?: number;
52292
+ p_minutes: number;
52293
+ };
52294
+ Returns: import("../integrations/supabase/types").Json;
52295
+ };
50393
52296
  logistics_supersede_stale_tasks: {
50394
52297
  Args: {
50395
52298
  p_keep: string[];
@@ -50426,6 +52329,46 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
50426
52329
  Args: never;
50427
52330
  Returns: string;
50428
52331
  };
52332
+ logistics_timezone_options: {
52333
+ Args: never;
52334
+ Returns: {
52335
+ name: string;
52336
+ }[];
52337
+ };
52338
+ logistics_trace: {
52339
+ Args: {
52340
+ p: import("../integrations/supabase/types").Json;
52341
+ };
52342
+ Returns: string;
52343
+ };
52344
+ logistics_trace_batch: {
52345
+ Args: {
52346
+ p: import("../integrations/supabase/types").Json;
52347
+ };
52348
+ Returns: number;
52349
+ };
52350
+ logistics_trace_orders: {
52351
+ Args: {
52352
+ p_limit?: number;
52353
+ p_search?: string;
52354
+ p_since?: string;
52355
+ p_status?: string;
52356
+ };
52357
+ Returns: import("../integrations/supabase/types").Json;
52358
+ };
52359
+ logistics_trace_redact: {
52360
+ Args: {
52361
+ p: import("../integrations/supabase/types").Json;
52362
+ };
52363
+ Returns: import("../integrations/supabase/types").Json;
52364
+ };
52365
+ logistics_trace_timeline: {
52366
+ Args: {
52367
+ p_limit?: number;
52368
+ p_order_ref: string;
52369
+ };
52370
+ Returns: import("../integrations/supabase/types").Json;
52371
+ };
50429
52372
  logistics_upsert_task: {
50430
52373
  Args: {
50431
52374
  p_buffer_ref: string;
@@ -50445,6 +52388,16 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
50445
52388
  };
50446
52389
  Returns: string;
50447
52390
  };
52391
+ logistics_valid_timezone: {
52392
+ Args: {
52393
+ _tz: string;
52394
+ };
52395
+ Returns: boolean;
52396
+ };
52397
+ logistics_working_hours_status: {
52398
+ Args: never;
52399
+ Returns: import("../integrations/supabase/types").Json;
52400
+ };
50448
52401
  logistics_write_buffer_layer_positions: {
50449
52402
  Args: {
50450
52403
  p_buffer_id: string;
@@ -51457,6 +53410,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
51457
53410
  };
51458
53411
  Returns: undefined;
51459
53412
  };
53413
+ prune_floriday_api_log: {
53414
+ Args: never;
53415
+ Returns: number;
53416
+ };
51460
53417
  quote_create_from_source: {
51461
53418
  Args: {
51462
53419
  _payload?: import("../integrations/supabase/types").Json;
@@ -51890,6 +53847,13 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
51890
53847
  };
51891
53848
  Returns: number;
51892
53849
  };
53850
+ schedule_floriday_catalog_prices_sync: {
53851
+ Args: {
53852
+ p_apikey: string;
53853
+ p_url: string;
53854
+ };
53855
+ Returns: number;
53856
+ };
51893
53857
  schedule_floriday_clock_presales_sync: {
51894
53858
  Args: {
51895
53859
  p_apikey: string;
@@ -52190,6 +54154,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
52190
54154
  };
52191
54155
  Returns: undefined;
52192
54156
  };
54157
+ sync_floriday_prices_into_price_groups: {
54158
+ Args: never;
54159
+ Returns: number;
54160
+ };
52193
54161
  sync_layer_stock: {
52194
54162
  Args: {
52195
54163
  p_product_id: string;
@@ -52322,6 +54290,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
52322
54290
  Args: never;
52323
54291
  Returns: string;
52324
54292
  };
54293
+ voorraad_cleanup_old_rows: {
54294
+ Args: never;
54295
+ Returns: import("../integrations/supabase/types").Json;
54296
+ };
52325
54297
  wake_print_queue: {
52326
54298
  Args: {
52327
54299
  _min_interval_ms?: number;