@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
@@ -5826,6 +5826,84 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
5826
5826
  referencedColumns: ["id"];
5827
5827
  }];
5828
5828
  };
5829
+ floriday_catalog_prices_cache: {
5830
+ Row: {
5831
+ connection_id: string;
5832
+ created_at: string;
5833
+ currency: string;
5834
+ id: string;
5835
+ is_deleted: boolean;
5836
+ price: number | null;
5837
+ price_group_id: string | null;
5838
+ price_group_name: string | null;
5839
+ price_type: string;
5840
+ raw: import("../integrations/supabase/types").Json | null;
5841
+ sales_unit: string | null;
5842
+ sequence_number: number;
5843
+ supplier_article_code: string | null;
5844
+ supply_line_id: string;
5845
+ synced_at: string;
5846
+ trade_item_id: string | null;
5847
+ updated_at: string;
5848
+ valid_from: string | null;
5849
+ valid_to: string | null;
5850
+ week: number | null;
5851
+ year: number | null;
5852
+ };
5853
+ Insert: {
5854
+ connection_id: string;
5855
+ created_at?: string;
5856
+ currency?: string;
5857
+ id?: string;
5858
+ is_deleted?: boolean;
5859
+ price?: number | null;
5860
+ price_group_id?: string | null;
5861
+ price_group_name?: string | null;
5862
+ price_type?: string;
5863
+ raw?: import("../integrations/supabase/types").Json | null;
5864
+ sales_unit?: string | null;
5865
+ sequence_number?: number;
5866
+ supplier_article_code?: string | null;
5867
+ supply_line_id: string;
5868
+ synced_at?: string;
5869
+ trade_item_id?: string | null;
5870
+ updated_at?: string;
5871
+ valid_from?: string | null;
5872
+ valid_to?: string | null;
5873
+ week?: number | null;
5874
+ year?: number | null;
5875
+ };
5876
+ Update: {
5877
+ connection_id?: string;
5878
+ created_at?: string;
5879
+ currency?: string;
5880
+ id?: string;
5881
+ is_deleted?: boolean;
5882
+ price?: number | null;
5883
+ price_group_id?: string | null;
5884
+ price_group_name?: string | null;
5885
+ price_type?: string;
5886
+ raw?: import("../integrations/supabase/types").Json | null;
5887
+ sales_unit?: string | null;
5888
+ sequence_number?: number;
5889
+ supplier_article_code?: string | null;
5890
+ supply_line_id?: string;
5891
+ synced_at?: string;
5892
+ trade_item_id?: string | null;
5893
+ updated_at?: string;
5894
+ valid_from?: string | null;
5895
+ valid_to?: string | null;
5896
+ week?: number | null;
5897
+ year?: number | null;
5898
+ };
5899
+ Relationships: [{
5900
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
5901
+ columns: ["connection_id"];
5902
+ isOneToOne: false;
5903
+ referencedRelation: "floriday_connections";
5904
+ referencedColumns: ["id"];
5905
+ }];
5906
+ };
5829
5907
  floriday_clock_presales_cache: {
5830
5908
  Row: {
5831
5909
  buyer_organization_id: string | null;
@@ -10092,6 +10170,36 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
10092
10170
  };
10093
10171
  Relationships: [];
10094
10172
  };
10173
+ logistics_floriday_push_refusals: {
10174
+ Row: {
10175
+ action: string | null;
10176
+ created_at: string;
10177
+ id: string;
10178
+ order_ref: string;
10179
+ reason: string;
10180
+ source_module: string | null;
10181
+ source_shell: string | null;
10182
+ };
10183
+ Insert: {
10184
+ action?: string | null;
10185
+ created_at?: string;
10186
+ id?: string;
10187
+ order_ref: string;
10188
+ reason: string;
10189
+ source_module?: string | null;
10190
+ source_shell?: string | null;
10191
+ };
10192
+ Update: {
10193
+ action?: string | null;
10194
+ created_at?: string;
10195
+ id?: string;
10196
+ order_ref?: string;
10197
+ reason?: string;
10198
+ source_module?: string | null;
10199
+ source_shell?: string | null;
10200
+ };
10201
+ Relationships: [];
10202
+ };
10095
10203
  logistics_floriday_pushes: {
10096
10204
  Row: {
10097
10205
  attempts: number;
@@ -10167,6 +10275,42 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
10167
10275
  };
10168
10276
  Relationships: [];
10169
10277
  };
10278
+ logistics_floriday_status_sends: {
10279
+ Row: {
10280
+ action: string;
10281
+ created_at: string;
10282
+ detail: string | null;
10283
+ http_status: number | null;
10284
+ id: string;
10285
+ ok: boolean;
10286
+ order_ref: string;
10287
+ source_module: string | null;
10288
+ source_shell: string | null;
10289
+ };
10290
+ Insert: {
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
+ Update: {
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
+ Relationships: [];
10313
+ };
10170
10314
  logistics_formulas: {
10171
10315
  Row: {
10172
10316
  created_at: string;
@@ -10239,6 +10383,108 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
10239
10383
  };
10240
10384
  Relationships: [];
10241
10385
  };
10386
+ logistics_opening_exceptions: {
10387
+ Row: {
10388
+ closes: string | null;
10389
+ created_at: string;
10390
+ day: string;
10391
+ id: string;
10392
+ is_closed: boolean;
10393
+ note: string | null;
10394
+ opens: string | null;
10395
+ };
10396
+ Insert: {
10397
+ closes?: string | null;
10398
+ created_at?: string;
10399
+ day: string;
10400
+ id?: string;
10401
+ is_closed?: boolean;
10402
+ note?: string | null;
10403
+ opens?: string | null;
10404
+ };
10405
+ Update: {
10406
+ closes?: string | null;
10407
+ created_at?: string;
10408
+ day?: string;
10409
+ id?: string;
10410
+ is_closed?: boolean;
10411
+ note?: string | null;
10412
+ opens?: string | null;
10413
+ };
10414
+ Relationships: [];
10415
+ };
10416
+ logistics_opening_hours: {
10417
+ Row: {
10418
+ closes: string;
10419
+ created_at: string;
10420
+ id: string;
10421
+ is_active: boolean;
10422
+ note: string | null;
10423
+ opens: string;
10424
+ weekday: number;
10425
+ };
10426
+ Insert: {
10427
+ closes: string;
10428
+ created_at?: string;
10429
+ id?: string;
10430
+ is_active?: boolean;
10431
+ note?: string | null;
10432
+ opens: string;
10433
+ weekday: number;
10434
+ };
10435
+ Update: {
10436
+ closes?: string;
10437
+ created_at?: string;
10438
+ id?: string;
10439
+ is_active?: boolean;
10440
+ note?: string | null;
10441
+ opens?: string;
10442
+ weekday?: number;
10443
+ };
10444
+ Relationships: [];
10445
+ };
10446
+ logistics_pick_data_requests: {
10447
+ Row: {
10448
+ actions: import("../integrations/supabase/types").Json;
10449
+ created_at: string;
10450
+ event_id: string | null;
10451
+ finished_at: string | null;
10452
+ id: string;
10453
+ missing: import("../integrations/supabase/types").Json;
10454
+ order_ref: string;
10455
+ reason: string | null;
10456
+ result: import("../integrations/supabase/types").Json | null;
10457
+ status: string;
10458
+ unit_ref: string | null;
10459
+ };
10460
+ Insert: {
10461
+ actions?: import("../integrations/supabase/types").Json;
10462
+ created_at?: string;
10463
+ event_id?: string | null;
10464
+ finished_at?: string | null;
10465
+ id?: string;
10466
+ missing?: import("../integrations/supabase/types").Json;
10467
+ order_ref: string;
10468
+ reason?: string | null;
10469
+ result?: import("../integrations/supabase/types").Json | null;
10470
+ status?: string;
10471
+ unit_ref?: string | null;
10472
+ };
10473
+ Update: {
10474
+ actions?: import("../integrations/supabase/types").Json;
10475
+ created_at?: string;
10476
+ event_id?: string | null;
10477
+ finished_at?: string | null;
10478
+ id?: string;
10479
+ missing?: import("../integrations/supabase/types").Json;
10480
+ order_ref?: string;
10481
+ reason?: string | null;
10482
+ result?: import("../integrations/supabase/types").Json | null;
10483
+ status?: string;
10484
+ unit_ref?: string | null;
10485
+ };
10486
+ Relationships: [];
10487
+ };
10242
10488
  logistics_pickup_moments: {
10243
10489
  Row: {
10244
10490
  carrier_ref: string | null;
@@ -11031,6 +11277,24 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
11031
11277
  };
11032
11278
  Relationships: [];
11033
11279
  };
11280
+ logistics_time_settings: {
11281
+ Row: {
11282
+ id: boolean;
11283
+ timezone: string;
11284
+ updated_at: string;
11285
+ };
11286
+ Insert: {
11287
+ id?: boolean;
11288
+ timezone: string;
11289
+ updated_at?: string;
11290
+ };
11291
+ Update: {
11292
+ id?: boolean;
11293
+ timezone?: string;
11294
+ updated_at?: string;
11295
+ };
11296
+ Relationships: [];
11297
+ };
11034
11298
  logistics_variables: {
11035
11299
  Row: {
11036
11300
  created_at: string;
@@ -13421,6 +13685,7 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
13421
13685
  customer_name: string;
13422
13686
  deleted_at: string | null;
13423
13687
  delivery_date: string | null;
13688
+ floriday_order_group_key: string | null;
13424
13689
  floriday_sales_order_id: string | null;
13425
13690
  id: string;
13426
13691
  invoice_due_at: string | null;
@@ -13448,6 +13713,7 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
13448
13713
  customer_name?: string;
13449
13714
  deleted_at?: string | null;
13450
13715
  delivery_date?: string | null;
13716
+ floriday_order_group_key?: string | null;
13451
13717
  floriday_sales_order_id?: string | null;
13452
13718
  id?: string;
13453
13719
  invoice_due_at?: string | null;
@@ -13475,6 +13741,7 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
13475
13741
  customer_name?: string;
13476
13742
  deleted_at?: string | null;
13477
13743
  delivery_date?: string | null;
13744
+ floriday_order_group_key?: string | null;
13478
13745
  floriday_sales_order_id?: string | null;
13479
13746
  id?: string;
13480
13747
  invoice_due_at?: string | null;
@@ -13668,6 +13935,27 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
13668
13935
  };
13669
13936
  Relationships: [];
13670
13937
  };
13938
+ pick_buffer_event_cursor: {
13939
+ Row: {
13940
+ created_at: string;
13941
+ id: boolean;
13942
+ last_event_at: string;
13943
+ updated_at: string;
13944
+ };
13945
+ Insert: {
13946
+ created_at?: string;
13947
+ id?: boolean;
13948
+ last_event_at?: string;
13949
+ updated_at?: string;
13950
+ };
13951
+ Update: {
13952
+ created_at?: string;
13953
+ id?: boolean;
13954
+ last_event_at?: string;
13955
+ updated_at?: string;
13956
+ };
13957
+ Relationships: [];
13958
+ };
13671
13959
  pick_countries: {
13672
13960
  Row: {
13673
13961
  active: boolean;
@@ -19317,6 +19605,36 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
19317
19605
  referencedColumns: ["id"];
19318
19606
  }];
19319
19607
  };
19608
+ voorraad_buffer_state: {
19609
+ Row: {
19610
+ buffer_id: string;
19611
+ buffer_key: string | null;
19612
+ closed_at: string | null;
19613
+ created_at: string;
19614
+ detached_orders: import("../integrations/supabase/types").Json;
19615
+ reason: string | null;
19616
+ updated_at: string;
19617
+ };
19618
+ Insert: {
19619
+ buffer_id: string;
19620
+ buffer_key?: string | null;
19621
+ closed_at?: string | null;
19622
+ created_at?: string;
19623
+ detached_orders?: import("../integrations/supabase/types").Json;
19624
+ reason?: string | null;
19625
+ updated_at?: string;
19626
+ };
19627
+ Update: {
19628
+ buffer_id?: string;
19629
+ buffer_key?: string | null;
19630
+ closed_at?: string | null;
19631
+ created_at?: string;
19632
+ detached_orders?: import("../integrations/supabase/types").Json;
19633
+ reason?: string | null;
19634
+ updated_at?: string;
19635
+ };
19636
+ Relationships: [];
19637
+ };
19320
19638
  voorraad_custom_fields: {
19321
19639
  Row: {
19322
19640
  created_at: string;
@@ -19359,6 +19677,36 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
19359
19677
  };
19360
19678
  Relationships: [];
19361
19679
  };
19680
+ voorraad_logistics_event_log: {
19681
+ Row: {
19682
+ created_at: string;
19683
+ event_id: string;
19684
+ event_type: string;
19685
+ order_ref: string | null;
19686
+ processed_at: string;
19687
+ result: import("../integrations/supabase/types").Json;
19688
+ updated_at: string;
19689
+ };
19690
+ Insert: {
19691
+ created_at?: string;
19692
+ event_id: string;
19693
+ event_type: string;
19694
+ order_ref?: string | null;
19695
+ processed_at?: string;
19696
+ result?: import("../integrations/supabase/types").Json;
19697
+ updated_at?: string;
19698
+ };
19699
+ Update: {
19700
+ created_at?: string;
19701
+ event_id?: string;
19702
+ event_type?: string;
19703
+ order_ref?: string | null;
19704
+ processed_at?: string;
19705
+ result?: import("../integrations/supabase/types").Json;
19706
+ updated_at?: string;
19707
+ };
19708
+ Relationships: [];
19709
+ };
19362
19710
  voorraad_media_upload_failures: {
19363
19711
  Row: {
19364
19712
  action: string;
@@ -22184,6 +22532,17 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
22184
22532
  };
22185
22533
  Returns: boolean;
22186
22534
  };
22535
+ floriday_adopt_connection: {
22536
+ Args: {
22537
+ p_new: string;
22538
+ p_old: string;
22539
+ };
22540
+ Returns: import("../integrations/supabase/types").Json;
22541
+ };
22542
+ floriday_autoheal_connections: {
22543
+ Args: never;
22544
+ Returns: import("../integrations/supabase/types").Json;
22545
+ };
22187
22546
  floriday_capture_stock_snapshot: {
22188
22547
  Args: never;
22189
22548
  Returns: number;
@@ -22241,6 +22600,12 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
22241
22600
  };
22242
22601
  Returns: undefined;
22243
22602
  };
22603
+ floriday_relink_products: {
22604
+ Args: {
22605
+ p_connection_id?: string;
22606
+ };
22607
+ Returns: import("../integrations/supabase/types").Json;
22608
+ };
22244
22609
  floriday_requeue_dead_letters: {
22245
22610
  Args: {
22246
22611
  p_connection_id?: string;
@@ -22862,6 +23227,10 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
22862
23227
  };
22863
23228
  Returns: string;
22864
23229
  };
23230
+ logistics_active_layout_method: {
23231
+ Args: never;
23232
+ Returns: string;
23233
+ };
22865
23234
  logistics_active_pick_workdays: {
22866
23235
  Args: never;
22867
23236
  Returns: string[];
@@ -22969,6 +23338,15 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
22969
23338
  };
22970
23339
  Returns: boolean;
22971
23340
  };
23341
+ logistics_buffer_notify: {
23342
+ Args: {
23343
+ p_event_type: string;
23344
+ p_idempotency_key: string;
23345
+ p_order_ref: string;
23346
+ p_payload: import("../integrations/supabase/types").Json;
23347
+ };
23348
+ Returns: string;
23349
+ };
22972
23350
  logistics_buffer_open_key: {
22973
23351
  Args: {
22974
23352
  p_base_key: string;
@@ -23027,6 +23405,12 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
23027
23405
  };
23028
23406
  Returns: string;
23029
23407
  };
23408
+ logistics_cart_checkin_at: {
23409
+ Args: {
23410
+ p_cart_id: string;
23411
+ };
23412
+ Returns: string;
23413
+ };
23030
23414
  logistics_cart_handled: {
23031
23415
  Args: {
23032
23416
  p_cart_index: number;
@@ -23060,10 +23444,22 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
23060
23444
  task_status: string;
23061
23445
  }[];
23062
23446
  };
23447
+ logistics_cart_is_full: {
23448
+ Args: {
23449
+ p_cart_id: string;
23450
+ };
23451
+ Returns: boolean;
23452
+ };
23063
23453
  logistics_cart_layout_method: {
23064
23454
  Args: never;
23065
23455
  Returns: import("../integrations/supabase/types").Json;
23066
23456
  };
23457
+ logistics_cart_order_refs: {
23458
+ Args: {
23459
+ p_cart_id: string;
23460
+ };
23461
+ Returns: string[];
23462
+ };
23067
23463
  logistics_cart_plan_overview: {
23068
23464
  Args: {
23069
23465
  p_days?: number;
@@ -23083,6 +23479,18 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
23083
23479
  };
23084
23480
  Returns: import("../integrations/supabase/types").Json;
23085
23481
  };
23482
+ logistics_cart_release_reason: {
23483
+ Args: {
23484
+ p_cart_id: string;
23485
+ };
23486
+ Returns: string;
23487
+ };
23488
+ logistics_cart_released: {
23489
+ Args: {
23490
+ p_cart_id: string;
23491
+ };
23492
+ Returns: boolean;
23493
+ };
23086
23494
  logistics_cart_seq: {
23087
23495
  Args: {
23088
23496
  p_order_uuid?: string;
@@ -23236,6 +23644,10 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
23236
23644
  isSetofReturn: false;
23237
23645
  };
23238
23646
  };
23647
+ logistics_cleanup_orphan_print_jobs: {
23648
+ Args: never;
23649
+ Returns: import("../integrations/supabase/types").Json;
23650
+ };
23239
23651
  logistics_complete_task: {
23240
23652
  Args: {
23241
23653
  p_result?: import("../integrations/supabase/types").Json;
@@ -23298,6 +23710,12 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
23298
23710
  station_carts: number;
23299
23711
  }[];
23300
23712
  };
23713
+ logistics_control_complete_cart: {
23714
+ Args: {
23715
+ p_cart_id: string;
23716
+ };
23717
+ Returns: number;
23718
+ };
23301
23719
  logistics_control_scan_approve: {
23302
23720
  Args: {
23303
23721
  p_allow_reprint?: boolean;
@@ -23377,6 +23795,15 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
23377
23795
  Args: never;
23378
23796
  Returns: import("../integrations/supabase/types").Json;
23379
23797
  };
23798
+ logistics_day_windows: {
23799
+ Args: {
23800
+ p_day: string;
23801
+ };
23802
+ Returns: {
23803
+ win_end: string;
23804
+ win_start: string;
23805
+ }[];
23806
+ };
23380
23807
  logistics_delay_customer_email: {
23381
23808
  Args: {
23382
23809
  p_customer: string;
@@ -23444,6 +23871,17 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
23444
23871
  };
23445
23872
  Returns: import("../integrations/supabase/types").Json;
23446
23873
  };
23874
+ logistics_enqueue_shipping_note_with_slip: {
23875
+ Args: {
23876
+ _cart_id: string;
23877
+ _is_herprint: boolean;
23878
+ _printer_id: string;
23879
+ _queue_item_id: string;
23880
+ _session_id: string;
23881
+ _slip_job_id: string;
23882
+ };
23883
+ Returns: string;
23884
+ };
23447
23885
  logistics_enqueue_sticker_with_slip: {
23448
23886
  Args: {
23449
23887
  _cart_id: string;
@@ -23461,6 +23899,14 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
23461
23899
  };
23462
23900
  Returns: string;
23463
23901
  };
23902
+ logistics_ensure_pick_data: {
23903
+ Args: {
23904
+ p_event_id?: string;
23905
+ p_missing?: import("../integrations/supabase/types").Json;
23906
+ p_ref: string;
23907
+ };
23908
+ Returns: import("../integrations/supabase/types").Json;
23909
+ };
23464
23910
  logistics_fail_task: {
23465
23911
  Args: {
23466
23912
  p_error: string;
@@ -23582,6 +24028,38 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
23582
24028
  };
23583
24029
  Returns: string;
23584
24030
  };
24031
+ logistics_floriday_gate_status: {
24032
+ Args: never;
24033
+ Returns: import("../integrations/supabase/types").Json;
24034
+ };
24035
+ logistics_floriday_log_refusal: {
24036
+ Args: {
24037
+ _action?: string;
24038
+ _module?: string;
24039
+ _order_ref: string;
24040
+ _reason: string;
24041
+ _shell?: string;
24042
+ };
24043
+ Returns: undefined;
24044
+ };
24045
+ logistics_floriday_log_send: {
24046
+ Args: {
24047
+ _action: string;
24048
+ _detail?: string;
24049
+ _http_status?: number;
24050
+ _module?: string;
24051
+ _ok: boolean;
24052
+ _order_ref: string;
24053
+ _shell?: string;
24054
+ };
24055
+ Returns: undefined;
24056
+ };
24057
+ logistics_floriday_order_approved: {
24058
+ Args: {
24059
+ _order_ref: string;
24060
+ };
24061
+ Returns: boolean;
24062
+ };
23585
24063
  logistics_floriday_prune_pushes: {
23586
24064
  Args: {
23587
24065
  _days?: number;
@@ -23596,6 +24074,20 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
23596
24074
  };
23597
24075
  Returns: string;
23598
24076
  };
24077
+ logistics_floriday_status_updates_enabled: {
24078
+ Args: never;
24079
+ Returns: boolean;
24080
+ };
24081
+ logistics_floriday_stock_updates_enabled: {
24082
+ Args: never;
24083
+ Returns: boolean;
24084
+ };
24085
+ logistics_floriday_write_allowed: {
24086
+ Args: {
24087
+ _action: string;
24088
+ };
24089
+ Returns: boolean;
24090
+ };
23599
24091
  logistics_fulfill_barcode_requests: {
23600
24092
  Args: {
23601
24093
  p_limit?: number;
@@ -23616,6 +24108,16 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
23616
24108
  };
23617
24109
  Returns: boolean;
23618
24110
  };
24111
+ logistics_layout_method_status: {
24112
+ Args: never;
24113
+ Returns: import("../integrations/supabase/types").Json;
24114
+ };
24115
+ logistics_link_order_items: {
24116
+ Args: {
24117
+ p_order?: string;
24118
+ };
24119
+ Returns: import("../integrations/supabase/types").Json;
24120
+ };
23619
24121
  logistics_live_carriers: {
23620
24122
  Args: {
23621
24123
  p_order_ref: string;
@@ -23628,6 +24130,12 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
23628
24130
  };
23629
24131
  Returns: number;
23630
24132
  };
24133
+ logistics_merge_partial_carts: {
24134
+ Args: {
24135
+ p_limit?: number;
24136
+ };
24137
+ Returns: import("../integrations/supabase/types").Json;
24138
+ };
23631
24139
  logistics_next_workday_date: {
23632
24140
  Args: {
23633
24141
  p_date: string;
@@ -23642,12 +24150,22 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
23642
24150
  };
23643
24151
  Returns: string;
23644
24152
  };
24153
+ logistics_normalize_product_label: {
24154
+ Args: {
24155
+ p_label: string;
24156
+ };
24157
+ Returns: string;
24158
+ };
23645
24159
  logistics_not_past: {
23646
24160
  Args: {
23647
24161
  p_ts: string;
23648
24162
  };
23649
24163
  Returns: string;
23650
24164
  };
24165
+ logistics_opening_timezone: {
24166
+ Args: never;
24167
+ Returns: string;
24168
+ };
23651
24169
  logistics_order_cart_count: {
23652
24170
  Args: {
23653
24171
  p_order_ref: string;
@@ -23732,6 +24250,10 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
23732
24250
  Args: never;
23733
24251
  Returns: import("../integrations/supabase/types").Json;
23734
24252
  };
24253
+ logistics_pick_partial_mode: {
24254
+ Args: never;
24255
+ Returns: string;
24256
+ };
23735
24257
  logistics_pick_start_estimate: {
23736
24258
  Args: {
23737
24259
  p_order: import("../integrations/supabase/types").Json;
@@ -23843,6 +24365,12 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
23843
24365
  };
23844
24366
  Returns: number;
23845
24367
  };
24368
+ logistics_prepare_pick_documents: {
24369
+ Args: {
24370
+ p_limit?: number;
24371
+ };
24372
+ Returns: import("../integrations/supabase/types").Json;
24373
+ };
23846
24374
  logistics_prune_buffer_member_queue: {
23847
24375
  Args: never;
23848
24376
  Returns: number;
@@ -23883,12 +24411,30 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
23883
24411
  Args: never;
23884
24412
  Returns: import("../integrations/supabase/types").Json;
23885
24413
  };
24414
+ logistics_refresh_pick_queue_status: {
24415
+ Args: {
24416
+ p_ref: string;
24417
+ };
24418
+ Returns: number;
24419
+ };
23886
24420
  logistics_refresh_pickup_moments: {
23887
24421
  Args: {
23888
24422
  p_weeks?: number;
23889
24423
  };
23890
24424
  Returns: import("../integrations/supabase/types").Json;
23891
24425
  };
24426
+ logistics_replan_all: {
24427
+ Args: {
24428
+ p_reason?: string;
24429
+ };
24430
+ Returns: import("../integrations/supabase/types").Json;
24431
+ };
24432
+ logistics_replan_all_force: {
24433
+ Args: {
24434
+ p_reason?: string;
24435
+ };
24436
+ Returns: import("../integrations/supabase/types").Json;
24437
+ };
23892
24438
  logistics_report_delay: {
23893
24439
  Args: {
23894
24440
  p_expected_date?: string;
@@ -23942,6 +24488,12 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
23942
24488
  };
23943
24489
  Returns: import("../integrations/supabase/types").Json;
23944
24490
  };
24491
+ logistics_resolve_product_id: {
24492
+ Args: {
24493
+ p_label: string;
24494
+ };
24495
+ Returns: string;
24496
+ };
23945
24497
  logistics_resolve_settings: {
23946
24498
  Args: {
23947
24499
  p_config_id: string;
@@ -24027,6 +24579,10 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
24027
24579
  };
24028
24580
  Returns: string;
24029
24581
  };
24582
+ logistics_shipping_note_follows_slip: {
24583
+ Args: never;
24584
+ Returns: boolean;
24585
+ };
24030
24586
  logistics_shipping_note_from_barcode: {
24031
24587
  Args: {
24032
24588
  p_allow_reprint?: boolean;
@@ -24039,6 +24595,14 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
24039
24595
  Args: never;
24040
24596
  Returns: boolean;
24041
24597
  };
24598
+ logistics_subtract_working_minutes: {
24599
+ Args: {
24600
+ p_deadline: string;
24601
+ p_max_workdays?: number;
24602
+ p_minutes: number;
24603
+ };
24604
+ Returns: import("../integrations/supabase/types").Json;
24605
+ };
24042
24606
  logistics_supersede_stale_tasks: {
24043
24607
  Args: {
24044
24608
  p_keep: string[];
@@ -24075,6 +24639,12 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
24075
24639
  Args: never;
24076
24640
  Returns: string;
24077
24641
  };
24642
+ logistics_timezone_options: {
24643
+ Args: never;
24644
+ Returns: {
24645
+ name: string;
24646
+ }[];
24647
+ };
24078
24648
  logistics_upsert_task: {
24079
24649
  Args: {
24080
24650
  p_buffer_ref: string;
@@ -24094,6 +24664,16 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
24094
24664
  };
24095
24665
  Returns: string;
24096
24666
  };
24667
+ logistics_valid_timezone: {
24668
+ Args: {
24669
+ _tz: string;
24670
+ };
24671
+ Returns: boolean;
24672
+ };
24673
+ logistics_working_hours_status: {
24674
+ Args: never;
24675
+ Returns: import("../integrations/supabase/types").Json;
24676
+ };
24097
24677
  logistics_write_buffer_layer_positions: {
24098
24678
  Args: {
24099
24679
  p_buffer_id: string;
@@ -24259,6 +24839,10 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
24259
24839
  online: boolean;
24260
24840
  }[];
24261
24841
  };
24842
+ pick_apply_buffer_events: {
24843
+ Args: never;
24844
+ Returns: import("../integrations/supabase/types").Json;
24845
+ };
24262
24846
  pick_available_pick_days: {
24263
24847
  Args: {
24264
24848
  _max_days?: number;
@@ -25535,6 +26119,13 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
25535
26119
  };
25536
26120
  Returns: number;
25537
26121
  };
26122
+ schedule_floriday_catalog_prices_sync: {
26123
+ Args: {
26124
+ p_apikey: string;
26125
+ p_url: string;
26126
+ };
26127
+ Returns: number;
26128
+ };
25538
26129
  schedule_floriday_clock_presales_sync: {
25539
26130
  Args: {
25540
26131
  p_apikey: string;
@@ -25835,6 +26426,10 @@ export declare const listOverdueBalances: import("@tanstack/start-client-core").
25835
26426
  };
25836
26427
  Returns: undefined;
25837
26428
  };
26429
+ sync_floriday_prices_into_price_groups: {
26430
+ Args: never;
26431
+ Returns: number;
26432
+ };
25838
26433
  sync_layer_stock: {
25839
26434
  Args: {
25840
26435
  p_product_id: string;