@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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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 getFloridayVbnRequired: import("@tanstack/start-client-core
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;
@@ -32015,6 +32561,84 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
32015
32561
  referencedColumns: ["id"];
32016
32562
  }];
32017
32563
  };
32564
+ floriday_catalog_prices_cache: {
32565
+ Row: {
32566
+ connection_id: string;
32567
+ created_at: string;
32568
+ currency: string;
32569
+ id: string;
32570
+ is_deleted: boolean;
32571
+ price: number | null;
32572
+ price_group_id: string | null;
32573
+ price_group_name: string | null;
32574
+ price_type: string;
32575
+ raw: import("../integrations/supabase/types").Json | null;
32576
+ sales_unit: string | null;
32577
+ sequence_number: number;
32578
+ supplier_article_code: string | null;
32579
+ supply_line_id: string;
32580
+ synced_at: string;
32581
+ trade_item_id: string | null;
32582
+ updated_at: string;
32583
+ valid_from: string | null;
32584
+ valid_to: string | null;
32585
+ week: number | null;
32586
+ year: number | null;
32587
+ };
32588
+ Insert: {
32589
+ connection_id: string;
32590
+ created_at?: string;
32591
+ currency?: string;
32592
+ id?: string;
32593
+ is_deleted?: boolean;
32594
+ price?: number | null;
32595
+ price_group_id?: string | null;
32596
+ price_group_name?: string | null;
32597
+ price_type?: string;
32598
+ raw?: import("../integrations/supabase/types").Json | null;
32599
+ sales_unit?: string | null;
32600
+ sequence_number?: number;
32601
+ supplier_article_code?: string | null;
32602
+ supply_line_id: string;
32603
+ synced_at?: string;
32604
+ trade_item_id?: string | null;
32605
+ updated_at?: string;
32606
+ valid_from?: string | null;
32607
+ valid_to?: string | null;
32608
+ week?: number | null;
32609
+ year?: number | null;
32610
+ };
32611
+ Update: {
32612
+ connection_id?: string;
32613
+ created_at?: string;
32614
+ currency?: string;
32615
+ id?: string;
32616
+ is_deleted?: boolean;
32617
+ price?: number | null;
32618
+ price_group_id?: string | null;
32619
+ price_group_name?: string | null;
32620
+ price_type?: string;
32621
+ raw?: import("../integrations/supabase/types").Json | null;
32622
+ sales_unit?: string | null;
32623
+ sequence_number?: number;
32624
+ supplier_article_code?: string | null;
32625
+ supply_line_id?: string;
32626
+ synced_at?: string;
32627
+ trade_item_id?: string | null;
32628
+ updated_at?: string;
32629
+ valid_from?: string | null;
32630
+ valid_to?: string | null;
32631
+ week?: number | null;
32632
+ year?: number | null;
32633
+ };
32634
+ Relationships: [{
32635
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
32636
+ columns: ["connection_id"];
32637
+ isOneToOne: false;
32638
+ referencedRelation: "floriday_connections";
32639
+ referencedColumns: ["id"];
32640
+ }];
32641
+ };
32018
32642
  floriday_clock_presales_cache: {
32019
32643
  Row: {
32020
32644
  buyer_organization_id: string | null;
@@ -36283,22 +36907,31 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
36283
36907
  };
36284
36908
  logistics_floriday_push_refusals: {
36285
36909
  Row: {
36910
+ action: string | null;
36286
36911
  created_at: string;
36287
36912
  id: string;
36288
36913
  order_ref: string;
36289
36914
  reason: string;
36915
+ source_module: string | null;
36916
+ source_shell: string | null;
36290
36917
  };
36291
36918
  Insert: {
36919
+ action?: string | null;
36292
36920
  created_at?: string;
36293
36921
  id?: string;
36294
36922
  order_ref: string;
36295
36923
  reason: string;
36924
+ source_module?: string | null;
36925
+ source_shell?: string | null;
36296
36926
  };
36297
36927
  Update: {
36928
+ action?: string | null;
36298
36929
  created_at?: string;
36299
36930
  id?: string;
36300
36931
  order_ref?: string;
36301
36932
  reason?: string;
36933
+ source_module?: string | null;
36934
+ source_shell?: string | null;
36302
36935
  };
36303
36936
  Relationships: [];
36304
36937
  };
@@ -36377,6 +37010,42 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
36377
37010
  };
36378
37011
  Relationships: [];
36379
37012
  };
37013
+ logistics_floriday_status_sends: {
37014
+ Row: {
37015
+ action: string;
37016
+ created_at: string;
37017
+ detail: string | null;
37018
+ http_status: number | null;
37019
+ id: string;
37020
+ ok: boolean;
37021
+ order_ref: string;
37022
+ source_module: string | null;
37023
+ source_shell: string | null;
37024
+ };
37025
+ Insert: {
37026
+ action: string;
37027
+ created_at?: string;
37028
+ detail?: string | null;
37029
+ http_status?: number | null;
37030
+ id?: string;
37031
+ ok?: boolean;
37032
+ order_ref: string;
37033
+ source_module?: string | null;
37034
+ source_shell?: string | null;
37035
+ };
37036
+ Update: {
37037
+ action?: string;
37038
+ created_at?: string;
37039
+ detail?: string | null;
37040
+ http_status?: number | null;
37041
+ id?: string;
37042
+ ok?: boolean;
37043
+ order_ref?: string;
37044
+ source_module?: string | null;
37045
+ source_shell?: string | null;
37046
+ };
37047
+ Relationships: [];
37048
+ };
36380
37049
  logistics_formulas: {
36381
37050
  Row: {
36382
37051
  created_at: string;
@@ -36449,6 +37118,108 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
36449
37118
  };
36450
37119
  Relationships: [];
36451
37120
  };
37121
+ logistics_opening_exceptions: {
37122
+ Row: {
37123
+ closes: string | null;
37124
+ created_at: string;
37125
+ day: string;
37126
+ id: string;
37127
+ is_closed: boolean;
37128
+ note: string | null;
37129
+ opens: string | null;
37130
+ };
37131
+ Insert: {
37132
+ closes?: string | null;
37133
+ created_at?: string;
37134
+ day: string;
37135
+ id?: string;
37136
+ is_closed?: boolean;
37137
+ note?: string | null;
37138
+ opens?: string | null;
37139
+ };
37140
+ Update: {
37141
+ closes?: string | null;
37142
+ created_at?: string;
37143
+ day?: string;
37144
+ id?: string;
37145
+ is_closed?: boolean;
37146
+ note?: string | null;
37147
+ opens?: string | null;
37148
+ };
37149
+ Relationships: [];
37150
+ };
37151
+ logistics_opening_hours: {
37152
+ Row: {
37153
+ closes: string;
37154
+ created_at: string;
37155
+ id: string;
37156
+ is_active: boolean;
37157
+ note: string | null;
37158
+ opens: string;
37159
+ weekday: number;
37160
+ };
37161
+ Insert: {
37162
+ closes: string;
37163
+ created_at?: string;
37164
+ id?: string;
37165
+ is_active?: boolean;
37166
+ note?: string | null;
37167
+ opens: string;
37168
+ weekday: number;
37169
+ };
37170
+ Update: {
37171
+ closes?: string;
37172
+ created_at?: string;
37173
+ id?: string;
37174
+ is_active?: boolean;
37175
+ note?: string | null;
37176
+ opens?: string;
37177
+ weekday?: number;
37178
+ };
37179
+ Relationships: [];
37180
+ };
37181
+ logistics_pick_data_requests: {
37182
+ Row: {
37183
+ actions: import("../integrations/supabase/types").Json;
37184
+ created_at: string;
37185
+ event_id: string | null;
37186
+ finished_at: string | null;
37187
+ id: string;
37188
+ missing: import("../integrations/supabase/types").Json;
37189
+ order_ref: string;
37190
+ reason: string | null;
37191
+ result: import("../integrations/supabase/types").Json | null;
37192
+ status: string;
37193
+ unit_ref: string | null;
37194
+ };
37195
+ Insert: {
37196
+ actions?: import("../integrations/supabase/types").Json;
37197
+ created_at?: string;
37198
+ event_id?: string | null;
37199
+ finished_at?: string | null;
37200
+ id?: string;
37201
+ missing?: import("../integrations/supabase/types").Json;
37202
+ order_ref: string;
37203
+ reason?: string | null;
37204
+ result?: import("../integrations/supabase/types").Json | null;
37205
+ status?: string;
37206
+ unit_ref?: string | null;
37207
+ };
37208
+ Update: {
37209
+ actions?: import("../integrations/supabase/types").Json;
37210
+ created_at?: string;
37211
+ event_id?: string | null;
37212
+ finished_at?: string | null;
37213
+ id?: string;
37214
+ missing?: import("../integrations/supabase/types").Json;
37215
+ order_ref?: string;
37216
+ reason?: string | null;
37217
+ result?: import("../integrations/supabase/types").Json | null;
37218
+ status?: string;
37219
+ unit_ref?: string | null;
37220
+ };
37221
+ Relationships: [];
37222
+ };
36452
37223
  logistics_pickup_moments: {
36453
37224
  Row: {
36454
37225
  carrier_ref: string | null;
@@ -36908,6 +37679,69 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
36908
37679
  };
36909
37680
  Relationships: [];
36910
37681
  };
37682
+ logistics_slip_shipping_note: {
37683
+ Row: {
37684
+ attempts: number;
37685
+ batch_key: string | null;
37686
+ cart_id: string | null;
37687
+ created_at: string;
37688
+ error: string | null;
37689
+ error_code: string | null;
37690
+ fulfillment_order_id: string | null;
37691
+ id: string;
37692
+ locked_until: string | null;
37693
+ next_attempt_at: string | null;
37694
+ order_id: string | null;
37695
+ order_number: string | null;
37696
+ print_job_id: string | null;
37697
+ printer_id: string | null;
37698
+ retry_class: string | null;
37699
+ slip_job_id: string;
37700
+ status: string;
37701
+ updated_at: string;
37702
+ };
37703
+ Insert: {
37704
+ attempts?: number;
37705
+ batch_key?: string | null;
37706
+ cart_id?: string | null;
37707
+ created_at?: string;
37708
+ error?: string | null;
37709
+ error_code?: string | null;
37710
+ fulfillment_order_id?: string | null;
37711
+ id?: string;
37712
+ locked_until?: string | null;
37713
+ next_attempt_at?: string | null;
37714
+ order_id?: string | null;
37715
+ order_number?: string | null;
37716
+ print_job_id?: string | null;
37717
+ printer_id?: string | null;
37718
+ retry_class?: string | null;
37719
+ slip_job_id: string;
37720
+ status?: string;
37721
+ updated_at?: string;
37722
+ };
37723
+ Update: {
37724
+ attempts?: number;
37725
+ batch_key?: string | null;
37726
+ cart_id?: string | null;
37727
+ created_at?: string;
37728
+ error?: string | null;
37729
+ error_code?: string | null;
37730
+ fulfillment_order_id?: string | null;
37731
+ id?: string;
37732
+ locked_until?: string | null;
37733
+ next_attempt_at?: string | null;
37734
+ order_id?: string | null;
37735
+ order_number?: string | null;
37736
+ print_job_id?: string | null;
37737
+ printer_id?: string | null;
37738
+ retry_class?: string | null;
37739
+ slip_job_id?: string;
37740
+ status?: string;
37741
+ updated_at?: string;
37742
+ };
37743
+ Relationships: [];
37744
+ };
36911
37745
  logistics_staff_planning: {
36912
37746
  Row: {
36913
37747
  created_at: string;
@@ -37241,6 +38075,24 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
37241
38075
  };
37242
38076
  Relationships: [];
37243
38077
  };
38078
+ logistics_time_settings: {
38079
+ Row: {
38080
+ id: boolean;
38081
+ timezone: string;
38082
+ updated_at: string;
38083
+ };
38084
+ Insert: {
38085
+ id?: boolean;
38086
+ timezone: string;
38087
+ updated_at?: string;
38088
+ };
38089
+ Update: {
38090
+ id?: boolean;
38091
+ timezone?: string;
38092
+ updated_at?: string;
38093
+ };
38094
+ Relationships: [];
38095
+ };
37244
38096
  logistics_variables: {
37245
38097
  Row: {
37246
38098
  created_at: string;
@@ -39631,6 +40483,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
39631
40483
  customer_name: string;
39632
40484
  deleted_at: string | null;
39633
40485
  delivery_date: string | null;
40486
+ floriday_order_group_key: string | null;
39634
40487
  floriday_sales_order_id: string | null;
39635
40488
  id: string;
39636
40489
  invoice_due_at: string | null;
@@ -39658,6 +40511,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
39658
40511
  customer_name?: string;
39659
40512
  deleted_at?: string | null;
39660
40513
  delivery_date?: string | null;
40514
+ floriday_order_group_key?: string | null;
39661
40515
  floriday_sales_order_id?: string | null;
39662
40516
  id?: string;
39663
40517
  invoice_due_at?: string | null;
@@ -39685,6 +40539,7 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
39685
40539
  customer_name?: string;
39686
40540
  deleted_at?: string | null;
39687
40541
  delivery_date?: string | null;
40542
+ floriday_order_group_key?: string | null;
39688
40543
  floriday_sales_order_id?: string | null;
39689
40544
  id?: string;
39690
40545
  invoice_due_at?: string | null;
@@ -49348,6 +50203,12 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
49348
50203
  };
49349
50204
  Returns: string;
49350
50205
  };
50206
+ logistics_cart_checkin_at: {
50207
+ Args: {
50208
+ p_cart_id: string;
50209
+ };
50210
+ Returns: string;
50211
+ };
49351
50212
  logistics_cart_handled: {
49352
50213
  Args: {
49353
50214
  p_cart_index: number;
@@ -49381,10 +50242,22 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
49381
50242
  task_status: string;
49382
50243
  }[];
49383
50244
  };
50245
+ logistics_cart_is_full: {
50246
+ Args: {
50247
+ p_cart_id: string;
50248
+ };
50249
+ Returns: boolean;
50250
+ };
49384
50251
  logistics_cart_layout_method: {
49385
50252
  Args: never;
49386
50253
  Returns: import("../integrations/supabase/types").Json;
49387
50254
  };
50255
+ logistics_cart_order_refs: {
50256
+ Args: {
50257
+ p_cart_id: string;
50258
+ };
50259
+ Returns: string[];
50260
+ };
49388
50261
  logistics_cart_plan_overview: {
49389
50262
  Args: {
49390
50263
  p_days?: number;
@@ -49404,6 +50277,18 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
49404
50277
  };
49405
50278
  Returns: import("../integrations/supabase/types").Json;
49406
50279
  };
50280
+ logistics_cart_release_reason: {
50281
+ Args: {
50282
+ p_cart_id: string;
50283
+ };
50284
+ Returns: string;
50285
+ };
50286
+ logistics_cart_released: {
50287
+ Args: {
50288
+ p_cart_id: string;
50289
+ };
50290
+ Returns: boolean;
50291
+ };
49407
50292
  logistics_cart_seq: {
49408
50293
  Args: {
49409
50294
  p_order_uuid?: string;
@@ -49454,6 +50339,10 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
49454
50339
  unit_ref: string;
49455
50340
  }[];
49456
50341
  };
50342
+ logistics_carts_per_print: {
50343
+ Args: never;
50344
+ Returns: number;
50345
+ };
49457
50346
  logistics_check_order_allowed: {
49458
50347
  Args: {
49459
50348
  p_lines: import("../integrations/supabase/types").Json;
@@ -49557,6 +50446,10 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
49557
50446
  isSetofReturn: false;
49558
50447
  };
49559
50448
  };
50449
+ logistics_cleanup_orphan_print_jobs: {
50450
+ Args: never;
50451
+ Returns: import("../integrations/supabase/types").Json;
50452
+ };
49560
50453
  logistics_complete_task: {
49561
50454
  Args: {
49562
50455
  p_result?: import("../integrations/supabase/types").Json;
@@ -49619,6 +50512,12 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
49619
50512
  station_carts: number;
49620
50513
  }[];
49621
50514
  };
50515
+ logistics_control_complete_cart: {
50516
+ Args: {
50517
+ p_cart_id: string;
50518
+ };
50519
+ Returns: number;
50520
+ };
49622
50521
  logistics_control_scan_approve: {
49623
50522
  Args: {
49624
50523
  p_allow_reprint?: boolean;
@@ -49698,6 +50597,15 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
49698
50597
  Args: never;
49699
50598
  Returns: import("../integrations/supabase/types").Json;
49700
50599
  };
50600
+ logistics_day_windows: {
50601
+ Args: {
50602
+ p_day: string;
50603
+ };
50604
+ Returns: {
50605
+ win_end: string;
50606
+ win_start: string;
50607
+ }[];
50608
+ };
49701
50609
  logistics_delay_customer_email: {
49702
50610
  Args: {
49703
50611
  p_customer: string;
@@ -49765,6 +50673,17 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
49765
50673
  };
49766
50674
  Returns: import("../integrations/supabase/types").Json;
49767
50675
  };
50676
+ logistics_enqueue_shipping_note_with_slip: {
50677
+ Args: {
50678
+ _cart_id: string;
50679
+ _is_herprint: boolean;
50680
+ _printer_id: string;
50681
+ _queue_item_id: string;
50682
+ _session_id: string;
50683
+ _slip_job_id: string;
50684
+ };
50685
+ Returns: string;
50686
+ };
49768
50687
  logistics_enqueue_sticker_with_slip: {
49769
50688
  Args: {
49770
50689
  _cart_id: string;
@@ -49782,6 +50701,14 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
49782
50701
  };
49783
50702
  Returns: string;
49784
50703
  };
50704
+ logistics_ensure_pick_data: {
50705
+ Args: {
50706
+ p_event_id?: string;
50707
+ p_missing?: import("../integrations/supabase/types").Json;
50708
+ p_ref: string;
50709
+ };
50710
+ Returns: import("../integrations/supabase/types").Json;
50711
+ };
49785
50712
  logistics_fail_task: {
49786
50713
  Args: {
49787
50714
  p_error: string;
@@ -49903,6 +50830,32 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
49903
50830
  };
49904
50831
  Returns: string;
49905
50832
  };
50833
+ logistics_floriday_gate_status: {
50834
+ Args: never;
50835
+ Returns: import("../integrations/supabase/types").Json;
50836
+ };
50837
+ logistics_floriday_log_refusal: {
50838
+ Args: {
50839
+ _action?: string;
50840
+ _module?: string;
50841
+ _order_ref: string;
50842
+ _reason: string;
50843
+ _shell?: string;
50844
+ };
50845
+ Returns: undefined;
50846
+ };
50847
+ logistics_floriday_log_send: {
50848
+ Args: {
50849
+ _action: string;
50850
+ _detail?: string;
50851
+ _http_status?: number;
50852
+ _module?: string;
50853
+ _ok: boolean;
50854
+ _order_ref: string;
50855
+ _shell?: string;
50856
+ };
50857
+ Returns: undefined;
50858
+ };
49906
50859
  logistics_floriday_order_approved: {
49907
50860
  Args: {
49908
50861
  _order_ref: string;
@@ -49927,6 +50880,16 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
49927
50880
  Args: never;
49928
50881
  Returns: boolean;
49929
50882
  };
50883
+ logistics_floriday_stock_updates_enabled: {
50884
+ Args: never;
50885
+ Returns: boolean;
50886
+ };
50887
+ logistics_floriday_write_allowed: {
50888
+ Args: {
50889
+ _action: string;
50890
+ };
50891
+ Returns: boolean;
50892
+ };
49930
50893
  logistics_fulfill_barcode_requests: {
49931
50894
  Args: {
49932
50895
  p_limit?: number;
@@ -49969,6 +50932,12 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
49969
50932
  };
49970
50933
  Returns: number;
49971
50934
  };
50935
+ logistics_merge_partial_carts: {
50936
+ Args: {
50937
+ p_limit?: number;
50938
+ };
50939
+ Returns: import("../integrations/supabase/types").Json;
50940
+ };
49972
50941
  logistics_next_workday_date: {
49973
50942
  Args: {
49974
50943
  p_date: string;
@@ -49995,6 +50964,10 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
49995
50964
  };
49996
50965
  Returns: string;
49997
50966
  };
50967
+ logistics_opening_timezone: {
50968
+ Args: never;
50969
+ Returns: string;
50970
+ };
49998
50971
  logistics_order_cart_count: {
49999
50972
  Args: {
50000
50973
  p_order_ref: string;
@@ -50079,6 +51052,10 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
50079
51052
  Args: never;
50080
51053
  Returns: import("../integrations/supabase/types").Json;
50081
51054
  };
51055
+ logistics_pick_partial_mode: {
51056
+ Args: never;
51057
+ Returns: string;
51058
+ };
50082
51059
  logistics_pick_start_estimate: {
50083
51060
  Args: {
50084
51061
  p_order: import("../integrations/supabase/types").Json;
@@ -50190,6 +51167,12 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
50190
51167
  };
50191
51168
  Returns: number;
50192
51169
  };
51170
+ logistics_prepare_pick_documents: {
51171
+ Args: {
51172
+ p_limit?: number;
51173
+ };
51174
+ Returns: import("../integrations/supabase/types").Json;
51175
+ };
50193
51176
  logistics_prune_buffer_member_queue: {
50194
51177
  Args: never;
50195
51178
  Returns: number;
@@ -50230,6 +51213,12 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
50230
51213
  Args: never;
50231
51214
  Returns: import("../integrations/supabase/types").Json;
50232
51215
  };
51216
+ logistics_refresh_pick_queue_status: {
51217
+ Args: {
51218
+ p_ref: string;
51219
+ };
51220
+ Returns: number;
51221
+ };
50233
51222
  logistics_refresh_pickup_moments: {
50234
51223
  Args: {
50235
51224
  p_weeks?: number;
@@ -50242,6 +51231,12 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
50242
51231
  };
50243
51232
  Returns: import("../integrations/supabase/types").Json;
50244
51233
  };
51234
+ logistics_replan_all_force: {
51235
+ Args: {
51236
+ p_reason?: string;
51237
+ };
51238
+ Returns: import("../integrations/supabase/types").Json;
51239
+ };
50245
51240
  logistics_report_delay: {
50246
51241
  Args: {
50247
51242
  p_expected_date?: string;
@@ -50386,6 +51381,10 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
50386
51381
  };
50387
51382
  Returns: string;
50388
51383
  };
51384
+ logistics_shipping_note_follows_slip: {
51385
+ Args: never;
51386
+ Returns: boolean;
51387
+ };
50389
51388
  logistics_shipping_note_from_barcode: {
50390
51389
  Args: {
50391
51390
  p_allow_reprint?: boolean;
@@ -50394,10 +51393,76 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
50394
51393
  };
50395
51394
  Returns: import("../integrations/supabase/types").Json;
50396
51395
  };
51396
+ logistics_shipping_note_job_for_slip: {
51397
+ Args: {
51398
+ _slip_job_id: string;
51399
+ };
51400
+ Returns: string;
51401
+ };
51402
+ logistics_slip_note_claim: {
51403
+ Args: {
51404
+ _lease_seconds?: number;
51405
+ _limit?: number;
51406
+ };
51407
+ Returns: {
51408
+ attempts: number;
51409
+ batch_key: string | null;
51410
+ cart_id: string | null;
51411
+ created_at: string;
51412
+ error: string | null;
51413
+ error_code: string | null;
51414
+ fulfillment_order_id: string | null;
51415
+ id: string;
51416
+ locked_until: string | null;
51417
+ next_attempt_at: string | null;
51418
+ order_id: string | null;
51419
+ order_number: string | null;
51420
+ print_job_id: string | null;
51421
+ printer_id: string | null;
51422
+ retry_class: string | null;
51423
+ slip_job_id: string;
51424
+ status: string;
51425
+ updated_at: string;
51426
+ }[];
51427
+ SetofOptions: {
51428
+ from: "*";
51429
+ to: "logistics_slip_shipping_note";
51430
+ isOneToOne: false;
51431
+ isSetofReturn: true;
51432
+ };
51433
+ };
51434
+ logistics_slip_note_finish: {
51435
+ Args: {
51436
+ _error?: string;
51437
+ _error_code?: string;
51438
+ _fulfillment_order_id?: string;
51439
+ _id: string;
51440
+ _ok: boolean;
51441
+ _print_job_id?: string;
51442
+ _status?: string;
51443
+ };
51444
+ Returns: undefined;
51445
+ };
51446
+ logistics_slip_note_keep_waiting: {
51447
+ Args: {
51448
+ _class?: string;
51449
+ _id: string;
51450
+ _reason: string;
51451
+ };
51452
+ Returns: undefined;
51453
+ };
50397
51454
  logistics_sticker_follows_slip: {
50398
51455
  Args: never;
50399
51456
  Returns: boolean;
50400
51457
  };
51458
+ logistics_subtract_working_minutes: {
51459
+ Args: {
51460
+ p_deadline: string;
51461
+ p_max_workdays?: number;
51462
+ p_minutes: number;
51463
+ };
51464
+ Returns: import("../integrations/supabase/types").Json;
51465
+ };
50401
51466
  logistics_supersede_stale_tasks: {
50402
51467
  Args: {
50403
51468
  p_keep: string[];
@@ -50434,6 +51499,12 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
50434
51499
  Args: never;
50435
51500
  Returns: string;
50436
51501
  };
51502
+ logistics_timezone_options: {
51503
+ Args: never;
51504
+ Returns: {
51505
+ name: string;
51506
+ }[];
51507
+ };
50437
51508
  logistics_upsert_task: {
50438
51509
  Args: {
50439
51510
  p_buffer_ref: string;
@@ -50453,6 +51524,16 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
50453
51524
  };
50454
51525
  Returns: string;
50455
51526
  };
51527
+ logistics_valid_timezone: {
51528
+ Args: {
51529
+ _tz: string;
51530
+ };
51531
+ Returns: boolean;
51532
+ };
51533
+ logistics_working_hours_status: {
51534
+ Args: never;
51535
+ Returns: import("../integrations/supabase/types").Json;
51536
+ };
50456
51537
  logistics_write_buffer_layer_positions: {
50457
51538
  Args: {
50458
51539
  p_buffer_id: string;
@@ -51898,6 +52979,13 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
51898
52979
  };
51899
52980
  Returns: number;
51900
52981
  };
52982
+ schedule_floriday_catalog_prices_sync: {
52983
+ Args: {
52984
+ p_apikey: string;
52985
+ p_url: string;
52986
+ };
52987
+ Returns: number;
52988
+ };
51901
52989
  schedule_floriday_clock_presales_sync: {
51902
52990
  Args: {
51903
52991
  p_apikey: string;
@@ -52198,6 +53286,10 @@ export declare const saveFloridayVbnRequired: import("@tanstack/start-client-cor
52198
53286
  };
52199
53287
  Returns: undefined;
52200
53288
  };
53289
+ sync_floriday_prices_into_price_groups: {
53290
+ Args: never;
53291
+ Returns: number;
53292
+ };
52201
53293
  sync_layer_stock: {
52202
53294
  Args: {
52203
53295
  p_product_id: string;