@flowselections/floriday-voorraad 1.0.40 → 1.0.42

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 (50) hide show
  1. package/dist-lib/components/voorraad/ValidationOverviewTable.d.ts.map +1 -1
  2. package/dist-lib/components/voorraad/ValidationOverviewTable.js +45 -14
  3. package/dist-lib/integrations/supabase/auth-middleware.d.ts +914 -19
  4. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  5. package/dist-lib/integrations/supabase/client.d.ts +914 -19
  6. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/client.server.d.ts +914 -19
  8. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  9. package/dist-lib/integrations/supabase/types.d.ts +914 -17
  10. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  11. package/dist-lib/lib/floricode-required-features.functions.d.ts +914 -19
  12. package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
  13. package/dist-lib/lib/floriday-2026v1.server.d.ts +1 -1
  14. package/dist-lib/lib/floriday-2026v1.server.d.ts.map +1 -1
  15. package/dist-lib/lib/floriday-2026v1.server.js +4 -0
  16. package/dist-lib/lib/floriday-customer-offer.functions.d.ts +914 -19
  17. package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
  18. package/dist-lib/lib/floriday-env.functions.d.ts +1790 -0
  19. package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
  20. package/dist-lib/lib/floriday-gateway.functions.d.ts +5370 -0
  21. package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
  22. package/dist-lib/lib/floriday-gateway.server.d.ts +7 -1
  23. package/dist-lib/lib/floriday-gateway.server.d.ts.map +1 -1
  24. package/dist-lib/lib/floriday-gateway.server.js +50 -3
  25. package/dist-lib/lib/floriday-relink.d.ts +16 -0
  26. package/dist-lib/lib/floriday-relink.d.ts.map +1 -0
  27. package/dist-lib/lib/floriday-relink.js +14 -0
  28. package/dist-lib/lib/floriday-vbn-required.functions.d.ts +1790 -0
  29. package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
  30. package/dist-lib/lib/floriday-warehouse.functions.d.ts +2685 -0
  31. package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
  32. package/dist-lib/lib/floriday-write-gate.server.d.ts +60 -0
  33. package/dist-lib/lib/floriday-write-gate.server.d.ts.map +1 -0
  34. package/dist-lib/lib/floriday-write-gate.server.js +196 -0
  35. package/dist-lib/lib/floriday-writes.functions.d.ts +1790 -0
  36. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  37. package/dist-lib/lib/inventory-settings.functions.d.ts +1790 -0
  38. package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -1
  39. package/dist-lib/lib/logistics-buffer-events.server.d.ts +13 -0
  40. package/dist-lib/lib/logistics-buffer-events.server.d.ts.map +1 -0
  41. package/dist-lib/lib/logistics-buffer-events.server.js +365 -0
  42. package/dist-lib/lib/logistics-events.d.ts.map +1 -1
  43. package/dist-lib/lib/logistics-events.js +36 -7
  44. package/dist-lib/lib/logistics-tasks.server.d.ts.map +1 -1
  45. package/dist-lib/lib/logistics-tasks.server.js +38 -6
  46. package/dist-lib/lib/module-health.functions.d.ts +1790 -0
  47. package/dist-lib/lib/module-health.functions.d.ts.map +1 -1
  48. package/dist-lib/lib/stock-sync.functions.d.ts +1790 -0
  49. package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
  50. package/package.json +1 -1
@@ -2168,6 +2168,8 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
2168
2168
  created_at: string;
2169
2169
  currency: string;
2170
2170
  distribute_over: string | null;
2171
+ external_id: string | null;
2172
+ external_synced_at: string | null;
2171
2173
  group_type: string;
2172
2174
  handling_fee: number | null;
2173
2175
  id: string;
@@ -2180,6 +2182,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
2180
2182
  rounding: string;
2181
2183
  rounding_step: number;
2182
2184
  sort_order: number;
2185
+ source: string;
2183
2186
  unit: string;
2184
2187
  updated_at: string;
2185
2188
  };
@@ -2190,6 +2193,8 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
2190
2193
  created_at?: string;
2191
2194
  currency?: string;
2192
2195
  distribute_over?: string | null;
2196
+ external_id?: string | null;
2197
+ external_synced_at?: string | null;
2193
2198
  group_type?: string;
2194
2199
  handling_fee?: number | null;
2195
2200
  id?: string;
@@ -2202,6 +2207,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
2202
2207
  rounding?: string;
2203
2208
  rounding_step?: number;
2204
2209
  sort_order?: number;
2210
+ source?: string;
2205
2211
  unit?: string;
2206
2212
  updated_at?: string;
2207
2213
  };
@@ -2212,6 +2218,8 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
2212
2218
  created_at?: string;
2213
2219
  currency?: string;
2214
2220
  distribute_over?: string | null;
2221
+ external_id?: string | null;
2222
+ external_synced_at?: string | null;
2215
2223
  group_type?: string;
2216
2224
  handling_fee?: number | null;
2217
2225
  id?: string;
@@ -2224,6 +2232,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
2224
2232
  rounding?: string;
2225
2233
  rounding_step?: number;
2226
2234
  sort_order?: number;
2235
+ source?: string;
2227
2236
  unit?: string;
2228
2237
  updated_at?: string;
2229
2238
  };
@@ -5814,6 +5823,84 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
5814
5823
  referencedColumns: ["id"];
5815
5824
  }];
5816
5825
  };
5826
+ floriday_catalog_prices_cache: {
5827
+ Row: {
5828
+ connection_id: string;
5829
+ created_at: string;
5830
+ currency: string;
5831
+ id: string;
5832
+ is_deleted: boolean;
5833
+ price: number | null;
5834
+ price_group_id: string | null;
5835
+ price_group_name: string | null;
5836
+ price_type: string;
5837
+ raw: import("../integrations/supabase/types").Json | null;
5838
+ sales_unit: string | null;
5839
+ sequence_number: number;
5840
+ supplier_article_code: string | null;
5841
+ supply_line_id: string;
5842
+ synced_at: string;
5843
+ trade_item_id: string | null;
5844
+ updated_at: string;
5845
+ valid_from: string | null;
5846
+ valid_to: string | null;
5847
+ week: number | null;
5848
+ year: number | null;
5849
+ };
5850
+ Insert: {
5851
+ connection_id: string;
5852
+ created_at?: string;
5853
+ currency?: string;
5854
+ id?: string;
5855
+ is_deleted?: boolean;
5856
+ price?: number | null;
5857
+ price_group_id?: string | null;
5858
+ price_group_name?: string | null;
5859
+ price_type?: string;
5860
+ raw?: import("../integrations/supabase/types").Json | null;
5861
+ sales_unit?: string | null;
5862
+ sequence_number?: number;
5863
+ supplier_article_code?: string | null;
5864
+ supply_line_id: string;
5865
+ synced_at?: string;
5866
+ trade_item_id?: string | null;
5867
+ updated_at?: string;
5868
+ valid_from?: string | null;
5869
+ valid_to?: string | null;
5870
+ week?: number | null;
5871
+ year?: number | null;
5872
+ };
5873
+ Update: {
5874
+ connection_id?: string;
5875
+ created_at?: string;
5876
+ currency?: string;
5877
+ id?: string;
5878
+ is_deleted?: boolean;
5879
+ price?: number | null;
5880
+ price_group_id?: string | null;
5881
+ price_group_name?: string | null;
5882
+ price_type?: string;
5883
+ raw?: import("../integrations/supabase/types").Json | null;
5884
+ sales_unit?: string | null;
5885
+ sequence_number?: number;
5886
+ supplier_article_code?: string | null;
5887
+ supply_line_id?: string;
5888
+ synced_at?: string;
5889
+ trade_item_id?: string | null;
5890
+ updated_at?: string;
5891
+ valid_from?: string | null;
5892
+ valid_to?: string | null;
5893
+ week?: number | null;
5894
+ year?: number | null;
5895
+ };
5896
+ Relationships: [{
5897
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
5898
+ columns: ["connection_id"];
5899
+ isOneToOne: false;
5900
+ referencedRelation: "floriday_connections";
5901
+ referencedColumns: ["id"];
5902
+ }];
5903
+ };
5817
5904
  floriday_clock_presales_cache: {
5818
5905
  Row: {
5819
5906
  buyer_organization_id: string | null;
@@ -9087,6 +9174,30 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
9087
9174
  referencedColumns: ["id"];
9088
9175
  }];
9089
9176
  };
9177
+ job_locks: {
9178
+ Row: {
9179
+ created_at: string;
9180
+ lock_key: string;
9181
+ locked_until: string;
9182
+ owner: string | null;
9183
+ updated_at: string;
9184
+ };
9185
+ Insert: {
9186
+ created_at?: string;
9187
+ lock_key: string;
9188
+ locked_until: string;
9189
+ owner?: string | null;
9190
+ updated_at?: string;
9191
+ };
9192
+ Update: {
9193
+ created_at?: string;
9194
+ lock_key?: string;
9195
+ locked_until?: string;
9196
+ owner?: string | null;
9197
+ updated_at?: string;
9198
+ };
9199
+ Relationships: [];
9200
+ };
9090
9201
  layout_logos: {
9091
9202
  Row: {
9092
9203
  bestand_url: string;
@@ -10056,6 +10167,36 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
10056
10167
  };
10057
10168
  Relationships: [];
10058
10169
  };
10170
+ logistics_floriday_push_refusals: {
10171
+ Row: {
10172
+ action: string | null;
10173
+ created_at: string;
10174
+ id: string;
10175
+ order_ref: string;
10176
+ reason: string;
10177
+ source_module: string | null;
10178
+ source_shell: string | null;
10179
+ };
10180
+ Insert: {
10181
+ action?: string | null;
10182
+ created_at?: string;
10183
+ id?: string;
10184
+ order_ref: string;
10185
+ reason: string;
10186
+ source_module?: string | null;
10187
+ source_shell?: string | null;
10188
+ };
10189
+ Update: {
10190
+ action?: string | null;
10191
+ created_at?: string;
10192
+ id?: string;
10193
+ order_ref?: string;
10194
+ reason?: string;
10195
+ source_module?: string | null;
10196
+ source_shell?: string | null;
10197
+ };
10198
+ Relationships: [];
10199
+ };
10059
10200
  logistics_floriday_pushes: {
10060
10201
  Row: {
10061
10202
  attempts: number;
@@ -10131,6 +10272,42 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
10131
10272
  };
10132
10273
  Relationships: [];
10133
10274
  };
10275
+ logistics_floriday_status_sends: {
10276
+ Row: {
10277
+ action: string;
10278
+ created_at: string;
10279
+ detail: string | null;
10280
+ http_status: number | null;
10281
+ id: string;
10282
+ ok: boolean;
10283
+ order_ref: string;
10284
+ source_module: string | null;
10285
+ source_shell: string | null;
10286
+ };
10287
+ Insert: {
10288
+ action: string;
10289
+ created_at?: string;
10290
+ detail?: string | null;
10291
+ http_status?: number | null;
10292
+ id?: string;
10293
+ ok?: boolean;
10294
+ order_ref: string;
10295
+ source_module?: string | null;
10296
+ source_shell?: string | null;
10297
+ };
10298
+ Update: {
10299
+ action?: string;
10300
+ created_at?: string;
10301
+ detail?: string | null;
10302
+ http_status?: number | null;
10303
+ id?: string;
10304
+ ok?: boolean;
10305
+ order_ref?: string;
10306
+ source_module?: string | null;
10307
+ source_shell?: string | null;
10308
+ };
10309
+ Relationships: [];
10310
+ };
10134
10311
  logistics_formulas: {
10135
10312
  Row: {
10136
10313
  created_at: string;
@@ -10203,6 +10380,108 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
10203
10380
  };
10204
10381
  Relationships: [];
10205
10382
  };
10383
+ logistics_opening_exceptions: {
10384
+ Row: {
10385
+ closes: string | null;
10386
+ created_at: string;
10387
+ day: string;
10388
+ id: string;
10389
+ is_closed: boolean;
10390
+ note: string | null;
10391
+ opens: string | null;
10392
+ };
10393
+ Insert: {
10394
+ closes?: string | null;
10395
+ created_at?: string;
10396
+ day: string;
10397
+ id?: string;
10398
+ is_closed?: boolean;
10399
+ note?: string | null;
10400
+ opens?: string | null;
10401
+ };
10402
+ Update: {
10403
+ closes?: string | null;
10404
+ created_at?: string;
10405
+ day?: string;
10406
+ id?: string;
10407
+ is_closed?: boolean;
10408
+ note?: string | null;
10409
+ opens?: string | null;
10410
+ };
10411
+ Relationships: [];
10412
+ };
10413
+ logistics_opening_hours: {
10414
+ Row: {
10415
+ closes: string;
10416
+ created_at: string;
10417
+ id: string;
10418
+ is_active: boolean;
10419
+ note: string | null;
10420
+ opens: string;
10421
+ weekday: number;
10422
+ };
10423
+ Insert: {
10424
+ closes: string;
10425
+ created_at?: string;
10426
+ id?: string;
10427
+ is_active?: boolean;
10428
+ note?: string | null;
10429
+ opens: string;
10430
+ weekday: number;
10431
+ };
10432
+ Update: {
10433
+ closes?: string;
10434
+ created_at?: string;
10435
+ id?: string;
10436
+ is_active?: boolean;
10437
+ note?: string | null;
10438
+ opens?: string;
10439
+ weekday?: number;
10440
+ };
10441
+ Relationships: [];
10442
+ };
10443
+ logistics_pick_data_requests: {
10444
+ Row: {
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
+ Insert: {
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
+ Update: {
10471
+ actions?: import("../integrations/supabase/types").Json;
10472
+ created_at?: string;
10473
+ event_id?: string | null;
10474
+ finished_at?: string | null;
10475
+ id?: string;
10476
+ missing?: import("../integrations/supabase/types").Json;
10477
+ order_ref?: string;
10478
+ reason?: string | null;
10479
+ result?: import("../integrations/supabase/types").Json | null;
10480
+ status?: string;
10481
+ unit_ref?: string | null;
10482
+ };
10483
+ Relationships: [];
10484
+ };
10206
10485
  logistics_pickup_moments: {
10207
10486
  Row: {
10208
10487
  carrier_ref: string | null;
@@ -10249,6 +10528,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
10249
10528
  next_attempt_at: string;
10250
10529
  order_id: string;
10251
10530
  reason: string;
10531
+ reason_code: string | null;
10252
10532
  status: string;
10253
10533
  updated_at: string;
10254
10534
  };
@@ -10261,6 +10541,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
10261
10541
  next_attempt_at?: string;
10262
10542
  order_id: string;
10263
10543
  reason?: string;
10544
+ reason_code?: string | null;
10264
10545
  status?: string;
10265
10546
  updated_at?: string;
10266
10547
  };
@@ -10273,6 +10554,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
10273
10554
  next_attempt_at?: string;
10274
10555
  order_id?: string;
10275
10556
  reason?: string;
10557
+ reason_code?: string | null;
10276
10558
  status?: string;
10277
10559
  updated_at?: string;
10278
10560
  };
@@ -10659,6 +10941,69 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
10659
10941
  };
10660
10942
  Relationships: [];
10661
10943
  };
10944
+ logistics_slip_shipping_note: {
10945
+ Row: {
10946
+ attempts: number;
10947
+ batch_key: string | null;
10948
+ cart_id: string | null;
10949
+ created_at: string;
10950
+ error: string | null;
10951
+ error_code: string | null;
10952
+ fulfillment_order_id: string | null;
10953
+ id: string;
10954
+ locked_until: string | null;
10955
+ next_attempt_at: string | null;
10956
+ order_id: string | null;
10957
+ order_number: string | null;
10958
+ print_job_id: string | null;
10959
+ printer_id: string | null;
10960
+ retry_class: string | null;
10961
+ slip_job_id: string;
10962
+ status: string;
10963
+ updated_at: string;
10964
+ };
10965
+ Insert: {
10966
+ attempts?: number;
10967
+ batch_key?: string | null;
10968
+ cart_id?: string | null;
10969
+ created_at?: string;
10970
+ error?: string | null;
10971
+ error_code?: string | null;
10972
+ fulfillment_order_id?: string | null;
10973
+ id?: string;
10974
+ locked_until?: string | null;
10975
+ next_attempt_at?: string | null;
10976
+ order_id?: string | null;
10977
+ order_number?: string | null;
10978
+ print_job_id?: string | null;
10979
+ printer_id?: string | null;
10980
+ retry_class?: string | null;
10981
+ slip_job_id: string;
10982
+ status?: string;
10983
+ updated_at?: string;
10984
+ };
10985
+ Update: {
10986
+ attempts?: number;
10987
+ batch_key?: string | null;
10988
+ cart_id?: string | null;
10989
+ created_at?: string;
10990
+ error?: string | null;
10991
+ error_code?: string | null;
10992
+ fulfillment_order_id?: string | null;
10993
+ id?: string;
10994
+ locked_until?: string | null;
10995
+ next_attempt_at?: string | null;
10996
+ order_id?: string | null;
10997
+ order_number?: string | null;
10998
+ print_job_id?: string | null;
10999
+ printer_id?: string | null;
11000
+ retry_class?: string | null;
11001
+ slip_job_id?: string;
11002
+ status?: string;
11003
+ updated_at?: string;
11004
+ };
11005
+ Relationships: [];
11006
+ };
10662
11007
  logistics_staff_planning: {
10663
11008
  Row: {
10664
11009
  created_at: string;
@@ -10977,6 +11322,39 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
10977
11322
  referencedColumns: ["id"];
10978
11323
  }];
10979
11324
  };
11325
+ logistics_tick_heartbeat: {
11326
+ Row: {
11327
+ id: boolean;
11328
+ last_tick_at: string;
11329
+ };
11330
+ Insert: {
11331
+ id?: boolean;
11332
+ last_tick_at?: string;
11333
+ };
11334
+ Update: {
11335
+ id?: boolean;
11336
+ last_tick_at?: string;
11337
+ };
11338
+ Relationships: [];
11339
+ };
11340
+ logistics_time_settings: {
11341
+ Row: {
11342
+ id: boolean;
11343
+ timezone: string;
11344
+ updated_at: string;
11345
+ };
11346
+ Insert: {
11347
+ id?: boolean;
11348
+ timezone: string;
11349
+ updated_at?: string;
11350
+ };
11351
+ Update: {
11352
+ id?: boolean;
11353
+ timezone?: string;
11354
+ updated_at?: string;
11355
+ };
11356
+ Relationships: [];
11357
+ };
10980
11358
  logistics_variables: {
10981
11359
  Row: {
10982
11360
  created_at: string;
@@ -13367,6 +13745,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
13367
13745
  customer_name: string;
13368
13746
  deleted_at: string | null;
13369
13747
  delivery_date: string | null;
13748
+ floriday_order_group_key: string | null;
13370
13749
  floriday_sales_order_id: string | null;
13371
13750
  id: string;
13372
13751
  invoice_due_at: string | null;
@@ -13394,6 +13773,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
13394
13773
  customer_name?: string;
13395
13774
  deleted_at?: string | null;
13396
13775
  delivery_date?: string | null;
13776
+ floriday_order_group_key?: string | null;
13397
13777
  floriday_sales_order_id?: string | null;
13398
13778
  id?: string;
13399
13779
  invoice_due_at?: string | null;
@@ -13421,6 +13801,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
13421
13801
  customer_name?: string;
13422
13802
  deleted_at?: string | null;
13423
13803
  delivery_date?: string | null;
13804
+ floriday_order_group_key?: string | null;
13424
13805
  floriday_sales_order_id?: string | null;
13425
13806
  id?: string;
13426
13807
  invoice_due_at?: string | null;
@@ -13614,6 +13995,27 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
13614
13995
  };
13615
13996
  Relationships: [];
13616
13997
  };
13998
+ pick_buffer_event_cursor: {
13999
+ Row: {
14000
+ created_at: string;
14001
+ id: boolean;
14002
+ last_event_at: string;
14003
+ updated_at: string;
14004
+ };
14005
+ Insert: {
14006
+ created_at?: string;
14007
+ id?: boolean;
14008
+ last_event_at?: string;
14009
+ updated_at?: string;
14010
+ };
14011
+ Update: {
14012
+ created_at?: string;
14013
+ id?: boolean;
14014
+ last_event_at?: string;
14015
+ updated_at?: string;
14016
+ };
14017
+ Relationships: [];
14018
+ };
13617
14019
  pick_countries: {
13618
14020
  Row: {
13619
14021
  active: boolean;
@@ -19263,6 +19665,36 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
19263
19665
  referencedColumns: ["id"];
19264
19666
  }];
19265
19667
  };
19668
+ voorraad_buffer_state: {
19669
+ Row: {
19670
+ buffer_id: string;
19671
+ buffer_key: string | null;
19672
+ closed_at: string | null;
19673
+ created_at: string;
19674
+ detached_orders: import("../integrations/supabase/types").Json;
19675
+ reason: string | null;
19676
+ updated_at: string;
19677
+ };
19678
+ Insert: {
19679
+ buffer_id: string;
19680
+ buffer_key?: string | null;
19681
+ closed_at?: string | null;
19682
+ created_at?: string;
19683
+ detached_orders?: import("../integrations/supabase/types").Json;
19684
+ reason?: string | null;
19685
+ updated_at?: string;
19686
+ };
19687
+ Update: {
19688
+ buffer_id?: string;
19689
+ buffer_key?: string | null;
19690
+ closed_at?: string | null;
19691
+ created_at?: string;
19692
+ detached_orders?: import("../integrations/supabase/types").Json;
19693
+ reason?: string | null;
19694
+ updated_at?: string;
19695
+ };
19696
+ Relationships: [];
19697
+ };
19266
19698
  voorraad_custom_fields: {
19267
19699
  Row: {
19268
19700
  created_at: string;
@@ -19305,6 +19737,36 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
19305
19737
  };
19306
19738
  Relationships: [];
19307
19739
  };
19740
+ voorraad_logistics_event_log: {
19741
+ Row: {
19742
+ created_at: string;
19743
+ event_id: string;
19744
+ event_type: string;
19745
+ order_ref: string | null;
19746
+ processed_at: string;
19747
+ result: import("../integrations/supabase/types").Json;
19748
+ updated_at: string;
19749
+ };
19750
+ Insert: {
19751
+ created_at?: string;
19752
+ event_id: string;
19753
+ event_type: string;
19754
+ order_ref?: string | null;
19755
+ processed_at?: string;
19756
+ result?: import("../integrations/supabase/types").Json;
19757
+ updated_at?: string;
19758
+ };
19759
+ Update: {
19760
+ created_at?: string;
19761
+ event_id?: string;
19762
+ event_type?: string;
19763
+ order_ref?: string | null;
19764
+ processed_at?: string;
19765
+ result?: import("../integrations/supabase/types").Json;
19766
+ updated_at?: string;
19767
+ };
19768
+ Relationships: [];
19769
+ };
19308
19770
  voorraad_media_upload_failures: {
19309
19771
  Row: {
19310
19772
  action: string;
@@ -22130,6 +22592,17 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
22130
22592
  };
22131
22593
  Returns: boolean;
22132
22594
  };
22595
+ floriday_adopt_connection: {
22596
+ Args: {
22597
+ p_new: string;
22598
+ p_old: string;
22599
+ };
22600
+ Returns: import("../integrations/supabase/types").Json;
22601
+ };
22602
+ floriday_autoheal_connections: {
22603
+ Args: never;
22604
+ Returns: import("../integrations/supabase/types").Json;
22605
+ };
22133
22606
  floriday_capture_stock_snapshot: {
22134
22607
  Args: never;
22135
22608
  Returns: number;
@@ -22187,6 +22660,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
22187
22660
  };
22188
22661
  Returns: undefined;
22189
22662
  };
22663
+ floriday_relink_products: {
22664
+ Args: {
22665
+ p_connection_id?: string;
22666
+ };
22667
+ Returns: import("../integrations/supabase/types").Json;
22668
+ };
22190
22669
  floriday_requeue_dead_letters: {
22191
22670
  Args: {
22192
22671
  p_connection_id?: string;
@@ -22808,6 +23287,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
22808
23287
  };
22809
23288
  Returns: string;
22810
23289
  };
23290
+ logistics_active_layout_method: {
23291
+ Args: never;
23292
+ Returns: string;
23293
+ };
22811
23294
  logistics_active_pick_workdays: {
22812
23295
  Args: never;
22813
23296
  Returns: string[];
@@ -22859,6 +23342,30 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
22859
23342
  };
22860
23343
  Returns: import("../integrations/supabase/types").Json;
22861
23344
  };
23345
+ logistics_block_reason_code: {
23346
+ Args: {
23347
+ p_details?: import("../integrations/supabase/types").Json;
23348
+ p_reason: string;
23349
+ };
23350
+ Returns: string;
23351
+ };
23352
+ logistics_blocked_orders: {
23353
+ Args: never;
23354
+ Returns: {
23355
+ attempts: number;
23356
+ blocked_since: string;
23357
+ delivery_date: string;
23358
+ order_id: string;
23359
+ order_ref: string;
23360
+ queue_id: string;
23361
+ reason: string;
23362
+ reason_code: string;
23363
+ }[];
23364
+ };
23365
+ logistics_blocked_overview: {
23366
+ Args: never;
23367
+ Returns: import("../integrations/supabase/types").Json;
23368
+ };
22862
23369
  logistics_buffer_criteria: {
22863
23370
  Args: {
22864
23371
  p_settings: import("../integrations/supabase/types").Json;
@@ -22873,6 +23380,39 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
22873
23380
  };
22874
23381
  Returns: import("../integrations/supabase/types").Json;
22875
23382
  };
23383
+ logistics_buffer_detach_late_orders: {
23384
+ Args: {
23385
+ p_buffer?: string;
23386
+ };
23387
+ Returns: import("../integrations/supabase/types").Json;
23388
+ };
23389
+ logistics_buffer_frozen_order: {
23390
+ Args: {
23391
+ p_order_id: string;
23392
+ };
23393
+ Returns: boolean;
23394
+ };
23395
+ logistics_buffer_handled: {
23396
+ Args: {
23397
+ p_buffer: string;
23398
+ };
23399
+ Returns: boolean;
23400
+ };
23401
+ logistics_buffer_notify: {
23402
+ Args: {
23403
+ p_event_type: string;
23404
+ p_idempotency_key: string;
23405
+ p_order_ref: string;
23406
+ p_payload: import("../integrations/supabase/types").Json;
23407
+ };
23408
+ Returns: string;
23409
+ };
23410
+ logistics_buffer_open_key: {
23411
+ Args: {
23412
+ p_base_key: string;
23413
+ };
23414
+ Returns: string;
23415
+ };
22876
23416
  logistics_buffer_simulate: {
22877
23417
  Args: {
22878
23418
  p_orders?: import("../integrations/supabase/types").Json;
@@ -22925,6 +23465,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
22925
23465
  };
22926
23466
  Returns: string;
22927
23467
  };
23468
+ logistics_cart_checkin_at: {
23469
+ Args: {
23470
+ p_cart_id: string;
23471
+ };
23472
+ Returns: string;
23473
+ };
22928
23474
  logistics_cart_handled: {
22929
23475
  Args: {
22930
23476
  p_cart_index: number;
@@ -22958,10 +23504,53 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
22958
23504
  task_status: string;
22959
23505
  }[];
22960
23506
  };
23507
+ logistics_cart_is_full: {
23508
+ Args: {
23509
+ p_cart_id: string;
23510
+ };
23511
+ Returns: boolean;
23512
+ };
22961
23513
  logistics_cart_layout_method: {
22962
23514
  Args: never;
22963
23515
  Returns: import("../integrations/supabase/types").Json;
22964
23516
  };
23517
+ logistics_cart_order_refs: {
23518
+ Args: {
23519
+ p_cart_id: string;
23520
+ };
23521
+ Returns: string[];
23522
+ };
23523
+ logistics_cart_plan_overview: {
23524
+ Args: {
23525
+ p_days?: number;
23526
+ };
23527
+ Returns: {
23528
+ cart_total: number;
23529
+ delivery_date: string;
23530
+ order_ref: string;
23531
+ plan_ready: boolean;
23532
+ reason: string;
23533
+ released: boolean;
23534
+ }[];
23535
+ };
23536
+ logistics_cart_plan_status: {
23537
+ Args: {
23538
+ p_ref: string;
23539
+ };
23540
+ Returns: import("../integrations/supabase/types").Json;
23541
+ };
23542
+ logistics_cart_release_reason: {
23543
+ Args: {
23544
+ p_cart_id: string;
23545
+ };
23546
+ Returns: string;
23547
+ };
23548
+ logistics_cart_released: {
23549
+ Args: {
23550
+ p_cart_id: string;
23551
+ };
23552
+ Returns: boolean;
23553
+ };
22965
23554
  logistics_cart_seq: {
22966
23555
  Args: {
22967
23556
  p_order_uuid?: string;
@@ -23012,6 +23601,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
23012
23601
  unit_ref: string;
23013
23602
  }[];
23014
23603
  };
23604
+ logistics_carts_per_print: {
23605
+ Args: never;
23606
+ Returns: number;
23607
+ };
23015
23608
  logistics_check_order_allowed: {
23016
23609
  Args: {
23017
23610
  p_lines: import("../integrations/supabase/types").Json;
@@ -23115,6 +23708,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
23115
23708
  isSetofReturn: false;
23116
23709
  };
23117
23710
  };
23711
+ logistics_cleanup_orphan_print_jobs: {
23712
+ Args: never;
23713
+ Returns: import("../integrations/supabase/types").Json;
23714
+ };
23118
23715
  logistics_complete_task: {
23119
23716
  Args: {
23120
23717
  p_result?: import("../integrations/supabase/types").Json;
@@ -23177,6 +23774,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
23177
23774
  station_carts: number;
23178
23775
  }[];
23179
23776
  };
23777
+ logistics_control_complete_cart: {
23778
+ Args: {
23779
+ p_cart_id: string;
23780
+ };
23781
+ Returns: number;
23782
+ };
23180
23783
  logistics_control_scan_approve: {
23181
23784
  Args: {
23182
23785
  p_allow_reprint?: boolean;
@@ -23256,6 +23859,15 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
23256
23859
  Args: never;
23257
23860
  Returns: import("../integrations/supabase/types").Json;
23258
23861
  };
23862
+ logistics_day_windows: {
23863
+ Args: {
23864
+ p_day: string;
23865
+ };
23866
+ Returns: {
23867
+ win_end: string;
23868
+ win_start: string;
23869
+ }[];
23870
+ };
23259
23871
  logistics_delay_customer_email: {
23260
23872
  Args: {
23261
23873
  p_customer: string;
@@ -23323,6 +23935,17 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
23323
23935
  };
23324
23936
  Returns: import("../integrations/supabase/types").Json;
23325
23937
  };
23938
+ logistics_enqueue_shipping_note_with_slip: {
23939
+ Args: {
23940
+ _cart_id: string;
23941
+ _is_herprint: boolean;
23942
+ _printer_id: string;
23943
+ _queue_item_id: string;
23944
+ _session_id: string;
23945
+ _slip_job_id: string;
23946
+ };
23947
+ Returns: string;
23948
+ };
23326
23949
  logistics_enqueue_sticker_with_slip: {
23327
23950
  Args: {
23328
23951
  _cart_id: string;
@@ -23340,6 +23963,14 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
23340
23963
  };
23341
23964
  Returns: string;
23342
23965
  };
23966
+ logistics_ensure_pick_data: {
23967
+ Args: {
23968
+ p_event_id?: string;
23969
+ p_missing?: import("../integrations/supabase/types").Json;
23970
+ p_ref: string;
23971
+ };
23972
+ Returns: import("../integrations/supabase/types").Json;
23973
+ };
23343
23974
  logistics_fail_task: {
23344
23975
  Args: {
23345
23976
  p_error: string;
@@ -23461,6 +24092,38 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
23461
24092
  };
23462
24093
  Returns: string;
23463
24094
  };
24095
+ logistics_floriday_gate_status: {
24096
+ Args: never;
24097
+ Returns: import("../integrations/supabase/types").Json;
24098
+ };
24099
+ logistics_floriday_log_refusal: {
24100
+ Args: {
24101
+ _action?: string;
24102
+ _module?: string;
24103
+ _order_ref: string;
24104
+ _reason: string;
24105
+ _shell?: string;
24106
+ };
24107
+ Returns: undefined;
24108
+ };
24109
+ logistics_floriday_log_send: {
24110
+ Args: {
24111
+ _action: string;
24112
+ _detail?: string;
24113
+ _http_status?: number;
24114
+ _module?: string;
24115
+ _ok: boolean;
24116
+ _order_ref: string;
24117
+ _shell?: string;
24118
+ };
24119
+ Returns: undefined;
24120
+ };
24121
+ logistics_floriday_order_approved: {
24122
+ Args: {
24123
+ _order_ref: string;
24124
+ };
24125
+ Returns: boolean;
24126
+ };
23464
24127
  logistics_floriday_prune_pushes: {
23465
24128
  Args: {
23466
24129
  _days?: number;
@@ -23475,6 +24138,20 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
23475
24138
  };
23476
24139
  Returns: string;
23477
24140
  };
24141
+ logistics_floriday_status_updates_enabled: {
24142
+ Args: never;
24143
+ Returns: boolean;
24144
+ };
24145
+ logistics_floriday_stock_updates_enabled: {
24146
+ Args: never;
24147
+ Returns: boolean;
24148
+ };
24149
+ logistics_floriday_write_allowed: {
24150
+ Args: {
24151
+ _action: string;
24152
+ };
24153
+ Returns: boolean;
24154
+ };
23478
24155
  logistics_fulfill_barcode_requests: {
23479
24156
  Args: {
23480
24157
  p_limit?: number;
@@ -23495,6 +24172,16 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
23495
24172
  };
23496
24173
  Returns: boolean;
23497
24174
  };
24175
+ logistics_layout_method_status: {
24176
+ Args: never;
24177
+ Returns: import("../integrations/supabase/types").Json;
24178
+ };
24179
+ logistics_link_order_items: {
24180
+ Args: {
24181
+ p_order?: string;
24182
+ };
24183
+ Returns: import("../integrations/supabase/types").Json;
24184
+ };
23498
24185
  logistics_live_carriers: {
23499
24186
  Args: {
23500
24187
  p_order_ref: string;
@@ -23507,6 +24194,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
23507
24194
  };
23508
24195
  Returns: number;
23509
24196
  };
24197
+ logistics_merge_partial_carts: {
24198
+ Args: {
24199
+ p_limit?: number;
24200
+ };
24201
+ Returns: import("../integrations/supabase/types").Json;
24202
+ };
23510
24203
  logistics_next_workday_date: {
23511
24204
  Args: {
23512
24205
  p_date: string;
@@ -23521,12 +24214,22 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
23521
24214
  };
23522
24215
  Returns: string;
23523
24216
  };
24217
+ logistics_normalize_product_label: {
24218
+ Args: {
24219
+ p_label: string;
24220
+ };
24221
+ Returns: string;
24222
+ };
23524
24223
  logistics_not_past: {
23525
24224
  Args: {
23526
24225
  p_ts: string;
23527
24226
  };
23528
24227
  Returns: string;
23529
24228
  };
24229
+ logistics_opening_timezone: {
24230
+ Args: never;
24231
+ Returns: string;
24232
+ };
23530
24233
  logistics_order_cart_count: {
23531
24234
  Args: {
23532
24235
  p_order_ref: string;
@@ -23611,6 +24314,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
23611
24314
  Args: never;
23612
24315
  Returns: import("../integrations/supabase/types").Json;
23613
24316
  };
24317
+ logistics_pick_partial_mode: {
24318
+ Args: never;
24319
+ Returns: string;
24320
+ };
23614
24321
  logistics_pick_start_estimate: {
23615
24322
  Args: {
23616
24323
  p_order: import("../integrations/supabase/types").Json;
@@ -23709,6 +24416,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
23709
24416
  Args: never;
23710
24417
  Returns: number;
23711
24418
  };
24419
+ logistics_plan_retry: {
24420
+ Args: {
24421
+ p_order_ids: string[];
24422
+ };
24423
+ Returns: number;
24424
+ };
23712
24425
  logistics_plan_setting: {
23713
24426
  Args: {
23714
24427
  p_default: number;
@@ -23716,6 +24429,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
23716
24429
  };
23717
24430
  Returns: number;
23718
24431
  };
24432
+ logistics_prepare_pick_documents: {
24433
+ Args: {
24434
+ p_limit?: number;
24435
+ };
24436
+ Returns: import("../integrations/supabase/types").Json;
24437
+ };
23719
24438
  logistics_prune_buffer_member_queue: {
23720
24439
  Args: never;
23721
24440
  Returns: number;
@@ -23756,12 +24475,30 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
23756
24475
  Args: never;
23757
24476
  Returns: import("../integrations/supabase/types").Json;
23758
24477
  };
24478
+ logistics_refresh_pick_queue_status: {
24479
+ Args: {
24480
+ p_ref: string;
24481
+ };
24482
+ Returns: number;
24483
+ };
23759
24484
  logistics_refresh_pickup_moments: {
23760
24485
  Args: {
23761
24486
  p_weeks?: number;
23762
24487
  };
23763
24488
  Returns: import("../integrations/supabase/types").Json;
23764
24489
  };
24490
+ logistics_replan_all: {
24491
+ Args: {
24492
+ p_reason?: string;
24493
+ };
24494
+ Returns: import("../integrations/supabase/types").Json;
24495
+ };
24496
+ logistics_replan_all_force: {
24497
+ Args: {
24498
+ p_reason?: string;
24499
+ };
24500
+ Returns: import("../integrations/supabase/types").Json;
24501
+ };
23765
24502
  logistics_report_delay: {
23766
24503
  Args: {
23767
24504
  p_expected_date?: string;
@@ -23815,6 +24552,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
23815
24552
  };
23816
24553
  Returns: import("../integrations/supabase/types").Json;
23817
24554
  };
24555
+ logistics_resolve_product_id: {
24556
+ Args: {
24557
+ p_label: string;
24558
+ };
24559
+ Returns: string;
24560
+ };
23818
24561
  logistics_resolve_settings: {
23819
24562
  Args: {
23820
24563
  p_config_id: string;
@@ -23900,6 +24643,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
23900
24643
  };
23901
24644
  Returns: string;
23902
24645
  };
24646
+ logistics_shipping_note_follows_slip: {
24647
+ Args: never;
24648
+ Returns: boolean;
24649
+ };
23903
24650
  logistics_shipping_note_from_barcode: {
23904
24651
  Args: {
23905
24652
  p_allow_reprint?: boolean;
@@ -23908,10 +24655,76 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
23908
24655
  };
23909
24656
  Returns: import("../integrations/supabase/types").Json;
23910
24657
  };
24658
+ logistics_shipping_note_job_for_slip: {
24659
+ Args: {
24660
+ _slip_job_id: string;
24661
+ };
24662
+ Returns: string;
24663
+ };
24664
+ logistics_slip_note_claim: {
24665
+ Args: {
24666
+ _lease_seconds?: number;
24667
+ _limit?: number;
24668
+ };
24669
+ Returns: {
24670
+ attempts: number;
24671
+ batch_key: string | null;
24672
+ cart_id: string | null;
24673
+ created_at: string;
24674
+ error: string | null;
24675
+ error_code: string | null;
24676
+ fulfillment_order_id: string | null;
24677
+ id: string;
24678
+ locked_until: string | null;
24679
+ next_attempt_at: string | null;
24680
+ order_id: string | null;
24681
+ order_number: string | null;
24682
+ print_job_id: string | null;
24683
+ printer_id: string | null;
24684
+ retry_class: string | null;
24685
+ slip_job_id: string;
24686
+ status: string;
24687
+ updated_at: string;
24688
+ }[];
24689
+ SetofOptions: {
24690
+ from: "*";
24691
+ to: "logistics_slip_shipping_note";
24692
+ isOneToOne: false;
24693
+ isSetofReturn: true;
24694
+ };
24695
+ };
24696
+ logistics_slip_note_finish: {
24697
+ Args: {
24698
+ _error?: string;
24699
+ _error_code?: string;
24700
+ _fulfillment_order_id?: string;
24701
+ _id: string;
24702
+ _ok: boolean;
24703
+ _print_job_id?: string;
24704
+ _status?: string;
24705
+ };
24706
+ Returns: undefined;
24707
+ };
24708
+ logistics_slip_note_keep_waiting: {
24709
+ Args: {
24710
+ _class?: string;
24711
+ _id: string;
24712
+ _reason: string;
24713
+ };
24714
+ Returns: undefined;
24715
+ };
23911
24716
  logistics_sticker_follows_slip: {
23912
24717
  Args: never;
23913
24718
  Returns: boolean;
23914
24719
  };
24720
+ logistics_subtract_working_minutes: {
24721
+ Args: {
24722
+ p_deadline: string;
24723
+ p_max_workdays?: number;
24724
+ p_minutes: number;
24725
+ };
24726
+ Returns: import("../integrations/supabase/types").Json;
24727
+ };
23915
24728
  logistics_supersede_stale_tasks: {
23916
24729
  Args: {
23917
24730
  p_keep: string[];
@@ -23944,6 +24757,16 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
23944
24757
  };
23945
24758
  Returns: number;
23946
24759
  };
24760
+ logistics_tick_ping: {
24761
+ Args: never;
24762
+ Returns: string;
24763
+ };
24764
+ logistics_timezone_options: {
24765
+ Args: never;
24766
+ Returns: {
24767
+ name: string;
24768
+ }[];
24769
+ };
23947
24770
  logistics_upsert_task: {
23948
24771
  Args: {
23949
24772
  p_buffer_ref: string;
@@ -23963,6 +24786,16 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
23963
24786
  };
23964
24787
  Returns: string;
23965
24788
  };
24789
+ logistics_valid_timezone: {
24790
+ Args: {
24791
+ _tz: string;
24792
+ };
24793
+ Returns: boolean;
24794
+ };
24795
+ logistics_working_hours_status: {
24796
+ Args: never;
24797
+ Returns: import("../integrations/supabase/types").Json;
24798
+ };
23966
24799
  logistics_write_buffer_layer_positions: {
23967
24800
  Args: {
23968
24801
  p_buffer_id: string;
@@ -24087,6 +24920,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
24087
24920
  };
24088
24921
  Returns: import("../integrations/supabase/types").Json;
24089
24922
  };
24923
+ order_heeft_bevestigde_karren: {
24924
+ Args: {
24925
+ p_order_id: string;
24926
+ };
24927
+ Returns: boolean;
24928
+ };
24090
24929
  order_number_prefix: {
24091
24930
  Args: {
24092
24931
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -24122,6 +24961,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
24122
24961
  online: boolean;
24123
24962
  }[];
24124
24963
  };
24964
+ pick_apply_buffer_events: {
24965
+ Args: never;
24966
+ Returns: import("../integrations/supabase/types").Json;
24967
+ };
24125
24968
  pick_available_pick_days: {
24126
24969
  Args: {
24127
24970
  _max_days?: number;
@@ -24131,6 +24974,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
24131
24974
  pick_day: string;
24132
24975
  }[];
24133
24976
  };
24977
+ pick_buffer_order_ids: {
24978
+ Args: {
24979
+ _order_id: string;
24980
+ };
24981
+ Returns: string[];
24982
+ };
24134
24983
  pick_cart_breakdown: {
24135
24984
  Args: {
24136
24985
  _order_id: string;
@@ -24190,6 +25039,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
24190
25039
  pick_claim_next_document: {
24191
25040
  Args: {
24192
25041
  _country_code: string;
25042
+ _pick_day?: string;
24193
25043
  _screen_id: string;
24194
25044
  _session_id: string;
24195
25045
  _station_id: string;
@@ -24478,6 +25328,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
24478
25328
  omschrijving: string;
24479
25329
  }[];
24480
25330
  };
25331
+ pick_queue_cart_plan: {
25332
+ Args: {
25333
+ _queue_item_id: string;
25334
+ };
25335
+ Returns: import("../integrations/supabase/types").Json;
25336
+ };
24481
25337
  pick_reference_data_status: {
24482
25338
  Args: never;
24483
25339
  Returns: import("../integrations/supabase/types").Json;
@@ -24492,6 +25348,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
24492
25348
  };
24493
25349
  Returns: undefined;
24494
25350
  };
25351
+ pick_report_missing_cart_plan: {
25352
+ Args: never;
25353
+ Returns: import("../integrations/supabase/types").Json;
25354
+ };
24495
25355
  pick_reprint_cart: {
24496
25356
  Args: {
24497
25357
  _cart_id: string;
@@ -25032,6 +25892,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
25032
25892
  };
25033
25893
  Returns: boolean;
25034
25894
  };
25895
+ release_job_lock: {
25896
+ Args: {
25897
+ _key: string;
25898
+ };
25899
+ Returns: undefined;
25900
+ };
25035
25901
  release_local_pdf_job: {
25036
25902
  Args: {
25037
25903
  _job_id: string;
@@ -25221,6 +26087,16 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
25221
26087
  };
25222
26088
  Returns: import("../integrations/supabase/types").Json;
25223
26089
  };
26090
+ scan_log_code: {
26091
+ Args: {
26092
+ p_code: string;
26093
+ p_latency_ms?: number;
26094
+ p_message?: string;
26095
+ p_result: string;
26096
+ p_scanner_key?: string;
26097
+ };
26098
+ Returns: string;
26099
+ };
25224
26100
  scan_open_pakbonnen: {
25225
26101
  Args: {
25226
26102
  p_dagen?: number;
@@ -25365,6 +26241,13 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
25365
26241
  };
25366
26242
  Returns: number;
25367
26243
  };
26244
+ schedule_floriday_catalog_prices_sync: {
26245
+ Args: {
26246
+ p_apikey: string;
26247
+ p_url: string;
26248
+ };
26249
+ Returns: number;
26250
+ };
25368
26251
  schedule_floriday_clock_presales_sync: {
25369
26252
  Args: {
25370
26253
  p_apikey: string;
@@ -25665,6 +26548,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
25665
26548
  };
25666
26549
  Returns: undefined;
25667
26550
  };
26551
+ sync_floriday_prices_into_price_groups: {
26552
+ Args: never;
26553
+ Returns: number;
26554
+ };
25668
26555
  sync_layer_stock: {
25669
26556
  Args: {
25670
26557
  p_product_id: string;
@@ -25710,6 +26597,14 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
25710
26597
  row_count: number;
25711
26598
  }[];
25712
26599
  };
26600
+ try_acquire_job_lock: {
26601
+ Args: {
26602
+ _key: string;
26603
+ _owner?: string;
26604
+ _seconds?: number;
26605
+ };
26606
+ Returns: boolean;
26607
+ };
25713
26608
  try_debtor_lock: {
25714
26609
  Args: {
25715
26610
  _group_key: string;
@@ -28019,6 +28914,8 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
28019
28914
  created_at: string;
28020
28915
  currency: string;
28021
28916
  distribute_over: string | null;
28917
+ external_id: string | null;
28918
+ external_synced_at: string | null;
28022
28919
  group_type: string;
28023
28920
  handling_fee: number | null;
28024
28921
  id: string;
@@ -28031,6 +28928,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
28031
28928
  rounding: string;
28032
28929
  rounding_step: number;
28033
28930
  sort_order: number;
28931
+ source: string;
28034
28932
  unit: string;
28035
28933
  updated_at: string;
28036
28934
  };
@@ -28041,6 +28939,8 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
28041
28939
  created_at?: string;
28042
28940
  currency?: string;
28043
28941
  distribute_over?: string | null;
28942
+ external_id?: string | null;
28943
+ external_synced_at?: string | null;
28044
28944
  group_type?: string;
28045
28945
  handling_fee?: number | null;
28046
28946
  id?: string;
@@ -28053,6 +28953,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
28053
28953
  rounding?: string;
28054
28954
  rounding_step?: number;
28055
28955
  sort_order?: number;
28956
+ source?: string;
28056
28957
  unit?: string;
28057
28958
  updated_at?: string;
28058
28959
  };
@@ -28063,6 +28964,8 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
28063
28964
  created_at?: string;
28064
28965
  currency?: string;
28065
28966
  distribute_over?: string | null;
28967
+ external_id?: string | null;
28968
+ external_synced_at?: string | null;
28066
28969
  group_type?: string;
28067
28970
  handling_fee?: number | null;
28068
28971
  id?: string;
@@ -28075,6 +28978,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
28075
28978
  rounding?: string;
28076
28979
  rounding_step?: number;
28077
28980
  sort_order?: number;
28981
+ source?: string;
28078
28982
  unit?: string;
28079
28983
  updated_at?: string;
28080
28984
  };
@@ -31665,6 +32569,84 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
31665
32569
  referencedColumns: ["id"];
31666
32570
  }];
31667
32571
  };
32572
+ floriday_catalog_prices_cache: {
32573
+ Row: {
32574
+ connection_id: string;
32575
+ created_at: string;
32576
+ currency: string;
32577
+ id: string;
32578
+ is_deleted: boolean;
32579
+ price: number | null;
32580
+ price_group_id: string | null;
32581
+ price_group_name: string | null;
32582
+ price_type: string;
32583
+ raw: import("../integrations/supabase/types").Json | null;
32584
+ sales_unit: string | null;
32585
+ sequence_number: number;
32586
+ supplier_article_code: string | null;
32587
+ supply_line_id: string;
32588
+ synced_at: string;
32589
+ trade_item_id: string | null;
32590
+ updated_at: string;
32591
+ valid_from: string | null;
32592
+ valid_to: string | null;
32593
+ week: number | null;
32594
+ year: number | null;
32595
+ };
32596
+ Insert: {
32597
+ connection_id: string;
32598
+ created_at?: string;
32599
+ currency?: string;
32600
+ id?: string;
32601
+ is_deleted?: boolean;
32602
+ price?: number | null;
32603
+ price_group_id?: string | null;
32604
+ price_group_name?: string | null;
32605
+ price_type?: string;
32606
+ raw?: import("../integrations/supabase/types").Json | null;
32607
+ sales_unit?: string | null;
32608
+ sequence_number?: number;
32609
+ supplier_article_code?: string | null;
32610
+ supply_line_id: string;
32611
+ synced_at?: string;
32612
+ trade_item_id?: string | null;
32613
+ updated_at?: string;
32614
+ valid_from?: string | null;
32615
+ valid_to?: string | null;
32616
+ week?: number | null;
32617
+ year?: number | null;
32618
+ };
32619
+ Update: {
32620
+ connection_id?: string;
32621
+ created_at?: string;
32622
+ currency?: string;
32623
+ id?: string;
32624
+ is_deleted?: boolean;
32625
+ price?: number | null;
32626
+ price_group_id?: string | null;
32627
+ price_group_name?: string | null;
32628
+ price_type?: string;
32629
+ raw?: import("../integrations/supabase/types").Json | null;
32630
+ sales_unit?: string | null;
32631
+ sequence_number?: number;
32632
+ supplier_article_code?: string | null;
32633
+ supply_line_id?: string;
32634
+ synced_at?: string;
32635
+ trade_item_id?: string | null;
32636
+ updated_at?: string;
32637
+ valid_from?: string | null;
32638
+ valid_to?: string | null;
32639
+ week?: number | null;
32640
+ year?: number | null;
32641
+ };
32642
+ Relationships: [{
32643
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
32644
+ columns: ["connection_id"];
32645
+ isOneToOne: false;
32646
+ referencedRelation: "floriday_connections";
32647
+ referencedColumns: ["id"];
32648
+ }];
32649
+ };
31668
32650
  floriday_clock_presales_cache: {
31669
32651
  Row: {
31670
32652
  buyer_organization_id: string | null;
@@ -34938,6 +35920,30 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
34938
35920
  referencedColumns: ["id"];
34939
35921
  }];
34940
35922
  };
35923
+ job_locks: {
35924
+ Row: {
35925
+ created_at: string;
35926
+ lock_key: string;
35927
+ locked_until: string;
35928
+ owner: string | null;
35929
+ updated_at: string;
35930
+ };
35931
+ Insert: {
35932
+ created_at?: string;
35933
+ lock_key: string;
35934
+ locked_until: string;
35935
+ owner?: string | null;
35936
+ updated_at?: string;
35937
+ };
35938
+ Update: {
35939
+ created_at?: string;
35940
+ lock_key?: string;
35941
+ locked_until?: string;
35942
+ owner?: string | null;
35943
+ updated_at?: string;
35944
+ };
35945
+ Relationships: [];
35946
+ };
34941
35947
  layout_logos: {
34942
35948
  Row: {
34943
35949
  bestand_url: string;
@@ -35907,6 +36913,36 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
35907
36913
  };
35908
36914
  Relationships: [];
35909
36915
  };
36916
+ logistics_floriday_push_refusals: {
36917
+ Row: {
36918
+ action: string | null;
36919
+ created_at: string;
36920
+ id: string;
36921
+ order_ref: string;
36922
+ reason: string;
36923
+ source_module: string | null;
36924
+ source_shell: string | null;
36925
+ };
36926
+ Insert: {
36927
+ action?: string | null;
36928
+ created_at?: string;
36929
+ id?: string;
36930
+ order_ref: string;
36931
+ reason: string;
36932
+ source_module?: string | null;
36933
+ source_shell?: string | null;
36934
+ };
36935
+ Update: {
36936
+ action?: string | null;
36937
+ created_at?: string;
36938
+ id?: string;
36939
+ order_ref?: string;
36940
+ reason?: string;
36941
+ source_module?: string | null;
36942
+ source_shell?: string | null;
36943
+ };
36944
+ Relationships: [];
36945
+ };
35910
36946
  logistics_floriday_pushes: {
35911
36947
  Row: {
35912
36948
  attempts: number;
@@ -35982,6 +37018,42 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
35982
37018
  };
35983
37019
  Relationships: [];
35984
37020
  };
37021
+ logistics_floriday_status_sends: {
37022
+ Row: {
37023
+ action: string;
37024
+ created_at: string;
37025
+ detail: string | null;
37026
+ http_status: number | null;
37027
+ id: string;
37028
+ ok: boolean;
37029
+ order_ref: string;
37030
+ source_module: string | null;
37031
+ source_shell: string | null;
37032
+ };
37033
+ Insert: {
37034
+ action: string;
37035
+ created_at?: string;
37036
+ detail?: string | null;
37037
+ http_status?: number | null;
37038
+ id?: string;
37039
+ ok?: boolean;
37040
+ order_ref: string;
37041
+ source_module?: string | null;
37042
+ source_shell?: string | null;
37043
+ };
37044
+ Update: {
37045
+ action?: string;
37046
+ created_at?: string;
37047
+ detail?: string | null;
37048
+ http_status?: number | null;
37049
+ id?: string;
37050
+ ok?: boolean;
37051
+ order_ref?: string;
37052
+ source_module?: string | null;
37053
+ source_shell?: string | null;
37054
+ };
37055
+ Relationships: [];
37056
+ };
35985
37057
  logistics_formulas: {
35986
37058
  Row: {
35987
37059
  created_at: string;
@@ -36054,6 +37126,108 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
36054
37126
  };
36055
37127
  Relationships: [];
36056
37128
  };
37129
+ logistics_opening_exceptions: {
37130
+ Row: {
37131
+ closes: string | null;
37132
+ created_at: string;
37133
+ day: string;
37134
+ id: string;
37135
+ is_closed: boolean;
37136
+ note: string | null;
37137
+ opens: string | null;
37138
+ };
37139
+ Insert: {
37140
+ closes?: string | null;
37141
+ created_at?: string;
37142
+ day: string;
37143
+ id?: string;
37144
+ is_closed?: boolean;
37145
+ note?: string | null;
37146
+ opens?: string | null;
37147
+ };
37148
+ Update: {
37149
+ closes?: string | null;
37150
+ created_at?: string;
37151
+ day?: string;
37152
+ id?: string;
37153
+ is_closed?: boolean;
37154
+ note?: string | null;
37155
+ opens?: string | null;
37156
+ };
37157
+ Relationships: [];
37158
+ };
37159
+ logistics_opening_hours: {
37160
+ Row: {
37161
+ closes: string;
37162
+ created_at: string;
37163
+ id: string;
37164
+ is_active: boolean;
37165
+ note: string | null;
37166
+ opens: string;
37167
+ weekday: number;
37168
+ };
37169
+ Insert: {
37170
+ closes: string;
37171
+ created_at?: string;
37172
+ id?: string;
37173
+ is_active?: boolean;
37174
+ note?: string | null;
37175
+ opens: string;
37176
+ weekday: number;
37177
+ };
37178
+ Update: {
37179
+ closes?: string;
37180
+ created_at?: string;
37181
+ id?: string;
37182
+ is_active?: boolean;
37183
+ note?: string | null;
37184
+ opens?: string;
37185
+ weekday?: number;
37186
+ };
37187
+ Relationships: [];
37188
+ };
37189
+ logistics_pick_data_requests: {
37190
+ Row: {
37191
+ actions: import("../integrations/supabase/types").Json;
37192
+ created_at: string;
37193
+ event_id: string | null;
37194
+ finished_at: string | null;
37195
+ id: string;
37196
+ missing: import("../integrations/supabase/types").Json;
37197
+ order_ref: string;
37198
+ reason: string | null;
37199
+ result: import("../integrations/supabase/types").Json | null;
37200
+ status: string;
37201
+ unit_ref: string | null;
37202
+ };
37203
+ Insert: {
37204
+ actions?: import("../integrations/supabase/types").Json;
37205
+ created_at?: string;
37206
+ event_id?: string | null;
37207
+ finished_at?: string | null;
37208
+ id?: string;
37209
+ missing?: import("../integrations/supabase/types").Json;
37210
+ order_ref: string;
37211
+ reason?: string | null;
37212
+ result?: import("../integrations/supabase/types").Json | null;
37213
+ status?: string;
37214
+ unit_ref?: string | null;
37215
+ };
37216
+ Update: {
37217
+ actions?: import("../integrations/supabase/types").Json;
37218
+ created_at?: string;
37219
+ event_id?: string | null;
37220
+ finished_at?: string | null;
37221
+ id?: string;
37222
+ missing?: import("../integrations/supabase/types").Json;
37223
+ order_ref?: string;
37224
+ reason?: string | null;
37225
+ result?: import("../integrations/supabase/types").Json | null;
37226
+ status?: string;
37227
+ unit_ref?: string | null;
37228
+ };
37229
+ Relationships: [];
37230
+ };
36057
37231
  logistics_pickup_moments: {
36058
37232
  Row: {
36059
37233
  carrier_ref: string | null;
@@ -36100,6 +37274,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
36100
37274
  next_attempt_at: string;
36101
37275
  order_id: string;
36102
37276
  reason: string;
37277
+ reason_code: string | null;
36103
37278
  status: string;
36104
37279
  updated_at: string;
36105
37280
  };
@@ -36112,6 +37287,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
36112
37287
  next_attempt_at?: string;
36113
37288
  order_id: string;
36114
37289
  reason?: string;
37290
+ reason_code?: string | null;
36115
37291
  status?: string;
36116
37292
  updated_at?: string;
36117
37293
  };
@@ -36124,6 +37300,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
36124
37300
  next_attempt_at?: string;
36125
37301
  order_id?: string;
36126
37302
  reason?: string;
37303
+ reason_code?: string | null;
36127
37304
  status?: string;
36128
37305
  updated_at?: string;
36129
37306
  };
@@ -36510,6 +37687,69 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
36510
37687
  };
36511
37688
  Relationships: [];
36512
37689
  };
37690
+ logistics_slip_shipping_note: {
37691
+ Row: {
37692
+ attempts: number;
37693
+ batch_key: string | null;
37694
+ cart_id: string | null;
37695
+ created_at: string;
37696
+ error: string | null;
37697
+ error_code: string | null;
37698
+ fulfillment_order_id: string | null;
37699
+ id: string;
37700
+ locked_until: string | null;
37701
+ next_attempt_at: string | null;
37702
+ order_id: string | null;
37703
+ order_number: string | null;
37704
+ print_job_id: string | null;
37705
+ printer_id: string | null;
37706
+ retry_class: string | null;
37707
+ slip_job_id: string;
37708
+ status: string;
37709
+ updated_at: string;
37710
+ };
37711
+ Insert: {
37712
+ attempts?: number;
37713
+ batch_key?: string | null;
37714
+ cart_id?: string | null;
37715
+ created_at?: string;
37716
+ error?: string | null;
37717
+ error_code?: string | null;
37718
+ fulfillment_order_id?: string | null;
37719
+ id?: string;
37720
+ locked_until?: string | null;
37721
+ next_attempt_at?: string | null;
37722
+ order_id?: string | null;
37723
+ order_number?: string | null;
37724
+ print_job_id?: string | null;
37725
+ printer_id?: string | null;
37726
+ retry_class?: string | null;
37727
+ slip_job_id: string;
37728
+ status?: string;
37729
+ updated_at?: string;
37730
+ };
37731
+ Update: {
37732
+ attempts?: number;
37733
+ batch_key?: string | null;
37734
+ cart_id?: string | null;
37735
+ created_at?: string;
37736
+ error?: string | null;
37737
+ error_code?: string | null;
37738
+ fulfillment_order_id?: string | null;
37739
+ id?: string;
37740
+ locked_until?: string | null;
37741
+ next_attempt_at?: string | null;
37742
+ order_id?: string | null;
37743
+ order_number?: string | null;
37744
+ print_job_id?: string | null;
37745
+ printer_id?: string | null;
37746
+ retry_class?: string | null;
37747
+ slip_job_id?: string;
37748
+ status?: string;
37749
+ updated_at?: string;
37750
+ };
37751
+ Relationships: [];
37752
+ };
36513
37753
  logistics_staff_planning: {
36514
37754
  Row: {
36515
37755
  created_at: string;
@@ -36828,6 +38068,39 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
36828
38068
  referencedColumns: ["id"];
36829
38069
  }];
36830
38070
  };
38071
+ logistics_tick_heartbeat: {
38072
+ Row: {
38073
+ id: boolean;
38074
+ last_tick_at: string;
38075
+ };
38076
+ Insert: {
38077
+ id?: boolean;
38078
+ last_tick_at?: string;
38079
+ };
38080
+ Update: {
38081
+ id?: boolean;
38082
+ last_tick_at?: string;
38083
+ };
38084
+ Relationships: [];
38085
+ };
38086
+ logistics_time_settings: {
38087
+ Row: {
38088
+ id: boolean;
38089
+ timezone: string;
38090
+ updated_at: string;
38091
+ };
38092
+ Insert: {
38093
+ id?: boolean;
38094
+ timezone: string;
38095
+ updated_at?: string;
38096
+ };
38097
+ Update: {
38098
+ id?: boolean;
38099
+ timezone?: string;
38100
+ updated_at?: string;
38101
+ };
38102
+ Relationships: [];
38103
+ };
36831
38104
  logistics_variables: {
36832
38105
  Row: {
36833
38106
  created_at: string;
@@ -39218,6 +40491,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
39218
40491
  customer_name: string;
39219
40492
  deleted_at: string | null;
39220
40493
  delivery_date: string | null;
40494
+ floriday_order_group_key: string | null;
39221
40495
  floriday_sales_order_id: string | null;
39222
40496
  id: string;
39223
40497
  invoice_due_at: string | null;
@@ -39245,6 +40519,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
39245
40519
  customer_name?: string;
39246
40520
  deleted_at?: string | null;
39247
40521
  delivery_date?: string | null;
40522
+ floriday_order_group_key?: string | null;
39248
40523
  floriday_sales_order_id?: string | null;
39249
40524
  id?: string;
39250
40525
  invoice_due_at?: string | null;
@@ -39272,6 +40547,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
39272
40547
  customer_name?: string;
39273
40548
  deleted_at?: string | null;
39274
40549
  delivery_date?: string | null;
40550
+ floriday_order_group_key?: string | null;
39275
40551
  floriday_sales_order_id?: string | null;
39276
40552
  id?: string;
39277
40553
  invoice_due_at?: string | null;
@@ -39465,6 +40741,27 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
39465
40741
  };
39466
40742
  Relationships: [];
39467
40743
  };
40744
+ pick_buffer_event_cursor: {
40745
+ Row: {
40746
+ created_at: string;
40747
+ id: boolean;
40748
+ last_event_at: string;
40749
+ updated_at: string;
40750
+ };
40751
+ Insert: {
40752
+ created_at?: string;
40753
+ id?: boolean;
40754
+ last_event_at?: string;
40755
+ updated_at?: string;
40756
+ };
40757
+ Update: {
40758
+ created_at?: string;
40759
+ id?: boolean;
40760
+ last_event_at?: string;
40761
+ updated_at?: string;
40762
+ };
40763
+ Relationships: [];
40764
+ };
39468
40765
  pick_countries: {
39469
40766
  Row: {
39470
40767
  active: boolean;
@@ -45114,6 +46411,36 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
45114
46411
  referencedColumns: ["id"];
45115
46412
  }];
45116
46413
  };
46414
+ voorraad_buffer_state: {
46415
+ Row: {
46416
+ buffer_id: string;
46417
+ buffer_key: string | null;
46418
+ closed_at: string | null;
46419
+ created_at: string;
46420
+ detached_orders: import("../integrations/supabase/types").Json;
46421
+ reason: string | null;
46422
+ updated_at: string;
46423
+ };
46424
+ Insert: {
46425
+ buffer_id: string;
46426
+ buffer_key?: string | null;
46427
+ closed_at?: string | null;
46428
+ created_at?: string;
46429
+ detached_orders?: import("../integrations/supabase/types").Json;
46430
+ reason?: string | null;
46431
+ updated_at?: string;
46432
+ };
46433
+ Update: {
46434
+ buffer_id?: string;
46435
+ buffer_key?: string | null;
46436
+ closed_at?: string | null;
46437
+ created_at?: string;
46438
+ detached_orders?: import("../integrations/supabase/types").Json;
46439
+ reason?: string | null;
46440
+ updated_at?: string;
46441
+ };
46442
+ Relationships: [];
46443
+ };
45117
46444
  voorraad_custom_fields: {
45118
46445
  Row: {
45119
46446
  created_at: string;
@@ -45156,6 +46483,36 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
45156
46483
  };
45157
46484
  Relationships: [];
45158
46485
  };
46486
+ voorraad_logistics_event_log: {
46487
+ Row: {
46488
+ created_at: string;
46489
+ event_id: string;
46490
+ event_type: string;
46491
+ order_ref: string | null;
46492
+ processed_at: string;
46493
+ result: import("../integrations/supabase/types").Json;
46494
+ updated_at: string;
46495
+ };
46496
+ Insert: {
46497
+ created_at?: string;
46498
+ event_id: string;
46499
+ event_type: string;
46500
+ order_ref?: string | null;
46501
+ processed_at?: string;
46502
+ result?: import("../integrations/supabase/types").Json;
46503
+ updated_at?: string;
46504
+ };
46505
+ Update: {
46506
+ created_at?: string;
46507
+ event_id?: string;
46508
+ event_type?: string;
46509
+ order_ref?: string | null;
46510
+ processed_at?: string;
46511
+ result?: import("../integrations/supabase/types").Json;
46512
+ updated_at?: string;
46513
+ };
46514
+ Relationships: [];
46515
+ };
45159
46516
  voorraad_media_upload_failures: {
45160
46517
  Row: {
45161
46518
  action: string;
@@ -47981,6 +49338,17 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
47981
49338
  };
47982
49339
  Returns: boolean;
47983
49340
  };
49341
+ floriday_adopt_connection: {
49342
+ Args: {
49343
+ p_new: string;
49344
+ p_old: string;
49345
+ };
49346
+ Returns: import("../integrations/supabase/types").Json;
49347
+ };
49348
+ floriday_autoheal_connections: {
49349
+ Args: never;
49350
+ Returns: import("../integrations/supabase/types").Json;
49351
+ };
47984
49352
  floriday_capture_stock_snapshot: {
47985
49353
  Args: never;
47986
49354
  Returns: number;
@@ -48038,6 +49406,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
48038
49406
  };
48039
49407
  Returns: undefined;
48040
49408
  };
49409
+ floriday_relink_products: {
49410
+ Args: {
49411
+ p_connection_id?: string;
49412
+ };
49413
+ Returns: import("../integrations/supabase/types").Json;
49414
+ };
48041
49415
  floriday_requeue_dead_letters: {
48042
49416
  Args: {
48043
49417
  p_connection_id?: string;
@@ -48659,6 +50033,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
48659
50033
  };
48660
50034
  Returns: string;
48661
50035
  };
50036
+ logistics_active_layout_method: {
50037
+ Args: never;
50038
+ Returns: string;
50039
+ };
48662
50040
  logistics_active_pick_workdays: {
48663
50041
  Args: never;
48664
50042
  Returns: string[];
@@ -48710,6 +50088,30 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
48710
50088
  };
48711
50089
  Returns: import("../integrations/supabase/types").Json;
48712
50090
  };
50091
+ logistics_block_reason_code: {
50092
+ Args: {
50093
+ p_details?: import("../integrations/supabase/types").Json;
50094
+ p_reason: string;
50095
+ };
50096
+ Returns: string;
50097
+ };
50098
+ logistics_blocked_orders: {
50099
+ Args: never;
50100
+ Returns: {
50101
+ attempts: number;
50102
+ blocked_since: string;
50103
+ delivery_date: string;
50104
+ order_id: string;
50105
+ order_ref: string;
50106
+ queue_id: string;
50107
+ reason: string;
50108
+ reason_code: string;
50109
+ }[];
50110
+ };
50111
+ logistics_blocked_overview: {
50112
+ Args: never;
50113
+ Returns: import("../integrations/supabase/types").Json;
50114
+ };
48713
50115
  logistics_buffer_criteria: {
48714
50116
  Args: {
48715
50117
  p_settings: import("../integrations/supabase/types").Json;
@@ -48724,6 +50126,39 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
48724
50126
  };
48725
50127
  Returns: import("../integrations/supabase/types").Json;
48726
50128
  };
50129
+ logistics_buffer_detach_late_orders: {
50130
+ Args: {
50131
+ p_buffer?: string;
50132
+ };
50133
+ Returns: import("../integrations/supabase/types").Json;
50134
+ };
50135
+ logistics_buffer_frozen_order: {
50136
+ Args: {
50137
+ p_order_id: string;
50138
+ };
50139
+ Returns: boolean;
50140
+ };
50141
+ logistics_buffer_handled: {
50142
+ Args: {
50143
+ p_buffer: string;
50144
+ };
50145
+ Returns: boolean;
50146
+ };
50147
+ logistics_buffer_notify: {
50148
+ Args: {
50149
+ p_event_type: string;
50150
+ p_idempotency_key: string;
50151
+ p_order_ref: string;
50152
+ p_payload: import("../integrations/supabase/types").Json;
50153
+ };
50154
+ Returns: string;
50155
+ };
50156
+ logistics_buffer_open_key: {
50157
+ Args: {
50158
+ p_base_key: string;
50159
+ };
50160
+ Returns: string;
50161
+ };
48727
50162
  logistics_buffer_simulate: {
48728
50163
  Args: {
48729
50164
  p_orders?: import("../integrations/supabase/types").Json;
@@ -48776,6 +50211,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
48776
50211
  };
48777
50212
  Returns: string;
48778
50213
  };
50214
+ logistics_cart_checkin_at: {
50215
+ Args: {
50216
+ p_cart_id: string;
50217
+ };
50218
+ Returns: string;
50219
+ };
48779
50220
  logistics_cart_handled: {
48780
50221
  Args: {
48781
50222
  p_cart_index: number;
@@ -48809,10 +50250,53 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
48809
50250
  task_status: string;
48810
50251
  }[];
48811
50252
  };
50253
+ logistics_cart_is_full: {
50254
+ Args: {
50255
+ p_cart_id: string;
50256
+ };
50257
+ Returns: boolean;
50258
+ };
48812
50259
  logistics_cart_layout_method: {
48813
50260
  Args: never;
48814
50261
  Returns: import("../integrations/supabase/types").Json;
48815
50262
  };
50263
+ logistics_cart_order_refs: {
50264
+ Args: {
50265
+ p_cart_id: string;
50266
+ };
50267
+ Returns: string[];
50268
+ };
50269
+ logistics_cart_plan_overview: {
50270
+ Args: {
50271
+ p_days?: number;
50272
+ };
50273
+ Returns: {
50274
+ cart_total: number;
50275
+ delivery_date: string;
50276
+ order_ref: string;
50277
+ plan_ready: boolean;
50278
+ reason: string;
50279
+ released: boolean;
50280
+ }[];
50281
+ };
50282
+ logistics_cart_plan_status: {
50283
+ Args: {
50284
+ p_ref: string;
50285
+ };
50286
+ Returns: import("../integrations/supabase/types").Json;
50287
+ };
50288
+ logistics_cart_release_reason: {
50289
+ Args: {
50290
+ p_cart_id: string;
50291
+ };
50292
+ Returns: string;
50293
+ };
50294
+ logistics_cart_released: {
50295
+ Args: {
50296
+ p_cart_id: string;
50297
+ };
50298
+ Returns: boolean;
50299
+ };
48816
50300
  logistics_cart_seq: {
48817
50301
  Args: {
48818
50302
  p_order_uuid?: string;
@@ -48863,6 +50347,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
48863
50347
  unit_ref: string;
48864
50348
  }[];
48865
50349
  };
50350
+ logistics_carts_per_print: {
50351
+ Args: never;
50352
+ Returns: number;
50353
+ };
48866
50354
  logistics_check_order_allowed: {
48867
50355
  Args: {
48868
50356
  p_lines: import("../integrations/supabase/types").Json;
@@ -48966,6 +50454,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
48966
50454
  isSetofReturn: false;
48967
50455
  };
48968
50456
  };
50457
+ logistics_cleanup_orphan_print_jobs: {
50458
+ Args: never;
50459
+ Returns: import("../integrations/supabase/types").Json;
50460
+ };
48969
50461
  logistics_complete_task: {
48970
50462
  Args: {
48971
50463
  p_result?: import("../integrations/supabase/types").Json;
@@ -49028,6 +50520,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
49028
50520
  station_carts: number;
49029
50521
  }[];
49030
50522
  };
50523
+ logistics_control_complete_cart: {
50524
+ Args: {
50525
+ p_cart_id: string;
50526
+ };
50527
+ Returns: number;
50528
+ };
49031
50529
  logistics_control_scan_approve: {
49032
50530
  Args: {
49033
50531
  p_allow_reprint?: boolean;
@@ -49107,6 +50605,15 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
49107
50605
  Args: never;
49108
50606
  Returns: import("../integrations/supabase/types").Json;
49109
50607
  };
50608
+ logistics_day_windows: {
50609
+ Args: {
50610
+ p_day: string;
50611
+ };
50612
+ Returns: {
50613
+ win_end: string;
50614
+ win_start: string;
50615
+ }[];
50616
+ };
49110
50617
  logistics_delay_customer_email: {
49111
50618
  Args: {
49112
50619
  p_customer: string;
@@ -49174,6 +50681,17 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
49174
50681
  };
49175
50682
  Returns: import("../integrations/supabase/types").Json;
49176
50683
  };
50684
+ logistics_enqueue_shipping_note_with_slip: {
50685
+ Args: {
50686
+ _cart_id: string;
50687
+ _is_herprint: boolean;
50688
+ _printer_id: string;
50689
+ _queue_item_id: string;
50690
+ _session_id: string;
50691
+ _slip_job_id: string;
50692
+ };
50693
+ Returns: string;
50694
+ };
49177
50695
  logistics_enqueue_sticker_with_slip: {
49178
50696
  Args: {
49179
50697
  _cart_id: string;
@@ -49191,6 +50709,14 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
49191
50709
  };
49192
50710
  Returns: string;
49193
50711
  };
50712
+ logistics_ensure_pick_data: {
50713
+ Args: {
50714
+ p_event_id?: string;
50715
+ p_missing?: import("../integrations/supabase/types").Json;
50716
+ p_ref: string;
50717
+ };
50718
+ Returns: import("../integrations/supabase/types").Json;
50719
+ };
49194
50720
  logistics_fail_task: {
49195
50721
  Args: {
49196
50722
  p_error: string;
@@ -49312,6 +50838,38 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
49312
50838
  };
49313
50839
  Returns: string;
49314
50840
  };
50841
+ logistics_floriday_gate_status: {
50842
+ Args: never;
50843
+ Returns: import("../integrations/supabase/types").Json;
50844
+ };
50845
+ logistics_floriday_log_refusal: {
50846
+ Args: {
50847
+ _action?: string;
50848
+ _module?: string;
50849
+ _order_ref: string;
50850
+ _reason: string;
50851
+ _shell?: string;
50852
+ };
50853
+ Returns: undefined;
50854
+ };
50855
+ logistics_floriday_log_send: {
50856
+ Args: {
50857
+ _action: string;
50858
+ _detail?: string;
50859
+ _http_status?: number;
50860
+ _module?: string;
50861
+ _ok: boolean;
50862
+ _order_ref: string;
50863
+ _shell?: string;
50864
+ };
50865
+ Returns: undefined;
50866
+ };
50867
+ logistics_floriday_order_approved: {
50868
+ Args: {
50869
+ _order_ref: string;
50870
+ };
50871
+ Returns: boolean;
50872
+ };
49315
50873
  logistics_floriday_prune_pushes: {
49316
50874
  Args: {
49317
50875
  _days?: number;
@@ -49326,6 +50884,20 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
49326
50884
  };
49327
50885
  Returns: string;
49328
50886
  };
50887
+ logistics_floriday_status_updates_enabled: {
50888
+ Args: never;
50889
+ Returns: boolean;
50890
+ };
50891
+ logistics_floriday_stock_updates_enabled: {
50892
+ Args: never;
50893
+ Returns: boolean;
50894
+ };
50895
+ logistics_floriday_write_allowed: {
50896
+ Args: {
50897
+ _action: string;
50898
+ };
50899
+ Returns: boolean;
50900
+ };
49329
50901
  logistics_fulfill_barcode_requests: {
49330
50902
  Args: {
49331
50903
  p_limit?: number;
@@ -49346,6 +50918,16 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
49346
50918
  };
49347
50919
  Returns: boolean;
49348
50920
  };
50921
+ logistics_layout_method_status: {
50922
+ Args: never;
50923
+ Returns: import("../integrations/supabase/types").Json;
50924
+ };
50925
+ logistics_link_order_items: {
50926
+ Args: {
50927
+ p_order?: string;
50928
+ };
50929
+ Returns: import("../integrations/supabase/types").Json;
50930
+ };
49349
50931
  logistics_live_carriers: {
49350
50932
  Args: {
49351
50933
  p_order_ref: string;
@@ -49358,6 +50940,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
49358
50940
  };
49359
50941
  Returns: number;
49360
50942
  };
50943
+ logistics_merge_partial_carts: {
50944
+ Args: {
50945
+ p_limit?: number;
50946
+ };
50947
+ Returns: import("../integrations/supabase/types").Json;
50948
+ };
49361
50949
  logistics_next_workday_date: {
49362
50950
  Args: {
49363
50951
  p_date: string;
@@ -49372,12 +50960,22 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
49372
50960
  };
49373
50961
  Returns: string;
49374
50962
  };
50963
+ logistics_normalize_product_label: {
50964
+ Args: {
50965
+ p_label: string;
50966
+ };
50967
+ Returns: string;
50968
+ };
49375
50969
  logistics_not_past: {
49376
50970
  Args: {
49377
50971
  p_ts: string;
49378
50972
  };
49379
50973
  Returns: string;
49380
50974
  };
50975
+ logistics_opening_timezone: {
50976
+ Args: never;
50977
+ Returns: string;
50978
+ };
49381
50979
  logistics_order_cart_count: {
49382
50980
  Args: {
49383
50981
  p_order_ref: string;
@@ -49462,6 +51060,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
49462
51060
  Args: never;
49463
51061
  Returns: import("../integrations/supabase/types").Json;
49464
51062
  };
51063
+ logistics_pick_partial_mode: {
51064
+ Args: never;
51065
+ Returns: string;
51066
+ };
49465
51067
  logistics_pick_start_estimate: {
49466
51068
  Args: {
49467
51069
  p_order: import("../integrations/supabase/types").Json;
@@ -49560,6 +51162,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
49560
51162
  Args: never;
49561
51163
  Returns: number;
49562
51164
  };
51165
+ logistics_plan_retry: {
51166
+ Args: {
51167
+ p_order_ids: string[];
51168
+ };
51169
+ Returns: number;
51170
+ };
49563
51171
  logistics_plan_setting: {
49564
51172
  Args: {
49565
51173
  p_default: number;
@@ -49567,6 +51175,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
49567
51175
  };
49568
51176
  Returns: number;
49569
51177
  };
51178
+ logistics_prepare_pick_documents: {
51179
+ Args: {
51180
+ p_limit?: number;
51181
+ };
51182
+ Returns: import("../integrations/supabase/types").Json;
51183
+ };
49570
51184
  logistics_prune_buffer_member_queue: {
49571
51185
  Args: never;
49572
51186
  Returns: number;
@@ -49607,12 +51221,30 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
49607
51221
  Args: never;
49608
51222
  Returns: import("../integrations/supabase/types").Json;
49609
51223
  };
51224
+ logistics_refresh_pick_queue_status: {
51225
+ Args: {
51226
+ p_ref: string;
51227
+ };
51228
+ Returns: number;
51229
+ };
49610
51230
  logistics_refresh_pickup_moments: {
49611
51231
  Args: {
49612
51232
  p_weeks?: number;
49613
51233
  };
49614
51234
  Returns: import("../integrations/supabase/types").Json;
49615
51235
  };
51236
+ logistics_replan_all: {
51237
+ Args: {
51238
+ p_reason?: string;
51239
+ };
51240
+ Returns: import("../integrations/supabase/types").Json;
51241
+ };
51242
+ logistics_replan_all_force: {
51243
+ Args: {
51244
+ p_reason?: string;
51245
+ };
51246
+ Returns: import("../integrations/supabase/types").Json;
51247
+ };
49616
51248
  logistics_report_delay: {
49617
51249
  Args: {
49618
51250
  p_expected_date?: string;
@@ -49666,6 +51298,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
49666
51298
  };
49667
51299
  Returns: import("../integrations/supabase/types").Json;
49668
51300
  };
51301
+ logistics_resolve_product_id: {
51302
+ Args: {
51303
+ p_label: string;
51304
+ };
51305
+ Returns: string;
51306
+ };
49669
51307
  logistics_resolve_settings: {
49670
51308
  Args: {
49671
51309
  p_config_id: string;
@@ -49751,6 +51389,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
49751
51389
  };
49752
51390
  Returns: string;
49753
51391
  };
51392
+ logistics_shipping_note_follows_slip: {
51393
+ Args: never;
51394
+ Returns: boolean;
51395
+ };
49754
51396
  logistics_shipping_note_from_barcode: {
49755
51397
  Args: {
49756
51398
  p_allow_reprint?: boolean;
@@ -49759,10 +51401,76 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
49759
51401
  };
49760
51402
  Returns: import("../integrations/supabase/types").Json;
49761
51403
  };
51404
+ logistics_shipping_note_job_for_slip: {
51405
+ Args: {
51406
+ _slip_job_id: string;
51407
+ };
51408
+ Returns: string;
51409
+ };
51410
+ logistics_slip_note_claim: {
51411
+ Args: {
51412
+ _lease_seconds?: number;
51413
+ _limit?: number;
51414
+ };
51415
+ Returns: {
51416
+ attempts: number;
51417
+ batch_key: string | null;
51418
+ cart_id: string | null;
51419
+ created_at: string;
51420
+ error: string | null;
51421
+ error_code: string | null;
51422
+ fulfillment_order_id: string | null;
51423
+ id: string;
51424
+ locked_until: string | null;
51425
+ next_attempt_at: string | null;
51426
+ order_id: string | null;
51427
+ order_number: string | null;
51428
+ print_job_id: string | null;
51429
+ printer_id: string | null;
51430
+ retry_class: string | null;
51431
+ slip_job_id: string;
51432
+ status: string;
51433
+ updated_at: string;
51434
+ }[];
51435
+ SetofOptions: {
51436
+ from: "*";
51437
+ to: "logistics_slip_shipping_note";
51438
+ isOneToOne: false;
51439
+ isSetofReturn: true;
51440
+ };
51441
+ };
51442
+ logistics_slip_note_finish: {
51443
+ Args: {
51444
+ _error?: string;
51445
+ _error_code?: string;
51446
+ _fulfillment_order_id?: string;
51447
+ _id: string;
51448
+ _ok: boolean;
51449
+ _print_job_id?: string;
51450
+ _status?: string;
51451
+ };
51452
+ Returns: undefined;
51453
+ };
51454
+ logistics_slip_note_keep_waiting: {
51455
+ Args: {
51456
+ _class?: string;
51457
+ _id: string;
51458
+ _reason: string;
51459
+ };
51460
+ Returns: undefined;
51461
+ };
49762
51462
  logistics_sticker_follows_slip: {
49763
51463
  Args: never;
49764
51464
  Returns: boolean;
49765
51465
  };
51466
+ logistics_subtract_working_minutes: {
51467
+ Args: {
51468
+ p_deadline: string;
51469
+ p_max_workdays?: number;
51470
+ p_minutes: number;
51471
+ };
51472
+ Returns: import("../integrations/supabase/types").Json;
51473
+ };
49766
51474
  logistics_supersede_stale_tasks: {
49767
51475
  Args: {
49768
51476
  p_keep: string[];
@@ -49795,6 +51503,16 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
49795
51503
  };
49796
51504
  Returns: number;
49797
51505
  };
51506
+ logistics_tick_ping: {
51507
+ Args: never;
51508
+ Returns: string;
51509
+ };
51510
+ logistics_timezone_options: {
51511
+ Args: never;
51512
+ Returns: {
51513
+ name: string;
51514
+ }[];
51515
+ };
49798
51516
  logistics_upsert_task: {
49799
51517
  Args: {
49800
51518
  p_buffer_ref: string;
@@ -49814,6 +51532,16 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
49814
51532
  };
49815
51533
  Returns: string;
49816
51534
  };
51535
+ logistics_valid_timezone: {
51536
+ Args: {
51537
+ _tz: string;
51538
+ };
51539
+ Returns: boolean;
51540
+ };
51541
+ logistics_working_hours_status: {
51542
+ Args: never;
51543
+ Returns: import("../integrations/supabase/types").Json;
51544
+ };
49817
51545
  logistics_write_buffer_layer_positions: {
49818
51546
  Args: {
49819
51547
  p_buffer_id: string;
@@ -49938,6 +51666,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
49938
51666
  };
49939
51667
  Returns: import("../integrations/supabase/types").Json;
49940
51668
  };
51669
+ order_heeft_bevestigde_karren: {
51670
+ Args: {
51671
+ p_order_id: string;
51672
+ };
51673
+ Returns: boolean;
51674
+ };
49941
51675
  order_number_prefix: {
49942
51676
  Args: {
49943
51677
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -49973,6 +51707,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
49973
51707
  online: boolean;
49974
51708
  }[];
49975
51709
  };
51710
+ pick_apply_buffer_events: {
51711
+ Args: never;
51712
+ Returns: import("../integrations/supabase/types").Json;
51713
+ };
49976
51714
  pick_available_pick_days: {
49977
51715
  Args: {
49978
51716
  _max_days?: number;
@@ -49982,6 +51720,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
49982
51720
  pick_day: string;
49983
51721
  }[];
49984
51722
  };
51723
+ pick_buffer_order_ids: {
51724
+ Args: {
51725
+ _order_id: string;
51726
+ };
51727
+ Returns: string[];
51728
+ };
49985
51729
  pick_cart_breakdown: {
49986
51730
  Args: {
49987
51731
  _order_id: string;
@@ -50041,6 +51785,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
50041
51785
  pick_claim_next_document: {
50042
51786
  Args: {
50043
51787
  _country_code: string;
51788
+ _pick_day?: string;
50044
51789
  _screen_id: string;
50045
51790
  _session_id: string;
50046
51791
  _station_id: string;
@@ -50329,6 +52074,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
50329
52074
  omschrijving: string;
50330
52075
  }[];
50331
52076
  };
52077
+ pick_queue_cart_plan: {
52078
+ Args: {
52079
+ _queue_item_id: string;
52080
+ };
52081
+ Returns: import("../integrations/supabase/types").Json;
52082
+ };
50332
52083
  pick_reference_data_status: {
50333
52084
  Args: never;
50334
52085
  Returns: import("../integrations/supabase/types").Json;
@@ -50343,6 +52094,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
50343
52094
  };
50344
52095
  Returns: undefined;
50345
52096
  };
52097
+ pick_report_missing_cart_plan: {
52098
+ Args: never;
52099
+ Returns: import("../integrations/supabase/types").Json;
52100
+ };
50346
52101
  pick_reprint_cart: {
50347
52102
  Args: {
50348
52103
  _cart_id: string;
@@ -50883,6 +52638,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
50883
52638
  };
50884
52639
  Returns: boolean;
50885
52640
  };
52641
+ release_job_lock: {
52642
+ Args: {
52643
+ _key: string;
52644
+ };
52645
+ Returns: undefined;
52646
+ };
50886
52647
  release_local_pdf_job: {
50887
52648
  Args: {
50888
52649
  _job_id: string;
@@ -51072,6 +52833,16 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
51072
52833
  };
51073
52834
  Returns: import("../integrations/supabase/types").Json;
51074
52835
  };
52836
+ scan_log_code: {
52837
+ Args: {
52838
+ p_code: string;
52839
+ p_latency_ms?: number;
52840
+ p_message?: string;
52841
+ p_result: string;
52842
+ p_scanner_key?: string;
52843
+ };
52844
+ Returns: string;
52845
+ };
51075
52846
  scan_open_pakbonnen: {
51076
52847
  Args: {
51077
52848
  p_dagen?: number;
@@ -51216,6 +52987,13 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
51216
52987
  };
51217
52988
  Returns: number;
51218
52989
  };
52990
+ schedule_floriday_catalog_prices_sync: {
52991
+ Args: {
52992
+ p_apikey: string;
52993
+ p_url: string;
52994
+ };
52995
+ Returns: number;
52996
+ };
51219
52997
  schedule_floriday_clock_presales_sync: {
51220
52998
  Args: {
51221
52999
  p_apikey: string;
@@ -51516,6 +53294,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
51516
53294
  };
51517
53295
  Returns: undefined;
51518
53296
  };
53297
+ sync_floriday_prices_into_price_groups: {
53298
+ Args: never;
53299
+ Returns: number;
53300
+ };
51519
53301
  sync_layer_stock: {
51520
53302
  Args: {
51521
53303
  p_product_id: string;
@@ -51561,6 +53343,14 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
51561
53343
  row_count: number;
51562
53344
  }[];
51563
53345
  };
53346
+ try_acquire_job_lock: {
53347
+ Args: {
53348
+ _key: string;
53349
+ _owner?: string;
53350
+ _seconds?: number;
53351
+ };
53352
+ Returns: boolean;
53353
+ };
51564
53354
  try_debtor_lock: {
51565
53355
  Args: {
51566
53356
  _group_key: string;
@@ -53865,6 +55655,8 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
53865
55655
  created_at: string;
53866
55656
  currency: string;
53867
55657
  distribute_over: string | null;
55658
+ external_id: string | null;
55659
+ external_synced_at: string | null;
53868
55660
  group_type: string;
53869
55661
  handling_fee: number | null;
53870
55662
  id: string;
@@ -53877,6 +55669,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
53877
55669
  rounding: string;
53878
55670
  rounding_step: number;
53879
55671
  sort_order: number;
55672
+ source: string;
53880
55673
  unit: string;
53881
55674
  updated_at: string;
53882
55675
  };
@@ -53887,6 +55680,8 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
53887
55680
  created_at?: string;
53888
55681
  currency?: string;
53889
55682
  distribute_over?: string | null;
55683
+ external_id?: string | null;
55684
+ external_synced_at?: string | null;
53890
55685
  group_type?: string;
53891
55686
  handling_fee?: number | null;
53892
55687
  id?: string;
@@ -53899,6 +55694,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
53899
55694
  rounding?: string;
53900
55695
  rounding_step?: number;
53901
55696
  sort_order?: number;
55697
+ source?: string;
53902
55698
  unit?: string;
53903
55699
  updated_at?: string;
53904
55700
  };
@@ -53909,6 +55705,8 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
53909
55705
  created_at?: string;
53910
55706
  currency?: string;
53911
55707
  distribute_over?: string | null;
55708
+ external_id?: string | null;
55709
+ external_synced_at?: string | null;
53912
55710
  group_type?: string;
53913
55711
  handling_fee?: number | null;
53914
55712
  id?: string;
@@ -53921,6 +55719,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
53921
55719
  rounding?: string;
53922
55720
  rounding_step?: number;
53923
55721
  sort_order?: number;
55722
+ source?: string;
53924
55723
  unit?: string;
53925
55724
  updated_at?: string;
53926
55725
  };
@@ -57511,6 +59310,84 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
57511
59310
  referencedColumns: ["id"];
57512
59311
  }];
57513
59312
  };
59313
+ floriday_catalog_prices_cache: {
59314
+ Row: {
59315
+ connection_id: string;
59316
+ created_at: string;
59317
+ currency: string;
59318
+ id: string;
59319
+ is_deleted: boolean;
59320
+ price: number | null;
59321
+ price_group_id: string | null;
59322
+ price_group_name: string | null;
59323
+ price_type: string;
59324
+ raw: import("../integrations/supabase/types").Json | null;
59325
+ sales_unit: string | null;
59326
+ sequence_number: number;
59327
+ supplier_article_code: string | null;
59328
+ supply_line_id: string;
59329
+ synced_at: string;
59330
+ trade_item_id: string | null;
59331
+ updated_at: string;
59332
+ valid_from: string | null;
59333
+ valid_to: string | null;
59334
+ week: number | null;
59335
+ year: number | null;
59336
+ };
59337
+ Insert: {
59338
+ connection_id: string;
59339
+ created_at?: string;
59340
+ currency?: string;
59341
+ id?: string;
59342
+ is_deleted?: boolean;
59343
+ price?: number | null;
59344
+ price_group_id?: string | null;
59345
+ price_group_name?: string | null;
59346
+ price_type?: string;
59347
+ raw?: import("../integrations/supabase/types").Json | null;
59348
+ sales_unit?: string | null;
59349
+ sequence_number?: number;
59350
+ supplier_article_code?: string | null;
59351
+ supply_line_id: string;
59352
+ synced_at?: string;
59353
+ trade_item_id?: string | null;
59354
+ updated_at?: string;
59355
+ valid_from?: string | null;
59356
+ valid_to?: string | null;
59357
+ week?: number | null;
59358
+ year?: number | null;
59359
+ };
59360
+ Update: {
59361
+ connection_id?: string;
59362
+ created_at?: string;
59363
+ currency?: string;
59364
+ id?: string;
59365
+ is_deleted?: boolean;
59366
+ price?: number | null;
59367
+ price_group_id?: string | null;
59368
+ price_group_name?: string | null;
59369
+ price_type?: string;
59370
+ raw?: import("../integrations/supabase/types").Json | null;
59371
+ sales_unit?: string | null;
59372
+ sequence_number?: number;
59373
+ supplier_article_code?: string | null;
59374
+ supply_line_id?: string;
59375
+ synced_at?: string;
59376
+ trade_item_id?: string | null;
59377
+ updated_at?: string;
59378
+ valid_from?: string | null;
59379
+ valid_to?: string | null;
59380
+ week?: number | null;
59381
+ year?: number | null;
59382
+ };
59383
+ Relationships: [{
59384
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
59385
+ columns: ["connection_id"];
59386
+ isOneToOne: false;
59387
+ referencedRelation: "floriday_connections";
59388
+ referencedColumns: ["id"];
59389
+ }];
59390
+ };
57514
59391
  floriday_clock_presales_cache: {
57515
59392
  Row: {
57516
59393
  buyer_organization_id: string | null;
@@ -60784,6 +62661,30 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
60784
62661
  referencedColumns: ["id"];
60785
62662
  }];
60786
62663
  };
62664
+ job_locks: {
62665
+ Row: {
62666
+ created_at: string;
62667
+ lock_key: string;
62668
+ locked_until: string;
62669
+ owner: string | null;
62670
+ updated_at: string;
62671
+ };
62672
+ Insert: {
62673
+ created_at?: string;
62674
+ lock_key: string;
62675
+ locked_until: string;
62676
+ owner?: string | null;
62677
+ updated_at?: string;
62678
+ };
62679
+ Update: {
62680
+ created_at?: string;
62681
+ lock_key?: string;
62682
+ locked_until?: string;
62683
+ owner?: string | null;
62684
+ updated_at?: string;
62685
+ };
62686
+ Relationships: [];
62687
+ };
60787
62688
  layout_logos: {
60788
62689
  Row: {
60789
62690
  bestand_url: string;
@@ -61753,6 +63654,36 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
61753
63654
  };
61754
63655
  Relationships: [];
61755
63656
  };
63657
+ logistics_floriday_push_refusals: {
63658
+ Row: {
63659
+ action: string | null;
63660
+ created_at: string;
63661
+ id: string;
63662
+ order_ref: string;
63663
+ reason: string;
63664
+ source_module: string | null;
63665
+ source_shell: string | null;
63666
+ };
63667
+ Insert: {
63668
+ action?: string | null;
63669
+ created_at?: string;
63670
+ id?: string;
63671
+ order_ref: string;
63672
+ reason: string;
63673
+ source_module?: string | null;
63674
+ source_shell?: string | null;
63675
+ };
63676
+ Update: {
63677
+ action?: string | null;
63678
+ created_at?: string;
63679
+ id?: string;
63680
+ order_ref?: string;
63681
+ reason?: string;
63682
+ source_module?: string | null;
63683
+ source_shell?: string | null;
63684
+ };
63685
+ Relationships: [];
63686
+ };
61756
63687
  logistics_floriday_pushes: {
61757
63688
  Row: {
61758
63689
  attempts: number;
@@ -61828,6 +63759,42 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
61828
63759
  };
61829
63760
  Relationships: [];
61830
63761
  };
63762
+ logistics_floriday_status_sends: {
63763
+ Row: {
63764
+ action: string;
63765
+ created_at: string;
63766
+ detail: string | null;
63767
+ http_status: number | null;
63768
+ id: string;
63769
+ ok: boolean;
63770
+ order_ref: string;
63771
+ source_module: string | null;
63772
+ source_shell: string | null;
63773
+ };
63774
+ Insert: {
63775
+ action: string;
63776
+ created_at?: string;
63777
+ detail?: string | null;
63778
+ http_status?: number | null;
63779
+ id?: string;
63780
+ ok?: boolean;
63781
+ order_ref: string;
63782
+ source_module?: string | null;
63783
+ source_shell?: string | null;
63784
+ };
63785
+ Update: {
63786
+ action?: string;
63787
+ created_at?: string;
63788
+ detail?: string | null;
63789
+ http_status?: number | null;
63790
+ id?: string;
63791
+ ok?: boolean;
63792
+ order_ref?: string;
63793
+ source_module?: string | null;
63794
+ source_shell?: string | null;
63795
+ };
63796
+ Relationships: [];
63797
+ };
61831
63798
  logistics_formulas: {
61832
63799
  Row: {
61833
63800
  created_at: string;
@@ -61900,6 +63867,108 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
61900
63867
  };
61901
63868
  Relationships: [];
61902
63869
  };
63870
+ logistics_opening_exceptions: {
63871
+ Row: {
63872
+ closes: string | null;
63873
+ created_at: string;
63874
+ day: string;
63875
+ id: string;
63876
+ is_closed: boolean;
63877
+ note: string | null;
63878
+ opens: string | null;
63879
+ };
63880
+ Insert: {
63881
+ closes?: string | null;
63882
+ created_at?: string;
63883
+ day: string;
63884
+ id?: string;
63885
+ is_closed?: boolean;
63886
+ note?: string | null;
63887
+ opens?: string | null;
63888
+ };
63889
+ Update: {
63890
+ closes?: string | null;
63891
+ created_at?: string;
63892
+ day?: string;
63893
+ id?: string;
63894
+ is_closed?: boolean;
63895
+ note?: string | null;
63896
+ opens?: string | null;
63897
+ };
63898
+ Relationships: [];
63899
+ };
63900
+ logistics_opening_hours: {
63901
+ Row: {
63902
+ closes: string;
63903
+ created_at: string;
63904
+ id: string;
63905
+ is_active: boolean;
63906
+ note: string | null;
63907
+ opens: string;
63908
+ weekday: number;
63909
+ };
63910
+ Insert: {
63911
+ closes: string;
63912
+ created_at?: string;
63913
+ id?: string;
63914
+ is_active?: boolean;
63915
+ note?: string | null;
63916
+ opens: string;
63917
+ weekday: number;
63918
+ };
63919
+ Update: {
63920
+ closes?: string;
63921
+ created_at?: string;
63922
+ id?: string;
63923
+ is_active?: boolean;
63924
+ note?: string | null;
63925
+ opens?: string;
63926
+ weekday?: number;
63927
+ };
63928
+ Relationships: [];
63929
+ };
63930
+ logistics_pick_data_requests: {
63931
+ Row: {
63932
+ actions: import("../integrations/supabase/types").Json;
63933
+ created_at: string;
63934
+ event_id: string | null;
63935
+ finished_at: string | null;
63936
+ id: string;
63937
+ missing: import("../integrations/supabase/types").Json;
63938
+ order_ref: string;
63939
+ reason: string | null;
63940
+ result: import("../integrations/supabase/types").Json | null;
63941
+ status: string;
63942
+ unit_ref: string | null;
63943
+ };
63944
+ Insert: {
63945
+ actions?: import("../integrations/supabase/types").Json;
63946
+ created_at?: string;
63947
+ event_id?: string | null;
63948
+ finished_at?: string | null;
63949
+ id?: string;
63950
+ missing?: import("../integrations/supabase/types").Json;
63951
+ order_ref: string;
63952
+ reason?: string | null;
63953
+ result?: import("../integrations/supabase/types").Json | null;
63954
+ status?: string;
63955
+ unit_ref?: string | null;
63956
+ };
63957
+ Update: {
63958
+ actions?: import("../integrations/supabase/types").Json;
63959
+ created_at?: string;
63960
+ event_id?: string | null;
63961
+ finished_at?: string | null;
63962
+ id?: string;
63963
+ missing?: import("../integrations/supabase/types").Json;
63964
+ order_ref?: string;
63965
+ reason?: string | null;
63966
+ result?: import("../integrations/supabase/types").Json | null;
63967
+ status?: string;
63968
+ unit_ref?: string | null;
63969
+ };
63970
+ Relationships: [];
63971
+ };
61903
63972
  logistics_pickup_moments: {
61904
63973
  Row: {
61905
63974
  carrier_ref: string | null;
@@ -61946,6 +64015,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
61946
64015
  next_attempt_at: string;
61947
64016
  order_id: string;
61948
64017
  reason: string;
64018
+ reason_code: string | null;
61949
64019
  status: string;
61950
64020
  updated_at: string;
61951
64021
  };
@@ -61958,6 +64028,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
61958
64028
  next_attempt_at?: string;
61959
64029
  order_id: string;
61960
64030
  reason?: string;
64031
+ reason_code?: string | null;
61961
64032
  status?: string;
61962
64033
  updated_at?: string;
61963
64034
  };
@@ -61970,6 +64041,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
61970
64041
  next_attempt_at?: string;
61971
64042
  order_id?: string;
61972
64043
  reason?: string;
64044
+ reason_code?: string | null;
61973
64045
  status?: string;
61974
64046
  updated_at?: string;
61975
64047
  };
@@ -62356,6 +64428,69 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
62356
64428
  };
62357
64429
  Relationships: [];
62358
64430
  };
64431
+ logistics_slip_shipping_note: {
64432
+ Row: {
64433
+ attempts: number;
64434
+ batch_key: string | null;
64435
+ cart_id: string | null;
64436
+ created_at: string;
64437
+ error: string | null;
64438
+ error_code: string | null;
64439
+ fulfillment_order_id: string | null;
64440
+ id: string;
64441
+ locked_until: string | null;
64442
+ next_attempt_at: string | null;
64443
+ order_id: string | null;
64444
+ order_number: string | null;
64445
+ print_job_id: string | null;
64446
+ printer_id: string | null;
64447
+ retry_class: string | null;
64448
+ slip_job_id: string;
64449
+ status: string;
64450
+ updated_at: string;
64451
+ };
64452
+ Insert: {
64453
+ attempts?: number;
64454
+ batch_key?: string | null;
64455
+ cart_id?: string | null;
64456
+ created_at?: string;
64457
+ error?: string | null;
64458
+ error_code?: string | null;
64459
+ fulfillment_order_id?: string | null;
64460
+ id?: string;
64461
+ locked_until?: string | null;
64462
+ next_attempt_at?: string | null;
64463
+ order_id?: string | null;
64464
+ order_number?: string | null;
64465
+ print_job_id?: string | null;
64466
+ printer_id?: string | null;
64467
+ retry_class?: string | null;
64468
+ slip_job_id: string;
64469
+ status?: string;
64470
+ updated_at?: string;
64471
+ };
64472
+ Update: {
64473
+ attempts?: number;
64474
+ batch_key?: string | null;
64475
+ cart_id?: string | null;
64476
+ created_at?: string;
64477
+ error?: string | null;
64478
+ error_code?: string | null;
64479
+ fulfillment_order_id?: string | null;
64480
+ id?: string;
64481
+ locked_until?: string | null;
64482
+ next_attempt_at?: string | null;
64483
+ order_id?: string | null;
64484
+ order_number?: string | null;
64485
+ print_job_id?: string | null;
64486
+ printer_id?: string | null;
64487
+ retry_class?: string | null;
64488
+ slip_job_id?: string;
64489
+ status?: string;
64490
+ updated_at?: string;
64491
+ };
64492
+ Relationships: [];
64493
+ };
62359
64494
  logistics_staff_planning: {
62360
64495
  Row: {
62361
64496
  created_at: string;
@@ -62674,6 +64809,39 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
62674
64809
  referencedColumns: ["id"];
62675
64810
  }];
62676
64811
  };
64812
+ logistics_tick_heartbeat: {
64813
+ Row: {
64814
+ id: boolean;
64815
+ last_tick_at: string;
64816
+ };
64817
+ Insert: {
64818
+ id?: boolean;
64819
+ last_tick_at?: string;
64820
+ };
64821
+ Update: {
64822
+ id?: boolean;
64823
+ last_tick_at?: string;
64824
+ };
64825
+ Relationships: [];
64826
+ };
64827
+ logistics_time_settings: {
64828
+ Row: {
64829
+ id: boolean;
64830
+ timezone: string;
64831
+ updated_at: string;
64832
+ };
64833
+ Insert: {
64834
+ id?: boolean;
64835
+ timezone: string;
64836
+ updated_at?: string;
64837
+ };
64838
+ Update: {
64839
+ id?: boolean;
64840
+ timezone?: string;
64841
+ updated_at?: string;
64842
+ };
64843
+ Relationships: [];
64844
+ };
62677
64845
  logistics_variables: {
62678
64846
  Row: {
62679
64847
  created_at: string;
@@ -65064,6 +67232,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
65064
67232
  customer_name: string;
65065
67233
  deleted_at: string | null;
65066
67234
  delivery_date: string | null;
67235
+ floriday_order_group_key: string | null;
65067
67236
  floriday_sales_order_id: string | null;
65068
67237
  id: string;
65069
67238
  invoice_due_at: string | null;
@@ -65091,6 +67260,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
65091
67260
  customer_name?: string;
65092
67261
  deleted_at?: string | null;
65093
67262
  delivery_date?: string | null;
67263
+ floriday_order_group_key?: string | null;
65094
67264
  floriday_sales_order_id?: string | null;
65095
67265
  id?: string;
65096
67266
  invoice_due_at?: string | null;
@@ -65118,6 +67288,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
65118
67288
  customer_name?: string;
65119
67289
  deleted_at?: string | null;
65120
67290
  delivery_date?: string | null;
67291
+ floriday_order_group_key?: string | null;
65121
67292
  floriday_sales_order_id?: string | null;
65122
67293
  id?: string;
65123
67294
  invoice_due_at?: string | null;
@@ -65311,6 +67482,27 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
65311
67482
  };
65312
67483
  Relationships: [];
65313
67484
  };
67485
+ pick_buffer_event_cursor: {
67486
+ Row: {
67487
+ created_at: string;
67488
+ id: boolean;
67489
+ last_event_at: string;
67490
+ updated_at: string;
67491
+ };
67492
+ Insert: {
67493
+ created_at?: string;
67494
+ id?: boolean;
67495
+ last_event_at?: string;
67496
+ updated_at?: string;
67497
+ };
67498
+ Update: {
67499
+ created_at?: string;
67500
+ id?: boolean;
67501
+ last_event_at?: string;
67502
+ updated_at?: string;
67503
+ };
67504
+ Relationships: [];
67505
+ };
65314
67506
  pick_countries: {
65315
67507
  Row: {
65316
67508
  active: boolean;
@@ -70960,6 +73152,36 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
70960
73152
  referencedColumns: ["id"];
70961
73153
  }];
70962
73154
  };
73155
+ voorraad_buffer_state: {
73156
+ Row: {
73157
+ buffer_id: string;
73158
+ buffer_key: string | null;
73159
+ closed_at: string | null;
73160
+ created_at: string;
73161
+ detached_orders: import("../integrations/supabase/types").Json;
73162
+ reason: string | null;
73163
+ updated_at: string;
73164
+ };
73165
+ Insert: {
73166
+ buffer_id: string;
73167
+ buffer_key?: string | null;
73168
+ closed_at?: string | null;
73169
+ created_at?: string;
73170
+ detached_orders?: import("../integrations/supabase/types").Json;
73171
+ reason?: string | null;
73172
+ updated_at?: string;
73173
+ };
73174
+ Update: {
73175
+ buffer_id?: string;
73176
+ buffer_key?: string | null;
73177
+ closed_at?: string | null;
73178
+ created_at?: string;
73179
+ detached_orders?: import("../integrations/supabase/types").Json;
73180
+ reason?: string | null;
73181
+ updated_at?: string;
73182
+ };
73183
+ Relationships: [];
73184
+ };
70963
73185
  voorraad_custom_fields: {
70964
73186
  Row: {
70965
73187
  created_at: string;
@@ -71002,6 +73224,36 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
71002
73224
  };
71003
73225
  Relationships: [];
71004
73226
  };
73227
+ voorraad_logistics_event_log: {
73228
+ Row: {
73229
+ created_at: string;
73230
+ event_id: string;
73231
+ event_type: string;
73232
+ order_ref: string | null;
73233
+ processed_at: string;
73234
+ result: import("../integrations/supabase/types").Json;
73235
+ updated_at: string;
73236
+ };
73237
+ Insert: {
73238
+ created_at?: string;
73239
+ event_id: string;
73240
+ event_type: string;
73241
+ order_ref?: string | null;
73242
+ processed_at?: string;
73243
+ result?: import("../integrations/supabase/types").Json;
73244
+ updated_at?: string;
73245
+ };
73246
+ Update: {
73247
+ created_at?: string;
73248
+ event_id?: string;
73249
+ event_type?: string;
73250
+ order_ref?: string | null;
73251
+ processed_at?: string;
73252
+ result?: import("../integrations/supabase/types").Json;
73253
+ updated_at?: string;
73254
+ };
73255
+ Relationships: [];
73256
+ };
71005
73257
  voorraad_media_upload_failures: {
71006
73258
  Row: {
71007
73259
  action: string;
@@ -73827,6 +76079,17 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
73827
76079
  };
73828
76080
  Returns: boolean;
73829
76081
  };
76082
+ floriday_adopt_connection: {
76083
+ Args: {
76084
+ p_new: string;
76085
+ p_old: string;
76086
+ };
76087
+ Returns: import("../integrations/supabase/types").Json;
76088
+ };
76089
+ floriday_autoheal_connections: {
76090
+ Args: never;
76091
+ Returns: import("../integrations/supabase/types").Json;
76092
+ };
73830
76093
  floriday_capture_stock_snapshot: {
73831
76094
  Args: never;
73832
76095
  Returns: number;
@@ -73884,6 +76147,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
73884
76147
  };
73885
76148
  Returns: undefined;
73886
76149
  };
76150
+ floriday_relink_products: {
76151
+ Args: {
76152
+ p_connection_id?: string;
76153
+ };
76154
+ Returns: import("../integrations/supabase/types").Json;
76155
+ };
73887
76156
  floriday_requeue_dead_letters: {
73888
76157
  Args: {
73889
76158
  p_connection_id?: string;
@@ -74505,6 +76774,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
74505
76774
  };
74506
76775
  Returns: string;
74507
76776
  };
76777
+ logistics_active_layout_method: {
76778
+ Args: never;
76779
+ Returns: string;
76780
+ };
74508
76781
  logistics_active_pick_workdays: {
74509
76782
  Args: never;
74510
76783
  Returns: string[];
@@ -74556,6 +76829,30 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
74556
76829
  };
74557
76830
  Returns: import("../integrations/supabase/types").Json;
74558
76831
  };
76832
+ logistics_block_reason_code: {
76833
+ Args: {
76834
+ p_details?: import("../integrations/supabase/types").Json;
76835
+ p_reason: string;
76836
+ };
76837
+ Returns: string;
76838
+ };
76839
+ logistics_blocked_orders: {
76840
+ Args: never;
76841
+ Returns: {
76842
+ attempts: number;
76843
+ blocked_since: string;
76844
+ delivery_date: string;
76845
+ order_id: string;
76846
+ order_ref: string;
76847
+ queue_id: string;
76848
+ reason: string;
76849
+ reason_code: string;
76850
+ }[];
76851
+ };
76852
+ logistics_blocked_overview: {
76853
+ Args: never;
76854
+ Returns: import("../integrations/supabase/types").Json;
76855
+ };
74559
76856
  logistics_buffer_criteria: {
74560
76857
  Args: {
74561
76858
  p_settings: import("../integrations/supabase/types").Json;
@@ -74570,6 +76867,39 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
74570
76867
  };
74571
76868
  Returns: import("../integrations/supabase/types").Json;
74572
76869
  };
76870
+ logistics_buffer_detach_late_orders: {
76871
+ Args: {
76872
+ p_buffer?: string;
76873
+ };
76874
+ Returns: import("../integrations/supabase/types").Json;
76875
+ };
76876
+ logistics_buffer_frozen_order: {
76877
+ Args: {
76878
+ p_order_id: string;
76879
+ };
76880
+ Returns: boolean;
76881
+ };
76882
+ logistics_buffer_handled: {
76883
+ Args: {
76884
+ p_buffer: string;
76885
+ };
76886
+ Returns: boolean;
76887
+ };
76888
+ logistics_buffer_notify: {
76889
+ Args: {
76890
+ p_event_type: string;
76891
+ p_idempotency_key: string;
76892
+ p_order_ref: string;
76893
+ p_payload: import("../integrations/supabase/types").Json;
76894
+ };
76895
+ Returns: string;
76896
+ };
76897
+ logistics_buffer_open_key: {
76898
+ Args: {
76899
+ p_base_key: string;
76900
+ };
76901
+ Returns: string;
76902
+ };
74573
76903
  logistics_buffer_simulate: {
74574
76904
  Args: {
74575
76905
  p_orders?: import("../integrations/supabase/types").Json;
@@ -74622,6 +76952,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
74622
76952
  };
74623
76953
  Returns: string;
74624
76954
  };
76955
+ logistics_cart_checkin_at: {
76956
+ Args: {
76957
+ p_cart_id: string;
76958
+ };
76959
+ Returns: string;
76960
+ };
74625
76961
  logistics_cart_handled: {
74626
76962
  Args: {
74627
76963
  p_cart_index: number;
@@ -74655,10 +76991,53 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
74655
76991
  task_status: string;
74656
76992
  }[];
74657
76993
  };
76994
+ logistics_cart_is_full: {
76995
+ Args: {
76996
+ p_cart_id: string;
76997
+ };
76998
+ Returns: boolean;
76999
+ };
74658
77000
  logistics_cart_layout_method: {
74659
77001
  Args: never;
74660
77002
  Returns: import("../integrations/supabase/types").Json;
74661
77003
  };
77004
+ logistics_cart_order_refs: {
77005
+ Args: {
77006
+ p_cart_id: string;
77007
+ };
77008
+ Returns: string[];
77009
+ };
77010
+ logistics_cart_plan_overview: {
77011
+ Args: {
77012
+ p_days?: number;
77013
+ };
77014
+ Returns: {
77015
+ cart_total: number;
77016
+ delivery_date: string;
77017
+ order_ref: string;
77018
+ plan_ready: boolean;
77019
+ reason: string;
77020
+ released: boolean;
77021
+ }[];
77022
+ };
77023
+ logistics_cart_plan_status: {
77024
+ Args: {
77025
+ p_ref: string;
77026
+ };
77027
+ Returns: import("../integrations/supabase/types").Json;
77028
+ };
77029
+ logistics_cart_release_reason: {
77030
+ Args: {
77031
+ p_cart_id: string;
77032
+ };
77033
+ Returns: string;
77034
+ };
77035
+ logistics_cart_released: {
77036
+ Args: {
77037
+ p_cart_id: string;
77038
+ };
77039
+ Returns: boolean;
77040
+ };
74662
77041
  logistics_cart_seq: {
74663
77042
  Args: {
74664
77043
  p_order_uuid?: string;
@@ -74709,6 +77088,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
74709
77088
  unit_ref: string;
74710
77089
  }[];
74711
77090
  };
77091
+ logistics_carts_per_print: {
77092
+ Args: never;
77093
+ Returns: number;
77094
+ };
74712
77095
  logistics_check_order_allowed: {
74713
77096
  Args: {
74714
77097
  p_lines: import("../integrations/supabase/types").Json;
@@ -74812,6 +77195,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
74812
77195
  isSetofReturn: false;
74813
77196
  };
74814
77197
  };
77198
+ logistics_cleanup_orphan_print_jobs: {
77199
+ Args: never;
77200
+ Returns: import("../integrations/supabase/types").Json;
77201
+ };
74815
77202
  logistics_complete_task: {
74816
77203
  Args: {
74817
77204
  p_result?: import("../integrations/supabase/types").Json;
@@ -74874,6 +77261,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
74874
77261
  station_carts: number;
74875
77262
  }[];
74876
77263
  };
77264
+ logistics_control_complete_cart: {
77265
+ Args: {
77266
+ p_cart_id: string;
77267
+ };
77268
+ Returns: number;
77269
+ };
74877
77270
  logistics_control_scan_approve: {
74878
77271
  Args: {
74879
77272
  p_allow_reprint?: boolean;
@@ -74953,6 +77346,15 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
74953
77346
  Args: never;
74954
77347
  Returns: import("../integrations/supabase/types").Json;
74955
77348
  };
77349
+ logistics_day_windows: {
77350
+ Args: {
77351
+ p_day: string;
77352
+ };
77353
+ Returns: {
77354
+ win_end: string;
77355
+ win_start: string;
77356
+ }[];
77357
+ };
74956
77358
  logistics_delay_customer_email: {
74957
77359
  Args: {
74958
77360
  p_customer: string;
@@ -75020,6 +77422,17 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
75020
77422
  };
75021
77423
  Returns: import("../integrations/supabase/types").Json;
75022
77424
  };
77425
+ logistics_enqueue_shipping_note_with_slip: {
77426
+ Args: {
77427
+ _cart_id: string;
77428
+ _is_herprint: boolean;
77429
+ _printer_id: string;
77430
+ _queue_item_id: string;
77431
+ _session_id: string;
77432
+ _slip_job_id: string;
77433
+ };
77434
+ Returns: string;
77435
+ };
75023
77436
  logistics_enqueue_sticker_with_slip: {
75024
77437
  Args: {
75025
77438
  _cart_id: string;
@@ -75037,6 +77450,14 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
75037
77450
  };
75038
77451
  Returns: string;
75039
77452
  };
77453
+ logistics_ensure_pick_data: {
77454
+ Args: {
77455
+ p_event_id?: string;
77456
+ p_missing?: import("../integrations/supabase/types").Json;
77457
+ p_ref: string;
77458
+ };
77459
+ Returns: import("../integrations/supabase/types").Json;
77460
+ };
75040
77461
  logistics_fail_task: {
75041
77462
  Args: {
75042
77463
  p_error: string;
@@ -75158,6 +77579,38 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
75158
77579
  };
75159
77580
  Returns: string;
75160
77581
  };
77582
+ logistics_floriday_gate_status: {
77583
+ Args: never;
77584
+ Returns: import("../integrations/supabase/types").Json;
77585
+ };
77586
+ logistics_floriday_log_refusal: {
77587
+ Args: {
77588
+ _action?: string;
77589
+ _module?: string;
77590
+ _order_ref: string;
77591
+ _reason: string;
77592
+ _shell?: string;
77593
+ };
77594
+ Returns: undefined;
77595
+ };
77596
+ logistics_floriday_log_send: {
77597
+ Args: {
77598
+ _action: string;
77599
+ _detail?: string;
77600
+ _http_status?: number;
77601
+ _module?: string;
77602
+ _ok: boolean;
77603
+ _order_ref: string;
77604
+ _shell?: string;
77605
+ };
77606
+ Returns: undefined;
77607
+ };
77608
+ logistics_floriday_order_approved: {
77609
+ Args: {
77610
+ _order_ref: string;
77611
+ };
77612
+ Returns: boolean;
77613
+ };
75161
77614
  logistics_floriday_prune_pushes: {
75162
77615
  Args: {
75163
77616
  _days?: number;
@@ -75172,6 +77625,20 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
75172
77625
  };
75173
77626
  Returns: string;
75174
77627
  };
77628
+ logistics_floriday_status_updates_enabled: {
77629
+ Args: never;
77630
+ Returns: boolean;
77631
+ };
77632
+ logistics_floriday_stock_updates_enabled: {
77633
+ Args: never;
77634
+ Returns: boolean;
77635
+ };
77636
+ logistics_floriday_write_allowed: {
77637
+ Args: {
77638
+ _action: string;
77639
+ };
77640
+ Returns: boolean;
77641
+ };
75175
77642
  logistics_fulfill_barcode_requests: {
75176
77643
  Args: {
75177
77644
  p_limit?: number;
@@ -75192,6 +77659,16 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
75192
77659
  };
75193
77660
  Returns: boolean;
75194
77661
  };
77662
+ logistics_layout_method_status: {
77663
+ Args: never;
77664
+ Returns: import("../integrations/supabase/types").Json;
77665
+ };
77666
+ logistics_link_order_items: {
77667
+ Args: {
77668
+ p_order?: string;
77669
+ };
77670
+ Returns: import("../integrations/supabase/types").Json;
77671
+ };
75195
77672
  logistics_live_carriers: {
75196
77673
  Args: {
75197
77674
  p_order_ref: string;
@@ -75204,6 +77681,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
75204
77681
  };
75205
77682
  Returns: number;
75206
77683
  };
77684
+ logistics_merge_partial_carts: {
77685
+ Args: {
77686
+ p_limit?: number;
77687
+ };
77688
+ Returns: import("../integrations/supabase/types").Json;
77689
+ };
75207
77690
  logistics_next_workday_date: {
75208
77691
  Args: {
75209
77692
  p_date: string;
@@ -75218,12 +77701,22 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
75218
77701
  };
75219
77702
  Returns: string;
75220
77703
  };
77704
+ logistics_normalize_product_label: {
77705
+ Args: {
77706
+ p_label: string;
77707
+ };
77708
+ Returns: string;
77709
+ };
75221
77710
  logistics_not_past: {
75222
77711
  Args: {
75223
77712
  p_ts: string;
75224
77713
  };
75225
77714
  Returns: string;
75226
77715
  };
77716
+ logistics_opening_timezone: {
77717
+ Args: never;
77718
+ Returns: string;
77719
+ };
75227
77720
  logistics_order_cart_count: {
75228
77721
  Args: {
75229
77722
  p_order_ref: string;
@@ -75308,6 +77801,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
75308
77801
  Args: never;
75309
77802
  Returns: import("../integrations/supabase/types").Json;
75310
77803
  };
77804
+ logistics_pick_partial_mode: {
77805
+ Args: never;
77806
+ Returns: string;
77807
+ };
75311
77808
  logistics_pick_start_estimate: {
75312
77809
  Args: {
75313
77810
  p_order: import("../integrations/supabase/types").Json;
@@ -75406,6 +77903,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
75406
77903
  Args: never;
75407
77904
  Returns: number;
75408
77905
  };
77906
+ logistics_plan_retry: {
77907
+ Args: {
77908
+ p_order_ids: string[];
77909
+ };
77910
+ Returns: number;
77911
+ };
75409
77912
  logistics_plan_setting: {
75410
77913
  Args: {
75411
77914
  p_default: number;
@@ -75413,6 +77916,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
75413
77916
  };
75414
77917
  Returns: number;
75415
77918
  };
77919
+ logistics_prepare_pick_documents: {
77920
+ Args: {
77921
+ p_limit?: number;
77922
+ };
77923
+ Returns: import("../integrations/supabase/types").Json;
77924
+ };
75416
77925
  logistics_prune_buffer_member_queue: {
75417
77926
  Args: never;
75418
77927
  Returns: number;
@@ -75453,12 +77962,30 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
75453
77962
  Args: never;
75454
77963
  Returns: import("../integrations/supabase/types").Json;
75455
77964
  };
77965
+ logistics_refresh_pick_queue_status: {
77966
+ Args: {
77967
+ p_ref: string;
77968
+ };
77969
+ Returns: number;
77970
+ };
75456
77971
  logistics_refresh_pickup_moments: {
75457
77972
  Args: {
75458
77973
  p_weeks?: number;
75459
77974
  };
75460
77975
  Returns: import("../integrations/supabase/types").Json;
75461
77976
  };
77977
+ logistics_replan_all: {
77978
+ Args: {
77979
+ p_reason?: string;
77980
+ };
77981
+ Returns: import("../integrations/supabase/types").Json;
77982
+ };
77983
+ logistics_replan_all_force: {
77984
+ Args: {
77985
+ p_reason?: string;
77986
+ };
77987
+ Returns: import("../integrations/supabase/types").Json;
77988
+ };
75462
77989
  logistics_report_delay: {
75463
77990
  Args: {
75464
77991
  p_expected_date?: string;
@@ -75512,6 +78039,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
75512
78039
  };
75513
78040
  Returns: import("../integrations/supabase/types").Json;
75514
78041
  };
78042
+ logistics_resolve_product_id: {
78043
+ Args: {
78044
+ p_label: string;
78045
+ };
78046
+ Returns: string;
78047
+ };
75515
78048
  logistics_resolve_settings: {
75516
78049
  Args: {
75517
78050
  p_config_id: string;
@@ -75597,6 +78130,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
75597
78130
  };
75598
78131
  Returns: string;
75599
78132
  };
78133
+ logistics_shipping_note_follows_slip: {
78134
+ Args: never;
78135
+ Returns: boolean;
78136
+ };
75600
78137
  logistics_shipping_note_from_barcode: {
75601
78138
  Args: {
75602
78139
  p_allow_reprint?: boolean;
@@ -75605,10 +78142,76 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
75605
78142
  };
75606
78143
  Returns: import("../integrations/supabase/types").Json;
75607
78144
  };
78145
+ logistics_shipping_note_job_for_slip: {
78146
+ Args: {
78147
+ _slip_job_id: string;
78148
+ };
78149
+ Returns: string;
78150
+ };
78151
+ logistics_slip_note_claim: {
78152
+ Args: {
78153
+ _lease_seconds?: number;
78154
+ _limit?: number;
78155
+ };
78156
+ Returns: {
78157
+ attempts: number;
78158
+ batch_key: string | null;
78159
+ cart_id: string | null;
78160
+ created_at: string;
78161
+ error: string | null;
78162
+ error_code: string | null;
78163
+ fulfillment_order_id: string | null;
78164
+ id: string;
78165
+ locked_until: string | null;
78166
+ next_attempt_at: string | null;
78167
+ order_id: string | null;
78168
+ order_number: string | null;
78169
+ print_job_id: string | null;
78170
+ printer_id: string | null;
78171
+ retry_class: string | null;
78172
+ slip_job_id: string;
78173
+ status: string;
78174
+ updated_at: string;
78175
+ }[];
78176
+ SetofOptions: {
78177
+ from: "*";
78178
+ to: "logistics_slip_shipping_note";
78179
+ isOneToOne: false;
78180
+ isSetofReturn: true;
78181
+ };
78182
+ };
78183
+ logistics_slip_note_finish: {
78184
+ Args: {
78185
+ _error?: string;
78186
+ _error_code?: string;
78187
+ _fulfillment_order_id?: string;
78188
+ _id: string;
78189
+ _ok: boolean;
78190
+ _print_job_id?: string;
78191
+ _status?: string;
78192
+ };
78193
+ Returns: undefined;
78194
+ };
78195
+ logistics_slip_note_keep_waiting: {
78196
+ Args: {
78197
+ _class?: string;
78198
+ _id: string;
78199
+ _reason: string;
78200
+ };
78201
+ Returns: undefined;
78202
+ };
75608
78203
  logistics_sticker_follows_slip: {
75609
78204
  Args: never;
75610
78205
  Returns: boolean;
75611
78206
  };
78207
+ logistics_subtract_working_minutes: {
78208
+ Args: {
78209
+ p_deadline: string;
78210
+ p_max_workdays?: number;
78211
+ p_minutes: number;
78212
+ };
78213
+ Returns: import("../integrations/supabase/types").Json;
78214
+ };
75612
78215
  logistics_supersede_stale_tasks: {
75613
78216
  Args: {
75614
78217
  p_keep: string[];
@@ -75641,6 +78244,16 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
75641
78244
  };
75642
78245
  Returns: number;
75643
78246
  };
78247
+ logistics_tick_ping: {
78248
+ Args: never;
78249
+ Returns: string;
78250
+ };
78251
+ logistics_timezone_options: {
78252
+ Args: never;
78253
+ Returns: {
78254
+ name: string;
78255
+ }[];
78256
+ };
75644
78257
  logistics_upsert_task: {
75645
78258
  Args: {
75646
78259
  p_buffer_ref: string;
@@ -75660,6 +78273,16 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
75660
78273
  };
75661
78274
  Returns: string;
75662
78275
  };
78276
+ logistics_valid_timezone: {
78277
+ Args: {
78278
+ _tz: string;
78279
+ };
78280
+ Returns: boolean;
78281
+ };
78282
+ logistics_working_hours_status: {
78283
+ Args: never;
78284
+ Returns: import("../integrations/supabase/types").Json;
78285
+ };
75663
78286
  logistics_write_buffer_layer_positions: {
75664
78287
  Args: {
75665
78288
  p_buffer_id: string;
@@ -75784,6 +78407,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
75784
78407
  };
75785
78408
  Returns: import("../integrations/supabase/types").Json;
75786
78409
  };
78410
+ order_heeft_bevestigde_karren: {
78411
+ Args: {
78412
+ p_order_id: string;
78413
+ };
78414
+ Returns: boolean;
78415
+ };
75787
78416
  order_number_prefix: {
75788
78417
  Args: {
75789
78418
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -75819,6 +78448,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
75819
78448
  online: boolean;
75820
78449
  }[];
75821
78450
  };
78451
+ pick_apply_buffer_events: {
78452
+ Args: never;
78453
+ Returns: import("../integrations/supabase/types").Json;
78454
+ };
75822
78455
  pick_available_pick_days: {
75823
78456
  Args: {
75824
78457
  _max_days?: number;
@@ -75828,6 +78461,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
75828
78461
  pick_day: string;
75829
78462
  }[];
75830
78463
  };
78464
+ pick_buffer_order_ids: {
78465
+ Args: {
78466
+ _order_id: string;
78467
+ };
78468
+ Returns: string[];
78469
+ };
75831
78470
  pick_cart_breakdown: {
75832
78471
  Args: {
75833
78472
  _order_id: string;
@@ -75887,6 +78526,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
75887
78526
  pick_claim_next_document: {
75888
78527
  Args: {
75889
78528
  _country_code: string;
78529
+ _pick_day?: string;
75890
78530
  _screen_id: string;
75891
78531
  _session_id: string;
75892
78532
  _station_id: string;
@@ -76175,6 +78815,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
76175
78815
  omschrijving: string;
76176
78816
  }[];
76177
78817
  };
78818
+ pick_queue_cart_plan: {
78819
+ Args: {
78820
+ _queue_item_id: string;
78821
+ };
78822
+ Returns: import("../integrations/supabase/types").Json;
78823
+ };
76178
78824
  pick_reference_data_status: {
76179
78825
  Args: never;
76180
78826
  Returns: import("../integrations/supabase/types").Json;
@@ -76189,6 +78835,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
76189
78835
  };
76190
78836
  Returns: undefined;
76191
78837
  };
78838
+ pick_report_missing_cart_plan: {
78839
+ Args: never;
78840
+ Returns: import("../integrations/supabase/types").Json;
78841
+ };
76192
78842
  pick_reprint_cart: {
76193
78843
  Args: {
76194
78844
  _cart_id: string;
@@ -76729,6 +79379,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
76729
79379
  };
76730
79380
  Returns: boolean;
76731
79381
  };
79382
+ release_job_lock: {
79383
+ Args: {
79384
+ _key: string;
79385
+ };
79386
+ Returns: undefined;
79387
+ };
76732
79388
  release_local_pdf_job: {
76733
79389
  Args: {
76734
79390
  _job_id: string;
@@ -76918,6 +79574,16 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
76918
79574
  };
76919
79575
  Returns: import("../integrations/supabase/types").Json;
76920
79576
  };
79577
+ scan_log_code: {
79578
+ Args: {
79579
+ p_code: string;
79580
+ p_latency_ms?: number;
79581
+ p_message?: string;
79582
+ p_result: string;
79583
+ p_scanner_key?: string;
79584
+ };
79585
+ Returns: string;
79586
+ };
76921
79587
  scan_open_pakbonnen: {
76922
79588
  Args: {
76923
79589
  p_dagen?: number;
@@ -77062,6 +79728,13 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
77062
79728
  };
77063
79729
  Returns: number;
77064
79730
  };
79731
+ schedule_floriday_catalog_prices_sync: {
79732
+ Args: {
79733
+ p_apikey: string;
79734
+ p_url: string;
79735
+ };
79736
+ Returns: number;
79737
+ };
77065
79738
  schedule_floriday_clock_presales_sync: {
77066
79739
  Args: {
77067
79740
  p_apikey: string;
@@ -77362,6 +80035,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
77362
80035
  };
77363
80036
  Returns: undefined;
77364
80037
  };
80038
+ sync_floriday_prices_into_price_groups: {
80039
+ Args: never;
80040
+ Returns: number;
80041
+ };
77365
80042
  sync_layer_stock: {
77366
80043
  Args: {
77367
80044
  p_product_id: string;
@@ -77407,6 +80084,14 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
77407
80084
  row_count: number;
77408
80085
  }[];
77409
80086
  };
80087
+ try_acquire_job_lock: {
80088
+ Args: {
80089
+ _key: string;
80090
+ _owner?: string;
80091
+ _seconds?: number;
80092
+ };
80093
+ Returns: boolean;
80094
+ };
77410
80095
  try_debtor_lock: {
77411
80096
  Args: {
77412
80097
  _group_key: string;