@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
@@ -2155,6 +2155,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2155
2155
  created_at: string;
2156
2156
  currency: string;
2157
2157
  distribute_over: string | null;
2158
+ external_id: string | null;
2159
+ external_synced_at: string | null;
2158
2160
  group_type: string;
2159
2161
  handling_fee: number | null;
2160
2162
  id: string;
@@ -2167,6 +2169,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2167
2169
  rounding: string;
2168
2170
  rounding_step: number;
2169
2171
  sort_order: number;
2172
+ source: string;
2170
2173
  unit: string;
2171
2174
  updated_at: string;
2172
2175
  };
@@ -2177,6 +2180,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2177
2180
  created_at?: string;
2178
2181
  currency?: string;
2179
2182
  distribute_over?: string | null;
2183
+ external_id?: string | null;
2184
+ external_synced_at?: string | null;
2180
2185
  group_type?: string;
2181
2186
  handling_fee?: number | null;
2182
2187
  id?: string;
@@ -2189,6 +2194,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2189
2194
  rounding?: string;
2190
2195
  rounding_step?: number;
2191
2196
  sort_order?: number;
2197
+ source?: string;
2192
2198
  unit?: string;
2193
2199
  updated_at?: string;
2194
2200
  };
@@ -2199,6 +2205,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2199
2205
  created_at?: string;
2200
2206
  currency?: string;
2201
2207
  distribute_over?: string | null;
2208
+ external_id?: string | null;
2209
+ external_synced_at?: string | null;
2202
2210
  group_type?: string;
2203
2211
  handling_fee?: number | null;
2204
2212
  id?: string;
@@ -2211,6 +2219,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2211
2219
  rounding?: string;
2212
2220
  rounding_step?: number;
2213
2221
  sort_order?: number;
2222
+ source?: string;
2214
2223
  unit?: string;
2215
2224
  updated_at?: string;
2216
2225
  };
@@ -5801,6 +5810,84 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
5801
5810
  referencedColumns: ["id"];
5802
5811
  }];
5803
5812
  };
5813
+ floriday_catalog_prices_cache: {
5814
+ Row: {
5815
+ connection_id: string;
5816
+ created_at: string;
5817
+ currency: string;
5818
+ id: string;
5819
+ is_deleted: boolean;
5820
+ price: number | null;
5821
+ price_group_id: string | null;
5822
+ price_group_name: string | null;
5823
+ price_type: string;
5824
+ raw: import("./types").Json | null;
5825
+ sales_unit: string | null;
5826
+ sequence_number: number;
5827
+ supplier_article_code: string | null;
5828
+ supply_line_id: string;
5829
+ synced_at: string;
5830
+ trade_item_id: string | null;
5831
+ updated_at: string;
5832
+ valid_from: string | null;
5833
+ valid_to: string | null;
5834
+ week: number | null;
5835
+ year: number | null;
5836
+ };
5837
+ Insert: {
5838
+ connection_id: string;
5839
+ created_at?: string;
5840
+ currency?: string;
5841
+ id?: string;
5842
+ is_deleted?: boolean;
5843
+ price?: number | null;
5844
+ price_group_id?: string | null;
5845
+ price_group_name?: string | null;
5846
+ price_type?: string;
5847
+ raw?: import("./types").Json | null;
5848
+ sales_unit?: string | null;
5849
+ sequence_number?: number;
5850
+ supplier_article_code?: string | null;
5851
+ supply_line_id: string;
5852
+ synced_at?: string;
5853
+ trade_item_id?: string | null;
5854
+ updated_at?: string;
5855
+ valid_from?: string | null;
5856
+ valid_to?: string | null;
5857
+ week?: number | null;
5858
+ year?: number | null;
5859
+ };
5860
+ Update: {
5861
+ connection_id?: string;
5862
+ created_at?: string;
5863
+ currency?: string;
5864
+ id?: string;
5865
+ is_deleted?: boolean;
5866
+ price?: number | null;
5867
+ price_group_id?: string | null;
5868
+ price_group_name?: string | null;
5869
+ price_type?: string;
5870
+ raw?: import("./types").Json | null;
5871
+ sales_unit?: string | null;
5872
+ sequence_number?: number;
5873
+ supplier_article_code?: string | null;
5874
+ supply_line_id?: string;
5875
+ synced_at?: string;
5876
+ trade_item_id?: string | null;
5877
+ updated_at?: string;
5878
+ valid_from?: string | null;
5879
+ valid_to?: string | null;
5880
+ week?: number | null;
5881
+ year?: number | null;
5882
+ };
5883
+ Relationships: [{
5884
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
5885
+ columns: ["connection_id"];
5886
+ isOneToOne: false;
5887
+ referencedRelation: "floriday_connections";
5888
+ referencedColumns: ["id"];
5889
+ }];
5890
+ };
5804
5891
  floriday_clock_presales_cache: {
5805
5892
  Row: {
5806
5893
  buyer_organization_id: string | null;
@@ -9074,6 +9161,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9074
9161
  referencedColumns: ["id"];
9075
9162
  }];
9076
9163
  };
9164
+ job_locks: {
9165
+ Row: {
9166
+ created_at: string;
9167
+ lock_key: string;
9168
+ locked_until: string;
9169
+ owner: string | null;
9170
+ updated_at: string;
9171
+ };
9172
+ Insert: {
9173
+ created_at?: string;
9174
+ lock_key: string;
9175
+ locked_until: string;
9176
+ owner?: string | null;
9177
+ updated_at?: string;
9178
+ };
9179
+ Update: {
9180
+ created_at?: string;
9181
+ lock_key?: string;
9182
+ locked_until?: string;
9183
+ owner?: string | null;
9184
+ updated_at?: string;
9185
+ };
9186
+ Relationships: [];
9187
+ };
9077
9188
  layout_logos: {
9078
9189
  Row: {
9079
9190
  bestand_url: string;
@@ -10043,6 +10154,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10043
10154
  };
10044
10155
  Relationships: [];
10045
10156
  };
10157
+ logistics_floriday_push_refusals: {
10158
+ Row: {
10159
+ action: string | null;
10160
+ created_at: string;
10161
+ id: string;
10162
+ order_ref: string;
10163
+ reason: string;
10164
+ source_module: string | null;
10165
+ source_shell: string | null;
10166
+ };
10167
+ Insert: {
10168
+ action?: string | null;
10169
+ created_at?: string;
10170
+ id?: string;
10171
+ order_ref: string;
10172
+ reason: string;
10173
+ source_module?: string | null;
10174
+ source_shell?: string | null;
10175
+ };
10176
+ Update: {
10177
+ action?: string | null;
10178
+ created_at?: string;
10179
+ id?: string;
10180
+ order_ref?: string;
10181
+ reason?: string;
10182
+ source_module?: string | null;
10183
+ source_shell?: string | null;
10184
+ };
10185
+ Relationships: [];
10186
+ };
10046
10187
  logistics_floriday_pushes: {
10047
10188
  Row: {
10048
10189
  attempts: number;
@@ -10118,6 +10259,42 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10118
10259
  };
10119
10260
  Relationships: [];
10120
10261
  };
10262
+ logistics_floriday_status_sends: {
10263
+ Row: {
10264
+ action: string;
10265
+ created_at: string;
10266
+ detail: string | null;
10267
+ http_status: number | null;
10268
+ id: string;
10269
+ ok: boolean;
10270
+ order_ref: string;
10271
+ source_module: string | null;
10272
+ source_shell: string | null;
10273
+ };
10274
+ Insert: {
10275
+ action: string;
10276
+ created_at?: string;
10277
+ detail?: string | null;
10278
+ http_status?: number | null;
10279
+ id?: string;
10280
+ ok?: boolean;
10281
+ order_ref: string;
10282
+ source_module?: string | null;
10283
+ source_shell?: string | null;
10284
+ };
10285
+ Update: {
10286
+ action?: string;
10287
+ created_at?: string;
10288
+ detail?: string | null;
10289
+ http_status?: number | null;
10290
+ id?: string;
10291
+ ok?: boolean;
10292
+ order_ref?: string;
10293
+ source_module?: string | null;
10294
+ source_shell?: string | null;
10295
+ };
10296
+ Relationships: [];
10297
+ };
10121
10298
  logistics_formulas: {
10122
10299
  Row: {
10123
10300
  created_at: string;
@@ -10190,6 +10367,108 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10190
10367
  };
10191
10368
  Relationships: [];
10192
10369
  };
10370
+ logistics_opening_exceptions: {
10371
+ Row: {
10372
+ closes: string | null;
10373
+ created_at: string;
10374
+ day: string;
10375
+ id: string;
10376
+ is_closed: boolean;
10377
+ note: string | null;
10378
+ opens: string | null;
10379
+ };
10380
+ Insert: {
10381
+ closes?: string | null;
10382
+ created_at?: string;
10383
+ day: string;
10384
+ id?: string;
10385
+ is_closed?: boolean;
10386
+ note?: string | null;
10387
+ opens?: string | null;
10388
+ };
10389
+ Update: {
10390
+ closes?: string | null;
10391
+ created_at?: string;
10392
+ day?: string;
10393
+ id?: string;
10394
+ is_closed?: boolean;
10395
+ note?: string | null;
10396
+ opens?: string | null;
10397
+ };
10398
+ Relationships: [];
10399
+ };
10400
+ logistics_opening_hours: {
10401
+ Row: {
10402
+ closes: string;
10403
+ created_at: string;
10404
+ id: string;
10405
+ is_active: boolean;
10406
+ note: string | null;
10407
+ opens: string;
10408
+ weekday: number;
10409
+ };
10410
+ Insert: {
10411
+ closes: string;
10412
+ created_at?: string;
10413
+ id?: string;
10414
+ is_active?: boolean;
10415
+ note?: string | null;
10416
+ opens: string;
10417
+ weekday: number;
10418
+ };
10419
+ Update: {
10420
+ closes?: string;
10421
+ created_at?: string;
10422
+ id?: string;
10423
+ is_active?: boolean;
10424
+ note?: string | null;
10425
+ opens?: string;
10426
+ weekday?: number;
10427
+ };
10428
+ Relationships: [];
10429
+ };
10430
+ logistics_pick_data_requests: {
10431
+ Row: {
10432
+ actions: import("./types").Json;
10433
+ created_at: string;
10434
+ event_id: string | null;
10435
+ finished_at: string | null;
10436
+ id: string;
10437
+ missing: import("./types").Json;
10438
+ order_ref: string;
10439
+ reason: string | null;
10440
+ result: import("./types").Json | null;
10441
+ status: string;
10442
+ unit_ref: string | null;
10443
+ };
10444
+ Insert: {
10445
+ actions?: import("./types").Json;
10446
+ created_at?: string;
10447
+ event_id?: string | null;
10448
+ finished_at?: string | null;
10449
+ id?: string;
10450
+ missing?: import("./types").Json;
10451
+ order_ref: string;
10452
+ reason?: string | null;
10453
+ result?: import("./types").Json | null;
10454
+ status?: string;
10455
+ unit_ref?: string | null;
10456
+ };
10457
+ Update: {
10458
+ actions?: import("./types").Json;
10459
+ created_at?: string;
10460
+ event_id?: string | null;
10461
+ finished_at?: string | null;
10462
+ id?: string;
10463
+ missing?: import("./types").Json;
10464
+ order_ref?: string;
10465
+ reason?: string | null;
10466
+ result?: import("./types").Json | null;
10467
+ status?: string;
10468
+ unit_ref?: string | null;
10469
+ };
10470
+ Relationships: [];
10471
+ };
10193
10472
  logistics_pickup_moments: {
10194
10473
  Row: {
10195
10474
  carrier_ref: string | null;
@@ -10236,6 +10515,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10236
10515
  next_attempt_at: string;
10237
10516
  order_id: string;
10238
10517
  reason: string;
10518
+ reason_code: string | null;
10239
10519
  status: string;
10240
10520
  updated_at: string;
10241
10521
  };
@@ -10248,6 +10528,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10248
10528
  next_attempt_at?: string;
10249
10529
  order_id: string;
10250
10530
  reason?: string;
10531
+ reason_code?: string | null;
10251
10532
  status?: string;
10252
10533
  updated_at?: string;
10253
10534
  };
@@ -10260,6 +10541,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10260
10541
  next_attempt_at?: string;
10261
10542
  order_id?: string;
10262
10543
  reason?: string;
10544
+ reason_code?: string | null;
10263
10545
  status?: string;
10264
10546
  updated_at?: string;
10265
10547
  };
@@ -10646,38 +10928,101 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10646
10928
  };
10647
10929
  Relationships: [];
10648
10930
  };
10649
- logistics_staff_planning: {
10931
+ logistics_slip_shipping_note: {
10650
10932
  Row: {
10933
+ attempts: number;
10934
+ batch_key: string | null;
10935
+ cart_id: string | null;
10651
10936
  created_at: string;
10652
- end_time: string;
10937
+ error: string | null;
10938
+ error_code: string | null;
10939
+ fulfillment_order_id: string | null;
10653
10940
  id: string;
10654
- note: string | null;
10655
- plan_date: string;
10656
- source_module: string | null;
10657
- staff_count: number;
10658
- start_time: string;
10941
+ locked_until: string | null;
10942
+ next_attempt_at: string | null;
10943
+ order_id: string | null;
10944
+ order_number: string | null;
10945
+ print_job_id: string | null;
10946
+ printer_id: string | null;
10947
+ retry_class: string | null;
10948
+ slip_job_id: string;
10949
+ status: string;
10659
10950
  updated_at: string;
10660
- user_id: string;
10661
10951
  };
10662
10952
  Insert: {
10953
+ attempts?: number;
10954
+ batch_key?: string | null;
10955
+ cart_id?: string | null;
10663
10956
  created_at?: string;
10664
- end_time?: string;
10957
+ error?: string | null;
10958
+ error_code?: string | null;
10959
+ fulfillment_order_id?: string | null;
10665
10960
  id?: string;
10666
- note?: string | null;
10667
- plan_date: string;
10668
- source_module?: string | null;
10669
- staff_count?: number;
10670
- start_time?: string;
10961
+ locked_until?: string | null;
10962
+ next_attempt_at?: string | null;
10963
+ order_id?: string | null;
10964
+ order_number?: string | null;
10965
+ print_job_id?: string | null;
10966
+ printer_id?: string | null;
10967
+ retry_class?: string | null;
10968
+ slip_job_id: string;
10969
+ status?: string;
10671
10970
  updated_at?: string;
10672
- user_id?: string;
10673
10971
  };
10674
10972
  Update: {
10973
+ attempts?: number;
10974
+ batch_key?: string | null;
10975
+ cart_id?: string | null;
10675
10976
  created_at?: string;
10676
- end_time?: string;
10977
+ error?: string | null;
10978
+ error_code?: string | null;
10979
+ fulfillment_order_id?: string | null;
10677
10980
  id?: string;
10678
- note?: string | null;
10679
- plan_date?: string;
10680
- source_module?: string | null;
10981
+ locked_until?: string | null;
10982
+ next_attempt_at?: string | null;
10983
+ order_id?: string | null;
10984
+ order_number?: string | null;
10985
+ print_job_id?: string | null;
10986
+ printer_id?: string | null;
10987
+ retry_class?: string | null;
10988
+ slip_job_id?: string;
10989
+ status?: string;
10990
+ updated_at?: string;
10991
+ };
10992
+ Relationships: [];
10993
+ };
10994
+ logistics_staff_planning: {
10995
+ Row: {
10996
+ created_at: string;
10997
+ end_time: string;
10998
+ id: string;
10999
+ note: string | null;
11000
+ plan_date: string;
11001
+ source_module: string | null;
11002
+ staff_count: number;
11003
+ start_time: string;
11004
+ updated_at: string;
11005
+ user_id: string;
11006
+ };
11007
+ Insert: {
11008
+ created_at?: string;
11009
+ end_time?: string;
11010
+ id?: string;
11011
+ note?: string | null;
11012
+ plan_date: string;
11013
+ source_module?: string | null;
11014
+ staff_count?: number;
11015
+ start_time?: string;
11016
+ updated_at?: string;
11017
+ user_id?: string;
11018
+ };
11019
+ Update: {
11020
+ created_at?: string;
11021
+ end_time?: string;
11022
+ id?: string;
11023
+ note?: string | null;
11024
+ plan_date?: string;
11025
+ source_module?: string | null;
10681
11026
  staff_count?: number;
10682
11027
  start_time?: string;
10683
11028
  updated_at?: string;
@@ -10964,6 +11309,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10964
11309
  referencedColumns: ["id"];
10965
11310
  }];
10966
11311
  };
11312
+ logistics_tick_heartbeat: {
11313
+ Row: {
11314
+ id: boolean;
11315
+ last_tick_at: string;
11316
+ };
11317
+ Insert: {
11318
+ id?: boolean;
11319
+ last_tick_at?: string;
11320
+ };
11321
+ Update: {
11322
+ id?: boolean;
11323
+ last_tick_at?: string;
11324
+ };
11325
+ Relationships: [];
11326
+ };
11327
+ logistics_time_settings: {
11328
+ Row: {
11329
+ id: boolean;
11330
+ timezone: string;
11331
+ updated_at: string;
11332
+ };
11333
+ Insert: {
11334
+ id?: boolean;
11335
+ timezone: string;
11336
+ updated_at?: string;
11337
+ };
11338
+ Update: {
11339
+ id?: boolean;
11340
+ timezone?: string;
11341
+ updated_at?: string;
11342
+ };
11343
+ Relationships: [];
11344
+ };
10967
11345
  logistics_variables: {
10968
11346
  Row: {
10969
11347
  created_at: string;
@@ -13354,6 +13732,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13354
13732
  customer_name: string;
13355
13733
  deleted_at: string | null;
13356
13734
  delivery_date: string | null;
13735
+ floriday_order_group_key: string | null;
13357
13736
  floriday_sales_order_id: string | null;
13358
13737
  id: string;
13359
13738
  invoice_due_at: string | null;
@@ -13381,6 +13760,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13381
13760
  customer_name?: string;
13382
13761
  deleted_at?: string | null;
13383
13762
  delivery_date?: string | null;
13763
+ floriday_order_group_key?: string | null;
13384
13764
  floriday_sales_order_id?: string | null;
13385
13765
  id?: string;
13386
13766
  invoice_due_at?: string | null;
@@ -13408,6 +13788,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13408
13788
  customer_name?: string;
13409
13789
  deleted_at?: string | null;
13410
13790
  delivery_date?: string | null;
13791
+ floriday_order_group_key?: string | null;
13411
13792
  floriday_sales_order_id?: string | null;
13412
13793
  id?: string;
13413
13794
  invoice_due_at?: string | null;
@@ -13601,6 +13982,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13601
13982
  };
13602
13983
  Relationships: [];
13603
13984
  };
13985
+ pick_buffer_event_cursor: {
13986
+ Row: {
13987
+ created_at: string;
13988
+ id: boolean;
13989
+ last_event_at: string;
13990
+ updated_at: string;
13991
+ };
13992
+ Insert: {
13993
+ created_at?: string;
13994
+ id?: boolean;
13995
+ last_event_at?: string;
13996
+ updated_at?: string;
13997
+ };
13998
+ Update: {
13999
+ created_at?: string;
14000
+ id?: boolean;
14001
+ last_event_at?: string;
14002
+ updated_at?: string;
14003
+ };
14004
+ Relationships: [];
14005
+ };
13604
14006
  pick_countries: {
13605
14007
  Row: {
13606
14008
  active: boolean;
@@ -19250,6 +19652,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19250
19652
  referencedColumns: ["id"];
19251
19653
  }];
19252
19654
  };
19655
+ voorraad_buffer_state: {
19656
+ Row: {
19657
+ buffer_id: string;
19658
+ buffer_key: string | null;
19659
+ closed_at: string | null;
19660
+ created_at: string;
19661
+ detached_orders: import("./types").Json;
19662
+ reason: string | null;
19663
+ updated_at: string;
19664
+ };
19665
+ Insert: {
19666
+ buffer_id: string;
19667
+ buffer_key?: string | null;
19668
+ closed_at?: string | null;
19669
+ created_at?: string;
19670
+ detached_orders?: import("./types").Json;
19671
+ reason?: string | null;
19672
+ updated_at?: string;
19673
+ };
19674
+ Update: {
19675
+ buffer_id?: string;
19676
+ buffer_key?: string | null;
19677
+ closed_at?: string | null;
19678
+ created_at?: string;
19679
+ detached_orders?: import("./types").Json;
19680
+ reason?: string | null;
19681
+ updated_at?: string;
19682
+ };
19683
+ Relationships: [];
19684
+ };
19253
19685
  voorraad_custom_fields: {
19254
19686
  Row: {
19255
19687
  created_at: string;
@@ -19292,6 +19724,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19292
19724
  };
19293
19725
  Relationships: [];
19294
19726
  };
19727
+ voorraad_logistics_event_log: {
19728
+ Row: {
19729
+ created_at: string;
19730
+ event_id: string;
19731
+ event_type: string;
19732
+ order_ref: string | null;
19733
+ processed_at: string;
19734
+ result: import("./types").Json;
19735
+ updated_at: string;
19736
+ };
19737
+ Insert: {
19738
+ created_at?: string;
19739
+ event_id: string;
19740
+ event_type: string;
19741
+ order_ref?: string | null;
19742
+ processed_at?: string;
19743
+ result?: import("./types").Json;
19744
+ updated_at?: string;
19745
+ };
19746
+ Update: {
19747
+ created_at?: string;
19748
+ event_id?: string;
19749
+ event_type?: string;
19750
+ order_ref?: string | null;
19751
+ processed_at?: string;
19752
+ result?: import("./types").Json;
19753
+ updated_at?: string;
19754
+ };
19755
+ Relationships: [];
19756
+ };
19295
19757
  voorraad_media_upload_failures: {
19296
19758
  Row: {
19297
19759
  action: string;
@@ -22117,6 +22579,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22117
22579
  };
22118
22580
  Returns: boolean;
22119
22581
  };
22582
+ floriday_adopt_connection: {
22583
+ Args: {
22584
+ p_new: string;
22585
+ p_old: string;
22586
+ };
22587
+ Returns: import("./types").Json;
22588
+ };
22589
+ floriday_autoheal_connections: {
22590
+ Args: never;
22591
+ Returns: import("./types").Json;
22592
+ };
22120
22593
  floriday_capture_stock_snapshot: {
22121
22594
  Args: never;
22122
22595
  Returns: number;
@@ -22174,6 +22647,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22174
22647
  };
22175
22648
  Returns: undefined;
22176
22649
  };
22650
+ floriday_relink_products: {
22651
+ Args: {
22652
+ p_connection_id?: string;
22653
+ };
22654
+ Returns: import("./types").Json;
22655
+ };
22177
22656
  floriday_requeue_dead_letters: {
22178
22657
  Args: {
22179
22658
  p_connection_id?: string;
@@ -22795,6 +23274,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22795
23274
  };
22796
23275
  Returns: string;
22797
23276
  };
23277
+ logistics_active_layout_method: {
23278
+ Args: never;
23279
+ Returns: string;
23280
+ };
22798
23281
  logistics_active_pick_workdays: {
22799
23282
  Args: never;
22800
23283
  Returns: string[];
@@ -22846,6 +23329,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22846
23329
  };
22847
23330
  Returns: import("./types").Json;
22848
23331
  };
23332
+ logistics_block_reason_code: {
23333
+ Args: {
23334
+ p_details?: import("./types").Json;
23335
+ p_reason: string;
23336
+ };
23337
+ Returns: string;
23338
+ };
23339
+ logistics_blocked_orders: {
23340
+ Args: never;
23341
+ Returns: {
23342
+ attempts: number;
23343
+ blocked_since: string;
23344
+ delivery_date: string;
23345
+ order_id: string;
23346
+ order_ref: string;
23347
+ queue_id: string;
23348
+ reason: string;
23349
+ reason_code: string;
23350
+ }[];
23351
+ };
23352
+ logistics_blocked_overview: {
23353
+ Args: never;
23354
+ Returns: import("./types").Json;
23355
+ };
22849
23356
  logistics_buffer_criteria: {
22850
23357
  Args: {
22851
23358
  p_settings: import("./types").Json;
@@ -22860,6 +23367,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22860
23367
  };
22861
23368
  Returns: import("./types").Json;
22862
23369
  };
23370
+ logistics_buffer_detach_late_orders: {
23371
+ Args: {
23372
+ p_buffer?: string;
23373
+ };
23374
+ Returns: import("./types").Json;
23375
+ };
23376
+ logistics_buffer_frozen_order: {
23377
+ Args: {
23378
+ p_order_id: string;
23379
+ };
23380
+ Returns: boolean;
23381
+ };
23382
+ logistics_buffer_handled: {
23383
+ Args: {
23384
+ p_buffer: string;
23385
+ };
23386
+ Returns: boolean;
23387
+ };
23388
+ logistics_buffer_notify: {
23389
+ Args: {
23390
+ p_event_type: string;
23391
+ p_idempotency_key: string;
23392
+ p_order_ref: string;
23393
+ p_payload: import("./types").Json;
23394
+ };
23395
+ Returns: string;
23396
+ };
23397
+ logistics_buffer_open_key: {
23398
+ Args: {
23399
+ p_base_key: string;
23400
+ };
23401
+ Returns: string;
23402
+ };
22863
23403
  logistics_buffer_simulate: {
22864
23404
  Args: {
22865
23405
  p_orders?: import("./types").Json;
@@ -22912,6 +23452,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22912
23452
  };
22913
23453
  Returns: string;
22914
23454
  };
23455
+ logistics_cart_checkin_at: {
23456
+ Args: {
23457
+ p_cart_id: string;
23458
+ };
23459
+ Returns: string;
23460
+ };
22915
23461
  logistics_cart_handled: {
22916
23462
  Args: {
22917
23463
  p_cart_index: number;
@@ -22945,10 +23491,53 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22945
23491
  task_status: string;
22946
23492
  }[];
22947
23493
  };
23494
+ logistics_cart_is_full: {
23495
+ Args: {
23496
+ p_cart_id: string;
23497
+ };
23498
+ Returns: boolean;
23499
+ };
22948
23500
  logistics_cart_layout_method: {
22949
23501
  Args: never;
22950
23502
  Returns: import("./types").Json;
22951
23503
  };
23504
+ logistics_cart_order_refs: {
23505
+ Args: {
23506
+ p_cart_id: string;
23507
+ };
23508
+ Returns: string[];
23509
+ };
23510
+ logistics_cart_plan_overview: {
23511
+ Args: {
23512
+ p_days?: number;
23513
+ };
23514
+ Returns: {
23515
+ cart_total: number;
23516
+ delivery_date: string;
23517
+ order_ref: string;
23518
+ plan_ready: boolean;
23519
+ reason: string;
23520
+ released: boolean;
23521
+ }[];
23522
+ };
23523
+ logistics_cart_plan_status: {
23524
+ Args: {
23525
+ p_ref: string;
23526
+ };
23527
+ Returns: import("./types").Json;
23528
+ };
23529
+ logistics_cart_release_reason: {
23530
+ Args: {
23531
+ p_cart_id: string;
23532
+ };
23533
+ Returns: string;
23534
+ };
23535
+ logistics_cart_released: {
23536
+ Args: {
23537
+ p_cart_id: string;
23538
+ };
23539
+ Returns: boolean;
23540
+ };
22952
23541
  logistics_cart_seq: {
22953
23542
  Args: {
22954
23543
  p_order_uuid?: string;
@@ -22999,6 +23588,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22999
23588
  unit_ref: string;
23000
23589
  }[];
23001
23590
  };
23591
+ logistics_carts_per_print: {
23592
+ Args: never;
23593
+ Returns: number;
23594
+ };
23002
23595
  logistics_check_order_allowed: {
23003
23596
  Args: {
23004
23597
  p_lines: import("./types").Json;
@@ -23102,6 +23695,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23102
23695
  isSetofReturn: false;
23103
23696
  };
23104
23697
  };
23698
+ logistics_cleanup_orphan_print_jobs: {
23699
+ Args: never;
23700
+ Returns: import("./types").Json;
23701
+ };
23105
23702
  logistics_complete_task: {
23106
23703
  Args: {
23107
23704
  p_result?: import("./types").Json;
@@ -23164,6 +23761,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23164
23761
  station_carts: number;
23165
23762
  }[];
23166
23763
  };
23764
+ logistics_control_complete_cart: {
23765
+ Args: {
23766
+ p_cart_id: string;
23767
+ };
23768
+ Returns: number;
23769
+ };
23167
23770
  logistics_control_scan_approve: {
23168
23771
  Args: {
23169
23772
  p_allow_reprint?: boolean;
@@ -23243,6 +23846,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23243
23846
  Args: never;
23244
23847
  Returns: import("./types").Json;
23245
23848
  };
23849
+ logistics_day_windows: {
23850
+ Args: {
23851
+ p_day: string;
23852
+ };
23853
+ Returns: {
23854
+ win_end: string;
23855
+ win_start: string;
23856
+ }[];
23857
+ };
23246
23858
  logistics_delay_customer_email: {
23247
23859
  Args: {
23248
23860
  p_customer: string;
@@ -23310,6 +23922,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23310
23922
  };
23311
23923
  Returns: import("./types").Json;
23312
23924
  };
23925
+ logistics_enqueue_shipping_note_with_slip: {
23926
+ Args: {
23927
+ _cart_id: string;
23928
+ _is_herprint: boolean;
23929
+ _printer_id: string;
23930
+ _queue_item_id: string;
23931
+ _session_id: string;
23932
+ _slip_job_id: string;
23933
+ };
23934
+ Returns: string;
23935
+ };
23313
23936
  logistics_enqueue_sticker_with_slip: {
23314
23937
  Args: {
23315
23938
  _cart_id: string;
@@ -23327,6 +23950,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23327
23950
  };
23328
23951
  Returns: string;
23329
23952
  };
23953
+ logistics_ensure_pick_data: {
23954
+ Args: {
23955
+ p_event_id?: string;
23956
+ p_missing?: import("./types").Json;
23957
+ p_ref: string;
23958
+ };
23959
+ Returns: import("./types").Json;
23960
+ };
23330
23961
  logistics_fail_task: {
23331
23962
  Args: {
23332
23963
  p_error: string;
@@ -23448,6 +24079,38 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23448
24079
  };
23449
24080
  Returns: string;
23450
24081
  };
24082
+ logistics_floriday_gate_status: {
24083
+ Args: never;
24084
+ Returns: import("./types").Json;
24085
+ };
24086
+ logistics_floriday_log_refusal: {
24087
+ Args: {
24088
+ _action?: string;
24089
+ _module?: string;
24090
+ _order_ref: string;
24091
+ _reason: string;
24092
+ _shell?: string;
24093
+ };
24094
+ Returns: undefined;
24095
+ };
24096
+ logistics_floriday_log_send: {
24097
+ Args: {
24098
+ _action: string;
24099
+ _detail?: string;
24100
+ _http_status?: number;
24101
+ _module?: string;
24102
+ _ok: boolean;
24103
+ _order_ref: string;
24104
+ _shell?: string;
24105
+ };
24106
+ Returns: undefined;
24107
+ };
24108
+ logistics_floriday_order_approved: {
24109
+ Args: {
24110
+ _order_ref: string;
24111
+ };
24112
+ Returns: boolean;
24113
+ };
23451
24114
  logistics_floriday_prune_pushes: {
23452
24115
  Args: {
23453
24116
  _days?: number;
@@ -23462,6 +24125,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23462
24125
  };
23463
24126
  Returns: string;
23464
24127
  };
24128
+ logistics_floriday_status_updates_enabled: {
24129
+ Args: never;
24130
+ Returns: boolean;
24131
+ };
24132
+ logistics_floriday_stock_updates_enabled: {
24133
+ Args: never;
24134
+ Returns: boolean;
24135
+ };
24136
+ logistics_floriday_write_allowed: {
24137
+ Args: {
24138
+ _action: string;
24139
+ };
24140
+ Returns: boolean;
24141
+ };
23465
24142
  logistics_fulfill_barcode_requests: {
23466
24143
  Args: {
23467
24144
  p_limit?: number;
@@ -23482,6 +24159,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23482
24159
  };
23483
24160
  Returns: boolean;
23484
24161
  };
24162
+ logistics_layout_method_status: {
24163
+ Args: never;
24164
+ Returns: import("./types").Json;
24165
+ };
24166
+ logistics_link_order_items: {
24167
+ Args: {
24168
+ p_order?: string;
24169
+ };
24170
+ Returns: import("./types").Json;
24171
+ };
23485
24172
  logistics_live_carriers: {
23486
24173
  Args: {
23487
24174
  p_order_ref: string;
@@ -23494,6 +24181,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23494
24181
  };
23495
24182
  Returns: number;
23496
24183
  };
24184
+ logistics_merge_partial_carts: {
24185
+ Args: {
24186
+ p_limit?: number;
24187
+ };
24188
+ Returns: import("./types").Json;
24189
+ };
23497
24190
  logistics_next_workday_date: {
23498
24191
  Args: {
23499
24192
  p_date: string;
@@ -23508,12 +24201,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23508
24201
  };
23509
24202
  Returns: string;
23510
24203
  };
24204
+ logistics_normalize_product_label: {
24205
+ Args: {
24206
+ p_label: string;
24207
+ };
24208
+ Returns: string;
24209
+ };
23511
24210
  logistics_not_past: {
23512
24211
  Args: {
23513
24212
  p_ts: string;
23514
24213
  };
23515
24214
  Returns: string;
23516
24215
  };
24216
+ logistics_opening_timezone: {
24217
+ Args: never;
24218
+ Returns: string;
24219
+ };
23517
24220
  logistics_order_cart_count: {
23518
24221
  Args: {
23519
24222
  p_order_ref: string;
@@ -23598,6 +24301,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23598
24301
  Args: never;
23599
24302
  Returns: import("./types").Json;
23600
24303
  };
24304
+ logistics_pick_partial_mode: {
24305
+ Args: never;
24306
+ Returns: string;
24307
+ };
23601
24308
  logistics_pick_start_estimate: {
23602
24309
  Args: {
23603
24310
  p_order: import("./types").Json;
@@ -23696,6 +24403,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23696
24403
  Args: never;
23697
24404
  Returns: number;
23698
24405
  };
24406
+ logistics_plan_retry: {
24407
+ Args: {
24408
+ p_order_ids: string[];
24409
+ };
24410
+ Returns: number;
24411
+ };
23699
24412
  logistics_plan_setting: {
23700
24413
  Args: {
23701
24414
  p_default: number;
@@ -23703,6 +24416,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23703
24416
  };
23704
24417
  Returns: number;
23705
24418
  };
24419
+ logistics_prepare_pick_documents: {
24420
+ Args: {
24421
+ p_limit?: number;
24422
+ };
24423
+ Returns: import("./types").Json;
24424
+ };
23706
24425
  logistics_prune_buffer_member_queue: {
23707
24426
  Args: never;
23708
24427
  Returns: number;
@@ -23743,12 +24462,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23743
24462
  Args: never;
23744
24463
  Returns: import("./types").Json;
23745
24464
  };
24465
+ logistics_refresh_pick_queue_status: {
24466
+ Args: {
24467
+ p_ref: string;
24468
+ };
24469
+ Returns: number;
24470
+ };
23746
24471
  logistics_refresh_pickup_moments: {
23747
24472
  Args: {
23748
24473
  p_weeks?: number;
23749
24474
  };
23750
24475
  Returns: import("./types").Json;
23751
24476
  };
24477
+ logistics_replan_all: {
24478
+ Args: {
24479
+ p_reason?: string;
24480
+ };
24481
+ Returns: import("./types").Json;
24482
+ };
24483
+ logistics_replan_all_force: {
24484
+ Args: {
24485
+ p_reason?: string;
24486
+ };
24487
+ Returns: import("./types").Json;
24488
+ };
23752
24489
  logistics_report_delay: {
23753
24490
  Args: {
23754
24491
  p_expected_date?: string;
@@ -23802,6 +24539,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23802
24539
  };
23803
24540
  Returns: import("./types").Json;
23804
24541
  };
24542
+ logistics_resolve_product_id: {
24543
+ Args: {
24544
+ p_label: string;
24545
+ };
24546
+ Returns: string;
24547
+ };
23805
24548
  logistics_resolve_settings: {
23806
24549
  Args: {
23807
24550
  p_config_id: string;
@@ -23887,6 +24630,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23887
24630
  };
23888
24631
  Returns: string;
23889
24632
  };
24633
+ logistics_shipping_note_follows_slip: {
24634
+ Args: never;
24635
+ Returns: boolean;
24636
+ };
23890
24637
  logistics_shipping_note_from_barcode: {
23891
24638
  Args: {
23892
24639
  p_allow_reprint?: boolean;
@@ -23895,10 +24642,76 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23895
24642
  };
23896
24643
  Returns: import("./types").Json;
23897
24644
  };
24645
+ logistics_shipping_note_job_for_slip: {
24646
+ Args: {
24647
+ _slip_job_id: string;
24648
+ };
24649
+ Returns: string;
24650
+ };
24651
+ logistics_slip_note_claim: {
24652
+ Args: {
24653
+ _lease_seconds?: number;
24654
+ _limit?: number;
24655
+ };
24656
+ Returns: {
24657
+ attempts: number;
24658
+ batch_key: string | null;
24659
+ cart_id: string | null;
24660
+ created_at: string;
24661
+ error: string | null;
24662
+ error_code: string | null;
24663
+ fulfillment_order_id: string | null;
24664
+ id: string;
24665
+ locked_until: string | null;
24666
+ next_attempt_at: string | null;
24667
+ order_id: string | null;
24668
+ order_number: string | null;
24669
+ print_job_id: string | null;
24670
+ printer_id: string | null;
24671
+ retry_class: string | null;
24672
+ slip_job_id: string;
24673
+ status: string;
24674
+ updated_at: string;
24675
+ }[];
24676
+ SetofOptions: {
24677
+ from: "*";
24678
+ to: "logistics_slip_shipping_note";
24679
+ isOneToOne: false;
24680
+ isSetofReturn: true;
24681
+ };
24682
+ };
24683
+ logistics_slip_note_finish: {
24684
+ Args: {
24685
+ _error?: string;
24686
+ _error_code?: string;
24687
+ _fulfillment_order_id?: string;
24688
+ _id: string;
24689
+ _ok: boolean;
24690
+ _print_job_id?: string;
24691
+ _status?: string;
24692
+ };
24693
+ Returns: undefined;
24694
+ };
24695
+ logistics_slip_note_keep_waiting: {
24696
+ Args: {
24697
+ _class?: string;
24698
+ _id: string;
24699
+ _reason: string;
24700
+ };
24701
+ Returns: undefined;
24702
+ };
23898
24703
  logistics_sticker_follows_slip: {
23899
24704
  Args: never;
23900
24705
  Returns: boolean;
23901
24706
  };
24707
+ logistics_subtract_working_minutes: {
24708
+ Args: {
24709
+ p_deadline: string;
24710
+ p_max_workdays?: number;
24711
+ p_minutes: number;
24712
+ };
24713
+ Returns: import("./types").Json;
24714
+ };
23902
24715
  logistics_supersede_stale_tasks: {
23903
24716
  Args: {
23904
24717
  p_keep: string[];
@@ -23931,6 +24744,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23931
24744
  };
23932
24745
  Returns: number;
23933
24746
  };
24747
+ logistics_tick_ping: {
24748
+ Args: never;
24749
+ Returns: string;
24750
+ };
24751
+ logistics_timezone_options: {
24752
+ Args: never;
24753
+ Returns: {
24754
+ name: string;
24755
+ }[];
24756
+ };
23934
24757
  logistics_upsert_task: {
23935
24758
  Args: {
23936
24759
  p_buffer_ref: string;
@@ -23950,6 +24773,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23950
24773
  };
23951
24774
  Returns: string;
23952
24775
  };
24776
+ logistics_valid_timezone: {
24777
+ Args: {
24778
+ _tz: string;
24779
+ };
24780
+ Returns: boolean;
24781
+ };
24782
+ logistics_working_hours_status: {
24783
+ Args: never;
24784
+ Returns: import("./types").Json;
24785
+ };
23953
24786
  logistics_write_buffer_layer_positions: {
23954
24787
  Args: {
23955
24788
  p_buffer_id: string;
@@ -24074,6 +24907,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
24074
24907
  };
24075
24908
  Returns: import("./types").Json;
24076
24909
  };
24910
+ order_heeft_bevestigde_karren: {
24911
+ Args: {
24912
+ p_order_id: string;
24913
+ };
24914
+ Returns: boolean;
24915
+ };
24077
24916
  order_number_prefix: {
24078
24917
  Args: {
24079
24918
  p_custom_fields?: import("./types").Json;
@@ -24109,6 +24948,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
24109
24948
  online: boolean;
24110
24949
  }[];
24111
24950
  };
24951
+ pick_apply_buffer_events: {
24952
+ Args: never;
24953
+ Returns: import("./types").Json;
24954
+ };
24112
24955
  pick_available_pick_days: {
24113
24956
  Args: {
24114
24957
  _max_days?: number;
@@ -24118,6 +24961,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
24118
24961
  pick_day: string;
24119
24962
  }[];
24120
24963
  };
24964
+ pick_buffer_order_ids: {
24965
+ Args: {
24966
+ _order_id: string;
24967
+ };
24968
+ Returns: string[];
24969
+ };
24121
24970
  pick_cart_breakdown: {
24122
24971
  Args: {
24123
24972
  _order_id: string;
@@ -24177,6 +25026,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
24177
25026
  pick_claim_next_document: {
24178
25027
  Args: {
24179
25028
  _country_code: string;
25029
+ _pick_day?: string;
24180
25030
  _screen_id: string;
24181
25031
  _session_id: string;
24182
25032
  _station_id: string;
@@ -24465,6 +25315,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
24465
25315
  omschrijving: string;
24466
25316
  }[];
24467
25317
  };
25318
+ pick_queue_cart_plan: {
25319
+ Args: {
25320
+ _queue_item_id: string;
25321
+ };
25322
+ Returns: import("./types").Json;
25323
+ };
24468
25324
  pick_reference_data_status: {
24469
25325
  Args: never;
24470
25326
  Returns: import("./types").Json;
@@ -24479,6 +25335,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
24479
25335
  };
24480
25336
  Returns: undefined;
24481
25337
  };
25338
+ pick_report_missing_cart_plan: {
25339
+ Args: never;
25340
+ Returns: import("./types").Json;
25341
+ };
24482
25342
  pick_reprint_cart: {
24483
25343
  Args: {
24484
25344
  _cart_id: string;
@@ -25019,6 +25879,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
25019
25879
  };
25020
25880
  Returns: boolean;
25021
25881
  };
25882
+ release_job_lock: {
25883
+ Args: {
25884
+ _key: string;
25885
+ };
25886
+ Returns: undefined;
25887
+ };
25022
25888
  release_local_pdf_job: {
25023
25889
  Args: {
25024
25890
  _job_id: string;
@@ -25208,6 +26074,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
25208
26074
  };
25209
26075
  Returns: import("./types").Json;
25210
26076
  };
26077
+ scan_log_code: {
26078
+ Args: {
26079
+ p_code: string;
26080
+ p_latency_ms?: number;
26081
+ p_message?: string;
26082
+ p_result: string;
26083
+ p_scanner_key?: string;
26084
+ };
26085
+ Returns: string;
26086
+ };
25211
26087
  scan_open_pakbonnen: {
25212
26088
  Args: {
25213
26089
  p_dagen?: number;
@@ -25352,6 +26228,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
25352
26228
  };
25353
26229
  Returns: number;
25354
26230
  };
26231
+ schedule_floriday_catalog_prices_sync: {
26232
+ Args: {
26233
+ p_apikey: string;
26234
+ p_url: string;
26235
+ };
26236
+ Returns: number;
26237
+ };
25355
26238
  schedule_floriday_clock_presales_sync: {
25356
26239
  Args: {
25357
26240
  p_apikey: string;
@@ -25652,6 +26535,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
25652
26535
  };
25653
26536
  Returns: undefined;
25654
26537
  };
26538
+ sync_floriday_prices_into_price_groups: {
26539
+ Args: never;
26540
+ Returns: number;
26541
+ };
25655
26542
  sync_layer_stock: {
25656
26543
  Args: {
25657
26544
  p_product_id: string;
@@ -25697,6 +26584,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
25697
26584
  row_count: number;
25698
26585
  }[];
25699
26586
  };
26587
+ try_acquire_job_lock: {
26588
+ Args: {
26589
+ _key: string;
26590
+ _owner?: string;
26591
+ _seconds?: number;
26592
+ };
26593
+ Returns: boolean;
26594
+ };
25700
26595
  try_debtor_lock: {
25701
26596
  Args: {
25702
26597
  _group_key: string;