@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
@@ -5809,6 +5809,84 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
5809
5809
  referencedColumns: ["id"];
5810
5810
  }];
5811
5811
  };
5812
+ floriday_catalog_prices_cache: {
5813
+ Row: {
5814
+ connection_id: string;
5815
+ created_at: string;
5816
+ currency: string;
5817
+ id: string;
5818
+ is_deleted: boolean;
5819
+ price: number | null;
5820
+ price_group_id: string | null;
5821
+ price_group_name: string | null;
5822
+ price_type: string;
5823
+ raw: import("../../../integrations/supabase/types").Json | null;
5824
+ sales_unit: string | null;
5825
+ sequence_number: number;
5826
+ supplier_article_code: string | null;
5827
+ supply_line_id: string;
5828
+ synced_at: string;
5829
+ trade_item_id: string | null;
5830
+ updated_at: string;
5831
+ valid_from: string | null;
5832
+ valid_to: string | null;
5833
+ week: number | null;
5834
+ year: number | null;
5835
+ };
5836
+ Insert: {
5837
+ connection_id: string;
5838
+ created_at?: string;
5839
+ currency?: string;
5840
+ id?: string;
5841
+ is_deleted?: boolean;
5842
+ price?: number | null;
5843
+ price_group_id?: string | null;
5844
+ price_group_name?: string | null;
5845
+ price_type?: string;
5846
+ raw?: import("../../../integrations/supabase/types").Json | null;
5847
+ sales_unit?: string | null;
5848
+ sequence_number?: number;
5849
+ supplier_article_code?: string | null;
5850
+ supply_line_id: string;
5851
+ synced_at?: string;
5852
+ trade_item_id?: string | null;
5853
+ updated_at?: string;
5854
+ valid_from?: string | null;
5855
+ valid_to?: string | null;
5856
+ week?: number | null;
5857
+ year?: number | null;
5858
+ };
5859
+ Update: {
5860
+ connection_id?: string;
5861
+ created_at?: string;
5862
+ currency?: string;
5863
+ id?: string;
5864
+ is_deleted?: boolean;
5865
+ price?: number | null;
5866
+ price_group_id?: string | null;
5867
+ price_group_name?: string | null;
5868
+ price_type?: string;
5869
+ raw?: import("../../../integrations/supabase/types").Json | null;
5870
+ sales_unit?: string | null;
5871
+ sequence_number?: number;
5872
+ supplier_article_code?: string | null;
5873
+ supply_line_id?: string;
5874
+ synced_at?: string;
5875
+ trade_item_id?: string | null;
5876
+ updated_at?: string;
5877
+ valid_from?: string | null;
5878
+ valid_to?: string | null;
5879
+ week?: number | null;
5880
+ year?: number | null;
5881
+ };
5882
+ Relationships: [{
5883
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
5884
+ columns: ["connection_id"];
5885
+ isOneToOne: false;
5886
+ referencedRelation: "floriday_connections";
5887
+ referencedColumns: ["id"];
5888
+ }];
5889
+ };
5812
5890
  floriday_clock_presales_cache: {
5813
5891
  Row: {
5814
5892
  buyer_organization_id: string | null;
@@ -10075,6 +10153,36 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
10075
10153
  };
10076
10154
  Relationships: [];
10077
10155
  };
10156
+ logistics_floriday_push_refusals: {
10157
+ Row: {
10158
+ action: string | null;
10159
+ created_at: string;
10160
+ id: string;
10161
+ order_ref: string;
10162
+ reason: string;
10163
+ source_module: string | null;
10164
+ source_shell: string | null;
10165
+ };
10166
+ Insert: {
10167
+ action?: string | null;
10168
+ created_at?: string;
10169
+ id?: string;
10170
+ order_ref: string;
10171
+ reason: string;
10172
+ source_module?: string | null;
10173
+ source_shell?: string | null;
10174
+ };
10175
+ Update: {
10176
+ action?: string | null;
10177
+ created_at?: string;
10178
+ id?: string;
10179
+ order_ref?: string;
10180
+ reason?: string;
10181
+ source_module?: string | null;
10182
+ source_shell?: string | null;
10183
+ };
10184
+ Relationships: [];
10185
+ };
10078
10186
  logistics_floriday_pushes: {
10079
10187
  Row: {
10080
10188
  attempts: number;
@@ -10150,6 +10258,42 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
10150
10258
  };
10151
10259
  Relationships: [];
10152
10260
  };
10261
+ logistics_floriday_status_sends: {
10262
+ Row: {
10263
+ action: string;
10264
+ created_at: string;
10265
+ detail: string | null;
10266
+ http_status: number | null;
10267
+ id: string;
10268
+ ok: boolean;
10269
+ order_ref: string;
10270
+ source_module: string | null;
10271
+ source_shell: string | null;
10272
+ };
10273
+ Insert: {
10274
+ action: string;
10275
+ created_at?: string;
10276
+ detail?: string | null;
10277
+ http_status?: number | null;
10278
+ id?: string;
10279
+ ok?: boolean;
10280
+ order_ref: string;
10281
+ source_module?: string | null;
10282
+ source_shell?: string | null;
10283
+ };
10284
+ Update: {
10285
+ action?: string;
10286
+ created_at?: string;
10287
+ detail?: string | null;
10288
+ http_status?: number | null;
10289
+ id?: string;
10290
+ ok?: boolean;
10291
+ order_ref?: string;
10292
+ source_module?: string | null;
10293
+ source_shell?: string | null;
10294
+ };
10295
+ Relationships: [];
10296
+ };
10153
10297
  logistics_formulas: {
10154
10298
  Row: {
10155
10299
  created_at: string;
@@ -10222,6 +10366,108 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
10222
10366
  };
10223
10367
  Relationships: [];
10224
10368
  };
10369
+ logistics_opening_exceptions: {
10370
+ Row: {
10371
+ closes: string | null;
10372
+ created_at: string;
10373
+ day: string;
10374
+ id: string;
10375
+ is_closed: boolean;
10376
+ note: string | null;
10377
+ opens: string | null;
10378
+ };
10379
+ Insert: {
10380
+ closes?: string | null;
10381
+ created_at?: string;
10382
+ day: string;
10383
+ id?: string;
10384
+ is_closed?: boolean;
10385
+ note?: string | null;
10386
+ opens?: string | null;
10387
+ };
10388
+ Update: {
10389
+ closes?: string | null;
10390
+ created_at?: string;
10391
+ day?: string;
10392
+ id?: string;
10393
+ is_closed?: boolean;
10394
+ note?: string | null;
10395
+ opens?: string | null;
10396
+ };
10397
+ Relationships: [];
10398
+ };
10399
+ logistics_opening_hours: {
10400
+ Row: {
10401
+ closes: string;
10402
+ created_at: string;
10403
+ id: string;
10404
+ is_active: boolean;
10405
+ note: string | null;
10406
+ opens: string;
10407
+ weekday: number;
10408
+ };
10409
+ Insert: {
10410
+ closes: string;
10411
+ created_at?: string;
10412
+ id?: string;
10413
+ is_active?: boolean;
10414
+ note?: string | null;
10415
+ opens: string;
10416
+ weekday: number;
10417
+ };
10418
+ Update: {
10419
+ closes?: string;
10420
+ created_at?: string;
10421
+ id?: string;
10422
+ is_active?: boolean;
10423
+ note?: string | null;
10424
+ opens?: string;
10425
+ weekday?: number;
10426
+ };
10427
+ Relationships: [];
10428
+ };
10429
+ logistics_pick_data_requests: {
10430
+ Row: {
10431
+ actions: import("../../../integrations/supabase/types").Json;
10432
+ created_at: string;
10433
+ event_id: string | null;
10434
+ finished_at: string | null;
10435
+ id: string;
10436
+ missing: import("../../../integrations/supabase/types").Json;
10437
+ order_ref: string;
10438
+ reason: string | null;
10439
+ result: import("../../../integrations/supabase/types").Json | null;
10440
+ status: string;
10441
+ unit_ref: string | null;
10442
+ };
10443
+ Insert: {
10444
+ actions?: import("../../../integrations/supabase/types").Json;
10445
+ created_at?: string;
10446
+ event_id?: string | null;
10447
+ finished_at?: string | null;
10448
+ id?: string;
10449
+ missing?: import("../../../integrations/supabase/types").Json;
10450
+ order_ref: string;
10451
+ reason?: string | null;
10452
+ result?: import("../../../integrations/supabase/types").Json | null;
10453
+ status?: string;
10454
+ unit_ref?: string | null;
10455
+ };
10456
+ Update: {
10457
+ actions?: import("../../../integrations/supabase/types").Json;
10458
+ created_at?: string;
10459
+ event_id?: string | null;
10460
+ finished_at?: string | null;
10461
+ id?: string;
10462
+ missing?: import("../../../integrations/supabase/types").Json;
10463
+ order_ref?: string;
10464
+ reason?: string | null;
10465
+ result?: import("../../../integrations/supabase/types").Json | null;
10466
+ status?: string;
10467
+ unit_ref?: string | null;
10468
+ };
10469
+ Relationships: [];
10470
+ };
10225
10471
  logistics_pickup_moments: {
10226
10472
  Row: {
10227
10473
  carrier_ref: string | null;
@@ -11014,6 +11260,24 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
11014
11260
  };
11015
11261
  Relationships: [];
11016
11262
  };
11263
+ logistics_time_settings: {
11264
+ Row: {
11265
+ id: boolean;
11266
+ timezone: string;
11267
+ updated_at: string;
11268
+ };
11269
+ Insert: {
11270
+ id?: boolean;
11271
+ timezone: string;
11272
+ updated_at?: string;
11273
+ };
11274
+ Update: {
11275
+ id?: boolean;
11276
+ timezone?: string;
11277
+ updated_at?: string;
11278
+ };
11279
+ Relationships: [];
11280
+ };
11017
11281
  logistics_variables: {
11018
11282
  Row: {
11019
11283
  created_at: string;
@@ -13404,6 +13668,7 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
13404
13668
  customer_name: string;
13405
13669
  deleted_at: string | null;
13406
13670
  delivery_date: string | null;
13671
+ floriday_order_group_key: string | null;
13407
13672
  floriday_sales_order_id: string | null;
13408
13673
  id: string;
13409
13674
  invoice_due_at: string | null;
@@ -13431,6 +13696,7 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
13431
13696
  customer_name?: string;
13432
13697
  deleted_at?: string | null;
13433
13698
  delivery_date?: string | null;
13699
+ floriday_order_group_key?: string | null;
13434
13700
  floriday_sales_order_id?: string | null;
13435
13701
  id?: string;
13436
13702
  invoice_due_at?: string | null;
@@ -13458,6 +13724,7 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
13458
13724
  customer_name?: string;
13459
13725
  deleted_at?: string | null;
13460
13726
  delivery_date?: string | null;
13727
+ floriday_order_group_key?: string | null;
13461
13728
  floriday_sales_order_id?: string | null;
13462
13729
  id?: string;
13463
13730
  invoice_due_at?: string | null;
@@ -13651,6 +13918,27 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
13651
13918
  };
13652
13919
  Relationships: [];
13653
13920
  };
13921
+ pick_buffer_event_cursor: {
13922
+ Row: {
13923
+ created_at: string;
13924
+ id: boolean;
13925
+ last_event_at: string;
13926
+ updated_at: string;
13927
+ };
13928
+ Insert: {
13929
+ created_at?: string;
13930
+ id?: boolean;
13931
+ last_event_at?: string;
13932
+ updated_at?: string;
13933
+ };
13934
+ Update: {
13935
+ created_at?: string;
13936
+ id?: boolean;
13937
+ last_event_at?: string;
13938
+ updated_at?: string;
13939
+ };
13940
+ Relationships: [];
13941
+ };
13654
13942
  pick_countries: {
13655
13943
  Row: {
13656
13944
  active: boolean;
@@ -19300,6 +19588,36 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
19300
19588
  referencedColumns: ["id"];
19301
19589
  }];
19302
19590
  };
19591
+ voorraad_buffer_state: {
19592
+ Row: {
19593
+ buffer_id: string;
19594
+ buffer_key: string | null;
19595
+ closed_at: string | null;
19596
+ created_at: string;
19597
+ detached_orders: import("../../../integrations/supabase/types").Json;
19598
+ reason: string | null;
19599
+ updated_at: string;
19600
+ };
19601
+ Insert: {
19602
+ buffer_id: string;
19603
+ buffer_key?: string | null;
19604
+ closed_at?: string | null;
19605
+ created_at?: string;
19606
+ detached_orders?: import("../../../integrations/supabase/types").Json;
19607
+ reason?: string | null;
19608
+ updated_at?: string;
19609
+ };
19610
+ Update: {
19611
+ buffer_id?: string;
19612
+ buffer_key?: string | null;
19613
+ closed_at?: string | null;
19614
+ created_at?: string;
19615
+ detached_orders?: import("../../../integrations/supabase/types").Json;
19616
+ reason?: string | null;
19617
+ updated_at?: string;
19618
+ };
19619
+ Relationships: [];
19620
+ };
19303
19621
  voorraad_custom_fields: {
19304
19622
  Row: {
19305
19623
  created_at: string;
@@ -19342,6 +19660,36 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
19342
19660
  };
19343
19661
  Relationships: [];
19344
19662
  };
19663
+ voorraad_logistics_event_log: {
19664
+ Row: {
19665
+ created_at: string;
19666
+ event_id: string;
19667
+ event_type: string;
19668
+ order_ref: string | null;
19669
+ processed_at: string;
19670
+ result: import("../../../integrations/supabase/types").Json;
19671
+ updated_at: string;
19672
+ };
19673
+ Insert: {
19674
+ created_at?: string;
19675
+ event_id: string;
19676
+ event_type: string;
19677
+ order_ref?: string | null;
19678
+ processed_at?: string;
19679
+ result?: import("../../../integrations/supabase/types").Json;
19680
+ updated_at?: string;
19681
+ };
19682
+ Update: {
19683
+ created_at?: string;
19684
+ event_id?: string;
19685
+ event_type?: string;
19686
+ order_ref?: string | null;
19687
+ processed_at?: string;
19688
+ result?: import("../../../integrations/supabase/types").Json;
19689
+ updated_at?: string;
19690
+ };
19691
+ Relationships: [];
19692
+ };
19345
19693
  voorraad_media_upload_failures: {
19346
19694
  Row: {
19347
19695
  action: string;
@@ -22167,6 +22515,17 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
22167
22515
  };
22168
22516
  Returns: boolean;
22169
22517
  };
22518
+ floriday_adopt_connection: {
22519
+ Args: {
22520
+ p_new: string;
22521
+ p_old: string;
22522
+ };
22523
+ Returns: import("../../../integrations/supabase/types").Json;
22524
+ };
22525
+ floriday_autoheal_connections: {
22526
+ Args: never;
22527
+ Returns: import("../../../integrations/supabase/types").Json;
22528
+ };
22170
22529
  floriday_capture_stock_snapshot: {
22171
22530
  Args: never;
22172
22531
  Returns: number;
@@ -22224,6 +22583,12 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
22224
22583
  };
22225
22584
  Returns: undefined;
22226
22585
  };
22586
+ floriday_relink_products: {
22587
+ Args: {
22588
+ p_connection_id?: string;
22589
+ };
22590
+ Returns: import("../../../integrations/supabase/types").Json;
22591
+ };
22227
22592
  floriday_requeue_dead_letters: {
22228
22593
  Args: {
22229
22594
  p_connection_id?: string;
@@ -22845,6 +23210,10 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
22845
23210
  };
22846
23211
  Returns: string;
22847
23212
  };
23213
+ logistics_active_layout_method: {
23214
+ Args: never;
23215
+ Returns: string;
23216
+ };
22848
23217
  logistics_active_pick_workdays: {
22849
23218
  Args: never;
22850
23219
  Returns: string[];
@@ -22952,6 +23321,15 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
22952
23321
  };
22953
23322
  Returns: boolean;
22954
23323
  };
23324
+ logistics_buffer_notify: {
23325
+ Args: {
23326
+ p_event_type: string;
23327
+ p_idempotency_key: string;
23328
+ p_order_ref: string;
23329
+ p_payload: import("../../../integrations/supabase/types").Json;
23330
+ };
23331
+ Returns: string;
23332
+ };
22955
23333
  logistics_buffer_open_key: {
22956
23334
  Args: {
22957
23335
  p_base_key: string;
@@ -23010,6 +23388,12 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
23010
23388
  };
23011
23389
  Returns: string;
23012
23390
  };
23391
+ logistics_cart_checkin_at: {
23392
+ Args: {
23393
+ p_cart_id: string;
23394
+ };
23395
+ Returns: string;
23396
+ };
23013
23397
  logistics_cart_handled: {
23014
23398
  Args: {
23015
23399
  p_cart_index: number;
@@ -23043,10 +23427,22 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
23043
23427
  task_status: string;
23044
23428
  }[];
23045
23429
  };
23430
+ logistics_cart_is_full: {
23431
+ Args: {
23432
+ p_cart_id: string;
23433
+ };
23434
+ Returns: boolean;
23435
+ };
23046
23436
  logistics_cart_layout_method: {
23047
23437
  Args: never;
23048
23438
  Returns: import("../../../integrations/supabase/types").Json;
23049
23439
  };
23440
+ logistics_cart_order_refs: {
23441
+ Args: {
23442
+ p_cart_id: string;
23443
+ };
23444
+ Returns: string[];
23445
+ };
23050
23446
  logistics_cart_plan_overview: {
23051
23447
  Args: {
23052
23448
  p_days?: number;
@@ -23066,6 +23462,18 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
23066
23462
  };
23067
23463
  Returns: import("../../../integrations/supabase/types").Json;
23068
23464
  };
23465
+ logistics_cart_release_reason: {
23466
+ Args: {
23467
+ p_cart_id: string;
23468
+ };
23469
+ Returns: string;
23470
+ };
23471
+ logistics_cart_released: {
23472
+ Args: {
23473
+ p_cart_id: string;
23474
+ };
23475
+ Returns: boolean;
23476
+ };
23069
23477
  logistics_cart_seq: {
23070
23478
  Args: {
23071
23479
  p_order_uuid?: string;
@@ -23219,6 +23627,10 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
23219
23627
  isSetofReturn: false;
23220
23628
  };
23221
23629
  };
23630
+ logistics_cleanup_orphan_print_jobs: {
23631
+ Args: never;
23632
+ Returns: import("../../../integrations/supabase/types").Json;
23633
+ };
23222
23634
  logistics_complete_task: {
23223
23635
  Args: {
23224
23636
  p_result?: import("../../../integrations/supabase/types").Json;
@@ -23281,6 +23693,12 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
23281
23693
  station_carts: number;
23282
23694
  }[];
23283
23695
  };
23696
+ logistics_control_complete_cart: {
23697
+ Args: {
23698
+ p_cart_id: string;
23699
+ };
23700
+ Returns: number;
23701
+ };
23284
23702
  logistics_control_scan_approve: {
23285
23703
  Args: {
23286
23704
  p_allow_reprint?: boolean;
@@ -23360,6 +23778,15 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
23360
23778
  Args: never;
23361
23779
  Returns: import("../../../integrations/supabase/types").Json;
23362
23780
  };
23781
+ logistics_day_windows: {
23782
+ Args: {
23783
+ p_day: string;
23784
+ };
23785
+ Returns: {
23786
+ win_end: string;
23787
+ win_start: string;
23788
+ }[];
23789
+ };
23363
23790
  logistics_delay_customer_email: {
23364
23791
  Args: {
23365
23792
  p_customer: string;
@@ -23427,6 +23854,17 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
23427
23854
  };
23428
23855
  Returns: import("../../../integrations/supabase/types").Json;
23429
23856
  };
23857
+ logistics_enqueue_shipping_note_with_slip: {
23858
+ Args: {
23859
+ _cart_id: string;
23860
+ _is_herprint: boolean;
23861
+ _printer_id: string;
23862
+ _queue_item_id: string;
23863
+ _session_id: string;
23864
+ _slip_job_id: string;
23865
+ };
23866
+ Returns: string;
23867
+ };
23430
23868
  logistics_enqueue_sticker_with_slip: {
23431
23869
  Args: {
23432
23870
  _cart_id: string;
@@ -23444,6 +23882,14 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
23444
23882
  };
23445
23883
  Returns: string;
23446
23884
  };
23885
+ logistics_ensure_pick_data: {
23886
+ Args: {
23887
+ p_event_id?: string;
23888
+ p_missing?: import("../../../integrations/supabase/types").Json;
23889
+ p_ref: string;
23890
+ };
23891
+ Returns: import("../../../integrations/supabase/types").Json;
23892
+ };
23447
23893
  logistics_fail_task: {
23448
23894
  Args: {
23449
23895
  p_error: string;
@@ -23565,6 +24011,38 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
23565
24011
  };
23566
24012
  Returns: string;
23567
24013
  };
24014
+ logistics_floriday_gate_status: {
24015
+ Args: never;
24016
+ Returns: import("../../../integrations/supabase/types").Json;
24017
+ };
24018
+ logistics_floriday_log_refusal: {
24019
+ Args: {
24020
+ _action?: string;
24021
+ _module?: string;
24022
+ _order_ref: string;
24023
+ _reason: string;
24024
+ _shell?: string;
24025
+ };
24026
+ Returns: undefined;
24027
+ };
24028
+ logistics_floriday_log_send: {
24029
+ Args: {
24030
+ _action: string;
24031
+ _detail?: string;
24032
+ _http_status?: number;
24033
+ _module?: string;
24034
+ _ok: boolean;
24035
+ _order_ref: string;
24036
+ _shell?: string;
24037
+ };
24038
+ Returns: undefined;
24039
+ };
24040
+ logistics_floriday_order_approved: {
24041
+ Args: {
24042
+ _order_ref: string;
24043
+ };
24044
+ Returns: boolean;
24045
+ };
23568
24046
  logistics_floriday_prune_pushes: {
23569
24047
  Args: {
23570
24048
  _days?: number;
@@ -23579,6 +24057,20 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
23579
24057
  };
23580
24058
  Returns: string;
23581
24059
  };
24060
+ logistics_floriday_status_updates_enabled: {
24061
+ Args: never;
24062
+ Returns: boolean;
24063
+ };
24064
+ logistics_floriday_stock_updates_enabled: {
24065
+ Args: never;
24066
+ Returns: boolean;
24067
+ };
24068
+ logistics_floriday_write_allowed: {
24069
+ Args: {
24070
+ _action: string;
24071
+ };
24072
+ Returns: boolean;
24073
+ };
23582
24074
  logistics_fulfill_barcode_requests: {
23583
24075
  Args: {
23584
24076
  p_limit?: number;
@@ -23599,6 +24091,16 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
23599
24091
  };
23600
24092
  Returns: boolean;
23601
24093
  };
24094
+ logistics_layout_method_status: {
24095
+ Args: never;
24096
+ Returns: import("../../../integrations/supabase/types").Json;
24097
+ };
24098
+ logistics_link_order_items: {
24099
+ Args: {
24100
+ p_order?: string;
24101
+ };
24102
+ Returns: import("../../../integrations/supabase/types").Json;
24103
+ };
23602
24104
  logistics_live_carriers: {
23603
24105
  Args: {
23604
24106
  p_order_ref: string;
@@ -23611,6 +24113,12 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
23611
24113
  };
23612
24114
  Returns: number;
23613
24115
  };
24116
+ logistics_merge_partial_carts: {
24117
+ Args: {
24118
+ p_limit?: number;
24119
+ };
24120
+ Returns: import("../../../integrations/supabase/types").Json;
24121
+ };
23614
24122
  logistics_next_workday_date: {
23615
24123
  Args: {
23616
24124
  p_date: string;
@@ -23625,12 +24133,22 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
23625
24133
  };
23626
24134
  Returns: string;
23627
24135
  };
24136
+ logistics_normalize_product_label: {
24137
+ Args: {
24138
+ p_label: string;
24139
+ };
24140
+ Returns: string;
24141
+ };
23628
24142
  logistics_not_past: {
23629
24143
  Args: {
23630
24144
  p_ts: string;
23631
24145
  };
23632
24146
  Returns: string;
23633
24147
  };
24148
+ logistics_opening_timezone: {
24149
+ Args: never;
24150
+ Returns: string;
24151
+ };
23634
24152
  logistics_order_cart_count: {
23635
24153
  Args: {
23636
24154
  p_order_ref: string;
@@ -23715,6 +24233,10 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
23715
24233
  Args: never;
23716
24234
  Returns: import("../../../integrations/supabase/types").Json;
23717
24235
  };
24236
+ logistics_pick_partial_mode: {
24237
+ Args: never;
24238
+ Returns: string;
24239
+ };
23718
24240
  logistics_pick_start_estimate: {
23719
24241
  Args: {
23720
24242
  p_order: import("../../../integrations/supabase/types").Json;
@@ -23826,6 +24348,12 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
23826
24348
  };
23827
24349
  Returns: number;
23828
24350
  };
24351
+ logistics_prepare_pick_documents: {
24352
+ Args: {
24353
+ p_limit?: number;
24354
+ };
24355
+ Returns: import("../../../integrations/supabase/types").Json;
24356
+ };
23829
24357
  logistics_prune_buffer_member_queue: {
23830
24358
  Args: never;
23831
24359
  Returns: number;
@@ -23866,12 +24394,30 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
23866
24394
  Args: never;
23867
24395
  Returns: import("../../../integrations/supabase/types").Json;
23868
24396
  };
24397
+ logistics_refresh_pick_queue_status: {
24398
+ Args: {
24399
+ p_ref: string;
24400
+ };
24401
+ Returns: number;
24402
+ };
23869
24403
  logistics_refresh_pickup_moments: {
23870
24404
  Args: {
23871
24405
  p_weeks?: number;
23872
24406
  };
23873
24407
  Returns: import("../../../integrations/supabase/types").Json;
23874
24408
  };
24409
+ logistics_replan_all: {
24410
+ Args: {
24411
+ p_reason?: string;
24412
+ };
24413
+ Returns: import("../../../integrations/supabase/types").Json;
24414
+ };
24415
+ logistics_replan_all_force: {
24416
+ Args: {
24417
+ p_reason?: string;
24418
+ };
24419
+ Returns: import("../../../integrations/supabase/types").Json;
24420
+ };
23875
24421
  logistics_report_delay: {
23876
24422
  Args: {
23877
24423
  p_expected_date?: string;
@@ -23925,6 +24471,12 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
23925
24471
  };
23926
24472
  Returns: import("../../../integrations/supabase/types").Json;
23927
24473
  };
24474
+ logistics_resolve_product_id: {
24475
+ Args: {
24476
+ p_label: string;
24477
+ };
24478
+ Returns: string;
24479
+ };
23928
24480
  logistics_resolve_settings: {
23929
24481
  Args: {
23930
24482
  p_config_id: string;
@@ -24010,6 +24562,10 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
24010
24562
  };
24011
24563
  Returns: string;
24012
24564
  };
24565
+ logistics_shipping_note_follows_slip: {
24566
+ Args: never;
24567
+ Returns: boolean;
24568
+ };
24013
24569
  logistics_shipping_note_from_barcode: {
24014
24570
  Args: {
24015
24571
  p_allow_reprint?: boolean;
@@ -24022,6 +24578,14 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
24022
24578
  Args: never;
24023
24579
  Returns: boolean;
24024
24580
  };
24581
+ logistics_subtract_working_minutes: {
24582
+ Args: {
24583
+ p_deadline: string;
24584
+ p_max_workdays?: number;
24585
+ p_minutes: number;
24586
+ };
24587
+ Returns: import("../../../integrations/supabase/types").Json;
24588
+ };
24025
24589
  logistics_supersede_stale_tasks: {
24026
24590
  Args: {
24027
24591
  p_keep: string[];
@@ -24058,6 +24622,12 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
24058
24622
  Args: never;
24059
24623
  Returns: string;
24060
24624
  };
24625
+ logistics_timezone_options: {
24626
+ Args: never;
24627
+ Returns: {
24628
+ name: string;
24629
+ }[];
24630
+ };
24061
24631
  logistics_upsert_task: {
24062
24632
  Args: {
24063
24633
  p_buffer_ref: string;
@@ -24077,6 +24647,16 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
24077
24647
  };
24078
24648
  Returns: string;
24079
24649
  };
24650
+ logistics_valid_timezone: {
24651
+ Args: {
24652
+ _tz: string;
24653
+ };
24654
+ Returns: boolean;
24655
+ };
24656
+ logistics_working_hours_status: {
24657
+ Args: never;
24658
+ Returns: import("../../../integrations/supabase/types").Json;
24659
+ };
24080
24660
  logistics_write_buffer_layer_positions: {
24081
24661
  Args: {
24082
24662
  p_buffer_id: string;
@@ -24242,6 +24822,10 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
24242
24822
  online: boolean;
24243
24823
  }[];
24244
24824
  };
24825
+ pick_apply_buffer_events: {
24826
+ Args: never;
24827
+ Returns: import("../../../integrations/supabase/types").Json;
24828
+ };
24245
24829
  pick_available_pick_days: {
24246
24830
  Args: {
24247
24831
  _max_days?: number;
@@ -25518,6 +26102,13 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
25518
26102
  };
25519
26103
  Returns: number;
25520
26104
  };
26105
+ schedule_floriday_catalog_prices_sync: {
26106
+ Args: {
26107
+ p_apikey: string;
26108
+ p_url: string;
26109
+ };
26110
+ Returns: number;
26111
+ };
25521
26112
  schedule_floriday_clock_presales_sync: {
25522
26113
  Args: {
25523
26114
  p_apikey: string;
@@ -25818,6 +26409,10 @@ export declare const processTwinfieldPushQueue: import("@tanstack/start-client-c
25818
26409
  };
25819
26410
  Returns: undefined;
25820
26411
  };
26412
+ sync_floriday_prices_into_price_groups: {
26413
+ Args: never;
26414
+ Returns: number;
26415
+ };
25821
26416
  sync_layer_stock: {
25822
26417
  Args: {
25823
26418
  p_product_id: string;
@@ -31834,6 +32429,84 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
31834
32429
  referencedColumns: ["id"];
31835
32430
  }];
31836
32431
  };
32432
+ floriday_catalog_prices_cache: {
32433
+ Row: {
32434
+ connection_id: string;
32435
+ created_at: string;
32436
+ currency: string;
32437
+ id: string;
32438
+ is_deleted: boolean;
32439
+ price: number | null;
32440
+ price_group_id: string | null;
32441
+ price_group_name: string | null;
32442
+ price_type: string;
32443
+ raw: import("../../../integrations/supabase/types").Json | null;
32444
+ sales_unit: string | null;
32445
+ sequence_number: number;
32446
+ supplier_article_code: string | null;
32447
+ supply_line_id: string;
32448
+ synced_at: string;
32449
+ trade_item_id: string | null;
32450
+ updated_at: string;
32451
+ valid_from: string | null;
32452
+ valid_to: string | null;
32453
+ week: number | null;
32454
+ year: number | null;
32455
+ };
32456
+ Insert: {
32457
+ connection_id: string;
32458
+ created_at?: string;
32459
+ currency?: string;
32460
+ id?: string;
32461
+ is_deleted?: boolean;
32462
+ price?: number | null;
32463
+ price_group_id?: string | null;
32464
+ price_group_name?: string | null;
32465
+ price_type?: string;
32466
+ raw?: import("../../../integrations/supabase/types").Json | null;
32467
+ sales_unit?: string | null;
32468
+ sequence_number?: number;
32469
+ supplier_article_code?: string | null;
32470
+ supply_line_id: string;
32471
+ synced_at?: string;
32472
+ trade_item_id?: string | null;
32473
+ updated_at?: string;
32474
+ valid_from?: string | null;
32475
+ valid_to?: string | null;
32476
+ week?: number | null;
32477
+ year?: number | null;
32478
+ };
32479
+ Update: {
32480
+ connection_id?: string;
32481
+ created_at?: string;
32482
+ currency?: string;
32483
+ id?: string;
32484
+ is_deleted?: boolean;
32485
+ price?: number | null;
32486
+ price_group_id?: string | null;
32487
+ price_group_name?: string | null;
32488
+ price_type?: string;
32489
+ raw?: import("../../../integrations/supabase/types").Json | null;
32490
+ sales_unit?: string | null;
32491
+ sequence_number?: number;
32492
+ supplier_article_code?: string | null;
32493
+ supply_line_id?: string;
32494
+ synced_at?: string;
32495
+ trade_item_id?: string | null;
32496
+ updated_at?: string;
32497
+ valid_from?: string | null;
32498
+ valid_to?: string | null;
32499
+ week?: number | null;
32500
+ year?: number | null;
32501
+ };
32502
+ Relationships: [{
32503
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
32504
+ columns: ["connection_id"];
32505
+ isOneToOne: false;
32506
+ referencedRelation: "floriday_connections";
32507
+ referencedColumns: ["id"];
32508
+ }];
32509
+ };
31837
32510
  floriday_clock_presales_cache: {
31838
32511
  Row: {
31839
32512
  buyer_organization_id: string | null;
@@ -36100,6 +36773,36 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
36100
36773
  };
36101
36774
  Relationships: [];
36102
36775
  };
36776
+ logistics_floriday_push_refusals: {
36777
+ Row: {
36778
+ action: string | null;
36779
+ created_at: string;
36780
+ id: string;
36781
+ order_ref: string;
36782
+ reason: string;
36783
+ source_module: string | null;
36784
+ source_shell: string | null;
36785
+ };
36786
+ Insert: {
36787
+ action?: string | null;
36788
+ created_at?: string;
36789
+ id?: string;
36790
+ order_ref: string;
36791
+ reason: string;
36792
+ source_module?: string | null;
36793
+ source_shell?: string | null;
36794
+ };
36795
+ Update: {
36796
+ action?: string | null;
36797
+ created_at?: string;
36798
+ id?: string;
36799
+ order_ref?: string;
36800
+ reason?: string;
36801
+ source_module?: string | null;
36802
+ source_shell?: string | null;
36803
+ };
36804
+ Relationships: [];
36805
+ };
36103
36806
  logistics_floriday_pushes: {
36104
36807
  Row: {
36105
36808
  attempts: number;
@@ -36175,6 +36878,42 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
36175
36878
  };
36176
36879
  Relationships: [];
36177
36880
  };
36881
+ logistics_floriday_status_sends: {
36882
+ Row: {
36883
+ action: string;
36884
+ created_at: string;
36885
+ detail: string | null;
36886
+ http_status: number | null;
36887
+ id: string;
36888
+ ok: boolean;
36889
+ order_ref: string;
36890
+ source_module: string | null;
36891
+ source_shell: string | null;
36892
+ };
36893
+ Insert: {
36894
+ action: string;
36895
+ created_at?: string;
36896
+ detail?: string | null;
36897
+ http_status?: number | null;
36898
+ id?: string;
36899
+ ok?: boolean;
36900
+ order_ref: string;
36901
+ source_module?: string | null;
36902
+ source_shell?: string | null;
36903
+ };
36904
+ Update: {
36905
+ action?: string;
36906
+ created_at?: string;
36907
+ detail?: string | null;
36908
+ http_status?: number | null;
36909
+ id?: string;
36910
+ ok?: boolean;
36911
+ order_ref?: string;
36912
+ source_module?: string | null;
36913
+ source_shell?: string | null;
36914
+ };
36915
+ Relationships: [];
36916
+ };
36178
36917
  logistics_formulas: {
36179
36918
  Row: {
36180
36919
  created_at: string;
@@ -36247,6 +36986,108 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
36247
36986
  };
36248
36987
  Relationships: [];
36249
36988
  };
36989
+ logistics_opening_exceptions: {
36990
+ Row: {
36991
+ closes: string | null;
36992
+ created_at: string;
36993
+ day: string;
36994
+ id: string;
36995
+ is_closed: boolean;
36996
+ note: string | null;
36997
+ opens: string | null;
36998
+ };
36999
+ Insert: {
37000
+ closes?: string | null;
37001
+ created_at?: string;
37002
+ day: string;
37003
+ id?: string;
37004
+ is_closed?: boolean;
37005
+ note?: string | null;
37006
+ opens?: string | null;
37007
+ };
37008
+ Update: {
37009
+ closes?: string | null;
37010
+ created_at?: string;
37011
+ day?: string;
37012
+ id?: string;
37013
+ is_closed?: boolean;
37014
+ note?: string | null;
37015
+ opens?: string | null;
37016
+ };
37017
+ Relationships: [];
37018
+ };
37019
+ logistics_opening_hours: {
37020
+ Row: {
37021
+ closes: string;
37022
+ created_at: string;
37023
+ id: string;
37024
+ is_active: boolean;
37025
+ note: string | null;
37026
+ opens: string;
37027
+ weekday: number;
37028
+ };
37029
+ Insert: {
37030
+ closes: string;
37031
+ created_at?: string;
37032
+ id?: string;
37033
+ is_active?: boolean;
37034
+ note?: string | null;
37035
+ opens: string;
37036
+ weekday: number;
37037
+ };
37038
+ Update: {
37039
+ closes?: string;
37040
+ created_at?: string;
37041
+ id?: string;
37042
+ is_active?: boolean;
37043
+ note?: string | null;
37044
+ opens?: string;
37045
+ weekday?: number;
37046
+ };
37047
+ Relationships: [];
37048
+ };
37049
+ logistics_pick_data_requests: {
37050
+ Row: {
37051
+ actions: import("../../../integrations/supabase/types").Json;
37052
+ created_at: string;
37053
+ event_id: string | null;
37054
+ finished_at: string | null;
37055
+ id: string;
37056
+ missing: import("../../../integrations/supabase/types").Json;
37057
+ order_ref: string;
37058
+ reason: string | null;
37059
+ result: import("../../../integrations/supabase/types").Json | null;
37060
+ status: string;
37061
+ unit_ref: string | null;
37062
+ };
37063
+ Insert: {
37064
+ actions?: import("../../../integrations/supabase/types").Json;
37065
+ created_at?: string;
37066
+ event_id?: string | null;
37067
+ finished_at?: string | null;
37068
+ id?: string;
37069
+ missing?: import("../../../integrations/supabase/types").Json;
37070
+ order_ref: string;
37071
+ reason?: string | null;
37072
+ result?: import("../../../integrations/supabase/types").Json | null;
37073
+ status?: string;
37074
+ unit_ref?: string | null;
37075
+ };
37076
+ Update: {
37077
+ actions?: import("../../../integrations/supabase/types").Json;
37078
+ created_at?: string;
37079
+ event_id?: string | null;
37080
+ finished_at?: string | null;
37081
+ id?: string;
37082
+ missing?: import("../../../integrations/supabase/types").Json;
37083
+ order_ref?: string;
37084
+ reason?: string | null;
37085
+ result?: import("../../../integrations/supabase/types").Json | null;
37086
+ status?: string;
37087
+ unit_ref?: string | null;
37088
+ };
37089
+ Relationships: [];
37090
+ };
36250
37091
  logistics_pickup_moments: {
36251
37092
  Row: {
36252
37093
  carrier_ref: string | null;
@@ -37039,6 +37880,24 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
37039
37880
  };
37040
37881
  Relationships: [];
37041
37882
  };
37883
+ logistics_time_settings: {
37884
+ Row: {
37885
+ id: boolean;
37886
+ timezone: string;
37887
+ updated_at: string;
37888
+ };
37889
+ Insert: {
37890
+ id?: boolean;
37891
+ timezone: string;
37892
+ updated_at?: string;
37893
+ };
37894
+ Update: {
37895
+ id?: boolean;
37896
+ timezone?: string;
37897
+ updated_at?: string;
37898
+ };
37899
+ Relationships: [];
37900
+ };
37042
37901
  logistics_variables: {
37043
37902
  Row: {
37044
37903
  created_at: string;
@@ -39429,6 +40288,7 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
39429
40288
  customer_name: string;
39430
40289
  deleted_at: string | null;
39431
40290
  delivery_date: string | null;
40291
+ floriday_order_group_key: string | null;
39432
40292
  floriday_sales_order_id: string | null;
39433
40293
  id: string;
39434
40294
  invoice_due_at: string | null;
@@ -39456,6 +40316,7 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
39456
40316
  customer_name?: string;
39457
40317
  deleted_at?: string | null;
39458
40318
  delivery_date?: string | null;
40319
+ floriday_order_group_key?: string | null;
39459
40320
  floriday_sales_order_id?: string | null;
39460
40321
  id?: string;
39461
40322
  invoice_due_at?: string | null;
@@ -39483,6 +40344,7 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
39483
40344
  customer_name?: string;
39484
40345
  deleted_at?: string | null;
39485
40346
  delivery_date?: string | null;
40347
+ floriday_order_group_key?: string | null;
39486
40348
  floriday_sales_order_id?: string | null;
39487
40349
  id?: string;
39488
40350
  invoice_due_at?: string | null;
@@ -39676,6 +40538,27 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
39676
40538
  };
39677
40539
  Relationships: [];
39678
40540
  };
40541
+ pick_buffer_event_cursor: {
40542
+ Row: {
40543
+ created_at: string;
40544
+ id: boolean;
40545
+ last_event_at: string;
40546
+ updated_at: string;
40547
+ };
40548
+ Insert: {
40549
+ created_at?: string;
40550
+ id?: boolean;
40551
+ last_event_at?: string;
40552
+ updated_at?: string;
40553
+ };
40554
+ Update: {
40555
+ created_at?: string;
40556
+ id?: boolean;
40557
+ last_event_at?: string;
40558
+ updated_at?: string;
40559
+ };
40560
+ Relationships: [];
40561
+ };
39679
40562
  pick_countries: {
39680
40563
  Row: {
39681
40564
  active: boolean;
@@ -45325,6 +46208,36 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
45325
46208
  referencedColumns: ["id"];
45326
46209
  }];
45327
46210
  };
46211
+ voorraad_buffer_state: {
46212
+ Row: {
46213
+ buffer_id: string;
46214
+ buffer_key: string | null;
46215
+ closed_at: string | null;
46216
+ created_at: string;
46217
+ detached_orders: import("../../../integrations/supabase/types").Json;
46218
+ reason: string | null;
46219
+ updated_at: string;
46220
+ };
46221
+ Insert: {
46222
+ buffer_id: string;
46223
+ buffer_key?: string | null;
46224
+ closed_at?: string | null;
46225
+ created_at?: string;
46226
+ detached_orders?: import("../../../integrations/supabase/types").Json;
46227
+ reason?: string | null;
46228
+ updated_at?: string;
46229
+ };
46230
+ Update: {
46231
+ buffer_id?: string;
46232
+ buffer_key?: string | null;
46233
+ closed_at?: string | null;
46234
+ created_at?: string;
46235
+ detached_orders?: import("../../../integrations/supabase/types").Json;
46236
+ reason?: string | null;
46237
+ updated_at?: string;
46238
+ };
46239
+ Relationships: [];
46240
+ };
45328
46241
  voorraad_custom_fields: {
45329
46242
  Row: {
45330
46243
  created_at: string;
@@ -45367,6 +46280,36 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
45367
46280
  };
45368
46281
  Relationships: [];
45369
46282
  };
46283
+ voorraad_logistics_event_log: {
46284
+ Row: {
46285
+ created_at: string;
46286
+ event_id: string;
46287
+ event_type: string;
46288
+ order_ref: string | null;
46289
+ processed_at: string;
46290
+ result: import("../../../integrations/supabase/types").Json;
46291
+ updated_at: string;
46292
+ };
46293
+ Insert: {
46294
+ created_at?: string;
46295
+ event_id: string;
46296
+ event_type: string;
46297
+ order_ref?: string | null;
46298
+ processed_at?: string;
46299
+ result?: import("../../../integrations/supabase/types").Json;
46300
+ updated_at?: string;
46301
+ };
46302
+ Update: {
46303
+ created_at?: string;
46304
+ event_id?: string;
46305
+ event_type?: string;
46306
+ order_ref?: string | null;
46307
+ processed_at?: string;
46308
+ result?: import("../../../integrations/supabase/types").Json;
46309
+ updated_at?: string;
46310
+ };
46311
+ Relationships: [];
46312
+ };
45370
46313
  voorraad_media_upload_failures: {
45371
46314
  Row: {
45372
46315
  action: string;
@@ -48192,6 +49135,17 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
48192
49135
  };
48193
49136
  Returns: boolean;
48194
49137
  };
49138
+ floriday_adopt_connection: {
49139
+ Args: {
49140
+ p_new: string;
49141
+ p_old: string;
49142
+ };
49143
+ Returns: import("../../../integrations/supabase/types").Json;
49144
+ };
49145
+ floriday_autoheal_connections: {
49146
+ Args: never;
49147
+ Returns: import("../../../integrations/supabase/types").Json;
49148
+ };
48195
49149
  floriday_capture_stock_snapshot: {
48196
49150
  Args: never;
48197
49151
  Returns: number;
@@ -48249,6 +49203,12 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
48249
49203
  };
48250
49204
  Returns: undefined;
48251
49205
  };
49206
+ floriday_relink_products: {
49207
+ Args: {
49208
+ p_connection_id?: string;
49209
+ };
49210
+ Returns: import("../../../integrations/supabase/types").Json;
49211
+ };
48252
49212
  floriday_requeue_dead_letters: {
48253
49213
  Args: {
48254
49214
  p_connection_id?: string;
@@ -48870,6 +49830,10 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
48870
49830
  };
48871
49831
  Returns: string;
48872
49832
  };
49833
+ logistics_active_layout_method: {
49834
+ Args: never;
49835
+ Returns: string;
49836
+ };
48873
49837
  logistics_active_pick_workdays: {
48874
49838
  Args: never;
48875
49839
  Returns: string[];
@@ -48977,6 +49941,15 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
48977
49941
  };
48978
49942
  Returns: boolean;
48979
49943
  };
49944
+ logistics_buffer_notify: {
49945
+ Args: {
49946
+ p_event_type: string;
49947
+ p_idempotency_key: string;
49948
+ p_order_ref: string;
49949
+ p_payload: import("../../../integrations/supabase/types").Json;
49950
+ };
49951
+ Returns: string;
49952
+ };
48980
49953
  logistics_buffer_open_key: {
48981
49954
  Args: {
48982
49955
  p_base_key: string;
@@ -49035,6 +50008,12 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
49035
50008
  };
49036
50009
  Returns: string;
49037
50010
  };
50011
+ logistics_cart_checkin_at: {
50012
+ Args: {
50013
+ p_cart_id: string;
50014
+ };
50015
+ Returns: string;
50016
+ };
49038
50017
  logistics_cart_handled: {
49039
50018
  Args: {
49040
50019
  p_cart_index: number;
@@ -49068,10 +50047,22 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
49068
50047
  task_status: string;
49069
50048
  }[];
49070
50049
  };
50050
+ logistics_cart_is_full: {
50051
+ Args: {
50052
+ p_cart_id: string;
50053
+ };
50054
+ Returns: boolean;
50055
+ };
49071
50056
  logistics_cart_layout_method: {
49072
50057
  Args: never;
49073
50058
  Returns: import("../../../integrations/supabase/types").Json;
49074
50059
  };
50060
+ logistics_cart_order_refs: {
50061
+ Args: {
50062
+ p_cart_id: string;
50063
+ };
50064
+ Returns: string[];
50065
+ };
49075
50066
  logistics_cart_plan_overview: {
49076
50067
  Args: {
49077
50068
  p_days?: number;
@@ -49091,6 +50082,18 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
49091
50082
  };
49092
50083
  Returns: import("../../../integrations/supabase/types").Json;
49093
50084
  };
50085
+ logistics_cart_release_reason: {
50086
+ Args: {
50087
+ p_cart_id: string;
50088
+ };
50089
+ Returns: string;
50090
+ };
50091
+ logistics_cart_released: {
50092
+ Args: {
50093
+ p_cart_id: string;
50094
+ };
50095
+ Returns: boolean;
50096
+ };
49094
50097
  logistics_cart_seq: {
49095
50098
  Args: {
49096
50099
  p_order_uuid?: string;
@@ -49244,6 +50247,10 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
49244
50247
  isSetofReturn: false;
49245
50248
  };
49246
50249
  };
50250
+ logistics_cleanup_orphan_print_jobs: {
50251
+ Args: never;
50252
+ Returns: import("../../../integrations/supabase/types").Json;
50253
+ };
49247
50254
  logistics_complete_task: {
49248
50255
  Args: {
49249
50256
  p_result?: import("../../../integrations/supabase/types").Json;
@@ -49306,6 +50313,12 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
49306
50313
  station_carts: number;
49307
50314
  }[];
49308
50315
  };
50316
+ logistics_control_complete_cart: {
50317
+ Args: {
50318
+ p_cart_id: string;
50319
+ };
50320
+ Returns: number;
50321
+ };
49309
50322
  logistics_control_scan_approve: {
49310
50323
  Args: {
49311
50324
  p_allow_reprint?: boolean;
@@ -49385,6 +50398,15 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
49385
50398
  Args: never;
49386
50399
  Returns: import("../../../integrations/supabase/types").Json;
49387
50400
  };
50401
+ logistics_day_windows: {
50402
+ Args: {
50403
+ p_day: string;
50404
+ };
50405
+ Returns: {
50406
+ win_end: string;
50407
+ win_start: string;
50408
+ }[];
50409
+ };
49388
50410
  logistics_delay_customer_email: {
49389
50411
  Args: {
49390
50412
  p_customer: string;
@@ -49452,6 +50474,17 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
49452
50474
  };
49453
50475
  Returns: import("../../../integrations/supabase/types").Json;
49454
50476
  };
50477
+ logistics_enqueue_shipping_note_with_slip: {
50478
+ Args: {
50479
+ _cart_id: string;
50480
+ _is_herprint: boolean;
50481
+ _printer_id: string;
50482
+ _queue_item_id: string;
50483
+ _session_id: string;
50484
+ _slip_job_id: string;
50485
+ };
50486
+ Returns: string;
50487
+ };
49455
50488
  logistics_enqueue_sticker_with_slip: {
49456
50489
  Args: {
49457
50490
  _cart_id: string;
@@ -49469,6 +50502,14 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
49469
50502
  };
49470
50503
  Returns: string;
49471
50504
  };
50505
+ logistics_ensure_pick_data: {
50506
+ Args: {
50507
+ p_event_id?: string;
50508
+ p_missing?: import("../../../integrations/supabase/types").Json;
50509
+ p_ref: string;
50510
+ };
50511
+ Returns: import("../../../integrations/supabase/types").Json;
50512
+ };
49472
50513
  logistics_fail_task: {
49473
50514
  Args: {
49474
50515
  p_error: string;
@@ -49590,6 +50631,38 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
49590
50631
  };
49591
50632
  Returns: string;
49592
50633
  };
50634
+ logistics_floriday_gate_status: {
50635
+ Args: never;
50636
+ Returns: import("../../../integrations/supabase/types").Json;
50637
+ };
50638
+ logistics_floriday_log_refusal: {
50639
+ Args: {
50640
+ _action?: string;
50641
+ _module?: string;
50642
+ _order_ref: string;
50643
+ _reason: string;
50644
+ _shell?: string;
50645
+ };
50646
+ Returns: undefined;
50647
+ };
50648
+ logistics_floriday_log_send: {
50649
+ Args: {
50650
+ _action: string;
50651
+ _detail?: string;
50652
+ _http_status?: number;
50653
+ _module?: string;
50654
+ _ok: boolean;
50655
+ _order_ref: string;
50656
+ _shell?: string;
50657
+ };
50658
+ Returns: undefined;
50659
+ };
50660
+ logistics_floriday_order_approved: {
50661
+ Args: {
50662
+ _order_ref: string;
50663
+ };
50664
+ Returns: boolean;
50665
+ };
49593
50666
  logistics_floriday_prune_pushes: {
49594
50667
  Args: {
49595
50668
  _days?: number;
@@ -49604,6 +50677,20 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
49604
50677
  };
49605
50678
  Returns: string;
49606
50679
  };
50680
+ logistics_floriday_status_updates_enabled: {
50681
+ Args: never;
50682
+ Returns: boolean;
50683
+ };
50684
+ logistics_floriday_stock_updates_enabled: {
50685
+ Args: never;
50686
+ Returns: boolean;
50687
+ };
50688
+ logistics_floriday_write_allowed: {
50689
+ Args: {
50690
+ _action: string;
50691
+ };
50692
+ Returns: boolean;
50693
+ };
49607
50694
  logistics_fulfill_barcode_requests: {
49608
50695
  Args: {
49609
50696
  p_limit?: number;
@@ -49624,6 +50711,16 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
49624
50711
  };
49625
50712
  Returns: boolean;
49626
50713
  };
50714
+ logistics_layout_method_status: {
50715
+ Args: never;
50716
+ Returns: import("../../../integrations/supabase/types").Json;
50717
+ };
50718
+ logistics_link_order_items: {
50719
+ Args: {
50720
+ p_order?: string;
50721
+ };
50722
+ Returns: import("../../../integrations/supabase/types").Json;
50723
+ };
49627
50724
  logistics_live_carriers: {
49628
50725
  Args: {
49629
50726
  p_order_ref: string;
@@ -49636,6 +50733,12 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
49636
50733
  };
49637
50734
  Returns: number;
49638
50735
  };
50736
+ logistics_merge_partial_carts: {
50737
+ Args: {
50738
+ p_limit?: number;
50739
+ };
50740
+ Returns: import("../../../integrations/supabase/types").Json;
50741
+ };
49639
50742
  logistics_next_workday_date: {
49640
50743
  Args: {
49641
50744
  p_date: string;
@@ -49650,12 +50753,22 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
49650
50753
  };
49651
50754
  Returns: string;
49652
50755
  };
50756
+ logistics_normalize_product_label: {
50757
+ Args: {
50758
+ p_label: string;
50759
+ };
50760
+ Returns: string;
50761
+ };
49653
50762
  logistics_not_past: {
49654
50763
  Args: {
49655
50764
  p_ts: string;
49656
50765
  };
49657
50766
  Returns: string;
49658
50767
  };
50768
+ logistics_opening_timezone: {
50769
+ Args: never;
50770
+ Returns: string;
50771
+ };
49659
50772
  logistics_order_cart_count: {
49660
50773
  Args: {
49661
50774
  p_order_ref: string;
@@ -49740,6 +50853,10 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
49740
50853
  Args: never;
49741
50854
  Returns: import("../../../integrations/supabase/types").Json;
49742
50855
  };
50856
+ logistics_pick_partial_mode: {
50857
+ Args: never;
50858
+ Returns: string;
50859
+ };
49743
50860
  logistics_pick_start_estimate: {
49744
50861
  Args: {
49745
50862
  p_order: import("../../../integrations/supabase/types").Json;
@@ -49851,6 +50968,12 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
49851
50968
  };
49852
50969
  Returns: number;
49853
50970
  };
50971
+ logistics_prepare_pick_documents: {
50972
+ Args: {
50973
+ p_limit?: number;
50974
+ };
50975
+ Returns: import("../../../integrations/supabase/types").Json;
50976
+ };
49854
50977
  logistics_prune_buffer_member_queue: {
49855
50978
  Args: never;
49856
50979
  Returns: number;
@@ -49891,12 +51014,30 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
49891
51014
  Args: never;
49892
51015
  Returns: import("../../../integrations/supabase/types").Json;
49893
51016
  };
51017
+ logistics_refresh_pick_queue_status: {
51018
+ Args: {
51019
+ p_ref: string;
51020
+ };
51021
+ Returns: number;
51022
+ };
49894
51023
  logistics_refresh_pickup_moments: {
49895
51024
  Args: {
49896
51025
  p_weeks?: number;
49897
51026
  };
49898
51027
  Returns: import("../../../integrations/supabase/types").Json;
49899
51028
  };
51029
+ logistics_replan_all: {
51030
+ Args: {
51031
+ p_reason?: string;
51032
+ };
51033
+ Returns: import("../../../integrations/supabase/types").Json;
51034
+ };
51035
+ logistics_replan_all_force: {
51036
+ Args: {
51037
+ p_reason?: string;
51038
+ };
51039
+ Returns: import("../../../integrations/supabase/types").Json;
51040
+ };
49900
51041
  logistics_report_delay: {
49901
51042
  Args: {
49902
51043
  p_expected_date?: string;
@@ -49950,6 +51091,12 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
49950
51091
  };
49951
51092
  Returns: import("../../../integrations/supabase/types").Json;
49952
51093
  };
51094
+ logistics_resolve_product_id: {
51095
+ Args: {
51096
+ p_label: string;
51097
+ };
51098
+ Returns: string;
51099
+ };
49953
51100
  logistics_resolve_settings: {
49954
51101
  Args: {
49955
51102
  p_config_id: string;
@@ -50035,6 +51182,10 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
50035
51182
  };
50036
51183
  Returns: string;
50037
51184
  };
51185
+ logistics_shipping_note_follows_slip: {
51186
+ Args: never;
51187
+ Returns: boolean;
51188
+ };
50038
51189
  logistics_shipping_note_from_barcode: {
50039
51190
  Args: {
50040
51191
  p_allow_reprint?: boolean;
@@ -50047,6 +51198,14 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
50047
51198
  Args: never;
50048
51199
  Returns: boolean;
50049
51200
  };
51201
+ logistics_subtract_working_minutes: {
51202
+ Args: {
51203
+ p_deadline: string;
51204
+ p_max_workdays?: number;
51205
+ p_minutes: number;
51206
+ };
51207
+ Returns: import("../../../integrations/supabase/types").Json;
51208
+ };
50050
51209
  logistics_supersede_stale_tasks: {
50051
51210
  Args: {
50052
51211
  p_keep: string[];
@@ -50083,6 +51242,12 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
50083
51242
  Args: never;
50084
51243
  Returns: string;
50085
51244
  };
51245
+ logistics_timezone_options: {
51246
+ Args: never;
51247
+ Returns: {
51248
+ name: string;
51249
+ }[];
51250
+ };
50086
51251
  logistics_upsert_task: {
50087
51252
  Args: {
50088
51253
  p_buffer_ref: string;
@@ -50102,6 +51267,16 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
50102
51267
  };
50103
51268
  Returns: string;
50104
51269
  };
51270
+ logistics_valid_timezone: {
51271
+ Args: {
51272
+ _tz: string;
51273
+ };
51274
+ Returns: boolean;
51275
+ };
51276
+ logistics_working_hours_status: {
51277
+ Args: never;
51278
+ Returns: import("../../../integrations/supabase/types").Json;
51279
+ };
50105
51280
  logistics_write_buffer_layer_positions: {
50106
51281
  Args: {
50107
51282
  p_buffer_id: string;
@@ -50267,6 +51442,10 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
50267
51442
  online: boolean;
50268
51443
  }[];
50269
51444
  };
51445
+ pick_apply_buffer_events: {
51446
+ Args: never;
51447
+ Returns: import("../../../integrations/supabase/types").Json;
51448
+ };
50270
51449
  pick_available_pick_days: {
50271
51450
  Args: {
50272
51451
  _max_days?: number;
@@ -51543,6 +52722,13 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
51543
52722
  };
51544
52723
  Returns: number;
51545
52724
  };
52725
+ schedule_floriday_catalog_prices_sync: {
52726
+ Args: {
52727
+ p_apikey: string;
52728
+ p_url: string;
52729
+ };
52730
+ Returns: number;
52731
+ };
51546
52732
  schedule_floriday_clock_presales_sync: {
51547
52733
  Args: {
51548
52734
  p_apikey: string;
@@ -51843,6 +53029,10 @@ export declare const retryTwinfieldPush: import("@tanstack/start-client-core").R
51843
53029
  };
51844
53030
  Returns: undefined;
51845
53031
  };
53032
+ sync_floriday_prices_into_price_groups: {
53033
+ Args: never;
53034
+ Returns: number;
53035
+ };
51846
53036
  sync_layer_stock: {
51847
53037
  Args: {
51848
53038
  p_product_id: string;
@@ -57861,6 +59051,84 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
57861
59051
  referencedColumns: ["id"];
57862
59052
  }];
57863
59053
  };
59054
+ floriday_catalog_prices_cache: {
59055
+ Row: {
59056
+ connection_id: string;
59057
+ created_at: string;
59058
+ currency: string;
59059
+ id: string;
59060
+ is_deleted: boolean;
59061
+ price: number | null;
59062
+ price_group_id: string | null;
59063
+ price_group_name: string | null;
59064
+ price_type: string;
59065
+ raw: import("../../../integrations/supabase/types").Json | null;
59066
+ sales_unit: string | null;
59067
+ sequence_number: number;
59068
+ supplier_article_code: string | null;
59069
+ supply_line_id: string;
59070
+ synced_at: string;
59071
+ trade_item_id: string | null;
59072
+ updated_at: string;
59073
+ valid_from: string | null;
59074
+ valid_to: string | null;
59075
+ week: number | null;
59076
+ year: number | null;
59077
+ };
59078
+ Insert: {
59079
+ connection_id: string;
59080
+ created_at?: string;
59081
+ currency?: string;
59082
+ id?: string;
59083
+ is_deleted?: boolean;
59084
+ price?: number | null;
59085
+ price_group_id?: string | null;
59086
+ price_group_name?: string | null;
59087
+ price_type?: string;
59088
+ raw?: import("../../../integrations/supabase/types").Json | null;
59089
+ sales_unit?: string | null;
59090
+ sequence_number?: number;
59091
+ supplier_article_code?: string | null;
59092
+ supply_line_id: string;
59093
+ synced_at?: string;
59094
+ trade_item_id?: string | null;
59095
+ updated_at?: string;
59096
+ valid_from?: string | null;
59097
+ valid_to?: string | null;
59098
+ week?: number | null;
59099
+ year?: number | null;
59100
+ };
59101
+ Update: {
59102
+ connection_id?: string;
59103
+ created_at?: string;
59104
+ currency?: string;
59105
+ id?: string;
59106
+ is_deleted?: boolean;
59107
+ price?: number | null;
59108
+ price_group_id?: string | null;
59109
+ price_group_name?: string | null;
59110
+ price_type?: string;
59111
+ raw?: import("../../../integrations/supabase/types").Json | null;
59112
+ sales_unit?: string | null;
59113
+ sequence_number?: number;
59114
+ supplier_article_code?: string | null;
59115
+ supply_line_id?: string;
59116
+ synced_at?: string;
59117
+ trade_item_id?: string | null;
59118
+ updated_at?: string;
59119
+ valid_from?: string | null;
59120
+ valid_to?: string | null;
59121
+ week?: number | null;
59122
+ year?: number | null;
59123
+ };
59124
+ Relationships: [{
59125
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
59126
+ columns: ["connection_id"];
59127
+ isOneToOne: false;
59128
+ referencedRelation: "floriday_connections";
59129
+ referencedColumns: ["id"];
59130
+ }];
59131
+ };
57864
59132
  floriday_clock_presales_cache: {
57865
59133
  Row: {
57866
59134
  buyer_organization_id: string | null;
@@ -62127,6 +63395,36 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
62127
63395
  };
62128
63396
  Relationships: [];
62129
63397
  };
63398
+ logistics_floriday_push_refusals: {
63399
+ Row: {
63400
+ action: string | null;
63401
+ created_at: string;
63402
+ id: string;
63403
+ order_ref: string;
63404
+ reason: string;
63405
+ source_module: string | null;
63406
+ source_shell: string | null;
63407
+ };
63408
+ Insert: {
63409
+ action?: string | null;
63410
+ created_at?: string;
63411
+ id?: string;
63412
+ order_ref: string;
63413
+ reason: string;
63414
+ source_module?: string | null;
63415
+ source_shell?: string | null;
63416
+ };
63417
+ Update: {
63418
+ action?: string | null;
63419
+ created_at?: string;
63420
+ id?: string;
63421
+ order_ref?: string;
63422
+ reason?: string;
63423
+ source_module?: string | null;
63424
+ source_shell?: string | null;
63425
+ };
63426
+ Relationships: [];
63427
+ };
62130
63428
  logistics_floriday_pushes: {
62131
63429
  Row: {
62132
63430
  attempts: number;
@@ -62202,6 +63500,42 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
62202
63500
  };
62203
63501
  Relationships: [];
62204
63502
  };
63503
+ logistics_floriday_status_sends: {
63504
+ Row: {
63505
+ action: string;
63506
+ created_at: string;
63507
+ detail: string | null;
63508
+ http_status: number | null;
63509
+ id: string;
63510
+ ok: boolean;
63511
+ order_ref: string;
63512
+ source_module: string | null;
63513
+ source_shell: string | null;
63514
+ };
63515
+ Insert: {
63516
+ action: string;
63517
+ created_at?: string;
63518
+ detail?: string | null;
63519
+ http_status?: number | null;
63520
+ id?: string;
63521
+ ok?: boolean;
63522
+ order_ref: string;
63523
+ source_module?: string | null;
63524
+ source_shell?: string | null;
63525
+ };
63526
+ Update: {
63527
+ action?: string;
63528
+ created_at?: string;
63529
+ detail?: string | null;
63530
+ http_status?: number | null;
63531
+ id?: string;
63532
+ ok?: boolean;
63533
+ order_ref?: string;
63534
+ source_module?: string | null;
63535
+ source_shell?: string | null;
63536
+ };
63537
+ Relationships: [];
63538
+ };
62205
63539
  logistics_formulas: {
62206
63540
  Row: {
62207
63541
  created_at: string;
@@ -62274,6 +63608,108 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
62274
63608
  };
62275
63609
  Relationships: [];
62276
63610
  };
63611
+ logistics_opening_exceptions: {
63612
+ Row: {
63613
+ closes: string | null;
63614
+ created_at: string;
63615
+ day: string;
63616
+ id: string;
63617
+ is_closed: boolean;
63618
+ note: string | null;
63619
+ opens: string | null;
63620
+ };
63621
+ Insert: {
63622
+ closes?: string | null;
63623
+ created_at?: string;
63624
+ day: string;
63625
+ id?: string;
63626
+ is_closed?: boolean;
63627
+ note?: string | null;
63628
+ opens?: string | null;
63629
+ };
63630
+ Update: {
63631
+ closes?: string | null;
63632
+ created_at?: string;
63633
+ day?: string;
63634
+ id?: string;
63635
+ is_closed?: boolean;
63636
+ note?: string | null;
63637
+ opens?: string | null;
63638
+ };
63639
+ Relationships: [];
63640
+ };
63641
+ logistics_opening_hours: {
63642
+ Row: {
63643
+ closes: string;
63644
+ created_at: string;
63645
+ id: string;
63646
+ is_active: boolean;
63647
+ note: string | null;
63648
+ opens: string;
63649
+ weekday: number;
63650
+ };
63651
+ Insert: {
63652
+ closes: string;
63653
+ created_at?: string;
63654
+ id?: string;
63655
+ is_active?: boolean;
63656
+ note?: string | null;
63657
+ opens: string;
63658
+ weekday: number;
63659
+ };
63660
+ Update: {
63661
+ closes?: string;
63662
+ created_at?: string;
63663
+ id?: string;
63664
+ is_active?: boolean;
63665
+ note?: string | null;
63666
+ opens?: string;
63667
+ weekday?: number;
63668
+ };
63669
+ Relationships: [];
63670
+ };
63671
+ logistics_pick_data_requests: {
63672
+ Row: {
63673
+ actions: import("../../../integrations/supabase/types").Json;
63674
+ created_at: string;
63675
+ event_id: string | null;
63676
+ finished_at: string | null;
63677
+ id: string;
63678
+ missing: import("../../../integrations/supabase/types").Json;
63679
+ order_ref: string;
63680
+ reason: string | null;
63681
+ result: import("../../../integrations/supabase/types").Json | null;
63682
+ status: string;
63683
+ unit_ref: string | null;
63684
+ };
63685
+ Insert: {
63686
+ actions?: import("../../../integrations/supabase/types").Json;
63687
+ created_at?: string;
63688
+ event_id?: string | null;
63689
+ finished_at?: string | null;
63690
+ id?: string;
63691
+ missing?: import("../../../integrations/supabase/types").Json;
63692
+ order_ref: string;
63693
+ reason?: string | null;
63694
+ result?: import("../../../integrations/supabase/types").Json | null;
63695
+ status?: string;
63696
+ unit_ref?: string | null;
63697
+ };
63698
+ Update: {
63699
+ actions?: import("../../../integrations/supabase/types").Json;
63700
+ created_at?: string;
63701
+ event_id?: string | null;
63702
+ finished_at?: string | null;
63703
+ id?: string;
63704
+ missing?: import("../../../integrations/supabase/types").Json;
63705
+ order_ref?: string;
63706
+ reason?: string | null;
63707
+ result?: import("../../../integrations/supabase/types").Json | null;
63708
+ status?: string;
63709
+ unit_ref?: string | null;
63710
+ };
63711
+ Relationships: [];
63712
+ };
62277
63713
  logistics_pickup_moments: {
62278
63714
  Row: {
62279
63715
  carrier_ref: string | null;
@@ -63066,6 +64502,24 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
63066
64502
  };
63067
64503
  Relationships: [];
63068
64504
  };
64505
+ logistics_time_settings: {
64506
+ Row: {
64507
+ id: boolean;
64508
+ timezone: string;
64509
+ updated_at: string;
64510
+ };
64511
+ Insert: {
64512
+ id?: boolean;
64513
+ timezone: string;
64514
+ updated_at?: string;
64515
+ };
64516
+ Update: {
64517
+ id?: boolean;
64518
+ timezone?: string;
64519
+ updated_at?: string;
64520
+ };
64521
+ Relationships: [];
64522
+ };
63069
64523
  logistics_variables: {
63070
64524
  Row: {
63071
64525
  created_at: string;
@@ -65456,6 +66910,7 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
65456
66910
  customer_name: string;
65457
66911
  deleted_at: string | null;
65458
66912
  delivery_date: string | null;
66913
+ floriday_order_group_key: string | null;
65459
66914
  floriday_sales_order_id: string | null;
65460
66915
  id: string;
65461
66916
  invoice_due_at: string | null;
@@ -65483,6 +66938,7 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
65483
66938
  customer_name?: string;
65484
66939
  deleted_at?: string | null;
65485
66940
  delivery_date?: string | null;
66941
+ floriday_order_group_key?: string | null;
65486
66942
  floriday_sales_order_id?: string | null;
65487
66943
  id?: string;
65488
66944
  invoice_due_at?: string | null;
@@ -65510,6 +66966,7 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
65510
66966
  customer_name?: string;
65511
66967
  deleted_at?: string | null;
65512
66968
  delivery_date?: string | null;
66969
+ floriday_order_group_key?: string | null;
65513
66970
  floriday_sales_order_id?: string | null;
65514
66971
  id?: string;
65515
66972
  invoice_due_at?: string | null;
@@ -65703,6 +67160,27 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
65703
67160
  };
65704
67161
  Relationships: [];
65705
67162
  };
67163
+ pick_buffer_event_cursor: {
67164
+ Row: {
67165
+ created_at: string;
67166
+ id: boolean;
67167
+ last_event_at: string;
67168
+ updated_at: string;
67169
+ };
67170
+ Insert: {
67171
+ created_at?: string;
67172
+ id?: boolean;
67173
+ last_event_at?: string;
67174
+ updated_at?: string;
67175
+ };
67176
+ Update: {
67177
+ created_at?: string;
67178
+ id?: boolean;
67179
+ last_event_at?: string;
67180
+ updated_at?: string;
67181
+ };
67182
+ Relationships: [];
67183
+ };
65706
67184
  pick_countries: {
65707
67185
  Row: {
65708
67186
  active: boolean;
@@ -71352,6 +72830,36 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
71352
72830
  referencedColumns: ["id"];
71353
72831
  }];
71354
72832
  };
72833
+ voorraad_buffer_state: {
72834
+ Row: {
72835
+ buffer_id: string;
72836
+ buffer_key: string | null;
72837
+ closed_at: string | null;
72838
+ created_at: string;
72839
+ detached_orders: import("../../../integrations/supabase/types").Json;
72840
+ reason: string | null;
72841
+ updated_at: string;
72842
+ };
72843
+ Insert: {
72844
+ buffer_id: string;
72845
+ buffer_key?: string | null;
72846
+ closed_at?: string | null;
72847
+ created_at?: string;
72848
+ detached_orders?: import("../../../integrations/supabase/types").Json;
72849
+ reason?: string | null;
72850
+ updated_at?: string;
72851
+ };
72852
+ Update: {
72853
+ buffer_id?: string;
72854
+ buffer_key?: string | null;
72855
+ closed_at?: string | null;
72856
+ created_at?: string;
72857
+ detached_orders?: import("../../../integrations/supabase/types").Json;
72858
+ reason?: string | null;
72859
+ updated_at?: string;
72860
+ };
72861
+ Relationships: [];
72862
+ };
71355
72863
  voorraad_custom_fields: {
71356
72864
  Row: {
71357
72865
  created_at: string;
@@ -71394,6 +72902,36 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
71394
72902
  };
71395
72903
  Relationships: [];
71396
72904
  };
72905
+ voorraad_logistics_event_log: {
72906
+ Row: {
72907
+ created_at: string;
72908
+ event_id: string;
72909
+ event_type: string;
72910
+ order_ref: string | null;
72911
+ processed_at: string;
72912
+ result: import("../../../integrations/supabase/types").Json;
72913
+ updated_at: string;
72914
+ };
72915
+ Insert: {
72916
+ created_at?: string;
72917
+ event_id: string;
72918
+ event_type: string;
72919
+ order_ref?: string | null;
72920
+ processed_at?: string;
72921
+ result?: import("../../../integrations/supabase/types").Json;
72922
+ updated_at?: string;
72923
+ };
72924
+ Update: {
72925
+ created_at?: string;
72926
+ event_id?: string;
72927
+ event_type?: string;
72928
+ order_ref?: string | null;
72929
+ processed_at?: string;
72930
+ result?: import("../../../integrations/supabase/types").Json;
72931
+ updated_at?: string;
72932
+ };
72933
+ Relationships: [];
72934
+ };
71397
72935
  voorraad_media_upload_failures: {
71398
72936
  Row: {
71399
72937
  action: string;
@@ -74219,6 +75757,17 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
74219
75757
  };
74220
75758
  Returns: boolean;
74221
75759
  };
75760
+ floriday_adopt_connection: {
75761
+ Args: {
75762
+ p_new: string;
75763
+ p_old: string;
75764
+ };
75765
+ Returns: import("../../../integrations/supabase/types").Json;
75766
+ };
75767
+ floriday_autoheal_connections: {
75768
+ Args: never;
75769
+ Returns: import("../../../integrations/supabase/types").Json;
75770
+ };
74222
75771
  floriday_capture_stock_snapshot: {
74223
75772
  Args: never;
74224
75773
  Returns: number;
@@ -74276,6 +75825,12 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
74276
75825
  };
74277
75826
  Returns: undefined;
74278
75827
  };
75828
+ floriday_relink_products: {
75829
+ Args: {
75830
+ p_connection_id?: string;
75831
+ };
75832
+ Returns: import("../../../integrations/supabase/types").Json;
75833
+ };
74279
75834
  floriday_requeue_dead_letters: {
74280
75835
  Args: {
74281
75836
  p_connection_id?: string;
@@ -74897,6 +76452,10 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
74897
76452
  };
74898
76453
  Returns: string;
74899
76454
  };
76455
+ logistics_active_layout_method: {
76456
+ Args: never;
76457
+ Returns: string;
76458
+ };
74900
76459
  logistics_active_pick_workdays: {
74901
76460
  Args: never;
74902
76461
  Returns: string[];
@@ -75004,6 +76563,15 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
75004
76563
  };
75005
76564
  Returns: boolean;
75006
76565
  };
76566
+ logistics_buffer_notify: {
76567
+ Args: {
76568
+ p_event_type: string;
76569
+ p_idempotency_key: string;
76570
+ p_order_ref: string;
76571
+ p_payload: import("../../../integrations/supabase/types").Json;
76572
+ };
76573
+ Returns: string;
76574
+ };
75007
76575
  logistics_buffer_open_key: {
75008
76576
  Args: {
75009
76577
  p_base_key: string;
@@ -75062,6 +76630,12 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
75062
76630
  };
75063
76631
  Returns: string;
75064
76632
  };
76633
+ logistics_cart_checkin_at: {
76634
+ Args: {
76635
+ p_cart_id: string;
76636
+ };
76637
+ Returns: string;
76638
+ };
75065
76639
  logistics_cart_handled: {
75066
76640
  Args: {
75067
76641
  p_cart_index: number;
@@ -75095,10 +76669,22 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
75095
76669
  task_status: string;
75096
76670
  }[];
75097
76671
  };
76672
+ logistics_cart_is_full: {
76673
+ Args: {
76674
+ p_cart_id: string;
76675
+ };
76676
+ Returns: boolean;
76677
+ };
75098
76678
  logistics_cart_layout_method: {
75099
76679
  Args: never;
75100
76680
  Returns: import("../../../integrations/supabase/types").Json;
75101
76681
  };
76682
+ logistics_cart_order_refs: {
76683
+ Args: {
76684
+ p_cart_id: string;
76685
+ };
76686
+ Returns: string[];
76687
+ };
75102
76688
  logistics_cart_plan_overview: {
75103
76689
  Args: {
75104
76690
  p_days?: number;
@@ -75118,6 +76704,18 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
75118
76704
  };
75119
76705
  Returns: import("../../../integrations/supabase/types").Json;
75120
76706
  };
76707
+ logistics_cart_release_reason: {
76708
+ Args: {
76709
+ p_cart_id: string;
76710
+ };
76711
+ Returns: string;
76712
+ };
76713
+ logistics_cart_released: {
76714
+ Args: {
76715
+ p_cart_id: string;
76716
+ };
76717
+ Returns: boolean;
76718
+ };
75121
76719
  logistics_cart_seq: {
75122
76720
  Args: {
75123
76721
  p_order_uuid?: string;
@@ -75271,6 +76869,10 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
75271
76869
  isSetofReturn: false;
75272
76870
  };
75273
76871
  };
76872
+ logistics_cleanup_orphan_print_jobs: {
76873
+ Args: never;
76874
+ Returns: import("../../../integrations/supabase/types").Json;
76875
+ };
75274
76876
  logistics_complete_task: {
75275
76877
  Args: {
75276
76878
  p_result?: import("../../../integrations/supabase/types").Json;
@@ -75333,6 +76935,12 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
75333
76935
  station_carts: number;
75334
76936
  }[];
75335
76937
  };
76938
+ logistics_control_complete_cart: {
76939
+ Args: {
76940
+ p_cart_id: string;
76941
+ };
76942
+ Returns: number;
76943
+ };
75336
76944
  logistics_control_scan_approve: {
75337
76945
  Args: {
75338
76946
  p_allow_reprint?: boolean;
@@ -75412,6 +77020,15 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
75412
77020
  Args: never;
75413
77021
  Returns: import("../../../integrations/supabase/types").Json;
75414
77022
  };
77023
+ logistics_day_windows: {
77024
+ Args: {
77025
+ p_day: string;
77026
+ };
77027
+ Returns: {
77028
+ win_end: string;
77029
+ win_start: string;
77030
+ }[];
77031
+ };
75415
77032
  logistics_delay_customer_email: {
75416
77033
  Args: {
75417
77034
  p_customer: string;
@@ -75479,6 +77096,17 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
75479
77096
  };
75480
77097
  Returns: import("../../../integrations/supabase/types").Json;
75481
77098
  };
77099
+ logistics_enqueue_shipping_note_with_slip: {
77100
+ Args: {
77101
+ _cart_id: string;
77102
+ _is_herprint: boolean;
77103
+ _printer_id: string;
77104
+ _queue_item_id: string;
77105
+ _session_id: string;
77106
+ _slip_job_id: string;
77107
+ };
77108
+ Returns: string;
77109
+ };
75482
77110
  logistics_enqueue_sticker_with_slip: {
75483
77111
  Args: {
75484
77112
  _cart_id: string;
@@ -75496,6 +77124,14 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
75496
77124
  };
75497
77125
  Returns: string;
75498
77126
  };
77127
+ logistics_ensure_pick_data: {
77128
+ Args: {
77129
+ p_event_id?: string;
77130
+ p_missing?: import("../../../integrations/supabase/types").Json;
77131
+ p_ref: string;
77132
+ };
77133
+ Returns: import("../../../integrations/supabase/types").Json;
77134
+ };
75499
77135
  logistics_fail_task: {
75500
77136
  Args: {
75501
77137
  p_error: string;
@@ -75617,6 +77253,38 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
75617
77253
  };
75618
77254
  Returns: string;
75619
77255
  };
77256
+ logistics_floriday_gate_status: {
77257
+ Args: never;
77258
+ Returns: import("../../../integrations/supabase/types").Json;
77259
+ };
77260
+ logistics_floriday_log_refusal: {
77261
+ Args: {
77262
+ _action?: string;
77263
+ _module?: string;
77264
+ _order_ref: string;
77265
+ _reason: string;
77266
+ _shell?: string;
77267
+ };
77268
+ Returns: undefined;
77269
+ };
77270
+ logistics_floriday_log_send: {
77271
+ Args: {
77272
+ _action: string;
77273
+ _detail?: string;
77274
+ _http_status?: number;
77275
+ _module?: string;
77276
+ _ok: boolean;
77277
+ _order_ref: string;
77278
+ _shell?: string;
77279
+ };
77280
+ Returns: undefined;
77281
+ };
77282
+ logistics_floriday_order_approved: {
77283
+ Args: {
77284
+ _order_ref: string;
77285
+ };
77286
+ Returns: boolean;
77287
+ };
75620
77288
  logistics_floriday_prune_pushes: {
75621
77289
  Args: {
75622
77290
  _days?: number;
@@ -75631,6 +77299,20 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
75631
77299
  };
75632
77300
  Returns: string;
75633
77301
  };
77302
+ logistics_floriday_status_updates_enabled: {
77303
+ Args: never;
77304
+ Returns: boolean;
77305
+ };
77306
+ logistics_floriday_stock_updates_enabled: {
77307
+ Args: never;
77308
+ Returns: boolean;
77309
+ };
77310
+ logistics_floriday_write_allowed: {
77311
+ Args: {
77312
+ _action: string;
77313
+ };
77314
+ Returns: boolean;
77315
+ };
75634
77316
  logistics_fulfill_barcode_requests: {
75635
77317
  Args: {
75636
77318
  p_limit?: number;
@@ -75651,6 +77333,16 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
75651
77333
  };
75652
77334
  Returns: boolean;
75653
77335
  };
77336
+ logistics_layout_method_status: {
77337
+ Args: never;
77338
+ Returns: import("../../../integrations/supabase/types").Json;
77339
+ };
77340
+ logistics_link_order_items: {
77341
+ Args: {
77342
+ p_order?: string;
77343
+ };
77344
+ Returns: import("../../../integrations/supabase/types").Json;
77345
+ };
75654
77346
  logistics_live_carriers: {
75655
77347
  Args: {
75656
77348
  p_order_ref: string;
@@ -75663,6 +77355,12 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
75663
77355
  };
75664
77356
  Returns: number;
75665
77357
  };
77358
+ logistics_merge_partial_carts: {
77359
+ Args: {
77360
+ p_limit?: number;
77361
+ };
77362
+ Returns: import("../../../integrations/supabase/types").Json;
77363
+ };
75666
77364
  logistics_next_workday_date: {
75667
77365
  Args: {
75668
77366
  p_date: string;
@@ -75677,12 +77375,22 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
75677
77375
  };
75678
77376
  Returns: string;
75679
77377
  };
77378
+ logistics_normalize_product_label: {
77379
+ Args: {
77380
+ p_label: string;
77381
+ };
77382
+ Returns: string;
77383
+ };
75680
77384
  logistics_not_past: {
75681
77385
  Args: {
75682
77386
  p_ts: string;
75683
77387
  };
75684
77388
  Returns: string;
75685
77389
  };
77390
+ logistics_opening_timezone: {
77391
+ Args: never;
77392
+ Returns: string;
77393
+ };
75686
77394
  logistics_order_cart_count: {
75687
77395
  Args: {
75688
77396
  p_order_ref: string;
@@ -75767,6 +77475,10 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
75767
77475
  Args: never;
75768
77476
  Returns: import("../../../integrations/supabase/types").Json;
75769
77477
  };
77478
+ logistics_pick_partial_mode: {
77479
+ Args: never;
77480
+ Returns: string;
77481
+ };
75770
77482
  logistics_pick_start_estimate: {
75771
77483
  Args: {
75772
77484
  p_order: import("../../../integrations/supabase/types").Json;
@@ -75878,6 +77590,12 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
75878
77590
  };
75879
77591
  Returns: number;
75880
77592
  };
77593
+ logistics_prepare_pick_documents: {
77594
+ Args: {
77595
+ p_limit?: number;
77596
+ };
77597
+ Returns: import("../../../integrations/supabase/types").Json;
77598
+ };
75881
77599
  logistics_prune_buffer_member_queue: {
75882
77600
  Args: never;
75883
77601
  Returns: number;
@@ -75918,12 +77636,30 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
75918
77636
  Args: never;
75919
77637
  Returns: import("../../../integrations/supabase/types").Json;
75920
77638
  };
77639
+ logistics_refresh_pick_queue_status: {
77640
+ Args: {
77641
+ p_ref: string;
77642
+ };
77643
+ Returns: number;
77644
+ };
75921
77645
  logistics_refresh_pickup_moments: {
75922
77646
  Args: {
75923
77647
  p_weeks?: number;
75924
77648
  };
75925
77649
  Returns: import("../../../integrations/supabase/types").Json;
75926
77650
  };
77651
+ logistics_replan_all: {
77652
+ Args: {
77653
+ p_reason?: string;
77654
+ };
77655
+ Returns: import("../../../integrations/supabase/types").Json;
77656
+ };
77657
+ logistics_replan_all_force: {
77658
+ Args: {
77659
+ p_reason?: string;
77660
+ };
77661
+ Returns: import("../../../integrations/supabase/types").Json;
77662
+ };
75927
77663
  logistics_report_delay: {
75928
77664
  Args: {
75929
77665
  p_expected_date?: string;
@@ -75977,6 +77713,12 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
75977
77713
  };
75978
77714
  Returns: import("../../../integrations/supabase/types").Json;
75979
77715
  };
77716
+ logistics_resolve_product_id: {
77717
+ Args: {
77718
+ p_label: string;
77719
+ };
77720
+ Returns: string;
77721
+ };
75980
77722
  logistics_resolve_settings: {
75981
77723
  Args: {
75982
77724
  p_config_id: string;
@@ -76062,6 +77804,10 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
76062
77804
  };
76063
77805
  Returns: string;
76064
77806
  };
77807
+ logistics_shipping_note_follows_slip: {
77808
+ Args: never;
77809
+ Returns: boolean;
77810
+ };
76065
77811
  logistics_shipping_note_from_barcode: {
76066
77812
  Args: {
76067
77813
  p_allow_reprint?: boolean;
@@ -76074,6 +77820,14 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
76074
77820
  Args: never;
76075
77821
  Returns: boolean;
76076
77822
  };
77823
+ logistics_subtract_working_minutes: {
77824
+ Args: {
77825
+ p_deadline: string;
77826
+ p_max_workdays?: number;
77827
+ p_minutes: number;
77828
+ };
77829
+ Returns: import("../../../integrations/supabase/types").Json;
77830
+ };
76077
77831
  logistics_supersede_stale_tasks: {
76078
77832
  Args: {
76079
77833
  p_keep: string[];
@@ -76110,6 +77864,12 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
76110
77864
  Args: never;
76111
77865
  Returns: string;
76112
77866
  };
77867
+ logistics_timezone_options: {
77868
+ Args: never;
77869
+ Returns: {
77870
+ name: string;
77871
+ }[];
77872
+ };
76113
77873
  logistics_upsert_task: {
76114
77874
  Args: {
76115
77875
  p_buffer_ref: string;
@@ -76129,6 +77889,16 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
76129
77889
  };
76130
77890
  Returns: string;
76131
77891
  };
77892
+ logistics_valid_timezone: {
77893
+ Args: {
77894
+ _tz: string;
77895
+ };
77896
+ Returns: boolean;
77897
+ };
77898
+ logistics_working_hours_status: {
77899
+ Args: never;
77900
+ Returns: import("../../../integrations/supabase/types").Json;
77901
+ };
76132
77902
  logistics_write_buffer_layer_positions: {
76133
77903
  Args: {
76134
77904
  p_buffer_id: string;
@@ -76294,6 +78064,10 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
76294
78064
  online: boolean;
76295
78065
  }[];
76296
78066
  };
78067
+ pick_apply_buffer_events: {
78068
+ Args: never;
78069
+ Returns: import("../../../integrations/supabase/types").Json;
78070
+ };
76297
78071
  pick_available_pick_days: {
76298
78072
  Args: {
76299
78073
  _max_days?: number;
@@ -77570,6 +79344,13 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
77570
79344
  };
77571
79345
  Returns: number;
77572
79346
  };
79347
+ schedule_floriday_catalog_prices_sync: {
79348
+ Args: {
79349
+ p_apikey: string;
79350
+ p_url: string;
79351
+ };
79352
+ Returns: number;
79353
+ };
77573
79354
  schedule_floriday_clock_presales_sync: {
77574
79355
  Args: {
77575
79356
  p_apikey: string;
@@ -77870,6 +79651,10 @@ export declare const getTwinfieldSyncStatus: import("@tanstack/start-client-core
77870
79651
  };
77871
79652
  Returns: undefined;
77872
79653
  };
79654
+ sync_floriday_prices_into_price_groups: {
79655
+ Args: never;
79656
+ Returns: number;
79657
+ };
77873
79658
  sync_layer_stock: {
77874
79659
  Args: {
77875
79660
  p_product_id: string;