@flowselections/floriday-voorraad 1.0.41 → 1.0.42

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 (38) hide show
  1. package/dist-lib/integrations/supabase/auth-middleware.d.ts +546 -0
  2. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  3. package/dist-lib/integrations/supabase/client.d.ts +546 -0
  4. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  5. package/dist-lib/integrations/supabase/client.server.d.ts +546 -0
  6. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/types.d.ts +548 -0
  8. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  9. package/dist-lib/lib/floricode-required-features.functions.d.ts +546 -0
  10. package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
  11. package/dist-lib/lib/floriday-2026v1.server.d.ts +1 -1
  12. package/dist-lib/lib/floriday-2026v1.server.d.ts.map +1 -1
  13. package/dist-lib/lib/floriday-2026v1.server.js +4 -0
  14. package/dist-lib/lib/floriday-customer-offer.functions.d.ts +546 -0
  15. package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
  16. package/dist-lib/lib/floriday-env.functions.d.ts +1092 -0
  17. package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
  18. package/dist-lib/lib/floriday-gateway.functions.d.ts +3276 -0
  19. package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
  20. package/dist-lib/lib/floriday-gateway.server.d.ts +7 -1
  21. package/dist-lib/lib/floriday-gateway.server.d.ts.map +1 -1
  22. package/dist-lib/lib/floriday-gateway.server.js +50 -3
  23. package/dist-lib/lib/floriday-vbn-required.functions.d.ts +1092 -0
  24. package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
  25. package/dist-lib/lib/floriday-warehouse.functions.d.ts +1638 -0
  26. package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
  27. package/dist-lib/lib/floriday-write-gate.server.d.ts +60 -0
  28. package/dist-lib/lib/floriday-write-gate.server.d.ts.map +1 -0
  29. package/dist-lib/lib/floriday-write-gate.server.js +196 -0
  30. package/dist-lib/lib/floriday-writes.functions.d.ts +1092 -0
  31. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  32. package/dist-lib/lib/inventory-settings.functions.d.ts +1092 -0
  33. package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -1
  34. package/dist-lib/lib/module-health.functions.d.ts +1092 -0
  35. package/dist-lib/lib/module-health.functions.d.ts.map +1 -1
  36. package/dist-lib/lib/stock-sync.functions.d.ts +1092 -0
  37. package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
  38. package/package.json +1 -1
@@ -5809,6 +5809,84 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
5809
5809
  referencedColumns: ["id"];
5810
5810
  }];
5811
5811
  };
5812
+ floriday_catalog_prices_cache: {
5813
+ Row: {
5814
+ connection_id: string;
5815
+ created_at: string;
5816
+ currency: string;
5817
+ id: string;
5818
+ is_deleted: boolean;
5819
+ price: number | null;
5820
+ price_group_id: string | null;
5821
+ price_group_name: string | null;
5822
+ price_type: string;
5823
+ raw: import("../integrations/supabase/types").Json | null;
5824
+ sales_unit: string | null;
5825
+ sequence_number: number;
5826
+ supplier_article_code: string | null;
5827
+ supply_line_id: string;
5828
+ synced_at: string;
5829
+ trade_item_id: string | null;
5830
+ updated_at: string;
5831
+ valid_from: string | null;
5832
+ valid_to: string | null;
5833
+ week: number | null;
5834
+ year: number | null;
5835
+ };
5836
+ Insert: {
5837
+ connection_id: string;
5838
+ created_at?: string;
5839
+ currency?: string;
5840
+ id?: string;
5841
+ is_deleted?: boolean;
5842
+ price?: number | null;
5843
+ price_group_id?: string | null;
5844
+ price_group_name?: string | null;
5845
+ price_type?: string;
5846
+ raw?: import("../integrations/supabase/types").Json | null;
5847
+ sales_unit?: string | null;
5848
+ sequence_number?: number;
5849
+ supplier_article_code?: string | null;
5850
+ supply_line_id: string;
5851
+ synced_at?: string;
5852
+ trade_item_id?: string | null;
5853
+ updated_at?: string;
5854
+ valid_from?: string | null;
5855
+ valid_to?: string | null;
5856
+ week?: number | null;
5857
+ year?: number | null;
5858
+ };
5859
+ Update: {
5860
+ connection_id?: string;
5861
+ created_at?: string;
5862
+ currency?: string;
5863
+ id?: string;
5864
+ is_deleted?: boolean;
5865
+ price?: number | null;
5866
+ price_group_id?: string | null;
5867
+ price_group_name?: string | null;
5868
+ price_type?: string;
5869
+ raw?: import("../integrations/supabase/types").Json | null;
5870
+ sales_unit?: string | null;
5871
+ sequence_number?: number;
5872
+ supplier_article_code?: string | null;
5873
+ supply_line_id?: string;
5874
+ synced_at?: string;
5875
+ trade_item_id?: string | null;
5876
+ updated_at?: string;
5877
+ valid_from?: string | null;
5878
+ valid_to?: string | null;
5879
+ week?: number | null;
5880
+ year?: number | null;
5881
+ };
5882
+ Relationships: [{
5883
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
5884
+ columns: ["connection_id"];
5885
+ isOneToOne: false;
5886
+ referencedRelation: "floriday_connections";
5887
+ referencedColumns: ["id"];
5888
+ }];
5889
+ };
5812
5890
  floriday_clock_presales_cache: {
5813
5891
  Row: {
5814
5892
  buyer_organization_id: string | null;
@@ -10077,22 +10155,31 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
10077
10155
  };
10078
10156
  logistics_floriday_push_refusals: {
10079
10157
  Row: {
10158
+ action: string | null;
10080
10159
  created_at: string;
10081
10160
  id: string;
10082
10161
  order_ref: string;
10083
10162
  reason: string;
10163
+ source_module: string | null;
10164
+ source_shell: string | null;
10084
10165
  };
10085
10166
  Insert: {
10167
+ action?: string | null;
10086
10168
  created_at?: string;
10087
10169
  id?: string;
10088
10170
  order_ref: string;
10089
10171
  reason: string;
10172
+ source_module?: string | null;
10173
+ source_shell?: string | null;
10090
10174
  };
10091
10175
  Update: {
10176
+ action?: string | null;
10092
10177
  created_at?: string;
10093
10178
  id?: string;
10094
10179
  order_ref?: string;
10095
10180
  reason?: string;
10181
+ source_module?: string | null;
10182
+ source_shell?: string | null;
10096
10183
  };
10097
10184
  Relationships: [];
10098
10185
  };
@@ -10171,6 +10258,42 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
10171
10258
  };
10172
10259
  Relationships: [];
10173
10260
  };
10261
+ logistics_floriday_status_sends: {
10262
+ Row: {
10263
+ action: string;
10264
+ created_at: string;
10265
+ detail: string | null;
10266
+ http_status: number | null;
10267
+ id: string;
10268
+ ok: boolean;
10269
+ order_ref: string;
10270
+ source_module: string | null;
10271
+ source_shell: string | null;
10272
+ };
10273
+ Insert: {
10274
+ action: string;
10275
+ created_at?: string;
10276
+ detail?: string | null;
10277
+ http_status?: number | null;
10278
+ id?: string;
10279
+ ok?: boolean;
10280
+ order_ref: string;
10281
+ source_module?: string | null;
10282
+ source_shell?: string | null;
10283
+ };
10284
+ Update: {
10285
+ action?: string;
10286
+ created_at?: string;
10287
+ detail?: string | null;
10288
+ http_status?: number | null;
10289
+ id?: string;
10290
+ ok?: boolean;
10291
+ order_ref?: string;
10292
+ source_module?: string | null;
10293
+ source_shell?: string | null;
10294
+ };
10295
+ Relationships: [];
10296
+ };
10174
10297
  logistics_formulas: {
10175
10298
  Row: {
10176
10299
  created_at: string;
@@ -10243,6 +10366,108 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
10243
10366
  };
10244
10367
  Relationships: [];
10245
10368
  };
10369
+ logistics_opening_exceptions: {
10370
+ Row: {
10371
+ closes: string | null;
10372
+ created_at: string;
10373
+ day: string;
10374
+ id: string;
10375
+ is_closed: boolean;
10376
+ note: string | null;
10377
+ opens: string | null;
10378
+ };
10379
+ Insert: {
10380
+ closes?: string | null;
10381
+ created_at?: string;
10382
+ day: string;
10383
+ id?: string;
10384
+ is_closed?: boolean;
10385
+ note?: string | null;
10386
+ opens?: string | null;
10387
+ };
10388
+ Update: {
10389
+ closes?: string | null;
10390
+ created_at?: string;
10391
+ day?: string;
10392
+ id?: string;
10393
+ is_closed?: boolean;
10394
+ note?: string | null;
10395
+ opens?: string | null;
10396
+ };
10397
+ Relationships: [];
10398
+ };
10399
+ logistics_opening_hours: {
10400
+ Row: {
10401
+ closes: string;
10402
+ created_at: string;
10403
+ id: string;
10404
+ is_active: boolean;
10405
+ note: string | null;
10406
+ opens: string;
10407
+ weekday: number;
10408
+ };
10409
+ Insert: {
10410
+ closes: string;
10411
+ created_at?: string;
10412
+ id?: string;
10413
+ is_active?: boolean;
10414
+ note?: string | null;
10415
+ opens: string;
10416
+ weekday: number;
10417
+ };
10418
+ Update: {
10419
+ closes?: string;
10420
+ created_at?: string;
10421
+ id?: string;
10422
+ is_active?: boolean;
10423
+ note?: string | null;
10424
+ opens?: string;
10425
+ weekday?: number;
10426
+ };
10427
+ Relationships: [];
10428
+ };
10429
+ logistics_pick_data_requests: {
10430
+ Row: {
10431
+ actions: import("../integrations/supabase/types").Json;
10432
+ created_at: string;
10433
+ event_id: string | null;
10434
+ finished_at: string | null;
10435
+ id: string;
10436
+ missing: import("../integrations/supabase/types").Json;
10437
+ order_ref: string;
10438
+ reason: string | null;
10439
+ result: import("../integrations/supabase/types").Json | null;
10440
+ status: string;
10441
+ unit_ref: string | null;
10442
+ };
10443
+ Insert: {
10444
+ actions?: import("../integrations/supabase/types").Json;
10445
+ created_at?: string;
10446
+ event_id?: string | null;
10447
+ finished_at?: string | null;
10448
+ id?: string;
10449
+ missing?: import("../integrations/supabase/types").Json;
10450
+ order_ref: string;
10451
+ reason?: string | null;
10452
+ result?: import("../integrations/supabase/types").Json | null;
10453
+ status?: string;
10454
+ unit_ref?: string | null;
10455
+ };
10456
+ Update: {
10457
+ actions?: import("../integrations/supabase/types").Json;
10458
+ created_at?: string;
10459
+ event_id?: string | null;
10460
+ finished_at?: string | null;
10461
+ id?: string;
10462
+ missing?: import("../integrations/supabase/types").Json;
10463
+ order_ref?: string;
10464
+ reason?: string | null;
10465
+ result?: import("../integrations/supabase/types").Json | null;
10466
+ status?: string;
10467
+ unit_ref?: string | null;
10468
+ };
10469
+ Relationships: [];
10470
+ };
10246
10471
  logistics_pickup_moments: {
10247
10472
  Row: {
10248
10473
  carrier_ref: string | null;
@@ -10702,6 +10927,69 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
10702
10927
  };
10703
10928
  Relationships: [];
10704
10929
  };
10930
+ logistics_slip_shipping_note: {
10931
+ Row: {
10932
+ attempts: number;
10933
+ batch_key: string | null;
10934
+ cart_id: string | null;
10935
+ created_at: string;
10936
+ error: string | null;
10937
+ error_code: string | null;
10938
+ fulfillment_order_id: string | null;
10939
+ id: string;
10940
+ locked_until: string | null;
10941
+ next_attempt_at: string | null;
10942
+ order_id: string | null;
10943
+ order_number: string | null;
10944
+ print_job_id: string | null;
10945
+ printer_id: string | null;
10946
+ retry_class: string | null;
10947
+ slip_job_id: string;
10948
+ status: string;
10949
+ updated_at: string;
10950
+ };
10951
+ Insert: {
10952
+ attempts?: number;
10953
+ batch_key?: string | null;
10954
+ cart_id?: string | null;
10955
+ created_at?: string;
10956
+ error?: string | null;
10957
+ error_code?: string | null;
10958
+ fulfillment_order_id?: string | null;
10959
+ id?: string;
10960
+ locked_until?: string | null;
10961
+ next_attempt_at?: string | null;
10962
+ order_id?: string | null;
10963
+ order_number?: string | null;
10964
+ print_job_id?: string | null;
10965
+ printer_id?: string | null;
10966
+ retry_class?: string | null;
10967
+ slip_job_id: string;
10968
+ status?: string;
10969
+ updated_at?: string;
10970
+ };
10971
+ Update: {
10972
+ attempts?: number;
10973
+ batch_key?: string | null;
10974
+ cart_id?: string | null;
10975
+ created_at?: string;
10976
+ error?: string | null;
10977
+ error_code?: string | null;
10978
+ fulfillment_order_id?: string | null;
10979
+ id?: string;
10980
+ locked_until?: string | null;
10981
+ next_attempt_at?: string | null;
10982
+ order_id?: string | null;
10983
+ order_number?: string | null;
10984
+ print_job_id?: string | null;
10985
+ printer_id?: string | null;
10986
+ retry_class?: string | null;
10987
+ slip_job_id?: string;
10988
+ status?: string;
10989
+ updated_at?: string;
10990
+ };
10991
+ Relationships: [];
10992
+ };
10705
10993
  logistics_staff_planning: {
10706
10994
  Row: {
10707
10995
  created_at: string;
@@ -11035,6 +11323,24 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
11035
11323
  };
11036
11324
  Relationships: [];
11037
11325
  };
11326
+ logistics_time_settings: {
11327
+ Row: {
11328
+ id: boolean;
11329
+ timezone: string;
11330
+ updated_at: string;
11331
+ };
11332
+ Insert: {
11333
+ id?: boolean;
11334
+ timezone: string;
11335
+ updated_at?: string;
11336
+ };
11337
+ Update: {
11338
+ id?: boolean;
11339
+ timezone?: string;
11340
+ updated_at?: string;
11341
+ };
11342
+ Relationships: [];
11343
+ };
11038
11344
  logistics_variables: {
11039
11345
  Row: {
11040
11346
  created_at: string;
@@ -13425,6 +13731,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
13425
13731
  customer_name: string;
13426
13732
  deleted_at: string | null;
13427
13733
  delivery_date: string | null;
13734
+ floriday_order_group_key: string | null;
13428
13735
  floriday_sales_order_id: string | null;
13429
13736
  id: string;
13430
13737
  invoice_due_at: string | null;
@@ -13452,6 +13759,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
13452
13759
  customer_name?: string;
13453
13760
  deleted_at?: string | null;
13454
13761
  delivery_date?: string | null;
13762
+ floriday_order_group_key?: string | null;
13455
13763
  floriday_sales_order_id?: string | null;
13456
13764
  id?: string;
13457
13765
  invoice_due_at?: string | null;
@@ -13479,6 +13787,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
13479
13787
  customer_name?: string;
13480
13788
  deleted_at?: string | null;
13481
13789
  delivery_date?: string | null;
13790
+ floriday_order_group_key?: string | null;
13482
13791
  floriday_sales_order_id?: string | null;
13483
13792
  id?: string;
13484
13793
  invoice_due_at?: string | null;
@@ -23142,6 +23451,12 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23142
23451
  };
23143
23452
  Returns: string;
23144
23453
  };
23454
+ logistics_cart_checkin_at: {
23455
+ Args: {
23456
+ p_cart_id: string;
23457
+ };
23458
+ Returns: string;
23459
+ };
23145
23460
  logistics_cart_handled: {
23146
23461
  Args: {
23147
23462
  p_cart_index: number;
@@ -23175,10 +23490,22 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23175
23490
  task_status: string;
23176
23491
  }[];
23177
23492
  };
23493
+ logistics_cart_is_full: {
23494
+ Args: {
23495
+ p_cart_id: string;
23496
+ };
23497
+ Returns: boolean;
23498
+ };
23178
23499
  logistics_cart_layout_method: {
23179
23500
  Args: never;
23180
23501
  Returns: import("../integrations/supabase/types").Json;
23181
23502
  };
23503
+ logistics_cart_order_refs: {
23504
+ Args: {
23505
+ p_cart_id: string;
23506
+ };
23507
+ Returns: string[];
23508
+ };
23182
23509
  logistics_cart_plan_overview: {
23183
23510
  Args: {
23184
23511
  p_days?: number;
@@ -23198,6 +23525,18 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23198
23525
  };
23199
23526
  Returns: import("../integrations/supabase/types").Json;
23200
23527
  };
23528
+ logistics_cart_release_reason: {
23529
+ Args: {
23530
+ p_cart_id: string;
23531
+ };
23532
+ Returns: string;
23533
+ };
23534
+ logistics_cart_released: {
23535
+ Args: {
23536
+ p_cart_id: string;
23537
+ };
23538
+ Returns: boolean;
23539
+ };
23201
23540
  logistics_cart_seq: {
23202
23541
  Args: {
23203
23542
  p_order_uuid?: string;
@@ -23248,6 +23587,10 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23248
23587
  unit_ref: string;
23249
23588
  }[];
23250
23589
  };
23590
+ logistics_carts_per_print: {
23591
+ Args: never;
23592
+ Returns: number;
23593
+ };
23251
23594
  logistics_check_order_allowed: {
23252
23595
  Args: {
23253
23596
  p_lines: import("../integrations/supabase/types").Json;
@@ -23351,6 +23694,10 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23351
23694
  isSetofReturn: false;
23352
23695
  };
23353
23696
  };
23697
+ logistics_cleanup_orphan_print_jobs: {
23698
+ Args: never;
23699
+ Returns: import("../integrations/supabase/types").Json;
23700
+ };
23354
23701
  logistics_complete_task: {
23355
23702
  Args: {
23356
23703
  p_result?: import("../integrations/supabase/types").Json;
@@ -23413,6 +23760,12 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23413
23760
  station_carts: number;
23414
23761
  }[];
23415
23762
  };
23763
+ logistics_control_complete_cart: {
23764
+ Args: {
23765
+ p_cart_id: string;
23766
+ };
23767
+ Returns: number;
23768
+ };
23416
23769
  logistics_control_scan_approve: {
23417
23770
  Args: {
23418
23771
  p_allow_reprint?: boolean;
@@ -23492,6 +23845,15 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23492
23845
  Args: never;
23493
23846
  Returns: import("../integrations/supabase/types").Json;
23494
23847
  };
23848
+ logistics_day_windows: {
23849
+ Args: {
23850
+ p_day: string;
23851
+ };
23852
+ Returns: {
23853
+ win_end: string;
23854
+ win_start: string;
23855
+ }[];
23856
+ };
23495
23857
  logistics_delay_customer_email: {
23496
23858
  Args: {
23497
23859
  p_customer: string;
@@ -23559,6 +23921,17 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23559
23921
  };
23560
23922
  Returns: import("../integrations/supabase/types").Json;
23561
23923
  };
23924
+ logistics_enqueue_shipping_note_with_slip: {
23925
+ Args: {
23926
+ _cart_id: string;
23927
+ _is_herprint: boolean;
23928
+ _printer_id: string;
23929
+ _queue_item_id: string;
23930
+ _session_id: string;
23931
+ _slip_job_id: string;
23932
+ };
23933
+ Returns: string;
23934
+ };
23562
23935
  logistics_enqueue_sticker_with_slip: {
23563
23936
  Args: {
23564
23937
  _cart_id: string;
@@ -23576,6 +23949,14 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23576
23949
  };
23577
23950
  Returns: string;
23578
23951
  };
23952
+ logistics_ensure_pick_data: {
23953
+ Args: {
23954
+ p_event_id?: string;
23955
+ p_missing?: import("../integrations/supabase/types").Json;
23956
+ p_ref: string;
23957
+ };
23958
+ Returns: import("../integrations/supabase/types").Json;
23959
+ };
23579
23960
  logistics_fail_task: {
23580
23961
  Args: {
23581
23962
  p_error: string;
@@ -23697,6 +24078,32 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23697
24078
  };
23698
24079
  Returns: string;
23699
24080
  };
24081
+ logistics_floriday_gate_status: {
24082
+ Args: never;
24083
+ Returns: import("../integrations/supabase/types").Json;
24084
+ };
24085
+ logistics_floriday_log_refusal: {
24086
+ Args: {
24087
+ _action?: string;
24088
+ _module?: string;
24089
+ _order_ref: string;
24090
+ _reason: string;
24091
+ _shell?: string;
24092
+ };
24093
+ Returns: undefined;
24094
+ };
24095
+ logistics_floriday_log_send: {
24096
+ Args: {
24097
+ _action: string;
24098
+ _detail?: string;
24099
+ _http_status?: number;
24100
+ _module?: string;
24101
+ _ok: boolean;
24102
+ _order_ref: string;
24103
+ _shell?: string;
24104
+ };
24105
+ Returns: undefined;
24106
+ };
23700
24107
  logistics_floriday_order_approved: {
23701
24108
  Args: {
23702
24109
  _order_ref: string;
@@ -23721,6 +24128,16 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23721
24128
  Args: never;
23722
24129
  Returns: boolean;
23723
24130
  };
24131
+ logistics_floriday_stock_updates_enabled: {
24132
+ Args: never;
24133
+ Returns: boolean;
24134
+ };
24135
+ logistics_floriday_write_allowed: {
24136
+ Args: {
24137
+ _action: string;
24138
+ };
24139
+ Returns: boolean;
24140
+ };
23724
24141
  logistics_fulfill_barcode_requests: {
23725
24142
  Args: {
23726
24143
  p_limit?: number;
@@ -23763,6 +24180,12 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23763
24180
  };
23764
24181
  Returns: number;
23765
24182
  };
24183
+ logistics_merge_partial_carts: {
24184
+ Args: {
24185
+ p_limit?: number;
24186
+ };
24187
+ Returns: import("../integrations/supabase/types").Json;
24188
+ };
23766
24189
  logistics_next_workday_date: {
23767
24190
  Args: {
23768
24191
  p_date: string;
@@ -23789,6 +24212,10 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23789
24212
  };
23790
24213
  Returns: string;
23791
24214
  };
24215
+ logistics_opening_timezone: {
24216
+ Args: never;
24217
+ Returns: string;
24218
+ };
23792
24219
  logistics_order_cart_count: {
23793
24220
  Args: {
23794
24221
  p_order_ref: string;
@@ -23873,6 +24300,10 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23873
24300
  Args: never;
23874
24301
  Returns: import("../integrations/supabase/types").Json;
23875
24302
  };
24303
+ logistics_pick_partial_mode: {
24304
+ Args: never;
24305
+ Returns: string;
24306
+ };
23876
24307
  logistics_pick_start_estimate: {
23877
24308
  Args: {
23878
24309
  p_order: import("../integrations/supabase/types").Json;
@@ -23984,6 +24415,12 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23984
24415
  };
23985
24416
  Returns: number;
23986
24417
  };
24418
+ logistics_prepare_pick_documents: {
24419
+ Args: {
24420
+ p_limit?: number;
24421
+ };
24422
+ Returns: import("../integrations/supabase/types").Json;
24423
+ };
23987
24424
  logistics_prune_buffer_member_queue: {
23988
24425
  Args: never;
23989
24426
  Returns: number;
@@ -24024,6 +24461,12 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
24024
24461
  Args: never;
24025
24462
  Returns: import("../integrations/supabase/types").Json;
24026
24463
  };
24464
+ logistics_refresh_pick_queue_status: {
24465
+ Args: {
24466
+ p_ref: string;
24467
+ };
24468
+ Returns: number;
24469
+ };
24027
24470
  logistics_refresh_pickup_moments: {
24028
24471
  Args: {
24029
24472
  p_weeks?: number;
@@ -24036,6 +24479,12 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
24036
24479
  };
24037
24480
  Returns: import("../integrations/supabase/types").Json;
24038
24481
  };
24482
+ logistics_replan_all_force: {
24483
+ Args: {
24484
+ p_reason?: string;
24485
+ };
24486
+ Returns: import("../integrations/supabase/types").Json;
24487
+ };
24039
24488
  logistics_report_delay: {
24040
24489
  Args: {
24041
24490
  p_expected_date?: string;
@@ -24180,6 +24629,10 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
24180
24629
  };
24181
24630
  Returns: string;
24182
24631
  };
24632
+ logistics_shipping_note_follows_slip: {
24633
+ Args: never;
24634
+ Returns: boolean;
24635
+ };
24183
24636
  logistics_shipping_note_from_barcode: {
24184
24637
  Args: {
24185
24638
  p_allow_reprint?: boolean;
@@ -24188,10 +24641,76 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
24188
24641
  };
24189
24642
  Returns: import("../integrations/supabase/types").Json;
24190
24643
  };
24644
+ logistics_shipping_note_job_for_slip: {
24645
+ Args: {
24646
+ _slip_job_id: string;
24647
+ };
24648
+ Returns: string;
24649
+ };
24650
+ logistics_slip_note_claim: {
24651
+ Args: {
24652
+ _lease_seconds?: number;
24653
+ _limit?: number;
24654
+ };
24655
+ Returns: {
24656
+ attempts: number;
24657
+ batch_key: string | null;
24658
+ cart_id: string | null;
24659
+ created_at: string;
24660
+ error: string | null;
24661
+ error_code: string | null;
24662
+ fulfillment_order_id: string | null;
24663
+ id: string;
24664
+ locked_until: string | null;
24665
+ next_attempt_at: string | null;
24666
+ order_id: string | null;
24667
+ order_number: string | null;
24668
+ print_job_id: string | null;
24669
+ printer_id: string | null;
24670
+ retry_class: string | null;
24671
+ slip_job_id: string;
24672
+ status: string;
24673
+ updated_at: string;
24674
+ }[];
24675
+ SetofOptions: {
24676
+ from: "*";
24677
+ to: "logistics_slip_shipping_note";
24678
+ isOneToOne: false;
24679
+ isSetofReturn: true;
24680
+ };
24681
+ };
24682
+ logistics_slip_note_finish: {
24683
+ Args: {
24684
+ _error?: string;
24685
+ _error_code?: string;
24686
+ _fulfillment_order_id?: string;
24687
+ _id: string;
24688
+ _ok: boolean;
24689
+ _print_job_id?: string;
24690
+ _status?: string;
24691
+ };
24692
+ Returns: undefined;
24693
+ };
24694
+ logistics_slip_note_keep_waiting: {
24695
+ Args: {
24696
+ _class?: string;
24697
+ _id: string;
24698
+ _reason: string;
24699
+ };
24700
+ Returns: undefined;
24701
+ };
24191
24702
  logistics_sticker_follows_slip: {
24192
24703
  Args: never;
24193
24704
  Returns: boolean;
24194
24705
  };
24706
+ logistics_subtract_working_minutes: {
24707
+ Args: {
24708
+ p_deadline: string;
24709
+ p_max_workdays?: number;
24710
+ p_minutes: number;
24711
+ };
24712
+ Returns: import("../integrations/supabase/types").Json;
24713
+ };
24195
24714
  logistics_supersede_stale_tasks: {
24196
24715
  Args: {
24197
24716
  p_keep: string[];
@@ -24228,6 +24747,12 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
24228
24747
  Args: never;
24229
24748
  Returns: string;
24230
24749
  };
24750
+ logistics_timezone_options: {
24751
+ Args: never;
24752
+ Returns: {
24753
+ name: string;
24754
+ }[];
24755
+ };
24231
24756
  logistics_upsert_task: {
24232
24757
  Args: {
24233
24758
  p_buffer_ref: string;
@@ -24247,6 +24772,16 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
24247
24772
  };
24248
24773
  Returns: string;
24249
24774
  };
24775
+ logistics_valid_timezone: {
24776
+ Args: {
24777
+ _tz: string;
24778
+ };
24779
+ Returns: boolean;
24780
+ };
24781
+ logistics_working_hours_status: {
24782
+ Args: never;
24783
+ Returns: import("../integrations/supabase/types").Json;
24784
+ };
24250
24785
  logistics_write_buffer_layer_positions: {
24251
24786
  Args: {
24252
24787
  p_buffer_id: string;
@@ -25692,6 +26227,13 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
25692
26227
  };
25693
26228
  Returns: number;
25694
26229
  };
26230
+ schedule_floriday_catalog_prices_sync: {
26231
+ Args: {
26232
+ p_apikey: string;
26233
+ p_url: string;
26234
+ };
26235
+ Returns: number;
26236
+ };
25695
26237
  schedule_floriday_clock_presales_sync: {
25696
26238
  Args: {
25697
26239
  p_apikey: string;
@@ -25992,6 +26534,10 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
25992
26534
  };
25993
26535
  Returns: undefined;
25994
26536
  };
26537
+ sync_floriday_prices_into_price_groups: {
26538
+ Args: never;
26539
+ Returns: number;
26540
+ };
25995
26541
  sync_layer_stock: {
25996
26542
  Args: {
25997
26543
  p_product_id: string;
@@ -32007,6 +32553,84 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
32007
32553
  referencedColumns: ["id"];
32008
32554
  }];
32009
32555
  };
32556
+ floriday_catalog_prices_cache: {
32557
+ Row: {
32558
+ connection_id: string;
32559
+ created_at: string;
32560
+ currency: string;
32561
+ id: string;
32562
+ is_deleted: boolean;
32563
+ price: number | null;
32564
+ price_group_id: string | null;
32565
+ price_group_name: string | null;
32566
+ price_type: string;
32567
+ raw: import("../integrations/supabase/types").Json | null;
32568
+ sales_unit: string | null;
32569
+ sequence_number: number;
32570
+ supplier_article_code: string | null;
32571
+ supply_line_id: string;
32572
+ synced_at: string;
32573
+ trade_item_id: string | null;
32574
+ updated_at: string;
32575
+ valid_from: string | null;
32576
+ valid_to: string | null;
32577
+ week: number | null;
32578
+ year: number | null;
32579
+ };
32580
+ Insert: {
32581
+ connection_id: string;
32582
+ created_at?: string;
32583
+ currency?: string;
32584
+ id?: string;
32585
+ is_deleted?: boolean;
32586
+ price?: number | null;
32587
+ price_group_id?: string | null;
32588
+ price_group_name?: string | null;
32589
+ price_type?: string;
32590
+ raw?: import("../integrations/supabase/types").Json | null;
32591
+ sales_unit?: string | null;
32592
+ sequence_number?: number;
32593
+ supplier_article_code?: string | null;
32594
+ supply_line_id: string;
32595
+ synced_at?: string;
32596
+ trade_item_id?: string | null;
32597
+ updated_at?: string;
32598
+ valid_from?: string | null;
32599
+ valid_to?: string | null;
32600
+ week?: number | null;
32601
+ year?: number | null;
32602
+ };
32603
+ Update: {
32604
+ connection_id?: string;
32605
+ created_at?: string;
32606
+ currency?: string;
32607
+ id?: string;
32608
+ is_deleted?: boolean;
32609
+ price?: number | null;
32610
+ price_group_id?: string | null;
32611
+ price_group_name?: string | null;
32612
+ price_type?: string;
32613
+ raw?: import("../integrations/supabase/types").Json | null;
32614
+ sales_unit?: string | null;
32615
+ sequence_number?: number;
32616
+ supplier_article_code?: string | null;
32617
+ supply_line_id?: string;
32618
+ synced_at?: string;
32619
+ trade_item_id?: string | null;
32620
+ updated_at?: string;
32621
+ valid_from?: string | null;
32622
+ valid_to?: string | null;
32623
+ week?: number | null;
32624
+ year?: number | null;
32625
+ };
32626
+ Relationships: [{
32627
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
32628
+ columns: ["connection_id"];
32629
+ isOneToOne: false;
32630
+ referencedRelation: "floriday_connections";
32631
+ referencedColumns: ["id"];
32632
+ }];
32633
+ };
32010
32634
  floriday_clock_presales_cache: {
32011
32635
  Row: {
32012
32636
  buyer_organization_id: string | null;
@@ -36275,22 +36899,31 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
36275
36899
  };
36276
36900
  logistics_floriday_push_refusals: {
36277
36901
  Row: {
36902
+ action: string | null;
36278
36903
  created_at: string;
36279
36904
  id: string;
36280
36905
  order_ref: string;
36281
36906
  reason: string;
36907
+ source_module: string | null;
36908
+ source_shell: string | null;
36282
36909
  };
36283
36910
  Insert: {
36911
+ action?: string | null;
36284
36912
  created_at?: string;
36285
36913
  id?: string;
36286
36914
  order_ref: string;
36287
36915
  reason: string;
36916
+ source_module?: string | null;
36917
+ source_shell?: string | null;
36288
36918
  };
36289
36919
  Update: {
36920
+ action?: string | null;
36290
36921
  created_at?: string;
36291
36922
  id?: string;
36292
36923
  order_ref?: string;
36293
36924
  reason?: string;
36925
+ source_module?: string | null;
36926
+ source_shell?: string | null;
36294
36927
  };
36295
36928
  Relationships: [];
36296
36929
  };
@@ -36369,6 +37002,42 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
36369
37002
  };
36370
37003
  Relationships: [];
36371
37004
  };
37005
+ logistics_floriday_status_sends: {
37006
+ Row: {
37007
+ action: string;
37008
+ created_at: string;
37009
+ detail: string | null;
37010
+ http_status: number | null;
37011
+ id: string;
37012
+ ok: boolean;
37013
+ order_ref: string;
37014
+ source_module: string | null;
37015
+ source_shell: string | null;
37016
+ };
37017
+ Insert: {
37018
+ action: string;
37019
+ created_at?: string;
37020
+ detail?: string | null;
37021
+ http_status?: number | null;
37022
+ id?: string;
37023
+ ok?: boolean;
37024
+ order_ref: string;
37025
+ source_module?: string | null;
37026
+ source_shell?: string | null;
37027
+ };
37028
+ Update: {
37029
+ action?: string;
37030
+ created_at?: string;
37031
+ detail?: string | null;
37032
+ http_status?: number | null;
37033
+ id?: string;
37034
+ ok?: boolean;
37035
+ order_ref?: string;
37036
+ source_module?: string | null;
37037
+ source_shell?: string | null;
37038
+ };
37039
+ Relationships: [];
37040
+ };
36372
37041
  logistics_formulas: {
36373
37042
  Row: {
36374
37043
  created_at: string;
@@ -36441,6 +37110,108 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
36441
37110
  };
36442
37111
  Relationships: [];
36443
37112
  };
37113
+ logistics_opening_exceptions: {
37114
+ Row: {
37115
+ closes: string | null;
37116
+ created_at: string;
37117
+ day: string;
37118
+ id: string;
37119
+ is_closed: boolean;
37120
+ note: string | null;
37121
+ opens: string | null;
37122
+ };
37123
+ Insert: {
37124
+ closes?: string | null;
37125
+ created_at?: string;
37126
+ day: string;
37127
+ id?: string;
37128
+ is_closed?: boolean;
37129
+ note?: string | null;
37130
+ opens?: string | null;
37131
+ };
37132
+ Update: {
37133
+ closes?: string | null;
37134
+ created_at?: string;
37135
+ day?: string;
37136
+ id?: string;
37137
+ is_closed?: boolean;
37138
+ note?: string | null;
37139
+ opens?: string | null;
37140
+ };
37141
+ Relationships: [];
37142
+ };
37143
+ logistics_opening_hours: {
37144
+ Row: {
37145
+ closes: string;
37146
+ created_at: string;
37147
+ id: string;
37148
+ is_active: boolean;
37149
+ note: string | null;
37150
+ opens: string;
37151
+ weekday: number;
37152
+ };
37153
+ Insert: {
37154
+ closes: string;
37155
+ created_at?: string;
37156
+ id?: string;
37157
+ is_active?: boolean;
37158
+ note?: string | null;
37159
+ opens: string;
37160
+ weekday: number;
37161
+ };
37162
+ Update: {
37163
+ closes?: string;
37164
+ created_at?: string;
37165
+ id?: string;
37166
+ is_active?: boolean;
37167
+ note?: string | null;
37168
+ opens?: string;
37169
+ weekday?: number;
37170
+ };
37171
+ Relationships: [];
37172
+ };
37173
+ logistics_pick_data_requests: {
37174
+ Row: {
37175
+ actions: import("../integrations/supabase/types").Json;
37176
+ created_at: string;
37177
+ event_id: string | null;
37178
+ finished_at: string | null;
37179
+ id: string;
37180
+ missing: import("../integrations/supabase/types").Json;
37181
+ order_ref: string;
37182
+ reason: string | null;
37183
+ result: import("../integrations/supabase/types").Json | null;
37184
+ status: string;
37185
+ unit_ref: string | null;
37186
+ };
37187
+ Insert: {
37188
+ actions?: import("../integrations/supabase/types").Json;
37189
+ created_at?: string;
37190
+ event_id?: string | null;
37191
+ finished_at?: string | null;
37192
+ id?: string;
37193
+ missing?: import("../integrations/supabase/types").Json;
37194
+ order_ref: string;
37195
+ reason?: string | null;
37196
+ result?: import("../integrations/supabase/types").Json | null;
37197
+ status?: string;
37198
+ unit_ref?: string | null;
37199
+ };
37200
+ Update: {
37201
+ actions?: import("../integrations/supabase/types").Json;
37202
+ created_at?: string;
37203
+ event_id?: string | null;
37204
+ finished_at?: string | null;
37205
+ id?: string;
37206
+ missing?: import("../integrations/supabase/types").Json;
37207
+ order_ref?: string;
37208
+ reason?: string | null;
37209
+ result?: import("../integrations/supabase/types").Json | null;
37210
+ status?: string;
37211
+ unit_ref?: string | null;
37212
+ };
37213
+ Relationships: [];
37214
+ };
36444
37215
  logistics_pickup_moments: {
36445
37216
  Row: {
36446
37217
  carrier_ref: string | null;
@@ -36900,6 +37671,69 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
36900
37671
  };
36901
37672
  Relationships: [];
36902
37673
  };
37674
+ logistics_slip_shipping_note: {
37675
+ Row: {
37676
+ attempts: number;
37677
+ batch_key: string | null;
37678
+ cart_id: string | null;
37679
+ created_at: string;
37680
+ error: string | null;
37681
+ error_code: string | null;
37682
+ fulfillment_order_id: string | null;
37683
+ id: string;
37684
+ locked_until: string | null;
37685
+ next_attempt_at: string | null;
37686
+ order_id: string | null;
37687
+ order_number: string | null;
37688
+ print_job_id: string | null;
37689
+ printer_id: string | null;
37690
+ retry_class: string | null;
37691
+ slip_job_id: string;
37692
+ status: string;
37693
+ updated_at: string;
37694
+ };
37695
+ Insert: {
37696
+ attempts?: number;
37697
+ batch_key?: string | null;
37698
+ cart_id?: string | null;
37699
+ created_at?: string;
37700
+ error?: string | null;
37701
+ error_code?: string | null;
37702
+ fulfillment_order_id?: string | null;
37703
+ id?: string;
37704
+ locked_until?: string | null;
37705
+ next_attempt_at?: string | null;
37706
+ order_id?: string | null;
37707
+ order_number?: string | null;
37708
+ print_job_id?: string | null;
37709
+ printer_id?: string | null;
37710
+ retry_class?: string | null;
37711
+ slip_job_id: string;
37712
+ status?: string;
37713
+ updated_at?: string;
37714
+ };
37715
+ Update: {
37716
+ attempts?: number;
37717
+ batch_key?: string | null;
37718
+ cart_id?: string | null;
37719
+ created_at?: string;
37720
+ error?: string | null;
37721
+ error_code?: string | null;
37722
+ fulfillment_order_id?: string | null;
37723
+ id?: string;
37724
+ locked_until?: string | null;
37725
+ next_attempt_at?: string | null;
37726
+ order_id?: string | null;
37727
+ order_number?: string | null;
37728
+ print_job_id?: string | null;
37729
+ printer_id?: string | null;
37730
+ retry_class?: string | null;
37731
+ slip_job_id?: string;
37732
+ status?: string;
37733
+ updated_at?: string;
37734
+ };
37735
+ Relationships: [];
37736
+ };
36903
37737
  logistics_staff_planning: {
36904
37738
  Row: {
36905
37739
  created_at: string;
@@ -37233,6 +38067,24 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
37233
38067
  };
37234
38068
  Relationships: [];
37235
38069
  };
38070
+ logistics_time_settings: {
38071
+ Row: {
38072
+ id: boolean;
38073
+ timezone: string;
38074
+ updated_at: string;
38075
+ };
38076
+ Insert: {
38077
+ id?: boolean;
38078
+ timezone: string;
38079
+ updated_at?: string;
38080
+ };
38081
+ Update: {
38082
+ id?: boolean;
38083
+ timezone?: string;
38084
+ updated_at?: string;
38085
+ };
38086
+ Relationships: [];
38087
+ };
37236
38088
  logistics_variables: {
37237
38089
  Row: {
37238
38090
  created_at: string;
@@ -39623,6 +40475,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39623
40475
  customer_name: string;
39624
40476
  deleted_at: string | null;
39625
40477
  delivery_date: string | null;
40478
+ floriday_order_group_key: string | null;
39626
40479
  floriday_sales_order_id: string | null;
39627
40480
  id: string;
39628
40481
  invoice_due_at: string | null;
@@ -39650,6 +40503,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39650
40503
  customer_name?: string;
39651
40504
  deleted_at?: string | null;
39652
40505
  delivery_date?: string | null;
40506
+ floriday_order_group_key?: string | null;
39653
40507
  floriday_sales_order_id?: string | null;
39654
40508
  id?: string;
39655
40509
  invoice_due_at?: string | null;
@@ -39677,6 +40531,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39677
40531
  customer_name?: string;
39678
40532
  deleted_at?: string | null;
39679
40533
  delivery_date?: string | null;
40534
+ floriday_order_group_key?: string | null;
39680
40535
  floriday_sales_order_id?: string | null;
39681
40536
  id?: string;
39682
40537
  invoice_due_at?: string | null;
@@ -49340,6 +50195,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49340
50195
  };
49341
50196
  Returns: string;
49342
50197
  };
50198
+ logistics_cart_checkin_at: {
50199
+ Args: {
50200
+ p_cart_id: string;
50201
+ };
50202
+ Returns: string;
50203
+ };
49343
50204
  logistics_cart_handled: {
49344
50205
  Args: {
49345
50206
  p_cart_index: number;
@@ -49373,10 +50234,22 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49373
50234
  task_status: string;
49374
50235
  }[];
49375
50236
  };
50237
+ logistics_cart_is_full: {
50238
+ Args: {
50239
+ p_cart_id: string;
50240
+ };
50241
+ Returns: boolean;
50242
+ };
49376
50243
  logistics_cart_layout_method: {
49377
50244
  Args: never;
49378
50245
  Returns: import("../integrations/supabase/types").Json;
49379
50246
  };
50247
+ logistics_cart_order_refs: {
50248
+ Args: {
50249
+ p_cart_id: string;
50250
+ };
50251
+ Returns: string[];
50252
+ };
49380
50253
  logistics_cart_plan_overview: {
49381
50254
  Args: {
49382
50255
  p_days?: number;
@@ -49396,6 +50269,18 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49396
50269
  };
49397
50270
  Returns: import("../integrations/supabase/types").Json;
49398
50271
  };
50272
+ logistics_cart_release_reason: {
50273
+ Args: {
50274
+ p_cart_id: string;
50275
+ };
50276
+ Returns: string;
50277
+ };
50278
+ logistics_cart_released: {
50279
+ Args: {
50280
+ p_cart_id: string;
50281
+ };
50282
+ Returns: boolean;
50283
+ };
49399
50284
  logistics_cart_seq: {
49400
50285
  Args: {
49401
50286
  p_order_uuid?: string;
@@ -49446,6 +50331,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49446
50331
  unit_ref: string;
49447
50332
  }[];
49448
50333
  };
50334
+ logistics_carts_per_print: {
50335
+ Args: never;
50336
+ Returns: number;
50337
+ };
49449
50338
  logistics_check_order_allowed: {
49450
50339
  Args: {
49451
50340
  p_lines: import("../integrations/supabase/types").Json;
@@ -49549,6 +50438,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49549
50438
  isSetofReturn: false;
49550
50439
  };
49551
50440
  };
50441
+ logistics_cleanup_orphan_print_jobs: {
50442
+ Args: never;
50443
+ Returns: import("../integrations/supabase/types").Json;
50444
+ };
49552
50445
  logistics_complete_task: {
49553
50446
  Args: {
49554
50447
  p_result?: import("../integrations/supabase/types").Json;
@@ -49611,6 +50504,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49611
50504
  station_carts: number;
49612
50505
  }[];
49613
50506
  };
50507
+ logistics_control_complete_cart: {
50508
+ Args: {
50509
+ p_cart_id: string;
50510
+ };
50511
+ Returns: number;
50512
+ };
49614
50513
  logistics_control_scan_approve: {
49615
50514
  Args: {
49616
50515
  p_allow_reprint?: boolean;
@@ -49690,6 +50589,15 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49690
50589
  Args: never;
49691
50590
  Returns: import("../integrations/supabase/types").Json;
49692
50591
  };
50592
+ logistics_day_windows: {
50593
+ Args: {
50594
+ p_day: string;
50595
+ };
50596
+ Returns: {
50597
+ win_end: string;
50598
+ win_start: string;
50599
+ }[];
50600
+ };
49693
50601
  logistics_delay_customer_email: {
49694
50602
  Args: {
49695
50603
  p_customer: string;
@@ -49757,6 +50665,17 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49757
50665
  };
49758
50666
  Returns: import("../integrations/supabase/types").Json;
49759
50667
  };
50668
+ logistics_enqueue_shipping_note_with_slip: {
50669
+ Args: {
50670
+ _cart_id: string;
50671
+ _is_herprint: boolean;
50672
+ _printer_id: string;
50673
+ _queue_item_id: string;
50674
+ _session_id: string;
50675
+ _slip_job_id: string;
50676
+ };
50677
+ Returns: string;
50678
+ };
49760
50679
  logistics_enqueue_sticker_with_slip: {
49761
50680
  Args: {
49762
50681
  _cart_id: string;
@@ -49774,6 +50693,14 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49774
50693
  };
49775
50694
  Returns: string;
49776
50695
  };
50696
+ logistics_ensure_pick_data: {
50697
+ Args: {
50698
+ p_event_id?: string;
50699
+ p_missing?: import("../integrations/supabase/types").Json;
50700
+ p_ref: string;
50701
+ };
50702
+ Returns: import("../integrations/supabase/types").Json;
50703
+ };
49777
50704
  logistics_fail_task: {
49778
50705
  Args: {
49779
50706
  p_error: string;
@@ -49895,6 +50822,32 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49895
50822
  };
49896
50823
  Returns: string;
49897
50824
  };
50825
+ logistics_floriday_gate_status: {
50826
+ Args: never;
50827
+ Returns: import("../integrations/supabase/types").Json;
50828
+ };
50829
+ logistics_floriday_log_refusal: {
50830
+ Args: {
50831
+ _action?: string;
50832
+ _module?: string;
50833
+ _order_ref: string;
50834
+ _reason: string;
50835
+ _shell?: string;
50836
+ };
50837
+ Returns: undefined;
50838
+ };
50839
+ logistics_floriday_log_send: {
50840
+ Args: {
50841
+ _action: string;
50842
+ _detail?: string;
50843
+ _http_status?: number;
50844
+ _module?: string;
50845
+ _ok: boolean;
50846
+ _order_ref: string;
50847
+ _shell?: string;
50848
+ };
50849
+ Returns: undefined;
50850
+ };
49898
50851
  logistics_floriday_order_approved: {
49899
50852
  Args: {
49900
50853
  _order_ref: string;
@@ -49919,6 +50872,16 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49919
50872
  Args: never;
49920
50873
  Returns: boolean;
49921
50874
  };
50875
+ logistics_floriday_stock_updates_enabled: {
50876
+ Args: never;
50877
+ Returns: boolean;
50878
+ };
50879
+ logistics_floriday_write_allowed: {
50880
+ Args: {
50881
+ _action: string;
50882
+ };
50883
+ Returns: boolean;
50884
+ };
49922
50885
  logistics_fulfill_barcode_requests: {
49923
50886
  Args: {
49924
50887
  p_limit?: number;
@@ -49961,6 +50924,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49961
50924
  };
49962
50925
  Returns: number;
49963
50926
  };
50927
+ logistics_merge_partial_carts: {
50928
+ Args: {
50929
+ p_limit?: number;
50930
+ };
50931
+ Returns: import("../integrations/supabase/types").Json;
50932
+ };
49964
50933
  logistics_next_workday_date: {
49965
50934
  Args: {
49966
50935
  p_date: string;
@@ -49987,6 +50956,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49987
50956
  };
49988
50957
  Returns: string;
49989
50958
  };
50959
+ logistics_opening_timezone: {
50960
+ Args: never;
50961
+ Returns: string;
50962
+ };
49990
50963
  logistics_order_cart_count: {
49991
50964
  Args: {
49992
50965
  p_order_ref: string;
@@ -50071,6 +51044,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
50071
51044
  Args: never;
50072
51045
  Returns: import("../integrations/supabase/types").Json;
50073
51046
  };
51047
+ logistics_pick_partial_mode: {
51048
+ Args: never;
51049
+ Returns: string;
51050
+ };
50074
51051
  logistics_pick_start_estimate: {
50075
51052
  Args: {
50076
51053
  p_order: import("../integrations/supabase/types").Json;
@@ -50182,6 +51159,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
50182
51159
  };
50183
51160
  Returns: number;
50184
51161
  };
51162
+ logistics_prepare_pick_documents: {
51163
+ Args: {
51164
+ p_limit?: number;
51165
+ };
51166
+ Returns: import("../integrations/supabase/types").Json;
51167
+ };
50185
51168
  logistics_prune_buffer_member_queue: {
50186
51169
  Args: never;
50187
51170
  Returns: number;
@@ -50222,6 +51205,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
50222
51205
  Args: never;
50223
51206
  Returns: import("../integrations/supabase/types").Json;
50224
51207
  };
51208
+ logistics_refresh_pick_queue_status: {
51209
+ Args: {
51210
+ p_ref: string;
51211
+ };
51212
+ Returns: number;
51213
+ };
50225
51214
  logistics_refresh_pickup_moments: {
50226
51215
  Args: {
50227
51216
  p_weeks?: number;
@@ -50234,6 +51223,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
50234
51223
  };
50235
51224
  Returns: import("../integrations/supabase/types").Json;
50236
51225
  };
51226
+ logistics_replan_all_force: {
51227
+ Args: {
51228
+ p_reason?: string;
51229
+ };
51230
+ Returns: import("../integrations/supabase/types").Json;
51231
+ };
50237
51232
  logistics_report_delay: {
50238
51233
  Args: {
50239
51234
  p_expected_date?: string;
@@ -50378,6 +51373,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
50378
51373
  };
50379
51374
  Returns: string;
50380
51375
  };
51376
+ logistics_shipping_note_follows_slip: {
51377
+ Args: never;
51378
+ Returns: boolean;
51379
+ };
50381
51380
  logistics_shipping_note_from_barcode: {
50382
51381
  Args: {
50383
51382
  p_allow_reprint?: boolean;
@@ -50386,10 +51385,76 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
50386
51385
  };
50387
51386
  Returns: import("../integrations/supabase/types").Json;
50388
51387
  };
51388
+ logistics_shipping_note_job_for_slip: {
51389
+ Args: {
51390
+ _slip_job_id: string;
51391
+ };
51392
+ Returns: string;
51393
+ };
51394
+ logistics_slip_note_claim: {
51395
+ Args: {
51396
+ _lease_seconds?: number;
51397
+ _limit?: number;
51398
+ };
51399
+ Returns: {
51400
+ attempts: number;
51401
+ batch_key: string | null;
51402
+ cart_id: string | null;
51403
+ created_at: string;
51404
+ error: string | null;
51405
+ error_code: string | null;
51406
+ fulfillment_order_id: string | null;
51407
+ id: string;
51408
+ locked_until: string | null;
51409
+ next_attempt_at: string | null;
51410
+ order_id: string | null;
51411
+ order_number: string | null;
51412
+ print_job_id: string | null;
51413
+ printer_id: string | null;
51414
+ retry_class: string | null;
51415
+ slip_job_id: string;
51416
+ status: string;
51417
+ updated_at: string;
51418
+ }[];
51419
+ SetofOptions: {
51420
+ from: "*";
51421
+ to: "logistics_slip_shipping_note";
51422
+ isOneToOne: false;
51423
+ isSetofReturn: true;
51424
+ };
51425
+ };
51426
+ logistics_slip_note_finish: {
51427
+ Args: {
51428
+ _error?: string;
51429
+ _error_code?: string;
51430
+ _fulfillment_order_id?: string;
51431
+ _id: string;
51432
+ _ok: boolean;
51433
+ _print_job_id?: string;
51434
+ _status?: string;
51435
+ };
51436
+ Returns: undefined;
51437
+ };
51438
+ logistics_slip_note_keep_waiting: {
51439
+ Args: {
51440
+ _class?: string;
51441
+ _id: string;
51442
+ _reason: string;
51443
+ };
51444
+ Returns: undefined;
51445
+ };
50389
51446
  logistics_sticker_follows_slip: {
50390
51447
  Args: never;
50391
51448
  Returns: boolean;
50392
51449
  };
51450
+ logistics_subtract_working_minutes: {
51451
+ Args: {
51452
+ p_deadline: string;
51453
+ p_max_workdays?: number;
51454
+ p_minutes: number;
51455
+ };
51456
+ Returns: import("../integrations/supabase/types").Json;
51457
+ };
50393
51458
  logistics_supersede_stale_tasks: {
50394
51459
  Args: {
50395
51460
  p_keep: string[];
@@ -50426,6 +51491,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
50426
51491
  Args: never;
50427
51492
  Returns: string;
50428
51493
  };
51494
+ logistics_timezone_options: {
51495
+ Args: never;
51496
+ Returns: {
51497
+ name: string;
51498
+ }[];
51499
+ };
50429
51500
  logistics_upsert_task: {
50430
51501
  Args: {
50431
51502
  p_buffer_ref: string;
@@ -50445,6 +51516,16 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
50445
51516
  };
50446
51517
  Returns: string;
50447
51518
  };
51519
+ logistics_valid_timezone: {
51520
+ Args: {
51521
+ _tz: string;
51522
+ };
51523
+ Returns: boolean;
51524
+ };
51525
+ logistics_working_hours_status: {
51526
+ Args: never;
51527
+ Returns: import("../integrations/supabase/types").Json;
51528
+ };
50448
51529
  logistics_write_buffer_layer_positions: {
50449
51530
  Args: {
50450
51531
  p_buffer_id: string;
@@ -51890,6 +52971,13 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
51890
52971
  };
51891
52972
  Returns: number;
51892
52973
  };
52974
+ schedule_floriday_catalog_prices_sync: {
52975
+ Args: {
52976
+ p_apikey: string;
52977
+ p_url: string;
52978
+ };
52979
+ Returns: number;
52980
+ };
51893
52981
  schedule_floriday_clock_presales_sync: {
51894
52982
  Args: {
51895
52983
  p_apikey: string;
@@ -52190,6 +53278,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
52190
53278
  };
52191
53279
  Returns: undefined;
52192
53280
  };
53281
+ sync_floriday_prices_into_price_groups: {
53282
+ Args: never;
53283
+ Returns: number;
53284
+ };
52193
53285
  sync_layer_stock: {
52194
53286
  Args: {
52195
53287
  p_product_id: string;