@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
@@ -5837,6 +5837,84 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
5837
5837
  referencedColumns: ["id"];
5838
5838
  }];
5839
5839
  };
5840
+ floriday_catalog_prices_cache: {
5841
+ Row: {
5842
+ connection_id: string;
5843
+ created_at: string;
5844
+ currency: string;
5845
+ id: string;
5846
+ is_deleted: boolean;
5847
+ price: number | null;
5848
+ price_group_id: string | null;
5849
+ price_group_name: string | null;
5850
+ price_type: string;
5851
+ raw: import("../integrations/supabase/types").Json | null;
5852
+ sales_unit: string | null;
5853
+ sequence_number: number;
5854
+ supplier_article_code: string | null;
5855
+ supply_line_id: string;
5856
+ synced_at: string;
5857
+ trade_item_id: string | null;
5858
+ updated_at: string;
5859
+ valid_from: string | null;
5860
+ valid_to: string | null;
5861
+ week: number | null;
5862
+ year: number | null;
5863
+ };
5864
+ Insert: {
5865
+ connection_id: string;
5866
+ created_at?: string;
5867
+ currency?: string;
5868
+ id?: string;
5869
+ is_deleted?: boolean;
5870
+ price?: number | null;
5871
+ price_group_id?: string | null;
5872
+ price_group_name?: string | null;
5873
+ price_type?: string;
5874
+ raw?: import("../integrations/supabase/types").Json | null;
5875
+ sales_unit?: string | null;
5876
+ sequence_number?: number;
5877
+ supplier_article_code?: string | null;
5878
+ supply_line_id: string;
5879
+ synced_at?: string;
5880
+ trade_item_id?: string | null;
5881
+ updated_at?: string;
5882
+ valid_from?: string | null;
5883
+ valid_to?: string | null;
5884
+ week?: number | null;
5885
+ year?: number | null;
5886
+ };
5887
+ Update: {
5888
+ connection_id?: string;
5889
+ created_at?: string;
5890
+ currency?: string;
5891
+ id?: string;
5892
+ is_deleted?: boolean;
5893
+ price?: number | null;
5894
+ price_group_id?: string | null;
5895
+ price_group_name?: string | null;
5896
+ price_type?: string;
5897
+ raw?: import("../integrations/supabase/types").Json | null;
5898
+ sales_unit?: string | null;
5899
+ sequence_number?: number;
5900
+ supplier_article_code?: string | null;
5901
+ supply_line_id?: string;
5902
+ synced_at?: string;
5903
+ trade_item_id?: string | null;
5904
+ updated_at?: string;
5905
+ valid_from?: string | null;
5906
+ valid_to?: string | null;
5907
+ week?: number | null;
5908
+ year?: number | null;
5909
+ };
5910
+ Relationships: [{
5911
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
5912
+ columns: ["connection_id"];
5913
+ isOneToOne: false;
5914
+ referencedRelation: "floriday_connections";
5915
+ referencedColumns: ["id"];
5916
+ }];
5917
+ };
5840
5918
  floriday_clock_presales_cache: {
5841
5919
  Row: {
5842
5920
  buyer_organization_id: string | null;
@@ -10103,6 +10181,36 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
10103
10181
  };
10104
10182
  Relationships: [];
10105
10183
  };
10184
+ logistics_floriday_push_refusals: {
10185
+ Row: {
10186
+ action: string | null;
10187
+ created_at: string;
10188
+ id: string;
10189
+ order_ref: string;
10190
+ reason: string;
10191
+ source_module: string | null;
10192
+ source_shell: string | null;
10193
+ };
10194
+ Insert: {
10195
+ action?: string | null;
10196
+ created_at?: string;
10197
+ id?: string;
10198
+ order_ref: string;
10199
+ reason: string;
10200
+ source_module?: string | null;
10201
+ source_shell?: string | null;
10202
+ };
10203
+ Update: {
10204
+ action?: string | null;
10205
+ created_at?: string;
10206
+ id?: string;
10207
+ order_ref?: string;
10208
+ reason?: string;
10209
+ source_module?: string | null;
10210
+ source_shell?: string | null;
10211
+ };
10212
+ Relationships: [];
10213
+ };
10106
10214
  logistics_floriday_pushes: {
10107
10215
  Row: {
10108
10216
  attempts: number;
@@ -10178,6 +10286,42 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
10178
10286
  };
10179
10287
  Relationships: [];
10180
10288
  };
10289
+ logistics_floriday_status_sends: {
10290
+ Row: {
10291
+ action: string;
10292
+ created_at: string;
10293
+ detail: string | null;
10294
+ http_status: number | null;
10295
+ id: string;
10296
+ ok: boolean;
10297
+ order_ref: string;
10298
+ source_module: string | null;
10299
+ source_shell: string | null;
10300
+ };
10301
+ Insert: {
10302
+ action: string;
10303
+ created_at?: string;
10304
+ detail?: string | null;
10305
+ http_status?: number | null;
10306
+ id?: string;
10307
+ ok?: boolean;
10308
+ order_ref: string;
10309
+ source_module?: string | null;
10310
+ source_shell?: string | null;
10311
+ };
10312
+ Update: {
10313
+ action?: string;
10314
+ created_at?: string;
10315
+ detail?: string | null;
10316
+ http_status?: number | null;
10317
+ id?: string;
10318
+ ok?: boolean;
10319
+ order_ref?: string;
10320
+ source_module?: string | null;
10321
+ source_shell?: string | null;
10322
+ };
10323
+ Relationships: [];
10324
+ };
10181
10325
  logistics_formulas: {
10182
10326
  Row: {
10183
10327
  created_at: string;
@@ -10250,6 +10394,108 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
10250
10394
  };
10251
10395
  Relationships: [];
10252
10396
  };
10397
+ logistics_opening_exceptions: {
10398
+ Row: {
10399
+ closes: string | null;
10400
+ created_at: string;
10401
+ day: string;
10402
+ id: string;
10403
+ is_closed: boolean;
10404
+ note: string | null;
10405
+ opens: string | null;
10406
+ };
10407
+ Insert: {
10408
+ closes?: string | null;
10409
+ created_at?: string;
10410
+ day: string;
10411
+ id?: string;
10412
+ is_closed?: boolean;
10413
+ note?: string | null;
10414
+ opens?: string | null;
10415
+ };
10416
+ Update: {
10417
+ closes?: string | null;
10418
+ created_at?: string;
10419
+ day?: string;
10420
+ id?: string;
10421
+ is_closed?: boolean;
10422
+ note?: string | null;
10423
+ opens?: string | null;
10424
+ };
10425
+ Relationships: [];
10426
+ };
10427
+ logistics_opening_hours: {
10428
+ Row: {
10429
+ closes: string;
10430
+ created_at: string;
10431
+ id: string;
10432
+ is_active: boolean;
10433
+ note: string | null;
10434
+ opens: string;
10435
+ weekday: number;
10436
+ };
10437
+ Insert: {
10438
+ closes: string;
10439
+ created_at?: string;
10440
+ id?: string;
10441
+ is_active?: boolean;
10442
+ note?: string | null;
10443
+ opens: string;
10444
+ weekday: number;
10445
+ };
10446
+ Update: {
10447
+ closes?: string;
10448
+ created_at?: string;
10449
+ id?: string;
10450
+ is_active?: boolean;
10451
+ note?: string | null;
10452
+ opens?: string;
10453
+ weekday?: number;
10454
+ };
10455
+ Relationships: [];
10456
+ };
10457
+ logistics_pick_data_requests: {
10458
+ Row: {
10459
+ actions: import("../integrations/supabase/types").Json;
10460
+ created_at: string;
10461
+ event_id: string | null;
10462
+ finished_at: string | null;
10463
+ id: string;
10464
+ missing: import("../integrations/supabase/types").Json;
10465
+ order_ref: string;
10466
+ reason: string | null;
10467
+ result: import("../integrations/supabase/types").Json | null;
10468
+ status: string;
10469
+ unit_ref: string | null;
10470
+ };
10471
+ Insert: {
10472
+ actions?: import("../integrations/supabase/types").Json;
10473
+ created_at?: string;
10474
+ event_id?: string | null;
10475
+ finished_at?: string | null;
10476
+ id?: string;
10477
+ missing?: import("../integrations/supabase/types").Json;
10478
+ order_ref: string;
10479
+ reason?: string | null;
10480
+ result?: import("../integrations/supabase/types").Json | null;
10481
+ status?: string;
10482
+ unit_ref?: string | null;
10483
+ };
10484
+ Update: {
10485
+ actions?: import("../integrations/supabase/types").Json;
10486
+ created_at?: string;
10487
+ event_id?: string | null;
10488
+ finished_at?: string | null;
10489
+ id?: string;
10490
+ missing?: import("../integrations/supabase/types").Json;
10491
+ order_ref?: string;
10492
+ reason?: string | null;
10493
+ result?: import("../integrations/supabase/types").Json | null;
10494
+ status?: string;
10495
+ unit_ref?: string | null;
10496
+ };
10497
+ Relationships: [];
10498
+ };
10253
10499
  logistics_pickup_moments: {
10254
10500
  Row: {
10255
10501
  carrier_ref: string | null;
@@ -11042,6 +11288,24 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
11042
11288
  };
11043
11289
  Relationships: [];
11044
11290
  };
11291
+ logistics_time_settings: {
11292
+ Row: {
11293
+ id: boolean;
11294
+ timezone: string;
11295
+ updated_at: string;
11296
+ };
11297
+ Insert: {
11298
+ id?: boolean;
11299
+ timezone: string;
11300
+ updated_at?: string;
11301
+ };
11302
+ Update: {
11303
+ id?: boolean;
11304
+ timezone?: string;
11305
+ updated_at?: string;
11306
+ };
11307
+ Relationships: [];
11308
+ };
11045
11309
  logistics_variables: {
11046
11310
  Row: {
11047
11311
  created_at: string;
@@ -13432,6 +13696,7 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
13432
13696
  customer_name: string;
13433
13697
  deleted_at: string | null;
13434
13698
  delivery_date: string | null;
13699
+ floriday_order_group_key: string | null;
13435
13700
  floriday_sales_order_id: string | null;
13436
13701
  id: string;
13437
13702
  invoice_due_at: string | null;
@@ -13459,6 +13724,7 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
13459
13724
  customer_name?: string;
13460
13725
  deleted_at?: string | null;
13461
13726
  delivery_date?: string | null;
13727
+ floriday_order_group_key?: string | null;
13462
13728
  floriday_sales_order_id?: string | null;
13463
13729
  id?: string;
13464
13730
  invoice_due_at?: string | null;
@@ -13486,6 +13752,7 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
13486
13752
  customer_name?: string;
13487
13753
  deleted_at?: string | null;
13488
13754
  delivery_date?: string | null;
13755
+ floriday_order_group_key?: string | null;
13489
13756
  floriday_sales_order_id?: string | null;
13490
13757
  id?: string;
13491
13758
  invoice_due_at?: string | null;
@@ -13679,6 +13946,27 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
13679
13946
  };
13680
13947
  Relationships: [];
13681
13948
  };
13949
+ pick_buffer_event_cursor: {
13950
+ Row: {
13951
+ created_at: string;
13952
+ id: boolean;
13953
+ last_event_at: string;
13954
+ updated_at: string;
13955
+ };
13956
+ Insert: {
13957
+ created_at?: string;
13958
+ id?: boolean;
13959
+ last_event_at?: string;
13960
+ updated_at?: string;
13961
+ };
13962
+ Update: {
13963
+ created_at?: string;
13964
+ id?: boolean;
13965
+ last_event_at?: string;
13966
+ updated_at?: string;
13967
+ };
13968
+ Relationships: [];
13969
+ };
13682
13970
  pick_countries: {
13683
13971
  Row: {
13684
13972
  active: boolean;
@@ -19328,6 +19616,36 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
19328
19616
  referencedColumns: ["id"];
19329
19617
  }];
19330
19618
  };
19619
+ voorraad_buffer_state: {
19620
+ Row: {
19621
+ buffer_id: string;
19622
+ buffer_key: string | null;
19623
+ closed_at: string | null;
19624
+ created_at: string;
19625
+ detached_orders: import("../integrations/supabase/types").Json;
19626
+ reason: string | null;
19627
+ updated_at: string;
19628
+ };
19629
+ Insert: {
19630
+ buffer_id: string;
19631
+ buffer_key?: string | null;
19632
+ closed_at?: string | null;
19633
+ created_at?: string;
19634
+ detached_orders?: import("../integrations/supabase/types").Json;
19635
+ reason?: string | null;
19636
+ updated_at?: string;
19637
+ };
19638
+ Update: {
19639
+ buffer_id?: string;
19640
+ buffer_key?: string | null;
19641
+ closed_at?: string | null;
19642
+ created_at?: string;
19643
+ detached_orders?: import("../integrations/supabase/types").Json;
19644
+ reason?: string | null;
19645
+ updated_at?: string;
19646
+ };
19647
+ Relationships: [];
19648
+ };
19331
19649
  voorraad_custom_fields: {
19332
19650
  Row: {
19333
19651
  created_at: string;
@@ -19370,6 +19688,36 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
19370
19688
  };
19371
19689
  Relationships: [];
19372
19690
  };
19691
+ voorraad_logistics_event_log: {
19692
+ Row: {
19693
+ created_at: string;
19694
+ event_id: string;
19695
+ event_type: string;
19696
+ order_ref: string | null;
19697
+ processed_at: string;
19698
+ result: import("../integrations/supabase/types").Json;
19699
+ updated_at: string;
19700
+ };
19701
+ Insert: {
19702
+ created_at?: string;
19703
+ event_id: string;
19704
+ event_type: string;
19705
+ order_ref?: string | null;
19706
+ processed_at?: string;
19707
+ result?: import("../integrations/supabase/types").Json;
19708
+ updated_at?: string;
19709
+ };
19710
+ Update: {
19711
+ created_at?: string;
19712
+ event_id?: string;
19713
+ event_type?: string;
19714
+ order_ref?: string | null;
19715
+ processed_at?: string;
19716
+ result?: import("../integrations/supabase/types").Json;
19717
+ updated_at?: string;
19718
+ };
19719
+ Relationships: [];
19720
+ };
19373
19721
  voorraad_media_upload_failures: {
19374
19722
  Row: {
19375
19723
  action: string;
@@ -22195,6 +22543,17 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
22195
22543
  };
22196
22544
  Returns: boolean;
22197
22545
  };
22546
+ floriday_adopt_connection: {
22547
+ Args: {
22548
+ p_new: string;
22549
+ p_old: string;
22550
+ };
22551
+ Returns: import("../integrations/supabase/types").Json;
22552
+ };
22553
+ floriday_autoheal_connections: {
22554
+ Args: never;
22555
+ Returns: import("../integrations/supabase/types").Json;
22556
+ };
22198
22557
  floriday_capture_stock_snapshot: {
22199
22558
  Args: never;
22200
22559
  Returns: number;
@@ -22252,6 +22611,12 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
22252
22611
  };
22253
22612
  Returns: undefined;
22254
22613
  };
22614
+ floriday_relink_products: {
22615
+ Args: {
22616
+ p_connection_id?: string;
22617
+ };
22618
+ Returns: import("../integrations/supabase/types").Json;
22619
+ };
22255
22620
  floriday_requeue_dead_letters: {
22256
22621
  Args: {
22257
22622
  p_connection_id?: string;
@@ -22873,6 +23238,10 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
22873
23238
  };
22874
23239
  Returns: string;
22875
23240
  };
23241
+ logistics_active_layout_method: {
23242
+ Args: never;
23243
+ Returns: string;
23244
+ };
22876
23245
  logistics_active_pick_workdays: {
22877
23246
  Args: never;
22878
23247
  Returns: string[];
@@ -22980,6 +23349,15 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
22980
23349
  };
22981
23350
  Returns: boolean;
22982
23351
  };
23352
+ logistics_buffer_notify: {
23353
+ Args: {
23354
+ p_event_type: string;
23355
+ p_idempotency_key: string;
23356
+ p_order_ref: string;
23357
+ p_payload: import("../integrations/supabase/types").Json;
23358
+ };
23359
+ Returns: string;
23360
+ };
22983
23361
  logistics_buffer_open_key: {
22984
23362
  Args: {
22985
23363
  p_base_key: string;
@@ -23038,6 +23416,12 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
23038
23416
  };
23039
23417
  Returns: string;
23040
23418
  };
23419
+ logistics_cart_checkin_at: {
23420
+ Args: {
23421
+ p_cart_id: string;
23422
+ };
23423
+ Returns: string;
23424
+ };
23041
23425
  logistics_cart_handled: {
23042
23426
  Args: {
23043
23427
  p_cart_index: number;
@@ -23071,10 +23455,22 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
23071
23455
  task_status: string;
23072
23456
  }[];
23073
23457
  };
23458
+ logistics_cart_is_full: {
23459
+ Args: {
23460
+ p_cart_id: string;
23461
+ };
23462
+ Returns: boolean;
23463
+ };
23074
23464
  logistics_cart_layout_method: {
23075
23465
  Args: never;
23076
23466
  Returns: import("../integrations/supabase/types").Json;
23077
23467
  };
23468
+ logistics_cart_order_refs: {
23469
+ Args: {
23470
+ p_cart_id: string;
23471
+ };
23472
+ Returns: string[];
23473
+ };
23078
23474
  logistics_cart_plan_overview: {
23079
23475
  Args: {
23080
23476
  p_days?: number;
@@ -23094,6 +23490,18 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
23094
23490
  };
23095
23491
  Returns: import("../integrations/supabase/types").Json;
23096
23492
  };
23493
+ logistics_cart_release_reason: {
23494
+ Args: {
23495
+ p_cart_id: string;
23496
+ };
23497
+ Returns: string;
23498
+ };
23499
+ logistics_cart_released: {
23500
+ Args: {
23501
+ p_cart_id: string;
23502
+ };
23503
+ Returns: boolean;
23504
+ };
23097
23505
  logistics_cart_seq: {
23098
23506
  Args: {
23099
23507
  p_order_uuid?: string;
@@ -23247,6 +23655,10 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
23247
23655
  isSetofReturn: false;
23248
23656
  };
23249
23657
  };
23658
+ logistics_cleanup_orphan_print_jobs: {
23659
+ Args: never;
23660
+ Returns: import("../integrations/supabase/types").Json;
23661
+ };
23250
23662
  logistics_complete_task: {
23251
23663
  Args: {
23252
23664
  p_result?: import("../integrations/supabase/types").Json;
@@ -23309,6 +23721,12 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
23309
23721
  station_carts: number;
23310
23722
  }[];
23311
23723
  };
23724
+ logistics_control_complete_cart: {
23725
+ Args: {
23726
+ p_cart_id: string;
23727
+ };
23728
+ Returns: number;
23729
+ };
23312
23730
  logistics_control_scan_approve: {
23313
23731
  Args: {
23314
23732
  p_allow_reprint?: boolean;
@@ -23388,6 +23806,15 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
23388
23806
  Args: never;
23389
23807
  Returns: import("../integrations/supabase/types").Json;
23390
23808
  };
23809
+ logistics_day_windows: {
23810
+ Args: {
23811
+ p_day: string;
23812
+ };
23813
+ Returns: {
23814
+ win_end: string;
23815
+ win_start: string;
23816
+ }[];
23817
+ };
23391
23818
  logistics_delay_customer_email: {
23392
23819
  Args: {
23393
23820
  p_customer: string;
@@ -23455,6 +23882,17 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
23455
23882
  };
23456
23883
  Returns: import("../integrations/supabase/types").Json;
23457
23884
  };
23885
+ logistics_enqueue_shipping_note_with_slip: {
23886
+ Args: {
23887
+ _cart_id: string;
23888
+ _is_herprint: boolean;
23889
+ _printer_id: string;
23890
+ _queue_item_id: string;
23891
+ _session_id: string;
23892
+ _slip_job_id: string;
23893
+ };
23894
+ Returns: string;
23895
+ };
23458
23896
  logistics_enqueue_sticker_with_slip: {
23459
23897
  Args: {
23460
23898
  _cart_id: string;
@@ -23472,6 +23910,14 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
23472
23910
  };
23473
23911
  Returns: string;
23474
23912
  };
23913
+ logistics_ensure_pick_data: {
23914
+ Args: {
23915
+ p_event_id?: string;
23916
+ p_missing?: import("../integrations/supabase/types").Json;
23917
+ p_ref: string;
23918
+ };
23919
+ Returns: import("../integrations/supabase/types").Json;
23920
+ };
23475
23921
  logistics_fail_task: {
23476
23922
  Args: {
23477
23923
  p_error: string;
@@ -23593,6 +24039,38 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
23593
24039
  };
23594
24040
  Returns: string;
23595
24041
  };
24042
+ logistics_floriday_gate_status: {
24043
+ Args: never;
24044
+ Returns: import("../integrations/supabase/types").Json;
24045
+ };
24046
+ logistics_floriday_log_refusal: {
24047
+ Args: {
24048
+ _action?: string;
24049
+ _module?: string;
24050
+ _order_ref: string;
24051
+ _reason: string;
24052
+ _shell?: string;
24053
+ };
24054
+ Returns: undefined;
24055
+ };
24056
+ logistics_floriday_log_send: {
24057
+ Args: {
24058
+ _action: string;
24059
+ _detail?: string;
24060
+ _http_status?: number;
24061
+ _module?: string;
24062
+ _ok: boolean;
24063
+ _order_ref: string;
24064
+ _shell?: string;
24065
+ };
24066
+ Returns: undefined;
24067
+ };
24068
+ logistics_floriday_order_approved: {
24069
+ Args: {
24070
+ _order_ref: string;
24071
+ };
24072
+ Returns: boolean;
24073
+ };
23596
24074
  logistics_floriday_prune_pushes: {
23597
24075
  Args: {
23598
24076
  _days?: number;
@@ -23607,6 +24085,20 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
23607
24085
  };
23608
24086
  Returns: string;
23609
24087
  };
24088
+ logistics_floriday_status_updates_enabled: {
24089
+ Args: never;
24090
+ Returns: boolean;
24091
+ };
24092
+ logistics_floriday_stock_updates_enabled: {
24093
+ Args: never;
24094
+ Returns: boolean;
24095
+ };
24096
+ logistics_floriday_write_allowed: {
24097
+ Args: {
24098
+ _action: string;
24099
+ };
24100
+ Returns: boolean;
24101
+ };
23610
24102
  logistics_fulfill_barcode_requests: {
23611
24103
  Args: {
23612
24104
  p_limit?: number;
@@ -23627,6 +24119,16 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
23627
24119
  };
23628
24120
  Returns: boolean;
23629
24121
  };
24122
+ logistics_layout_method_status: {
24123
+ Args: never;
24124
+ Returns: import("../integrations/supabase/types").Json;
24125
+ };
24126
+ logistics_link_order_items: {
24127
+ Args: {
24128
+ p_order?: string;
24129
+ };
24130
+ Returns: import("../integrations/supabase/types").Json;
24131
+ };
23630
24132
  logistics_live_carriers: {
23631
24133
  Args: {
23632
24134
  p_order_ref: string;
@@ -23639,6 +24141,12 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
23639
24141
  };
23640
24142
  Returns: number;
23641
24143
  };
24144
+ logistics_merge_partial_carts: {
24145
+ Args: {
24146
+ p_limit?: number;
24147
+ };
24148
+ Returns: import("../integrations/supabase/types").Json;
24149
+ };
23642
24150
  logistics_next_workday_date: {
23643
24151
  Args: {
23644
24152
  p_date: string;
@@ -23653,12 +24161,22 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
23653
24161
  };
23654
24162
  Returns: string;
23655
24163
  };
24164
+ logistics_normalize_product_label: {
24165
+ Args: {
24166
+ p_label: string;
24167
+ };
24168
+ Returns: string;
24169
+ };
23656
24170
  logistics_not_past: {
23657
24171
  Args: {
23658
24172
  p_ts: string;
23659
24173
  };
23660
24174
  Returns: string;
23661
24175
  };
24176
+ logistics_opening_timezone: {
24177
+ Args: never;
24178
+ Returns: string;
24179
+ };
23662
24180
  logistics_order_cart_count: {
23663
24181
  Args: {
23664
24182
  p_order_ref: string;
@@ -23743,6 +24261,10 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
23743
24261
  Args: never;
23744
24262
  Returns: import("../integrations/supabase/types").Json;
23745
24263
  };
24264
+ logistics_pick_partial_mode: {
24265
+ Args: never;
24266
+ Returns: string;
24267
+ };
23746
24268
  logistics_pick_start_estimate: {
23747
24269
  Args: {
23748
24270
  p_order: import("../integrations/supabase/types").Json;
@@ -23854,6 +24376,12 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
23854
24376
  };
23855
24377
  Returns: number;
23856
24378
  };
24379
+ logistics_prepare_pick_documents: {
24380
+ Args: {
24381
+ p_limit?: number;
24382
+ };
24383
+ Returns: import("../integrations/supabase/types").Json;
24384
+ };
23857
24385
  logistics_prune_buffer_member_queue: {
23858
24386
  Args: never;
23859
24387
  Returns: number;
@@ -23894,12 +24422,30 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
23894
24422
  Args: never;
23895
24423
  Returns: import("../integrations/supabase/types").Json;
23896
24424
  };
24425
+ logistics_refresh_pick_queue_status: {
24426
+ Args: {
24427
+ p_ref: string;
24428
+ };
24429
+ Returns: number;
24430
+ };
23897
24431
  logistics_refresh_pickup_moments: {
23898
24432
  Args: {
23899
24433
  p_weeks?: number;
23900
24434
  };
23901
24435
  Returns: import("../integrations/supabase/types").Json;
23902
24436
  };
24437
+ logistics_replan_all: {
24438
+ Args: {
24439
+ p_reason?: string;
24440
+ };
24441
+ Returns: import("../integrations/supabase/types").Json;
24442
+ };
24443
+ logistics_replan_all_force: {
24444
+ Args: {
24445
+ p_reason?: string;
24446
+ };
24447
+ Returns: import("../integrations/supabase/types").Json;
24448
+ };
23903
24449
  logistics_report_delay: {
23904
24450
  Args: {
23905
24451
  p_expected_date?: string;
@@ -23953,6 +24499,12 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
23953
24499
  };
23954
24500
  Returns: import("../integrations/supabase/types").Json;
23955
24501
  };
24502
+ logistics_resolve_product_id: {
24503
+ Args: {
24504
+ p_label: string;
24505
+ };
24506
+ Returns: string;
24507
+ };
23956
24508
  logistics_resolve_settings: {
23957
24509
  Args: {
23958
24510
  p_config_id: string;
@@ -24038,6 +24590,10 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
24038
24590
  };
24039
24591
  Returns: string;
24040
24592
  };
24593
+ logistics_shipping_note_follows_slip: {
24594
+ Args: never;
24595
+ Returns: boolean;
24596
+ };
24041
24597
  logistics_shipping_note_from_barcode: {
24042
24598
  Args: {
24043
24599
  p_allow_reprint?: boolean;
@@ -24050,6 +24606,14 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
24050
24606
  Args: never;
24051
24607
  Returns: boolean;
24052
24608
  };
24609
+ logistics_subtract_working_minutes: {
24610
+ Args: {
24611
+ p_deadline: string;
24612
+ p_max_workdays?: number;
24613
+ p_minutes: number;
24614
+ };
24615
+ Returns: import("../integrations/supabase/types").Json;
24616
+ };
24053
24617
  logistics_supersede_stale_tasks: {
24054
24618
  Args: {
24055
24619
  p_keep: string[];
@@ -24086,6 +24650,12 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
24086
24650
  Args: never;
24087
24651
  Returns: string;
24088
24652
  };
24653
+ logistics_timezone_options: {
24654
+ Args: never;
24655
+ Returns: {
24656
+ name: string;
24657
+ }[];
24658
+ };
24089
24659
  logistics_upsert_task: {
24090
24660
  Args: {
24091
24661
  p_buffer_ref: string;
@@ -24105,6 +24675,16 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
24105
24675
  };
24106
24676
  Returns: string;
24107
24677
  };
24678
+ logistics_valid_timezone: {
24679
+ Args: {
24680
+ _tz: string;
24681
+ };
24682
+ Returns: boolean;
24683
+ };
24684
+ logistics_working_hours_status: {
24685
+ Args: never;
24686
+ Returns: import("../integrations/supabase/types").Json;
24687
+ };
24108
24688
  logistics_write_buffer_layer_positions: {
24109
24689
  Args: {
24110
24690
  p_buffer_id: string;
@@ -24270,6 +24850,10 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
24270
24850
  online: boolean;
24271
24851
  }[];
24272
24852
  };
24853
+ pick_apply_buffer_events: {
24854
+ Args: never;
24855
+ Returns: import("../integrations/supabase/types").Json;
24856
+ };
24273
24857
  pick_available_pick_days: {
24274
24858
  Args: {
24275
24859
  _max_days?: number;
@@ -25546,6 +26130,13 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
25546
26130
  };
25547
26131
  Returns: number;
25548
26132
  };
26133
+ schedule_floriday_catalog_prices_sync: {
26134
+ Args: {
26135
+ p_apikey: string;
26136
+ p_url: string;
26137
+ };
26138
+ Returns: number;
26139
+ };
25549
26140
  schedule_floriday_clock_presales_sync: {
25550
26141
  Args: {
25551
26142
  p_apikey: string;
@@ -25846,6 +26437,10 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
25846
26437
  };
25847
26438
  Returns: undefined;
25848
26439
  };
26440
+ sync_floriday_prices_into_price_groups: {
26441
+ Args: never;
26442
+ Returns: number;
26443
+ };
25849
26444
  sync_layer_stock: {
25850
26445
  Args: {
25851
26446
  p_product_id: string;