@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
@@ -5838,6 +5838,84 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
5838
5838
  referencedColumns: ["id"];
5839
5839
  }];
5840
5840
  };
5841
+ floriday_catalog_prices_cache: {
5842
+ Row: {
5843
+ connection_id: string;
5844
+ created_at: string;
5845
+ currency: string;
5846
+ id: string;
5847
+ is_deleted: boolean;
5848
+ price: number | null;
5849
+ price_group_id: string | null;
5850
+ price_group_name: string | null;
5851
+ price_type: string;
5852
+ raw: import("../integrations/supabase/types").Json | null;
5853
+ sales_unit: string | null;
5854
+ sequence_number: number;
5855
+ supplier_article_code: string | null;
5856
+ supply_line_id: string;
5857
+ synced_at: string;
5858
+ trade_item_id: string | null;
5859
+ updated_at: string;
5860
+ valid_from: string | null;
5861
+ valid_to: string | null;
5862
+ week: number | null;
5863
+ year: number | null;
5864
+ };
5865
+ Insert: {
5866
+ connection_id: string;
5867
+ created_at?: string;
5868
+ currency?: string;
5869
+ id?: string;
5870
+ is_deleted?: boolean;
5871
+ price?: number | null;
5872
+ price_group_id?: string | null;
5873
+ price_group_name?: string | null;
5874
+ price_type?: string;
5875
+ raw?: import("../integrations/supabase/types").Json | null;
5876
+ sales_unit?: string | null;
5877
+ sequence_number?: number;
5878
+ supplier_article_code?: string | null;
5879
+ supply_line_id: string;
5880
+ synced_at?: string;
5881
+ trade_item_id?: string | null;
5882
+ updated_at?: string;
5883
+ valid_from?: string | null;
5884
+ valid_to?: string | null;
5885
+ week?: number | null;
5886
+ year?: number | null;
5887
+ };
5888
+ Update: {
5889
+ connection_id?: string;
5890
+ created_at?: string;
5891
+ currency?: string;
5892
+ id?: string;
5893
+ is_deleted?: boolean;
5894
+ price?: number | null;
5895
+ price_group_id?: string | null;
5896
+ price_group_name?: string | null;
5897
+ price_type?: string;
5898
+ raw?: import("../integrations/supabase/types").Json | null;
5899
+ sales_unit?: string | null;
5900
+ sequence_number?: number;
5901
+ supplier_article_code?: string | null;
5902
+ supply_line_id?: string;
5903
+ synced_at?: string;
5904
+ trade_item_id?: string | null;
5905
+ updated_at?: string;
5906
+ valid_from?: string | null;
5907
+ valid_to?: string | null;
5908
+ week?: number | null;
5909
+ year?: number | null;
5910
+ };
5911
+ Relationships: [{
5912
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
5913
+ columns: ["connection_id"];
5914
+ isOneToOne: false;
5915
+ referencedRelation: "floriday_connections";
5916
+ referencedColumns: ["id"];
5917
+ }];
5918
+ };
5841
5919
  floriday_clock_presales_cache: {
5842
5920
  Row: {
5843
5921
  buyer_organization_id: string | null;
@@ -10106,22 +10184,31 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
10106
10184
  };
10107
10185
  logistics_floriday_push_refusals: {
10108
10186
  Row: {
10187
+ action: string | null;
10109
10188
  created_at: string;
10110
10189
  id: string;
10111
10190
  order_ref: string;
10112
10191
  reason: string;
10192
+ source_module: string | null;
10193
+ source_shell: string | null;
10113
10194
  };
10114
10195
  Insert: {
10196
+ action?: string | null;
10115
10197
  created_at?: string;
10116
10198
  id?: string;
10117
10199
  order_ref: string;
10118
10200
  reason: string;
10201
+ source_module?: string | null;
10202
+ source_shell?: string | null;
10119
10203
  };
10120
10204
  Update: {
10205
+ action?: string | null;
10121
10206
  created_at?: string;
10122
10207
  id?: string;
10123
10208
  order_ref?: string;
10124
10209
  reason?: string;
10210
+ source_module?: string | null;
10211
+ source_shell?: string | null;
10125
10212
  };
10126
10213
  Relationships: [];
10127
10214
  };
@@ -10200,6 +10287,42 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
10200
10287
  };
10201
10288
  Relationships: [];
10202
10289
  };
10290
+ logistics_floriday_status_sends: {
10291
+ Row: {
10292
+ action: string;
10293
+ created_at: string;
10294
+ detail: string | null;
10295
+ http_status: number | null;
10296
+ id: string;
10297
+ ok: boolean;
10298
+ order_ref: string;
10299
+ source_module: string | null;
10300
+ source_shell: string | null;
10301
+ };
10302
+ Insert: {
10303
+ action: string;
10304
+ created_at?: string;
10305
+ detail?: string | null;
10306
+ http_status?: number | null;
10307
+ id?: string;
10308
+ ok?: boolean;
10309
+ order_ref: string;
10310
+ source_module?: string | null;
10311
+ source_shell?: string | null;
10312
+ };
10313
+ Update: {
10314
+ action?: string;
10315
+ created_at?: string;
10316
+ detail?: string | null;
10317
+ http_status?: number | null;
10318
+ id?: string;
10319
+ ok?: boolean;
10320
+ order_ref?: string;
10321
+ source_module?: string | null;
10322
+ source_shell?: string | null;
10323
+ };
10324
+ Relationships: [];
10325
+ };
10203
10326
  logistics_formulas: {
10204
10327
  Row: {
10205
10328
  created_at: string;
@@ -10272,6 +10395,108 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
10272
10395
  };
10273
10396
  Relationships: [];
10274
10397
  };
10398
+ logistics_opening_exceptions: {
10399
+ Row: {
10400
+ closes: string | null;
10401
+ created_at: string;
10402
+ day: string;
10403
+ id: string;
10404
+ is_closed: boolean;
10405
+ note: string | null;
10406
+ opens: string | null;
10407
+ };
10408
+ Insert: {
10409
+ closes?: string | null;
10410
+ created_at?: string;
10411
+ day: string;
10412
+ id?: string;
10413
+ is_closed?: boolean;
10414
+ note?: string | null;
10415
+ opens?: string | null;
10416
+ };
10417
+ Update: {
10418
+ closes?: string | null;
10419
+ created_at?: string;
10420
+ day?: string;
10421
+ id?: string;
10422
+ is_closed?: boolean;
10423
+ note?: string | null;
10424
+ opens?: string | null;
10425
+ };
10426
+ Relationships: [];
10427
+ };
10428
+ logistics_opening_hours: {
10429
+ Row: {
10430
+ closes: string;
10431
+ created_at: string;
10432
+ id: string;
10433
+ is_active: boolean;
10434
+ note: string | null;
10435
+ opens: string;
10436
+ weekday: number;
10437
+ };
10438
+ Insert: {
10439
+ closes: string;
10440
+ created_at?: string;
10441
+ id?: string;
10442
+ is_active?: boolean;
10443
+ note?: string | null;
10444
+ opens: string;
10445
+ weekday: number;
10446
+ };
10447
+ Update: {
10448
+ closes?: string;
10449
+ created_at?: string;
10450
+ id?: string;
10451
+ is_active?: boolean;
10452
+ note?: string | null;
10453
+ opens?: string;
10454
+ weekday?: number;
10455
+ };
10456
+ Relationships: [];
10457
+ };
10458
+ logistics_pick_data_requests: {
10459
+ Row: {
10460
+ actions: import("../integrations/supabase/types").Json;
10461
+ created_at: string;
10462
+ event_id: string | null;
10463
+ finished_at: string | null;
10464
+ id: string;
10465
+ missing: import("../integrations/supabase/types").Json;
10466
+ order_ref: string;
10467
+ reason: string | null;
10468
+ result: import("../integrations/supabase/types").Json | null;
10469
+ status: string;
10470
+ unit_ref: string | null;
10471
+ };
10472
+ Insert: {
10473
+ actions?: import("../integrations/supabase/types").Json;
10474
+ created_at?: string;
10475
+ event_id?: string | null;
10476
+ finished_at?: string | null;
10477
+ id?: string;
10478
+ missing?: import("../integrations/supabase/types").Json;
10479
+ order_ref: string;
10480
+ reason?: string | null;
10481
+ result?: import("../integrations/supabase/types").Json | null;
10482
+ status?: string;
10483
+ unit_ref?: string | null;
10484
+ };
10485
+ Update: {
10486
+ actions?: import("../integrations/supabase/types").Json;
10487
+ created_at?: string;
10488
+ event_id?: string | null;
10489
+ finished_at?: string | null;
10490
+ id?: string;
10491
+ missing?: import("../integrations/supabase/types").Json;
10492
+ order_ref?: string;
10493
+ reason?: string | null;
10494
+ result?: import("../integrations/supabase/types").Json | null;
10495
+ status?: string;
10496
+ unit_ref?: string | null;
10497
+ };
10498
+ Relationships: [];
10499
+ };
10275
10500
  logistics_pickup_moments: {
10276
10501
  Row: {
10277
10502
  carrier_ref: string | null;
@@ -10731,6 +10956,69 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
10731
10956
  };
10732
10957
  Relationships: [];
10733
10958
  };
10959
+ logistics_slip_shipping_note: {
10960
+ Row: {
10961
+ attempts: number;
10962
+ batch_key: string | null;
10963
+ cart_id: string | null;
10964
+ created_at: string;
10965
+ error: string | null;
10966
+ error_code: string | null;
10967
+ fulfillment_order_id: string | null;
10968
+ id: string;
10969
+ locked_until: string | null;
10970
+ next_attempt_at: string | null;
10971
+ order_id: string | null;
10972
+ order_number: string | null;
10973
+ print_job_id: string | null;
10974
+ printer_id: string | null;
10975
+ retry_class: string | null;
10976
+ slip_job_id: string;
10977
+ status: string;
10978
+ updated_at: string;
10979
+ };
10980
+ Insert: {
10981
+ attempts?: number;
10982
+ batch_key?: string | null;
10983
+ cart_id?: string | null;
10984
+ created_at?: string;
10985
+ error?: string | null;
10986
+ error_code?: string | null;
10987
+ fulfillment_order_id?: string | null;
10988
+ id?: string;
10989
+ locked_until?: string | null;
10990
+ next_attempt_at?: string | null;
10991
+ order_id?: string | null;
10992
+ order_number?: string | null;
10993
+ print_job_id?: string | null;
10994
+ printer_id?: string | null;
10995
+ retry_class?: string | null;
10996
+ slip_job_id: string;
10997
+ status?: string;
10998
+ updated_at?: string;
10999
+ };
11000
+ Update: {
11001
+ attempts?: number;
11002
+ batch_key?: string | null;
11003
+ cart_id?: string | null;
11004
+ created_at?: string;
11005
+ error?: string | null;
11006
+ error_code?: string | null;
11007
+ fulfillment_order_id?: string | null;
11008
+ id?: string;
11009
+ locked_until?: string | null;
11010
+ next_attempt_at?: string | null;
11011
+ order_id?: string | null;
11012
+ order_number?: string | null;
11013
+ print_job_id?: string | null;
11014
+ printer_id?: string | null;
11015
+ retry_class?: string | null;
11016
+ slip_job_id?: string;
11017
+ status?: string;
11018
+ updated_at?: string;
11019
+ };
11020
+ Relationships: [];
11021
+ };
10734
11022
  logistics_staff_planning: {
10735
11023
  Row: {
10736
11024
  created_at: string;
@@ -11064,6 +11352,24 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
11064
11352
  };
11065
11353
  Relationships: [];
11066
11354
  };
11355
+ logistics_time_settings: {
11356
+ Row: {
11357
+ id: boolean;
11358
+ timezone: string;
11359
+ updated_at: string;
11360
+ };
11361
+ Insert: {
11362
+ id?: boolean;
11363
+ timezone: string;
11364
+ updated_at?: string;
11365
+ };
11366
+ Update: {
11367
+ id?: boolean;
11368
+ timezone?: string;
11369
+ updated_at?: string;
11370
+ };
11371
+ Relationships: [];
11372
+ };
11067
11373
  logistics_variables: {
11068
11374
  Row: {
11069
11375
  created_at: string;
@@ -13454,6 +13760,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
13454
13760
  customer_name: string;
13455
13761
  deleted_at: string | null;
13456
13762
  delivery_date: string | null;
13763
+ floriday_order_group_key: string | null;
13457
13764
  floriday_sales_order_id: string | null;
13458
13765
  id: string;
13459
13766
  invoice_due_at: string | null;
@@ -13481,6 +13788,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
13481
13788
  customer_name?: string;
13482
13789
  deleted_at?: string | null;
13483
13790
  delivery_date?: string | null;
13791
+ floriday_order_group_key?: string | null;
13484
13792
  floriday_sales_order_id?: string | null;
13485
13793
  id?: string;
13486
13794
  invoice_due_at?: string | null;
@@ -13508,6 +13816,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
13508
13816
  customer_name?: string;
13509
13817
  deleted_at?: string | null;
13510
13818
  delivery_date?: string | null;
13819
+ floriday_order_group_key?: string | null;
13511
13820
  floriday_sales_order_id?: string | null;
13512
13821
  id?: string;
13513
13822
  invoice_due_at?: string | null;
@@ -23171,6 +23480,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23171
23480
  };
23172
23481
  Returns: string;
23173
23482
  };
23483
+ logistics_cart_checkin_at: {
23484
+ Args: {
23485
+ p_cart_id: string;
23486
+ };
23487
+ Returns: string;
23488
+ };
23174
23489
  logistics_cart_handled: {
23175
23490
  Args: {
23176
23491
  p_cart_index: number;
@@ -23204,10 +23519,22 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23204
23519
  task_status: string;
23205
23520
  }[];
23206
23521
  };
23522
+ logistics_cart_is_full: {
23523
+ Args: {
23524
+ p_cart_id: string;
23525
+ };
23526
+ Returns: boolean;
23527
+ };
23207
23528
  logistics_cart_layout_method: {
23208
23529
  Args: never;
23209
23530
  Returns: import("../integrations/supabase/types").Json;
23210
23531
  };
23532
+ logistics_cart_order_refs: {
23533
+ Args: {
23534
+ p_cart_id: string;
23535
+ };
23536
+ Returns: string[];
23537
+ };
23211
23538
  logistics_cart_plan_overview: {
23212
23539
  Args: {
23213
23540
  p_days?: number;
@@ -23227,6 +23554,18 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23227
23554
  };
23228
23555
  Returns: import("../integrations/supabase/types").Json;
23229
23556
  };
23557
+ logistics_cart_release_reason: {
23558
+ Args: {
23559
+ p_cart_id: string;
23560
+ };
23561
+ Returns: string;
23562
+ };
23563
+ logistics_cart_released: {
23564
+ Args: {
23565
+ p_cart_id: string;
23566
+ };
23567
+ Returns: boolean;
23568
+ };
23230
23569
  logistics_cart_seq: {
23231
23570
  Args: {
23232
23571
  p_order_uuid?: string;
@@ -23277,6 +23616,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23277
23616
  unit_ref: string;
23278
23617
  }[];
23279
23618
  };
23619
+ logistics_carts_per_print: {
23620
+ Args: never;
23621
+ Returns: number;
23622
+ };
23280
23623
  logistics_check_order_allowed: {
23281
23624
  Args: {
23282
23625
  p_lines: import("../integrations/supabase/types").Json;
@@ -23380,6 +23723,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23380
23723
  isSetofReturn: false;
23381
23724
  };
23382
23725
  };
23726
+ logistics_cleanup_orphan_print_jobs: {
23727
+ Args: never;
23728
+ Returns: import("../integrations/supabase/types").Json;
23729
+ };
23383
23730
  logistics_complete_task: {
23384
23731
  Args: {
23385
23732
  p_result?: import("../integrations/supabase/types").Json;
@@ -23442,6 +23789,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23442
23789
  station_carts: number;
23443
23790
  }[];
23444
23791
  };
23792
+ logistics_control_complete_cart: {
23793
+ Args: {
23794
+ p_cart_id: string;
23795
+ };
23796
+ Returns: number;
23797
+ };
23445
23798
  logistics_control_scan_approve: {
23446
23799
  Args: {
23447
23800
  p_allow_reprint?: boolean;
@@ -23521,6 +23874,15 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23521
23874
  Args: never;
23522
23875
  Returns: import("../integrations/supabase/types").Json;
23523
23876
  };
23877
+ logistics_day_windows: {
23878
+ Args: {
23879
+ p_day: string;
23880
+ };
23881
+ Returns: {
23882
+ win_end: string;
23883
+ win_start: string;
23884
+ }[];
23885
+ };
23524
23886
  logistics_delay_customer_email: {
23525
23887
  Args: {
23526
23888
  p_customer: string;
@@ -23588,6 +23950,17 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23588
23950
  };
23589
23951
  Returns: import("../integrations/supabase/types").Json;
23590
23952
  };
23953
+ logistics_enqueue_shipping_note_with_slip: {
23954
+ Args: {
23955
+ _cart_id: string;
23956
+ _is_herprint: boolean;
23957
+ _printer_id: string;
23958
+ _queue_item_id: string;
23959
+ _session_id: string;
23960
+ _slip_job_id: string;
23961
+ };
23962
+ Returns: string;
23963
+ };
23591
23964
  logistics_enqueue_sticker_with_slip: {
23592
23965
  Args: {
23593
23966
  _cart_id: string;
@@ -23605,6 +23978,14 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23605
23978
  };
23606
23979
  Returns: string;
23607
23980
  };
23981
+ logistics_ensure_pick_data: {
23982
+ Args: {
23983
+ p_event_id?: string;
23984
+ p_missing?: import("../integrations/supabase/types").Json;
23985
+ p_ref: string;
23986
+ };
23987
+ Returns: import("../integrations/supabase/types").Json;
23988
+ };
23608
23989
  logistics_fail_task: {
23609
23990
  Args: {
23610
23991
  p_error: string;
@@ -23726,6 +24107,32 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23726
24107
  };
23727
24108
  Returns: string;
23728
24109
  };
24110
+ logistics_floriday_gate_status: {
24111
+ Args: never;
24112
+ Returns: import("../integrations/supabase/types").Json;
24113
+ };
24114
+ logistics_floriday_log_refusal: {
24115
+ Args: {
24116
+ _action?: string;
24117
+ _module?: string;
24118
+ _order_ref: string;
24119
+ _reason: string;
24120
+ _shell?: string;
24121
+ };
24122
+ Returns: undefined;
24123
+ };
24124
+ logistics_floriday_log_send: {
24125
+ Args: {
24126
+ _action: string;
24127
+ _detail?: string;
24128
+ _http_status?: number;
24129
+ _module?: string;
24130
+ _ok: boolean;
24131
+ _order_ref: string;
24132
+ _shell?: string;
24133
+ };
24134
+ Returns: undefined;
24135
+ };
23729
24136
  logistics_floriday_order_approved: {
23730
24137
  Args: {
23731
24138
  _order_ref: string;
@@ -23750,6 +24157,16 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23750
24157
  Args: never;
23751
24158
  Returns: boolean;
23752
24159
  };
24160
+ logistics_floriday_stock_updates_enabled: {
24161
+ Args: never;
24162
+ Returns: boolean;
24163
+ };
24164
+ logistics_floriday_write_allowed: {
24165
+ Args: {
24166
+ _action: string;
24167
+ };
24168
+ Returns: boolean;
24169
+ };
23753
24170
  logistics_fulfill_barcode_requests: {
23754
24171
  Args: {
23755
24172
  p_limit?: number;
@@ -23792,6 +24209,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23792
24209
  };
23793
24210
  Returns: number;
23794
24211
  };
24212
+ logistics_merge_partial_carts: {
24213
+ Args: {
24214
+ p_limit?: number;
24215
+ };
24216
+ Returns: import("../integrations/supabase/types").Json;
24217
+ };
23795
24218
  logistics_next_workday_date: {
23796
24219
  Args: {
23797
24220
  p_date: string;
@@ -23818,6 +24241,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23818
24241
  };
23819
24242
  Returns: string;
23820
24243
  };
24244
+ logistics_opening_timezone: {
24245
+ Args: never;
24246
+ Returns: string;
24247
+ };
23821
24248
  logistics_order_cart_count: {
23822
24249
  Args: {
23823
24250
  p_order_ref: string;
@@ -23902,6 +24329,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23902
24329
  Args: never;
23903
24330
  Returns: import("../integrations/supabase/types").Json;
23904
24331
  };
24332
+ logistics_pick_partial_mode: {
24333
+ Args: never;
24334
+ Returns: string;
24335
+ };
23905
24336
  logistics_pick_start_estimate: {
23906
24337
  Args: {
23907
24338
  p_order: import("../integrations/supabase/types").Json;
@@ -24013,6 +24444,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
24013
24444
  };
24014
24445
  Returns: number;
24015
24446
  };
24447
+ logistics_prepare_pick_documents: {
24448
+ Args: {
24449
+ p_limit?: number;
24450
+ };
24451
+ Returns: import("../integrations/supabase/types").Json;
24452
+ };
24016
24453
  logistics_prune_buffer_member_queue: {
24017
24454
  Args: never;
24018
24455
  Returns: number;
@@ -24053,6 +24490,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
24053
24490
  Args: never;
24054
24491
  Returns: import("../integrations/supabase/types").Json;
24055
24492
  };
24493
+ logistics_refresh_pick_queue_status: {
24494
+ Args: {
24495
+ p_ref: string;
24496
+ };
24497
+ Returns: number;
24498
+ };
24056
24499
  logistics_refresh_pickup_moments: {
24057
24500
  Args: {
24058
24501
  p_weeks?: number;
@@ -24065,6 +24508,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
24065
24508
  };
24066
24509
  Returns: import("../integrations/supabase/types").Json;
24067
24510
  };
24511
+ logistics_replan_all_force: {
24512
+ Args: {
24513
+ p_reason?: string;
24514
+ };
24515
+ Returns: import("../integrations/supabase/types").Json;
24516
+ };
24068
24517
  logistics_report_delay: {
24069
24518
  Args: {
24070
24519
  p_expected_date?: string;
@@ -24209,6 +24658,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
24209
24658
  };
24210
24659
  Returns: string;
24211
24660
  };
24661
+ logistics_shipping_note_follows_slip: {
24662
+ Args: never;
24663
+ Returns: boolean;
24664
+ };
24212
24665
  logistics_shipping_note_from_barcode: {
24213
24666
  Args: {
24214
24667
  p_allow_reprint?: boolean;
@@ -24217,10 +24670,76 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
24217
24670
  };
24218
24671
  Returns: import("../integrations/supabase/types").Json;
24219
24672
  };
24673
+ logistics_shipping_note_job_for_slip: {
24674
+ Args: {
24675
+ _slip_job_id: string;
24676
+ };
24677
+ Returns: string;
24678
+ };
24679
+ logistics_slip_note_claim: {
24680
+ Args: {
24681
+ _lease_seconds?: number;
24682
+ _limit?: number;
24683
+ };
24684
+ Returns: {
24685
+ attempts: number;
24686
+ batch_key: string | null;
24687
+ cart_id: string | null;
24688
+ created_at: string;
24689
+ error: string | null;
24690
+ error_code: string | null;
24691
+ fulfillment_order_id: string | null;
24692
+ id: string;
24693
+ locked_until: string | null;
24694
+ next_attempt_at: string | null;
24695
+ order_id: string | null;
24696
+ order_number: string | null;
24697
+ print_job_id: string | null;
24698
+ printer_id: string | null;
24699
+ retry_class: string | null;
24700
+ slip_job_id: string;
24701
+ status: string;
24702
+ updated_at: string;
24703
+ }[];
24704
+ SetofOptions: {
24705
+ from: "*";
24706
+ to: "logistics_slip_shipping_note";
24707
+ isOneToOne: false;
24708
+ isSetofReturn: true;
24709
+ };
24710
+ };
24711
+ logistics_slip_note_finish: {
24712
+ Args: {
24713
+ _error?: string;
24714
+ _error_code?: string;
24715
+ _fulfillment_order_id?: string;
24716
+ _id: string;
24717
+ _ok: boolean;
24718
+ _print_job_id?: string;
24719
+ _status?: string;
24720
+ };
24721
+ Returns: undefined;
24722
+ };
24723
+ logistics_slip_note_keep_waiting: {
24724
+ Args: {
24725
+ _class?: string;
24726
+ _id: string;
24727
+ _reason: string;
24728
+ };
24729
+ Returns: undefined;
24730
+ };
24220
24731
  logistics_sticker_follows_slip: {
24221
24732
  Args: never;
24222
24733
  Returns: boolean;
24223
24734
  };
24735
+ logistics_subtract_working_minutes: {
24736
+ Args: {
24737
+ p_deadline: string;
24738
+ p_max_workdays?: number;
24739
+ p_minutes: number;
24740
+ };
24741
+ Returns: import("../integrations/supabase/types").Json;
24742
+ };
24224
24743
  logistics_supersede_stale_tasks: {
24225
24744
  Args: {
24226
24745
  p_keep: string[];
@@ -24257,6 +24776,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
24257
24776
  Args: never;
24258
24777
  Returns: string;
24259
24778
  };
24779
+ logistics_timezone_options: {
24780
+ Args: never;
24781
+ Returns: {
24782
+ name: string;
24783
+ }[];
24784
+ };
24260
24785
  logistics_upsert_task: {
24261
24786
  Args: {
24262
24787
  p_buffer_ref: string;
@@ -24276,6 +24801,16 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
24276
24801
  };
24277
24802
  Returns: string;
24278
24803
  };
24804
+ logistics_valid_timezone: {
24805
+ Args: {
24806
+ _tz: string;
24807
+ };
24808
+ Returns: boolean;
24809
+ };
24810
+ logistics_working_hours_status: {
24811
+ Args: never;
24812
+ Returns: import("../integrations/supabase/types").Json;
24813
+ };
24279
24814
  logistics_write_buffer_layer_positions: {
24280
24815
  Args: {
24281
24816
  p_buffer_id: string;
@@ -25721,6 +26256,13 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
25721
26256
  };
25722
26257
  Returns: number;
25723
26258
  };
26259
+ schedule_floriday_catalog_prices_sync: {
26260
+ Args: {
26261
+ p_apikey: string;
26262
+ p_url: string;
26263
+ };
26264
+ Returns: number;
26265
+ };
25724
26266
  schedule_floriday_clock_presales_sync: {
25725
26267
  Args: {
25726
26268
  p_apikey: string;
@@ -26021,6 +26563,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
26021
26563
  };
26022
26564
  Returns: undefined;
26023
26565
  };
26566
+ sync_floriday_prices_into_price_groups: {
26567
+ Args: never;
26568
+ Returns: number;
26569
+ };
26024
26570
  sync_layer_stock: {
26025
26571
  Args: {
26026
26572
  p_product_id: string;