@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
@@ -5810,6 +5810,84 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
5810
5810
  referencedColumns: ["id"];
5811
5811
  }];
5812
5812
  };
5813
+ floriday_catalog_prices_cache: {
5814
+ Row: {
5815
+ connection_id: string;
5816
+ created_at: string;
5817
+ currency: string;
5818
+ id: string;
5819
+ is_deleted: boolean;
5820
+ price: number | null;
5821
+ price_group_id: string | null;
5822
+ price_group_name: string | null;
5823
+ price_type: string;
5824
+ raw: import("./types").Json | null;
5825
+ sales_unit: string | null;
5826
+ sequence_number: number;
5827
+ supplier_article_code: string | null;
5828
+ supply_line_id: string;
5829
+ synced_at: string;
5830
+ trade_item_id: string | null;
5831
+ updated_at: string;
5832
+ valid_from: string | null;
5833
+ valid_to: string | null;
5834
+ week: number | null;
5835
+ year: number | null;
5836
+ };
5837
+ Insert: {
5838
+ connection_id: string;
5839
+ created_at?: string;
5840
+ currency?: string;
5841
+ id?: string;
5842
+ is_deleted?: boolean;
5843
+ price?: number | null;
5844
+ price_group_id?: string | null;
5845
+ price_group_name?: string | null;
5846
+ price_type?: string;
5847
+ raw?: import("./types").Json | null;
5848
+ sales_unit?: string | null;
5849
+ sequence_number?: number;
5850
+ supplier_article_code?: string | null;
5851
+ supply_line_id: string;
5852
+ synced_at?: string;
5853
+ trade_item_id?: string | null;
5854
+ updated_at?: string;
5855
+ valid_from?: string | null;
5856
+ valid_to?: string | null;
5857
+ week?: number | null;
5858
+ year?: number | null;
5859
+ };
5860
+ Update: {
5861
+ connection_id?: string;
5862
+ created_at?: string;
5863
+ currency?: string;
5864
+ id?: string;
5865
+ is_deleted?: boolean;
5866
+ price?: number | null;
5867
+ price_group_id?: string | null;
5868
+ price_group_name?: string | null;
5869
+ price_type?: string;
5870
+ raw?: import("./types").Json | null;
5871
+ sales_unit?: string | null;
5872
+ sequence_number?: number;
5873
+ supplier_article_code?: string | null;
5874
+ supply_line_id?: string;
5875
+ synced_at?: string;
5876
+ trade_item_id?: string | null;
5877
+ updated_at?: string;
5878
+ valid_from?: string | null;
5879
+ valid_to?: string | null;
5880
+ week?: number | null;
5881
+ year?: number | null;
5882
+ };
5883
+ Relationships: [{
5884
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
5885
+ columns: ["connection_id"];
5886
+ isOneToOne: false;
5887
+ referencedRelation: "floriday_connections";
5888
+ referencedColumns: ["id"];
5889
+ }];
5890
+ };
5813
5891
  floriday_clock_presales_cache: {
5814
5892
  Row: {
5815
5893
  buyer_organization_id: string | null;
@@ -10078,22 +10156,31 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10078
10156
  };
10079
10157
  logistics_floriday_push_refusals: {
10080
10158
  Row: {
10159
+ action: string | null;
10081
10160
  created_at: string;
10082
10161
  id: string;
10083
10162
  order_ref: string;
10084
10163
  reason: string;
10164
+ source_module: string | null;
10165
+ source_shell: string | null;
10085
10166
  };
10086
10167
  Insert: {
10168
+ action?: string | null;
10087
10169
  created_at?: string;
10088
10170
  id?: string;
10089
10171
  order_ref: string;
10090
10172
  reason: string;
10173
+ source_module?: string | null;
10174
+ source_shell?: string | null;
10091
10175
  };
10092
10176
  Update: {
10177
+ action?: string | null;
10093
10178
  created_at?: string;
10094
10179
  id?: string;
10095
10180
  order_ref?: string;
10096
10181
  reason?: string;
10182
+ source_module?: string | null;
10183
+ source_shell?: string | null;
10097
10184
  };
10098
10185
  Relationships: [];
10099
10186
  };
@@ -10172,6 +10259,42 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10172
10259
  };
10173
10260
  Relationships: [];
10174
10261
  };
10262
+ logistics_floriday_status_sends: {
10263
+ Row: {
10264
+ action: string;
10265
+ created_at: string;
10266
+ detail: string | null;
10267
+ http_status: number | null;
10268
+ id: string;
10269
+ ok: boolean;
10270
+ order_ref: string;
10271
+ source_module: string | null;
10272
+ source_shell: string | null;
10273
+ };
10274
+ Insert: {
10275
+ action: string;
10276
+ created_at?: string;
10277
+ detail?: string | null;
10278
+ http_status?: number | null;
10279
+ id?: string;
10280
+ ok?: boolean;
10281
+ order_ref: string;
10282
+ source_module?: string | null;
10283
+ source_shell?: string | null;
10284
+ };
10285
+ Update: {
10286
+ action?: string;
10287
+ created_at?: string;
10288
+ detail?: string | null;
10289
+ http_status?: number | null;
10290
+ id?: string;
10291
+ ok?: boolean;
10292
+ order_ref?: string;
10293
+ source_module?: string | null;
10294
+ source_shell?: string | null;
10295
+ };
10296
+ Relationships: [];
10297
+ };
10175
10298
  logistics_formulas: {
10176
10299
  Row: {
10177
10300
  created_at: string;
@@ -10244,6 +10367,108 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10244
10367
  };
10245
10368
  Relationships: [];
10246
10369
  };
10370
+ logistics_opening_exceptions: {
10371
+ Row: {
10372
+ closes: string | null;
10373
+ created_at: string;
10374
+ day: string;
10375
+ id: string;
10376
+ is_closed: boolean;
10377
+ note: string | null;
10378
+ opens: string | null;
10379
+ };
10380
+ Insert: {
10381
+ closes?: string | null;
10382
+ created_at?: string;
10383
+ day: string;
10384
+ id?: string;
10385
+ is_closed?: boolean;
10386
+ note?: string | null;
10387
+ opens?: string | null;
10388
+ };
10389
+ Update: {
10390
+ closes?: string | null;
10391
+ created_at?: string;
10392
+ day?: string;
10393
+ id?: string;
10394
+ is_closed?: boolean;
10395
+ note?: string | null;
10396
+ opens?: string | null;
10397
+ };
10398
+ Relationships: [];
10399
+ };
10400
+ logistics_opening_hours: {
10401
+ Row: {
10402
+ closes: string;
10403
+ created_at: string;
10404
+ id: string;
10405
+ is_active: boolean;
10406
+ note: string | null;
10407
+ opens: string;
10408
+ weekday: number;
10409
+ };
10410
+ Insert: {
10411
+ closes: string;
10412
+ created_at?: string;
10413
+ id?: string;
10414
+ is_active?: boolean;
10415
+ note?: string | null;
10416
+ opens: string;
10417
+ weekday: number;
10418
+ };
10419
+ Update: {
10420
+ closes?: string;
10421
+ created_at?: string;
10422
+ id?: string;
10423
+ is_active?: boolean;
10424
+ note?: string | null;
10425
+ opens?: string;
10426
+ weekday?: number;
10427
+ };
10428
+ Relationships: [];
10429
+ };
10430
+ logistics_pick_data_requests: {
10431
+ Row: {
10432
+ actions: import("./types").Json;
10433
+ created_at: string;
10434
+ event_id: string | null;
10435
+ finished_at: string | null;
10436
+ id: string;
10437
+ missing: import("./types").Json;
10438
+ order_ref: string;
10439
+ reason: string | null;
10440
+ result: import("./types").Json | null;
10441
+ status: string;
10442
+ unit_ref: string | null;
10443
+ };
10444
+ Insert: {
10445
+ actions?: import("./types").Json;
10446
+ created_at?: string;
10447
+ event_id?: string | null;
10448
+ finished_at?: string | null;
10449
+ id?: string;
10450
+ missing?: import("./types").Json;
10451
+ order_ref: string;
10452
+ reason?: string | null;
10453
+ result?: import("./types").Json | null;
10454
+ status?: string;
10455
+ unit_ref?: string | null;
10456
+ };
10457
+ Update: {
10458
+ actions?: import("./types").Json;
10459
+ created_at?: string;
10460
+ event_id?: string | null;
10461
+ finished_at?: string | null;
10462
+ id?: string;
10463
+ missing?: import("./types").Json;
10464
+ order_ref?: string;
10465
+ reason?: string | null;
10466
+ result?: import("./types").Json | null;
10467
+ status?: string;
10468
+ unit_ref?: string | null;
10469
+ };
10470
+ Relationships: [];
10471
+ };
10247
10472
  logistics_pickup_moments: {
10248
10473
  Row: {
10249
10474
  carrier_ref: string | null;
@@ -10703,6 +10928,69 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10703
10928
  };
10704
10929
  Relationships: [];
10705
10930
  };
10931
+ logistics_slip_shipping_note: {
10932
+ Row: {
10933
+ attempts: number;
10934
+ batch_key: string | null;
10935
+ cart_id: string | null;
10936
+ created_at: string;
10937
+ error: string | null;
10938
+ error_code: string | null;
10939
+ fulfillment_order_id: string | null;
10940
+ id: string;
10941
+ locked_until: string | null;
10942
+ next_attempt_at: string | null;
10943
+ order_id: string | null;
10944
+ order_number: string | null;
10945
+ print_job_id: string | null;
10946
+ printer_id: string | null;
10947
+ retry_class: string | null;
10948
+ slip_job_id: string;
10949
+ status: string;
10950
+ updated_at: string;
10951
+ };
10952
+ Insert: {
10953
+ attempts?: number;
10954
+ batch_key?: string | null;
10955
+ cart_id?: string | null;
10956
+ created_at?: string;
10957
+ error?: string | null;
10958
+ error_code?: string | null;
10959
+ fulfillment_order_id?: string | null;
10960
+ id?: string;
10961
+ locked_until?: string | null;
10962
+ next_attempt_at?: string | null;
10963
+ order_id?: string | null;
10964
+ order_number?: string | null;
10965
+ print_job_id?: string | null;
10966
+ printer_id?: string | null;
10967
+ retry_class?: string | null;
10968
+ slip_job_id: string;
10969
+ status?: string;
10970
+ updated_at?: string;
10971
+ };
10972
+ Update: {
10973
+ attempts?: number;
10974
+ batch_key?: string | null;
10975
+ cart_id?: string | null;
10976
+ created_at?: string;
10977
+ error?: string | null;
10978
+ error_code?: string | null;
10979
+ fulfillment_order_id?: string | null;
10980
+ id?: string;
10981
+ locked_until?: string | null;
10982
+ next_attempt_at?: string | null;
10983
+ order_id?: string | null;
10984
+ order_number?: string | null;
10985
+ print_job_id?: string | null;
10986
+ printer_id?: string | null;
10987
+ retry_class?: string | null;
10988
+ slip_job_id?: string;
10989
+ status?: string;
10990
+ updated_at?: string;
10991
+ };
10992
+ Relationships: [];
10993
+ };
10706
10994
  logistics_staff_planning: {
10707
10995
  Row: {
10708
10996
  created_at: string;
@@ -11036,6 +11324,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
11036
11324
  };
11037
11325
  Relationships: [];
11038
11326
  };
11327
+ logistics_time_settings: {
11328
+ Row: {
11329
+ id: boolean;
11330
+ timezone: string;
11331
+ updated_at: string;
11332
+ };
11333
+ Insert: {
11334
+ id?: boolean;
11335
+ timezone: string;
11336
+ updated_at?: string;
11337
+ };
11338
+ Update: {
11339
+ id?: boolean;
11340
+ timezone?: string;
11341
+ updated_at?: string;
11342
+ };
11343
+ Relationships: [];
11344
+ };
11039
11345
  logistics_variables: {
11040
11346
  Row: {
11041
11347
  created_at: string;
@@ -13426,6 +13732,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13426
13732
  customer_name: string;
13427
13733
  deleted_at: string | null;
13428
13734
  delivery_date: string | null;
13735
+ floriday_order_group_key: string | null;
13429
13736
  floriday_sales_order_id: string | null;
13430
13737
  id: string;
13431
13738
  invoice_due_at: string | null;
@@ -13453,6 +13760,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13453
13760
  customer_name?: string;
13454
13761
  deleted_at?: string | null;
13455
13762
  delivery_date?: string | null;
13763
+ floriday_order_group_key?: string | null;
13456
13764
  floriday_sales_order_id?: string | null;
13457
13765
  id?: string;
13458
13766
  invoice_due_at?: string | null;
@@ -13480,6 +13788,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13480
13788
  customer_name?: string;
13481
13789
  deleted_at?: string | null;
13482
13790
  delivery_date?: string | null;
13791
+ floriday_order_group_key?: string | null;
13483
13792
  floriday_sales_order_id?: string | null;
13484
13793
  id?: string;
13485
13794
  invoice_due_at?: string | null;
@@ -23143,6 +23452,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23143
23452
  };
23144
23453
  Returns: string;
23145
23454
  };
23455
+ logistics_cart_checkin_at: {
23456
+ Args: {
23457
+ p_cart_id: string;
23458
+ };
23459
+ Returns: string;
23460
+ };
23146
23461
  logistics_cart_handled: {
23147
23462
  Args: {
23148
23463
  p_cart_index: number;
@@ -23176,10 +23491,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23176
23491
  task_status: string;
23177
23492
  }[];
23178
23493
  };
23494
+ logistics_cart_is_full: {
23495
+ Args: {
23496
+ p_cart_id: string;
23497
+ };
23498
+ Returns: boolean;
23499
+ };
23179
23500
  logistics_cart_layout_method: {
23180
23501
  Args: never;
23181
23502
  Returns: import("./types").Json;
23182
23503
  };
23504
+ logistics_cart_order_refs: {
23505
+ Args: {
23506
+ p_cart_id: string;
23507
+ };
23508
+ Returns: string[];
23509
+ };
23183
23510
  logistics_cart_plan_overview: {
23184
23511
  Args: {
23185
23512
  p_days?: number;
@@ -23199,6 +23526,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23199
23526
  };
23200
23527
  Returns: import("./types").Json;
23201
23528
  };
23529
+ logistics_cart_release_reason: {
23530
+ Args: {
23531
+ p_cart_id: string;
23532
+ };
23533
+ Returns: string;
23534
+ };
23535
+ logistics_cart_released: {
23536
+ Args: {
23537
+ p_cart_id: string;
23538
+ };
23539
+ Returns: boolean;
23540
+ };
23202
23541
  logistics_cart_seq: {
23203
23542
  Args: {
23204
23543
  p_order_uuid?: string;
@@ -23249,6 +23588,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23249
23588
  unit_ref: string;
23250
23589
  }[];
23251
23590
  };
23591
+ logistics_carts_per_print: {
23592
+ Args: never;
23593
+ Returns: number;
23594
+ };
23252
23595
  logistics_check_order_allowed: {
23253
23596
  Args: {
23254
23597
  p_lines: import("./types").Json;
@@ -23352,6 +23695,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23352
23695
  isSetofReturn: false;
23353
23696
  };
23354
23697
  };
23698
+ logistics_cleanup_orphan_print_jobs: {
23699
+ Args: never;
23700
+ Returns: import("./types").Json;
23701
+ };
23355
23702
  logistics_complete_task: {
23356
23703
  Args: {
23357
23704
  p_result?: import("./types").Json;
@@ -23414,6 +23761,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23414
23761
  station_carts: number;
23415
23762
  }[];
23416
23763
  };
23764
+ logistics_control_complete_cart: {
23765
+ Args: {
23766
+ p_cart_id: string;
23767
+ };
23768
+ Returns: number;
23769
+ };
23417
23770
  logistics_control_scan_approve: {
23418
23771
  Args: {
23419
23772
  p_allow_reprint?: boolean;
@@ -23493,6 +23846,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23493
23846
  Args: never;
23494
23847
  Returns: import("./types").Json;
23495
23848
  };
23849
+ logistics_day_windows: {
23850
+ Args: {
23851
+ p_day: string;
23852
+ };
23853
+ Returns: {
23854
+ win_end: string;
23855
+ win_start: string;
23856
+ }[];
23857
+ };
23496
23858
  logistics_delay_customer_email: {
23497
23859
  Args: {
23498
23860
  p_customer: string;
@@ -23560,6 +23922,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23560
23922
  };
23561
23923
  Returns: import("./types").Json;
23562
23924
  };
23925
+ logistics_enqueue_shipping_note_with_slip: {
23926
+ Args: {
23927
+ _cart_id: string;
23928
+ _is_herprint: boolean;
23929
+ _printer_id: string;
23930
+ _queue_item_id: string;
23931
+ _session_id: string;
23932
+ _slip_job_id: string;
23933
+ };
23934
+ Returns: string;
23935
+ };
23563
23936
  logistics_enqueue_sticker_with_slip: {
23564
23937
  Args: {
23565
23938
  _cart_id: string;
@@ -23577,6 +23950,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23577
23950
  };
23578
23951
  Returns: string;
23579
23952
  };
23953
+ logistics_ensure_pick_data: {
23954
+ Args: {
23955
+ p_event_id?: string;
23956
+ p_missing?: import("./types").Json;
23957
+ p_ref: string;
23958
+ };
23959
+ Returns: import("./types").Json;
23960
+ };
23580
23961
  logistics_fail_task: {
23581
23962
  Args: {
23582
23963
  p_error: string;
@@ -23698,6 +24079,32 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23698
24079
  };
23699
24080
  Returns: string;
23700
24081
  };
24082
+ logistics_floriday_gate_status: {
24083
+ Args: never;
24084
+ Returns: import("./types").Json;
24085
+ };
24086
+ logistics_floriday_log_refusal: {
24087
+ Args: {
24088
+ _action?: string;
24089
+ _module?: string;
24090
+ _order_ref: string;
24091
+ _reason: string;
24092
+ _shell?: string;
24093
+ };
24094
+ Returns: undefined;
24095
+ };
24096
+ logistics_floriday_log_send: {
24097
+ Args: {
24098
+ _action: string;
24099
+ _detail?: string;
24100
+ _http_status?: number;
24101
+ _module?: string;
24102
+ _ok: boolean;
24103
+ _order_ref: string;
24104
+ _shell?: string;
24105
+ };
24106
+ Returns: undefined;
24107
+ };
23701
24108
  logistics_floriday_order_approved: {
23702
24109
  Args: {
23703
24110
  _order_ref: string;
@@ -23722,6 +24129,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23722
24129
  Args: never;
23723
24130
  Returns: boolean;
23724
24131
  };
24132
+ logistics_floriday_stock_updates_enabled: {
24133
+ Args: never;
24134
+ Returns: boolean;
24135
+ };
24136
+ logistics_floriday_write_allowed: {
24137
+ Args: {
24138
+ _action: string;
24139
+ };
24140
+ Returns: boolean;
24141
+ };
23725
24142
  logistics_fulfill_barcode_requests: {
23726
24143
  Args: {
23727
24144
  p_limit?: number;
@@ -23764,6 +24181,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23764
24181
  };
23765
24182
  Returns: number;
23766
24183
  };
24184
+ logistics_merge_partial_carts: {
24185
+ Args: {
24186
+ p_limit?: number;
24187
+ };
24188
+ Returns: import("./types").Json;
24189
+ };
23767
24190
  logistics_next_workday_date: {
23768
24191
  Args: {
23769
24192
  p_date: string;
@@ -23790,6 +24213,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23790
24213
  };
23791
24214
  Returns: string;
23792
24215
  };
24216
+ logistics_opening_timezone: {
24217
+ Args: never;
24218
+ Returns: string;
24219
+ };
23793
24220
  logistics_order_cart_count: {
23794
24221
  Args: {
23795
24222
  p_order_ref: string;
@@ -23874,6 +24301,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23874
24301
  Args: never;
23875
24302
  Returns: import("./types").Json;
23876
24303
  };
24304
+ logistics_pick_partial_mode: {
24305
+ Args: never;
24306
+ Returns: string;
24307
+ };
23877
24308
  logistics_pick_start_estimate: {
23878
24309
  Args: {
23879
24310
  p_order: import("./types").Json;
@@ -23985,6 +24416,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23985
24416
  };
23986
24417
  Returns: number;
23987
24418
  };
24419
+ logistics_prepare_pick_documents: {
24420
+ Args: {
24421
+ p_limit?: number;
24422
+ };
24423
+ Returns: import("./types").Json;
24424
+ };
23988
24425
  logistics_prune_buffer_member_queue: {
23989
24426
  Args: never;
23990
24427
  Returns: number;
@@ -24025,6 +24462,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
24025
24462
  Args: never;
24026
24463
  Returns: import("./types").Json;
24027
24464
  };
24465
+ logistics_refresh_pick_queue_status: {
24466
+ Args: {
24467
+ p_ref: string;
24468
+ };
24469
+ Returns: number;
24470
+ };
24028
24471
  logistics_refresh_pickup_moments: {
24029
24472
  Args: {
24030
24473
  p_weeks?: number;
@@ -24037,6 +24480,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
24037
24480
  };
24038
24481
  Returns: import("./types").Json;
24039
24482
  };
24483
+ logistics_replan_all_force: {
24484
+ Args: {
24485
+ p_reason?: string;
24486
+ };
24487
+ Returns: import("./types").Json;
24488
+ };
24040
24489
  logistics_report_delay: {
24041
24490
  Args: {
24042
24491
  p_expected_date?: string;
@@ -24181,6 +24630,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
24181
24630
  };
24182
24631
  Returns: string;
24183
24632
  };
24633
+ logistics_shipping_note_follows_slip: {
24634
+ Args: never;
24635
+ Returns: boolean;
24636
+ };
24184
24637
  logistics_shipping_note_from_barcode: {
24185
24638
  Args: {
24186
24639
  p_allow_reprint?: boolean;
@@ -24189,10 +24642,76 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
24189
24642
  };
24190
24643
  Returns: import("./types").Json;
24191
24644
  };
24645
+ logistics_shipping_note_job_for_slip: {
24646
+ Args: {
24647
+ _slip_job_id: string;
24648
+ };
24649
+ Returns: string;
24650
+ };
24651
+ logistics_slip_note_claim: {
24652
+ Args: {
24653
+ _lease_seconds?: number;
24654
+ _limit?: number;
24655
+ };
24656
+ Returns: {
24657
+ attempts: number;
24658
+ batch_key: string | null;
24659
+ cart_id: string | null;
24660
+ created_at: string;
24661
+ error: string | null;
24662
+ error_code: string | null;
24663
+ fulfillment_order_id: string | null;
24664
+ id: string;
24665
+ locked_until: string | null;
24666
+ next_attempt_at: string | null;
24667
+ order_id: string | null;
24668
+ order_number: string | null;
24669
+ print_job_id: string | null;
24670
+ printer_id: string | null;
24671
+ retry_class: string | null;
24672
+ slip_job_id: string;
24673
+ status: string;
24674
+ updated_at: string;
24675
+ }[];
24676
+ SetofOptions: {
24677
+ from: "*";
24678
+ to: "logistics_slip_shipping_note";
24679
+ isOneToOne: false;
24680
+ isSetofReturn: true;
24681
+ };
24682
+ };
24683
+ logistics_slip_note_finish: {
24684
+ Args: {
24685
+ _error?: string;
24686
+ _error_code?: string;
24687
+ _fulfillment_order_id?: string;
24688
+ _id: string;
24689
+ _ok: boolean;
24690
+ _print_job_id?: string;
24691
+ _status?: string;
24692
+ };
24693
+ Returns: undefined;
24694
+ };
24695
+ logistics_slip_note_keep_waiting: {
24696
+ Args: {
24697
+ _class?: string;
24698
+ _id: string;
24699
+ _reason: string;
24700
+ };
24701
+ Returns: undefined;
24702
+ };
24192
24703
  logistics_sticker_follows_slip: {
24193
24704
  Args: never;
24194
24705
  Returns: boolean;
24195
24706
  };
24707
+ logistics_subtract_working_minutes: {
24708
+ Args: {
24709
+ p_deadline: string;
24710
+ p_max_workdays?: number;
24711
+ p_minutes: number;
24712
+ };
24713
+ Returns: import("./types").Json;
24714
+ };
24196
24715
  logistics_supersede_stale_tasks: {
24197
24716
  Args: {
24198
24717
  p_keep: string[];
@@ -24229,6 +24748,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
24229
24748
  Args: never;
24230
24749
  Returns: string;
24231
24750
  };
24751
+ logistics_timezone_options: {
24752
+ Args: never;
24753
+ Returns: {
24754
+ name: string;
24755
+ }[];
24756
+ };
24232
24757
  logistics_upsert_task: {
24233
24758
  Args: {
24234
24759
  p_buffer_ref: string;
@@ -24248,6 +24773,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
24248
24773
  };
24249
24774
  Returns: string;
24250
24775
  };
24776
+ logistics_valid_timezone: {
24777
+ Args: {
24778
+ _tz: string;
24779
+ };
24780
+ Returns: boolean;
24781
+ };
24782
+ logistics_working_hours_status: {
24783
+ Args: never;
24784
+ Returns: import("./types").Json;
24785
+ };
24251
24786
  logistics_write_buffer_layer_positions: {
24252
24787
  Args: {
24253
24788
  p_buffer_id: string;
@@ -25693,6 +26228,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
25693
26228
  };
25694
26229
  Returns: number;
25695
26230
  };
26231
+ schedule_floriday_catalog_prices_sync: {
26232
+ Args: {
26233
+ p_apikey: string;
26234
+ p_url: string;
26235
+ };
26236
+ Returns: number;
26237
+ };
25696
26238
  schedule_floriday_clock_presales_sync: {
25697
26239
  Args: {
25698
26240
  p_apikey: string;
@@ -25993,6 +26535,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
25993
26535
  };
25994
26536
  Returns: undefined;
25995
26537
  };
26538
+ sync_floriday_prices_into_price_groups: {
26539
+ Args: never;
26540
+ Returns: number;
26541
+ };
25996
26542
  sync_layer_stock: {
25997
26543
  Args: {
25998
26544
  p_product_id: string;