@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
@@ -5833,6 +5833,84 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
5833
5833
  referencedColumns: ["id"];
5834
5834
  }];
5835
5835
  };
5836
+ floriday_catalog_prices_cache: {
5837
+ Row: {
5838
+ connection_id: string;
5839
+ created_at: string;
5840
+ currency: string;
5841
+ id: string;
5842
+ is_deleted: boolean;
5843
+ price: number | null;
5844
+ price_group_id: string | null;
5845
+ price_group_name: string | null;
5846
+ price_type: string;
5847
+ raw: import("../integrations/supabase/types").Json | null;
5848
+ sales_unit: string | null;
5849
+ sequence_number: number;
5850
+ supplier_article_code: string | null;
5851
+ supply_line_id: string;
5852
+ synced_at: string;
5853
+ trade_item_id: string | null;
5854
+ updated_at: string;
5855
+ valid_from: string | null;
5856
+ valid_to: string | null;
5857
+ week: number | null;
5858
+ year: number | null;
5859
+ };
5860
+ Insert: {
5861
+ connection_id: string;
5862
+ created_at?: string;
5863
+ currency?: string;
5864
+ id?: string;
5865
+ is_deleted?: boolean;
5866
+ price?: number | null;
5867
+ price_group_id?: string | null;
5868
+ price_group_name?: string | null;
5869
+ price_type?: string;
5870
+ raw?: import("../integrations/supabase/types").Json | null;
5871
+ sales_unit?: string | null;
5872
+ sequence_number?: number;
5873
+ supplier_article_code?: string | null;
5874
+ supply_line_id: string;
5875
+ synced_at?: string;
5876
+ trade_item_id?: string | null;
5877
+ updated_at?: string;
5878
+ valid_from?: string | null;
5879
+ valid_to?: string | null;
5880
+ week?: number | null;
5881
+ year?: number | null;
5882
+ };
5883
+ Update: {
5884
+ connection_id?: string;
5885
+ created_at?: string;
5886
+ currency?: string;
5887
+ id?: string;
5888
+ is_deleted?: boolean;
5889
+ price?: number | null;
5890
+ price_group_id?: string | null;
5891
+ price_group_name?: string | null;
5892
+ price_type?: string;
5893
+ raw?: import("../integrations/supabase/types").Json | null;
5894
+ sales_unit?: string | null;
5895
+ sequence_number?: number;
5896
+ supplier_article_code?: string | null;
5897
+ supply_line_id?: string;
5898
+ synced_at?: string;
5899
+ trade_item_id?: string | null;
5900
+ updated_at?: string;
5901
+ valid_from?: string | null;
5902
+ valid_to?: string | null;
5903
+ week?: number | null;
5904
+ year?: number | null;
5905
+ };
5906
+ Relationships: [{
5907
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
5908
+ columns: ["connection_id"];
5909
+ isOneToOne: false;
5910
+ referencedRelation: "floriday_connections";
5911
+ referencedColumns: ["id"];
5912
+ }];
5913
+ };
5836
5914
  floriday_clock_presales_cache: {
5837
5915
  Row: {
5838
5916
  buyer_organization_id: string | null;
@@ -10099,6 +10177,36 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
10099
10177
  };
10100
10178
  Relationships: [];
10101
10179
  };
10180
+ logistics_floriday_push_refusals: {
10181
+ Row: {
10182
+ action: string | null;
10183
+ created_at: string;
10184
+ id: string;
10185
+ order_ref: string;
10186
+ reason: string;
10187
+ source_module: string | null;
10188
+ source_shell: string | null;
10189
+ };
10190
+ Insert: {
10191
+ action?: string | null;
10192
+ created_at?: string;
10193
+ id?: string;
10194
+ order_ref: string;
10195
+ reason: string;
10196
+ source_module?: string | null;
10197
+ source_shell?: string | null;
10198
+ };
10199
+ Update: {
10200
+ action?: string | null;
10201
+ created_at?: string;
10202
+ id?: string;
10203
+ order_ref?: string;
10204
+ reason?: string;
10205
+ source_module?: string | null;
10206
+ source_shell?: string | null;
10207
+ };
10208
+ Relationships: [];
10209
+ };
10102
10210
  logistics_floriday_pushes: {
10103
10211
  Row: {
10104
10212
  attempts: number;
@@ -10174,6 +10282,42 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
10174
10282
  };
10175
10283
  Relationships: [];
10176
10284
  };
10285
+ logistics_floriday_status_sends: {
10286
+ Row: {
10287
+ action: string;
10288
+ created_at: string;
10289
+ detail: string | null;
10290
+ http_status: number | null;
10291
+ id: string;
10292
+ ok: boolean;
10293
+ order_ref: string;
10294
+ source_module: string | null;
10295
+ source_shell: string | null;
10296
+ };
10297
+ Insert: {
10298
+ action: string;
10299
+ created_at?: string;
10300
+ detail?: string | null;
10301
+ http_status?: number | null;
10302
+ id?: string;
10303
+ ok?: boolean;
10304
+ order_ref: string;
10305
+ source_module?: string | null;
10306
+ source_shell?: string | null;
10307
+ };
10308
+ Update: {
10309
+ action?: string;
10310
+ created_at?: string;
10311
+ detail?: string | null;
10312
+ http_status?: number | null;
10313
+ id?: string;
10314
+ ok?: boolean;
10315
+ order_ref?: string;
10316
+ source_module?: string | null;
10317
+ source_shell?: string | null;
10318
+ };
10319
+ Relationships: [];
10320
+ };
10177
10321
  logistics_formulas: {
10178
10322
  Row: {
10179
10323
  created_at: string;
@@ -10246,6 +10390,108 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
10246
10390
  };
10247
10391
  Relationships: [];
10248
10392
  };
10393
+ logistics_opening_exceptions: {
10394
+ Row: {
10395
+ closes: string | null;
10396
+ created_at: string;
10397
+ day: string;
10398
+ id: string;
10399
+ is_closed: boolean;
10400
+ note: string | null;
10401
+ opens: string | null;
10402
+ };
10403
+ Insert: {
10404
+ closes?: string | null;
10405
+ created_at?: string;
10406
+ day: string;
10407
+ id?: string;
10408
+ is_closed?: boolean;
10409
+ note?: string | null;
10410
+ opens?: string | null;
10411
+ };
10412
+ Update: {
10413
+ closes?: string | null;
10414
+ created_at?: string;
10415
+ day?: string;
10416
+ id?: string;
10417
+ is_closed?: boolean;
10418
+ note?: string | null;
10419
+ opens?: string | null;
10420
+ };
10421
+ Relationships: [];
10422
+ };
10423
+ logistics_opening_hours: {
10424
+ Row: {
10425
+ closes: string;
10426
+ created_at: string;
10427
+ id: string;
10428
+ is_active: boolean;
10429
+ note: string | null;
10430
+ opens: string;
10431
+ weekday: number;
10432
+ };
10433
+ Insert: {
10434
+ closes: string;
10435
+ created_at?: string;
10436
+ id?: string;
10437
+ is_active?: boolean;
10438
+ note?: string | null;
10439
+ opens: string;
10440
+ weekday: number;
10441
+ };
10442
+ Update: {
10443
+ closes?: string;
10444
+ created_at?: string;
10445
+ id?: string;
10446
+ is_active?: boolean;
10447
+ note?: string | null;
10448
+ opens?: string;
10449
+ weekday?: number;
10450
+ };
10451
+ Relationships: [];
10452
+ };
10453
+ logistics_pick_data_requests: {
10454
+ Row: {
10455
+ actions: import("../integrations/supabase/types").Json;
10456
+ created_at: string;
10457
+ event_id: string | null;
10458
+ finished_at: string | null;
10459
+ id: string;
10460
+ missing: import("../integrations/supabase/types").Json;
10461
+ order_ref: string;
10462
+ reason: string | null;
10463
+ result: import("../integrations/supabase/types").Json | null;
10464
+ status: string;
10465
+ unit_ref: string | null;
10466
+ };
10467
+ Insert: {
10468
+ actions?: import("../integrations/supabase/types").Json;
10469
+ created_at?: string;
10470
+ event_id?: string | null;
10471
+ finished_at?: string | null;
10472
+ id?: string;
10473
+ missing?: import("../integrations/supabase/types").Json;
10474
+ order_ref: string;
10475
+ reason?: string | null;
10476
+ result?: import("../integrations/supabase/types").Json | null;
10477
+ status?: string;
10478
+ unit_ref?: string | null;
10479
+ };
10480
+ Update: {
10481
+ actions?: import("../integrations/supabase/types").Json;
10482
+ created_at?: string;
10483
+ event_id?: string | null;
10484
+ finished_at?: string | null;
10485
+ id?: string;
10486
+ missing?: import("../integrations/supabase/types").Json;
10487
+ order_ref?: string;
10488
+ reason?: string | null;
10489
+ result?: import("../integrations/supabase/types").Json | null;
10490
+ status?: string;
10491
+ unit_ref?: string | null;
10492
+ };
10493
+ Relationships: [];
10494
+ };
10249
10495
  logistics_pickup_moments: {
10250
10496
  Row: {
10251
10497
  carrier_ref: string | null;
@@ -11038,6 +11284,24 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
11038
11284
  };
11039
11285
  Relationships: [];
11040
11286
  };
11287
+ logistics_time_settings: {
11288
+ Row: {
11289
+ id: boolean;
11290
+ timezone: string;
11291
+ updated_at: string;
11292
+ };
11293
+ Insert: {
11294
+ id?: boolean;
11295
+ timezone: string;
11296
+ updated_at?: string;
11297
+ };
11298
+ Update: {
11299
+ id?: boolean;
11300
+ timezone?: string;
11301
+ updated_at?: string;
11302
+ };
11303
+ Relationships: [];
11304
+ };
11041
11305
  logistics_variables: {
11042
11306
  Row: {
11043
11307
  created_at: string;
@@ -13428,6 +13692,7 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
13428
13692
  customer_name: string;
13429
13693
  deleted_at: string | null;
13430
13694
  delivery_date: string | null;
13695
+ floriday_order_group_key: string | null;
13431
13696
  floriday_sales_order_id: string | null;
13432
13697
  id: string;
13433
13698
  invoice_due_at: string | null;
@@ -13455,6 +13720,7 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
13455
13720
  customer_name?: string;
13456
13721
  deleted_at?: string | null;
13457
13722
  delivery_date?: string | null;
13723
+ floriday_order_group_key?: string | null;
13458
13724
  floriday_sales_order_id?: string | null;
13459
13725
  id?: string;
13460
13726
  invoice_due_at?: string | null;
@@ -13482,6 +13748,7 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
13482
13748
  customer_name?: string;
13483
13749
  deleted_at?: string | null;
13484
13750
  delivery_date?: string | null;
13751
+ floriday_order_group_key?: string | null;
13485
13752
  floriday_sales_order_id?: string | null;
13486
13753
  id?: string;
13487
13754
  invoice_due_at?: string | null;
@@ -13675,6 +13942,27 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
13675
13942
  };
13676
13943
  Relationships: [];
13677
13944
  };
13945
+ pick_buffer_event_cursor: {
13946
+ Row: {
13947
+ created_at: string;
13948
+ id: boolean;
13949
+ last_event_at: string;
13950
+ updated_at: string;
13951
+ };
13952
+ Insert: {
13953
+ created_at?: string;
13954
+ id?: boolean;
13955
+ last_event_at?: string;
13956
+ updated_at?: string;
13957
+ };
13958
+ Update: {
13959
+ created_at?: string;
13960
+ id?: boolean;
13961
+ last_event_at?: string;
13962
+ updated_at?: string;
13963
+ };
13964
+ Relationships: [];
13965
+ };
13678
13966
  pick_countries: {
13679
13967
  Row: {
13680
13968
  active: boolean;
@@ -19324,6 +19612,36 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
19324
19612
  referencedColumns: ["id"];
19325
19613
  }];
19326
19614
  };
19615
+ voorraad_buffer_state: {
19616
+ Row: {
19617
+ buffer_id: string;
19618
+ buffer_key: string | null;
19619
+ closed_at: string | null;
19620
+ created_at: string;
19621
+ detached_orders: import("../integrations/supabase/types").Json;
19622
+ reason: string | null;
19623
+ updated_at: string;
19624
+ };
19625
+ Insert: {
19626
+ buffer_id: string;
19627
+ buffer_key?: string | null;
19628
+ closed_at?: string | null;
19629
+ created_at?: string;
19630
+ detached_orders?: import("../integrations/supabase/types").Json;
19631
+ reason?: string | null;
19632
+ updated_at?: string;
19633
+ };
19634
+ Update: {
19635
+ buffer_id?: string;
19636
+ buffer_key?: string | null;
19637
+ closed_at?: string | null;
19638
+ created_at?: string;
19639
+ detached_orders?: import("../integrations/supabase/types").Json;
19640
+ reason?: string | null;
19641
+ updated_at?: string;
19642
+ };
19643
+ Relationships: [];
19644
+ };
19327
19645
  voorraad_custom_fields: {
19328
19646
  Row: {
19329
19647
  created_at: string;
@@ -19366,6 +19684,36 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
19366
19684
  };
19367
19685
  Relationships: [];
19368
19686
  };
19687
+ voorraad_logistics_event_log: {
19688
+ Row: {
19689
+ created_at: string;
19690
+ event_id: string;
19691
+ event_type: string;
19692
+ order_ref: string | null;
19693
+ processed_at: string;
19694
+ result: import("../integrations/supabase/types").Json;
19695
+ updated_at: string;
19696
+ };
19697
+ Insert: {
19698
+ created_at?: string;
19699
+ event_id: string;
19700
+ event_type: string;
19701
+ order_ref?: string | null;
19702
+ processed_at?: string;
19703
+ result?: import("../integrations/supabase/types").Json;
19704
+ updated_at?: string;
19705
+ };
19706
+ Update: {
19707
+ created_at?: string;
19708
+ event_id?: string;
19709
+ event_type?: string;
19710
+ order_ref?: string | null;
19711
+ processed_at?: string;
19712
+ result?: import("../integrations/supabase/types").Json;
19713
+ updated_at?: string;
19714
+ };
19715
+ Relationships: [];
19716
+ };
19369
19717
  voorraad_media_upload_failures: {
19370
19718
  Row: {
19371
19719
  action: string;
@@ -22191,6 +22539,17 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
22191
22539
  };
22192
22540
  Returns: boolean;
22193
22541
  };
22542
+ floriday_adopt_connection: {
22543
+ Args: {
22544
+ p_new: string;
22545
+ p_old: string;
22546
+ };
22547
+ Returns: import("../integrations/supabase/types").Json;
22548
+ };
22549
+ floriday_autoheal_connections: {
22550
+ Args: never;
22551
+ Returns: import("../integrations/supabase/types").Json;
22552
+ };
22194
22553
  floriday_capture_stock_snapshot: {
22195
22554
  Args: never;
22196
22555
  Returns: number;
@@ -22248,6 +22607,12 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
22248
22607
  };
22249
22608
  Returns: undefined;
22250
22609
  };
22610
+ floriday_relink_products: {
22611
+ Args: {
22612
+ p_connection_id?: string;
22613
+ };
22614
+ Returns: import("../integrations/supabase/types").Json;
22615
+ };
22251
22616
  floriday_requeue_dead_letters: {
22252
22617
  Args: {
22253
22618
  p_connection_id?: string;
@@ -22869,6 +23234,10 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
22869
23234
  };
22870
23235
  Returns: string;
22871
23236
  };
23237
+ logistics_active_layout_method: {
23238
+ Args: never;
23239
+ Returns: string;
23240
+ };
22872
23241
  logistics_active_pick_workdays: {
22873
23242
  Args: never;
22874
23243
  Returns: string[];
@@ -22976,6 +23345,15 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
22976
23345
  };
22977
23346
  Returns: boolean;
22978
23347
  };
23348
+ logistics_buffer_notify: {
23349
+ Args: {
23350
+ p_event_type: string;
23351
+ p_idempotency_key: string;
23352
+ p_order_ref: string;
23353
+ p_payload: import("../integrations/supabase/types").Json;
23354
+ };
23355
+ Returns: string;
23356
+ };
22979
23357
  logistics_buffer_open_key: {
22980
23358
  Args: {
22981
23359
  p_base_key: string;
@@ -23034,6 +23412,12 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
23034
23412
  };
23035
23413
  Returns: string;
23036
23414
  };
23415
+ logistics_cart_checkin_at: {
23416
+ Args: {
23417
+ p_cart_id: string;
23418
+ };
23419
+ Returns: string;
23420
+ };
23037
23421
  logistics_cart_handled: {
23038
23422
  Args: {
23039
23423
  p_cart_index: number;
@@ -23067,10 +23451,22 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
23067
23451
  task_status: string;
23068
23452
  }[];
23069
23453
  };
23454
+ logistics_cart_is_full: {
23455
+ Args: {
23456
+ p_cart_id: string;
23457
+ };
23458
+ Returns: boolean;
23459
+ };
23070
23460
  logistics_cart_layout_method: {
23071
23461
  Args: never;
23072
23462
  Returns: import("../integrations/supabase/types").Json;
23073
23463
  };
23464
+ logistics_cart_order_refs: {
23465
+ Args: {
23466
+ p_cart_id: string;
23467
+ };
23468
+ Returns: string[];
23469
+ };
23074
23470
  logistics_cart_plan_overview: {
23075
23471
  Args: {
23076
23472
  p_days?: number;
@@ -23090,6 +23486,18 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
23090
23486
  };
23091
23487
  Returns: import("../integrations/supabase/types").Json;
23092
23488
  };
23489
+ logistics_cart_release_reason: {
23490
+ Args: {
23491
+ p_cart_id: string;
23492
+ };
23493
+ Returns: string;
23494
+ };
23495
+ logistics_cart_released: {
23496
+ Args: {
23497
+ p_cart_id: string;
23498
+ };
23499
+ Returns: boolean;
23500
+ };
23093
23501
  logistics_cart_seq: {
23094
23502
  Args: {
23095
23503
  p_order_uuid?: string;
@@ -23243,6 +23651,10 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
23243
23651
  isSetofReturn: false;
23244
23652
  };
23245
23653
  };
23654
+ logistics_cleanup_orphan_print_jobs: {
23655
+ Args: never;
23656
+ Returns: import("../integrations/supabase/types").Json;
23657
+ };
23246
23658
  logistics_complete_task: {
23247
23659
  Args: {
23248
23660
  p_result?: import("../integrations/supabase/types").Json;
@@ -23305,6 +23717,12 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
23305
23717
  station_carts: number;
23306
23718
  }[];
23307
23719
  };
23720
+ logistics_control_complete_cart: {
23721
+ Args: {
23722
+ p_cart_id: string;
23723
+ };
23724
+ Returns: number;
23725
+ };
23308
23726
  logistics_control_scan_approve: {
23309
23727
  Args: {
23310
23728
  p_allow_reprint?: boolean;
@@ -23384,6 +23802,15 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
23384
23802
  Args: never;
23385
23803
  Returns: import("../integrations/supabase/types").Json;
23386
23804
  };
23805
+ logistics_day_windows: {
23806
+ Args: {
23807
+ p_day: string;
23808
+ };
23809
+ Returns: {
23810
+ win_end: string;
23811
+ win_start: string;
23812
+ }[];
23813
+ };
23387
23814
  logistics_delay_customer_email: {
23388
23815
  Args: {
23389
23816
  p_customer: string;
@@ -23451,6 +23878,17 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
23451
23878
  };
23452
23879
  Returns: import("../integrations/supabase/types").Json;
23453
23880
  };
23881
+ logistics_enqueue_shipping_note_with_slip: {
23882
+ Args: {
23883
+ _cart_id: string;
23884
+ _is_herprint: boolean;
23885
+ _printer_id: string;
23886
+ _queue_item_id: string;
23887
+ _session_id: string;
23888
+ _slip_job_id: string;
23889
+ };
23890
+ Returns: string;
23891
+ };
23454
23892
  logistics_enqueue_sticker_with_slip: {
23455
23893
  Args: {
23456
23894
  _cart_id: string;
@@ -23468,6 +23906,14 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
23468
23906
  };
23469
23907
  Returns: string;
23470
23908
  };
23909
+ logistics_ensure_pick_data: {
23910
+ Args: {
23911
+ p_event_id?: string;
23912
+ p_missing?: import("../integrations/supabase/types").Json;
23913
+ p_ref: string;
23914
+ };
23915
+ Returns: import("../integrations/supabase/types").Json;
23916
+ };
23471
23917
  logistics_fail_task: {
23472
23918
  Args: {
23473
23919
  p_error: string;
@@ -23589,6 +24035,38 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
23589
24035
  };
23590
24036
  Returns: string;
23591
24037
  };
24038
+ logistics_floriday_gate_status: {
24039
+ Args: never;
24040
+ Returns: import("../integrations/supabase/types").Json;
24041
+ };
24042
+ logistics_floriday_log_refusal: {
24043
+ Args: {
24044
+ _action?: string;
24045
+ _module?: string;
24046
+ _order_ref: string;
24047
+ _reason: string;
24048
+ _shell?: string;
24049
+ };
24050
+ Returns: undefined;
24051
+ };
24052
+ logistics_floriday_log_send: {
24053
+ Args: {
24054
+ _action: string;
24055
+ _detail?: string;
24056
+ _http_status?: number;
24057
+ _module?: string;
24058
+ _ok: boolean;
24059
+ _order_ref: string;
24060
+ _shell?: string;
24061
+ };
24062
+ Returns: undefined;
24063
+ };
24064
+ logistics_floriday_order_approved: {
24065
+ Args: {
24066
+ _order_ref: string;
24067
+ };
24068
+ Returns: boolean;
24069
+ };
23592
24070
  logistics_floriday_prune_pushes: {
23593
24071
  Args: {
23594
24072
  _days?: number;
@@ -23603,6 +24081,20 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
23603
24081
  };
23604
24082
  Returns: string;
23605
24083
  };
24084
+ logistics_floriday_status_updates_enabled: {
24085
+ Args: never;
24086
+ Returns: boolean;
24087
+ };
24088
+ logistics_floriday_stock_updates_enabled: {
24089
+ Args: never;
24090
+ Returns: boolean;
24091
+ };
24092
+ logistics_floriday_write_allowed: {
24093
+ Args: {
24094
+ _action: string;
24095
+ };
24096
+ Returns: boolean;
24097
+ };
23606
24098
  logistics_fulfill_barcode_requests: {
23607
24099
  Args: {
23608
24100
  p_limit?: number;
@@ -23623,6 +24115,16 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
23623
24115
  };
23624
24116
  Returns: boolean;
23625
24117
  };
24118
+ logistics_layout_method_status: {
24119
+ Args: never;
24120
+ Returns: import("../integrations/supabase/types").Json;
24121
+ };
24122
+ logistics_link_order_items: {
24123
+ Args: {
24124
+ p_order?: string;
24125
+ };
24126
+ Returns: import("../integrations/supabase/types").Json;
24127
+ };
23626
24128
  logistics_live_carriers: {
23627
24129
  Args: {
23628
24130
  p_order_ref: string;
@@ -23635,6 +24137,12 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
23635
24137
  };
23636
24138
  Returns: number;
23637
24139
  };
24140
+ logistics_merge_partial_carts: {
24141
+ Args: {
24142
+ p_limit?: number;
24143
+ };
24144
+ Returns: import("../integrations/supabase/types").Json;
24145
+ };
23638
24146
  logistics_next_workday_date: {
23639
24147
  Args: {
23640
24148
  p_date: string;
@@ -23649,12 +24157,22 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
23649
24157
  };
23650
24158
  Returns: string;
23651
24159
  };
24160
+ logistics_normalize_product_label: {
24161
+ Args: {
24162
+ p_label: string;
24163
+ };
24164
+ Returns: string;
24165
+ };
23652
24166
  logistics_not_past: {
23653
24167
  Args: {
23654
24168
  p_ts: string;
23655
24169
  };
23656
24170
  Returns: string;
23657
24171
  };
24172
+ logistics_opening_timezone: {
24173
+ Args: never;
24174
+ Returns: string;
24175
+ };
23658
24176
  logistics_order_cart_count: {
23659
24177
  Args: {
23660
24178
  p_order_ref: string;
@@ -23739,6 +24257,10 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
23739
24257
  Args: never;
23740
24258
  Returns: import("../integrations/supabase/types").Json;
23741
24259
  };
24260
+ logistics_pick_partial_mode: {
24261
+ Args: never;
24262
+ Returns: string;
24263
+ };
23742
24264
  logistics_pick_start_estimate: {
23743
24265
  Args: {
23744
24266
  p_order: import("../integrations/supabase/types").Json;
@@ -23850,6 +24372,12 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
23850
24372
  };
23851
24373
  Returns: number;
23852
24374
  };
24375
+ logistics_prepare_pick_documents: {
24376
+ Args: {
24377
+ p_limit?: number;
24378
+ };
24379
+ Returns: import("../integrations/supabase/types").Json;
24380
+ };
23853
24381
  logistics_prune_buffer_member_queue: {
23854
24382
  Args: never;
23855
24383
  Returns: number;
@@ -23890,12 +24418,30 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
23890
24418
  Args: never;
23891
24419
  Returns: import("../integrations/supabase/types").Json;
23892
24420
  };
24421
+ logistics_refresh_pick_queue_status: {
24422
+ Args: {
24423
+ p_ref: string;
24424
+ };
24425
+ Returns: number;
24426
+ };
23893
24427
  logistics_refresh_pickup_moments: {
23894
24428
  Args: {
23895
24429
  p_weeks?: number;
23896
24430
  };
23897
24431
  Returns: import("../integrations/supabase/types").Json;
23898
24432
  };
24433
+ logistics_replan_all: {
24434
+ Args: {
24435
+ p_reason?: string;
24436
+ };
24437
+ Returns: import("../integrations/supabase/types").Json;
24438
+ };
24439
+ logistics_replan_all_force: {
24440
+ Args: {
24441
+ p_reason?: string;
24442
+ };
24443
+ Returns: import("../integrations/supabase/types").Json;
24444
+ };
23899
24445
  logistics_report_delay: {
23900
24446
  Args: {
23901
24447
  p_expected_date?: string;
@@ -23949,6 +24495,12 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
23949
24495
  };
23950
24496
  Returns: import("../integrations/supabase/types").Json;
23951
24497
  };
24498
+ logistics_resolve_product_id: {
24499
+ Args: {
24500
+ p_label: string;
24501
+ };
24502
+ Returns: string;
24503
+ };
23952
24504
  logistics_resolve_settings: {
23953
24505
  Args: {
23954
24506
  p_config_id: string;
@@ -24034,6 +24586,10 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
24034
24586
  };
24035
24587
  Returns: string;
24036
24588
  };
24589
+ logistics_shipping_note_follows_slip: {
24590
+ Args: never;
24591
+ Returns: boolean;
24592
+ };
24037
24593
  logistics_shipping_note_from_barcode: {
24038
24594
  Args: {
24039
24595
  p_allow_reprint?: boolean;
@@ -24046,6 +24602,14 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
24046
24602
  Args: never;
24047
24603
  Returns: boolean;
24048
24604
  };
24605
+ logistics_subtract_working_minutes: {
24606
+ Args: {
24607
+ p_deadline: string;
24608
+ p_max_workdays?: number;
24609
+ p_minutes: number;
24610
+ };
24611
+ Returns: import("../integrations/supabase/types").Json;
24612
+ };
24049
24613
  logistics_supersede_stale_tasks: {
24050
24614
  Args: {
24051
24615
  p_keep: string[];
@@ -24082,6 +24646,12 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
24082
24646
  Args: never;
24083
24647
  Returns: string;
24084
24648
  };
24649
+ logistics_timezone_options: {
24650
+ Args: never;
24651
+ Returns: {
24652
+ name: string;
24653
+ }[];
24654
+ };
24085
24655
  logistics_upsert_task: {
24086
24656
  Args: {
24087
24657
  p_buffer_ref: string;
@@ -24101,6 +24671,16 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
24101
24671
  };
24102
24672
  Returns: string;
24103
24673
  };
24674
+ logistics_valid_timezone: {
24675
+ Args: {
24676
+ _tz: string;
24677
+ };
24678
+ Returns: boolean;
24679
+ };
24680
+ logistics_working_hours_status: {
24681
+ Args: never;
24682
+ Returns: import("../integrations/supabase/types").Json;
24683
+ };
24104
24684
  logistics_write_buffer_layer_positions: {
24105
24685
  Args: {
24106
24686
  p_buffer_id: string;
@@ -24266,6 +24846,10 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
24266
24846
  online: boolean;
24267
24847
  }[];
24268
24848
  };
24849
+ pick_apply_buffer_events: {
24850
+ Args: never;
24851
+ Returns: import("../integrations/supabase/types").Json;
24852
+ };
24269
24853
  pick_available_pick_days: {
24270
24854
  Args: {
24271
24855
  _max_days?: number;
@@ -25542,6 +26126,13 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
25542
26126
  };
25543
26127
  Returns: number;
25544
26128
  };
26129
+ schedule_floriday_catalog_prices_sync: {
26130
+ Args: {
26131
+ p_apikey: string;
26132
+ p_url: string;
26133
+ };
26134
+ Returns: number;
26135
+ };
25545
26136
  schedule_floriday_clock_presales_sync: {
25546
26137
  Args: {
25547
26138
  p_apikey: string;
@@ -25842,6 +26433,10 @@ export declare const listRevenueActivity: import("@tanstack/start-client-core").
25842
26433
  };
25843
26434
  Returns: undefined;
25844
26435
  };
26436
+ sync_floriday_prices_into_price_groups: {
26437
+ Args: never;
26438
+ Returns: number;
26439
+ };
25845
26440
  sync_layer_stock: {
25846
26441
  Args: {
25847
26442
  p_product_id: string;