@flowselections/pick-schermen-kwekers 1.0.19 → 1.0.20

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 (35) hide show
  1. package/README.md +24 -24
  2. package/dist-lib/components/pick/PickScherm.d.ts.map +1 -1
  3. package/dist-lib/components/pick/PickScherm.js +322 -69
  4. package/dist-lib/components/pick/QueueTable.d.ts +6 -1
  5. package/dist-lib/components/pick/QueueTable.d.ts.map +1 -1
  6. package/dist-lib/components/pick/QueueTable.js +30 -22
  7. package/dist-lib/hooks/useShippingNoteStatus.d.ts +27 -0
  8. package/dist-lib/hooks/useShippingNoteStatus.d.ts.map +1 -0
  9. package/dist-lib/hooks/useShippingNoteStatus.js +132 -0
  10. package/dist-lib/index.d.ts +1 -0
  11. package/dist-lib/index.d.ts.map +1 -1
  12. package/dist-lib/index.js +1 -0
  13. package/dist-lib/integrations/supabase/auth-middleware.d.ts +740 -1
  14. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  15. package/dist-lib/integrations/supabase/client.d.ts +740 -1
  16. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  17. package/dist-lib/integrations/supabase/client.server.d.ts +740 -1
  18. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  19. package/dist-lib/integrations/supabase/types.d.ts +743 -2
  20. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  21. package/dist-lib/lib/layoutMaker/pakbonHtml.js +49 -49
  22. package/dist-lib/lib/layoutRenderer.js +17 -17
  23. package/dist-lib/lib/pickApi.d.ts +10 -0
  24. package/dist-lib/lib/pickApi.d.ts.map +1 -1
  25. package/dist-lib/lib/pickApi.js +21 -0
  26. package/dist-lib/lib/pickTypes.d.ts +59 -2
  27. package/dist-lib/lib/pickTypes.d.ts.map +1 -1
  28. package/dist-lib/lib/pickTypes.js +149 -24
  29. package/dist-lib/lib/shippingNoteStatus.d.ts +35 -0
  30. package/dist-lib/lib/shippingNoteStatus.d.ts.map +1 -0
  31. package/dist-lib/lib/shippingNoteStatus.js +118 -0
  32. package/package.json +1 -1
  33. package/dist-lib/components/TemplateModulePage.d.ts +0 -2
  34. package/dist-lib/components/TemplateModulePage.d.ts.map +0 -1
  35. package/dist-lib/components/TemplateModulePage.js +0 -44
@@ -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;
@@ -10076,6 +10154,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10076
10154
  };
10077
10155
  Relationships: [];
10078
10156
  };
10157
+ logistics_floriday_push_refusals: {
10158
+ Row: {
10159
+ action: string | null;
10160
+ created_at: string;
10161
+ id: string;
10162
+ order_ref: string;
10163
+ reason: string;
10164
+ source_module: string | null;
10165
+ source_shell: string | null;
10166
+ };
10167
+ Insert: {
10168
+ action?: string | null;
10169
+ created_at?: string;
10170
+ id?: string;
10171
+ order_ref: string;
10172
+ reason: string;
10173
+ source_module?: string | null;
10174
+ source_shell?: string | null;
10175
+ };
10176
+ Update: {
10177
+ action?: string | null;
10178
+ created_at?: string;
10179
+ id?: string;
10180
+ order_ref?: string;
10181
+ reason?: string;
10182
+ source_module?: string | null;
10183
+ source_shell?: string | null;
10184
+ };
10185
+ Relationships: [];
10186
+ };
10079
10187
  logistics_floriday_pushes: {
10080
10188
  Row: {
10081
10189
  attempts: number;
@@ -10151,6 +10259,42 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10151
10259
  };
10152
10260
  Relationships: [];
10153
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
+ };
10154
10298
  logistics_formulas: {
10155
10299
  Row: {
10156
10300
  created_at: string;
@@ -10223,6 +10367,108 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10223
10367
  };
10224
10368
  Relationships: [];
10225
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
+ };
10226
10472
  logistics_pickup_moments: {
10227
10473
  Row: {
10228
10474
  carrier_ref: string | null;
@@ -10682,6 +10928,69 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10682
10928
  };
10683
10929
  Relationships: [];
10684
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
+ };
10685
10994
  logistics_staff_planning: {
10686
10995
  Row: {
10687
10996
  created_at: string;
@@ -11015,6 +11324,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
11015
11324
  };
11016
11325
  Relationships: [];
11017
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
+ };
11018
11345
  logistics_variables: {
11019
11346
  Row: {
11020
11347
  created_at: string;
@@ -13405,6 +13732,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13405
13732
  customer_name: string;
13406
13733
  deleted_at: string | null;
13407
13734
  delivery_date: string | null;
13735
+ floriday_order_group_key: string | null;
13408
13736
  floriday_sales_order_id: string | null;
13409
13737
  id: string;
13410
13738
  invoice_due_at: string | null;
@@ -13432,6 +13760,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13432
13760
  customer_name?: string;
13433
13761
  deleted_at?: string | null;
13434
13762
  delivery_date?: string | null;
13763
+ floriday_order_group_key?: string | null;
13435
13764
  floriday_sales_order_id?: string | null;
13436
13765
  id?: string;
13437
13766
  invoice_due_at?: string | null;
@@ -13459,6 +13788,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13459
13788
  customer_name?: string;
13460
13789
  deleted_at?: string | null;
13461
13790
  delivery_date?: string | null;
13791
+ floriday_order_group_key?: string | null;
13462
13792
  floriday_sales_order_id?: string | null;
13463
13793
  id?: string;
13464
13794
  invoice_due_at?: string | null;
@@ -19322,7 +19652,37 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19322
19652
  referencedColumns: ["id"];
19323
19653
  }];
19324
19654
  };
19325
- voorraad_custom_fields: {
19655
+ voorraad_buffer_state: {
19656
+ Row: {
19657
+ buffer_id: string;
19658
+ buffer_key: string | null;
19659
+ closed_at: string | null;
19660
+ created_at: string;
19661
+ detached_orders: import("./types").Json;
19662
+ reason: string | null;
19663
+ updated_at: string;
19664
+ };
19665
+ Insert: {
19666
+ buffer_id: string;
19667
+ buffer_key?: string | null;
19668
+ closed_at?: string | null;
19669
+ created_at?: string;
19670
+ detached_orders?: import("./types").Json;
19671
+ reason?: string | null;
19672
+ updated_at?: string;
19673
+ };
19674
+ Update: {
19675
+ buffer_id?: string;
19676
+ buffer_key?: string | null;
19677
+ closed_at?: string | null;
19678
+ created_at?: string;
19679
+ detached_orders?: import("./types").Json;
19680
+ reason?: string | null;
19681
+ updated_at?: string;
19682
+ };
19683
+ Relationships: [];
19684
+ };
19685
+ voorraad_custom_fields: {
19326
19686
  Row: {
19327
19687
  created_at: string;
19328
19688
  field_key: string;
@@ -19364,6 +19724,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19364
19724
  };
19365
19725
  Relationships: [];
19366
19726
  };
19727
+ voorraad_logistics_event_log: {
19728
+ Row: {
19729
+ created_at: string;
19730
+ event_id: string;
19731
+ event_type: string;
19732
+ order_ref: string | null;
19733
+ processed_at: string;
19734
+ result: import("./types").Json;
19735
+ updated_at: string;
19736
+ };
19737
+ Insert: {
19738
+ created_at?: string;
19739
+ event_id: string;
19740
+ event_type: string;
19741
+ order_ref?: string | null;
19742
+ processed_at?: string;
19743
+ result?: import("./types").Json;
19744
+ updated_at?: string;
19745
+ };
19746
+ Update: {
19747
+ created_at?: string;
19748
+ event_id?: string;
19749
+ event_type?: string;
19750
+ order_ref?: string | null;
19751
+ processed_at?: string;
19752
+ result?: import("./types").Json;
19753
+ updated_at?: string;
19754
+ };
19755
+ Relationships: [];
19756
+ };
19367
19757
  voorraad_media_upload_failures: {
19368
19758
  Row: {
19369
19759
  action: string;
@@ -21524,6 +21914,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21524
21914
  Args: never;
21525
21915
  Returns: boolean;
21526
21916
  };
21917
+ cancel_open_print_jobs: {
21918
+ Args: {
21919
+ _cutoff: string;
21920
+ };
21921
+ Returns: {
21922
+ extern_job_id: string;
21923
+ id: string;
21924
+ }[];
21925
+ };
21527
21926
  check_offer_product_available_stock: {
21528
21927
  Args: {
21529
21928
  p_campaign_product_id: string;
@@ -22189,6 +22588,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22189
22588
  };
22190
22589
  Returns: boolean;
22191
22590
  };
22591
+ floriday_adopt_connection: {
22592
+ Args: {
22593
+ p_new: string;
22594
+ p_old: string;
22595
+ };
22596
+ Returns: import("./types").Json;
22597
+ };
22598
+ floriday_autoheal_connections: {
22599
+ Args: never;
22600
+ Returns: import("./types").Json;
22601
+ };
22192
22602
  floriday_capture_stock_snapshot: {
22193
22603
  Args: never;
22194
22604
  Returns: number;
@@ -22246,6 +22656,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22246
22656
  };
22247
22657
  Returns: undefined;
22248
22658
  };
22659
+ floriday_relink_products: {
22660
+ Args: {
22661
+ p_connection_id?: string;
22662
+ };
22663
+ Returns: import("./types").Json;
22664
+ };
22249
22665
  floriday_requeue_dead_letters: {
22250
22666
  Args: {
22251
22667
  p_connection_id?: string;
@@ -22867,6 +23283,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22867
23283
  };
22868
23284
  Returns: string;
22869
23285
  };
23286
+ logistics_active_layout_method: {
23287
+ Args: never;
23288
+ Returns: string;
23289
+ };
22870
23290
  logistics_active_pick_workdays: {
22871
23291
  Args: never;
22872
23292
  Returns: string[];
@@ -23041,6 +23461,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23041
23461
  };
23042
23462
  Returns: string;
23043
23463
  };
23464
+ logistics_cart_checkin_at: {
23465
+ Args: {
23466
+ p_cart_id: string;
23467
+ };
23468
+ Returns: string;
23469
+ };
23044
23470
  logistics_cart_handled: {
23045
23471
  Args: {
23046
23472
  p_cart_index: number;
@@ -23074,10 +23500,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23074
23500
  task_status: string;
23075
23501
  }[];
23076
23502
  };
23503
+ logistics_cart_is_full: {
23504
+ Args: {
23505
+ p_cart_id: string;
23506
+ };
23507
+ Returns: boolean;
23508
+ };
23077
23509
  logistics_cart_layout_method: {
23078
23510
  Args: never;
23079
23511
  Returns: import("./types").Json;
23080
23512
  };
23513
+ logistics_cart_order_refs: {
23514
+ Args: {
23515
+ p_cart_id: string;
23516
+ };
23517
+ Returns: string[];
23518
+ };
23081
23519
  logistics_cart_plan_overview: {
23082
23520
  Args: {
23083
23521
  p_days?: number;
@@ -23097,6 +23535,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23097
23535
  };
23098
23536
  Returns: import("./types").Json;
23099
23537
  };
23538
+ logistics_cart_plan_status_core: {
23539
+ Args: {
23540
+ p_ref: string;
23541
+ };
23542
+ Returns: import("./types").Json;
23543
+ };
23544
+ logistics_cart_release_reason: {
23545
+ Args: {
23546
+ p_cart_id: string;
23547
+ };
23548
+ Returns: string;
23549
+ };
23550
+ logistics_cart_released: {
23551
+ Args: {
23552
+ p_cart_id: string;
23553
+ };
23554
+ Returns: boolean;
23555
+ };
23100
23556
  logistics_cart_seq: {
23101
23557
  Args: {
23102
23558
  p_order_uuid?: string;
@@ -23147,6 +23603,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23147
23603
  unit_ref: string;
23148
23604
  }[];
23149
23605
  };
23606
+ logistics_carts_per_print: {
23607
+ Args: never;
23608
+ Returns: number;
23609
+ };
23150
23610
  logistics_check_order_allowed: {
23151
23611
  Args: {
23152
23612
  p_lines: import("./types").Json;
@@ -23250,6 +23710,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23250
23710
  isSetofReturn: false;
23251
23711
  };
23252
23712
  };
23713
+ logistics_cleanup_orphan_print_jobs: {
23714
+ Args: never;
23715
+ Returns: import("./types").Json;
23716
+ };
23253
23717
  logistics_complete_task: {
23254
23718
  Args: {
23255
23719
  p_result?: import("./types").Json;
@@ -23312,6 +23776,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23312
23776
  station_carts: number;
23313
23777
  }[];
23314
23778
  };
23779
+ logistics_control_complete_cart: {
23780
+ Args: {
23781
+ p_cart_id: string;
23782
+ };
23783
+ Returns: number;
23784
+ };
23315
23785
  logistics_control_scan_approve: {
23316
23786
  Args: {
23317
23787
  p_allow_reprint?: boolean;
@@ -23391,6 +23861,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23391
23861
  Args: never;
23392
23862
  Returns: import("./types").Json;
23393
23863
  };
23864
+ logistics_day_windows: {
23865
+ Args: {
23866
+ p_day: string;
23867
+ };
23868
+ Returns: {
23869
+ win_end: string;
23870
+ win_start: string;
23871
+ }[];
23872
+ };
23394
23873
  logistics_delay_customer_email: {
23395
23874
  Args: {
23396
23875
  p_customer: string;
@@ -23458,6 +23937,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23458
23937
  };
23459
23938
  Returns: import("./types").Json;
23460
23939
  };
23940
+ logistics_enqueue_shipping_note_with_slip: {
23941
+ Args: {
23942
+ _cart_id: string;
23943
+ _is_herprint: boolean;
23944
+ _printer_id: string;
23945
+ _queue_item_id: string;
23946
+ _session_id: string;
23947
+ _slip_job_id: string;
23948
+ };
23949
+ Returns: string;
23950
+ };
23461
23951
  logistics_enqueue_sticker_with_slip: {
23462
23952
  Args: {
23463
23953
  _cart_id: string;
@@ -23475,6 +23965,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23475
23965
  };
23476
23966
  Returns: string;
23477
23967
  };
23968
+ logistics_ensure_pick_data: {
23969
+ Args: {
23970
+ p_event_id?: string;
23971
+ p_missing?: import("./types").Json;
23972
+ p_ref: string;
23973
+ };
23974
+ Returns: import("./types").Json;
23975
+ };
23976
+ logistics_ensure_shipping_notes: {
23977
+ Args: {
23978
+ p_limit?: number;
23979
+ };
23980
+ Returns: import("./types").Json;
23981
+ };
23478
23982
  logistics_fail_task: {
23479
23983
  Args: {
23480
23984
  p_error: string;
@@ -23520,6 +24024,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23520
24024
  isSetofReturn: false;
23521
24025
  };
23522
24026
  };
24027
+ logistics_fix_wrong_shipping_notes: {
24028
+ Args: never;
24029
+ Returns: import("./types").Json;
24030
+ };
23523
24031
  logistics_floriday_cart_plan: {
23524
24032
  Args: {
23525
24033
  p_order_id: string;
@@ -23547,6 +24055,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23547
24055
  revision: number;
23548
24056
  }[];
23549
24057
  };
24058
+ logistics_floriday_delivery_note_create_enabled: {
24059
+ Args: never;
24060
+ Returns: boolean;
24061
+ };
23550
24062
  logistics_floriday_finish_push: {
23551
24063
  Args: {
23552
24064
  _error?: string;
@@ -23596,6 +24108,38 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23596
24108
  };
23597
24109
  Returns: string;
23598
24110
  };
24111
+ logistics_floriday_gate_status: {
24112
+ Args: never;
24113
+ Returns: import("./types").Json;
24114
+ };
24115
+ logistics_floriday_log_refusal: {
24116
+ Args: {
24117
+ _action?: string;
24118
+ _module?: string;
24119
+ _order_ref: string;
24120
+ _reason: string;
24121
+ _shell?: string;
24122
+ };
24123
+ Returns: undefined;
24124
+ };
24125
+ logistics_floriday_log_send: {
24126
+ Args: {
24127
+ _action: string;
24128
+ _detail?: string;
24129
+ _http_status?: number;
24130
+ _module?: string;
24131
+ _ok: boolean;
24132
+ _order_ref: string;
24133
+ _shell?: string;
24134
+ };
24135
+ Returns: undefined;
24136
+ };
24137
+ logistics_floriday_order_approved: {
24138
+ Args: {
24139
+ _order_ref: string;
24140
+ };
24141
+ Returns: boolean;
24142
+ };
23599
24143
  logistics_floriday_prune_pushes: {
23600
24144
  Args: {
23601
24145
  _days?: number;
@@ -23610,6 +24154,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23610
24154
  };
23611
24155
  Returns: string;
23612
24156
  };
24157
+ logistics_floriday_status_updates_enabled: {
24158
+ Args: never;
24159
+ Returns: boolean;
24160
+ };
24161
+ logistics_floriday_stock_updates_enabled: {
24162
+ Args: never;
24163
+ Returns: boolean;
24164
+ };
24165
+ logistics_floriday_write_allowed: {
24166
+ Args: {
24167
+ _action: string;
24168
+ };
24169
+ Returns: boolean;
24170
+ };
23613
24171
  logistics_fulfill_barcode_requests: {
23614
24172
  Args: {
23615
24173
  p_limit?: number;
@@ -23630,6 +24188,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23630
24188
  };
23631
24189
  Returns: boolean;
23632
24190
  };
24191
+ logistics_layout_method_status: {
24192
+ Args: never;
24193
+ Returns: import("./types").Json;
24194
+ };
23633
24195
  logistics_link_order_items: {
23634
24196
  Args: {
23635
24197
  p_order?: string;
@@ -23648,6 +24210,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23648
24210
  };
23649
24211
  Returns: number;
23650
24212
  };
24213
+ logistics_merge_partial_carts: {
24214
+ Args: {
24215
+ p_limit?: number;
24216
+ };
24217
+ Returns: import("./types").Json;
24218
+ };
23651
24219
  logistics_next_workday_date: {
23652
24220
  Args: {
23653
24221
  p_date: string;
@@ -23674,6 +24242,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23674
24242
  };
23675
24243
  Returns: string;
23676
24244
  };
24245
+ logistics_opening_timezone: {
24246
+ Args: never;
24247
+ Returns: string;
24248
+ };
23677
24249
  logistics_order_cart_count: {
23678
24250
  Args: {
23679
24251
  p_order_ref: string;
@@ -23730,6 +24302,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23730
24302
  };
23731
24303
  Returns: string;
23732
24304
  };
24305
+ logistics_payload_is_floriday: {
24306
+ Args: {
24307
+ _payload: import("./types").Json;
24308
+ };
24309
+ Returns: boolean;
24310
+ };
23733
24311
  logistics_pick_agenda: {
23734
24312
  Args: {
23735
24313
  p_from?: string;
@@ -23758,6 +24336,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23758
24336
  Args: never;
23759
24337
  Returns: import("./types").Json;
23760
24338
  };
24339
+ logistics_pick_partial_mode: {
24340
+ Args: never;
24341
+ Returns: string;
24342
+ };
23761
24343
  logistics_pick_start_estimate: {
23762
24344
  Args: {
23763
24345
  p_order: import("./types").Json;
@@ -23848,6 +24430,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23848
24430
  Args: never;
23849
24431
  Returns: undefined;
23850
24432
  };
24433
+ logistics_plan_progress: {
24434
+ Args: {
24435
+ p_refs: string[];
24436
+ };
24437
+ Returns: {
24438
+ cart_plan_ready: boolean;
24439
+ cart_plan_reason: string;
24440
+ cart_plan_released: boolean;
24441
+ plan_progress: number;
24442
+ plan_state: string;
24443
+ plan_state_since: string;
24444
+ unit_ref: string;
24445
+ }[];
24446
+ };
23851
24447
  logistics_plan_prune: {
23852
24448
  Args: never;
23853
24449
  Returns: number;
@@ -23869,6 +24465,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23869
24465
  };
23870
24466
  Returns: number;
23871
24467
  };
24468
+ logistics_plan_state_for: {
24469
+ Args: {
24470
+ p_ref: string;
24471
+ };
24472
+ Returns: import("./types").Json;
24473
+ };
24474
+ logistics_prepare_pick_documents: {
24475
+ Args: {
24476
+ p_limit?: number;
24477
+ };
24478
+ Returns: import("./types").Json;
24479
+ };
23872
24480
  logistics_prune_buffer_member_queue: {
23873
24481
  Args: never;
23874
24482
  Returns: number;
@@ -23909,12 +24517,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23909
24517
  Args: never;
23910
24518
  Returns: import("./types").Json;
23911
24519
  };
24520
+ logistics_refresh_pick_queue_status: {
24521
+ Args: {
24522
+ p_ref: string;
24523
+ };
24524
+ Returns: number;
24525
+ };
23912
24526
  logistics_refresh_pickup_moments: {
23913
24527
  Args: {
23914
24528
  p_weeks?: number;
23915
24529
  };
23916
24530
  Returns: import("./types").Json;
23917
24531
  };
24532
+ logistics_refresh_plan_state: {
24533
+ Args: {
24534
+ p_limit?: number;
24535
+ };
24536
+ Returns: import("./types").Json;
24537
+ };
24538
+ logistics_replan_all: {
24539
+ Args: {
24540
+ p_reason?: string;
24541
+ };
24542
+ Returns: import("./types").Json;
24543
+ };
24544
+ logistics_replan_all_force: {
24545
+ Args: {
24546
+ p_reason?: string;
24547
+ };
24548
+ Returns: import("./types").Json;
24549
+ };
23918
24550
  logistics_report_delay: {
23919
24551
  Args: {
23920
24552
  p_expected_date?: string;
@@ -24059,6 +24691,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
24059
24691
  };
24060
24692
  Returns: string;
24061
24693
  };
24694
+ logistics_shipping_note_follows_slip: {
24695
+ Args: never;
24696
+ Returns: boolean;
24697
+ };
24062
24698
  logistics_shipping_note_from_barcode: {
24063
24699
  Args: {
24064
24700
  p_allow_reprint?: boolean;
@@ -24067,10 +24703,86 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
24067
24703
  };
24068
24704
  Returns: import("./types").Json;
24069
24705
  };
24706
+ logistics_shipping_note_job_for_slip: {
24707
+ Args: {
24708
+ _slip_job_id: string;
24709
+ };
24710
+ Returns: string;
24711
+ };
24712
+ logistics_shipping_notes_wake_all: {
24713
+ Args: never;
24714
+ Returns: import("./types").Json;
24715
+ };
24716
+ logistics_slip_is_floriday: {
24717
+ Args: {
24718
+ _slip_job_id: string;
24719
+ };
24720
+ Returns: boolean;
24721
+ };
24722
+ logistics_slip_note_claim: {
24723
+ Args: {
24724
+ _lease_seconds?: number;
24725
+ _limit?: number;
24726
+ };
24727
+ Returns: {
24728
+ attempts: number;
24729
+ batch_key: string | null;
24730
+ cart_id: string | null;
24731
+ created_at: string;
24732
+ error: string | null;
24733
+ error_code: string | null;
24734
+ fulfillment_order_id: string | null;
24735
+ id: string;
24736
+ locked_until: string | null;
24737
+ next_attempt_at: string | null;
24738
+ order_id: string | null;
24739
+ order_number: string | null;
24740
+ print_job_id: string | null;
24741
+ printer_id: string | null;
24742
+ retry_class: string | null;
24743
+ slip_job_id: string;
24744
+ status: string;
24745
+ updated_at: string;
24746
+ }[];
24747
+ SetofOptions: {
24748
+ from: "*";
24749
+ to: "logistics_slip_shipping_note";
24750
+ isOneToOne: false;
24751
+ isSetofReturn: true;
24752
+ };
24753
+ };
24754
+ logistics_slip_note_finish: {
24755
+ Args: {
24756
+ _error?: string;
24757
+ _error_code?: string;
24758
+ _fulfillment_order_id?: string;
24759
+ _id: string;
24760
+ _ok: boolean;
24761
+ _print_job_id?: string;
24762
+ _status?: string;
24763
+ };
24764
+ Returns: undefined;
24765
+ };
24766
+ logistics_slip_note_keep_waiting: {
24767
+ Args: {
24768
+ _class?: string;
24769
+ _id: string;
24770
+ _reason: string;
24771
+ };
24772
+ Returns: undefined;
24773
+ };
24070
24774
  logistics_sticker_follows_slip: {
24071
24775
  Args: never;
24072
24776
  Returns: boolean;
24073
24777
  };
24778
+ logistics_subtract_working_minutes: {
24779
+ Args: {
24780
+ p_deadline: string;
24781
+ p_max_workdays?: number;
24782
+ p_minutes: number;
24783
+ };
24784
+ Returns: import("./types").Json;
24785
+ };
24074
24786
  logistics_supersede_stale_tasks: {
24075
24787
  Args: {
24076
24788
  p_keep: string[];
@@ -24107,6 +24819,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
24107
24819
  Args: never;
24108
24820
  Returns: string;
24109
24821
  };
24822
+ logistics_timezone_options: {
24823
+ Args: never;
24824
+ Returns: {
24825
+ name: string;
24826
+ }[];
24827
+ };
24110
24828
  logistics_upsert_task: {
24111
24829
  Args: {
24112
24830
  p_buffer_ref: string;
@@ -24126,6 +24844,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
24126
24844
  };
24127
24845
  Returns: string;
24128
24846
  };
24847
+ logistics_valid_timezone: {
24848
+ Args: {
24849
+ _tz: string;
24850
+ };
24851
+ Returns: boolean;
24852
+ };
24853
+ logistics_working_hours_status: {
24854
+ Args: never;
24855
+ Returns: import("./types").Json;
24856
+ };
24129
24857
  logistics_write_buffer_layer_positions: {
24130
24858
  Args: {
24131
24859
  p_buffer_id: string;
@@ -25571,6 +26299,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
25571
26299
  };
25572
26300
  Returns: number;
25573
26301
  };
26302
+ schedule_floriday_catalog_prices_sync: {
26303
+ Args: {
26304
+ p_apikey: string;
26305
+ p_url: string;
26306
+ };
26307
+ Returns: number;
26308
+ };
25574
26309
  schedule_floriday_clock_presales_sync: {
25575
26310
  Args: {
25576
26311
  p_apikey: string;
@@ -25871,6 +26606,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
25871
26606
  };
25872
26607
  Returns: undefined;
25873
26608
  };
26609
+ sync_floriday_prices_into_price_groups: {
26610
+ Args: never;
26611
+ Returns: number;
26612
+ };
25874
26613
  sync_layer_stock: {
25875
26614
  Args: {
25876
26615
  p_product_id: string;