@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
@@ -5810,6 +5810,84 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
5810
5810
  referencedColumns: ["id"];
5811
5811
  }];
5812
5812
  };
5813
+ floriday_catalog_prices_cache: {
5814
+ Row: {
5815
+ connection_id: string;
5816
+ created_at: string;
5817
+ currency: string;
5818
+ id: string;
5819
+ is_deleted: boolean;
5820
+ price: number | null;
5821
+ price_group_id: string | null;
5822
+ price_group_name: string | null;
5823
+ price_type: string;
5824
+ raw: import("../integrations/supabase/types").Json | null;
5825
+ sales_unit: string | null;
5826
+ sequence_number: number;
5827
+ supplier_article_code: string | null;
5828
+ supply_line_id: string;
5829
+ synced_at: string;
5830
+ trade_item_id: string | null;
5831
+ updated_at: string;
5832
+ valid_from: string | null;
5833
+ valid_to: string | null;
5834
+ week: number | null;
5835
+ year: number | null;
5836
+ };
5837
+ Insert: {
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
+ Update: {
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
+ Relationships: [{
5884
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
5885
+ columns: ["connection_id"];
5886
+ isOneToOne: false;
5887
+ referencedRelation: "floriday_connections";
5888
+ referencedColumns: ["id"];
5889
+ }];
5890
+ };
5813
5891
  floriday_clock_presales_cache: {
5814
5892
  Row: {
5815
5893
  buyer_organization_id: string | null;
@@ -10076,6 +10154,36 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
10076
10154
  };
10077
10155
  Relationships: [];
10078
10156
  };
10157
+ logistics_floriday_push_refusals: {
10158
+ Row: {
10159
+ action: string | null;
10160
+ created_at: string;
10161
+ id: string;
10162
+ order_ref: string;
10163
+ reason: string;
10164
+ source_module: string | null;
10165
+ source_shell: string | null;
10166
+ };
10167
+ Insert: {
10168
+ action?: string | null;
10169
+ created_at?: string;
10170
+ id?: string;
10171
+ order_ref: string;
10172
+ reason: string;
10173
+ source_module?: string | null;
10174
+ source_shell?: string | null;
10175
+ };
10176
+ Update: {
10177
+ action?: string | null;
10178
+ created_at?: string;
10179
+ id?: string;
10180
+ order_ref?: string;
10181
+ reason?: string;
10182
+ source_module?: string | null;
10183
+ source_shell?: string | null;
10184
+ };
10185
+ Relationships: [];
10186
+ };
10079
10187
  logistics_floriday_pushes: {
10080
10188
  Row: {
10081
10189
  attempts: number;
@@ -10151,6 +10259,42 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
10151
10259
  };
10152
10260
  Relationships: [];
10153
10261
  };
10262
+ logistics_floriday_status_sends: {
10263
+ Row: {
10264
+ action: string;
10265
+ created_at: string;
10266
+ detail: string | null;
10267
+ http_status: number | null;
10268
+ id: string;
10269
+ ok: boolean;
10270
+ order_ref: string;
10271
+ source_module: string | null;
10272
+ source_shell: string | null;
10273
+ };
10274
+ Insert: {
10275
+ action: string;
10276
+ created_at?: string;
10277
+ detail?: string | null;
10278
+ http_status?: number | null;
10279
+ id?: string;
10280
+ ok?: boolean;
10281
+ order_ref: string;
10282
+ source_module?: string | null;
10283
+ source_shell?: string | null;
10284
+ };
10285
+ Update: {
10286
+ action?: string;
10287
+ created_at?: string;
10288
+ detail?: string | null;
10289
+ http_status?: number | null;
10290
+ id?: string;
10291
+ ok?: boolean;
10292
+ order_ref?: string;
10293
+ source_module?: string | null;
10294
+ source_shell?: string | null;
10295
+ };
10296
+ Relationships: [];
10297
+ };
10154
10298
  logistics_formulas: {
10155
10299
  Row: {
10156
10300
  created_at: string;
@@ -10223,6 +10367,108 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
10223
10367
  };
10224
10368
  Relationships: [];
10225
10369
  };
10370
+ logistics_opening_exceptions: {
10371
+ Row: {
10372
+ closes: string | null;
10373
+ created_at: string;
10374
+ day: string;
10375
+ id: string;
10376
+ is_closed: boolean;
10377
+ note: string | null;
10378
+ opens: string | null;
10379
+ };
10380
+ Insert: {
10381
+ closes?: string | null;
10382
+ created_at?: string;
10383
+ day: string;
10384
+ id?: string;
10385
+ is_closed?: boolean;
10386
+ note?: string | null;
10387
+ opens?: string | null;
10388
+ };
10389
+ Update: {
10390
+ closes?: string | null;
10391
+ created_at?: string;
10392
+ day?: string;
10393
+ id?: string;
10394
+ is_closed?: boolean;
10395
+ note?: string | null;
10396
+ opens?: string | null;
10397
+ };
10398
+ Relationships: [];
10399
+ };
10400
+ logistics_opening_hours: {
10401
+ Row: {
10402
+ closes: string;
10403
+ created_at: string;
10404
+ id: string;
10405
+ is_active: boolean;
10406
+ note: string | null;
10407
+ opens: string;
10408
+ weekday: number;
10409
+ };
10410
+ Insert: {
10411
+ closes: string;
10412
+ created_at?: string;
10413
+ id?: string;
10414
+ is_active?: boolean;
10415
+ note?: string | null;
10416
+ opens: string;
10417
+ weekday: number;
10418
+ };
10419
+ Update: {
10420
+ closes?: string;
10421
+ created_at?: string;
10422
+ id?: string;
10423
+ is_active?: boolean;
10424
+ note?: string | null;
10425
+ opens?: string;
10426
+ weekday?: number;
10427
+ };
10428
+ Relationships: [];
10429
+ };
10430
+ logistics_pick_data_requests: {
10431
+ Row: {
10432
+ actions: import("../integrations/supabase/types").Json;
10433
+ created_at: string;
10434
+ event_id: string | null;
10435
+ finished_at: string | null;
10436
+ id: string;
10437
+ missing: import("../integrations/supabase/types").Json;
10438
+ order_ref: string;
10439
+ reason: string | null;
10440
+ result: import("../integrations/supabase/types").Json | null;
10441
+ status: string;
10442
+ unit_ref: string | null;
10443
+ };
10444
+ Insert: {
10445
+ actions?: import("../integrations/supabase/types").Json;
10446
+ created_at?: string;
10447
+ event_id?: string | null;
10448
+ finished_at?: string | null;
10449
+ id?: string;
10450
+ missing?: import("../integrations/supabase/types").Json;
10451
+ order_ref: string;
10452
+ reason?: string | null;
10453
+ result?: import("../integrations/supabase/types").Json | null;
10454
+ status?: string;
10455
+ unit_ref?: string | null;
10456
+ };
10457
+ Update: {
10458
+ actions?: import("../integrations/supabase/types").Json;
10459
+ created_at?: string;
10460
+ event_id?: string | null;
10461
+ finished_at?: string | null;
10462
+ id?: string;
10463
+ missing?: import("../integrations/supabase/types").Json;
10464
+ order_ref?: string;
10465
+ reason?: string | null;
10466
+ result?: import("../integrations/supabase/types").Json | null;
10467
+ status?: string;
10468
+ unit_ref?: string | null;
10469
+ };
10470
+ Relationships: [];
10471
+ };
10226
10472
  logistics_pickup_moments: {
10227
10473
  Row: {
10228
10474
  carrier_ref: string | null;
@@ -11015,6 +11261,24 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
11015
11261
  };
11016
11262
  Relationships: [];
11017
11263
  };
11264
+ logistics_time_settings: {
11265
+ Row: {
11266
+ id: boolean;
11267
+ timezone: string;
11268
+ updated_at: string;
11269
+ };
11270
+ Insert: {
11271
+ id?: boolean;
11272
+ timezone: string;
11273
+ updated_at?: string;
11274
+ };
11275
+ Update: {
11276
+ id?: boolean;
11277
+ timezone?: string;
11278
+ updated_at?: string;
11279
+ };
11280
+ Relationships: [];
11281
+ };
11018
11282
  logistics_variables: {
11019
11283
  Row: {
11020
11284
  created_at: string;
@@ -13405,6 +13669,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
13405
13669
  customer_name: string;
13406
13670
  deleted_at: string | null;
13407
13671
  delivery_date: string | null;
13672
+ floriday_order_group_key: string | null;
13408
13673
  floriday_sales_order_id: string | null;
13409
13674
  id: string;
13410
13675
  invoice_due_at: string | null;
@@ -13432,6 +13697,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
13432
13697
  customer_name?: string;
13433
13698
  deleted_at?: string | null;
13434
13699
  delivery_date?: string | null;
13700
+ floriday_order_group_key?: string | null;
13435
13701
  floriday_sales_order_id?: string | null;
13436
13702
  id?: string;
13437
13703
  invoice_due_at?: string | null;
@@ -13459,6 +13725,7 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
13459
13725
  customer_name?: string;
13460
13726
  deleted_at?: string | null;
13461
13727
  delivery_date?: string | null;
13728
+ floriday_order_group_key?: string | null;
13462
13729
  floriday_sales_order_id?: string | null;
13463
13730
  id?: string;
13464
13731
  invoice_due_at?: string | null;
@@ -13652,6 +13919,27 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
13652
13919
  };
13653
13920
  Relationships: [];
13654
13921
  };
13922
+ pick_buffer_event_cursor: {
13923
+ Row: {
13924
+ created_at: string;
13925
+ id: boolean;
13926
+ last_event_at: string;
13927
+ updated_at: string;
13928
+ };
13929
+ Insert: {
13930
+ created_at?: string;
13931
+ id?: boolean;
13932
+ last_event_at?: string;
13933
+ updated_at?: string;
13934
+ };
13935
+ Update: {
13936
+ created_at?: string;
13937
+ id?: boolean;
13938
+ last_event_at?: string;
13939
+ updated_at?: string;
13940
+ };
13941
+ Relationships: [];
13942
+ };
13655
13943
  pick_countries: {
13656
13944
  Row: {
13657
13945
  active: boolean;
@@ -19301,6 +19589,36 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
19301
19589
  referencedColumns: ["id"];
19302
19590
  }];
19303
19591
  };
19592
+ voorraad_buffer_state: {
19593
+ Row: {
19594
+ buffer_id: string;
19595
+ buffer_key: string | null;
19596
+ closed_at: string | null;
19597
+ created_at: string;
19598
+ detached_orders: import("../integrations/supabase/types").Json;
19599
+ reason: string | null;
19600
+ updated_at: string;
19601
+ };
19602
+ Insert: {
19603
+ buffer_id: string;
19604
+ buffer_key?: string | null;
19605
+ closed_at?: string | null;
19606
+ created_at?: string;
19607
+ detached_orders?: import("../integrations/supabase/types").Json;
19608
+ reason?: string | null;
19609
+ updated_at?: string;
19610
+ };
19611
+ Update: {
19612
+ buffer_id?: string;
19613
+ buffer_key?: string | null;
19614
+ closed_at?: string | null;
19615
+ created_at?: string;
19616
+ detached_orders?: import("../integrations/supabase/types").Json;
19617
+ reason?: string | null;
19618
+ updated_at?: string;
19619
+ };
19620
+ Relationships: [];
19621
+ };
19304
19622
  voorraad_custom_fields: {
19305
19623
  Row: {
19306
19624
  created_at: string;
@@ -19343,6 +19661,36 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
19343
19661
  };
19344
19662
  Relationships: [];
19345
19663
  };
19664
+ voorraad_logistics_event_log: {
19665
+ Row: {
19666
+ created_at: string;
19667
+ event_id: string;
19668
+ event_type: string;
19669
+ order_ref: string | null;
19670
+ processed_at: string;
19671
+ result: import("../integrations/supabase/types").Json;
19672
+ updated_at: string;
19673
+ };
19674
+ Insert: {
19675
+ created_at?: string;
19676
+ event_id: string;
19677
+ event_type: string;
19678
+ order_ref?: string | null;
19679
+ processed_at?: string;
19680
+ result?: import("../integrations/supabase/types").Json;
19681
+ updated_at?: string;
19682
+ };
19683
+ Update: {
19684
+ created_at?: string;
19685
+ event_id?: string;
19686
+ event_type?: string;
19687
+ order_ref?: string | null;
19688
+ processed_at?: string;
19689
+ result?: import("../integrations/supabase/types").Json;
19690
+ updated_at?: string;
19691
+ };
19692
+ Relationships: [];
19693
+ };
19346
19694
  voorraad_media_upload_failures: {
19347
19695
  Row: {
19348
19696
  action: string;
@@ -22168,6 +22516,17 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
22168
22516
  };
22169
22517
  Returns: boolean;
22170
22518
  };
22519
+ floriday_adopt_connection: {
22520
+ Args: {
22521
+ p_new: string;
22522
+ p_old: string;
22523
+ };
22524
+ Returns: import("../integrations/supabase/types").Json;
22525
+ };
22526
+ floriday_autoheal_connections: {
22527
+ Args: never;
22528
+ Returns: import("../integrations/supabase/types").Json;
22529
+ };
22171
22530
  floriday_capture_stock_snapshot: {
22172
22531
  Args: never;
22173
22532
  Returns: number;
@@ -22225,6 +22584,12 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
22225
22584
  };
22226
22585
  Returns: undefined;
22227
22586
  };
22587
+ floriday_relink_products: {
22588
+ Args: {
22589
+ p_connection_id?: string;
22590
+ };
22591
+ Returns: import("../integrations/supabase/types").Json;
22592
+ };
22228
22593
  floriday_requeue_dead_letters: {
22229
22594
  Args: {
22230
22595
  p_connection_id?: string;
@@ -22846,6 +23211,10 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
22846
23211
  };
22847
23212
  Returns: string;
22848
23213
  };
23214
+ logistics_active_layout_method: {
23215
+ Args: never;
23216
+ Returns: string;
23217
+ };
22849
23218
  logistics_active_pick_workdays: {
22850
23219
  Args: never;
22851
23220
  Returns: string[];
@@ -22953,6 +23322,15 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
22953
23322
  };
22954
23323
  Returns: boolean;
22955
23324
  };
23325
+ logistics_buffer_notify: {
23326
+ Args: {
23327
+ p_event_type: string;
23328
+ p_idempotency_key: string;
23329
+ p_order_ref: string;
23330
+ p_payload: import("../integrations/supabase/types").Json;
23331
+ };
23332
+ Returns: string;
23333
+ };
22956
23334
  logistics_buffer_open_key: {
22957
23335
  Args: {
22958
23336
  p_base_key: string;
@@ -23011,6 +23389,12 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
23011
23389
  };
23012
23390
  Returns: string;
23013
23391
  };
23392
+ logistics_cart_checkin_at: {
23393
+ Args: {
23394
+ p_cart_id: string;
23395
+ };
23396
+ Returns: string;
23397
+ };
23014
23398
  logistics_cart_handled: {
23015
23399
  Args: {
23016
23400
  p_cart_index: number;
@@ -23044,10 +23428,22 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
23044
23428
  task_status: string;
23045
23429
  }[];
23046
23430
  };
23431
+ logistics_cart_is_full: {
23432
+ Args: {
23433
+ p_cart_id: string;
23434
+ };
23435
+ Returns: boolean;
23436
+ };
23047
23437
  logistics_cart_layout_method: {
23048
23438
  Args: never;
23049
23439
  Returns: import("../integrations/supabase/types").Json;
23050
23440
  };
23441
+ logistics_cart_order_refs: {
23442
+ Args: {
23443
+ p_cart_id: string;
23444
+ };
23445
+ Returns: string[];
23446
+ };
23051
23447
  logistics_cart_plan_overview: {
23052
23448
  Args: {
23053
23449
  p_days?: number;
@@ -23067,6 +23463,18 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
23067
23463
  };
23068
23464
  Returns: import("../integrations/supabase/types").Json;
23069
23465
  };
23466
+ logistics_cart_release_reason: {
23467
+ Args: {
23468
+ p_cart_id: string;
23469
+ };
23470
+ Returns: string;
23471
+ };
23472
+ logistics_cart_released: {
23473
+ Args: {
23474
+ p_cart_id: string;
23475
+ };
23476
+ Returns: boolean;
23477
+ };
23070
23478
  logistics_cart_seq: {
23071
23479
  Args: {
23072
23480
  p_order_uuid?: string;
@@ -23220,6 +23628,10 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
23220
23628
  isSetofReturn: false;
23221
23629
  };
23222
23630
  };
23631
+ logistics_cleanup_orphan_print_jobs: {
23632
+ Args: never;
23633
+ Returns: import("../integrations/supabase/types").Json;
23634
+ };
23223
23635
  logistics_complete_task: {
23224
23636
  Args: {
23225
23637
  p_result?: import("../integrations/supabase/types").Json;
@@ -23282,6 +23694,12 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
23282
23694
  station_carts: number;
23283
23695
  }[];
23284
23696
  };
23697
+ logistics_control_complete_cart: {
23698
+ Args: {
23699
+ p_cart_id: string;
23700
+ };
23701
+ Returns: number;
23702
+ };
23285
23703
  logistics_control_scan_approve: {
23286
23704
  Args: {
23287
23705
  p_allow_reprint?: boolean;
@@ -23361,6 +23779,15 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
23361
23779
  Args: never;
23362
23780
  Returns: import("../integrations/supabase/types").Json;
23363
23781
  };
23782
+ logistics_day_windows: {
23783
+ Args: {
23784
+ p_day: string;
23785
+ };
23786
+ Returns: {
23787
+ win_end: string;
23788
+ win_start: string;
23789
+ }[];
23790
+ };
23364
23791
  logistics_delay_customer_email: {
23365
23792
  Args: {
23366
23793
  p_customer: string;
@@ -23428,6 +23855,17 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
23428
23855
  };
23429
23856
  Returns: import("../integrations/supabase/types").Json;
23430
23857
  };
23858
+ logistics_enqueue_shipping_note_with_slip: {
23859
+ Args: {
23860
+ _cart_id: string;
23861
+ _is_herprint: boolean;
23862
+ _printer_id: string;
23863
+ _queue_item_id: string;
23864
+ _session_id: string;
23865
+ _slip_job_id: string;
23866
+ };
23867
+ Returns: string;
23868
+ };
23431
23869
  logistics_enqueue_sticker_with_slip: {
23432
23870
  Args: {
23433
23871
  _cart_id: string;
@@ -23445,6 +23883,14 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
23445
23883
  };
23446
23884
  Returns: string;
23447
23885
  };
23886
+ logistics_ensure_pick_data: {
23887
+ Args: {
23888
+ p_event_id?: string;
23889
+ p_missing?: import("../integrations/supabase/types").Json;
23890
+ p_ref: string;
23891
+ };
23892
+ Returns: import("../integrations/supabase/types").Json;
23893
+ };
23448
23894
  logistics_fail_task: {
23449
23895
  Args: {
23450
23896
  p_error: string;
@@ -23566,6 +24012,38 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
23566
24012
  };
23567
24013
  Returns: string;
23568
24014
  };
24015
+ logistics_floriday_gate_status: {
24016
+ Args: never;
24017
+ Returns: import("../integrations/supabase/types").Json;
24018
+ };
24019
+ logistics_floriday_log_refusal: {
24020
+ Args: {
24021
+ _action?: string;
24022
+ _module?: string;
24023
+ _order_ref: string;
24024
+ _reason: string;
24025
+ _shell?: string;
24026
+ };
24027
+ Returns: undefined;
24028
+ };
24029
+ logistics_floriday_log_send: {
24030
+ Args: {
24031
+ _action: string;
24032
+ _detail?: string;
24033
+ _http_status?: number;
24034
+ _module?: string;
24035
+ _ok: boolean;
24036
+ _order_ref: string;
24037
+ _shell?: string;
24038
+ };
24039
+ Returns: undefined;
24040
+ };
24041
+ logistics_floriday_order_approved: {
24042
+ Args: {
24043
+ _order_ref: string;
24044
+ };
24045
+ Returns: boolean;
24046
+ };
23569
24047
  logistics_floriday_prune_pushes: {
23570
24048
  Args: {
23571
24049
  _days?: number;
@@ -23580,6 +24058,20 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
23580
24058
  };
23581
24059
  Returns: string;
23582
24060
  };
24061
+ logistics_floriday_status_updates_enabled: {
24062
+ Args: never;
24063
+ Returns: boolean;
24064
+ };
24065
+ logistics_floriday_stock_updates_enabled: {
24066
+ Args: never;
24067
+ Returns: boolean;
24068
+ };
24069
+ logistics_floriday_write_allowed: {
24070
+ Args: {
24071
+ _action: string;
24072
+ };
24073
+ Returns: boolean;
24074
+ };
23583
24075
  logistics_fulfill_barcode_requests: {
23584
24076
  Args: {
23585
24077
  p_limit?: number;
@@ -23600,6 +24092,16 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
23600
24092
  };
23601
24093
  Returns: boolean;
23602
24094
  };
24095
+ logistics_layout_method_status: {
24096
+ Args: never;
24097
+ Returns: import("../integrations/supabase/types").Json;
24098
+ };
24099
+ logistics_link_order_items: {
24100
+ Args: {
24101
+ p_order?: string;
24102
+ };
24103
+ Returns: import("../integrations/supabase/types").Json;
24104
+ };
23603
24105
  logistics_live_carriers: {
23604
24106
  Args: {
23605
24107
  p_order_ref: string;
@@ -23612,6 +24114,12 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
23612
24114
  };
23613
24115
  Returns: number;
23614
24116
  };
24117
+ logistics_merge_partial_carts: {
24118
+ Args: {
24119
+ p_limit?: number;
24120
+ };
24121
+ Returns: import("../integrations/supabase/types").Json;
24122
+ };
23615
24123
  logistics_next_workday_date: {
23616
24124
  Args: {
23617
24125
  p_date: string;
@@ -23626,12 +24134,22 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
23626
24134
  };
23627
24135
  Returns: string;
23628
24136
  };
24137
+ logistics_normalize_product_label: {
24138
+ Args: {
24139
+ p_label: string;
24140
+ };
24141
+ Returns: string;
24142
+ };
23629
24143
  logistics_not_past: {
23630
24144
  Args: {
23631
24145
  p_ts: string;
23632
24146
  };
23633
24147
  Returns: string;
23634
24148
  };
24149
+ logistics_opening_timezone: {
24150
+ Args: never;
24151
+ Returns: string;
24152
+ };
23635
24153
  logistics_order_cart_count: {
23636
24154
  Args: {
23637
24155
  p_order_ref: string;
@@ -23716,6 +24234,10 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
23716
24234
  Args: never;
23717
24235
  Returns: import("../integrations/supabase/types").Json;
23718
24236
  };
24237
+ logistics_pick_partial_mode: {
24238
+ Args: never;
24239
+ Returns: string;
24240
+ };
23719
24241
  logistics_pick_start_estimate: {
23720
24242
  Args: {
23721
24243
  p_order: import("../integrations/supabase/types").Json;
@@ -23827,6 +24349,12 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
23827
24349
  };
23828
24350
  Returns: number;
23829
24351
  };
24352
+ logistics_prepare_pick_documents: {
24353
+ Args: {
24354
+ p_limit?: number;
24355
+ };
24356
+ Returns: import("../integrations/supabase/types").Json;
24357
+ };
23830
24358
  logistics_prune_buffer_member_queue: {
23831
24359
  Args: never;
23832
24360
  Returns: number;
@@ -23867,12 +24395,30 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
23867
24395
  Args: never;
23868
24396
  Returns: import("../integrations/supabase/types").Json;
23869
24397
  };
24398
+ logistics_refresh_pick_queue_status: {
24399
+ Args: {
24400
+ p_ref: string;
24401
+ };
24402
+ Returns: number;
24403
+ };
23870
24404
  logistics_refresh_pickup_moments: {
23871
24405
  Args: {
23872
24406
  p_weeks?: number;
23873
24407
  };
23874
24408
  Returns: import("../integrations/supabase/types").Json;
23875
24409
  };
24410
+ logistics_replan_all: {
24411
+ Args: {
24412
+ p_reason?: string;
24413
+ };
24414
+ Returns: import("../integrations/supabase/types").Json;
24415
+ };
24416
+ logistics_replan_all_force: {
24417
+ Args: {
24418
+ p_reason?: string;
24419
+ };
24420
+ Returns: import("../integrations/supabase/types").Json;
24421
+ };
23876
24422
  logistics_report_delay: {
23877
24423
  Args: {
23878
24424
  p_expected_date?: string;
@@ -23926,6 +24472,12 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
23926
24472
  };
23927
24473
  Returns: import("../integrations/supabase/types").Json;
23928
24474
  };
24475
+ logistics_resolve_product_id: {
24476
+ Args: {
24477
+ p_label: string;
24478
+ };
24479
+ Returns: string;
24480
+ };
23929
24481
  logistics_resolve_settings: {
23930
24482
  Args: {
23931
24483
  p_config_id: string;
@@ -24011,6 +24563,10 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
24011
24563
  };
24012
24564
  Returns: string;
24013
24565
  };
24566
+ logistics_shipping_note_follows_slip: {
24567
+ Args: never;
24568
+ Returns: boolean;
24569
+ };
24014
24570
  logistics_shipping_note_from_barcode: {
24015
24571
  Args: {
24016
24572
  p_allow_reprint?: boolean;
@@ -24023,6 +24579,14 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
24023
24579
  Args: never;
24024
24580
  Returns: boolean;
24025
24581
  };
24582
+ logistics_subtract_working_minutes: {
24583
+ Args: {
24584
+ p_deadline: string;
24585
+ p_max_workdays?: number;
24586
+ p_minutes: number;
24587
+ };
24588
+ Returns: import("../integrations/supabase/types").Json;
24589
+ };
24026
24590
  logistics_supersede_stale_tasks: {
24027
24591
  Args: {
24028
24592
  p_keep: string[];
@@ -24059,6 +24623,12 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
24059
24623
  Args: never;
24060
24624
  Returns: string;
24061
24625
  };
24626
+ logistics_timezone_options: {
24627
+ Args: never;
24628
+ Returns: {
24629
+ name: string;
24630
+ }[];
24631
+ };
24062
24632
  logistics_upsert_task: {
24063
24633
  Args: {
24064
24634
  p_buffer_ref: string;
@@ -24078,6 +24648,16 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
24078
24648
  };
24079
24649
  Returns: string;
24080
24650
  };
24651
+ logistics_valid_timezone: {
24652
+ Args: {
24653
+ _tz: string;
24654
+ };
24655
+ Returns: boolean;
24656
+ };
24657
+ logistics_working_hours_status: {
24658
+ Args: never;
24659
+ Returns: import("../integrations/supabase/types").Json;
24660
+ };
24081
24661
  logistics_write_buffer_layer_positions: {
24082
24662
  Args: {
24083
24663
  p_buffer_id: string;
@@ -24243,6 +24823,10 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
24243
24823
  online: boolean;
24244
24824
  }[];
24245
24825
  };
24826
+ pick_apply_buffer_events: {
24827
+ Args: never;
24828
+ Returns: import("../integrations/supabase/types").Json;
24829
+ };
24246
24830
  pick_available_pick_days: {
24247
24831
  Args: {
24248
24832
  _max_days?: number;
@@ -25519,6 +26103,13 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
25519
26103
  };
25520
26104
  Returns: number;
25521
26105
  };
26106
+ schedule_floriday_catalog_prices_sync: {
26107
+ Args: {
26108
+ p_apikey: string;
26109
+ p_url: string;
26110
+ };
26111
+ Returns: number;
26112
+ };
25522
26113
  schedule_floriday_clock_presales_sync: {
25523
26114
  Args: {
25524
26115
  p_apikey: string;
@@ -25819,6 +26410,10 @@ export declare const listAccountingProviders: import("@tanstack/start-client-cor
25819
26410
  };
25820
26411
  Returns: undefined;
25821
26412
  };
26413
+ sync_floriday_prices_into_price_groups: {
26414
+ Args: never;
26415
+ Returns: number;
26416
+ };
25822
26417
  sync_layer_stock: {
25823
26418
  Args: {
25824
26419
  p_product_id: string;
@@ -31833,6 +32428,84 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
31833
32428
  referencedColumns: ["id"];
31834
32429
  }];
31835
32430
  };
32431
+ floriday_catalog_prices_cache: {
32432
+ Row: {
32433
+ connection_id: string;
32434
+ created_at: string;
32435
+ currency: string;
32436
+ id: string;
32437
+ is_deleted: boolean;
32438
+ price: number | null;
32439
+ price_group_id: string | null;
32440
+ price_group_name: string | null;
32441
+ price_type: string;
32442
+ raw: import("../integrations/supabase/types").Json | null;
32443
+ sales_unit: string | null;
32444
+ sequence_number: number;
32445
+ supplier_article_code: string | null;
32446
+ supply_line_id: string;
32447
+ synced_at: string;
32448
+ trade_item_id: string | null;
32449
+ updated_at: string;
32450
+ valid_from: string | null;
32451
+ valid_to: string | null;
32452
+ week: number | null;
32453
+ year: number | null;
32454
+ };
32455
+ Insert: {
32456
+ connection_id: string;
32457
+ created_at?: string;
32458
+ currency?: string;
32459
+ id?: string;
32460
+ is_deleted?: boolean;
32461
+ price?: number | null;
32462
+ price_group_id?: string | null;
32463
+ price_group_name?: string | null;
32464
+ price_type?: string;
32465
+ raw?: import("../integrations/supabase/types").Json | null;
32466
+ sales_unit?: string | null;
32467
+ sequence_number?: number;
32468
+ supplier_article_code?: string | null;
32469
+ supply_line_id: string;
32470
+ synced_at?: string;
32471
+ trade_item_id?: string | null;
32472
+ updated_at?: string;
32473
+ valid_from?: string | null;
32474
+ valid_to?: string | null;
32475
+ week?: number | null;
32476
+ year?: number | null;
32477
+ };
32478
+ Update: {
32479
+ connection_id?: string;
32480
+ created_at?: string;
32481
+ currency?: string;
32482
+ id?: string;
32483
+ is_deleted?: boolean;
32484
+ price?: number | null;
32485
+ price_group_id?: string | null;
32486
+ price_group_name?: string | null;
32487
+ price_type?: string;
32488
+ raw?: import("../integrations/supabase/types").Json | null;
32489
+ sales_unit?: string | null;
32490
+ sequence_number?: number;
32491
+ supplier_article_code?: string | null;
32492
+ supply_line_id?: string;
32493
+ synced_at?: string;
32494
+ trade_item_id?: string | null;
32495
+ updated_at?: string;
32496
+ valid_from?: string | null;
32497
+ valid_to?: string | null;
32498
+ week?: number | null;
32499
+ year?: number | null;
32500
+ };
32501
+ Relationships: [{
32502
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
32503
+ columns: ["connection_id"];
32504
+ isOneToOne: false;
32505
+ referencedRelation: "floriday_connections";
32506
+ referencedColumns: ["id"];
32507
+ }];
32508
+ };
31836
32509
  floriday_clock_presales_cache: {
31837
32510
  Row: {
31838
32511
  buyer_organization_id: string | null;
@@ -36099,6 +36772,36 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
36099
36772
  };
36100
36773
  Relationships: [];
36101
36774
  };
36775
+ logistics_floriday_push_refusals: {
36776
+ Row: {
36777
+ action: string | null;
36778
+ created_at: string;
36779
+ id: string;
36780
+ order_ref: string;
36781
+ reason: string;
36782
+ source_module: string | null;
36783
+ source_shell: string | null;
36784
+ };
36785
+ Insert: {
36786
+ action?: string | null;
36787
+ created_at?: string;
36788
+ id?: string;
36789
+ order_ref: string;
36790
+ reason: string;
36791
+ source_module?: string | null;
36792
+ source_shell?: string | null;
36793
+ };
36794
+ Update: {
36795
+ action?: string | null;
36796
+ created_at?: string;
36797
+ id?: string;
36798
+ order_ref?: string;
36799
+ reason?: string;
36800
+ source_module?: string | null;
36801
+ source_shell?: string | null;
36802
+ };
36803
+ Relationships: [];
36804
+ };
36102
36805
  logistics_floriday_pushes: {
36103
36806
  Row: {
36104
36807
  attempts: number;
@@ -36174,6 +36877,42 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
36174
36877
  };
36175
36878
  Relationships: [];
36176
36879
  };
36880
+ logistics_floriday_status_sends: {
36881
+ Row: {
36882
+ action: string;
36883
+ created_at: string;
36884
+ detail: string | null;
36885
+ http_status: number | null;
36886
+ id: string;
36887
+ ok: boolean;
36888
+ order_ref: string;
36889
+ source_module: string | null;
36890
+ source_shell: string | null;
36891
+ };
36892
+ Insert: {
36893
+ action: string;
36894
+ created_at?: string;
36895
+ detail?: string | null;
36896
+ http_status?: number | null;
36897
+ id?: string;
36898
+ ok?: boolean;
36899
+ order_ref: string;
36900
+ source_module?: string | null;
36901
+ source_shell?: string | null;
36902
+ };
36903
+ Update: {
36904
+ action?: string;
36905
+ created_at?: string;
36906
+ detail?: string | null;
36907
+ http_status?: number | null;
36908
+ id?: string;
36909
+ ok?: boolean;
36910
+ order_ref?: string;
36911
+ source_module?: string | null;
36912
+ source_shell?: string | null;
36913
+ };
36914
+ Relationships: [];
36915
+ };
36177
36916
  logistics_formulas: {
36178
36917
  Row: {
36179
36918
  created_at: string;
@@ -36246,6 +36985,108 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
36246
36985
  };
36247
36986
  Relationships: [];
36248
36987
  };
36988
+ logistics_opening_exceptions: {
36989
+ Row: {
36990
+ closes: string | null;
36991
+ created_at: string;
36992
+ day: string;
36993
+ id: string;
36994
+ is_closed: boolean;
36995
+ note: string | null;
36996
+ opens: string | null;
36997
+ };
36998
+ Insert: {
36999
+ closes?: string | null;
37000
+ created_at?: string;
37001
+ day: string;
37002
+ id?: string;
37003
+ is_closed?: boolean;
37004
+ note?: string | null;
37005
+ opens?: string | null;
37006
+ };
37007
+ Update: {
37008
+ closes?: string | null;
37009
+ created_at?: string;
37010
+ day?: string;
37011
+ id?: string;
37012
+ is_closed?: boolean;
37013
+ note?: string | null;
37014
+ opens?: string | null;
37015
+ };
37016
+ Relationships: [];
37017
+ };
37018
+ logistics_opening_hours: {
37019
+ Row: {
37020
+ closes: string;
37021
+ created_at: string;
37022
+ id: string;
37023
+ is_active: boolean;
37024
+ note: string | null;
37025
+ opens: string;
37026
+ weekday: number;
37027
+ };
37028
+ Insert: {
37029
+ closes: string;
37030
+ created_at?: string;
37031
+ id?: string;
37032
+ is_active?: boolean;
37033
+ note?: string | null;
37034
+ opens: string;
37035
+ weekday: number;
37036
+ };
37037
+ Update: {
37038
+ closes?: string;
37039
+ created_at?: string;
37040
+ id?: string;
37041
+ is_active?: boolean;
37042
+ note?: string | null;
37043
+ opens?: string;
37044
+ weekday?: number;
37045
+ };
37046
+ Relationships: [];
37047
+ };
37048
+ logistics_pick_data_requests: {
37049
+ Row: {
37050
+ actions: import("../integrations/supabase/types").Json;
37051
+ created_at: string;
37052
+ event_id: string | null;
37053
+ finished_at: string | null;
37054
+ id: string;
37055
+ missing: import("../integrations/supabase/types").Json;
37056
+ order_ref: string;
37057
+ reason: string | null;
37058
+ result: import("../integrations/supabase/types").Json | null;
37059
+ status: string;
37060
+ unit_ref: string | null;
37061
+ };
37062
+ Insert: {
37063
+ actions?: import("../integrations/supabase/types").Json;
37064
+ created_at?: string;
37065
+ event_id?: string | null;
37066
+ finished_at?: string | null;
37067
+ id?: string;
37068
+ missing?: import("../integrations/supabase/types").Json;
37069
+ order_ref: string;
37070
+ reason?: string | null;
37071
+ result?: import("../integrations/supabase/types").Json | null;
37072
+ status?: string;
37073
+ unit_ref?: string | null;
37074
+ };
37075
+ Update: {
37076
+ actions?: import("../integrations/supabase/types").Json;
37077
+ created_at?: string;
37078
+ event_id?: string | null;
37079
+ finished_at?: string | null;
37080
+ id?: string;
37081
+ missing?: import("../integrations/supabase/types").Json;
37082
+ order_ref?: string;
37083
+ reason?: string | null;
37084
+ result?: import("../integrations/supabase/types").Json | null;
37085
+ status?: string;
37086
+ unit_ref?: string | null;
37087
+ };
37088
+ Relationships: [];
37089
+ };
36249
37090
  logistics_pickup_moments: {
36250
37091
  Row: {
36251
37092
  carrier_ref: string | null;
@@ -37038,6 +37879,24 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
37038
37879
  };
37039
37880
  Relationships: [];
37040
37881
  };
37882
+ logistics_time_settings: {
37883
+ Row: {
37884
+ id: boolean;
37885
+ timezone: string;
37886
+ updated_at: string;
37887
+ };
37888
+ Insert: {
37889
+ id?: boolean;
37890
+ timezone: string;
37891
+ updated_at?: string;
37892
+ };
37893
+ Update: {
37894
+ id?: boolean;
37895
+ timezone?: string;
37896
+ updated_at?: string;
37897
+ };
37898
+ Relationships: [];
37899
+ };
37041
37900
  logistics_variables: {
37042
37901
  Row: {
37043
37902
  created_at: string;
@@ -39428,6 +40287,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
39428
40287
  customer_name: string;
39429
40288
  deleted_at: string | null;
39430
40289
  delivery_date: string | null;
40290
+ floriday_order_group_key: string | null;
39431
40291
  floriday_sales_order_id: string | null;
39432
40292
  id: string;
39433
40293
  invoice_due_at: string | null;
@@ -39455,6 +40315,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
39455
40315
  customer_name?: string;
39456
40316
  deleted_at?: string | null;
39457
40317
  delivery_date?: string | null;
40318
+ floriday_order_group_key?: string | null;
39458
40319
  floriday_sales_order_id?: string | null;
39459
40320
  id?: string;
39460
40321
  invoice_due_at?: string | null;
@@ -39482,6 +40343,7 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
39482
40343
  customer_name?: string;
39483
40344
  deleted_at?: string | null;
39484
40345
  delivery_date?: string | null;
40346
+ floriday_order_group_key?: string | null;
39485
40347
  floriday_sales_order_id?: string | null;
39486
40348
  id?: string;
39487
40349
  invoice_due_at?: string | null;
@@ -39675,6 +40537,27 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
39675
40537
  };
39676
40538
  Relationships: [];
39677
40539
  };
40540
+ pick_buffer_event_cursor: {
40541
+ Row: {
40542
+ created_at: string;
40543
+ id: boolean;
40544
+ last_event_at: string;
40545
+ updated_at: string;
40546
+ };
40547
+ Insert: {
40548
+ created_at?: string;
40549
+ id?: boolean;
40550
+ last_event_at?: string;
40551
+ updated_at?: string;
40552
+ };
40553
+ Update: {
40554
+ created_at?: string;
40555
+ id?: boolean;
40556
+ last_event_at?: string;
40557
+ updated_at?: string;
40558
+ };
40559
+ Relationships: [];
40560
+ };
39678
40561
  pick_countries: {
39679
40562
  Row: {
39680
40563
  active: boolean;
@@ -45324,6 +46207,36 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
45324
46207
  referencedColumns: ["id"];
45325
46208
  }];
45326
46209
  };
46210
+ voorraad_buffer_state: {
46211
+ Row: {
46212
+ buffer_id: string;
46213
+ buffer_key: string | null;
46214
+ closed_at: string | null;
46215
+ created_at: string;
46216
+ detached_orders: import("../integrations/supabase/types").Json;
46217
+ reason: string | null;
46218
+ updated_at: string;
46219
+ };
46220
+ Insert: {
46221
+ buffer_id: string;
46222
+ buffer_key?: string | null;
46223
+ closed_at?: string | null;
46224
+ created_at?: string;
46225
+ detached_orders?: import("../integrations/supabase/types").Json;
46226
+ reason?: string | null;
46227
+ updated_at?: string;
46228
+ };
46229
+ Update: {
46230
+ buffer_id?: string;
46231
+ buffer_key?: string | null;
46232
+ closed_at?: string | null;
46233
+ created_at?: string;
46234
+ detached_orders?: import("../integrations/supabase/types").Json;
46235
+ reason?: string | null;
46236
+ updated_at?: string;
46237
+ };
46238
+ Relationships: [];
46239
+ };
45327
46240
  voorraad_custom_fields: {
45328
46241
  Row: {
45329
46242
  created_at: string;
@@ -45366,6 +46279,36 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
45366
46279
  };
45367
46280
  Relationships: [];
45368
46281
  };
46282
+ voorraad_logistics_event_log: {
46283
+ Row: {
46284
+ created_at: string;
46285
+ event_id: string;
46286
+ event_type: string;
46287
+ order_ref: string | null;
46288
+ processed_at: string;
46289
+ result: import("../integrations/supabase/types").Json;
46290
+ updated_at: string;
46291
+ };
46292
+ Insert: {
46293
+ created_at?: string;
46294
+ event_id: string;
46295
+ event_type: string;
46296
+ order_ref?: string | null;
46297
+ processed_at?: string;
46298
+ result?: import("../integrations/supabase/types").Json;
46299
+ updated_at?: string;
46300
+ };
46301
+ Update: {
46302
+ created_at?: string;
46303
+ event_id?: string;
46304
+ event_type?: string;
46305
+ order_ref?: string | null;
46306
+ processed_at?: string;
46307
+ result?: import("../integrations/supabase/types").Json;
46308
+ updated_at?: string;
46309
+ };
46310
+ Relationships: [];
46311
+ };
45369
46312
  voorraad_media_upload_failures: {
45370
46313
  Row: {
45371
46314
  action: string;
@@ -48191,6 +49134,17 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
48191
49134
  };
48192
49135
  Returns: boolean;
48193
49136
  };
49137
+ floriday_adopt_connection: {
49138
+ Args: {
49139
+ p_new: string;
49140
+ p_old: string;
49141
+ };
49142
+ Returns: import("../integrations/supabase/types").Json;
49143
+ };
49144
+ floriday_autoheal_connections: {
49145
+ Args: never;
49146
+ Returns: import("../integrations/supabase/types").Json;
49147
+ };
48194
49148
  floriday_capture_stock_snapshot: {
48195
49149
  Args: never;
48196
49150
  Returns: number;
@@ -48248,6 +49202,12 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
48248
49202
  };
48249
49203
  Returns: undefined;
48250
49204
  };
49205
+ floriday_relink_products: {
49206
+ Args: {
49207
+ p_connection_id?: string;
49208
+ };
49209
+ Returns: import("../integrations/supabase/types").Json;
49210
+ };
48251
49211
  floriday_requeue_dead_letters: {
48252
49212
  Args: {
48253
49213
  p_connection_id?: string;
@@ -48869,6 +49829,10 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
48869
49829
  };
48870
49830
  Returns: string;
48871
49831
  };
49832
+ logistics_active_layout_method: {
49833
+ Args: never;
49834
+ Returns: string;
49835
+ };
48872
49836
  logistics_active_pick_workdays: {
48873
49837
  Args: never;
48874
49838
  Returns: string[];
@@ -48976,6 +49940,15 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
48976
49940
  };
48977
49941
  Returns: boolean;
48978
49942
  };
49943
+ logistics_buffer_notify: {
49944
+ Args: {
49945
+ p_event_type: string;
49946
+ p_idempotency_key: string;
49947
+ p_order_ref: string;
49948
+ p_payload: import("../integrations/supabase/types").Json;
49949
+ };
49950
+ Returns: string;
49951
+ };
48979
49952
  logistics_buffer_open_key: {
48980
49953
  Args: {
48981
49954
  p_base_key: string;
@@ -49034,6 +50007,12 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
49034
50007
  };
49035
50008
  Returns: string;
49036
50009
  };
50010
+ logistics_cart_checkin_at: {
50011
+ Args: {
50012
+ p_cart_id: string;
50013
+ };
50014
+ Returns: string;
50015
+ };
49037
50016
  logistics_cart_handled: {
49038
50017
  Args: {
49039
50018
  p_cart_index: number;
@@ -49067,10 +50046,22 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
49067
50046
  task_status: string;
49068
50047
  }[];
49069
50048
  };
50049
+ logistics_cart_is_full: {
50050
+ Args: {
50051
+ p_cart_id: string;
50052
+ };
50053
+ Returns: boolean;
50054
+ };
49070
50055
  logistics_cart_layout_method: {
49071
50056
  Args: never;
49072
50057
  Returns: import("../integrations/supabase/types").Json;
49073
50058
  };
50059
+ logistics_cart_order_refs: {
50060
+ Args: {
50061
+ p_cart_id: string;
50062
+ };
50063
+ Returns: string[];
50064
+ };
49074
50065
  logistics_cart_plan_overview: {
49075
50066
  Args: {
49076
50067
  p_days?: number;
@@ -49090,6 +50081,18 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
49090
50081
  };
49091
50082
  Returns: import("../integrations/supabase/types").Json;
49092
50083
  };
50084
+ logistics_cart_release_reason: {
50085
+ Args: {
50086
+ p_cart_id: string;
50087
+ };
50088
+ Returns: string;
50089
+ };
50090
+ logistics_cart_released: {
50091
+ Args: {
50092
+ p_cart_id: string;
50093
+ };
50094
+ Returns: boolean;
50095
+ };
49093
50096
  logistics_cart_seq: {
49094
50097
  Args: {
49095
50098
  p_order_uuid?: string;
@@ -49243,6 +50246,10 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
49243
50246
  isSetofReturn: false;
49244
50247
  };
49245
50248
  };
50249
+ logistics_cleanup_orphan_print_jobs: {
50250
+ Args: never;
50251
+ Returns: import("../integrations/supabase/types").Json;
50252
+ };
49246
50253
  logistics_complete_task: {
49247
50254
  Args: {
49248
50255
  p_result?: import("../integrations/supabase/types").Json;
@@ -49305,6 +50312,12 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
49305
50312
  station_carts: number;
49306
50313
  }[];
49307
50314
  };
50315
+ logistics_control_complete_cart: {
50316
+ Args: {
50317
+ p_cart_id: string;
50318
+ };
50319
+ Returns: number;
50320
+ };
49308
50321
  logistics_control_scan_approve: {
49309
50322
  Args: {
49310
50323
  p_allow_reprint?: boolean;
@@ -49384,6 +50397,15 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
49384
50397
  Args: never;
49385
50398
  Returns: import("../integrations/supabase/types").Json;
49386
50399
  };
50400
+ logistics_day_windows: {
50401
+ Args: {
50402
+ p_day: string;
50403
+ };
50404
+ Returns: {
50405
+ win_end: string;
50406
+ win_start: string;
50407
+ }[];
50408
+ };
49387
50409
  logistics_delay_customer_email: {
49388
50410
  Args: {
49389
50411
  p_customer: string;
@@ -49451,6 +50473,17 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
49451
50473
  };
49452
50474
  Returns: import("../integrations/supabase/types").Json;
49453
50475
  };
50476
+ logistics_enqueue_shipping_note_with_slip: {
50477
+ Args: {
50478
+ _cart_id: string;
50479
+ _is_herprint: boolean;
50480
+ _printer_id: string;
50481
+ _queue_item_id: string;
50482
+ _session_id: string;
50483
+ _slip_job_id: string;
50484
+ };
50485
+ Returns: string;
50486
+ };
49454
50487
  logistics_enqueue_sticker_with_slip: {
49455
50488
  Args: {
49456
50489
  _cart_id: string;
@@ -49468,6 +50501,14 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
49468
50501
  };
49469
50502
  Returns: string;
49470
50503
  };
50504
+ logistics_ensure_pick_data: {
50505
+ Args: {
50506
+ p_event_id?: string;
50507
+ p_missing?: import("../integrations/supabase/types").Json;
50508
+ p_ref: string;
50509
+ };
50510
+ Returns: import("../integrations/supabase/types").Json;
50511
+ };
49471
50512
  logistics_fail_task: {
49472
50513
  Args: {
49473
50514
  p_error: string;
@@ -49589,6 +50630,38 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
49589
50630
  };
49590
50631
  Returns: string;
49591
50632
  };
50633
+ logistics_floriday_gate_status: {
50634
+ Args: never;
50635
+ Returns: import("../integrations/supabase/types").Json;
50636
+ };
50637
+ logistics_floriday_log_refusal: {
50638
+ Args: {
50639
+ _action?: string;
50640
+ _module?: string;
50641
+ _order_ref: string;
50642
+ _reason: string;
50643
+ _shell?: string;
50644
+ };
50645
+ Returns: undefined;
50646
+ };
50647
+ logistics_floriday_log_send: {
50648
+ Args: {
50649
+ _action: string;
50650
+ _detail?: string;
50651
+ _http_status?: number;
50652
+ _module?: string;
50653
+ _ok: boolean;
50654
+ _order_ref: string;
50655
+ _shell?: string;
50656
+ };
50657
+ Returns: undefined;
50658
+ };
50659
+ logistics_floriday_order_approved: {
50660
+ Args: {
50661
+ _order_ref: string;
50662
+ };
50663
+ Returns: boolean;
50664
+ };
49592
50665
  logistics_floriday_prune_pushes: {
49593
50666
  Args: {
49594
50667
  _days?: number;
@@ -49603,6 +50676,20 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
49603
50676
  };
49604
50677
  Returns: string;
49605
50678
  };
50679
+ logistics_floriday_status_updates_enabled: {
50680
+ Args: never;
50681
+ Returns: boolean;
50682
+ };
50683
+ logistics_floriday_stock_updates_enabled: {
50684
+ Args: never;
50685
+ Returns: boolean;
50686
+ };
50687
+ logistics_floriday_write_allowed: {
50688
+ Args: {
50689
+ _action: string;
50690
+ };
50691
+ Returns: boolean;
50692
+ };
49606
50693
  logistics_fulfill_barcode_requests: {
49607
50694
  Args: {
49608
50695
  p_limit?: number;
@@ -49623,6 +50710,16 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
49623
50710
  };
49624
50711
  Returns: boolean;
49625
50712
  };
50713
+ logistics_layout_method_status: {
50714
+ Args: never;
50715
+ Returns: import("../integrations/supabase/types").Json;
50716
+ };
50717
+ logistics_link_order_items: {
50718
+ Args: {
50719
+ p_order?: string;
50720
+ };
50721
+ Returns: import("../integrations/supabase/types").Json;
50722
+ };
49626
50723
  logistics_live_carriers: {
49627
50724
  Args: {
49628
50725
  p_order_ref: string;
@@ -49635,6 +50732,12 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
49635
50732
  };
49636
50733
  Returns: number;
49637
50734
  };
50735
+ logistics_merge_partial_carts: {
50736
+ Args: {
50737
+ p_limit?: number;
50738
+ };
50739
+ Returns: import("../integrations/supabase/types").Json;
50740
+ };
49638
50741
  logistics_next_workday_date: {
49639
50742
  Args: {
49640
50743
  p_date: string;
@@ -49649,12 +50752,22 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
49649
50752
  };
49650
50753
  Returns: string;
49651
50754
  };
50755
+ logistics_normalize_product_label: {
50756
+ Args: {
50757
+ p_label: string;
50758
+ };
50759
+ Returns: string;
50760
+ };
49652
50761
  logistics_not_past: {
49653
50762
  Args: {
49654
50763
  p_ts: string;
49655
50764
  };
49656
50765
  Returns: string;
49657
50766
  };
50767
+ logistics_opening_timezone: {
50768
+ Args: never;
50769
+ Returns: string;
50770
+ };
49658
50771
  logistics_order_cart_count: {
49659
50772
  Args: {
49660
50773
  p_order_ref: string;
@@ -49739,6 +50852,10 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
49739
50852
  Args: never;
49740
50853
  Returns: import("../integrations/supabase/types").Json;
49741
50854
  };
50855
+ logistics_pick_partial_mode: {
50856
+ Args: never;
50857
+ Returns: string;
50858
+ };
49742
50859
  logistics_pick_start_estimate: {
49743
50860
  Args: {
49744
50861
  p_order: import("../integrations/supabase/types").Json;
@@ -49850,6 +50967,12 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
49850
50967
  };
49851
50968
  Returns: number;
49852
50969
  };
50970
+ logistics_prepare_pick_documents: {
50971
+ Args: {
50972
+ p_limit?: number;
50973
+ };
50974
+ Returns: import("../integrations/supabase/types").Json;
50975
+ };
49853
50976
  logistics_prune_buffer_member_queue: {
49854
50977
  Args: never;
49855
50978
  Returns: number;
@@ -49890,12 +51013,30 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
49890
51013
  Args: never;
49891
51014
  Returns: import("../integrations/supabase/types").Json;
49892
51015
  };
51016
+ logistics_refresh_pick_queue_status: {
51017
+ Args: {
51018
+ p_ref: string;
51019
+ };
51020
+ Returns: number;
51021
+ };
49893
51022
  logistics_refresh_pickup_moments: {
49894
51023
  Args: {
49895
51024
  p_weeks?: number;
49896
51025
  };
49897
51026
  Returns: import("../integrations/supabase/types").Json;
49898
51027
  };
51028
+ logistics_replan_all: {
51029
+ Args: {
51030
+ p_reason?: string;
51031
+ };
51032
+ Returns: import("../integrations/supabase/types").Json;
51033
+ };
51034
+ logistics_replan_all_force: {
51035
+ Args: {
51036
+ p_reason?: string;
51037
+ };
51038
+ Returns: import("../integrations/supabase/types").Json;
51039
+ };
49899
51040
  logistics_report_delay: {
49900
51041
  Args: {
49901
51042
  p_expected_date?: string;
@@ -49949,6 +51090,12 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
49949
51090
  };
49950
51091
  Returns: import("../integrations/supabase/types").Json;
49951
51092
  };
51093
+ logistics_resolve_product_id: {
51094
+ Args: {
51095
+ p_label: string;
51096
+ };
51097
+ Returns: string;
51098
+ };
49952
51099
  logistics_resolve_settings: {
49953
51100
  Args: {
49954
51101
  p_config_id: string;
@@ -50034,6 +51181,10 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
50034
51181
  };
50035
51182
  Returns: string;
50036
51183
  };
51184
+ logistics_shipping_note_follows_slip: {
51185
+ Args: never;
51186
+ Returns: boolean;
51187
+ };
50037
51188
  logistics_shipping_note_from_barcode: {
50038
51189
  Args: {
50039
51190
  p_allow_reprint?: boolean;
@@ -50046,6 +51197,14 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
50046
51197
  Args: never;
50047
51198
  Returns: boolean;
50048
51199
  };
51200
+ logistics_subtract_working_minutes: {
51201
+ Args: {
51202
+ p_deadline: string;
51203
+ p_max_workdays?: number;
51204
+ p_minutes: number;
51205
+ };
51206
+ Returns: import("../integrations/supabase/types").Json;
51207
+ };
50049
51208
  logistics_supersede_stale_tasks: {
50050
51209
  Args: {
50051
51210
  p_keep: string[];
@@ -50082,6 +51241,12 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
50082
51241
  Args: never;
50083
51242
  Returns: string;
50084
51243
  };
51244
+ logistics_timezone_options: {
51245
+ Args: never;
51246
+ Returns: {
51247
+ name: string;
51248
+ }[];
51249
+ };
50085
51250
  logistics_upsert_task: {
50086
51251
  Args: {
50087
51252
  p_buffer_ref: string;
@@ -50101,6 +51266,16 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
50101
51266
  };
50102
51267
  Returns: string;
50103
51268
  };
51269
+ logistics_valid_timezone: {
51270
+ Args: {
51271
+ _tz: string;
51272
+ };
51273
+ Returns: boolean;
51274
+ };
51275
+ logistics_working_hours_status: {
51276
+ Args: never;
51277
+ Returns: import("../integrations/supabase/types").Json;
51278
+ };
50104
51279
  logistics_write_buffer_layer_positions: {
50105
51280
  Args: {
50106
51281
  p_buffer_id: string;
@@ -50266,6 +51441,10 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
50266
51441
  online: boolean;
50267
51442
  }[];
50268
51443
  };
51444
+ pick_apply_buffer_events: {
51445
+ Args: never;
51446
+ Returns: import("../integrations/supabase/types").Json;
51447
+ };
50269
51448
  pick_available_pick_days: {
50270
51449
  Args: {
50271
51450
  _max_days?: number;
@@ -51542,6 +52721,13 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
51542
52721
  };
51543
52722
  Returns: number;
51544
52723
  };
52724
+ schedule_floriday_catalog_prices_sync: {
52725
+ Args: {
52726
+ p_apikey: string;
52727
+ p_url: string;
52728
+ };
52729
+ Returns: number;
52730
+ };
51545
52731
  schedule_floriday_clock_presales_sync: {
51546
52732
  Args: {
51547
52733
  p_apikey: string;
@@ -51842,6 +53028,10 @@ export declare const syncAccountingProvider: import("@tanstack/start-client-core
51842
53028
  };
51843
53029
  Returns: undefined;
51844
53030
  };
53031
+ sync_floriday_prices_into_price_groups: {
53032
+ Args: never;
53033
+ Returns: number;
53034
+ };
51845
53035
  sync_layer_stock: {
51846
53036
  Args: {
51847
53037
  p_product_id: string;
@@ -57856,6 +59046,84 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
57856
59046
  referencedColumns: ["id"];
57857
59047
  }];
57858
59048
  };
59049
+ floriday_catalog_prices_cache: {
59050
+ Row: {
59051
+ connection_id: string;
59052
+ created_at: string;
59053
+ currency: string;
59054
+ id: string;
59055
+ is_deleted: boolean;
59056
+ price: number | null;
59057
+ price_group_id: string | null;
59058
+ price_group_name: string | null;
59059
+ price_type: string;
59060
+ raw: import("../integrations/supabase/types").Json | null;
59061
+ sales_unit: string | null;
59062
+ sequence_number: number;
59063
+ supplier_article_code: string | null;
59064
+ supply_line_id: string;
59065
+ synced_at: string;
59066
+ trade_item_id: string | null;
59067
+ updated_at: string;
59068
+ valid_from: string | null;
59069
+ valid_to: string | null;
59070
+ week: number | null;
59071
+ year: number | null;
59072
+ };
59073
+ Insert: {
59074
+ connection_id: string;
59075
+ created_at?: string;
59076
+ currency?: string;
59077
+ id?: string;
59078
+ is_deleted?: boolean;
59079
+ price?: number | null;
59080
+ price_group_id?: string | null;
59081
+ price_group_name?: string | null;
59082
+ price_type?: string;
59083
+ raw?: import("../integrations/supabase/types").Json | null;
59084
+ sales_unit?: string | null;
59085
+ sequence_number?: number;
59086
+ supplier_article_code?: string | null;
59087
+ supply_line_id: string;
59088
+ synced_at?: string;
59089
+ trade_item_id?: string | null;
59090
+ updated_at?: string;
59091
+ valid_from?: string | null;
59092
+ valid_to?: string | null;
59093
+ week?: number | null;
59094
+ year?: number | null;
59095
+ };
59096
+ Update: {
59097
+ connection_id?: string;
59098
+ created_at?: string;
59099
+ currency?: string;
59100
+ id?: string;
59101
+ is_deleted?: boolean;
59102
+ price?: number | null;
59103
+ price_group_id?: string | null;
59104
+ price_group_name?: string | null;
59105
+ price_type?: string;
59106
+ raw?: import("../integrations/supabase/types").Json | null;
59107
+ sales_unit?: string | null;
59108
+ sequence_number?: number;
59109
+ supplier_article_code?: string | null;
59110
+ supply_line_id?: string;
59111
+ synced_at?: string;
59112
+ trade_item_id?: string | null;
59113
+ updated_at?: string;
59114
+ valid_from?: string | null;
59115
+ valid_to?: string | null;
59116
+ week?: number | null;
59117
+ year?: number | null;
59118
+ };
59119
+ Relationships: [{
59120
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
59121
+ columns: ["connection_id"];
59122
+ isOneToOne: false;
59123
+ referencedRelation: "floriday_connections";
59124
+ referencedColumns: ["id"];
59125
+ }];
59126
+ };
57859
59127
  floriday_clock_presales_cache: {
57860
59128
  Row: {
57861
59129
  buyer_organization_id: string | null;
@@ -62122,6 +63390,36 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
62122
63390
  };
62123
63391
  Relationships: [];
62124
63392
  };
63393
+ logistics_floriday_push_refusals: {
63394
+ Row: {
63395
+ action: string | null;
63396
+ created_at: string;
63397
+ id: string;
63398
+ order_ref: string;
63399
+ reason: string;
63400
+ source_module: string | null;
63401
+ source_shell: string | null;
63402
+ };
63403
+ Insert: {
63404
+ action?: string | null;
63405
+ created_at?: string;
63406
+ id?: string;
63407
+ order_ref: string;
63408
+ reason: string;
63409
+ source_module?: string | null;
63410
+ source_shell?: string | null;
63411
+ };
63412
+ Update: {
63413
+ action?: string | null;
63414
+ created_at?: string;
63415
+ id?: string;
63416
+ order_ref?: string;
63417
+ reason?: string;
63418
+ source_module?: string | null;
63419
+ source_shell?: string | null;
63420
+ };
63421
+ Relationships: [];
63422
+ };
62125
63423
  logistics_floriday_pushes: {
62126
63424
  Row: {
62127
63425
  attempts: number;
@@ -62197,6 +63495,42 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
62197
63495
  };
62198
63496
  Relationships: [];
62199
63497
  };
63498
+ logistics_floriday_status_sends: {
63499
+ Row: {
63500
+ action: string;
63501
+ created_at: string;
63502
+ detail: string | null;
63503
+ http_status: number | null;
63504
+ id: string;
63505
+ ok: boolean;
63506
+ order_ref: string;
63507
+ source_module: string | null;
63508
+ source_shell: string | null;
63509
+ };
63510
+ Insert: {
63511
+ action: string;
63512
+ created_at?: string;
63513
+ detail?: string | null;
63514
+ http_status?: number | null;
63515
+ id?: string;
63516
+ ok?: boolean;
63517
+ order_ref: string;
63518
+ source_module?: string | null;
63519
+ source_shell?: string | null;
63520
+ };
63521
+ Update: {
63522
+ action?: string;
63523
+ created_at?: string;
63524
+ detail?: string | null;
63525
+ http_status?: number | null;
63526
+ id?: string;
63527
+ ok?: boolean;
63528
+ order_ref?: string;
63529
+ source_module?: string | null;
63530
+ source_shell?: string | null;
63531
+ };
63532
+ Relationships: [];
63533
+ };
62200
63534
  logistics_formulas: {
62201
63535
  Row: {
62202
63536
  created_at: string;
@@ -62269,6 +63603,108 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
62269
63603
  };
62270
63604
  Relationships: [];
62271
63605
  };
63606
+ logistics_opening_exceptions: {
63607
+ Row: {
63608
+ closes: string | null;
63609
+ created_at: string;
63610
+ day: string;
63611
+ id: string;
63612
+ is_closed: boolean;
63613
+ note: string | null;
63614
+ opens: string | null;
63615
+ };
63616
+ Insert: {
63617
+ closes?: string | null;
63618
+ created_at?: string;
63619
+ day: string;
63620
+ id?: string;
63621
+ is_closed?: boolean;
63622
+ note?: string | null;
63623
+ opens?: string | null;
63624
+ };
63625
+ Update: {
63626
+ closes?: string | null;
63627
+ created_at?: string;
63628
+ day?: string;
63629
+ id?: string;
63630
+ is_closed?: boolean;
63631
+ note?: string | null;
63632
+ opens?: string | null;
63633
+ };
63634
+ Relationships: [];
63635
+ };
63636
+ logistics_opening_hours: {
63637
+ Row: {
63638
+ closes: string;
63639
+ created_at: string;
63640
+ id: string;
63641
+ is_active: boolean;
63642
+ note: string | null;
63643
+ opens: string;
63644
+ weekday: number;
63645
+ };
63646
+ Insert: {
63647
+ closes: string;
63648
+ created_at?: string;
63649
+ id?: string;
63650
+ is_active?: boolean;
63651
+ note?: string | null;
63652
+ opens: string;
63653
+ weekday: number;
63654
+ };
63655
+ Update: {
63656
+ closes?: string;
63657
+ created_at?: string;
63658
+ id?: string;
63659
+ is_active?: boolean;
63660
+ note?: string | null;
63661
+ opens?: string;
63662
+ weekday?: number;
63663
+ };
63664
+ Relationships: [];
63665
+ };
63666
+ logistics_pick_data_requests: {
63667
+ Row: {
63668
+ actions: import("../integrations/supabase/types").Json;
63669
+ created_at: string;
63670
+ event_id: string | null;
63671
+ finished_at: string | null;
63672
+ id: string;
63673
+ missing: import("../integrations/supabase/types").Json;
63674
+ order_ref: string;
63675
+ reason: string | null;
63676
+ result: import("../integrations/supabase/types").Json | null;
63677
+ status: string;
63678
+ unit_ref: string | null;
63679
+ };
63680
+ Insert: {
63681
+ actions?: import("../integrations/supabase/types").Json;
63682
+ created_at?: string;
63683
+ event_id?: string | null;
63684
+ finished_at?: string | null;
63685
+ id?: string;
63686
+ missing?: import("../integrations/supabase/types").Json;
63687
+ order_ref: string;
63688
+ reason?: string | null;
63689
+ result?: import("../integrations/supabase/types").Json | null;
63690
+ status?: string;
63691
+ unit_ref?: string | null;
63692
+ };
63693
+ Update: {
63694
+ actions?: import("../integrations/supabase/types").Json;
63695
+ created_at?: string;
63696
+ event_id?: string | null;
63697
+ finished_at?: string | null;
63698
+ id?: string;
63699
+ missing?: import("../integrations/supabase/types").Json;
63700
+ order_ref?: string;
63701
+ reason?: string | null;
63702
+ result?: import("../integrations/supabase/types").Json | null;
63703
+ status?: string;
63704
+ unit_ref?: string | null;
63705
+ };
63706
+ Relationships: [];
63707
+ };
62272
63708
  logistics_pickup_moments: {
62273
63709
  Row: {
62274
63710
  carrier_ref: string | null;
@@ -63061,6 +64497,24 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
63061
64497
  };
63062
64498
  Relationships: [];
63063
64499
  };
64500
+ logistics_time_settings: {
64501
+ Row: {
64502
+ id: boolean;
64503
+ timezone: string;
64504
+ updated_at: string;
64505
+ };
64506
+ Insert: {
64507
+ id?: boolean;
64508
+ timezone: string;
64509
+ updated_at?: string;
64510
+ };
64511
+ Update: {
64512
+ id?: boolean;
64513
+ timezone?: string;
64514
+ updated_at?: string;
64515
+ };
64516
+ Relationships: [];
64517
+ };
63064
64518
  logistics_variables: {
63065
64519
  Row: {
63066
64520
  created_at: string;
@@ -65451,6 +66905,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
65451
66905
  customer_name: string;
65452
66906
  deleted_at: string | null;
65453
66907
  delivery_date: string | null;
66908
+ floriday_order_group_key: string | null;
65454
66909
  floriday_sales_order_id: string | null;
65455
66910
  id: string;
65456
66911
  invoice_due_at: string | null;
@@ -65478,6 +66933,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
65478
66933
  customer_name?: string;
65479
66934
  deleted_at?: string | null;
65480
66935
  delivery_date?: string | null;
66936
+ floriday_order_group_key?: string | null;
65481
66937
  floriday_sales_order_id?: string | null;
65482
66938
  id?: string;
65483
66939
  invoice_due_at?: string | null;
@@ -65505,6 +66961,7 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
65505
66961
  customer_name?: string;
65506
66962
  deleted_at?: string | null;
65507
66963
  delivery_date?: string | null;
66964
+ floriday_order_group_key?: string | null;
65508
66965
  floriday_sales_order_id?: string | null;
65509
66966
  id?: string;
65510
66967
  invoice_due_at?: string | null;
@@ -65698,6 +67155,27 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
65698
67155
  };
65699
67156
  Relationships: [];
65700
67157
  };
67158
+ pick_buffer_event_cursor: {
67159
+ Row: {
67160
+ created_at: string;
67161
+ id: boolean;
67162
+ last_event_at: string;
67163
+ updated_at: string;
67164
+ };
67165
+ Insert: {
67166
+ created_at?: string;
67167
+ id?: boolean;
67168
+ last_event_at?: string;
67169
+ updated_at?: string;
67170
+ };
67171
+ Update: {
67172
+ created_at?: string;
67173
+ id?: boolean;
67174
+ last_event_at?: string;
67175
+ updated_at?: string;
67176
+ };
67177
+ Relationships: [];
67178
+ };
65701
67179
  pick_countries: {
65702
67180
  Row: {
65703
67181
  active: boolean;
@@ -71347,6 +72825,36 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
71347
72825
  referencedColumns: ["id"];
71348
72826
  }];
71349
72827
  };
72828
+ voorraad_buffer_state: {
72829
+ Row: {
72830
+ buffer_id: string;
72831
+ buffer_key: string | null;
72832
+ closed_at: string | null;
72833
+ created_at: string;
72834
+ detached_orders: import("../integrations/supabase/types").Json;
72835
+ reason: string | null;
72836
+ updated_at: string;
72837
+ };
72838
+ Insert: {
72839
+ buffer_id: string;
72840
+ buffer_key?: string | null;
72841
+ closed_at?: string | null;
72842
+ created_at?: string;
72843
+ detached_orders?: import("../integrations/supabase/types").Json;
72844
+ reason?: string | null;
72845
+ updated_at?: string;
72846
+ };
72847
+ Update: {
72848
+ buffer_id?: string;
72849
+ buffer_key?: string | null;
72850
+ closed_at?: string | null;
72851
+ created_at?: string;
72852
+ detached_orders?: import("../integrations/supabase/types").Json;
72853
+ reason?: string | null;
72854
+ updated_at?: string;
72855
+ };
72856
+ Relationships: [];
72857
+ };
71350
72858
  voorraad_custom_fields: {
71351
72859
  Row: {
71352
72860
  created_at: string;
@@ -71389,6 +72897,36 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
71389
72897
  };
71390
72898
  Relationships: [];
71391
72899
  };
72900
+ voorraad_logistics_event_log: {
72901
+ Row: {
72902
+ created_at: string;
72903
+ event_id: string;
72904
+ event_type: string;
72905
+ order_ref: string | null;
72906
+ processed_at: string;
72907
+ result: import("../integrations/supabase/types").Json;
72908
+ updated_at: string;
72909
+ };
72910
+ Insert: {
72911
+ created_at?: string;
72912
+ event_id: string;
72913
+ event_type: string;
72914
+ order_ref?: string | null;
72915
+ processed_at?: string;
72916
+ result?: import("../integrations/supabase/types").Json;
72917
+ updated_at?: string;
72918
+ };
72919
+ Update: {
72920
+ created_at?: string;
72921
+ event_id?: string;
72922
+ event_type?: string;
72923
+ order_ref?: string | null;
72924
+ processed_at?: string;
72925
+ result?: import("../integrations/supabase/types").Json;
72926
+ updated_at?: string;
72927
+ };
72928
+ Relationships: [];
72929
+ };
71392
72930
  voorraad_media_upload_failures: {
71393
72931
  Row: {
71394
72932
  action: string;
@@ -74214,6 +75752,17 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
74214
75752
  };
74215
75753
  Returns: boolean;
74216
75754
  };
75755
+ floriday_adopt_connection: {
75756
+ Args: {
75757
+ p_new: string;
75758
+ p_old: string;
75759
+ };
75760
+ Returns: import("../integrations/supabase/types").Json;
75761
+ };
75762
+ floriday_autoheal_connections: {
75763
+ Args: never;
75764
+ Returns: import("../integrations/supabase/types").Json;
75765
+ };
74217
75766
  floriday_capture_stock_snapshot: {
74218
75767
  Args: never;
74219
75768
  Returns: number;
@@ -74271,6 +75820,12 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
74271
75820
  };
74272
75821
  Returns: undefined;
74273
75822
  };
75823
+ floriday_relink_products: {
75824
+ Args: {
75825
+ p_connection_id?: string;
75826
+ };
75827
+ Returns: import("../integrations/supabase/types").Json;
75828
+ };
74274
75829
  floriday_requeue_dead_letters: {
74275
75830
  Args: {
74276
75831
  p_connection_id?: string;
@@ -74892,6 +76447,10 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
74892
76447
  };
74893
76448
  Returns: string;
74894
76449
  };
76450
+ logistics_active_layout_method: {
76451
+ Args: never;
76452
+ Returns: string;
76453
+ };
74895
76454
  logistics_active_pick_workdays: {
74896
76455
  Args: never;
74897
76456
  Returns: string[];
@@ -74999,6 +76558,15 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
74999
76558
  };
75000
76559
  Returns: boolean;
75001
76560
  };
76561
+ logistics_buffer_notify: {
76562
+ Args: {
76563
+ p_event_type: string;
76564
+ p_idempotency_key: string;
76565
+ p_order_ref: string;
76566
+ p_payload: import("../integrations/supabase/types").Json;
76567
+ };
76568
+ Returns: string;
76569
+ };
75002
76570
  logistics_buffer_open_key: {
75003
76571
  Args: {
75004
76572
  p_base_key: string;
@@ -75057,6 +76625,12 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
75057
76625
  };
75058
76626
  Returns: string;
75059
76627
  };
76628
+ logistics_cart_checkin_at: {
76629
+ Args: {
76630
+ p_cart_id: string;
76631
+ };
76632
+ Returns: string;
76633
+ };
75060
76634
  logistics_cart_handled: {
75061
76635
  Args: {
75062
76636
  p_cart_index: number;
@@ -75090,10 +76664,22 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
75090
76664
  task_status: string;
75091
76665
  }[];
75092
76666
  };
76667
+ logistics_cart_is_full: {
76668
+ Args: {
76669
+ p_cart_id: string;
76670
+ };
76671
+ Returns: boolean;
76672
+ };
75093
76673
  logistics_cart_layout_method: {
75094
76674
  Args: never;
75095
76675
  Returns: import("../integrations/supabase/types").Json;
75096
76676
  };
76677
+ logistics_cart_order_refs: {
76678
+ Args: {
76679
+ p_cart_id: string;
76680
+ };
76681
+ Returns: string[];
76682
+ };
75097
76683
  logistics_cart_plan_overview: {
75098
76684
  Args: {
75099
76685
  p_days?: number;
@@ -75113,6 +76699,18 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
75113
76699
  };
75114
76700
  Returns: import("../integrations/supabase/types").Json;
75115
76701
  };
76702
+ logistics_cart_release_reason: {
76703
+ Args: {
76704
+ p_cart_id: string;
76705
+ };
76706
+ Returns: string;
76707
+ };
76708
+ logistics_cart_released: {
76709
+ Args: {
76710
+ p_cart_id: string;
76711
+ };
76712
+ Returns: boolean;
76713
+ };
75116
76714
  logistics_cart_seq: {
75117
76715
  Args: {
75118
76716
  p_order_uuid?: string;
@@ -75266,6 +76864,10 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
75266
76864
  isSetofReturn: false;
75267
76865
  };
75268
76866
  };
76867
+ logistics_cleanup_orphan_print_jobs: {
76868
+ Args: never;
76869
+ Returns: import("../integrations/supabase/types").Json;
76870
+ };
75269
76871
  logistics_complete_task: {
75270
76872
  Args: {
75271
76873
  p_result?: import("../integrations/supabase/types").Json;
@@ -75328,6 +76930,12 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
75328
76930
  station_carts: number;
75329
76931
  }[];
75330
76932
  };
76933
+ logistics_control_complete_cart: {
76934
+ Args: {
76935
+ p_cart_id: string;
76936
+ };
76937
+ Returns: number;
76938
+ };
75331
76939
  logistics_control_scan_approve: {
75332
76940
  Args: {
75333
76941
  p_allow_reprint?: boolean;
@@ -75407,6 +77015,15 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
75407
77015
  Args: never;
75408
77016
  Returns: import("../integrations/supabase/types").Json;
75409
77017
  };
77018
+ logistics_day_windows: {
77019
+ Args: {
77020
+ p_day: string;
77021
+ };
77022
+ Returns: {
77023
+ win_end: string;
77024
+ win_start: string;
77025
+ }[];
77026
+ };
75410
77027
  logistics_delay_customer_email: {
75411
77028
  Args: {
75412
77029
  p_customer: string;
@@ -75474,6 +77091,17 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
75474
77091
  };
75475
77092
  Returns: import("../integrations/supabase/types").Json;
75476
77093
  };
77094
+ logistics_enqueue_shipping_note_with_slip: {
77095
+ Args: {
77096
+ _cart_id: string;
77097
+ _is_herprint: boolean;
77098
+ _printer_id: string;
77099
+ _queue_item_id: string;
77100
+ _session_id: string;
77101
+ _slip_job_id: string;
77102
+ };
77103
+ Returns: string;
77104
+ };
75477
77105
  logistics_enqueue_sticker_with_slip: {
75478
77106
  Args: {
75479
77107
  _cart_id: string;
@@ -75491,6 +77119,14 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
75491
77119
  };
75492
77120
  Returns: string;
75493
77121
  };
77122
+ logistics_ensure_pick_data: {
77123
+ Args: {
77124
+ p_event_id?: string;
77125
+ p_missing?: import("../integrations/supabase/types").Json;
77126
+ p_ref: string;
77127
+ };
77128
+ Returns: import("../integrations/supabase/types").Json;
77129
+ };
75494
77130
  logistics_fail_task: {
75495
77131
  Args: {
75496
77132
  p_error: string;
@@ -75612,6 +77248,38 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
75612
77248
  };
75613
77249
  Returns: string;
75614
77250
  };
77251
+ logistics_floriday_gate_status: {
77252
+ Args: never;
77253
+ Returns: import("../integrations/supabase/types").Json;
77254
+ };
77255
+ logistics_floriday_log_refusal: {
77256
+ Args: {
77257
+ _action?: string;
77258
+ _module?: string;
77259
+ _order_ref: string;
77260
+ _reason: string;
77261
+ _shell?: string;
77262
+ };
77263
+ Returns: undefined;
77264
+ };
77265
+ logistics_floriday_log_send: {
77266
+ Args: {
77267
+ _action: string;
77268
+ _detail?: string;
77269
+ _http_status?: number;
77270
+ _module?: string;
77271
+ _ok: boolean;
77272
+ _order_ref: string;
77273
+ _shell?: string;
77274
+ };
77275
+ Returns: undefined;
77276
+ };
77277
+ logistics_floriday_order_approved: {
77278
+ Args: {
77279
+ _order_ref: string;
77280
+ };
77281
+ Returns: boolean;
77282
+ };
75615
77283
  logistics_floriday_prune_pushes: {
75616
77284
  Args: {
75617
77285
  _days?: number;
@@ -75626,6 +77294,20 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
75626
77294
  };
75627
77295
  Returns: string;
75628
77296
  };
77297
+ logistics_floriday_status_updates_enabled: {
77298
+ Args: never;
77299
+ Returns: boolean;
77300
+ };
77301
+ logistics_floriday_stock_updates_enabled: {
77302
+ Args: never;
77303
+ Returns: boolean;
77304
+ };
77305
+ logistics_floriday_write_allowed: {
77306
+ Args: {
77307
+ _action: string;
77308
+ };
77309
+ Returns: boolean;
77310
+ };
75629
77311
  logistics_fulfill_barcode_requests: {
75630
77312
  Args: {
75631
77313
  p_limit?: number;
@@ -75646,6 +77328,16 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
75646
77328
  };
75647
77329
  Returns: boolean;
75648
77330
  };
77331
+ logistics_layout_method_status: {
77332
+ Args: never;
77333
+ Returns: import("../integrations/supabase/types").Json;
77334
+ };
77335
+ logistics_link_order_items: {
77336
+ Args: {
77337
+ p_order?: string;
77338
+ };
77339
+ Returns: import("../integrations/supabase/types").Json;
77340
+ };
75649
77341
  logistics_live_carriers: {
75650
77342
  Args: {
75651
77343
  p_order_ref: string;
@@ -75658,6 +77350,12 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
75658
77350
  };
75659
77351
  Returns: number;
75660
77352
  };
77353
+ logistics_merge_partial_carts: {
77354
+ Args: {
77355
+ p_limit?: number;
77356
+ };
77357
+ Returns: import("../integrations/supabase/types").Json;
77358
+ };
75661
77359
  logistics_next_workday_date: {
75662
77360
  Args: {
75663
77361
  p_date: string;
@@ -75672,12 +77370,22 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
75672
77370
  };
75673
77371
  Returns: string;
75674
77372
  };
77373
+ logistics_normalize_product_label: {
77374
+ Args: {
77375
+ p_label: string;
77376
+ };
77377
+ Returns: string;
77378
+ };
75675
77379
  logistics_not_past: {
75676
77380
  Args: {
75677
77381
  p_ts: string;
75678
77382
  };
75679
77383
  Returns: string;
75680
77384
  };
77385
+ logistics_opening_timezone: {
77386
+ Args: never;
77387
+ Returns: string;
77388
+ };
75681
77389
  logistics_order_cart_count: {
75682
77390
  Args: {
75683
77391
  p_order_ref: string;
@@ -75762,6 +77470,10 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
75762
77470
  Args: never;
75763
77471
  Returns: import("../integrations/supabase/types").Json;
75764
77472
  };
77473
+ logistics_pick_partial_mode: {
77474
+ Args: never;
77475
+ Returns: string;
77476
+ };
75765
77477
  logistics_pick_start_estimate: {
75766
77478
  Args: {
75767
77479
  p_order: import("../integrations/supabase/types").Json;
@@ -75873,6 +77585,12 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
75873
77585
  };
75874
77586
  Returns: number;
75875
77587
  };
77588
+ logistics_prepare_pick_documents: {
77589
+ Args: {
77590
+ p_limit?: number;
77591
+ };
77592
+ Returns: import("../integrations/supabase/types").Json;
77593
+ };
75876
77594
  logistics_prune_buffer_member_queue: {
75877
77595
  Args: never;
75878
77596
  Returns: number;
@@ -75913,12 +77631,30 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
75913
77631
  Args: never;
75914
77632
  Returns: import("../integrations/supabase/types").Json;
75915
77633
  };
77634
+ logistics_refresh_pick_queue_status: {
77635
+ Args: {
77636
+ p_ref: string;
77637
+ };
77638
+ Returns: number;
77639
+ };
75916
77640
  logistics_refresh_pickup_moments: {
75917
77641
  Args: {
75918
77642
  p_weeks?: number;
75919
77643
  };
75920
77644
  Returns: import("../integrations/supabase/types").Json;
75921
77645
  };
77646
+ logistics_replan_all: {
77647
+ Args: {
77648
+ p_reason?: string;
77649
+ };
77650
+ Returns: import("../integrations/supabase/types").Json;
77651
+ };
77652
+ logistics_replan_all_force: {
77653
+ Args: {
77654
+ p_reason?: string;
77655
+ };
77656
+ Returns: import("../integrations/supabase/types").Json;
77657
+ };
75922
77658
  logistics_report_delay: {
75923
77659
  Args: {
75924
77660
  p_expected_date?: string;
@@ -75972,6 +77708,12 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
75972
77708
  };
75973
77709
  Returns: import("../integrations/supabase/types").Json;
75974
77710
  };
77711
+ logistics_resolve_product_id: {
77712
+ Args: {
77713
+ p_label: string;
77714
+ };
77715
+ Returns: string;
77716
+ };
75975
77717
  logistics_resolve_settings: {
75976
77718
  Args: {
75977
77719
  p_config_id: string;
@@ -76057,6 +77799,10 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
76057
77799
  };
76058
77800
  Returns: string;
76059
77801
  };
77802
+ logistics_shipping_note_follows_slip: {
77803
+ Args: never;
77804
+ Returns: boolean;
77805
+ };
76060
77806
  logistics_shipping_note_from_barcode: {
76061
77807
  Args: {
76062
77808
  p_allow_reprint?: boolean;
@@ -76069,6 +77815,14 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
76069
77815
  Args: never;
76070
77816
  Returns: boolean;
76071
77817
  };
77818
+ logistics_subtract_working_minutes: {
77819
+ Args: {
77820
+ p_deadline: string;
77821
+ p_max_workdays?: number;
77822
+ p_minutes: number;
77823
+ };
77824
+ Returns: import("../integrations/supabase/types").Json;
77825
+ };
76072
77826
  logistics_supersede_stale_tasks: {
76073
77827
  Args: {
76074
77828
  p_keep: string[];
@@ -76105,6 +77859,12 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
76105
77859
  Args: never;
76106
77860
  Returns: string;
76107
77861
  };
77862
+ logistics_timezone_options: {
77863
+ Args: never;
77864
+ Returns: {
77865
+ name: string;
77866
+ }[];
77867
+ };
76108
77868
  logistics_upsert_task: {
76109
77869
  Args: {
76110
77870
  p_buffer_ref: string;
@@ -76124,6 +77884,16 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
76124
77884
  };
76125
77885
  Returns: string;
76126
77886
  };
77887
+ logistics_valid_timezone: {
77888
+ Args: {
77889
+ _tz: string;
77890
+ };
77891
+ Returns: boolean;
77892
+ };
77893
+ logistics_working_hours_status: {
77894
+ Args: never;
77895
+ Returns: import("../integrations/supabase/types").Json;
77896
+ };
76127
77897
  logistics_write_buffer_layer_positions: {
76128
77898
  Args: {
76129
77899
  p_buffer_id: string;
@@ -76289,6 +78059,10 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
76289
78059
  online: boolean;
76290
78060
  }[];
76291
78061
  };
78062
+ pick_apply_buffer_events: {
78063
+ Args: never;
78064
+ Returns: import("../integrations/supabase/types").Json;
78065
+ };
76292
78066
  pick_available_pick_days: {
76293
78067
  Args: {
76294
78068
  _max_days?: number;
@@ -77565,6 +79339,13 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
77565
79339
  };
77566
79340
  Returns: number;
77567
79341
  };
79342
+ schedule_floriday_catalog_prices_sync: {
79343
+ Args: {
79344
+ p_apikey: string;
79345
+ p_url: string;
79346
+ };
79347
+ Returns: number;
79348
+ };
77568
79349
  schedule_floriday_clock_presales_sync: {
77569
79350
  Args: {
77570
79351
  p_apikey: string;
@@ -77865,6 +79646,10 @@ export declare const syncAllAccountingProviders: import("@tanstack/start-client-
77865
79646
  };
77866
79647
  Returns: undefined;
77867
79648
  };
79649
+ sync_floriday_prices_into_price_groups: {
79650
+ Args: never;
79651
+ Returns: number;
79652
+ };
77868
79653
  sync_layer_stock: {
77869
79654
  Args: {
77870
79655
  p_product_id: string;