@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
@@ -5809,6 +5809,84 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
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("./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("./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("./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;
@@ -10075,6 +10153,36 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
10075
10153
  };
10076
10154
  Relationships: [];
10077
10155
  };
10156
+ logistics_floriday_push_refusals: {
10157
+ Row: {
10158
+ action: string | null;
10159
+ created_at: string;
10160
+ id: string;
10161
+ order_ref: string;
10162
+ reason: string;
10163
+ source_module: string | null;
10164
+ source_shell: string | null;
10165
+ };
10166
+ Insert: {
10167
+ action?: string | null;
10168
+ created_at?: string;
10169
+ id?: string;
10170
+ order_ref: string;
10171
+ reason: string;
10172
+ source_module?: string | null;
10173
+ source_shell?: string | null;
10174
+ };
10175
+ Update: {
10176
+ action?: string | null;
10177
+ created_at?: string;
10178
+ id?: string;
10179
+ order_ref?: string;
10180
+ reason?: string;
10181
+ source_module?: string | null;
10182
+ source_shell?: string | null;
10183
+ };
10184
+ Relationships: [];
10185
+ };
10078
10186
  logistics_floriday_pushes: {
10079
10187
  Row: {
10080
10188
  attempts: number;
@@ -10150,6 +10258,42 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
10150
10258
  };
10151
10259
  Relationships: [];
10152
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
+ };
10153
10297
  logistics_formulas: {
10154
10298
  Row: {
10155
10299
  created_at: string;
@@ -10222,6 +10366,108 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
10222
10366
  };
10223
10367
  Relationships: [];
10224
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("./types").Json;
10432
+ created_at: string;
10433
+ event_id: string | null;
10434
+ finished_at: string | null;
10435
+ id: string;
10436
+ missing: import("./types").Json;
10437
+ order_ref: string;
10438
+ reason: string | null;
10439
+ result: import("./types").Json | null;
10440
+ status: string;
10441
+ unit_ref: string | null;
10442
+ };
10443
+ Insert: {
10444
+ actions?: import("./types").Json;
10445
+ created_at?: string;
10446
+ event_id?: string | null;
10447
+ finished_at?: string | null;
10448
+ id?: string;
10449
+ missing?: import("./types").Json;
10450
+ order_ref: string;
10451
+ reason?: string | null;
10452
+ result?: import("./types").Json | null;
10453
+ status?: string;
10454
+ unit_ref?: string | null;
10455
+ };
10456
+ Update: {
10457
+ actions?: import("./types").Json;
10458
+ created_at?: string;
10459
+ event_id?: string | null;
10460
+ finished_at?: string | null;
10461
+ id?: string;
10462
+ missing?: import("./types").Json;
10463
+ order_ref?: string;
10464
+ reason?: string | null;
10465
+ result?: import("./types").Json | null;
10466
+ status?: string;
10467
+ unit_ref?: string | null;
10468
+ };
10469
+ Relationships: [];
10470
+ };
10225
10471
  logistics_pickup_moments: {
10226
10472
  Row: {
10227
10473
  carrier_ref: string | null;
@@ -10681,6 +10927,69 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
10681
10927
  };
10682
10928
  Relationships: [];
10683
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
+ };
10684
10993
  logistics_staff_planning: {
10685
10994
  Row: {
10686
10995
  created_at: string;
@@ -11014,6 +11323,24 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
11014
11323
  };
11015
11324
  Relationships: [];
11016
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
+ };
11017
11344
  logistics_variables: {
11018
11345
  Row: {
11019
11346
  created_at: string;
@@ -13404,6 +13731,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
13404
13731
  customer_name: string;
13405
13732
  deleted_at: string | null;
13406
13733
  delivery_date: string | null;
13734
+ floriday_order_group_key: string | null;
13407
13735
  floriday_sales_order_id: string | null;
13408
13736
  id: string;
13409
13737
  invoice_due_at: string | null;
@@ -13431,6 +13759,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
13431
13759
  customer_name?: string;
13432
13760
  deleted_at?: string | null;
13433
13761
  delivery_date?: string | null;
13762
+ floriday_order_group_key?: string | null;
13434
13763
  floriday_sales_order_id?: string | null;
13435
13764
  id?: string;
13436
13765
  invoice_due_at?: string | null;
@@ -13458,6 +13787,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
13458
13787
  customer_name?: string;
13459
13788
  deleted_at?: string | null;
13460
13789
  delivery_date?: string | null;
13790
+ floriday_order_group_key?: string | null;
13461
13791
  floriday_sales_order_id?: string | null;
13462
13792
  id?: string;
13463
13793
  invoice_due_at?: string | null;
@@ -19321,7 +19651,37 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
19321
19651
  referencedColumns: ["id"];
19322
19652
  }];
19323
19653
  };
19324
- voorraad_custom_fields: {
19654
+ voorraad_buffer_state: {
19655
+ Row: {
19656
+ buffer_id: string;
19657
+ buffer_key: string | null;
19658
+ closed_at: string | null;
19659
+ created_at: string;
19660
+ detached_orders: import("./types").Json;
19661
+ reason: string | null;
19662
+ updated_at: string;
19663
+ };
19664
+ Insert: {
19665
+ buffer_id: string;
19666
+ buffer_key?: string | null;
19667
+ closed_at?: string | null;
19668
+ created_at?: string;
19669
+ detached_orders?: import("./types").Json;
19670
+ reason?: string | null;
19671
+ updated_at?: string;
19672
+ };
19673
+ Update: {
19674
+ buffer_id?: string;
19675
+ buffer_key?: string | null;
19676
+ closed_at?: string | null;
19677
+ created_at?: string;
19678
+ detached_orders?: import("./types").Json;
19679
+ reason?: string | null;
19680
+ updated_at?: string;
19681
+ };
19682
+ Relationships: [];
19683
+ };
19684
+ voorraad_custom_fields: {
19325
19685
  Row: {
19326
19686
  created_at: string;
19327
19687
  field_key: string;
@@ -19363,6 +19723,36 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
19363
19723
  };
19364
19724
  Relationships: [];
19365
19725
  };
19726
+ voorraad_logistics_event_log: {
19727
+ Row: {
19728
+ created_at: string;
19729
+ event_id: string;
19730
+ event_type: string;
19731
+ order_ref: string | null;
19732
+ processed_at: string;
19733
+ result: import("./types").Json;
19734
+ updated_at: string;
19735
+ };
19736
+ Insert: {
19737
+ created_at?: string;
19738
+ event_id: string;
19739
+ event_type: string;
19740
+ order_ref?: string | null;
19741
+ processed_at?: string;
19742
+ result?: import("./types").Json;
19743
+ updated_at?: string;
19744
+ };
19745
+ Update: {
19746
+ created_at?: string;
19747
+ event_id?: string;
19748
+ event_type?: string;
19749
+ order_ref?: string | null;
19750
+ processed_at?: string;
19751
+ result?: import("./types").Json;
19752
+ updated_at?: string;
19753
+ };
19754
+ Relationships: [];
19755
+ };
19366
19756
  voorraad_media_upload_failures: {
19367
19757
  Row: {
19368
19758
  action: string;
@@ -21523,6 +21913,15 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
21523
21913
  Args: never;
21524
21914
  Returns: boolean;
21525
21915
  };
21916
+ cancel_open_print_jobs: {
21917
+ Args: {
21918
+ _cutoff: string;
21919
+ };
21920
+ Returns: {
21921
+ extern_job_id: string;
21922
+ id: string;
21923
+ }[];
21924
+ };
21526
21925
  check_offer_product_available_stock: {
21527
21926
  Args: {
21528
21927
  p_campaign_product_id: string;
@@ -22188,6 +22587,17 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22188
22587
  };
22189
22588
  Returns: boolean;
22190
22589
  };
22590
+ floriday_adopt_connection: {
22591
+ Args: {
22592
+ p_new: string;
22593
+ p_old: string;
22594
+ };
22595
+ Returns: import("./types").Json;
22596
+ };
22597
+ floriday_autoheal_connections: {
22598
+ Args: never;
22599
+ Returns: import("./types").Json;
22600
+ };
22191
22601
  floriday_capture_stock_snapshot: {
22192
22602
  Args: never;
22193
22603
  Returns: number;
@@ -22245,6 +22655,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22245
22655
  };
22246
22656
  Returns: undefined;
22247
22657
  };
22658
+ floriday_relink_products: {
22659
+ Args: {
22660
+ p_connection_id?: string;
22661
+ };
22662
+ Returns: import("./types").Json;
22663
+ };
22248
22664
  floriday_requeue_dead_letters: {
22249
22665
  Args: {
22250
22666
  p_connection_id?: string;
@@ -22866,6 +23282,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22866
23282
  };
22867
23283
  Returns: string;
22868
23284
  };
23285
+ logistics_active_layout_method: {
23286
+ Args: never;
23287
+ Returns: string;
23288
+ };
22869
23289
  logistics_active_pick_workdays: {
22870
23290
  Args: never;
22871
23291
  Returns: string[];
@@ -23040,6 +23460,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23040
23460
  };
23041
23461
  Returns: string;
23042
23462
  };
23463
+ logistics_cart_checkin_at: {
23464
+ Args: {
23465
+ p_cart_id: string;
23466
+ };
23467
+ Returns: string;
23468
+ };
23043
23469
  logistics_cart_handled: {
23044
23470
  Args: {
23045
23471
  p_cart_index: number;
@@ -23073,10 +23499,22 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23073
23499
  task_status: string;
23074
23500
  }[];
23075
23501
  };
23502
+ logistics_cart_is_full: {
23503
+ Args: {
23504
+ p_cart_id: string;
23505
+ };
23506
+ Returns: boolean;
23507
+ };
23076
23508
  logistics_cart_layout_method: {
23077
23509
  Args: never;
23078
23510
  Returns: import("./types").Json;
23079
23511
  };
23512
+ logistics_cart_order_refs: {
23513
+ Args: {
23514
+ p_cart_id: string;
23515
+ };
23516
+ Returns: string[];
23517
+ };
23080
23518
  logistics_cart_plan_overview: {
23081
23519
  Args: {
23082
23520
  p_days?: number;
@@ -23096,6 +23534,24 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23096
23534
  };
23097
23535
  Returns: import("./types").Json;
23098
23536
  };
23537
+ logistics_cart_plan_status_core: {
23538
+ Args: {
23539
+ p_ref: string;
23540
+ };
23541
+ Returns: import("./types").Json;
23542
+ };
23543
+ logistics_cart_release_reason: {
23544
+ Args: {
23545
+ p_cart_id: string;
23546
+ };
23547
+ Returns: string;
23548
+ };
23549
+ logistics_cart_released: {
23550
+ Args: {
23551
+ p_cart_id: string;
23552
+ };
23553
+ Returns: boolean;
23554
+ };
23099
23555
  logistics_cart_seq: {
23100
23556
  Args: {
23101
23557
  p_order_uuid?: string;
@@ -23146,6 +23602,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23146
23602
  unit_ref: string;
23147
23603
  }[];
23148
23604
  };
23605
+ logistics_carts_per_print: {
23606
+ Args: never;
23607
+ Returns: number;
23608
+ };
23149
23609
  logistics_check_order_allowed: {
23150
23610
  Args: {
23151
23611
  p_lines: import("./types").Json;
@@ -23249,6 +23709,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23249
23709
  isSetofReturn: false;
23250
23710
  };
23251
23711
  };
23712
+ logistics_cleanup_orphan_print_jobs: {
23713
+ Args: never;
23714
+ Returns: import("./types").Json;
23715
+ };
23252
23716
  logistics_complete_task: {
23253
23717
  Args: {
23254
23718
  p_result?: import("./types").Json;
@@ -23311,6 +23775,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23311
23775
  station_carts: number;
23312
23776
  }[];
23313
23777
  };
23778
+ logistics_control_complete_cart: {
23779
+ Args: {
23780
+ p_cart_id: string;
23781
+ };
23782
+ Returns: number;
23783
+ };
23314
23784
  logistics_control_scan_approve: {
23315
23785
  Args: {
23316
23786
  p_allow_reprint?: boolean;
@@ -23390,6 +23860,15 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23390
23860
  Args: never;
23391
23861
  Returns: import("./types").Json;
23392
23862
  };
23863
+ logistics_day_windows: {
23864
+ Args: {
23865
+ p_day: string;
23866
+ };
23867
+ Returns: {
23868
+ win_end: string;
23869
+ win_start: string;
23870
+ }[];
23871
+ };
23393
23872
  logistics_delay_customer_email: {
23394
23873
  Args: {
23395
23874
  p_customer: string;
@@ -23457,6 +23936,17 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23457
23936
  };
23458
23937
  Returns: import("./types").Json;
23459
23938
  };
23939
+ logistics_enqueue_shipping_note_with_slip: {
23940
+ Args: {
23941
+ _cart_id: string;
23942
+ _is_herprint: boolean;
23943
+ _printer_id: string;
23944
+ _queue_item_id: string;
23945
+ _session_id: string;
23946
+ _slip_job_id: string;
23947
+ };
23948
+ Returns: string;
23949
+ };
23460
23950
  logistics_enqueue_sticker_with_slip: {
23461
23951
  Args: {
23462
23952
  _cart_id: string;
@@ -23474,6 +23964,20 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23474
23964
  };
23475
23965
  Returns: string;
23476
23966
  };
23967
+ logistics_ensure_pick_data: {
23968
+ Args: {
23969
+ p_event_id?: string;
23970
+ p_missing?: import("./types").Json;
23971
+ p_ref: string;
23972
+ };
23973
+ Returns: import("./types").Json;
23974
+ };
23975
+ logistics_ensure_shipping_notes: {
23976
+ Args: {
23977
+ p_limit?: number;
23978
+ };
23979
+ Returns: import("./types").Json;
23980
+ };
23477
23981
  logistics_fail_task: {
23478
23982
  Args: {
23479
23983
  p_error: string;
@@ -23519,6 +24023,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23519
24023
  isSetofReturn: false;
23520
24024
  };
23521
24025
  };
24026
+ logistics_fix_wrong_shipping_notes: {
24027
+ Args: never;
24028
+ Returns: import("./types").Json;
24029
+ };
23522
24030
  logistics_floriday_cart_plan: {
23523
24031
  Args: {
23524
24032
  p_order_id: string;
@@ -23546,6 +24054,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23546
24054
  revision: number;
23547
24055
  }[];
23548
24056
  };
24057
+ logistics_floriday_delivery_note_create_enabled: {
24058
+ Args: never;
24059
+ Returns: boolean;
24060
+ };
23549
24061
  logistics_floriday_finish_push: {
23550
24062
  Args: {
23551
24063
  _error?: string;
@@ -23595,6 +24107,38 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23595
24107
  };
23596
24108
  Returns: string;
23597
24109
  };
24110
+ logistics_floriday_gate_status: {
24111
+ Args: never;
24112
+ Returns: import("./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
+ };
24136
+ logistics_floriday_order_approved: {
24137
+ Args: {
24138
+ _order_ref: string;
24139
+ };
24140
+ Returns: boolean;
24141
+ };
23598
24142
  logistics_floriday_prune_pushes: {
23599
24143
  Args: {
23600
24144
  _days?: number;
@@ -23609,6 +24153,20 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23609
24153
  };
23610
24154
  Returns: string;
23611
24155
  };
24156
+ logistics_floriday_status_updates_enabled: {
24157
+ Args: never;
24158
+ Returns: boolean;
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
+ };
23612
24170
  logistics_fulfill_barcode_requests: {
23613
24171
  Args: {
23614
24172
  p_limit?: number;
@@ -23629,6 +24187,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23629
24187
  };
23630
24188
  Returns: boolean;
23631
24189
  };
24190
+ logistics_layout_method_status: {
24191
+ Args: never;
24192
+ Returns: import("./types").Json;
24193
+ };
23632
24194
  logistics_link_order_items: {
23633
24195
  Args: {
23634
24196
  p_order?: string;
@@ -23647,6 +24209,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23647
24209
  };
23648
24210
  Returns: number;
23649
24211
  };
24212
+ logistics_merge_partial_carts: {
24213
+ Args: {
24214
+ p_limit?: number;
24215
+ };
24216
+ Returns: import("./types").Json;
24217
+ };
23650
24218
  logistics_next_workday_date: {
23651
24219
  Args: {
23652
24220
  p_date: string;
@@ -23673,6 +24241,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23673
24241
  };
23674
24242
  Returns: string;
23675
24243
  };
24244
+ logistics_opening_timezone: {
24245
+ Args: never;
24246
+ Returns: string;
24247
+ };
23676
24248
  logistics_order_cart_count: {
23677
24249
  Args: {
23678
24250
  p_order_ref: string;
@@ -23729,6 +24301,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23729
24301
  };
23730
24302
  Returns: string;
23731
24303
  };
24304
+ logistics_payload_is_floriday: {
24305
+ Args: {
24306
+ _payload: import("./types").Json;
24307
+ };
24308
+ Returns: boolean;
24309
+ };
23732
24310
  logistics_pick_agenda: {
23733
24311
  Args: {
23734
24312
  p_from?: string;
@@ -23757,6 +24335,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23757
24335
  Args: never;
23758
24336
  Returns: import("./types").Json;
23759
24337
  };
24338
+ logistics_pick_partial_mode: {
24339
+ Args: never;
24340
+ Returns: string;
24341
+ };
23760
24342
  logistics_pick_start_estimate: {
23761
24343
  Args: {
23762
24344
  p_order: import("./types").Json;
@@ -23847,6 +24429,20 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23847
24429
  Args: never;
23848
24430
  Returns: undefined;
23849
24431
  };
24432
+ logistics_plan_progress: {
24433
+ Args: {
24434
+ p_refs: string[];
24435
+ };
24436
+ Returns: {
24437
+ cart_plan_ready: boolean;
24438
+ cart_plan_reason: string;
24439
+ cart_plan_released: boolean;
24440
+ plan_progress: number;
24441
+ plan_state: string;
24442
+ plan_state_since: string;
24443
+ unit_ref: string;
24444
+ }[];
24445
+ };
23850
24446
  logistics_plan_prune: {
23851
24447
  Args: never;
23852
24448
  Returns: number;
@@ -23868,6 +24464,18 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23868
24464
  };
23869
24465
  Returns: number;
23870
24466
  };
24467
+ logistics_plan_state_for: {
24468
+ Args: {
24469
+ p_ref: string;
24470
+ };
24471
+ Returns: import("./types").Json;
24472
+ };
24473
+ logistics_prepare_pick_documents: {
24474
+ Args: {
24475
+ p_limit?: number;
24476
+ };
24477
+ Returns: import("./types").Json;
24478
+ };
23871
24479
  logistics_prune_buffer_member_queue: {
23872
24480
  Args: never;
23873
24481
  Returns: number;
@@ -23908,12 +24516,36 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
23908
24516
  Args: never;
23909
24517
  Returns: import("./types").Json;
23910
24518
  };
24519
+ logistics_refresh_pick_queue_status: {
24520
+ Args: {
24521
+ p_ref: string;
24522
+ };
24523
+ Returns: number;
24524
+ };
23911
24525
  logistics_refresh_pickup_moments: {
23912
24526
  Args: {
23913
24527
  p_weeks?: number;
23914
24528
  };
23915
24529
  Returns: import("./types").Json;
23916
24530
  };
24531
+ logistics_refresh_plan_state: {
24532
+ Args: {
24533
+ p_limit?: number;
24534
+ };
24535
+ Returns: import("./types").Json;
24536
+ };
24537
+ logistics_replan_all: {
24538
+ Args: {
24539
+ p_reason?: string;
24540
+ };
24541
+ Returns: import("./types").Json;
24542
+ };
24543
+ logistics_replan_all_force: {
24544
+ Args: {
24545
+ p_reason?: string;
24546
+ };
24547
+ Returns: import("./types").Json;
24548
+ };
23917
24549
  logistics_report_delay: {
23918
24550
  Args: {
23919
24551
  p_expected_date?: string;
@@ -24058,6 +24690,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
24058
24690
  };
24059
24691
  Returns: string;
24060
24692
  };
24693
+ logistics_shipping_note_follows_slip: {
24694
+ Args: never;
24695
+ Returns: boolean;
24696
+ };
24061
24697
  logistics_shipping_note_from_barcode: {
24062
24698
  Args: {
24063
24699
  p_allow_reprint?: boolean;
@@ -24066,10 +24702,86 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
24066
24702
  };
24067
24703
  Returns: import("./types").Json;
24068
24704
  };
24705
+ logistics_shipping_note_job_for_slip: {
24706
+ Args: {
24707
+ _slip_job_id: string;
24708
+ };
24709
+ Returns: string;
24710
+ };
24711
+ logistics_shipping_notes_wake_all: {
24712
+ Args: never;
24713
+ Returns: import("./types").Json;
24714
+ };
24715
+ logistics_slip_is_floriday: {
24716
+ Args: {
24717
+ _slip_job_id: string;
24718
+ };
24719
+ Returns: boolean;
24720
+ };
24721
+ logistics_slip_note_claim: {
24722
+ Args: {
24723
+ _lease_seconds?: number;
24724
+ _limit?: number;
24725
+ };
24726
+ Returns: {
24727
+ attempts: number;
24728
+ batch_key: string | null;
24729
+ cart_id: string | null;
24730
+ created_at: string;
24731
+ error: string | null;
24732
+ error_code: string | null;
24733
+ fulfillment_order_id: string | null;
24734
+ id: string;
24735
+ locked_until: string | null;
24736
+ next_attempt_at: string | null;
24737
+ order_id: string | null;
24738
+ order_number: string | null;
24739
+ print_job_id: string | null;
24740
+ printer_id: string | null;
24741
+ retry_class: string | null;
24742
+ slip_job_id: string;
24743
+ status: string;
24744
+ updated_at: string;
24745
+ }[];
24746
+ SetofOptions: {
24747
+ from: "*";
24748
+ to: "logistics_slip_shipping_note";
24749
+ isOneToOne: false;
24750
+ isSetofReturn: true;
24751
+ };
24752
+ };
24753
+ logistics_slip_note_finish: {
24754
+ Args: {
24755
+ _error?: string;
24756
+ _error_code?: string;
24757
+ _fulfillment_order_id?: string;
24758
+ _id: string;
24759
+ _ok: boolean;
24760
+ _print_job_id?: string;
24761
+ _status?: string;
24762
+ };
24763
+ Returns: undefined;
24764
+ };
24765
+ logistics_slip_note_keep_waiting: {
24766
+ Args: {
24767
+ _class?: string;
24768
+ _id: string;
24769
+ _reason: string;
24770
+ };
24771
+ Returns: undefined;
24772
+ };
24069
24773
  logistics_sticker_follows_slip: {
24070
24774
  Args: never;
24071
24775
  Returns: boolean;
24072
24776
  };
24777
+ logistics_subtract_working_minutes: {
24778
+ Args: {
24779
+ p_deadline: string;
24780
+ p_max_workdays?: number;
24781
+ p_minutes: number;
24782
+ };
24783
+ Returns: import("./types").Json;
24784
+ };
24073
24785
  logistics_supersede_stale_tasks: {
24074
24786
  Args: {
24075
24787
  p_keep: string[];
@@ -24106,6 +24818,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
24106
24818
  Args: never;
24107
24819
  Returns: string;
24108
24820
  };
24821
+ logistics_timezone_options: {
24822
+ Args: never;
24823
+ Returns: {
24824
+ name: string;
24825
+ }[];
24826
+ };
24109
24827
  logistics_upsert_task: {
24110
24828
  Args: {
24111
24829
  p_buffer_ref: string;
@@ -24125,6 +24843,16 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
24125
24843
  };
24126
24844
  Returns: string;
24127
24845
  };
24846
+ logistics_valid_timezone: {
24847
+ Args: {
24848
+ _tz: string;
24849
+ };
24850
+ Returns: boolean;
24851
+ };
24852
+ logistics_working_hours_status: {
24853
+ Args: never;
24854
+ Returns: import("./types").Json;
24855
+ };
24128
24856
  logistics_write_buffer_layer_positions: {
24129
24857
  Args: {
24130
24858
  p_buffer_id: string;
@@ -25570,6 +26298,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
25570
26298
  };
25571
26299
  Returns: number;
25572
26300
  };
26301
+ schedule_floriday_catalog_prices_sync: {
26302
+ Args: {
26303
+ p_apikey: string;
26304
+ p_url: string;
26305
+ };
26306
+ Returns: number;
26307
+ };
25573
26308
  schedule_floriday_clock_presales_sync: {
25574
26309
  Args: {
25575
26310
  p_apikey: string;
@@ -25870,6 +26605,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
25870
26605
  };
25871
26606
  Returns: undefined;
25872
26607
  };
26608
+ sync_floriday_prices_into_price_groups: {
26609
+ Args: never;
26610
+ Returns: number;
26611
+ };
25873
26612
  sync_layer_stock: {
25874
26613
  Args: {
25875
26614
  p_product_id: string;