@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
@@ -2165,6 +2165,8 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
2165
2165
  created_at: string;
2166
2166
  currency: string;
2167
2167
  distribute_over: string | null;
2168
+ external_id: string | null;
2169
+ external_synced_at: string | null;
2168
2170
  group_type: string;
2169
2171
  handling_fee: number | null;
2170
2172
  id: string;
@@ -2177,6 +2179,7 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
2177
2179
  rounding: string;
2178
2180
  rounding_step: number;
2179
2181
  sort_order: number;
2182
+ source: string;
2180
2183
  unit: string;
2181
2184
  updated_at: string;
2182
2185
  };
@@ -2187,6 +2190,8 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
2187
2190
  created_at?: string;
2188
2191
  currency?: string;
2189
2192
  distribute_over?: string | null;
2193
+ external_id?: string | null;
2194
+ external_synced_at?: string | null;
2190
2195
  group_type?: string;
2191
2196
  handling_fee?: number | null;
2192
2197
  id?: string;
@@ -2199,6 +2204,7 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
2199
2204
  rounding?: string;
2200
2205
  rounding_step?: number;
2201
2206
  sort_order?: number;
2207
+ source?: string;
2202
2208
  unit?: string;
2203
2209
  updated_at?: string;
2204
2210
  };
@@ -2209,6 +2215,8 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
2209
2215
  created_at?: string;
2210
2216
  currency?: string;
2211
2217
  distribute_over?: string | null;
2218
+ external_id?: string | null;
2219
+ external_synced_at?: string | null;
2212
2220
  group_type?: string;
2213
2221
  handling_fee?: number | null;
2214
2222
  id?: string;
@@ -2221,6 +2229,7 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
2221
2229
  rounding?: string;
2222
2230
  rounding_step?: number;
2223
2231
  sort_order?: number;
2232
+ source?: string;
2224
2233
  unit?: string;
2225
2234
  updated_at?: string;
2226
2235
  };
@@ -5811,6 +5820,84 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
5811
5820
  referencedColumns: ["id"];
5812
5821
  }];
5813
5822
  };
5823
+ floriday_catalog_prices_cache: {
5824
+ Row: {
5825
+ connection_id: string;
5826
+ created_at: string;
5827
+ currency: string;
5828
+ id: string;
5829
+ is_deleted: boolean;
5830
+ price: number | null;
5831
+ price_group_id: string | null;
5832
+ price_group_name: string | null;
5833
+ price_type: string;
5834
+ raw: import("../integrations/supabase/types").Json | null;
5835
+ sales_unit: string | null;
5836
+ sequence_number: number;
5837
+ supplier_article_code: string | null;
5838
+ supply_line_id: string;
5839
+ synced_at: string;
5840
+ trade_item_id: string | null;
5841
+ updated_at: string;
5842
+ valid_from: string | null;
5843
+ valid_to: string | null;
5844
+ week: number | null;
5845
+ year: number | null;
5846
+ };
5847
+ Insert: {
5848
+ connection_id: string;
5849
+ created_at?: string;
5850
+ currency?: string;
5851
+ id?: string;
5852
+ is_deleted?: boolean;
5853
+ price?: number | null;
5854
+ price_group_id?: string | null;
5855
+ price_group_name?: string | null;
5856
+ price_type?: string;
5857
+ raw?: import("../integrations/supabase/types").Json | null;
5858
+ sales_unit?: string | null;
5859
+ sequence_number?: number;
5860
+ supplier_article_code?: string | null;
5861
+ supply_line_id: string;
5862
+ synced_at?: string;
5863
+ trade_item_id?: string | null;
5864
+ updated_at?: string;
5865
+ valid_from?: string | null;
5866
+ valid_to?: string | null;
5867
+ week?: number | null;
5868
+ year?: number | null;
5869
+ };
5870
+ Update: {
5871
+ connection_id?: string;
5872
+ created_at?: string;
5873
+ currency?: string;
5874
+ id?: string;
5875
+ is_deleted?: boolean;
5876
+ price?: number | null;
5877
+ price_group_id?: string | null;
5878
+ price_group_name?: string | null;
5879
+ price_type?: string;
5880
+ raw?: import("../integrations/supabase/types").Json | null;
5881
+ sales_unit?: string | null;
5882
+ sequence_number?: number;
5883
+ supplier_article_code?: string | null;
5884
+ supply_line_id?: string;
5885
+ synced_at?: string;
5886
+ trade_item_id?: string | null;
5887
+ updated_at?: string;
5888
+ valid_from?: string | null;
5889
+ valid_to?: string | null;
5890
+ week?: number | null;
5891
+ year?: number | null;
5892
+ };
5893
+ Relationships: [{
5894
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
5895
+ columns: ["connection_id"];
5896
+ isOneToOne: false;
5897
+ referencedRelation: "floriday_connections";
5898
+ referencedColumns: ["id"];
5899
+ }];
5900
+ };
5814
5901
  floriday_clock_presales_cache: {
5815
5902
  Row: {
5816
5903
  buyer_organization_id: string | null;
@@ -9084,6 +9171,30 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
9084
9171
  referencedColumns: ["id"];
9085
9172
  }];
9086
9173
  };
9174
+ job_locks: {
9175
+ Row: {
9176
+ created_at: string;
9177
+ lock_key: string;
9178
+ locked_until: string;
9179
+ owner: string | null;
9180
+ updated_at: string;
9181
+ };
9182
+ Insert: {
9183
+ created_at?: string;
9184
+ lock_key: string;
9185
+ locked_until: string;
9186
+ owner?: string | null;
9187
+ updated_at?: string;
9188
+ };
9189
+ Update: {
9190
+ created_at?: string;
9191
+ lock_key?: string;
9192
+ locked_until?: string;
9193
+ owner?: string | null;
9194
+ updated_at?: string;
9195
+ };
9196
+ Relationships: [];
9197
+ };
9087
9198
  layout_logos: {
9088
9199
  Row: {
9089
9200
  bestand_url: string;
@@ -10053,6 +10164,36 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
10053
10164
  };
10054
10165
  Relationships: [];
10055
10166
  };
10167
+ logistics_floriday_push_refusals: {
10168
+ Row: {
10169
+ action: string | null;
10170
+ created_at: string;
10171
+ id: string;
10172
+ order_ref: string;
10173
+ reason: string;
10174
+ source_module: string | null;
10175
+ source_shell: string | null;
10176
+ };
10177
+ Insert: {
10178
+ action?: string | null;
10179
+ created_at?: string;
10180
+ id?: string;
10181
+ order_ref: string;
10182
+ reason: string;
10183
+ source_module?: string | null;
10184
+ source_shell?: string | null;
10185
+ };
10186
+ Update: {
10187
+ action?: string | null;
10188
+ created_at?: string;
10189
+ id?: string;
10190
+ order_ref?: string;
10191
+ reason?: string;
10192
+ source_module?: string | null;
10193
+ source_shell?: string | null;
10194
+ };
10195
+ Relationships: [];
10196
+ };
10056
10197
  logistics_floriday_pushes: {
10057
10198
  Row: {
10058
10199
  attempts: number;
@@ -10128,6 +10269,42 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
10128
10269
  };
10129
10270
  Relationships: [];
10130
10271
  };
10272
+ logistics_floriday_status_sends: {
10273
+ Row: {
10274
+ action: string;
10275
+ created_at: string;
10276
+ detail: string | null;
10277
+ http_status: number | null;
10278
+ id: string;
10279
+ ok: boolean;
10280
+ order_ref: string;
10281
+ source_module: string | null;
10282
+ source_shell: string | null;
10283
+ };
10284
+ Insert: {
10285
+ action: string;
10286
+ created_at?: string;
10287
+ detail?: string | null;
10288
+ http_status?: number | null;
10289
+ id?: string;
10290
+ ok?: boolean;
10291
+ order_ref: string;
10292
+ source_module?: string | null;
10293
+ source_shell?: string | null;
10294
+ };
10295
+ Update: {
10296
+ action?: string;
10297
+ created_at?: string;
10298
+ detail?: string | null;
10299
+ http_status?: number | null;
10300
+ id?: string;
10301
+ ok?: boolean;
10302
+ order_ref?: string;
10303
+ source_module?: string | null;
10304
+ source_shell?: string | null;
10305
+ };
10306
+ Relationships: [];
10307
+ };
10131
10308
  logistics_formulas: {
10132
10309
  Row: {
10133
10310
  created_at: string;
@@ -10200,6 +10377,108 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
10200
10377
  };
10201
10378
  Relationships: [];
10202
10379
  };
10380
+ logistics_opening_exceptions: {
10381
+ Row: {
10382
+ closes: string | null;
10383
+ created_at: string;
10384
+ day: string;
10385
+ id: string;
10386
+ is_closed: boolean;
10387
+ note: string | null;
10388
+ opens: string | null;
10389
+ };
10390
+ Insert: {
10391
+ closes?: string | null;
10392
+ created_at?: string;
10393
+ day: string;
10394
+ id?: string;
10395
+ is_closed?: boolean;
10396
+ note?: string | null;
10397
+ opens?: string | null;
10398
+ };
10399
+ Update: {
10400
+ closes?: string | null;
10401
+ created_at?: string;
10402
+ day?: string;
10403
+ id?: string;
10404
+ is_closed?: boolean;
10405
+ note?: string | null;
10406
+ opens?: string | null;
10407
+ };
10408
+ Relationships: [];
10409
+ };
10410
+ logistics_opening_hours: {
10411
+ Row: {
10412
+ closes: string;
10413
+ created_at: string;
10414
+ id: string;
10415
+ is_active: boolean;
10416
+ note: string | null;
10417
+ opens: string;
10418
+ weekday: number;
10419
+ };
10420
+ Insert: {
10421
+ closes: string;
10422
+ created_at?: string;
10423
+ id?: string;
10424
+ is_active?: boolean;
10425
+ note?: string | null;
10426
+ opens: string;
10427
+ weekday: number;
10428
+ };
10429
+ Update: {
10430
+ closes?: string;
10431
+ created_at?: string;
10432
+ id?: string;
10433
+ is_active?: boolean;
10434
+ note?: string | null;
10435
+ opens?: string;
10436
+ weekday?: number;
10437
+ };
10438
+ Relationships: [];
10439
+ };
10440
+ logistics_pick_data_requests: {
10441
+ Row: {
10442
+ actions: import("../integrations/supabase/types").Json;
10443
+ created_at: string;
10444
+ event_id: string | null;
10445
+ finished_at: string | null;
10446
+ id: string;
10447
+ missing: import("../integrations/supabase/types").Json;
10448
+ order_ref: string;
10449
+ reason: string | null;
10450
+ result: import("../integrations/supabase/types").Json | null;
10451
+ status: string;
10452
+ unit_ref: string | null;
10453
+ };
10454
+ Insert: {
10455
+ actions?: import("../integrations/supabase/types").Json;
10456
+ created_at?: string;
10457
+ event_id?: string | null;
10458
+ finished_at?: string | null;
10459
+ id?: string;
10460
+ missing?: import("../integrations/supabase/types").Json;
10461
+ order_ref: string;
10462
+ reason?: string | null;
10463
+ result?: import("../integrations/supabase/types").Json | null;
10464
+ status?: string;
10465
+ unit_ref?: string | null;
10466
+ };
10467
+ Update: {
10468
+ actions?: import("../integrations/supabase/types").Json;
10469
+ created_at?: string;
10470
+ event_id?: string | null;
10471
+ finished_at?: string | null;
10472
+ id?: string;
10473
+ missing?: import("../integrations/supabase/types").Json;
10474
+ order_ref?: string;
10475
+ reason?: string | null;
10476
+ result?: import("../integrations/supabase/types").Json | null;
10477
+ status?: string;
10478
+ unit_ref?: string | null;
10479
+ };
10480
+ Relationships: [];
10481
+ };
10203
10482
  logistics_pickup_moments: {
10204
10483
  Row: {
10205
10484
  carrier_ref: string | null;
@@ -10246,6 +10525,7 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
10246
10525
  next_attempt_at: string;
10247
10526
  order_id: string;
10248
10527
  reason: string;
10528
+ reason_code: string | null;
10249
10529
  status: string;
10250
10530
  updated_at: string;
10251
10531
  };
@@ -10258,6 +10538,7 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
10258
10538
  next_attempt_at?: string;
10259
10539
  order_id: string;
10260
10540
  reason?: string;
10541
+ reason_code?: string | null;
10261
10542
  status?: string;
10262
10543
  updated_at?: string;
10263
10544
  };
@@ -10270,6 +10551,7 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
10270
10551
  next_attempt_at?: string;
10271
10552
  order_id?: string;
10272
10553
  reason?: string;
10554
+ reason_code?: string | null;
10273
10555
  status?: string;
10274
10556
  updated_at?: string;
10275
10557
  };
@@ -10656,6 +10938,69 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
10656
10938
  };
10657
10939
  Relationships: [];
10658
10940
  };
10941
+ logistics_slip_shipping_note: {
10942
+ Row: {
10943
+ attempts: number;
10944
+ batch_key: string | null;
10945
+ cart_id: string | null;
10946
+ created_at: string;
10947
+ error: string | null;
10948
+ error_code: string | null;
10949
+ fulfillment_order_id: string | null;
10950
+ id: string;
10951
+ locked_until: string | null;
10952
+ next_attempt_at: string | null;
10953
+ order_id: string | null;
10954
+ order_number: string | null;
10955
+ print_job_id: string | null;
10956
+ printer_id: string | null;
10957
+ retry_class: string | null;
10958
+ slip_job_id: string;
10959
+ status: string;
10960
+ updated_at: string;
10961
+ };
10962
+ Insert: {
10963
+ attempts?: number;
10964
+ batch_key?: string | null;
10965
+ cart_id?: string | null;
10966
+ created_at?: string;
10967
+ error?: string | null;
10968
+ error_code?: string | null;
10969
+ fulfillment_order_id?: string | null;
10970
+ id?: string;
10971
+ locked_until?: string | null;
10972
+ next_attempt_at?: string | null;
10973
+ order_id?: string | null;
10974
+ order_number?: string | null;
10975
+ print_job_id?: string | null;
10976
+ printer_id?: string | null;
10977
+ retry_class?: string | null;
10978
+ slip_job_id: string;
10979
+ status?: string;
10980
+ updated_at?: string;
10981
+ };
10982
+ Update: {
10983
+ attempts?: number;
10984
+ batch_key?: string | null;
10985
+ cart_id?: string | null;
10986
+ created_at?: string;
10987
+ error?: string | null;
10988
+ error_code?: string | null;
10989
+ fulfillment_order_id?: string | null;
10990
+ id?: string;
10991
+ locked_until?: string | null;
10992
+ next_attempt_at?: string | null;
10993
+ order_id?: string | null;
10994
+ order_number?: string | null;
10995
+ print_job_id?: string | null;
10996
+ printer_id?: string | null;
10997
+ retry_class?: string | null;
10998
+ slip_job_id?: string;
10999
+ status?: string;
11000
+ updated_at?: string;
11001
+ };
11002
+ Relationships: [];
11003
+ };
10659
11004
  logistics_staff_planning: {
10660
11005
  Row: {
10661
11006
  created_at: string;
@@ -10974,6 +11319,39 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
10974
11319
  referencedColumns: ["id"];
10975
11320
  }];
10976
11321
  };
11322
+ logistics_tick_heartbeat: {
11323
+ Row: {
11324
+ id: boolean;
11325
+ last_tick_at: string;
11326
+ };
11327
+ Insert: {
11328
+ id?: boolean;
11329
+ last_tick_at?: string;
11330
+ };
11331
+ Update: {
11332
+ id?: boolean;
11333
+ last_tick_at?: string;
11334
+ };
11335
+ Relationships: [];
11336
+ };
11337
+ logistics_time_settings: {
11338
+ Row: {
11339
+ id: boolean;
11340
+ timezone: string;
11341
+ updated_at: string;
11342
+ };
11343
+ Insert: {
11344
+ id?: boolean;
11345
+ timezone: string;
11346
+ updated_at?: string;
11347
+ };
11348
+ Update: {
11349
+ id?: boolean;
11350
+ timezone?: string;
11351
+ updated_at?: string;
11352
+ };
11353
+ Relationships: [];
11354
+ };
10977
11355
  logistics_variables: {
10978
11356
  Row: {
10979
11357
  created_at: string;
@@ -13364,6 +13742,7 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
13364
13742
  customer_name: string;
13365
13743
  deleted_at: string | null;
13366
13744
  delivery_date: string | null;
13745
+ floriday_order_group_key: string | null;
13367
13746
  floriday_sales_order_id: string | null;
13368
13747
  id: string;
13369
13748
  invoice_due_at: string | null;
@@ -13391,6 +13770,7 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
13391
13770
  customer_name?: string;
13392
13771
  deleted_at?: string | null;
13393
13772
  delivery_date?: string | null;
13773
+ floriday_order_group_key?: string | null;
13394
13774
  floriday_sales_order_id?: string | null;
13395
13775
  id?: string;
13396
13776
  invoice_due_at?: string | null;
@@ -13418,6 +13798,7 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
13418
13798
  customer_name?: string;
13419
13799
  deleted_at?: string | null;
13420
13800
  delivery_date?: string | null;
13801
+ floriday_order_group_key?: string | null;
13421
13802
  floriday_sales_order_id?: string | null;
13422
13803
  id?: string;
13423
13804
  invoice_due_at?: string | null;
@@ -13611,6 +13992,27 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
13611
13992
  };
13612
13993
  Relationships: [];
13613
13994
  };
13995
+ pick_buffer_event_cursor: {
13996
+ Row: {
13997
+ created_at: string;
13998
+ id: boolean;
13999
+ last_event_at: string;
14000
+ updated_at: string;
14001
+ };
14002
+ Insert: {
14003
+ created_at?: string;
14004
+ id?: boolean;
14005
+ last_event_at?: string;
14006
+ updated_at?: string;
14007
+ };
14008
+ Update: {
14009
+ created_at?: string;
14010
+ id?: boolean;
14011
+ last_event_at?: string;
14012
+ updated_at?: string;
14013
+ };
14014
+ Relationships: [];
14015
+ };
13614
14016
  pick_countries: {
13615
14017
  Row: {
13616
14018
  active: boolean;
@@ -19260,6 +19662,36 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
19260
19662
  referencedColumns: ["id"];
19261
19663
  }];
19262
19664
  };
19665
+ voorraad_buffer_state: {
19666
+ Row: {
19667
+ buffer_id: string;
19668
+ buffer_key: string | null;
19669
+ closed_at: string | null;
19670
+ created_at: string;
19671
+ detached_orders: import("../integrations/supabase/types").Json;
19672
+ reason: string | null;
19673
+ updated_at: string;
19674
+ };
19675
+ Insert: {
19676
+ buffer_id: string;
19677
+ buffer_key?: string | null;
19678
+ closed_at?: string | null;
19679
+ created_at?: string;
19680
+ detached_orders?: import("../integrations/supabase/types").Json;
19681
+ reason?: string | null;
19682
+ updated_at?: string;
19683
+ };
19684
+ Update: {
19685
+ buffer_id?: string;
19686
+ buffer_key?: string | null;
19687
+ closed_at?: string | null;
19688
+ created_at?: string;
19689
+ detached_orders?: import("../integrations/supabase/types").Json;
19690
+ reason?: string | null;
19691
+ updated_at?: string;
19692
+ };
19693
+ Relationships: [];
19694
+ };
19263
19695
  voorraad_custom_fields: {
19264
19696
  Row: {
19265
19697
  created_at: string;
@@ -19302,6 +19734,36 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
19302
19734
  };
19303
19735
  Relationships: [];
19304
19736
  };
19737
+ voorraad_logistics_event_log: {
19738
+ Row: {
19739
+ created_at: string;
19740
+ event_id: string;
19741
+ event_type: string;
19742
+ order_ref: string | null;
19743
+ processed_at: string;
19744
+ result: import("../integrations/supabase/types").Json;
19745
+ updated_at: string;
19746
+ };
19747
+ Insert: {
19748
+ created_at?: string;
19749
+ event_id: string;
19750
+ event_type: string;
19751
+ order_ref?: string | null;
19752
+ processed_at?: string;
19753
+ result?: import("../integrations/supabase/types").Json;
19754
+ updated_at?: string;
19755
+ };
19756
+ Update: {
19757
+ created_at?: string;
19758
+ event_id?: string;
19759
+ event_type?: string;
19760
+ order_ref?: string | null;
19761
+ processed_at?: string;
19762
+ result?: import("../integrations/supabase/types").Json;
19763
+ updated_at?: string;
19764
+ };
19765
+ Relationships: [];
19766
+ };
19305
19767
  voorraad_media_upload_failures: {
19306
19768
  Row: {
19307
19769
  action: string;
@@ -22127,6 +22589,17 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
22127
22589
  };
22128
22590
  Returns: boolean;
22129
22591
  };
22592
+ floriday_adopt_connection: {
22593
+ Args: {
22594
+ p_new: string;
22595
+ p_old: string;
22596
+ };
22597
+ Returns: import("../integrations/supabase/types").Json;
22598
+ };
22599
+ floriday_autoheal_connections: {
22600
+ Args: never;
22601
+ Returns: import("../integrations/supabase/types").Json;
22602
+ };
22130
22603
  floriday_capture_stock_snapshot: {
22131
22604
  Args: never;
22132
22605
  Returns: number;
@@ -22184,6 +22657,12 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
22184
22657
  };
22185
22658
  Returns: undefined;
22186
22659
  };
22660
+ floriday_relink_products: {
22661
+ Args: {
22662
+ p_connection_id?: string;
22663
+ };
22664
+ Returns: import("../integrations/supabase/types").Json;
22665
+ };
22187
22666
  floriday_requeue_dead_letters: {
22188
22667
  Args: {
22189
22668
  p_connection_id?: string;
@@ -22805,6 +23284,10 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
22805
23284
  };
22806
23285
  Returns: string;
22807
23286
  };
23287
+ logistics_active_layout_method: {
23288
+ Args: never;
23289
+ Returns: string;
23290
+ };
22808
23291
  logistics_active_pick_workdays: {
22809
23292
  Args: never;
22810
23293
  Returns: string[];
@@ -22856,6 +23339,30 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
22856
23339
  };
22857
23340
  Returns: import("../integrations/supabase/types").Json;
22858
23341
  };
23342
+ logistics_block_reason_code: {
23343
+ Args: {
23344
+ p_details?: import("../integrations/supabase/types").Json;
23345
+ p_reason: string;
23346
+ };
23347
+ Returns: string;
23348
+ };
23349
+ logistics_blocked_orders: {
23350
+ Args: never;
23351
+ Returns: {
23352
+ attempts: number;
23353
+ blocked_since: string;
23354
+ delivery_date: string;
23355
+ order_id: string;
23356
+ order_ref: string;
23357
+ queue_id: string;
23358
+ reason: string;
23359
+ reason_code: string;
23360
+ }[];
23361
+ };
23362
+ logistics_blocked_overview: {
23363
+ Args: never;
23364
+ Returns: import("../integrations/supabase/types").Json;
23365
+ };
22859
23366
  logistics_buffer_criteria: {
22860
23367
  Args: {
22861
23368
  p_settings: import("../integrations/supabase/types").Json;
@@ -22870,6 +23377,39 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
22870
23377
  };
22871
23378
  Returns: import("../integrations/supabase/types").Json;
22872
23379
  };
23380
+ logistics_buffer_detach_late_orders: {
23381
+ Args: {
23382
+ p_buffer?: string;
23383
+ };
23384
+ Returns: import("../integrations/supabase/types").Json;
23385
+ };
23386
+ logistics_buffer_frozen_order: {
23387
+ Args: {
23388
+ p_order_id: string;
23389
+ };
23390
+ Returns: boolean;
23391
+ };
23392
+ logistics_buffer_handled: {
23393
+ Args: {
23394
+ p_buffer: string;
23395
+ };
23396
+ Returns: boolean;
23397
+ };
23398
+ logistics_buffer_notify: {
23399
+ Args: {
23400
+ p_event_type: string;
23401
+ p_idempotency_key: string;
23402
+ p_order_ref: string;
23403
+ p_payload: import("../integrations/supabase/types").Json;
23404
+ };
23405
+ Returns: string;
23406
+ };
23407
+ logistics_buffer_open_key: {
23408
+ Args: {
23409
+ p_base_key: string;
23410
+ };
23411
+ Returns: string;
23412
+ };
22873
23413
  logistics_buffer_simulate: {
22874
23414
  Args: {
22875
23415
  p_orders?: import("../integrations/supabase/types").Json;
@@ -22922,6 +23462,12 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
22922
23462
  };
22923
23463
  Returns: string;
22924
23464
  };
23465
+ logistics_cart_checkin_at: {
23466
+ Args: {
23467
+ p_cart_id: string;
23468
+ };
23469
+ Returns: string;
23470
+ };
22925
23471
  logistics_cart_handled: {
22926
23472
  Args: {
22927
23473
  p_cart_index: number;
@@ -22955,10 +23501,53 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
22955
23501
  task_status: string;
22956
23502
  }[];
22957
23503
  };
23504
+ logistics_cart_is_full: {
23505
+ Args: {
23506
+ p_cart_id: string;
23507
+ };
23508
+ Returns: boolean;
23509
+ };
22958
23510
  logistics_cart_layout_method: {
22959
23511
  Args: never;
22960
23512
  Returns: import("../integrations/supabase/types").Json;
22961
23513
  };
23514
+ logistics_cart_order_refs: {
23515
+ Args: {
23516
+ p_cart_id: string;
23517
+ };
23518
+ Returns: string[];
23519
+ };
23520
+ logistics_cart_plan_overview: {
23521
+ Args: {
23522
+ p_days?: number;
23523
+ };
23524
+ Returns: {
23525
+ cart_total: number;
23526
+ delivery_date: string;
23527
+ order_ref: string;
23528
+ plan_ready: boolean;
23529
+ reason: string;
23530
+ released: boolean;
23531
+ }[];
23532
+ };
23533
+ logistics_cart_plan_status: {
23534
+ Args: {
23535
+ p_ref: string;
23536
+ };
23537
+ Returns: import("../integrations/supabase/types").Json;
23538
+ };
23539
+ logistics_cart_release_reason: {
23540
+ Args: {
23541
+ p_cart_id: string;
23542
+ };
23543
+ Returns: string;
23544
+ };
23545
+ logistics_cart_released: {
23546
+ Args: {
23547
+ p_cart_id: string;
23548
+ };
23549
+ Returns: boolean;
23550
+ };
22962
23551
  logistics_cart_seq: {
22963
23552
  Args: {
22964
23553
  p_order_uuid?: string;
@@ -23009,6 +23598,10 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
23009
23598
  unit_ref: string;
23010
23599
  }[];
23011
23600
  };
23601
+ logistics_carts_per_print: {
23602
+ Args: never;
23603
+ Returns: number;
23604
+ };
23012
23605
  logistics_check_order_allowed: {
23013
23606
  Args: {
23014
23607
  p_lines: import("../integrations/supabase/types").Json;
@@ -23112,6 +23705,10 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
23112
23705
  isSetofReturn: false;
23113
23706
  };
23114
23707
  };
23708
+ logistics_cleanup_orphan_print_jobs: {
23709
+ Args: never;
23710
+ Returns: import("../integrations/supabase/types").Json;
23711
+ };
23115
23712
  logistics_complete_task: {
23116
23713
  Args: {
23117
23714
  p_result?: import("../integrations/supabase/types").Json;
@@ -23174,6 +23771,12 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
23174
23771
  station_carts: number;
23175
23772
  }[];
23176
23773
  };
23774
+ logistics_control_complete_cart: {
23775
+ Args: {
23776
+ p_cart_id: string;
23777
+ };
23778
+ Returns: number;
23779
+ };
23177
23780
  logistics_control_scan_approve: {
23178
23781
  Args: {
23179
23782
  p_allow_reprint?: boolean;
@@ -23253,6 +23856,15 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
23253
23856
  Args: never;
23254
23857
  Returns: import("../integrations/supabase/types").Json;
23255
23858
  };
23859
+ logistics_day_windows: {
23860
+ Args: {
23861
+ p_day: string;
23862
+ };
23863
+ Returns: {
23864
+ win_end: string;
23865
+ win_start: string;
23866
+ }[];
23867
+ };
23256
23868
  logistics_delay_customer_email: {
23257
23869
  Args: {
23258
23870
  p_customer: string;
@@ -23320,6 +23932,17 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
23320
23932
  };
23321
23933
  Returns: import("../integrations/supabase/types").Json;
23322
23934
  };
23935
+ logistics_enqueue_shipping_note_with_slip: {
23936
+ Args: {
23937
+ _cart_id: string;
23938
+ _is_herprint: boolean;
23939
+ _printer_id: string;
23940
+ _queue_item_id: string;
23941
+ _session_id: string;
23942
+ _slip_job_id: string;
23943
+ };
23944
+ Returns: string;
23945
+ };
23323
23946
  logistics_enqueue_sticker_with_slip: {
23324
23947
  Args: {
23325
23948
  _cart_id: string;
@@ -23337,6 +23960,14 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
23337
23960
  };
23338
23961
  Returns: string;
23339
23962
  };
23963
+ logistics_ensure_pick_data: {
23964
+ Args: {
23965
+ p_event_id?: string;
23966
+ p_missing?: import("../integrations/supabase/types").Json;
23967
+ p_ref: string;
23968
+ };
23969
+ Returns: import("../integrations/supabase/types").Json;
23970
+ };
23340
23971
  logistics_fail_task: {
23341
23972
  Args: {
23342
23973
  p_error: string;
@@ -23458,6 +24089,38 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
23458
24089
  };
23459
24090
  Returns: string;
23460
24091
  };
24092
+ logistics_floriday_gate_status: {
24093
+ Args: never;
24094
+ Returns: import("../integrations/supabase/types").Json;
24095
+ };
24096
+ logistics_floriday_log_refusal: {
24097
+ Args: {
24098
+ _action?: string;
24099
+ _module?: string;
24100
+ _order_ref: string;
24101
+ _reason: string;
24102
+ _shell?: string;
24103
+ };
24104
+ Returns: undefined;
24105
+ };
24106
+ logistics_floriday_log_send: {
24107
+ Args: {
24108
+ _action: string;
24109
+ _detail?: string;
24110
+ _http_status?: number;
24111
+ _module?: string;
24112
+ _ok: boolean;
24113
+ _order_ref: string;
24114
+ _shell?: string;
24115
+ };
24116
+ Returns: undefined;
24117
+ };
24118
+ logistics_floriday_order_approved: {
24119
+ Args: {
24120
+ _order_ref: string;
24121
+ };
24122
+ Returns: boolean;
24123
+ };
23461
24124
  logistics_floriday_prune_pushes: {
23462
24125
  Args: {
23463
24126
  _days?: number;
@@ -23472,6 +24135,20 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
23472
24135
  };
23473
24136
  Returns: string;
23474
24137
  };
24138
+ logistics_floriday_status_updates_enabled: {
24139
+ Args: never;
24140
+ Returns: boolean;
24141
+ };
24142
+ logistics_floriday_stock_updates_enabled: {
24143
+ Args: never;
24144
+ Returns: boolean;
24145
+ };
24146
+ logistics_floriday_write_allowed: {
24147
+ Args: {
24148
+ _action: string;
24149
+ };
24150
+ Returns: boolean;
24151
+ };
23475
24152
  logistics_fulfill_barcode_requests: {
23476
24153
  Args: {
23477
24154
  p_limit?: number;
@@ -23492,6 +24169,16 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
23492
24169
  };
23493
24170
  Returns: boolean;
23494
24171
  };
24172
+ logistics_layout_method_status: {
24173
+ Args: never;
24174
+ Returns: import("../integrations/supabase/types").Json;
24175
+ };
24176
+ logistics_link_order_items: {
24177
+ Args: {
24178
+ p_order?: string;
24179
+ };
24180
+ Returns: import("../integrations/supabase/types").Json;
24181
+ };
23495
24182
  logistics_live_carriers: {
23496
24183
  Args: {
23497
24184
  p_order_ref: string;
@@ -23504,6 +24191,12 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
23504
24191
  };
23505
24192
  Returns: number;
23506
24193
  };
24194
+ logistics_merge_partial_carts: {
24195
+ Args: {
24196
+ p_limit?: number;
24197
+ };
24198
+ Returns: import("../integrations/supabase/types").Json;
24199
+ };
23507
24200
  logistics_next_workday_date: {
23508
24201
  Args: {
23509
24202
  p_date: string;
@@ -23518,12 +24211,22 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
23518
24211
  };
23519
24212
  Returns: string;
23520
24213
  };
24214
+ logistics_normalize_product_label: {
24215
+ Args: {
24216
+ p_label: string;
24217
+ };
24218
+ Returns: string;
24219
+ };
23521
24220
  logistics_not_past: {
23522
24221
  Args: {
23523
24222
  p_ts: string;
23524
24223
  };
23525
24224
  Returns: string;
23526
24225
  };
24226
+ logistics_opening_timezone: {
24227
+ Args: never;
24228
+ Returns: string;
24229
+ };
23527
24230
  logistics_order_cart_count: {
23528
24231
  Args: {
23529
24232
  p_order_ref: string;
@@ -23608,6 +24311,10 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
23608
24311
  Args: never;
23609
24312
  Returns: import("../integrations/supabase/types").Json;
23610
24313
  };
24314
+ logistics_pick_partial_mode: {
24315
+ Args: never;
24316
+ Returns: string;
24317
+ };
23611
24318
  logistics_pick_start_estimate: {
23612
24319
  Args: {
23613
24320
  p_order: import("../integrations/supabase/types").Json;
@@ -23706,6 +24413,12 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
23706
24413
  Args: never;
23707
24414
  Returns: number;
23708
24415
  };
24416
+ logistics_plan_retry: {
24417
+ Args: {
24418
+ p_order_ids: string[];
24419
+ };
24420
+ Returns: number;
24421
+ };
23709
24422
  logistics_plan_setting: {
23710
24423
  Args: {
23711
24424
  p_default: number;
@@ -23713,6 +24426,12 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
23713
24426
  };
23714
24427
  Returns: number;
23715
24428
  };
24429
+ logistics_prepare_pick_documents: {
24430
+ Args: {
24431
+ p_limit?: number;
24432
+ };
24433
+ Returns: import("../integrations/supabase/types").Json;
24434
+ };
23716
24435
  logistics_prune_buffer_member_queue: {
23717
24436
  Args: never;
23718
24437
  Returns: number;
@@ -23753,12 +24472,30 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
23753
24472
  Args: never;
23754
24473
  Returns: import("../integrations/supabase/types").Json;
23755
24474
  };
24475
+ logistics_refresh_pick_queue_status: {
24476
+ Args: {
24477
+ p_ref: string;
24478
+ };
24479
+ Returns: number;
24480
+ };
23756
24481
  logistics_refresh_pickup_moments: {
23757
24482
  Args: {
23758
24483
  p_weeks?: number;
23759
24484
  };
23760
24485
  Returns: import("../integrations/supabase/types").Json;
23761
24486
  };
24487
+ logistics_replan_all: {
24488
+ Args: {
24489
+ p_reason?: string;
24490
+ };
24491
+ Returns: import("../integrations/supabase/types").Json;
24492
+ };
24493
+ logistics_replan_all_force: {
24494
+ Args: {
24495
+ p_reason?: string;
24496
+ };
24497
+ Returns: import("../integrations/supabase/types").Json;
24498
+ };
23762
24499
  logistics_report_delay: {
23763
24500
  Args: {
23764
24501
  p_expected_date?: string;
@@ -23812,6 +24549,12 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
23812
24549
  };
23813
24550
  Returns: import("../integrations/supabase/types").Json;
23814
24551
  };
24552
+ logistics_resolve_product_id: {
24553
+ Args: {
24554
+ p_label: string;
24555
+ };
24556
+ Returns: string;
24557
+ };
23815
24558
  logistics_resolve_settings: {
23816
24559
  Args: {
23817
24560
  p_config_id: string;
@@ -23897,6 +24640,10 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
23897
24640
  };
23898
24641
  Returns: string;
23899
24642
  };
24643
+ logistics_shipping_note_follows_slip: {
24644
+ Args: never;
24645
+ Returns: boolean;
24646
+ };
23900
24647
  logistics_shipping_note_from_barcode: {
23901
24648
  Args: {
23902
24649
  p_allow_reprint?: boolean;
@@ -23905,10 +24652,76 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
23905
24652
  };
23906
24653
  Returns: import("../integrations/supabase/types").Json;
23907
24654
  };
24655
+ logistics_shipping_note_job_for_slip: {
24656
+ Args: {
24657
+ _slip_job_id: string;
24658
+ };
24659
+ Returns: string;
24660
+ };
24661
+ logistics_slip_note_claim: {
24662
+ Args: {
24663
+ _lease_seconds?: number;
24664
+ _limit?: number;
24665
+ };
24666
+ Returns: {
24667
+ attempts: number;
24668
+ batch_key: string | null;
24669
+ cart_id: string | null;
24670
+ created_at: string;
24671
+ error: string | null;
24672
+ error_code: string | null;
24673
+ fulfillment_order_id: string | null;
24674
+ id: string;
24675
+ locked_until: string | null;
24676
+ next_attempt_at: string | null;
24677
+ order_id: string | null;
24678
+ order_number: string | null;
24679
+ print_job_id: string | null;
24680
+ printer_id: string | null;
24681
+ retry_class: string | null;
24682
+ slip_job_id: string;
24683
+ status: string;
24684
+ updated_at: string;
24685
+ }[];
24686
+ SetofOptions: {
24687
+ from: "*";
24688
+ to: "logistics_slip_shipping_note";
24689
+ isOneToOne: false;
24690
+ isSetofReturn: true;
24691
+ };
24692
+ };
24693
+ logistics_slip_note_finish: {
24694
+ Args: {
24695
+ _error?: string;
24696
+ _error_code?: string;
24697
+ _fulfillment_order_id?: string;
24698
+ _id: string;
24699
+ _ok: boolean;
24700
+ _print_job_id?: string;
24701
+ _status?: string;
24702
+ };
24703
+ Returns: undefined;
24704
+ };
24705
+ logistics_slip_note_keep_waiting: {
24706
+ Args: {
24707
+ _class?: string;
24708
+ _id: string;
24709
+ _reason: string;
24710
+ };
24711
+ Returns: undefined;
24712
+ };
23908
24713
  logistics_sticker_follows_slip: {
23909
24714
  Args: never;
23910
24715
  Returns: boolean;
23911
24716
  };
24717
+ logistics_subtract_working_minutes: {
24718
+ Args: {
24719
+ p_deadline: string;
24720
+ p_max_workdays?: number;
24721
+ p_minutes: number;
24722
+ };
24723
+ Returns: import("../integrations/supabase/types").Json;
24724
+ };
23912
24725
  logistics_supersede_stale_tasks: {
23913
24726
  Args: {
23914
24727
  p_keep: string[];
@@ -23941,6 +24754,16 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
23941
24754
  };
23942
24755
  Returns: number;
23943
24756
  };
24757
+ logistics_tick_ping: {
24758
+ Args: never;
24759
+ Returns: string;
24760
+ };
24761
+ logistics_timezone_options: {
24762
+ Args: never;
24763
+ Returns: {
24764
+ name: string;
24765
+ }[];
24766
+ };
23944
24767
  logistics_upsert_task: {
23945
24768
  Args: {
23946
24769
  p_buffer_ref: string;
@@ -23960,6 +24783,16 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
23960
24783
  };
23961
24784
  Returns: string;
23962
24785
  };
24786
+ logistics_valid_timezone: {
24787
+ Args: {
24788
+ _tz: string;
24789
+ };
24790
+ Returns: boolean;
24791
+ };
24792
+ logistics_working_hours_status: {
24793
+ Args: never;
24794
+ Returns: import("../integrations/supabase/types").Json;
24795
+ };
23963
24796
  logistics_write_buffer_layer_positions: {
23964
24797
  Args: {
23965
24798
  p_buffer_id: string;
@@ -24084,6 +24917,12 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
24084
24917
  };
24085
24918
  Returns: import("../integrations/supabase/types").Json;
24086
24919
  };
24920
+ order_heeft_bevestigde_karren: {
24921
+ Args: {
24922
+ p_order_id: string;
24923
+ };
24924
+ Returns: boolean;
24925
+ };
24087
24926
  order_number_prefix: {
24088
24927
  Args: {
24089
24928
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -24119,6 +24958,10 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
24119
24958
  online: boolean;
24120
24959
  }[];
24121
24960
  };
24961
+ pick_apply_buffer_events: {
24962
+ Args: never;
24963
+ Returns: import("../integrations/supabase/types").Json;
24964
+ };
24122
24965
  pick_available_pick_days: {
24123
24966
  Args: {
24124
24967
  _max_days?: number;
@@ -24128,6 +24971,12 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
24128
24971
  pick_day: string;
24129
24972
  }[];
24130
24973
  };
24974
+ pick_buffer_order_ids: {
24975
+ Args: {
24976
+ _order_id: string;
24977
+ };
24978
+ Returns: string[];
24979
+ };
24131
24980
  pick_cart_breakdown: {
24132
24981
  Args: {
24133
24982
  _order_id: string;
@@ -24187,6 +25036,7 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
24187
25036
  pick_claim_next_document: {
24188
25037
  Args: {
24189
25038
  _country_code: string;
25039
+ _pick_day?: string;
24190
25040
  _screen_id: string;
24191
25041
  _session_id: string;
24192
25042
  _station_id: string;
@@ -24475,6 +25325,12 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
24475
25325
  omschrijving: string;
24476
25326
  }[];
24477
25327
  };
25328
+ pick_queue_cart_plan: {
25329
+ Args: {
25330
+ _queue_item_id: string;
25331
+ };
25332
+ Returns: import("../integrations/supabase/types").Json;
25333
+ };
24478
25334
  pick_reference_data_status: {
24479
25335
  Args: never;
24480
25336
  Returns: import("../integrations/supabase/types").Json;
@@ -24489,6 +25345,10 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
24489
25345
  };
24490
25346
  Returns: undefined;
24491
25347
  };
25348
+ pick_report_missing_cart_plan: {
25349
+ Args: never;
25350
+ Returns: import("../integrations/supabase/types").Json;
25351
+ };
24492
25352
  pick_reprint_cart: {
24493
25353
  Args: {
24494
25354
  _cart_id: string;
@@ -25029,6 +25889,12 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
25029
25889
  };
25030
25890
  Returns: boolean;
25031
25891
  };
25892
+ release_job_lock: {
25893
+ Args: {
25894
+ _key: string;
25895
+ };
25896
+ Returns: undefined;
25897
+ };
25032
25898
  release_local_pdf_job: {
25033
25899
  Args: {
25034
25900
  _job_id: string;
@@ -25218,6 +26084,16 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
25218
26084
  };
25219
26085
  Returns: import("../integrations/supabase/types").Json;
25220
26086
  };
26087
+ scan_log_code: {
26088
+ Args: {
26089
+ p_code: string;
26090
+ p_latency_ms?: number;
26091
+ p_message?: string;
26092
+ p_result: string;
26093
+ p_scanner_key?: string;
26094
+ };
26095
+ Returns: string;
26096
+ };
25221
26097
  scan_open_pakbonnen: {
25222
26098
  Args: {
25223
26099
  p_dagen?: number;
@@ -25362,6 +26238,13 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
25362
26238
  };
25363
26239
  Returns: number;
25364
26240
  };
26241
+ schedule_floriday_catalog_prices_sync: {
26242
+ Args: {
26243
+ p_apikey: string;
26244
+ p_url: string;
26245
+ };
26246
+ Returns: number;
26247
+ };
25365
26248
  schedule_floriday_clock_presales_sync: {
25366
26249
  Args: {
25367
26250
  p_apikey: string;
@@ -25662,6 +26545,10 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
25662
26545
  };
25663
26546
  Returns: undefined;
25664
26547
  };
26548
+ sync_floriday_prices_into_price_groups: {
26549
+ Args: never;
26550
+ Returns: number;
26551
+ };
25665
26552
  sync_layer_stock: {
25666
26553
  Args: {
25667
26554
  p_product_id: string;
@@ -25707,6 +26594,14 @@ export declare const getModuleHealth: import("@tanstack/start-client-core").Opti
25707
26594
  row_count: number;
25708
26595
  }[];
25709
26596
  };
26597
+ try_acquire_job_lock: {
26598
+ Args: {
26599
+ _key: string;
26600
+ _owner?: string;
26601
+ _seconds?: number;
26602
+ };
26603
+ Returns: boolean;
26604
+ };
25710
26605
  try_debtor_lock: {
25711
26606
  Args: {
25712
26607
  _group_key: string;
@@ -28012,6 +28907,8 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
28012
28907
  created_at: string;
28013
28908
  currency: string;
28014
28909
  distribute_over: string | null;
28910
+ external_id: string | null;
28911
+ external_synced_at: string | null;
28015
28912
  group_type: string;
28016
28913
  handling_fee: number | null;
28017
28914
  id: string;
@@ -28024,6 +28921,7 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
28024
28921
  rounding: string;
28025
28922
  rounding_step: number;
28026
28923
  sort_order: number;
28924
+ source: string;
28027
28925
  unit: string;
28028
28926
  updated_at: string;
28029
28927
  };
@@ -28034,6 +28932,8 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
28034
28932
  created_at?: string;
28035
28933
  currency?: string;
28036
28934
  distribute_over?: string | null;
28935
+ external_id?: string | null;
28936
+ external_synced_at?: string | null;
28037
28937
  group_type?: string;
28038
28938
  handling_fee?: number | null;
28039
28939
  id?: string;
@@ -28046,6 +28946,7 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
28046
28946
  rounding?: string;
28047
28947
  rounding_step?: number;
28048
28948
  sort_order?: number;
28949
+ source?: string;
28049
28950
  unit?: string;
28050
28951
  updated_at?: string;
28051
28952
  };
@@ -28056,6 +28957,8 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
28056
28957
  created_at?: string;
28057
28958
  currency?: string;
28058
28959
  distribute_over?: string | null;
28960
+ external_id?: string | null;
28961
+ external_synced_at?: string | null;
28059
28962
  group_type?: string;
28060
28963
  handling_fee?: number | null;
28061
28964
  id?: string;
@@ -28068,6 +28971,7 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
28068
28971
  rounding?: string;
28069
28972
  rounding_step?: number;
28070
28973
  sort_order?: number;
28974
+ source?: string;
28071
28975
  unit?: string;
28072
28976
  updated_at?: string;
28073
28977
  };
@@ -31658,6 +32562,84 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
31658
32562
  referencedColumns: ["id"];
31659
32563
  }];
31660
32564
  };
32565
+ floriday_catalog_prices_cache: {
32566
+ Row: {
32567
+ connection_id: string;
32568
+ created_at: string;
32569
+ currency: string;
32570
+ id: string;
32571
+ is_deleted: boolean;
32572
+ price: number | null;
32573
+ price_group_id: string | null;
32574
+ price_group_name: string | null;
32575
+ price_type: string;
32576
+ raw: import("../integrations/supabase/types").Json | null;
32577
+ sales_unit: string | null;
32578
+ sequence_number: number;
32579
+ supplier_article_code: string | null;
32580
+ supply_line_id: string;
32581
+ synced_at: string;
32582
+ trade_item_id: string | null;
32583
+ updated_at: string;
32584
+ valid_from: string | null;
32585
+ valid_to: string | null;
32586
+ week: number | null;
32587
+ year: number | null;
32588
+ };
32589
+ Insert: {
32590
+ connection_id: string;
32591
+ created_at?: string;
32592
+ currency?: string;
32593
+ id?: string;
32594
+ is_deleted?: boolean;
32595
+ price?: number | null;
32596
+ price_group_id?: string | null;
32597
+ price_group_name?: string | null;
32598
+ price_type?: string;
32599
+ raw?: import("../integrations/supabase/types").Json | null;
32600
+ sales_unit?: string | null;
32601
+ sequence_number?: number;
32602
+ supplier_article_code?: string | null;
32603
+ supply_line_id: string;
32604
+ synced_at?: string;
32605
+ trade_item_id?: string | null;
32606
+ updated_at?: string;
32607
+ valid_from?: string | null;
32608
+ valid_to?: string | null;
32609
+ week?: number | null;
32610
+ year?: number | null;
32611
+ };
32612
+ Update: {
32613
+ connection_id?: string;
32614
+ created_at?: string;
32615
+ currency?: string;
32616
+ id?: string;
32617
+ is_deleted?: boolean;
32618
+ price?: number | null;
32619
+ price_group_id?: string | null;
32620
+ price_group_name?: string | null;
32621
+ price_type?: string;
32622
+ raw?: import("../integrations/supabase/types").Json | null;
32623
+ sales_unit?: string | null;
32624
+ sequence_number?: number;
32625
+ supplier_article_code?: string | null;
32626
+ supply_line_id?: string;
32627
+ synced_at?: string;
32628
+ trade_item_id?: string | null;
32629
+ updated_at?: string;
32630
+ valid_from?: string | null;
32631
+ valid_to?: string | null;
32632
+ week?: number | null;
32633
+ year?: number | null;
32634
+ };
32635
+ Relationships: [{
32636
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
32637
+ columns: ["connection_id"];
32638
+ isOneToOne: false;
32639
+ referencedRelation: "floriday_connections";
32640
+ referencedColumns: ["id"];
32641
+ }];
32642
+ };
31661
32643
  floriday_clock_presales_cache: {
31662
32644
  Row: {
31663
32645
  buyer_organization_id: string | null;
@@ -34931,6 +35913,30 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
34931
35913
  referencedColumns: ["id"];
34932
35914
  }];
34933
35915
  };
35916
+ job_locks: {
35917
+ Row: {
35918
+ created_at: string;
35919
+ lock_key: string;
35920
+ locked_until: string;
35921
+ owner: string | null;
35922
+ updated_at: string;
35923
+ };
35924
+ Insert: {
35925
+ created_at?: string;
35926
+ lock_key: string;
35927
+ locked_until: string;
35928
+ owner?: string | null;
35929
+ updated_at?: string;
35930
+ };
35931
+ Update: {
35932
+ created_at?: string;
35933
+ lock_key?: string;
35934
+ locked_until?: string;
35935
+ owner?: string | null;
35936
+ updated_at?: string;
35937
+ };
35938
+ Relationships: [];
35939
+ };
34934
35940
  layout_logos: {
34935
35941
  Row: {
34936
35942
  bestand_url: string;
@@ -35900,6 +36906,36 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
35900
36906
  };
35901
36907
  Relationships: [];
35902
36908
  };
36909
+ logistics_floriday_push_refusals: {
36910
+ Row: {
36911
+ action: string | null;
36912
+ created_at: string;
36913
+ id: string;
36914
+ order_ref: string;
36915
+ reason: string;
36916
+ source_module: string | null;
36917
+ source_shell: string | null;
36918
+ };
36919
+ Insert: {
36920
+ action?: string | null;
36921
+ created_at?: string;
36922
+ id?: string;
36923
+ order_ref: string;
36924
+ reason: string;
36925
+ source_module?: string | null;
36926
+ source_shell?: string | null;
36927
+ };
36928
+ Update: {
36929
+ action?: string | null;
36930
+ created_at?: string;
36931
+ id?: string;
36932
+ order_ref?: string;
36933
+ reason?: string;
36934
+ source_module?: string | null;
36935
+ source_shell?: string | null;
36936
+ };
36937
+ Relationships: [];
36938
+ };
35903
36939
  logistics_floriday_pushes: {
35904
36940
  Row: {
35905
36941
  attempts: number;
@@ -35975,6 +37011,42 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
35975
37011
  };
35976
37012
  Relationships: [];
35977
37013
  };
37014
+ logistics_floriday_status_sends: {
37015
+ Row: {
37016
+ action: string;
37017
+ created_at: string;
37018
+ detail: string | null;
37019
+ http_status: number | null;
37020
+ id: string;
37021
+ ok: boolean;
37022
+ order_ref: string;
37023
+ source_module: string | null;
37024
+ source_shell: string | null;
37025
+ };
37026
+ Insert: {
37027
+ action: string;
37028
+ created_at?: string;
37029
+ detail?: string | null;
37030
+ http_status?: number | null;
37031
+ id?: string;
37032
+ ok?: boolean;
37033
+ order_ref: string;
37034
+ source_module?: string | null;
37035
+ source_shell?: string | null;
37036
+ };
37037
+ Update: {
37038
+ action?: string;
37039
+ created_at?: string;
37040
+ detail?: string | null;
37041
+ http_status?: number | null;
37042
+ id?: string;
37043
+ ok?: boolean;
37044
+ order_ref?: string;
37045
+ source_module?: string | null;
37046
+ source_shell?: string | null;
37047
+ };
37048
+ Relationships: [];
37049
+ };
35978
37050
  logistics_formulas: {
35979
37051
  Row: {
35980
37052
  created_at: string;
@@ -36047,6 +37119,108 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
36047
37119
  };
36048
37120
  Relationships: [];
36049
37121
  };
37122
+ logistics_opening_exceptions: {
37123
+ Row: {
37124
+ closes: string | null;
37125
+ created_at: string;
37126
+ day: string;
37127
+ id: string;
37128
+ is_closed: boolean;
37129
+ note: string | null;
37130
+ opens: string | null;
37131
+ };
37132
+ Insert: {
37133
+ closes?: string | null;
37134
+ created_at?: string;
37135
+ day: string;
37136
+ id?: string;
37137
+ is_closed?: boolean;
37138
+ note?: string | null;
37139
+ opens?: string | null;
37140
+ };
37141
+ Update: {
37142
+ closes?: string | null;
37143
+ created_at?: string;
37144
+ day?: string;
37145
+ id?: string;
37146
+ is_closed?: boolean;
37147
+ note?: string | null;
37148
+ opens?: string | null;
37149
+ };
37150
+ Relationships: [];
37151
+ };
37152
+ logistics_opening_hours: {
37153
+ Row: {
37154
+ closes: string;
37155
+ created_at: string;
37156
+ id: string;
37157
+ is_active: boolean;
37158
+ note: string | null;
37159
+ opens: string;
37160
+ weekday: number;
37161
+ };
37162
+ Insert: {
37163
+ closes: string;
37164
+ created_at?: string;
37165
+ id?: string;
37166
+ is_active?: boolean;
37167
+ note?: string | null;
37168
+ opens: string;
37169
+ weekday: number;
37170
+ };
37171
+ Update: {
37172
+ closes?: string;
37173
+ created_at?: string;
37174
+ id?: string;
37175
+ is_active?: boolean;
37176
+ note?: string | null;
37177
+ opens?: string;
37178
+ weekday?: number;
37179
+ };
37180
+ Relationships: [];
37181
+ };
37182
+ logistics_pick_data_requests: {
37183
+ Row: {
37184
+ actions: import("../integrations/supabase/types").Json;
37185
+ created_at: string;
37186
+ event_id: string | null;
37187
+ finished_at: string | null;
37188
+ id: string;
37189
+ missing: import("../integrations/supabase/types").Json;
37190
+ order_ref: string;
37191
+ reason: string | null;
37192
+ result: import("../integrations/supabase/types").Json | null;
37193
+ status: string;
37194
+ unit_ref: string | null;
37195
+ };
37196
+ Insert: {
37197
+ actions?: import("../integrations/supabase/types").Json;
37198
+ created_at?: string;
37199
+ event_id?: string | null;
37200
+ finished_at?: string | null;
37201
+ id?: string;
37202
+ missing?: import("../integrations/supabase/types").Json;
37203
+ order_ref: string;
37204
+ reason?: string | null;
37205
+ result?: import("../integrations/supabase/types").Json | null;
37206
+ status?: string;
37207
+ unit_ref?: string | null;
37208
+ };
37209
+ Update: {
37210
+ actions?: import("../integrations/supabase/types").Json;
37211
+ created_at?: string;
37212
+ event_id?: string | null;
37213
+ finished_at?: string | null;
37214
+ id?: string;
37215
+ missing?: import("../integrations/supabase/types").Json;
37216
+ order_ref?: string;
37217
+ reason?: string | null;
37218
+ result?: import("../integrations/supabase/types").Json | null;
37219
+ status?: string;
37220
+ unit_ref?: string | null;
37221
+ };
37222
+ Relationships: [];
37223
+ };
36050
37224
  logistics_pickup_moments: {
36051
37225
  Row: {
36052
37226
  carrier_ref: string | null;
@@ -36093,6 +37267,7 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
36093
37267
  next_attempt_at: string;
36094
37268
  order_id: string;
36095
37269
  reason: string;
37270
+ reason_code: string | null;
36096
37271
  status: string;
36097
37272
  updated_at: string;
36098
37273
  };
@@ -36105,6 +37280,7 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
36105
37280
  next_attempt_at?: string;
36106
37281
  order_id: string;
36107
37282
  reason?: string;
37283
+ reason_code?: string | null;
36108
37284
  status?: string;
36109
37285
  updated_at?: string;
36110
37286
  };
@@ -36117,6 +37293,7 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
36117
37293
  next_attempt_at?: string;
36118
37294
  order_id?: string;
36119
37295
  reason?: string;
37296
+ reason_code?: string | null;
36120
37297
  status?: string;
36121
37298
  updated_at?: string;
36122
37299
  };
@@ -36503,6 +37680,69 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
36503
37680
  };
36504
37681
  Relationships: [];
36505
37682
  };
37683
+ logistics_slip_shipping_note: {
37684
+ Row: {
37685
+ attempts: number;
37686
+ batch_key: string | null;
37687
+ cart_id: string | null;
37688
+ created_at: string;
37689
+ error: string | null;
37690
+ error_code: string | null;
37691
+ fulfillment_order_id: string | null;
37692
+ id: string;
37693
+ locked_until: string | null;
37694
+ next_attempt_at: string | null;
37695
+ order_id: string | null;
37696
+ order_number: string | null;
37697
+ print_job_id: string | null;
37698
+ printer_id: string | null;
37699
+ retry_class: string | null;
37700
+ slip_job_id: string;
37701
+ status: string;
37702
+ updated_at: string;
37703
+ };
37704
+ Insert: {
37705
+ attempts?: number;
37706
+ batch_key?: string | null;
37707
+ cart_id?: string | null;
37708
+ created_at?: string;
37709
+ error?: string | null;
37710
+ error_code?: string | null;
37711
+ fulfillment_order_id?: string | null;
37712
+ id?: string;
37713
+ locked_until?: string | null;
37714
+ next_attempt_at?: string | null;
37715
+ order_id?: string | null;
37716
+ order_number?: string | null;
37717
+ print_job_id?: string | null;
37718
+ printer_id?: string | null;
37719
+ retry_class?: string | null;
37720
+ slip_job_id: string;
37721
+ status?: string;
37722
+ updated_at?: string;
37723
+ };
37724
+ Update: {
37725
+ attempts?: number;
37726
+ batch_key?: string | null;
37727
+ cart_id?: string | null;
37728
+ created_at?: string;
37729
+ error?: string | null;
37730
+ error_code?: string | null;
37731
+ fulfillment_order_id?: string | null;
37732
+ id?: string;
37733
+ locked_until?: string | null;
37734
+ next_attempt_at?: string | null;
37735
+ order_id?: string | null;
37736
+ order_number?: string | null;
37737
+ print_job_id?: string | null;
37738
+ printer_id?: string | null;
37739
+ retry_class?: string | null;
37740
+ slip_job_id?: string;
37741
+ status?: string;
37742
+ updated_at?: string;
37743
+ };
37744
+ Relationships: [];
37745
+ };
36506
37746
  logistics_staff_planning: {
36507
37747
  Row: {
36508
37748
  created_at: string;
@@ -36821,6 +38061,39 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
36821
38061
  referencedColumns: ["id"];
36822
38062
  }];
36823
38063
  };
38064
+ logistics_tick_heartbeat: {
38065
+ Row: {
38066
+ id: boolean;
38067
+ last_tick_at: string;
38068
+ };
38069
+ Insert: {
38070
+ id?: boolean;
38071
+ last_tick_at?: string;
38072
+ };
38073
+ Update: {
38074
+ id?: boolean;
38075
+ last_tick_at?: string;
38076
+ };
38077
+ Relationships: [];
38078
+ };
38079
+ logistics_time_settings: {
38080
+ Row: {
38081
+ id: boolean;
38082
+ timezone: string;
38083
+ updated_at: string;
38084
+ };
38085
+ Insert: {
38086
+ id?: boolean;
38087
+ timezone: string;
38088
+ updated_at?: string;
38089
+ };
38090
+ Update: {
38091
+ id?: boolean;
38092
+ timezone?: string;
38093
+ updated_at?: string;
38094
+ };
38095
+ Relationships: [];
38096
+ };
36824
38097
  logistics_variables: {
36825
38098
  Row: {
36826
38099
  created_at: string;
@@ -39211,6 +40484,7 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
39211
40484
  customer_name: string;
39212
40485
  deleted_at: string | null;
39213
40486
  delivery_date: string | null;
40487
+ floriday_order_group_key: string | null;
39214
40488
  floriday_sales_order_id: string | null;
39215
40489
  id: string;
39216
40490
  invoice_due_at: string | null;
@@ -39238,6 +40512,7 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
39238
40512
  customer_name?: string;
39239
40513
  deleted_at?: string | null;
39240
40514
  delivery_date?: string | null;
40515
+ floriday_order_group_key?: string | null;
39241
40516
  floriday_sales_order_id?: string | null;
39242
40517
  id?: string;
39243
40518
  invoice_due_at?: string | null;
@@ -39265,6 +40540,7 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
39265
40540
  customer_name?: string;
39266
40541
  deleted_at?: string | null;
39267
40542
  delivery_date?: string | null;
40543
+ floriday_order_group_key?: string | null;
39268
40544
  floriday_sales_order_id?: string | null;
39269
40545
  id?: string;
39270
40546
  invoice_due_at?: string | null;
@@ -39458,6 +40734,27 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
39458
40734
  };
39459
40735
  Relationships: [];
39460
40736
  };
40737
+ pick_buffer_event_cursor: {
40738
+ Row: {
40739
+ created_at: string;
40740
+ id: boolean;
40741
+ last_event_at: string;
40742
+ updated_at: string;
40743
+ };
40744
+ Insert: {
40745
+ created_at?: string;
40746
+ id?: boolean;
40747
+ last_event_at?: string;
40748
+ updated_at?: string;
40749
+ };
40750
+ Update: {
40751
+ created_at?: string;
40752
+ id?: boolean;
40753
+ last_event_at?: string;
40754
+ updated_at?: string;
40755
+ };
40756
+ Relationships: [];
40757
+ };
39461
40758
  pick_countries: {
39462
40759
  Row: {
39463
40760
  active: boolean;
@@ -45107,6 +46404,36 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
45107
46404
  referencedColumns: ["id"];
45108
46405
  }];
45109
46406
  };
46407
+ voorraad_buffer_state: {
46408
+ Row: {
46409
+ buffer_id: string;
46410
+ buffer_key: string | null;
46411
+ closed_at: string | null;
46412
+ created_at: string;
46413
+ detached_orders: import("../integrations/supabase/types").Json;
46414
+ reason: string | null;
46415
+ updated_at: string;
46416
+ };
46417
+ Insert: {
46418
+ buffer_id: string;
46419
+ buffer_key?: string | null;
46420
+ closed_at?: string | null;
46421
+ created_at?: string;
46422
+ detached_orders?: import("../integrations/supabase/types").Json;
46423
+ reason?: string | null;
46424
+ updated_at?: string;
46425
+ };
46426
+ Update: {
46427
+ buffer_id?: string;
46428
+ buffer_key?: string | null;
46429
+ closed_at?: string | null;
46430
+ created_at?: string;
46431
+ detached_orders?: import("../integrations/supabase/types").Json;
46432
+ reason?: string | null;
46433
+ updated_at?: string;
46434
+ };
46435
+ Relationships: [];
46436
+ };
45110
46437
  voorraad_custom_fields: {
45111
46438
  Row: {
45112
46439
  created_at: string;
@@ -45149,6 +46476,36 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
45149
46476
  };
45150
46477
  Relationships: [];
45151
46478
  };
46479
+ voorraad_logistics_event_log: {
46480
+ Row: {
46481
+ created_at: string;
46482
+ event_id: string;
46483
+ event_type: string;
46484
+ order_ref: string | null;
46485
+ processed_at: string;
46486
+ result: import("../integrations/supabase/types").Json;
46487
+ updated_at: string;
46488
+ };
46489
+ Insert: {
46490
+ created_at?: string;
46491
+ event_id: string;
46492
+ event_type: string;
46493
+ order_ref?: string | null;
46494
+ processed_at?: string;
46495
+ result?: import("../integrations/supabase/types").Json;
46496
+ updated_at?: string;
46497
+ };
46498
+ Update: {
46499
+ created_at?: string;
46500
+ event_id?: string;
46501
+ event_type?: string;
46502
+ order_ref?: string | null;
46503
+ processed_at?: string;
46504
+ result?: import("../integrations/supabase/types").Json;
46505
+ updated_at?: string;
46506
+ };
46507
+ Relationships: [];
46508
+ };
45152
46509
  voorraad_media_upload_failures: {
45153
46510
  Row: {
45154
46511
  action: string;
@@ -47974,6 +49331,17 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
47974
49331
  };
47975
49332
  Returns: boolean;
47976
49333
  };
49334
+ floriday_adopt_connection: {
49335
+ Args: {
49336
+ p_new: string;
49337
+ p_old: string;
49338
+ };
49339
+ Returns: import("../integrations/supabase/types").Json;
49340
+ };
49341
+ floriday_autoheal_connections: {
49342
+ Args: never;
49343
+ Returns: import("../integrations/supabase/types").Json;
49344
+ };
47977
49345
  floriday_capture_stock_snapshot: {
47978
49346
  Args: never;
47979
49347
  Returns: number;
@@ -48031,6 +49399,12 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
48031
49399
  };
48032
49400
  Returns: undefined;
48033
49401
  };
49402
+ floriday_relink_products: {
49403
+ Args: {
49404
+ p_connection_id?: string;
49405
+ };
49406
+ Returns: import("../integrations/supabase/types").Json;
49407
+ };
48034
49408
  floriday_requeue_dead_letters: {
48035
49409
  Args: {
48036
49410
  p_connection_id?: string;
@@ -48652,6 +50026,10 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
48652
50026
  };
48653
50027
  Returns: string;
48654
50028
  };
50029
+ logistics_active_layout_method: {
50030
+ Args: never;
50031
+ Returns: string;
50032
+ };
48655
50033
  logistics_active_pick_workdays: {
48656
50034
  Args: never;
48657
50035
  Returns: string[];
@@ -48703,6 +50081,30 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
48703
50081
  };
48704
50082
  Returns: import("../integrations/supabase/types").Json;
48705
50083
  };
50084
+ logistics_block_reason_code: {
50085
+ Args: {
50086
+ p_details?: import("../integrations/supabase/types").Json;
50087
+ p_reason: string;
50088
+ };
50089
+ Returns: string;
50090
+ };
50091
+ logistics_blocked_orders: {
50092
+ Args: never;
50093
+ Returns: {
50094
+ attempts: number;
50095
+ blocked_since: string;
50096
+ delivery_date: string;
50097
+ order_id: string;
50098
+ order_ref: string;
50099
+ queue_id: string;
50100
+ reason: string;
50101
+ reason_code: string;
50102
+ }[];
50103
+ };
50104
+ logistics_blocked_overview: {
50105
+ Args: never;
50106
+ Returns: import("../integrations/supabase/types").Json;
50107
+ };
48706
50108
  logistics_buffer_criteria: {
48707
50109
  Args: {
48708
50110
  p_settings: import("../integrations/supabase/types").Json;
@@ -48717,6 +50119,39 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
48717
50119
  };
48718
50120
  Returns: import("../integrations/supabase/types").Json;
48719
50121
  };
50122
+ logistics_buffer_detach_late_orders: {
50123
+ Args: {
50124
+ p_buffer?: string;
50125
+ };
50126
+ Returns: import("../integrations/supabase/types").Json;
50127
+ };
50128
+ logistics_buffer_frozen_order: {
50129
+ Args: {
50130
+ p_order_id: string;
50131
+ };
50132
+ Returns: boolean;
50133
+ };
50134
+ logistics_buffer_handled: {
50135
+ Args: {
50136
+ p_buffer: string;
50137
+ };
50138
+ Returns: boolean;
50139
+ };
50140
+ logistics_buffer_notify: {
50141
+ Args: {
50142
+ p_event_type: string;
50143
+ p_idempotency_key: string;
50144
+ p_order_ref: string;
50145
+ p_payload: import("../integrations/supabase/types").Json;
50146
+ };
50147
+ Returns: string;
50148
+ };
50149
+ logistics_buffer_open_key: {
50150
+ Args: {
50151
+ p_base_key: string;
50152
+ };
50153
+ Returns: string;
50154
+ };
48720
50155
  logistics_buffer_simulate: {
48721
50156
  Args: {
48722
50157
  p_orders?: import("../integrations/supabase/types").Json;
@@ -48769,6 +50204,12 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
48769
50204
  };
48770
50205
  Returns: string;
48771
50206
  };
50207
+ logistics_cart_checkin_at: {
50208
+ Args: {
50209
+ p_cart_id: string;
50210
+ };
50211
+ Returns: string;
50212
+ };
48772
50213
  logistics_cart_handled: {
48773
50214
  Args: {
48774
50215
  p_cart_index: number;
@@ -48802,10 +50243,53 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
48802
50243
  task_status: string;
48803
50244
  }[];
48804
50245
  };
50246
+ logistics_cart_is_full: {
50247
+ Args: {
50248
+ p_cart_id: string;
50249
+ };
50250
+ Returns: boolean;
50251
+ };
48805
50252
  logistics_cart_layout_method: {
48806
50253
  Args: never;
48807
50254
  Returns: import("../integrations/supabase/types").Json;
48808
50255
  };
50256
+ logistics_cart_order_refs: {
50257
+ Args: {
50258
+ p_cart_id: string;
50259
+ };
50260
+ Returns: string[];
50261
+ };
50262
+ logistics_cart_plan_overview: {
50263
+ Args: {
50264
+ p_days?: number;
50265
+ };
50266
+ Returns: {
50267
+ cart_total: number;
50268
+ delivery_date: string;
50269
+ order_ref: string;
50270
+ plan_ready: boolean;
50271
+ reason: string;
50272
+ released: boolean;
50273
+ }[];
50274
+ };
50275
+ logistics_cart_plan_status: {
50276
+ Args: {
50277
+ p_ref: string;
50278
+ };
50279
+ Returns: import("../integrations/supabase/types").Json;
50280
+ };
50281
+ logistics_cart_release_reason: {
50282
+ Args: {
50283
+ p_cart_id: string;
50284
+ };
50285
+ Returns: string;
50286
+ };
50287
+ logistics_cart_released: {
50288
+ Args: {
50289
+ p_cart_id: string;
50290
+ };
50291
+ Returns: boolean;
50292
+ };
48809
50293
  logistics_cart_seq: {
48810
50294
  Args: {
48811
50295
  p_order_uuid?: string;
@@ -48856,6 +50340,10 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
48856
50340
  unit_ref: string;
48857
50341
  }[];
48858
50342
  };
50343
+ logistics_carts_per_print: {
50344
+ Args: never;
50345
+ Returns: number;
50346
+ };
48859
50347
  logistics_check_order_allowed: {
48860
50348
  Args: {
48861
50349
  p_lines: import("../integrations/supabase/types").Json;
@@ -48959,6 +50447,10 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
48959
50447
  isSetofReturn: false;
48960
50448
  };
48961
50449
  };
50450
+ logistics_cleanup_orphan_print_jobs: {
50451
+ Args: never;
50452
+ Returns: import("../integrations/supabase/types").Json;
50453
+ };
48962
50454
  logistics_complete_task: {
48963
50455
  Args: {
48964
50456
  p_result?: import("../integrations/supabase/types").Json;
@@ -49021,6 +50513,12 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
49021
50513
  station_carts: number;
49022
50514
  }[];
49023
50515
  };
50516
+ logistics_control_complete_cart: {
50517
+ Args: {
50518
+ p_cart_id: string;
50519
+ };
50520
+ Returns: number;
50521
+ };
49024
50522
  logistics_control_scan_approve: {
49025
50523
  Args: {
49026
50524
  p_allow_reprint?: boolean;
@@ -49100,6 +50598,15 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
49100
50598
  Args: never;
49101
50599
  Returns: import("../integrations/supabase/types").Json;
49102
50600
  };
50601
+ logistics_day_windows: {
50602
+ Args: {
50603
+ p_day: string;
50604
+ };
50605
+ Returns: {
50606
+ win_end: string;
50607
+ win_start: string;
50608
+ }[];
50609
+ };
49103
50610
  logistics_delay_customer_email: {
49104
50611
  Args: {
49105
50612
  p_customer: string;
@@ -49167,6 +50674,17 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
49167
50674
  };
49168
50675
  Returns: import("../integrations/supabase/types").Json;
49169
50676
  };
50677
+ logistics_enqueue_shipping_note_with_slip: {
50678
+ Args: {
50679
+ _cart_id: string;
50680
+ _is_herprint: boolean;
50681
+ _printer_id: string;
50682
+ _queue_item_id: string;
50683
+ _session_id: string;
50684
+ _slip_job_id: string;
50685
+ };
50686
+ Returns: string;
50687
+ };
49170
50688
  logistics_enqueue_sticker_with_slip: {
49171
50689
  Args: {
49172
50690
  _cart_id: string;
@@ -49184,6 +50702,14 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
49184
50702
  };
49185
50703
  Returns: string;
49186
50704
  };
50705
+ logistics_ensure_pick_data: {
50706
+ Args: {
50707
+ p_event_id?: string;
50708
+ p_missing?: import("../integrations/supabase/types").Json;
50709
+ p_ref: string;
50710
+ };
50711
+ Returns: import("../integrations/supabase/types").Json;
50712
+ };
49187
50713
  logistics_fail_task: {
49188
50714
  Args: {
49189
50715
  p_error: string;
@@ -49305,6 +50831,38 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
49305
50831
  };
49306
50832
  Returns: string;
49307
50833
  };
50834
+ logistics_floriday_gate_status: {
50835
+ Args: never;
50836
+ Returns: import("../integrations/supabase/types").Json;
50837
+ };
50838
+ logistics_floriday_log_refusal: {
50839
+ Args: {
50840
+ _action?: string;
50841
+ _module?: string;
50842
+ _order_ref: string;
50843
+ _reason: string;
50844
+ _shell?: string;
50845
+ };
50846
+ Returns: undefined;
50847
+ };
50848
+ logistics_floriday_log_send: {
50849
+ Args: {
50850
+ _action: string;
50851
+ _detail?: string;
50852
+ _http_status?: number;
50853
+ _module?: string;
50854
+ _ok: boolean;
50855
+ _order_ref: string;
50856
+ _shell?: string;
50857
+ };
50858
+ Returns: undefined;
50859
+ };
50860
+ logistics_floriday_order_approved: {
50861
+ Args: {
50862
+ _order_ref: string;
50863
+ };
50864
+ Returns: boolean;
50865
+ };
49308
50866
  logistics_floriday_prune_pushes: {
49309
50867
  Args: {
49310
50868
  _days?: number;
@@ -49319,6 +50877,20 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
49319
50877
  };
49320
50878
  Returns: string;
49321
50879
  };
50880
+ logistics_floriday_status_updates_enabled: {
50881
+ Args: never;
50882
+ Returns: boolean;
50883
+ };
50884
+ logistics_floriday_stock_updates_enabled: {
50885
+ Args: never;
50886
+ Returns: boolean;
50887
+ };
50888
+ logistics_floriday_write_allowed: {
50889
+ Args: {
50890
+ _action: string;
50891
+ };
50892
+ Returns: boolean;
50893
+ };
49322
50894
  logistics_fulfill_barcode_requests: {
49323
50895
  Args: {
49324
50896
  p_limit?: number;
@@ -49339,6 +50911,16 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
49339
50911
  };
49340
50912
  Returns: boolean;
49341
50913
  };
50914
+ logistics_layout_method_status: {
50915
+ Args: never;
50916
+ Returns: import("../integrations/supabase/types").Json;
50917
+ };
50918
+ logistics_link_order_items: {
50919
+ Args: {
50920
+ p_order?: string;
50921
+ };
50922
+ Returns: import("../integrations/supabase/types").Json;
50923
+ };
49342
50924
  logistics_live_carriers: {
49343
50925
  Args: {
49344
50926
  p_order_ref: string;
@@ -49351,6 +50933,12 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
49351
50933
  };
49352
50934
  Returns: number;
49353
50935
  };
50936
+ logistics_merge_partial_carts: {
50937
+ Args: {
50938
+ p_limit?: number;
50939
+ };
50940
+ Returns: import("../integrations/supabase/types").Json;
50941
+ };
49354
50942
  logistics_next_workday_date: {
49355
50943
  Args: {
49356
50944
  p_date: string;
@@ -49365,12 +50953,22 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
49365
50953
  };
49366
50954
  Returns: string;
49367
50955
  };
50956
+ logistics_normalize_product_label: {
50957
+ Args: {
50958
+ p_label: string;
50959
+ };
50960
+ Returns: string;
50961
+ };
49368
50962
  logistics_not_past: {
49369
50963
  Args: {
49370
50964
  p_ts: string;
49371
50965
  };
49372
50966
  Returns: string;
49373
50967
  };
50968
+ logistics_opening_timezone: {
50969
+ Args: never;
50970
+ Returns: string;
50971
+ };
49374
50972
  logistics_order_cart_count: {
49375
50973
  Args: {
49376
50974
  p_order_ref: string;
@@ -49455,6 +51053,10 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
49455
51053
  Args: never;
49456
51054
  Returns: import("../integrations/supabase/types").Json;
49457
51055
  };
51056
+ logistics_pick_partial_mode: {
51057
+ Args: never;
51058
+ Returns: string;
51059
+ };
49458
51060
  logistics_pick_start_estimate: {
49459
51061
  Args: {
49460
51062
  p_order: import("../integrations/supabase/types").Json;
@@ -49553,6 +51155,12 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
49553
51155
  Args: never;
49554
51156
  Returns: number;
49555
51157
  };
51158
+ logistics_plan_retry: {
51159
+ Args: {
51160
+ p_order_ids: string[];
51161
+ };
51162
+ Returns: number;
51163
+ };
49556
51164
  logistics_plan_setting: {
49557
51165
  Args: {
49558
51166
  p_default: number;
@@ -49560,6 +51168,12 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
49560
51168
  };
49561
51169
  Returns: number;
49562
51170
  };
51171
+ logistics_prepare_pick_documents: {
51172
+ Args: {
51173
+ p_limit?: number;
51174
+ };
51175
+ Returns: import("../integrations/supabase/types").Json;
51176
+ };
49563
51177
  logistics_prune_buffer_member_queue: {
49564
51178
  Args: never;
49565
51179
  Returns: number;
@@ -49600,12 +51214,30 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
49600
51214
  Args: never;
49601
51215
  Returns: import("../integrations/supabase/types").Json;
49602
51216
  };
51217
+ logistics_refresh_pick_queue_status: {
51218
+ Args: {
51219
+ p_ref: string;
51220
+ };
51221
+ Returns: number;
51222
+ };
49603
51223
  logistics_refresh_pickup_moments: {
49604
51224
  Args: {
49605
51225
  p_weeks?: number;
49606
51226
  };
49607
51227
  Returns: import("../integrations/supabase/types").Json;
49608
51228
  };
51229
+ logistics_replan_all: {
51230
+ Args: {
51231
+ p_reason?: string;
51232
+ };
51233
+ Returns: import("../integrations/supabase/types").Json;
51234
+ };
51235
+ logistics_replan_all_force: {
51236
+ Args: {
51237
+ p_reason?: string;
51238
+ };
51239
+ Returns: import("../integrations/supabase/types").Json;
51240
+ };
49609
51241
  logistics_report_delay: {
49610
51242
  Args: {
49611
51243
  p_expected_date?: string;
@@ -49659,6 +51291,12 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
49659
51291
  };
49660
51292
  Returns: import("../integrations/supabase/types").Json;
49661
51293
  };
51294
+ logistics_resolve_product_id: {
51295
+ Args: {
51296
+ p_label: string;
51297
+ };
51298
+ Returns: string;
51299
+ };
49662
51300
  logistics_resolve_settings: {
49663
51301
  Args: {
49664
51302
  p_config_id: string;
@@ -49744,6 +51382,10 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
49744
51382
  };
49745
51383
  Returns: string;
49746
51384
  };
51385
+ logistics_shipping_note_follows_slip: {
51386
+ Args: never;
51387
+ Returns: boolean;
51388
+ };
49747
51389
  logistics_shipping_note_from_barcode: {
49748
51390
  Args: {
49749
51391
  p_allow_reprint?: boolean;
@@ -49752,10 +51394,76 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
49752
51394
  };
49753
51395
  Returns: import("../integrations/supabase/types").Json;
49754
51396
  };
51397
+ logistics_shipping_note_job_for_slip: {
51398
+ Args: {
51399
+ _slip_job_id: string;
51400
+ };
51401
+ Returns: string;
51402
+ };
51403
+ logistics_slip_note_claim: {
51404
+ Args: {
51405
+ _lease_seconds?: number;
51406
+ _limit?: number;
51407
+ };
51408
+ Returns: {
51409
+ attempts: number;
51410
+ batch_key: string | null;
51411
+ cart_id: string | null;
51412
+ created_at: string;
51413
+ error: string | null;
51414
+ error_code: string | null;
51415
+ fulfillment_order_id: string | null;
51416
+ id: string;
51417
+ locked_until: string | null;
51418
+ next_attempt_at: string | null;
51419
+ order_id: string | null;
51420
+ order_number: string | null;
51421
+ print_job_id: string | null;
51422
+ printer_id: string | null;
51423
+ retry_class: string | null;
51424
+ slip_job_id: string;
51425
+ status: string;
51426
+ updated_at: string;
51427
+ }[];
51428
+ SetofOptions: {
51429
+ from: "*";
51430
+ to: "logistics_slip_shipping_note";
51431
+ isOneToOne: false;
51432
+ isSetofReturn: true;
51433
+ };
51434
+ };
51435
+ logistics_slip_note_finish: {
51436
+ Args: {
51437
+ _error?: string;
51438
+ _error_code?: string;
51439
+ _fulfillment_order_id?: string;
51440
+ _id: string;
51441
+ _ok: boolean;
51442
+ _print_job_id?: string;
51443
+ _status?: string;
51444
+ };
51445
+ Returns: undefined;
51446
+ };
51447
+ logistics_slip_note_keep_waiting: {
51448
+ Args: {
51449
+ _class?: string;
51450
+ _id: string;
51451
+ _reason: string;
51452
+ };
51453
+ Returns: undefined;
51454
+ };
49755
51455
  logistics_sticker_follows_slip: {
49756
51456
  Args: never;
49757
51457
  Returns: boolean;
49758
51458
  };
51459
+ logistics_subtract_working_minutes: {
51460
+ Args: {
51461
+ p_deadline: string;
51462
+ p_max_workdays?: number;
51463
+ p_minutes: number;
51464
+ };
51465
+ Returns: import("../integrations/supabase/types").Json;
51466
+ };
49759
51467
  logistics_supersede_stale_tasks: {
49760
51468
  Args: {
49761
51469
  p_keep: string[];
@@ -49788,6 +51496,16 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
49788
51496
  };
49789
51497
  Returns: number;
49790
51498
  };
51499
+ logistics_tick_ping: {
51500
+ Args: never;
51501
+ Returns: string;
51502
+ };
51503
+ logistics_timezone_options: {
51504
+ Args: never;
51505
+ Returns: {
51506
+ name: string;
51507
+ }[];
51508
+ };
49791
51509
  logistics_upsert_task: {
49792
51510
  Args: {
49793
51511
  p_buffer_ref: string;
@@ -49807,6 +51525,16 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
49807
51525
  };
49808
51526
  Returns: string;
49809
51527
  };
51528
+ logistics_valid_timezone: {
51529
+ Args: {
51530
+ _tz: string;
51531
+ };
51532
+ Returns: boolean;
51533
+ };
51534
+ logistics_working_hours_status: {
51535
+ Args: never;
51536
+ Returns: import("../integrations/supabase/types").Json;
51537
+ };
49810
51538
  logistics_write_buffer_layer_positions: {
49811
51539
  Args: {
49812
51540
  p_buffer_id: string;
@@ -49931,6 +51659,12 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
49931
51659
  };
49932
51660
  Returns: import("../integrations/supabase/types").Json;
49933
51661
  };
51662
+ order_heeft_bevestigde_karren: {
51663
+ Args: {
51664
+ p_order_id: string;
51665
+ };
51666
+ Returns: boolean;
51667
+ };
49934
51668
  order_number_prefix: {
49935
51669
  Args: {
49936
51670
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -49966,6 +51700,10 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
49966
51700
  online: boolean;
49967
51701
  }[];
49968
51702
  };
51703
+ pick_apply_buffer_events: {
51704
+ Args: never;
51705
+ Returns: import("../integrations/supabase/types").Json;
51706
+ };
49969
51707
  pick_available_pick_days: {
49970
51708
  Args: {
49971
51709
  _max_days?: number;
@@ -49975,6 +51713,12 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
49975
51713
  pick_day: string;
49976
51714
  }[];
49977
51715
  };
51716
+ pick_buffer_order_ids: {
51717
+ Args: {
51718
+ _order_id: string;
51719
+ };
51720
+ Returns: string[];
51721
+ };
49978
51722
  pick_cart_breakdown: {
49979
51723
  Args: {
49980
51724
  _order_id: string;
@@ -50034,6 +51778,7 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
50034
51778
  pick_claim_next_document: {
50035
51779
  Args: {
50036
51780
  _country_code: string;
51781
+ _pick_day?: string;
50037
51782
  _screen_id: string;
50038
51783
  _session_id: string;
50039
51784
  _station_id: string;
@@ -50322,6 +52067,12 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
50322
52067
  omschrijving: string;
50323
52068
  }[];
50324
52069
  };
52070
+ pick_queue_cart_plan: {
52071
+ Args: {
52072
+ _queue_item_id: string;
52073
+ };
52074
+ Returns: import("../integrations/supabase/types").Json;
52075
+ };
50325
52076
  pick_reference_data_status: {
50326
52077
  Args: never;
50327
52078
  Returns: import("../integrations/supabase/types").Json;
@@ -50336,6 +52087,10 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
50336
52087
  };
50337
52088
  Returns: undefined;
50338
52089
  };
52090
+ pick_report_missing_cart_plan: {
52091
+ Args: never;
52092
+ Returns: import("../integrations/supabase/types").Json;
52093
+ };
50339
52094
  pick_reprint_cart: {
50340
52095
  Args: {
50341
52096
  _cart_id: string;
@@ -50876,6 +52631,12 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
50876
52631
  };
50877
52632
  Returns: boolean;
50878
52633
  };
52634
+ release_job_lock: {
52635
+ Args: {
52636
+ _key: string;
52637
+ };
52638
+ Returns: undefined;
52639
+ };
50879
52640
  release_local_pdf_job: {
50880
52641
  Args: {
50881
52642
  _job_id: string;
@@ -51065,6 +52826,16 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
51065
52826
  };
51066
52827
  Returns: import("../integrations/supabase/types").Json;
51067
52828
  };
52829
+ scan_log_code: {
52830
+ Args: {
52831
+ p_code: string;
52832
+ p_latency_ms?: number;
52833
+ p_message?: string;
52834
+ p_result: string;
52835
+ p_scanner_key?: string;
52836
+ };
52837
+ Returns: string;
52838
+ };
51068
52839
  scan_open_pakbonnen: {
51069
52840
  Args: {
51070
52841
  p_dagen?: number;
@@ -51209,6 +52980,13 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
51209
52980
  };
51210
52981
  Returns: number;
51211
52982
  };
52983
+ schedule_floriday_catalog_prices_sync: {
52984
+ Args: {
52985
+ p_apikey: string;
52986
+ p_url: string;
52987
+ };
52988
+ Returns: number;
52989
+ };
51212
52990
  schedule_floriday_clock_presales_sync: {
51213
52991
  Args: {
51214
52992
  p_apikey: string;
@@ -51509,6 +53287,10 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
51509
53287
  };
51510
53288
  Returns: undefined;
51511
53289
  };
53290
+ sync_floriday_prices_into_price_groups: {
53291
+ Args: never;
53292
+ Returns: number;
53293
+ };
51512
53294
  sync_layer_stock: {
51513
53295
  Args: {
51514
53296
  p_product_id: string;
@@ -51554,6 +53336,14 @@ export declare const recoverStockQueue: import("@tanstack/start-client-core").Op
51554
53336
  row_count: number;
51555
53337
  }[];
51556
53338
  };
53339
+ try_acquire_job_lock: {
53340
+ Args: {
53341
+ _key: string;
53342
+ _owner?: string;
53343
+ _seconds?: number;
53344
+ };
53345
+ Returns: boolean;
53346
+ };
51557
53347
  try_debtor_lock: {
51558
53348
  Args: {
51559
53349
  _group_key: string;