@flowselections/pick-schermen-kwekers 1.0.19 → 1.0.21

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 +2 -2
  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
@@ -5948,6 +5948,86 @@ export type Database = {
5948
5948
  }
5949
5949
  ];
5950
5950
  };
5951
+ floriday_catalog_prices_cache: {
5952
+ Row: {
5953
+ connection_id: string;
5954
+ created_at: string;
5955
+ currency: string;
5956
+ id: string;
5957
+ is_deleted: boolean;
5958
+ price: number | null;
5959
+ price_group_id: string | null;
5960
+ price_group_name: string | null;
5961
+ price_type: string;
5962
+ raw: Json | null;
5963
+ sales_unit: string | null;
5964
+ sequence_number: number;
5965
+ supplier_article_code: string | null;
5966
+ supply_line_id: string;
5967
+ synced_at: string;
5968
+ trade_item_id: string | null;
5969
+ updated_at: string;
5970
+ valid_from: string | null;
5971
+ valid_to: string | null;
5972
+ week: number | null;
5973
+ year: number | null;
5974
+ };
5975
+ Insert: {
5976
+ connection_id: string;
5977
+ created_at?: string;
5978
+ currency?: string;
5979
+ id?: string;
5980
+ is_deleted?: boolean;
5981
+ price?: number | null;
5982
+ price_group_id?: string | null;
5983
+ price_group_name?: string | null;
5984
+ price_type?: string;
5985
+ raw?: Json | null;
5986
+ sales_unit?: string | null;
5987
+ sequence_number?: number;
5988
+ supplier_article_code?: string | null;
5989
+ supply_line_id: string;
5990
+ synced_at?: string;
5991
+ trade_item_id?: string | null;
5992
+ updated_at?: string;
5993
+ valid_from?: string | null;
5994
+ valid_to?: string | null;
5995
+ week?: number | null;
5996
+ year?: number | null;
5997
+ };
5998
+ Update: {
5999
+ connection_id?: string;
6000
+ created_at?: string;
6001
+ currency?: string;
6002
+ id?: string;
6003
+ is_deleted?: boolean;
6004
+ price?: number | null;
6005
+ price_group_id?: string | null;
6006
+ price_group_name?: string | null;
6007
+ price_type?: string;
6008
+ raw?: Json | null;
6009
+ sales_unit?: string | null;
6010
+ sequence_number?: number;
6011
+ supplier_article_code?: string | null;
6012
+ supply_line_id?: string;
6013
+ synced_at?: string;
6014
+ trade_item_id?: string | null;
6015
+ updated_at?: string;
6016
+ valid_from?: string | null;
6017
+ valid_to?: string | null;
6018
+ week?: number | null;
6019
+ year?: number | null;
6020
+ };
6021
+ Relationships: [
6022
+ {
6023
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
6024
+ columns: ["connection_id"];
6025
+ isOneToOne: false;
6026
+ referencedRelation: "floriday_connections";
6027
+ referencedColumns: ["id"];
6028
+ }
6029
+ ];
6030
+ };
5951
6031
  floriday_clock_presales_cache: {
5952
6032
  Row: {
5953
6033
  buyer_organization_id: string | null;
@@ -10341,6 +10421,36 @@ export type Database = {
10341
10421
  };
10342
10422
  Relationships: [];
10343
10423
  };
10424
+ logistics_floriday_push_refusals: {
10425
+ Row: {
10426
+ action: string | null;
10427
+ created_at: string;
10428
+ id: string;
10429
+ order_ref: string;
10430
+ reason: string;
10431
+ source_module: string | null;
10432
+ source_shell: string | null;
10433
+ };
10434
+ Insert: {
10435
+ action?: string | null;
10436
+ created_at?: string;
10437
+ id?: string;
10438
+ order_ref: string;
10439
+ reason: string;
10440
+ source_module?: string | null;
10441
+ source_shell?: string | null;
10442
+ };
10443
+ Update: {
10444
+ action?: string | null;
10445
+ created_at?: string;
10446
+ id?: string;
10447
+ order_ref?: string;
10448
+ reason?: string;
10449
+ source_module?: string | null;
10450
+ source_shell?: string | null;
10451
+ };
10452
+ Relationships: [];
10453
+ };
10344
10454
  logistics_floriday_pushes: {
10345
10455
  Row: {
10346
10456
  attempts: number;
@@ -10416,6 +10526,42 @@ export type Database = {
10416
10526
  };
10417
10527
  Relationships: [];
10418
10528
  };
10529
+ logistics_floriday_status_sends: {
10530
+ Row: {
10531
+ action: string;
10532
+ created_at: string;
10533
+ detail: string | null;
10534
+ http_status: number | null;
10535
+ id: string;
10536
+ ok: boolean;
10537
+ order_ref: string;
10538
+ source_module: string | null;
10539
+ source_shell: string | null;
10540
+ };
10541
+ Insert: {
10542
+ action: string;
10543
+ created_at?: string;
10544
+ detail?: string | null;
10545
+ http_status?: number | null;
10546
+ id?: string;
10547
+ ok?: boolean;
10548
+ order_ref: string;
10549
+ source_module?: string | null;
10550
+ source_shell?: string | null;
10551
+ };
10552
+ Update: {
10553
+ action?: string;
10554
+ created_at?: string;
10555
+ detail?: string | null;
10556
+ http_status?: number | null;
10557
+ id?: string;
10558
+ ok?: boolean;
10559
+ order_ref?: string;
10560
+ source_module?: string | null;
10561
+ source_shell?: string | null;
10562
+ };
10563
+ Relationships: [];
10564
+ };
10419
10565
  logistics_formulas: {
10420
10566
  Row: {
10421
10567
  created_at: string;
@@ -10490,6 +10636,108 @@ export type Database = {
10490
10636
  };
10491
10637
  Relationships: [];
10492
10638
  };
10639
+ logistics_opening_exceptions: {
10640
+ Row: {
10641
+ closes: string | null;
10642
+ created_at: string;
10643
+ day: string;
10644
+ id: string;
10645
+ is_closed: boolean;
10646
+ note: string | null;
10647
+ opens: string | null;
10648
+ };
10649
+ Insert: {
10650
+ closes?: string | null;
10651
+ created_at?: string;
10652
+ day: string;
10653
+ id?: string;
10654
+ is_closed?: boolean;
10655
+ note?: string | null;
10656
+ opens?: string | null;
10657
+ };
10658
+ Update: {
10659
+ closes?: string | null;
10660
+ created_at?: string;
10661
+ day?: string;
10662
+ id?: string;
10663
+ is_closed?: boolean;
10664
+ note?: string | null;
10665
+ opens?: string | null;
10666
+ };
10667
+ Relationships: [];
10668
+ };
10669
+ logistics_opening_hours: {
10670
+ Row: {
10671
+ closes: string;
10672
+ created_at: string;
10673
+ id: string;
10674
+ is_active: boolean;
10675
+ note: string | null;
10676
+ opens: string;
10677
+ weekday: number;
10678
+ };
10679
+ Insert: {
10680
+ closes: string;
10681
+ created_at?: string;
10682
+ id?: string;
10683
+ is_active?: boolean;
10684
+ note?: string | null;
10685
+ opens: string;
10686
+ weekday: number;
10687
+ };
10688
+ Update: {
10689
+ closes?: string;
10690
+ created_at?: string;
10691
+ id?: string;
10692
+ is_active?: boolean;
10693
+ note?: string | null;
10694
+ opens?: string;
10695
+ weekday?: number;
10696
+ };
10697
+ Relationships: [];
10698
+ };
10699
+ logistics_pick_data_requests: {
10700
+ Row: {
10701
+ actions: Json;
10702
+ created_at: string;
10703
+ event_id: string | null;
10704
+ finished_at: string | null;
10705
+ id: string;
10706
+ missing: Json;
10707
+ order_ref: string;
10708
+ reason: string | null;
10709
+ result: Json | null;
10710
+ status: string;
10711
+ unit_ref: string | null;
10712
+ };
10713
+ Insert: {
10714
+ actions?: Json;
10715
+ created_at?: string;
10716
+ event_id?: string | null;
10717
+ finished_at?: string | null;
10718
+ id?: string;
10719
+ missing?: Json;
10720
+ order_ref: string;
10721
+ reason?: string | null;
10722
+ result?: Json | null;
10723
+ status?: string;
10724
+ unit_ref?: string | null;
10725
+ };
10726
+ Update: {
10727
+ actions?: Json;
10728
+ created_at?: string;
10729
+ event_id?: string | null;
10730
+ finished_at?: string | null;
10731
+ id?: string;
10732
+ missing?: Json;
10733
+ order_ref?: string;
10734
+ reason?: string | null;
10735
+ result?: Json | null;
10736
+ status?: string;
10737
+ unit_ref?: string | null;
10738
+ };
10739
+ Relationships: [];
10740
+ };
10493
10741
  logistics_pickup_moments: {
10494
10742
  Row: {
10495
10743
  carrier_ref: string | null;
@@ -10956,6 +11204,69 @@ export type Database = {
10956
11204
  };
10957
11205
  Relationships: [];
10958
11206
  };
11207
+ logistics_slip_shipping_note: {
11208
+ Row: {
11209
+ attempts: number;
11210
+ batch_key: string | null;
11211
+ cart_id: string | null;
11212
+ created_at: string;
11213
+ error: string | null;
11214
+ error_code: string | null;
11215
+ fulfillment_order_id: string | null;
11216
+ id: string;
11217
+ locked_until: string | null;
11218
+ next_attempt_at: string | null;
11219
+ order_id: string | null;
11220
+ order_number: string | null;
11221
+ print_job_id: string | null;
11222
+ printer_id: string | null;
11223
+ retry_class: string | null;
11224
+ slip_job_id: string;
11225
+ status: string;
11226
+ updated_at: string;
11227
+ };
11228
+ Insert: {
11229
+ attempts?: number;
11230
+ batch_key?: string | null;
11231
+ cart_id?: string | null;
11232
+ created_at?: string;
11233
+ error?: string | null;
11234
+ error_code?: string | null;
11235
+ fulfillment_order_id?: string | null;
11236
+ id?: string;
11237
+ locked_until?: string | null;
11238
+ next_attempt_at?: string | null;
11239
+ order_id?: string | null;
11240
+ order_number?: string | null;
11241
+ print_job_id?: string | null;
11242
+ printer_id?: string | null;
11243
+ retry_class?: string | null;
11244
+ slip_job_id: string;
11245
+ status?: string;
11246
+ updated_at?: string;
11247
+ };
11248
+ Update: {
11249
+ attempts?: number;
11250
+ batch_key?: string | null;
11251
+ cart_id?: string | null;
11252
+ created_at?: string;
11253
+ error?: string | null;
11254
+ error_code?: string | null;
11255
+ fulfillment_order_id?: string | null;
11256
+ id?: string;
11257
+ locked_until?: string | null;
11258
+ next_attempt_at?: string | null;
11259
+ order_id?: string | null;
11260
+ order_number?: string | null;
11261
+ print_job_id?: string | null;
11262
+ printer_id?: string | null;
11263
+ retry_class?: string | null;
11264
+ slip_job_id?: string;
11265
+ status?: string;
11266
+ updated_at?: string;
11267
+ };
11268
+ Relationships: [];
11269
+ };
10959
11270
  logistics_staff_planning: {
10960
11271
  Row: {
10961
11272
  created_at: string;
@@ -11295,6 +11606,24 @@ export type Database = {
11295
11606
  };
11296
11607
  Relationships: [];
11297
11608
  };
11609
+ logistics_time_settings: {
11610
+ Row: {
11611
+ id: boolean;
11612
+ timezone: string;
11613
+ updated_at: string;
11614
+ };
11615
+ Insert: {
11616
+ id?: boolean;
11617
+ timezone: string;
11618
+ updated_at?: string;
11619
+ };
11620
+ Update: {
11621
+ id?: boolean;
11622
+ timezone?: string;
11623
+ updated_at?: string;
11624
+ };
11625
+ Relationships: [];
11626
+ };
11298
11627
  logistics_variables: {
11299
11628
  Row: {
11300
11629
  created_at: string;
@@ -13759,6 +14088,7 @@ export type Database = {
13759
14088
  customer_name: string;
13760
14089
  deleted_at: string | null;
13761
14090
  delivery_date: string | null;
14091
+ floriday_order_group_key: string | null;
13762
14092
  floriday_sales_order_id: string | null;
13763
14093
  id: string;
13764
14094
  invoice_due_at: string | null;
@@ -13786,6 +14116,7 @@ export type Database = {
13786
14116
  customer_name?: string;
13787
14117
  deleted_at?: string | null;
13788
14118
  delivery_date?: string | null;
14119
+ floriday_order_group_key?: string | null;
13789
14120
  floriday_sales_order_id?: string | null;
13790
14121
  id?: string;
13791
14122
  invoice_due_at?: string | null;
@@ -13813,6 +14144,7 @@ export type Database = {
13813
14144
  customer_name?: string;
13814
14145
  deleted_at?: string | null;
13815
14146
  delivery_date?: string | null;
14147
+ floriday_order_group_key?: string | null;
13816
14148
  floriday_sales_order_id?: string | null;
13817
14149
  id?: string;
13818
14150
  invoice_due_at?: string | null;
@@ -19843,9 +20175,39 @@ export type Database = {
19843
20175
  }
19844
20176
  ];
19845
20177
  };
19846
- voorraad_custom_fields: {
20178
+ voorraad_buffer_state: {
19847
20179
  Row: {
19848
- created_at: string;
20180
+ buffer_id: string;
20181
+ buffer_key: string | null;
20182
+ closed_at: string | null;
20183
+ created_at: string;
20184
+ detached_orders: Json;
20185
+ reason: string | null;
20186
+ updated_at: string;
20187
+ };
20188
+ Insert: {
20189
+ buffer_id: string;
20190
+ buffer_key?: string | null;
20191
+ closed_at?: string | null;
20192
+ created_at?: string;
20193
+ detached_orders?: Json;
20194
+ reason?: string | null;
20195
+ updated_at?: string;
20196
+ };
20197
+ Update: {
20198
+ buffer_id?: string;
20199
+ buffer_key?: string | null;
20200
+ closed_at?: string | null;
20201
+ created_at?: string;
20202
+ detached_orders?: Json;
20203
+ reason?: string | null;
20204
+ updated_at?: string;
20205
+ };
20206
+ Relationships: [];
20207
+ };
20208
+ voorraad_custom_fields: {
20209
+ Row: {
20210
+ created_at: string;
19849
20211
  field_key: string;
19850
20212
  field_label: string;
19851
20213
  field_type: string;
@@ -19885,6 +20247,36 @@ export type Database = {
19885
20247
  };
19886
20248
  Relationships: [];
19887
20249
  };
20250
+ voorraad_logistics_event_log: {
20251
+ Row: {
20252
+ created_at: string;
20253
+ event_id: string;
20254
+ event_type: string;
20255
+ order_ref: string | null;
20256
+ processed_at: string;
20257
+ result: Json;
20258
+ updated_at: string;
20259
+ };
20260
+ Insert: {
20261
+ created_at?: string;
20262
+ event_id: string;
20263
+ event_type: string;
20264
+ order_ref?: string | null;
20265
+ processed_at?: string;
20266
+ result?: Json;
20267
+ updated_at?: string;
20268
+ };
20269
+ Update: {
20270
+ created_at?: string;
20271
+ event_id?: string;
20272
+ event_type?: string;
20273
+ order_ref?: string | null;
20274
+ processed_at?: string;
20275
+ result?: Json;
20276
+ updated_at?: string;
20277
+ };
20278
+ Relationships: [];
20279
+ };
19888
20280
  voorraad_media_upload_failures: {
19889
20281
  Row: {
19890
20282
  action: string;
@@ -22108,6 +22500,15 @@ export type Database = {
22108
22500
  Args: never;
22109
22501
  Returns: boolean;
22110
22502
  };
22503
+ cancel_open_print_jobs: {
22504
+ Args: {
22505
+ _cutoff: string;
22506
+ };
22507
+ Returns: {
22508
+ extern_job_id: string;
22509
+ id: string;
22510
+ }[];
22511
+ };
22111
22512
  check_offer_product_available_stock: {
22112
22513
  Args: {
22113
22514
  p_campaign_product_id: string;
@@ -22773,6 +23174,17 @@ export type Database = {
22773
23174
  };
22774
23175
  Returns: boolean;
22775
23176
  };
23177
+ floriday_adopt_connection: {
23178
+ Args: {
23179
+ p_new: string;
23180
+ p_old: string;
23181
+ };
23182
+ Returns: Json;
23183
+ };
23184
+ floriday_autoheal_connections: {
23185
+ Args: never;
23186
+ Returns: Json;
23187
+ };
22776
23188
  floriday_capture_stock_snapshot: {
22777
23189
  Args: never;
22778
23190
  Returns: number;
@@ -22830,6 +23242,12 @@ export type Database = {
22830
23242
  };
22831
23243
  Returns: undefined;
22832
23244
  };
23245
+ floriday_relink_products: {
23246
+ Args: {
23247
+ p_connection_id?: string;
23248
+ };
23249
+ Returns: Json;
23250
+ };
22833
23251
  floriday_requeue_dead_letters: {
22834
23252
  Args: {
22835
23253
  p_connection_id?: string;
@@ -23451,6 +23869,10 @@ export type Database = {
23451
23869
  };
23452
23870
  Returns: string;
23453
23871
  };
23872
+ logistics_active_layout_method: {
23873
+ Args: never;
23874
+ Returns: string;
23875
+ };
23454
23876
  logistics_active_pick_workdays: {
23455
23877
  Args: never;
23456
23878
  Returns: string[];
@@ -23625,6 +24047,12 @@ export type Database = {
23625
24047
  };
23626
24048
  Returns: string;
23627
24049
  };
24050
+ logistics_cart_checkin_at: {
24051
+ Args: {
24052
+ p_cart_id: string;
24053
+ };
24054
+ Returns: string;
24055
+ };
23628
24056
  logistics_cart_handled: {
23629
24057
  Args: {
23630
24058
  p_cart_index: number;
@@ -23658,10 +24086,22 @@ export type Database = {
23658
24086
  task_status: string;
23659
24087
  }[];
23660
24088
  };
24089
+ logistics_cart_is_full: {
24090
+ Args: {
24091
+ p_cart_id: string;
24092
+ };
24093
+ Returns: boolean;
24094
+ };
23661
24095
  logistics_cart_layout_method: {
23662
24096
  Args: never;
23663
24097
  Returns: Json;
23664
24098
  };
24099
+ logistics_cart_order_refs: {
24100
+ Args: {
24101
+ p_cart_id: string;
24102
+ };
24103
+ Returns: string[];
24104
+ };
23665
24105
  logistics_cart_plan_overview: {
23666
24106
  Args: {
23667
24107
  p_days?: number;
@@ -23681,6 +24121,24 @@ export type Database = {
23681
24121
  };
23682
24122
  Returns: Json;
23683
24123
  };
24124
+ logistics_cart_plan_status_core: {
24125
+ Args: {
24126
+ p_ref: string;
24127
+ };
24128
+ Returns: Json;
24129
+ };
24130
+ logistics_cart_release_reason: {
24131
+ Args: {
24132
+ p_cart_id: string;
24133
+ };
24134
+ Returns: string;
24135
+ };
24136
+ logistics_cart_released: {
24137
+ Args: {
24138
+ p_cart_id: string;
24139
+ };
24140
+ Returns: boolean;
24141
+ };
23684
24142
  logistics_cart_seq: {
23685
24143
  Args: {
23686
24144
  p_order_uuid?: string;
@@ -23731,6 +24189,10 @@ export type Database = {
23731
24189
  unit_ref: string;
23732
24190
  }[];
23733
24191
  };
24192
+ logistics_carts_per_print: {
24193
+ Args: never;
24194
+ Returns: number;
24195
+ };
23734
24196
  logistics_check_order_allowed: {
23735
24197
  Args: {
23736
24198
  p_lines: Json;
@@ -23834,6 +24296,10 @@ export type Database = {
23834
24296
  isSetofReturn: false;
23835
24297
  };
23836
24298
  };
24299
+ logistics_cleanup_orphan_print_jobs: {
24300
+ Args: never;
24301
+ Returns: Json;
24302
+ };
23837
24303
  logistics_complete_task: {
23838
24304
  Args: {
23839
24305
  p_result?: Json;
@@ -23896,6 +24362,12 @@ export type Database = {
23896
24362
  station_carts: number;
23897
24363
  }[];
23898
24364
  };
24365
+ logistics_control_complete_cart: {
24366
+ Args: {
24367
+ p_cart_id: string;
24368
+ };
24369
+ Returns: number;
24370
+ };
23899
24371
  logistics_control_scan_approve: {
23900
24372
  Args: {
23901
24373
  p_allow_reprint?: boolean;
@@ -23975,6 +24447,15 @@ export type Database = {
23975
24447
  Args: never;
23976
24448
  Returns: Json;
23977
24449
  };
24450
+ logistics_day_windows: {
24451
+ Args: {
24452
+ p_day: string;
24453
+ };
24454
+ Returns: {
24455
+ win_end: string;
24456
+ win_start: string;
24457
+ }[];
24458
+ };
23978
24459
  logistics_delay_customer_email: {
23979
24460
  Args: {
23980
24461
  p_customer: string;
@@ -24042,6 +24523,17 @@ export type Database = {
24042
24523
  };
24043
24524
  Returns: Json;
24044
24525
  };
24526
+ logistics_enqueue_shipping_note_with_slip: {
24527
+ Args: {
24528
+ _cart_id: string;
24529
+ _is_herprint: boolean;
24530
+ _printer_id: string;
24531
+ _queue_item_id: string;
24532
+ _session_id: string;
24533
+ _slip_job_id: string;
24534
+ };
24535
+ Returns: string;
24536
+ };
24045
24537
  logistics_enqueue_sticker_with_slip: {
24046
24538
  Args: {
24047
24539
  _cart_id: string;
@@ -24059,6 +24551,20 @@ export type Database = {
24059
24551
  };
24060
24552
  Returns: string;
24061
24553
  };
24554
+ logistics_ensure_pick_data: {
24555
+ Args: {
24556
+ p_event_id?: string;
24557
+ p_missing?: Json;
24558
+ p_ref: string;
24559
+ };
24560
+ Returns: Json;
24561
+ };
24562
+ logistics_ensure_shipping_notes: {
24563
+ Args: {
24564
+ p_limit?: number;
24565
+ };
24566
+ Returns: Json;
24567
+ };
24062
24568
  logistics_fail_task: {
24063
24569
  Args: {
24064
24570
  p_error: string;
@@ -24104,6 +24610,10 @@ export type Database = {
24104
24610
  isSetofReturn: false;
24105
24611
  };
24106
24612
  };
24613
+ logistics_fix_wrong_shipping_notes: {
24614
+ Args: never;
24615
+ Returns: Json;
24616
+ };
24107
24617
  logistics_floriday_cart_plan: {
24108
24618
  Args: {
24109
24619
  p_order_id: string;
@@ -24131,6 +24641,10 @@ export type Database = {
24131
24641
  revision: number;
24132
24642
  }[];
24133
24643
  };
24644
+ logistics_floriday_delivery_note_create_enabled: {
24645
+ Args: never;
24646
+ Returns: boolean;
24647
+ };
24134
24648
  logistics_floriday_finish_push: {
24135
24649
  Args: {
24136
24650
  _error?: string;
@@ -24180,6 +24694,38 @@ export type Database = {
24180
24694
  };
24181
24695
  Returns: string;
24182
24696
  };
24697
+ logistics_floriday_gate_status: {
24698
+ Args: never;
24699
+ Returns: Json;
24700
+ };
24701
+ logistics_floriday_log_refusal: {
24702
+ Args: {
24703
+ _action?: string;
24704
+ _module?: string;
24705
+ _order_ref: string;
24706
+ _reason: string;
24707
+ _shell?: string;
24708
+ };
24709
+ Returns: undefined;
24710
+ };
24711
+ logistics_floriday_log_send: {
24712
+ Args: {
24713
+ _action: string;
24714
+ _detail?: string;
24715
+ _http_status?: number;
24716
+ _module?: string;
24717
+ _ok: boolean;
24718
+ _order_ref: string;
24719
+ _shell?: string;
24720
+ };
24721
+ Returns: undefined;
24722
+ };
24723
+ logistics_floriday_order_approved: {
24724
+ Args: {
24725
+ _order_ref: string;
24726
+ };
24727
+ Returns: boolean;
24728
+ };
24183
24729
  logistics_floriday_prune_pushes: {
24184
24730
  Args: {
24185
24731
  _days?: number;
@@ -24194,6 +24740,20 @@ export type Database = {
24194
24740
  };
24195
24741
  Returns: string;
24196
24742
  };
24743
+ logistics_floriday_status_updates_enabled: {
24744
+ Args: never;
24745
+ Returns: boolean;
24746
+ };
24747
+ logistics_floriday_stock_updates_enabled: {
24748
+ Args: never;
24749
+ Returns: boolean;
24750
+ };
24751
+ logistics_floriday_write_allowed: {
24752
+ Args: {
24753
+ _action: string;
24754
+ };
24755
+ Returns: boolean;
24756
+ };
24197
24757
  logistics_fulfill_barcode_requests: {
24198
24758
  Args: {
24199
24759
  p_limit?: number;
@@ -24214,6 +24774,10 @@ export type Database = {
24214
24774
  };
24215
24775
  Returns: boolean;
24216
24776
  };
24777
+ logistics_layout_method_status: {
24778
+ Args: never;
24779
+ Returns: Json;
24780
+ };
24217
24781
  logistics_link_order_items: {
24218
24782
  Args: {
24219
24783
  p_order?: string;
@@ -24232,6 +24796,12 @@ export type Database = {
24232
24796
  };
24233
24797
  Returns: number;
24234
24798
  };
24799
+ logistics_merge_partial_carts: {
24800
+ Args: {
24801
+ p_limit?: number;
24802
+ };
24803
+ Returns: Json;
24804
+ };
24235
24805
  logistics_next_workday_date: {
24236
24806
  Args: {
24237
24807
  p_date: string;
@@ -24258,6 +24828,10 @@ export type Database = {
24258
24828
  };
24259
24829
  Returns: string;
24260
24830
  };
24831
+ logistics_opening_timezone: {
24832
+ Args: never;
24833
+ Returns: string;
24834
+ };
24261
24835
  logistics_order_cart_count: {
24262
24836
  Args: {
24263
24837
  p_order_ref: string;
@@ -24314,6 +24888,12 @@ export type Database = {
24314
24888
  };
24315
24889
  Returns: string;
24316
24890
  };
24891
+ logistics_payload_is_floriday: {
24892
+ Args: {
24893
+ _payload: Json;
24894
+ };
24895
+ Returns: boolean;
24896
+ };
24317
24897
  logistics_pick_agenda: {
24318
24898
  Args: {
24319
24899
  p_from?: string;
@@ -24342,6 +24922,10 @@ export type Database = {
24342
24922
  Args: never;
24343
24923
  Returns: Json;
24344
24924
  };
24925
+ logistics_pick_partial_mode: {
24926
+ Args: never;
24927
+ Returns: string;
24928
+ };
24345
24929
  logistics_pick_start_estimate: {
24346
24930
  Args: {
24347
24931
  p_order: Json;
@@ -24432,6 +25016,20 @@ export type Database = {
24432
25016
  Args: never;
24433
25017
  Returns: undefined;
24434
25018
  };
25019
+ logistics_plan_progress: {
25020
+ Args: {
25021
+ p_refs: string[];
25022
+ };
25023
+ Returns: {
25024
+ cart_plan_ready: boolean;
25025
+ cart_plan_reason: string;
25026
+ cart_plan_released: boolean;
25027
+ plan_progress: number;
25028
+ plan_state: string;
25029
+ plan_state_since: string;
25030
+ unit_ref: string;
25031
+ }[];
25032
+ };
24435
25033
  logistics_plan_prune: {
24436
25034
  Args: never;
24437
25035
  Returns: number;
@@ -24453,6 +25051,18 @@ export type Database = {
24453
25051
  };
24454
25052
  Returns: number;
24455
25053
  };
25054
+ logistics_plan_state_for: {
25055
+ Args: {
25056
+ p_ref: string;
25057
+ };
25058
+ Returns: Json;
25059
+ };
25060
+ logistics_prepare_pick_documents: {
25061
+ Args: {
25062
+ p_limit?: number;
25063
+ };
25064
+ Returns: Json;
25065
+ };
24456
25066
  logistics_prune_buffer_member_queue: {
24457
25067
  Args: never;
24458
25068
  Returns: number;
@@ -24493,12 +25103,36 @@ export type Database = {
24493
25103
  Args: never;
24494
25104
  Returns: Json;
24495
25105
  };
25106
+ logistics_refresh_pick_queue_status: {
25107
+ Args: {
25108
+ p_ref: string;
25109
+ };
25110
+ Returns: number;
25111
+ };
24496
25112
  logistics_refresh_pickup_moments: {
24497
25113
  Args: {
24498
25114
  p_weeks?: number;
24499
25115
  };
24500
25116
  Returns: Json;
24501
25117
  };
25118
+ logistics_refresh_plan_state: {
25119
+ Args: {
25120
+ p_limit?: number;
25121
+ };
25122
+ Returns: Json;
25123
+ };
25124
+ logistics_replan_all: {
25125
+ Args: {
25126
+ p_reason?: string;
25127
+ };
25128
+ Returns: Json;
25129
+ };
25130
+ logistics_replan_all_force: {
25131
+ Args: {
25132
+ p_reason?: string;
25133
+ };
25134
+ Returns: Json;
25135
+ };
24502
25136
  logistics_report_delay: {
24503
25137
  Args: {
24504
25138
  p_expected_date?: string;
@@ -24643,6 +25277,10 @@ export type Database = {
24643
25277
  };
24644
25278
  Returns: string;
24645
25279
  };
25280
+ logistics_shipping_note_follows_slip: {
25281
+ Args: never;
25282
+ Returns: boolean;
25283
+ };
24646
25284
  logistics_shipping_note_from_barcode: {
24647
25285
  Args: {
24648
25286
  p_allow_reprint?: boolean;
@@ -24651,10 +25289,86 @@ export type Database = {
24651
25289
  };
24652
25290
  Returns: Json;
24653
25291
  };
25292
+ logistics_shipping_note_job_for_slip: {
25293
+ Args: {
25294
+ _slip_job_id: string;
25295
+ };
25296
+ Returns: string;
25297
+ };
25298
+ logistics_shipping_notes_wake_all: {
25299
+ Args: never;
25300
+ Returns: Json;
25301
+ };
25302
+ logistics_slip_is_floriday: {
25303
+ Args: {
25304
+ _slip_job_id: string;
25305
+ };
25306
+ Returns: boolean;
25307
+ };
25308
+ logistics_slip_note_claim: {
25309
+ Args: {
25310
+ _lease_seconds?: number;
25311
+ _limit?: number;
25312
+ };
25313
+ Returns: {
25314
+ attempts: number;
25315
+ batch_key: string | null;
25316
+ cart_id: string | null;
25317
+ created_at: string;
25318
+ error: string | null;
25319
+ error_code: string | null;
25320
+ fulfillment_order_id: string | null;
25321
+ id: string;
25322
+ locked_until: string | null;
25323
+ next_attempt_at: string | null;
25324
+ order_id: string | null;
25325
+ order_number: string | null;
25326
+ print_job_id: string | null;
25327
+ printer_id: string | null;
25328
+ retry_class: string | null;
25329
+ slip_job_id: string;
25330
+ status: string;
25331
+ updated_at: string;
25332
+ }[];
25333
+ SetofOptions: {
25334
+ from: "*";
25335
+ to: "logistics_slip_shipping_note";
25336
+ isOneToOne: false;
25337
+ isSetofReturn: true;
25338
+ };
25339
+ };
25340
+ logistics_slip_note_finish: {
25341
+ Args: {
25342
+ _error?: string;
25343
+ _error_code?: string;
25344
+ _fulfillment_order_id?: string;
25345
+ _id: string;
25346
+ _ok: boolean;
25347
+ _print_job_id?: string;
25348
+ _status?: string;
25349
+ };
25350
+ Returns: undefined;
25351
+ };
25352
+ logistics_slip_note_keep_waiting: {
25353
+ Args: {
25354
+ _class?: string;
25355
+ _id: string;
25356
+ _reason: string;
25357
+ };
25358
+ Returns: undefined;
25359
+ };
24654
25360
  logistics_sticker_follows_slip: {
24655
25361
  Args: never;
24656
25362
  Returns: boolean;
24657
25363
  };
25364
+ logistics_subtract_working_minutes: {
25365
+ Args: {
25366
+ p_deadline: string;
25367
+ p_max_workdays?: number;
25368
+ p_minutes: number;
25369
+ };
25370
+ Returns: Json;
25371
+ };
24658
25372
  logistics_supersede_stale_tasks: {
24659
25373
  Args: {
24660
25374
  p_keep: string[];
@@ -24691,6 +25405,12 @@ export type Database = {
24691
25405
  Args: never;
24692
25406
  Returns: string;
24693
25407
  };
25408
+ logistics_timezone_options: {
25409
+ Args: never;
25410
+ Returns: {
25411
+ name: string;
25412
+ }[];
25413
+ };
24694
25414
  logistics_upsert_task: {
24695
25415
  Args: {
24696
25416
  p_buffer_ref: string;
@@ -24710,6 +25430,16 @@ export type Database = {
24710
25430
  };
24711
25431
  Returns: string;
24712
25432
  };
25433
+ logistics_valid_timezone: {
25434
+ Args: {
25435
+ _tz: string;
25436
+ };
25437
+ Returns: boolean;
25438
+ };
25439
+ logistics_working_hours_status: {
25440
+ Args: never;
25441
+ Returns: Json;
25442
+ };
24713
25443
  logistics_write_buffer_layer_positions: {
24714
25444
  Args: {
24715
25445
  p_buffer_id: string;
@@ -26155,6 +26885,13 @@ export type Database = {
26155
26885
  };
26156
26886
  Returns: number;
26157
26887
  };
26888
+ schedule_floriday_catalog_prices_sync: {
26889
+ Args: {
26890
+ p_apikey: string;
26891
+ p_url: string;
26892
+ };
26893
+ Returns: number;
26894
+ };
26158
26895
  schedule_floriday_clock_presales_sync: {
26159
26896
  Args: {
26160
26897
  p_apikey: string;
@@ -26455,6 +27192,10 @@ export type Database = {
26455
27192
  };
26456
27193
  Returns: undefined;
26457
27194
  };
27195
+ sync_floriday_prices_into_price_groups: {
27196
+ Args: never;
27197
+ Returns: number;
27198
+ };
26458
27199
  sync_layer_stock: {
26459
27200
  Args: {
26460
27201
  p_product_id: string;