@flowselections/floriday-klanten-module 1.0.34 → 1.0.35

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 (90) hide show
  1. package/dist-lib/assets/floriday-logo.png.asset.json +11 -0
  2. package/dist-lib/components/klanten/CustomerAssortmentTab.d.ts +5 -0
  3. package/dist-lib/components/klanten/CustomerAssortmentTab.d.ts.map +1 -0
  4. package/dist-lib/components/klanten/CustomerAssortmentTab.js +74 -0
  5. package/dist-lib/components/klanten/FloridayPriceImportDialog.d.ts +5 -0
  6. package/dist-lib/components/klanten/FloridayPriceImportDialog.d.ts.map +1 -0
  7. package/dist-lib/components/klanten/FloridayPriceImportDialog.js +55 -0
  8. package/dist-lib/components/klanten/GroupedKlantDetail.d.ts.map +1 -1
  9. package/dist-lib/components/klanten/GroupedKlantDetail.js +4 -3
  10. package/dist-lib/components/klanten/KlantDetail.d.ts.map +1 -1
  11. package/dist-lib/components/klanten/KlantDetail.js +10 -2
  12. package/dist-lib/components/klanten/KlantenOverzicht.d.ts.map +1 -1
  13. package/dist-lib/components/klanten/KlantenOverzicht.js +24 -3
  14. package/dist-lib/components/klanten/pricegroups/CustomerPriceGroupSelect.d.ts +4 -0
  15. package/dist-lib/components/klanten/pricegroups/CustomerPriceGroupSelect.d.ts.map +1 -0
  16. package/dist-lib/components/klanten/pricegroups/CustomerPriceGroupSelect.js +47 -0
  17. package/dist-lib/components/klanten/pricegroups/PriceGroupFormPage.d.ts.map +1 -1
  18. package/dist-lib/components/klanten/pricegroups/PriceGroupFormPage.js +2 -1
  19. package/dist-lib/components/klanten/pricegroups/PriceGroupItemPrices.d.ts +5 -0
  20. package/dist-lib/components/klanten/pricegroups/PriceGroupItemPrices.d.ts.map +1 -0
  21. package/dist-lib/components/klanten/pricegroups/PriceGroupItemPrices.js +83 -0
  22. package/dist-lib/index.d.ts +8 -0
  23. package/dist-lib/index.d.ts.map +1 -1
  24. package/dist-lib/index.js +8 -0
  25. package/dist-lib/integrations/supabase/auth-middleware.d.ts +595 -0
  26. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  27. package/dist-lib/integrations/supabase/client.d.ts +595 -0
  28. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  29. package/dist-lib/integrations/supabase/client.server.d.ts +595 -0
  30. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  31. package/dist-lib/integrations/supabase/types.d.ts +597 -0
  32. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  33. package/dist-lib/lib/accounting/twinfield/mapping.js +13 -13
  34. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts +1785 -0
  35. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts.map +1 -1
  36. package/dist-lib/lib/accounting.functions.d.ts +1785 -0
  37. package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
  38. package/dist-lib/lib/customer-analytics.functions.d.ts +595 -0
  39. package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/customer-assortment.functions.d.ts +26666 -0
  41. package/dist-lib/lib/customer-assortment.functions.d.ts.map +1 -0
  42. package/dist-lib/lib/customer-assortment.functions.js +280 -0
  43. package/dist-lib/lib/customer-notes.functions.d.ts +1190 -0
  44. package/dist-lib/lib/customer-notes.functions.d.ts.map +1 -1
  45. package/dist-lib/lib/customer-revenue.functions.d.ts +595 -0
  46. package/dist-lib/lib/customer-revenue.functions.d.ts.map +1 -1
  47. package/dist-lib/lib/customers.functions.d.ts +5355 -0
  48. package/dist-lib/lib/customers.functions.d.ts.map +1 -1
  49. package/dist-lib/lib/delivery-locations.functions.d.ts +2975 -0
  50. package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -1
  51. package/dist-lib/lib/errors.d.ts +12 -0
  52. package/dist-lib/lib/errors.d.ts.map +1 -1
  53. package/dist-lib/lib/errors.js +24 -0
  54. package/dist-lib/lib/external-customers.functions.d.ts +2380 -0
  55. package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
  56. package/dist-lib/lib/floriday-assortment.functions.d.ts +595 -0
  57. package/dist-lib/lib/floriday-assortment.functions.d.ts.map +1 -1
  58. package/dist-lib/lib/floriday-catalog-prices.d.ts +33 -0
  59. package/dist-lib/lib/floriday-catalog-prices.d.ts.map +1 -0
  60. package/dist-lib/lib/floriday-catalog-prices.js +98 -0
  61. package/dist-lib/lib/floriday-discounts.functions.d.ts +1190 -0
  62. package/dist-lib/lib/floriday-discounts.functions.d.ts.map +1 -1
  63. package/dist-lib/lib/floriday-price-import.functions.d.ts +53265 -0
  64. package/dist-lib/lib/floriday-price-import.functions.d.ts.map +1 -0
  65. package/dist-lib/lib/floriday-price-import.functions.js +219 -0
  66. package/dist-lib/lib/floriday-trade-items.functions.d.ts +595 -0
  67. package/dist-lib/lib/floriday-trade-items.functions.d.ts.map +1 -1
  68. package/dist-lib/lib/floriday.server.d.ts +55 -0
  69. package/dist-lib/lib/floriday.server.d.ts.map +1 -0
  70. package/dist-lib/lib/floriday.server.js +765 -0
  71. package/dist-lib/lib/local-discounts.functions.d.ts +4165 -0
  72. package/dist-lib/lib/local-discounts.functions.d.ts.map +1 -1
  73. package/dist-lib/lib/logistics-events.functions.d.ts +595 -0
  74. package/dist-lib/lib/logistics-events.functions.d.ts.map +1 -1
  75. package/dist-lib/lib/logistics-strategy.functions.d.ts +2380 -0
  76. package/dist-lib/lib/logistics-strategy.functions.d.ts.map +1 -1
  77. package/dist-lib/lib/overdue-invoices.functions.d.ts +595 -0
  78. package/dist-lib/lib/overdue-invoices.functions.d.ts.map +1 -1
  79. package/dist-lib/lib/price-groups-local.functions.d.ts +137905 -27
  80. package/dist-lib/lib/price-groups-local.functions.d.ts.map +1 -1
  81. package/dist-lib/lib/price-groups-local.functions.js +145 -0
  82. package/dist-lib/lib/price-groups.functions.d.ts +601 -1
  83. package/dist-lib/lib/price-groups.functions.d.ts.map +1 -1
  84. package/dist-lib/lib/twinfield-adopt.functions.d.ts +1190 -0
  85. package/dist-lib/lib/twinfield-adopt.functions.d.ts.map +1 -1
  86. package/dist-lib/lib/twinfield-ledger.functions.d.ts +595 -0
  87. package/dist-lib/lib/twinfield-ledger.functions.d.ts.map +1 -1
  88. package/dist-lib/lib/twinfield-ledger.server.js +21 -21
  89. package/package.json +1 -1
  90. package/public/flowselections-assets/Klanten/twinfield-logo.svg +217 -217
@@ -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;
@@ -11295,6 +11543,24 @@ export type Database = {
11295
11543
  };
11296
11544
  Relationships: [];
11297
11545
  };
11546
+ logistics_time_settings: {
11547
+ Row: {
11548
+ id: boolean;
11549
+ timezone: string;
11550
+ updated_at: string;
11551
+ };
11552
+ Insert: {
11553
+ id?: boolean;
11554
+ timezone: string;
11555
+ updated_at?: string;
11556
+ };
11557
+ Update: {
11558
+ id?: boolean;
11559
+ timezone?: string;
11560
+ updated_at?: string;
11561
+ };
11562
+ Relationships: [];
11563
+ };
11298
11564
  logistics_variables: {
11299
11565
  Row: {
11300
11566
  created_at: string;
@@ -13759,6 +14025,7 @@ export type Database = {
13759
14025
  customer_name: string;
13760
14026
  deleted_at: string | null;
13761
14027
  delivery_date: string | null;
14028
+ floriday_order_group_key: string | null;
13762
14029
  floriday_sales_order_id: string | null;
13763
14030
  id: string;
13764
14031
  invoice_due_at: string | null;
@@ -13786,6 +14053,7 @@ export type Database = {
13786
14053
  customer_name?: string;
13787
14054
  deleted_at?: string | null;
13788
14055
  delivery_date?: string | null;
14056
+ floriday_order_group_key?: string | null;
13789
14057
  floriday_sales_order_id?: string | null;
13790
14058
  id?: string;
13791
14059
  invoice_due_at?: string | null;
@@ -13813,6 +14081,7 @@ export type Database = {
13813
14081
  customer_name?: string;
13814
14082
  deleted_at?: string | null;
13815
14083
  delivery_date?: string | null;
14084
+ floriday_order_group_key?: string | null;
13816
14085
  floriday_sales_order_id?: string | null;
13817
14086
  id?: string;
13818
14087
  invoice_due_at?: string | null;
@@ -14009,6 +14278,27 @@ export type Database = {
14009
14278
  };
14010
14279
  Relationships: [];
14011
14280
  };
14281
+ pick_buffer_event_cursor: {
14282
+ Row: {
14283
+ created_at: string;
14284
+ id: boolean;
14285
+ last_event_at: string;
14286
+ updated_at: string;
14287
+ };
14288
+ Insert: {
14289
+ created_at?: string;
14290
+ id?: boolean;
14291
+ last_event_at?: string;
14292
+ updated_at?: string;
14293
+ };
14294
+ Update: {
14295
+ created_at?: string;
14296
+ id?: boolean;
14297
+ last_event_at?: string;
14298
+ updated_at?: string;
14299
+ };
14300
+ Relationships: [];
14301
+ };
14012
14302
  pick_countries: {
14013
14303
  Row: {
14014
14304
  active: boolean;
@@ -19822,6 +20112,36 @@ export type Database = {
19822
20112
  }
19823
20113
  ];
19824
20114
  };
20115
+ voorraad_buffer_state: {
20116
+ Row: {
20117
+ buffer_id: string;
20118
+ buffer_key: string | null;
20119
+ closed_at: string | null;
20120
+ created_at: string;
20121
+ detached_orders: Json;
20122
+ reason: string | null;
20123
+ updated_at: string;
20124
+ };
20125
+ Insert: {
20126
+ buffer_id: string;
20127
+ buffer_key?: string | null;
20128
+ closed_at?: string | null;
20129
+ created_at?: string;
20130
+ detached_orders?: Json;
20131
+ reason?: string | null;
20132
+ updated_at?: string;
20133
+ };
20134
+ Update: {
20135
+ buffer_id?: string;
20136
+ buffer_key?: string | null;
20137
+ closed_at?: string | null;
20138
+ created_at?: string;
20139
+ detached_orders?: Json;
20140
+ reason?: string | null;
20141
+ updated_at?: string;
20142
+ };
20143
+ Relationships: [];
20144
+ };
19825
20145
  voorraad_custom_fields: {
19826
20146
  Row: {
19827
20147
  created_at: string;
@@ -19864,6 +20184,36 @@ export type Database = {
19864
20184
  };
19865
20185
  Relationships: [];
19866
20186
  };
20187
+ voorraad_logistics_event_log: {
20188
+ Row: {
20189
+ created_at: string;
20190
+ event_id: string;
20191
+ event_type: string;
20192
+ order_ref: string | null;
20193
+ processed_at: string;
20194
+ result: Json;
20195
+ updated_at: string;
20196
+ };
20197
+ Insert: {
20198
+ created_at?: string;
20199
+ event_id: string;
20200
+ event_type: string;
20201
+ order_ref?: string | null;
20202
+ processed_at?: string;
20203
+ result?: Json;
20204
+ updated_at?: string;
20205
+ };
20206
+ Update: {
20207
+ created_at?: string;
20208
+ event_id?: string;
20209
+ event_type?: string;
20210
+ order_ref?: string | null;
20211
+ processed_at?: string;
20212
+ result?: Json;
20213
+ updated_at?: string;
20214
+ };
20215
+ Relationships: [];
20216
+ };
19867
20217
  voorraad_media_upload_failures: {
19868
20218
  Row: {
19869
20219
  action: string;
@@ -22752,6 +23102,17 @@ export type Database = {
22752
23102
  };
22753
23103
  Returns: boolean;
22754
23104
  };
23105
+ floriday_adopt_connection: {
23106
+ Args: {
23107
+ p_new: string;
23108
+ p_old: string;
23109
+ };
23110
+ Returns: Json;
23111
+ };
23112
+ floriday_autoheal_connections: {
23113
+ Args: never;
23114
+ Returns: Json;
23115
+ };
22755
23116
  floriday_capture_stock_snapshot: {
22756
23117
  Args: never;
22757
23118
  Returns: number;
@@ -22809,6 +23170,12 @@ export type Database = {
22809
23170
  };
22810
23171
  Returns: undefined;
22811
23172
  };
23173
+ floriday_relink_products: {
23174
+ Args: {
23175
+ p_connection_id?: string;
23176
+ };
23177
+ Returns: Json;
23178
+ };
22812
23179
  floriday_requeue_dead_letters: {
22813
23180
  Args: {
22814
23181
  p_connection_id?: string;
@@ -23430,6 +23797,10 @@ export type Database = {
23430
23797
  };
23431
23798
  Returns: string;
23432
23799
  };
23800
+ logistics_active_layout_method: {
23801
+ Args: never;
23802
+ Returns: string;
23803
+ };
23433
23804
  logistics_active_pick_workdays: {
23434
23805
  Args: never;
23435
23806
  Returns: string[];
@@ -23537,6 +23908,15 @@ export type Database = {
23537
23908
  };
23538
23909
  Returns: boolean;
23539
23910
  };
23911
+ logistics_buffer_notify: {
23912
+ Args: {
23913
+ p_event_type: string;
23914
+ p_idempotency_key: string;
23915
+ p_order_ref: string;
23916
+ p_payload: Json;
23917
+ };
23918
+ Returns: string;
23919
+ };
23540
23920
  logistics_buffer_open_key: {
23541
23921
  Args: {
23542
23922
  p_base_key: string;
@@ -23595,6 +23975,12 @@ export type Database = {
23595
23975
  };
23596
23976
  Returns: string;
23597
23977
  };
23978
+ logistics_cart_checkin_at: {
23979
+ Args: {
23980
+ p_cart_id: string;
23981
+ };
23982
+ Returns: string;
23983
+ };
23598
23984
  logistics_cart_handled: {
23599
23985
  Args: {
23600
23986
  p_cart_index: number;
@@ -23628,10 +24014,22 @@ export type Database = {
23628
24014
  task_status: string;
23629
24015
  }[];
23630
24016
  };
24017
+ logistics_cart_is_full: {
24018
+ Args: {
24019
+ p_cart_id: string;
24020
+ };
24021
+ Returns: boolean;
24022
+ };
23631
24023
  logistics_cart_layout_method: {
23632
24024
  Args: never;
23633
24025
  Returns: Json;
23634
24026
  };
24027
+ logistics_cart_order_refs: {
24028
+ Args: {
24029
+ p_cart_id: string;
24030
+ };
24031
+ Returns: string[];
24032
+ };
23635
24033
  logistics_cart_plan_overview: {
23636
24034
  Args: {
23637
24035
  p_days?: number;
@@ -23651,6 +24049,18 @@ export type Database = {
23651
24049
  };
23652
24050
  Returns: Json;
23653
24051
  };
24052
+ logistics_cart_release_reason: {
24053
+ Args: {
24054
+ p_cart_id: string;
24055
+ };
24056
+ Returns: string;
24057
+ };
24058
+ logistics_cart_released: {
24059
+ Args: {
24060
+ p_cart_id: string;
24061
+ };
24062
+ Returns: boolean;
24063
+ };
23654
24064
  logistics_cart_seq: {
23655
24065
  Args: {
23656
24066
  p_order_uuid?: string;
@@ -23804,6 +24214,10 @@ export type Database = {
23804
24214
  isSetofReturn: false;
23805
24215
  };
23806
24216
  };
24217
+ logistics_cleanup_orphan_print_jobs: {
24218
+ Args: never;
24219
+ Returns: Json;
24220
+ };
23807
24221
  logistics_complete_task: {
23808
24222
  Args: {
23809
24223
  p_result?: Json;
@@ -23866,6 +24280,12 @@ export type Database = {
23866
24280
  station_carts: number;
23867
24281
  }[];
23868
24282
  };
24283
+ logistics_control_complete_cart: {
24284
+ Args: {
24285
+ p_cart_id: string;
24286
+ };
24287
+ Returns: number;
24288
+ };
23869
24289
  logistics_control_scan_approve: {
23870
24290
  Args: {
23871
24291
  p_allow_reprint?: boolean;
@@ -23945,6 +24365,15 @@ export type Database = {
23945
24365
  Args: never;
23946
24366
  Returns: Json;
23947
24367
  };
24368
+ logistics_day_windows: {
24369
+ Args: {
24370
+ p_day: string;
24371
+ };
24372
+ Returns: {
24373
+ win_end: string;
24374
+ win_start: string;
24375
+ }[];
24376
+ };
23948
24377
  logistics_delay_customer_email: {
23949
24378
  Args: {
23950
24379
  p_customer: string;
@@ -24012,6 +24441,17 @@ export type Database = {
24012
24441
  };
24013
24442
  Returns: Json;
24014
24443
  };
24444
+ logistics_enqueue_shipping_note_with_slip: {
24445
+ Args: {
24446
+ _cart_id: string;
24447
+ _is_herprint: boolean;
24448
+ _printer_id: string;
24449
+ _queue_item_id: string;
24450
+ _session_id: string;
24451
+ _slip_job_id: string;
24452
+ };
24453
+ Returns: string;
24454
+ };
24015
24455
  logistics_enqueue_sticker_with_slip: {
24016
24456
  Args: {
24017
24457
  _cart_id: string;
@@ -24029,6 +24469,14 @@ export type Database = {
24029
24469
  };
24030
24470
  Returns: string;
24031
24471
  };
24472
+ logistics_ensure_pick_data: {
24473
+ Args: {
24474
+ p_event_id?: string;
24475
+ p_missing?: Json;
24476
+ p_ref: string;
24477
+ };
24478
+ Returns: Json;
24479
+ };
24032
24480
  logistics_fail_task: {
24033
24481
  Args: {
24034
24482
  p_error: string;
@@ -24150,6 +24598,38 @@ export type Database = {
24150
24598
  };
24151
24599
  Returns: string;
24152
24600
  };
24601
+ logistics_floriday_gate_status: {
24602
+ Args: never;
24603
+ Returns: Json;
24604
+ };
24605
+ logistics_floriday_log_refusal: {
24606
+ Args: {
24607
+ _action?: string;
24608
+ _module?: string;
24609
+ _order_ref: string;
24610
+ _reason: string;
24611
+ _shell?: string;
24612
+ };
24613
+ Returns: undefined;
24614
+ };
24615
+ logistics_floriday_log_send: {
24616
+ Args: {
24617
+ _action: string;
24618
+ _detail?: string;
24619
+ _http_status?: number;
24620
+ _module?: string;
24621
+ _ok: boolean;
24622
+ _order_ref: string;
24623
+ _shell?: string;
24624
+ };
24625
+ Returns: undefined;
24626
+ };
24627
+ logistics_floriday_order_approved: {
24628
+ Args: {
24629
+ _order_ref: string;
24630
+ };
24631
+ Returns: boolean;
24632
+ };
24153
24633
  logistics_floriday_prune_pushes: {
24154
24634
  Args: {
24155
24635
  _days?: number;
@@ -24164,6 +24644,20 @@ export type Database = {
24164
24644
  };
24165
24645
  Returns: string;
24166
24646
  };
24647
+ logistics_floriday_status_updates_enabled: {
24648
+ Args: never;
24649
+ Returns: boolean;
24650
+ };
24651
+ logistics_floriday_stock_updates_enabled: {
24652
+ Args: never;
24653
+ Returns: boolean;
24654
+ };
24655
+ logistics_floriday_write_allowed: {
24656
+ Args: {
24657
+ _action: string;
24658
+ };
24659
+ Returns: boolean;
24660
+ };
24167
24661
  logistics_fulfill_barcode_requests: {
24168
24662
  Args: {
24169
24663
  p_limit?: number;
@@ -24184,6 +24678,16 @@ export type Database = {
24184
24678
  };
24185
24679
  Returns: boolean;
24186
24680
  };
24681
+ logistics_layout_method_status: {
24682
+ Args: never;
24683
+ Returns: Json;
24684
+ };
24685
+ logistics_link_order_items: {
24686
+ Args: {
24687
+ p_order?: string;
24688
+ };
24689
+ Returns: Json;
24690
+ };
24187
24691
  logistics_live_carriers: {
24188
24692
  Args: {
24189
24693
  p_order_ref: string;
@@ -24196,6 +24700,12 @@ export type Database = {
24196
24700
  };
24197
24701
  Returns: number;
24198
24702
  };
24703
+ logistics_merge_partial_carts: {
24704
+ Args: {
24705
+ p_limit?: number;
24706
+ };
24707
+ Returns: Json;
24708
+ };
24199
24709
  logistics_next_workday_date: {
24200
24710
  Args: {
24201
24711
  p_date: string;
@@ -24210,12 +24720,22 @@ export type Database = {
24210
24720
  };
24211
24721
  Returns: string;
24212
24722
  };
24723
+ logistics_normalize_product_label: {
24724
+ Args: {
24725
+ p_label: string;
24726
+ };
24727
+ Returns: string;
24728
+ };
24213
24729
  logistics_not_past: {
24214
24730
  Args: {
24215
24731
  p_ts: string;
24216
24732
  };
24217
24733
  Returns: string;
24218
24734
  };
24735
+ logistics_opening_timezone: {
24736
+ Args: never;
24737
+ Returns: string;
24738
+ };
24219
24739
  logistics_order_cart_count: {
24220
24740
  Args: {
24221
24741
  p_order_ref: string;
@@ -24300,6 +24820,10 @@ export type Database = {
24300
24820
  Args: never;
24301
24821
  Returns: Json;
24302
24822
  };
24823
+ logistics_pick_partial_mode: {
24824
+ Args: never;
24825
+ Returns: string;
24826
+ };
24303
24827
  logistics_pick_start_estimate: {
24304
24828
  Args: {
24305
24829
  p_order: Json;
@@ -24411,6 +24935,12 @@ export type Database = {
24411
24935
  };
24412
24936
  Returns: number;
24413
24937
  };
24938
+ logistics_prepare_pick_documents: {
24939
+ Args: {
24940
+ p_limit?: number;
24941
+ };
24942
+ Returns: Json;
24943
+ };
24414
24944
  logistics_prune_buffer_member_queue: {
24415
24945
  Args: never;
24416
24946
  Returns: number;
@@ -24451,12 +24981,30 @@ export type Database = {
24451
24981
  Args: never;
24452
24982
  Returns: Json;
24453
24983
  };
24984
+ logistics_refresh_pick_queue_status: {
24985
+ Args: {
24986
+ p_ref: string;
24987
+ };
24988
+ Returns: number;
24989
+ };
24454
24990
  logistics_refresh_pickup_moments: {
24455
24991
  Args: {
24456
24992
  p_weeks?: number;
24457
24993
  };
24458
24994
  Returns: Json;
24459
24995
  };
24996
+ logistics_replan_all: {
24997
+ Args: {
24998
+ p_reason?: string;
24999
+ };
25000
+ Returns: Json;
25001
+ };
25002
+ logistics_replan_all_force: {
25003
+ Args: {
25004
+ p_reason?: string;
25005
+ };
25006
+ Returns: Json;
25007
+ };
24460
25008
  logistics_report_delay: {
24461
25009
  Args: {
24462
25010
  p_expected_date?: string;
@@ -24510,6 +25058,12 @@ export type Database = {
24510
25058
  };
24511
25059
  Returns: Json;
24512
25060
  };
25061
+ logistics_resolve_product_id: {
25062
+ Args: {
25063
+ p_label: string;
25064
+ };
25065
+ Returns: string;
25066
+ };
24513
25067
  logistics_resolve_settings: {
24514
25068
  Args: {
24515
25069
  p_config_id: string;
@@ -24595,6 +25149,10 @@ export type Database = {
24595
25149
  };
24596
25150
  Returns: string;
24597
25151
  };
25152
+ logistics_shipping_note_follows_slip: {
25153
+ Args: never;
25154
+ Returns: boolean;
25155
+ };
24598
25156
  logistics_shipping_note_from_barcode: {
24599
25157
  Args: {
24600
25158
  p_allow_reprint?: boolean;
@@ -24607,6 +25165,14 @@ export type Database = {
24607
25165
  Args: never;
24608
25166
  Returns: boolean;
24609
25167
  };
25168
+ logistics_subtract_working_minutes: {
25169
+ Args: {
25170
+ p_deadline: string;
25171
+ p_max_workdays?: number;
25172
+ p_minutes: number;
25173
+ };
25174
+ Returns: Json;
25175
+ };
24610
25176
  logistics_supersede_stale_tasks: {
24611
25177
  Args: {
24612
25178
  p_keep: string[];
@@ -24643,6 +25209,12 @@ export type Database = {
24643
25209
  Args: never;
24644
25210
  Returns: string;
24645
25211
  };
25212
+ logistics_timezone_options: {
25213
+ Args: never;
25214
+ Returns: {
25215
+ name: string;
25216
+ }[];
25217
+ };
24646
25218
  logistics_upsert_task: {
24647
25219
  Args: {
24648
25220
  p_buffer_ref: string;
@@ -24662,6 +25234,16 @@ export type Database = {
24662
25234
  };
24663
25235
  Returns: string;
24664
25236
  };
25237
+ logistics_valid_timezone: {
25238
+ Args: {
25239
+ _tz: string;
25240
+ };
25241
+ Returns: boolean;
25242
+ };
25243
+ logistics_working_hours_status: {
25244
+ Args: never;
25245
+ Returns: Json;
25246
+ };
24665
25247
  logistics_write_buffer_layer_positions: {
24666
25248
  Args: {
24667
25249
  p_buffer_id: string;
@@ -24827,6 +25409,10 @@ export type Database = {
24827
25409
  online: boolean;
24828
25410
  }[];
24829
25411
  };
25412
+ pick_apply_buffer_events: {
25413
+ Args: never;
25414
+ Returns: Json;
25415
+ };
24830
25416
  pick_available_pick_days: {
24831
25417
  Args: {
24832
25418
  _max_days?: number;
@@ -26103,6 +26689,13 @@ export type Database = {
26103
26689
  };
26104
26690
  Returns: number;
26105
26691
  };
26692
+ schedule_floriday_catalog_prices_sync: {
26693
+ Args: {
26694
+ p_apikey: string;
26695
+ p_url: string;
26696
+ };
26697
+ Returns: number;
26698
+ };
26106
26699
  schedule_floriday_clock_presales_sync: {
26107
26700
  Args: {
26108
26701
  p_apikey: string;
@@ -26403,6 +26996,10 @@ export type Database = {
26403
26996
  };
26404
26997
  Returns: undefined;
26405
26998
  };
26999
+ sync_floriday_prices_into_price_groups: {
27000
+ Args: never;
27001
+ Returns: number;
27002
+ };
26406
27003
  sync_layer_stock: {
26407
27004
  Args: {
26408
27005
  p_product_id: string;