@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
@@ -2225,6 +2225,45 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2225
2225
  };
2226
2226
  Relationships: [];
2227
2227
  };
2228
+ customer_product_stickers: {
2229
+ Row: {
2230
+ created_at: string;
2231
+ customer_key: string;
2232
+ file_name: string;
2233
+ file_path: string;
2234
+ file_size: number | null;
2235
+ id: string;
2236
+ mime_type: string | null;
2237
+ trade_item_key: string;
2238
+ updated_at: string;
2239
+ uploaded_by: string | null;
2240
+ };
2241
+ Insert: {
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
+ Update: {
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
+ Relationships: [];
2266
+ };
2228
2267
  customer_selected_assortment: {
2229
2268
  Row: {
2230
2269
  article_number: string | null;
@@ -2273,6 +2312,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2273
2312
  referencedColumns: ["id"];
2274
2313
  }];
2275
2314
  };
2315
+ customer_sticker_settings: {
2316
+ Row: {
2317
+ created_at: string;
2318
+ customer_key: string;
2319
+ height_mm: number;
2320
+ updated_at: string;
2321
+ width_mm: number;
2322
+ };
2323
+ Insert: {
2324
+ created_at?: string;
2325
+ customer_key: string;
2326
+ height_mm?: number;
2327
+ updated_at?: string;
2328
+ width_mm?: number;
2329
+ };
2330
+ Update: {
2331
+ created_at?: string;
2332
+ customer_key?: string;
2333
+ height_mm?: number;
2334
+ updated_at?: string;
2335
+ width_mm?: number;
2336
+ };
2337
+ Relationships: [];
2338
+ };
2276
2339
  customer_trade_settings: {
2277
2340
  Row: {
2278
2341
  category: string;
@@ -5603,6 +5666,102 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
5603
5666
  referencedColumns: ["id"];
5604
5667
  }];
5605
5668
  };
5669
+ floriday_api_log: {
5670
+ Row: {
5671
+ action: string | null;
5672
+ caller: string | null;
5673
+ connection_id: string | null;
5674
+ created_at: string;
5675
+ cursor_from: number | null;
5676
+ direction: string;
5677
+ duration_ms: number | null;
5678
+ environment: string | null;
5679
+ error: string | null;
5680
+ floriday_id: string | null;
5681
+ floriday_reference: string | null;
5682
+ http_status: number;
5683
+ id: string;
5684
+ item_count: number | null;
5685
+ kind: string | null;
5686
+ local_id: string | null;
5687
+ local_reference: string | null;
5688
+ method: string;
5689
+ module: string | null;
5690
+ ok: boolean;
5691
+ path: string;
5692
+ request: import("./types").Json | null;
5693
+ resource_type: string | null;
5694
+ response: import("./types").Json | null;
5695
+ write_log_id: string | null;
5696
+ };
5697
+ Insert: {
5698
+ action?: string | null;
5699
+ caller?: string | null;
5700
+ connection_id?: string | null;
5701
+ created_at?: string;
5702
+ cursor_from?: number | null;
5703
+ direction: string;
5704
+ duration_ms?: number | null;
5705
+ environment?: string | null;
5706
+ error?: string | null;
5707
+ floriday_id?: string | null;
5708
+ floriday_reference?: string | null;
5709
+ http_status?: number;
5710
+ id?: string;
5711
+ item_count?: number | null;
5712
+ kind?: string | null;
5713
+ local_id?: string | null;
5714
+ local_reference?: string | null;
5715
+ method: string;
5716
+ module?: string | null;
5717
+ ok?: boolean;
5718
+ path: string;
5719
+ request?: import("./types").Json | null;
5720
+ resource_type?: string | null;
5721
+ response?: import("./types").Json | null;
5722
+ write_log_id?: string | null;
5723
+ };
5724
+ Update: {
5725
+ action?: string | null;
5726
+ caller?: string | null;
5727
+ connection_id?: string | null;
5728
+ created_at?: string;
5729
+ cursor_from?: number | null;
5730
+ direction?: string;
5731
+ duration_ms?: number | null;
5732
+ environment?: string | null;
5733
+ error?: string | null;
5734
+ floriday_id?: string | null;
5735
+ floriday_reference?: string | null;
5736
+ http_status?: number;
5737
+ id?: string;
5738
+ item_count?: number | null;
5739
+ kind?: string | null;
5740
+ local_id?: string | null;
5741
+ local_reference?: string | null;
5742
+ method?: string;
5743
+ module?: string | null;
5744
+ ok?: boolean;
5745
+ path?: string;
5746
+ request?: import("./types").Json | null;
5747
+ resource_type?: string | null;
5748
+ response?: import("./types").Json | null;
5749
+ write_log_id?: string | null;
5750
+ };
5751
+ Relationships: [{
5752
+ foreignKeyName: "floriday_api_log_connection_id_fkey";
5753
+ columns: ["connection_id"];
5754
+ isOneToOne: false;
5755
+ referencedRelation: "floriday_connections";
5756
+ referencedColumns: ["id"];
5757
+ }, {
5758
+ foreignKeyName: "floriday_api_log_write_log_id_fkey";
5759
+ columns: ["write_log_id"];
5760
+ isOneToOne: false;
5761
+ referencedRelation: "floriday_write_log";
5762
+ referencedColumns: ["id"];
5763
+ }];
5764
+ };
5606
5765
  floriday_auction_letters_cache: {
5607
5766
  Row: {
5608
5767
  auction_letter_code: string;
@@ -5810,6 +5969,84 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
5810
5969
  referencedColumns: ["id"];
5811
5970
  }];
5812
5971
  };
5972
+ floriday_catalog_prices_cache: {
5973
+ Row: {
5974
+ connection_id: string;
5975
+ created_at: string;
5976
+ currency: string;
5977
+ id: string;
5978
+ is_deleted: boolean;
5979
+ price: number | null;
5980
+ price_group_id: string | null;
5981
+ price_group_name: string | null;
5982
+ price_type: string;
5983
+ raw: import("./types").Json | null;
5984
+ sales_unit: string | null;
5985
+ sequence_number: number;
5986
+ supplier_article_code: string | null;
5987
+ supply_line_id: string;
5988
+ synced_at: string;
5989
+ trade_item_id: string | null;
5990
+ updated_at: string;
5991
+ valid_from: string | null;
5992
+ valid_to: string | null;
5993
+ week: number | null;
5994
+ year: number | null;
5995
+ };
5996
+ Insert: {
5997
+ connection_id: string;
5998
+ created_at?: string;
5999
+ currency?: string;
6000
+ id?: string;
6001
+ is_deleted?: boolean;
6002
+ price?: number | null;
6003
+ price_group_id?: string | null;
6004
+ price_group_name?: string | null;
6005
+ price_type?: string;
6006
+ raw?: import("./types").Json | null;
6007
+ sales_unit?: string | null;
6008
+ sequence_number?: number;
6009
+ supplier_article_code?: string | null;
6010
+ supply_line_id: string;
6011
+ synced_at?: string;
6012
+ trade_item_id?: string | null;
6013
+ updated_at?: string;
6014
+ valid_from?: string | null;
6015
+ valid_to?: string | null;
6016
+ week?: number | null;
6017
+ year?: number | null;
6018
+ };
6019
+ Update: {
6020
+ connection_id?: string;
6021
+ created_at?: string;
6022
+ currency?: string;
6023
+ id?: string;
6024
+ is_deleted?: boolean;
6025
+ price?: number | null;
6026
+ price_group_id?: string | null;
6027
+ price_group_name?: string | null;
6028
+ price_type?: string;
6029
+ raw?: import("./types").Json | null;
6030
+ sales_unit?: string | null;
6031
+ sequence_number?: number;
6032
+ supplier_article_code?: string | null;
6033
+ supply_line_id?: string;
6034
+ synced_at?: string;
6035
+ trade_item_id?: string | null;
6036
+ updated_at?: string;
6037
+ valid_from?: string | null;
6038
+ valid_to?: string | null;
6039
+ week?: number | null;
6040
+ year?: number | null;
6041
+ };
6042
+ Relationships: [{
6043
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
6044
+ columns: ["connection_id"];
6045
+ isOneToOne: false;
6046
+ referencedRelation: "floriday_connections";
6047
+ referencedColumns: ["id"];
6048
+ }];
6049
+ };
5813
6050
  floriday_clock_presales_cache: {
5814
6051
  Row: {
5815
6052
  buyer_organization_id: string | null;
@@ -6725,6 +6962,69 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
6725
6962
  referencedColumns: ["id"];
6726
6963
  }];
6727
6964
  };
6965
+ floriday_link_templates: {
6966
+ Row: {
6967
+ created_at: string;
6968
+ floriday_url_template: string | null;
6969
+ is_active: boolean;
6970
+ label: string;
6971
+ local_url_template: string | null;
6972
+ resource_type: string;
6973
+ updated_at: string;
6974
+ };
6975
+ Insert: {
6976
+ created_at?: string;
6977
+ floriday_url_template?: string | null;
6978
+ is_active?: boolean;
6979
+ label: string;
6980
+ local_url_template?: string | null;
6981
+ resource_type: string;
6982
+ updated_at?: string;
6983
+ };
6984
+ Update: {
6985
+ created_at?: string;
6986
+ floriday_url_template?: string | null;
6987
+ is_active?: boolean;
6988
+ label?: string;
6989
+ local_url_template?: string | null;
6990
+ resource_type?: string;
6991
+ updated_at?: string;
6992
+ };
6993
+ Relationships: [];
6994
+ };
6995
+ floriday_log_retention: {
6996
+ Row: {
6997
+ created_at: string;
6998
+ direction: string | null;
6999
+ id: string;
7000
+ keep_failed_days: number | null;
7001
+ keep_ok_days: number | null;
7002
+ note: string | null;
7003
+ resource_type: string | null;
7004
+ updated_at: string;
7005
+ };
7006
+ Insert: {
7007
+ created_at?: string;
7008
+ direction?: string | null;
7009
+ id?: string;
7010
+ keep_failed_days?: number | null;
7011
+ keep_ok_days?: number | null;
7012
+ note?: string | null;
7013
+ resource_type?: string | null;
7014
+ updated_at?: string;
7015
+ };
7016
+ Update: {
7017
+ created_at?: string;
7018
+ direction?: string | null;
7019
+ id?: string;
7020
+ keep_failed_days?: number | null;
7021
+ keep_ok_days?: number | null;
7022
+ note?: string | null;
7023
+ resource_type?: string | null;
7024
+ updated_at?: string;
7025
+ };
7026
+ Relationships: [];
7027
+ };
6728
7028
  floriday_logistic_labels_cache: {
6729
7029
  Row: {
6730
7030
  byte_size: number | null;
@@ -10078,22 +10378,31 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10078
10378
  };
10079
10379
  logistics_floriday_push_refusals: {
10080
10380
  Row: {
10381
+ action: string | null;
10081
10382
  created_at: string;
10082
10383
  id: string;
10083
10384
  order_ref: string;
10084
10385
  reason: string;
10386
+ source_module: string | null;
10387
+ source_shell: string | null;
10085
10388
  };
10086
10389
  Insert: {
10390
+ action?: string | null;
10087
10391
  created_at?: string;
10088
10392
  id?: string;
10089
10393
  order_ref: string;
10090
10394
  reason: string;
10395
+ source_module?: string | null;
10396
+ source_shell?: string | null;
10091
10397
  };
10092
10398
  Update: {
10399
+ action?: string | null;
10093
10400
  created_at?: string;
10094
10401
  id?: string;
10095
10402
  order_ref?: string;
10096
10403
  reason?: string;
10404
+ source_module?: string | null;
10405
+ source_shell?: string | null;
10097
10406
  };
10098
10407
  Relationships: [];
10099
10408
  };
@@ -10172,6 +10481,42 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10172
10481
  };
10173
10482
  Relationships: [];
10174
10483
  };
10484
+ logistics_floriday_status_sends: {
10485
+ Row: {
10486
+ action: string;
10487
+ created_at: string;
10488
+ detail: string | null;
10489
+ http_status: number | null;
10490
+ id: string;
10491
+ ok: boolean;
10492
+ order_ref: string;
10493
+ source_module: string | null;
10494
+ source_shell: string | null;
10495
+ };
10496
+ Insert: {
10497
+ action: string;
10498
+ created_at?: string;
10499
+ detail?: string | null;
10500
+ http_status?: number | null;
10501
+ id?: string;
10502
+ ok?: boolean;
10503
+ order_ref: string;
10504
+ source_module?: string | null;
10505
+ source_shell?: string | null;
10506
+ };
10507
+ Update: {
10508
+ action?: string;
10509
+ created_at?: string;
10510
+ detail?: string | null;
10511
+ http_status?: number | null;
10512
+ id?: string;
10513
+ ok?: boolean;
10514
+ order_ref?: string;
10515
+ source_module?: string | null;
10516
+ source_shell?: string | null;
10517
+ };
10518
+ Relationships: [];
10519
+ };
10175
10520
  logistics_formulas: {
10176
10521
  Row: {
10177
10522
  created_at: string;
@@ -10244,28 +10589,130 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10244
10589
  };
10245
10590
  Relationships: [];
10246
10591
  };
10247
- logistics_pickup_moments: {
10592
+ logistics_opening_exceptions: {
10248
10593
  Row: {
10249
- carrier_ref: string | null;
10594
+ closes: string | null;
10250
10595
  created_at: string;
10596
+ day: string;
10251
10597
  id: string;
10252
- label: string | null;
10253
- moment_date: string;
10254
- pickup_time: string;
10255
- sequence: number;
10256
- updated_at: string;
10257
- user_id: string;
10598
+ is_closed: boolean;
10599
+ note: string | null;
10600
+ opens: string | null;
10258
10601
  };
10259
10602
  Insert: {
10260
- carrier_ref?: string | null;
10603
+ closes?: string | null;
10261
10604
  created_at?: string;
10605
+ day: string;
10262
10606
  id?: string;
10263
- label?: string | null;
10264
- moment_date: string;
10265
- pickup_time: string;
10266
- sequence?: number;
10267
- updated_at?: string;
10268
- user_id?: string;
10607
+ is_closed?: boolean;
10608
+ note?: string | null;
10609
+ opens?: string | null;
10610
+ };
10611
+ Update: {
10612
+ closes?: string | null;
10613
+ created_at?: string;
10614
+ day?: string;
10615
+ id?: string;
10616
+ is_closed?: boolean;
10617
+ note?: string | null;
10618
+ opens?: string | null;
10619
+ };
10620
+ Relationships: [];
10621
+ };
10622
+ logistics_opening_hours: {
10623
+ Row: {
10624
+ closes: string;
10625
+ created_at: string;
10626
+ id: string;
10627
+ is_active: boolean;
10628
+ note: string | null;
10629
+ opens: string;
10630
+ weekday: number;
10631
+ };
10632
+ Insert: {
10633
+ closes: string;
10634
+ created_at?: string;
10635
+ id?: string;
10636
+ is_active?: boolean;
10637
+ note?: string | null;
10638
+ opens: string;
10639
+ weekday: number;
10640
+ };
10641
+ Update: {
10642
+ closes?: string;
10643
+ created_at?: string;
10644
+ id?: string;
10645
+ is_active?: boolean;
10646
+ note?: string | null;
10647
+ opens?: string;
10648
+ weekday?: number;
10649
+ };
10650
+ Relationships: [];
10651
+ };
10652
+ logistics_pick_data_requests: {
10653
+ Row: {
10654
+ actions: import("./types").Json;
10655
+ created_at: string;
10656
+ event_id: string | null;
10657
+ finished_at: string | null;
10658
+ id: string;
10659
+ missing: import("./types").Json;
10660
+ order_ref: string;
10661
+ reason: string | null;
10662
+ result: import("./types").Json | null;
10663
+ status: string;
10664
+ unit_ref: string | null;
10665
+ };
10666
+ Insert: {
10667
+ actions?: import("./types").Json;
10668
+ created_at?: string;
10669
+ event_id?: string | null;
10670
+ finished_at?: string | null;
10671
+ id?: string;
10672
+ missing?: import("./types").Json;
10673
+ order_ref: string;
10674
+ reason?: string | null;
10675
+ result?: import("./types").Json | null;
10676
+ status?: string;
10677
+ unit_ref?: string | null;
10678
+ };
10679
+ Update: {
10680
+ actions?: import("./types").Json;
10681
+ created_at?: string;
10682
+ event_id?: string | null;
10683
+ finished_at?: string | null;
10684
+ id?: string;
10685
+ missing?: import("./types").Json;
10686
+ order_ref?: string;
10687
+ reason?: string | null;
10688
+ result?: import("./types").Json | null;
10689
+ status?: string;
10690
+ unit_ref?: string | null;
10691
+ };
10692
+ Relationships: [];
10693
+ };
10694
+ logistics_pickup_moments: {
10695
+ Row: {
10696
+ carrier_ref: string | null;
10697
+ created_at: string;
10698
+ id: string;
10699
+ label: string | null;
10700
+ moment_date: string;
10701
+ pickup_time: string;
10702
+ sequence: number;
10703
+ updated_at: string;
10704
+ user_id: string;
10705
+ };
10706
+ Insert: {
10707
+ carrier_ref?: string | null;
10708
+ created_at?: string;
10709
+ id?: string;
10710
+ label?: string | null;
10711
+ moment_date: string;
10712
+ pickup_time: string;
10713
+ sequence?: number;
10714
+ updated_at?: string;
10715
+ user_id?: string;
10269
10716
  };
10270
10717
  Update: {
10271
10718
  carrier_ref?: string | null;
@@ -10703,6 +11150,69 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10703
11150
  };
10704
11151
  Relationships: [];
10705
11152
  };
11153
+ logistics_slip_shipping_note: {
11154
+ Row: {
11155
+ attempts: number;
11156
+ batch_key: string | null;
11157
+ cart_id: string | null;
11158
+ created_at: string;
11159
+ error: string | null;
11160
+ error_code: string | null;
11161
+ fulfillment_order_id: string | null;
11162
+ id: string;
11163
+ locked_until: string | null;
11164
+ next_attempt_at: string | null;
11165
+ order_id: string | null;
11166
+ order_number: string | null;
11167
+ print_job_id: string | null;
11168
+ printer_id: string | null;
11169
+ retry_class: string | null;
11170
+ slip_job_id: string;
11171
+ status: string;
11172
+ updated_at: string;
11173
+ };
11174
+ Insert: {
11175
+ attempts?: number;
11176
+ batch_key?: string | null;
11177
+ cart_id?: string | null;
11178
+ created_at?: string;
11179
+ error?: string | null;
11180
+ error_code?: string | null;
11181
+ fulfillment_order_id?: string | null;
11182
+ id?: string;
11183
+ locked_until?: string | null;
11184
+ next_attempt_at?: string | null;
11185
+ order_id?: string | null;
11186
+ order_number?: string | null;
11187
+ print_job_id?: string | null;
11188
+ printer_id?: string | null;
11189
+ retry_class?: string | null;
11190
+ slip_job_id: string;
11191
+ status?: string;
11192
+ updated_at?: string;
11193
+ };
11194
+ Update: {
11195
+ attempts?: number;
11196
+ batch_key?: string | null;
11197
+ cart_id?: string | null;
11198
+ created_at?: string;
11199
+ error?: string | null;
11200
+ error_code?: string | null;
11201
+ fulfillment_order_id?: string | null;
11202
+ id?: string;
11203
+ locked_until?: string | null;
11204
+ next_attempt_at?: string | null;
11205
+ order_id?: string | null;
11206
+ order_number?: string | null;
11207
+ print_job_id?: string | null;
11208
+ printer_id?: string | null;
11209
+ retry_class?: string | null;
11210
+ slip_job_id?: string;
11211
+ status?: string;
11212
+ updated_at?: string;
11213
+ };
11214
+ Relationships: [];
11215
+ };
10706
11216
  logistics_staff_planning: {
10707
11217
  Row: {
10708
11218
  created_at: string;
@@ -11036,6 +11546,129 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
11036
11546
  };
11037
11547
  Relationships: [];
11038
11548
  };
11549
+ logistics_time_settings: {
11550
+ Row: {
11551
+ id: boolean;
11552
+ timezone: string;
11553
+ updated_at: string;
11554
+ };
11555
+ Insert: {
11556
+ id?: boolean;
11557
+ timezone: string;
11558
+ updated_at?: string;
11559
+ };
11560
+ Update: {
11561
+ id?: boolean;
11562
+ timezone?: string;
11563
+ updated_at?: string;
11564
+ };
11565
+ Relationships: [];
11566
+ };
11567
+ logistics_trace_events: {
11568
+ Row: {
11569
+ actor: string | null;
11570
+ attempts: number;
11571
+ cart_ref: string | null;
11572
+ created_at: string;
11573
+ db_action: string | null;
11574
+ db_new: import("./types").Json | null;
11575
+ db_old: import("./types").Json | null;
11576
+ db_record: string | null;
11577
+ db_table: string | null;
11578
+ decision: string | null;
11579
+ duration_ms: number | null;
11580
+ error: string | null;
11581
+ external_action: string | null;
11582
+ external_ref: string | null;
11583
+ external_response: import("./types").Json | null;
11584
+ external_status: string | null;
11585
+ external_system: string | null;
11586
+ id: string;
11587
+ input: import("./types").Json | null;
11588
+ next_attempt_at: string | null;
11589
+ order_ref: string | null;
11590
+ order_source: string | null;
11591
+ output: import("./types").Json | null;
11592
+ phase: string;
11593
+ reads: import("./types").Json | null;
11594
+ reason: string | null;
11595
+ rule: string | null;
11596
+ slip_ref: string | null;
11597
+ status: string;
11598
+ step: string;
11599
+ trace_id: string;
11600
+ values_used: import("./types").Json | null;
11601
+ };
11602
+ Insert: {
11603
+ actor?: string | null;
11604
+ attempts?: number;
11605
+ cart_ref?: string | null;
11606
+ created_at?: string;
11607
+ db_action?: string | null;
11608
+ db_new?: import("./types").Json | null;
11609
+ db_old?: import("./types").Json | null;
11610
+ db_record?: string | null;
11611
+ db_table?: string | null;
11612
+ decision?: string | null;
11613
+ duration_ms?: number | null;
11614
+ error?: string | null;
11615
+ external_action?: string | null;
11616
+ external_ref?: string | null;
11617
+ external_response?: import("./types").Json | null;
11618
+ external_status?: string | null;
11619
+ external_system?: string | null;
11620
+ id?: string;
11621
+ input?: import("./types").Json | null;
11622
+ next_attempt_at?: string | null;
11623
+ order_ref?: string | null;
11624
+ order_source?: string | null;
11625
+ output?: import("./types").Json | null;
11626
+ phase: string;
11627
+ reads?: import("./types").Json | null;
11628
+ reason?: string | null;
11629
+ rule?: string | null;
11630
+ slip_ref?: string | null;
11631
+ status: string;
11632
+ step: string;
11633
+ trace_id?: string;
11634
+ values_used?: import("./types").Json | null;
11635
+ };
11636
+ Update: {
11637
+ actor?: string | null;
11638
+ attempts?: number;
11639
+ cart_ref?: string | null;
11640
+ created_at?: string;
11641
+ db_action?: string | null;
11642
+ db_new?: import("./types").Json | null;
11643
+ db_old?: import("./types").Json | null;
11644
+ db_record?: string | null;
11645
+ db_table?: string | null;
11646
+ decision?: string | null;
11647
+ duration_ms?: number | null;
11648
+ error?: string | null;
11649
+ external_action?: string | null;
11650
+ external_ref?: string | null;
11651
+ external_response?: import("./types").Json | null;
11652
+ external_status?: string | null;
11653
+ external_system?: string | null;
11654
+ id?: string;
11655
+ input?: import("./types").Json | null;
11656
+ next_attempt_at?: string | null;
11657
+ order_ref?: string | null;
11658
+ order_source?: string | null;
11659
+ output?: import("./types").Json | null;
11660
+ phase?: string;
11661
+ reads?: import("./types").Json | null;
11662
+ reason?: string | null;
11663
+ rule?: string | null;
11664
+ slip_ref?: string | null;
11665
+ status?: string;
11666
+ step?: string;
11667
+ trace_id?: string;
11668
+ values_used?: import("./types").Json | null;
11669
+ };
11670
+ Relationships: [];
11671
+ };
11039
11672
  logistics_variables: {
11040
11673
  Row: {
11041
11674
  created_at: string;
@@ -13426,6 +14059,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13426
14059
  customer_name: string;
13427
14060
  deleted_at: string | null;
13428
14061
  delivery_date: string | null;
14062
+ floriday_order_group_key: string | null;
13429
14063
  floriday_sales_order_id: string | null;
13430
14064
  id: string;
13431
14065
  invoice_due_at: string | null;
@@ -13453,6 +14087,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13453
14087
  customer_name?: string;
13454
14088
  deleted_at?: string | null;
13455
14089
  delivery_date?: string | null;
14090
+ floriday_order_group_key?: string | null;
13456
14091
  floriday_sales_order_id?: string | null;
13457
14092
  id?: string;
13458
14093
  invoice_due_at?: string | null;
@@ -13480,6 +14115,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13480
14115
  customer_name?: string;
13481
14116
  deleted_at?: string | null;
13482
14117
  delivery_date?: string | null;
14118
+ floriday_order_group_key?: string | null;
13483
14119
  floriday_sales_order_id?: string | null;
13484
14120
  id?: string;
13485
14121
  invoice_due_at?: string | null;
@@ -21605,6 +22241,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21605
22241
  Args: never;
21606
22242
  Returns: boolean;
21607
22243
  };
22244
+ cancel_open_print_jobs: {
22245
+ Args: {
22246
+ _cutoff: string;
22247
+ };
22248
+ Returns: {
22249
+ extern_job_id: string;
22250
+ id: string;
22251
+ }[];
22252
+ };
21608
22253
  check_offer_product_available_stock: {
21609
22254
  Args: {
21610
22255
  p_campaign_product_id: string;
@@ -23143,6 +23788,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23143
23788
  };
23144
23789
  Returns: string;
23145
23790
  };
23791
+ logistics_cart_checkin_at: {
23792
+ Args: {
23793
+ p_cart_id: string;
23794
+ };
23795
+ Returns: string;
23796
+ };
23146
23797
  logistics_cart_handled: {
23147
23798
  Args: {
23148
23799
  p_cart_index: number;
@@ -23176,10 +23827,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23176
23827
  task_status: string;
23177
23828
  }[];
23178
23829
  };
23830
+ logistics_cart_is_full: {
23831
+ Args: {
23832
+ p_cart_id: string;
23833
+ };
23834
+ Returns: boolean;
23835
+ };
23179
23836
  logistics_cart_layout_method: {
23180
23837
  Args: never;
23181
23838
  Returns: import("./types").Json;
23182
23839
  };
23840
+ logistics_cart_order_refs: {
23841
+ Args: {
23842
+ p_cart_id: string;
23843
+ };
23844
+ Returns: string[];
23845
+ };
23183
23846
  logistics_cart_plan_overview: {
23184
23847
  Args: {
23185
23848
  p_days?: number;
@@ -23199,6 +23862,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23199
23862
  };
23200
23863
  Returns: import("./types").Json;
23201
23864
  };
23865
+ logistics_cart_plan_status_core: {
23866
+ Args: {
23867
+ p_ref: string;
23868
+ };
23869
+ Returns: import("./types").Json;
23870
+ };
23871
+ logistics_cart_release_reason: {
23872
+ Args: {
23873
+ p_cart_id: string;
23874
+ };
23875
+ Returns: string;
23876
+ };
23877
+ logistics_cart_released: {
23878
+ Args: {
23879
+ p_cart_id: string;
23880
+ };
23881
+ Returns: boolean;
23882
+ };
23202
23883
  logistics_cart_seq: {
23203
23884
  Args: {
23204
23885
  p_order_uuid?: string;
@@ -23249,6 +23930,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23249
23930
  unit_ref: string;
23250
23931
  }[];
23251
23932
  };
23933
+ logistics_carts_per_print: {
23934
+ Args: never;
23935
+ Returns: number;
23936
+ };
23252
23937
  logistics_check_order_allowed: {
23253
23938
  Args: {
23254
23939
  p_lines: import("./types").Json;
@@ -23352,6 +24037,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23352
24037
  isSetofReturn: false;
23353
24038
  };
23354
24039
  };
24040
+ logistics_cleanup_orphan_print_jobs: {
24041
+ Args: never;
24042
+ Returns: import("./types").Json;
24043
+ };
23355
24044
  logistics_complete_task: {
23356
24045
  Args: {
23357
24046
  p_result?: import("./types").Json;
@@ -23414,6 +24103,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23414
24103
  station_carts: number;
23415
24104
  }[];
23416
24105
  };
24106
+ logistics_control_complete_cart: {
24107
+ Args: {
24108
+ p_cart_id: string;
24109
+ };
24110
+ Returns: number;
24111
+ };
23417
24112
  logistics_control_scan_approve: {
23418
24113
  Args: {
23419
24114
  p_allow_reprint?: boolean;
@@ -23493,6 +24188,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23493
24188
  Args: never;
23494
24189
  Returns: import("./types").Json;
23495
24190
  };
24191
+ logistics_day_windows: {
24192
+ Args: {
24193
+ p_day: string;
24194
+ };
24195
+ Returns: {
24196
+ win_end: string;
24197
+ win_start: string;
24198
+ }[];
24199
+ };
23496
24200
  logistics_delay_customer_email: {
23497
24201
  Args: {
23498
24202
  p_customer: string;
@@ -23560,6 +24264,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23560
24264
  };
23561
24265
  Returns: import("./types").Json;
23562
24266
  };
24267
+ logistics_enqueue_shipping_note_with_slip: {
24268
+ Args: {
24269
+ _cart_id: string;
24270
+ _is_herprint: boolean;
24271
+ _printer_id: string;
24272
+ _queue_item_id: string;
24273
+ _session_id: string;
24274
+ _slip_job_id: string;
24275
+ };
24276
+ Returns: string;
24277
+ };
23563
24278
  logistics_enqueue_sticker_with_slip: {
23564
24279
  Args: {
23565
24280
  _cart_id: string;
@@ -23577,6 +24292,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23577
24292
  };
23578
24293
  Returns: string;
23579
24294
  };
24295
+ logistics_ensure_pick_data: {
24296
+ Args: {
24297
+ p_event_id?: string;
24298
+ p_missing?: import("./types").Json;
24299
+ p_ref: string;
24300
+ };
24301
+ Returns: import("./types").Json;
24302
+ };
24303
+ logistics_ensure_shipping_notes: {
24304
+ Args: {
24305
+ p_limit?: number;
24306
+ };
24307
+ Returns: import("./types").Json;
24308
+ };
23580
24309
  logistics_fail_task: {
23581
24310
  Args: {
23582
24311
  p_error: string;
@@ -23622,6 +24351,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23622
24351
  isSetofReturn: false;
23623
24352
  };
23624
24353
  };
24354
+ logistics_fix_wrong_shipping_notes: {
24355
+ Args: never;
24356
+ Returns: import("./types").Json;
24357
+ };
23625
24358
  logistics_floriday_cart_plan: {
23626
24359
  Args: {
23627
24360
  p_order_id: string;
@@ -23649,6 +24382,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23649
24382
  revision: number;
23650
24383
  }[];
23651
24384
  };
24385
+ logistics_floriday_delivery_note_create_enabled: {
24386
+ Args: never;
24387
+ Returns: boolean;
24388
+ };
23652
24389
  logistics_floriday_finish_push: {
23653
24390
  Args: {
23654
24391
  _error?: string;
@@ -23698,6 +24435,32 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23698
24435
  };
23699
24436
  Returns: string;
23700
24437
  };
24438
+ logistics_floriday_gate_status: {
24439
+ Args: never;
24440
+ Returns: import("./types").Json;
24441
+ };
24442
+ logistics_floriday_log_refusal: {
24443
+ Args: {
24444
+ _action?: string;
24445
+ _module?: string;
24446
+ _order_ref: string;
24447
+ _reason: string;
24448
+ _shell?: string;
24449
+ };
24450
+ Returns: undefined;
24451
+ };
24452
+ logistics_floriday_log_send: {
24453
+ Args: {
24454
+ _action: string;
24455
+ _detail?: string;
24456
+ _http_status?: number;
24457
+ _module?: string;
24458
+ _ok: boolean;
24459
+ _order_ref: string;
24460
+ _shell?: string;
24461
+ };
24462
+ Returns: undefined;
24463
+ };
23701
24464
  logistics_floriday_order_approved: {
23702
24465
  Args: {
23703
24466
  _order_ref: string;
@@ -23722,6 +24485,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23722
24485
  Args: never;
23723
24486
  Returns: boolean;
23724
24487
  };
24488
+ logistics_floriday_stock_updates_enabled: {
24489
+ Args: never;
24490
+ Returns: boolean;
24491
+ };
24492
+ logistics_floriday_write_allowed: {
24493
+ Args: {
24494
+ _action: string;
24495
+ };
24496
+ Returns: boolean;
24497
+ };
23725
24498
  logistics_fulfill_barcode_requests: {
23726
24499
  Args: {
23727
24500
  p_limit?: number;
@@ -23764,6 +24537,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23764
24537
  };
23765
24538
  Returns: number;
23766
24539
  };
24540
+ logistics_merge_partial_carts: {
24541
+ Args: {
24542
+ p_limit?: number;
24543
+ };
24544
+ Returns: import("./types").Json;
24545
+ };
23767
24546
  logistics_next_workday_date: {
23768
24547
  Args: {
23769
24548
  p_date: string;
@@ -23790,6 +24569,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23790
24569
  };
23791
24570
  Returns: string;
23792
24571
  };
24572
+ logistics_opening_timezone: {
24573
+ Args: never;
24574
+ Returns: string;
24575
+ };
23793
24576
  logistics_order_cart_count: {
23794
24577
  Args: {
23795
24578
  p_order_ref: string;
@@ -23846,6 +24629,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23846
24629
  };
23847
24630
  Returns: string;
23848
24631
  };
24632
+ logistics_payload_is_floriday: {
24633
+ Args: {
24634
+ _payload: import("./types").Json;
24635
+ };
24636
+ Returns: boolean;
24637
+ };
23849
24638
  logistics_pick_agenda: {
23850
24639
  Args: {
23851
24640
  p_from?: string;
@@ -23874,6 +24663,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23874
24663
  Args: never;
23875
24664
  Returns: import("./types").Json;
23876
24665
  };
24666
+ logistics_pick_partial_mode: {
24667
+ Args: never;
24668
+ Returns: string;
24669
+ };
23877
24670
  logistics_pick_start_estimate: {
23878
24671
  Args: {
23879
24672
  p_order: import("./types").Json;
@@ -23964,6 +24757,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23964
24757
  Args: never;
23965
24758
  Returns: undefined;
23966
24759
  };
24760
+ logistics_plan_progress: {
24761
+ Args: {
24762
+ p_refs: string[];
24763
+ };
24764
+ Returns: {
24765
+ cart_plan_ready: boolean;
24766
+ cart_plan_reason: string;
24767
+ cart_plan_released: boolean;
24768
+ plan_progress: number;
24769
+ plan_state: string;
24770
+ plan_state_since: string;
24771
+ unit_ref: string;
24772
+ }[];
24773
+ };
23967
24774
  logistics_plan_prune: {
23968
24775
  Args: never;
23969
24776
  Returns: number;
@@ -23985,6 +24792,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23985
24792
  };
23986
24793
  Returns: number;
23987
24794
  };
24795
+ logistics_plan_state_for: {
24796
+ Args: {
24797
+ p_ref: string;
24798
+ };
24799
+ Returns: import("./types").Json;
24800
+ };
24801
+ logistics_prepare_pick_documents: {
24802
+ Args: {
24803
+ p_limit?: number;
24804
+ };
24805
+ Returns: import("./types").Json;
24806
+ };
23988
24807
  logistics_prune_buffer_member_queue: {
23989
24808
  Args: never;
23990
24809
  Returns: number;
@@ -24025,18 +24844,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
24025
24844
  Args: never;
24026
24845
  Returns: import("./types").Json;
24027
24846
  };
24847
+ logistics_refresh_pick_queue_status: {
24848
+ Args: {
24849
+ p_ref: string;
24850
+ };
24851
+ Returns: number;
24852
+ };
24028
24853
  logistics_refresh_pickup_moments: {
24029
24854
  Args: {
24030
24855
  p_weeks?: number;
24031
24856
  };
24032
24857
  Returns: import("./types").Json;
24033
24858
  };
24859
+ logistics_refresh_plan_state: {
24860
+ Args: {
24861
+ p_limit?: number;
24862
+ };
24863
+ Returns: import("./types").Json;
24864
+ };
24034
24865
  logistics_replan_all: {
24035
24866
  Args: {
24036
24867
  p_reason?: string;
24037
24868
  };
24038
24869
  Returns: import("./types").Json;
24039
24870
  };
24871
+ logistics_replan_all_force: {
24872
+ Args: {
24873
+ p_reason?: string;
24874
+ };
24875
+ Returns: import("./types").Json;
24876
+ };
24040
24877
  logistics_report_delay: {
24041
24878
  Args: {
24042
24879
  p_expected_date?: string;
@@ -24181,6 +25018,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
24181
25018
  };
24182
25019
  Returns: string;
24183
25020
  };
25021
+ logistics_shipping_note_follows_slip: {
25022
+ Args: never;
25023
+ Returns: boolean;
25024
+ };
24184
25025
  logistics_shipping_note_from_barcode: {
24185
25026
  Args: {
24186
25027
  p_allow_reprint?: boolean;
@@ -24189,10 +25030,86 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
24189
25030
  };
24190
25031
  Returns: import("./types").Json;
24191
25032
  };
25033
+ logistics_shipping_note_job_for_slip: {
25034
+ Args: {
25035
+ _slip_job_id: string;
25036
+ };
25037
+ Returns: string;
25038
+ };
25039
+ logistics_shipping_notes_wake_all: {
25040
+ Args: never;
25041
+ Returns: import("./types").Json;
25042
+ };
25043
+ logistics_slip_is_floriday: {
25044
+ Args: {
25045
+ _slip_job_id: string;
25046
+ };
25047
+ Returns: boolean;
25048
+ };
25049
+ logistics_slip_note_claim: {
25050
+ Args: {
25051
+ _lease_seconds?: number;
25052
+ _limit?: number;
25053
+ };
25054
+ Returns: {
25055
+ attempts: number;
25056
+ batch_key: string | null;
25057
+ cart_id: string | null;
25058
+ created_at: string;
25059
+ error: string | null;
25060
+ error_code: string | null;
25061
+ fulfillment_order_id: string | null;
25062
+ id: string;
25063
+ locked_until: string | null;
25064
+ next_attempt_at: string | null;
25065
+ order_id: string | null;
25066
+ order_number: string | null;
25067
+ print_job_id: string | null;
25068
+ printer_id: string | null;
25069
+ retry_class: string | null;
25070
+ slip_job_id: string;
25071
+ status: string;
25072
+ updated_at: string;
25073
+ }[];
25074
+ SetofOptions: {
25075
+ from: "*";
25076
+ to: "logistics_slip_shipping_note";
25077
+ isOneToOne: false;
25078
+ isSetofReturn: true;
25079
+ };
25080
+ };
25081
+ logistics_slip_note_finish: {
25082
+ Args: {
25083
+ _error?: string;
25084
+ _error_code?: string;
25085
+ _fulfillment_order_id?: string;
25086
+ _id: string;
25087
+ _ok: boolean;
25088
+ _print_job_id?: string;
25089
+ _status?: string;
25090
+ };
25091
+ Returns: undefined;
25092
+ };
25093
+ logistics_slip_note_keep_waiting: {
25094
+ Args: {
25095
+ _class?: string;
25096
+ _id: string;
25097
+ _reason: string;
25098
+ };
25099
+ Returns: undefined;
25100
+ };
24192
25101
  logistics_sticker_follows_slip: {
24193
25102
  Args: never;
24194
25103
  Returns: boolean;
24195
25104
  };
25105
+ logistics_subtract_working_minutes: {
25106
+ Args: {
25107
+ p_deadline: string;
25108
+ p_max_workdays?: number;
25109
+ p_minutes: number;
25110
+ };
25111
+ Returns: import("./types").Json;
25112
+ };
24196
25113
  logistics_supersede_stale_tasks: {
24197
25114
  Args: {
24198
25115
  p_keep: string[];
@@ -24229,6 +25146,46 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
24229
25146
  Args: never;
24230
25147
  Returns: string;
24231
25148
  };
25149
+ logistics_timezone_options: {
25150
+ Args: never;
25151
+ Returns: {
25152
+ name: string;
25153
+ }[];
25154
+ };
25155
+ logistics_trace: {
25156
+ Args: {
25157
+ p: import("./types").Json;
25158
+ };
25159
+ Returns: string;
25160
+ };
25161
+ logistics_trace_batch: {
25162
+ Args: {
25163
+ p: import("./types").Json;
25164
+ };
25165
+ Returns: number;
25166
+ };
25167
+ logistics_trace_orders: {
25168
+ Args: {
25169
+ p_limit?: number;
25170
+ p_search?: string;
25171
+ p_since?: string;
25172
+ p_status?: string;
25173
+ };
25174
+ Returns: import("./types").Json;
25175
+ };
25176
+ logistics_trace_redact: {
25177
+ Args: {
25178
+ p: import("./types").Json;
25179
+ };
25180
+ Returns: import("./types").Json;
25181
+ };
25182
+ logistics_trace_timeline: {
25183
+ Args: {
25184
+ p_limit?: number;
25185
+ p_order_ref: string;
25186
+ };
25187
+ Returns: import("./types").Json;
25188
+ };
24232
25189
  logistics_upsert_task: {
24233
25190
  Args: {
24234
25191
  p_buffer_ref: string;
@@ -24248,6 +25205,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
24248
25205
  };
24249
25206
  Returns: string;
24250
25207
  };
25208
+ logistics_valid_timezone: {
25209
+ Args: {
25210
+ _tz: string;
25211
+ };
25212
+ Returns: boolean;
25213
+ };
25214
+ logistics_working_hours_status: {
25215
+ Args: never;
25216
+ Returns: import("./types").Json;
25217
+ };
24251
25218
  logistics_write_buffer_layer_positions: {
24252
25219
  Args: {
24253
25220
  p_buffer_id: string;
@@ -25260,6 +26227,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
25260
26227
  };
25261
26228
  Returns: undefined;
25262
26229
  };
26230
+ prune_floriday_api_log: {
26231
+ Args: never;
26232
+ Returns: number;
26233
+ };
25263
26234
  quote_create_from_source: {
25264
26235
  Args: {
25265
26236
  _payload?: import("./types").Json;
@@ -25693,6 +26664,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
25693
26664
  };
25694
26665
  Returns: number;
25695
26666
  };
26667
+ schedule_floriday_catalog_prices_sync: {
26668
+ Args: {
26669
+ p_apikey: string;
26670
+ p_url: string;
26671
+ };
26672
+ Returns: number;
26673
+ };
25696
26674
  schedule_floriday_clock_presales_sync: {
25697
26675
  Args: {
25698
26676
  p_apikey: string;
@@ -25993,6 +26971,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
25993
26971
  };
25994
26972
  Returns: undefined;
25995
26973
  };
26974
+ sync_floriday_prices_into_price_groups: {
26975
+ Args: never;
26976
+ Returns: number;
26977
+ };
25996
26978
  sync_layer_stock: {
25997
26979
  Args: {
25998
26980
  p_product_id: string;
@@ -26125,6 +27107,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
26125
27107
  Args: never;
26126
27108
  Returns: string;
26127
27109
  };
27110
+ voorraad_cleanup_old_rows: {
27111
+ Args: never;
27112
+ Returns: import("./types").Json;
27113
+ };
26128
27114
  wake_print_queue: {
26129
27115
  Args: {
26130
27116
  _min_interval_ms?: number;