@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
@@ -2154,6 +2154,8 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
2154
2154
  created_at: string;
2155
2155
  currency: string;
2156
2156
  distribute_over: string | null;
2157
+ external_id: string | null;
2158
+ external_synced_at: string | null;
2157
2159
  group_type: string;
2158
2160
  handling_fee: number | null;
2159
2161
  id: string;
@@ -2166,6 +2168,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
2166
2168
  rounding: string;
2167
2169
  rounding_step: number;
2168
2170
  sort_order: number;
2171
+ source: string;
2169
2172
  unit: string;
2170
2173
  updated_at: string;
2171
2174
  };
@@ -2176,6 +2179,8 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
2176
2179
  created_at?: string;
2177
2180
  currency?: string;
2178
2181
  distribute_over?: string | null;
2182
+ external_id?: string | null;
2183
+ external_synced_at?: string | null;
2179
2184
  group_type?: string;
2180
2185
  handling_fee?: number | null;
2181
2186
  id?: string;
@@ -2188,6 +2193,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
2188
2193
  rounding?: string;
2189
2194
  rounding_step?: number;
2190
2195
  sort_order?: number;
2196
+ source?: string;
2191
2197
  unit?: string;
2192
2198
  updated_at?: string;
2193
2199
  };
@@ -2198,6 +2204,8 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
2198
2204
  created_at?: string;
2199
2205
  currency?: string;
2200
2206
  distribute_over?: string | null;
2207
+ external_id?: string | null;
2208
+ external_synced_at?: string | null;
2201
2209
  group_type?: string;
2202
2210
  handling_fee?: number | null;
2203
2211
  id?: string;
@@ -2210,6 +2218,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
2210
2218
  rounding?: string;
2211
2219
  rounding_step?: number;
2212
2220
  sort_order?: number;
2221
+ source?: string;
2213
2222
  unit?: string;
2214
2223
  updated_at?: string;
2215
2224
  };
@@ -5800,6 +5809,84 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
5800
5809
  referencedColumns: ["id"];
5801
5810
  }];
5802
5811
  };
5812
+ floriday_catalog_prices_cache: {
5813
+ Row: {
5814
+ connection_id: string;
5815
+ created_at: string;
5816
+ currency: string;
5817
+ id: string;
5818
+ is_deleted: boolean;
5819
+ price: number | null;
5820
+ price_group_id: string | null;
5821
+ price_group_name: string | null;
5822
+ price_type: string;
5823
+ raw: import("../integrations/supabase/types").Json | null;
5824
+ sales_unit: string | null;
5825
+ sequence_number: number;
5826
+ supplier_article_code: string | null;
5827
+ supply_line_id: string;
5828
+ synced_at: string;
5829
+ trade_item_id: string | null;
5830
+ updated_at: string;
5831
+ valid_from: string | null;
5832
+ valid_to: string | null;
5833
+ week: number | null;
5834
+ year: number | null;
5835
+ };
5836
+ Insert: {
5837
+ connection_id: string;
5838
+ created_at?: string;
5839
+ currency?: string;
5840
+ id?: string;
5841
+ is_deleted?: boolean;
5842
+ price?: number | null;
5843
+ price_group_id?: string | null;
5844
+ price_group_name?: string | null;
5845
+ price_type?: string;
5846
+ raw?: import("../integrations/supabase/types").Json | null;
5847
+ sales_unit?: string | null;
5848
+ sequence_number?: number;
5849
+ supplier_article_code?: string | null;
5850
+ supply_line_id: string;
5851
+ synced_at?: string;
5852
+ trade_item_id?: string | null;
5853
+ updated_at?: string;
5854
+ valid_from?: string | null;
5855
+ valid_to?: string | null;
5856
+ week?: number | null;
5857
+ year?: number | null;
5858
+ };
5859
+ Update: {
5860
+ connection_id?: string;
5861
+ created_at?: string;
5862
+ currency?: string;
5863
+ id?: string;
5864
+ is_deleted?: boolean;
5865
+ price?: number | null;
5866
+ price_group_id?: string | null;
5867
+ price_group_name?: string | null;
5868
+ price_type?: string;
5869
+ raw?: import("../integrations/supabase/types").Json | null;
5870
+ sales_unit?: string | null;
5871
+ sequence_number?: number;
5872
+ supplier_article_code?: string | null;
5873
+ supply_line_id?: string;
5874
+ synced_at?: string;
5875
+ trade_item_id?: string | null;
5876
+ updated_at?: string;
5877
+ valid_from?: string | null;
5878
+ valid_to?: string | null;
5879
+ week?: number | null;
5880
+ year?: number | null;
5881
+ };
5882
+ Relationships: [{
5883
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
5884
+ columns: ["connection_id"];
5885
+ isOneToOne: false;
5886
+ referencedRelation: "floriday_connections";
5887
+ referencedColumns: ["id"];
5888
+ }];
5889
+ };
5803
5890
  floriday_clock_presales_cache: {
5804
5891
  Row: {
5805
5892
  buyer_organization_id: string | null;
@@ -9073,6 +9160,30 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
9073
9160
  referencedColumns: ["id"];
9074
9161
  }];
9075
9162
  };
9163
+ job_locks: {
9164
+ Row: {
9165
+ created_at: string;
9166
+ lock_key: string;
9167
+ locked_until: string;
9168
+ owner: string | null;
9169
+ updated_at: string;
9170
+ };
9171
+ Insert: {
9172
+ created_at?: string;
9173
+ lock_key: string;
9174
+ locked_until: string;
9175
+ owner?: string | null;
9176
+ updated_at?: string;
9177
+ };
9178
+ Update: {
9179
+ created_at?: string;
9180
+ lock_key?: string;
9181
+ locked_until?: string;
9182
+ owner?: string | null;
9183
+ updated_at?: string;
9184
+ };
9185
+ Relationships: [];
9186
+ };
9076
9187
  layout_logos: {
9077
9188
  Row: {
9078
9189
  bestand_url: string;
@@ -10042,6 +10153,36 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
10042
10153
  };
10043
10154
  Relationships: [];
10044
10155
  };
10156
+ logistics_floriday_push_refusals: {
10157
+ Row: {
10158
+ action: string | null;
10159
+ created_at: string;
10160
+ id: string;
10161
+ order_ref: string;
10162
+ reason: string;
10163
+ source_module: string | null;
10164
+ source_shell: string | null;
10165
+ };
10166
+ Insert: {
10167
+ action?: string | null;
10168
+ created_at?: string;
10169
+ id?: string;
10170
+ order_ref: string;
10171
+ reason: string;
10172
+ source_module?: string | null;
10173
+ source_shell?: string | null;
10174
+ };
10175
+ Update: {
10176
+ action?: string | null;
10177
+ created_at?: string;
10178
+ id?: string;
10179
+ order_ref?: string;
10180
+ reason?: string;
10181
+ source_module?: string | null;
10182
+ source_shell?: string | null;
10183
+ };
10184
+ Relationships: [];
10185
+ };
10045
10186
  logistics_floriday_pushes: {
10046
10187
  Row: {
10047
10188
  attempts: number;
@@ -10117,6 +10258,42 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
10117
10258
  };
10118
10259
  Relationships: [];
10119
10260
  };
10261
+ logistics_floriday_status_sends: {
10262
+ Row: {
10263
+ action: string;
10264
+ created_at: string;
10265
+ detail: string | null;
10266
+ http_status: number | null;
10267
+ id: string;
10268
+ ok: boolean;
10269
+ order_ref: string;
10270
+ source_module: string | null;
10271
+ source_shell: string | null;
10272
+ };
10273
+ Insert: {
10274
+ action: string;
10275
+ created_at?: string;
10276
+ detail?: string | null;
10277
+ http_status?: number | null;
10278
+ id?: string;
10279
+ ok?: boolean;
10280
+ order_ref: string;
10281
+ source_module?: string | null;
10282
+ source_shell?: string | null;
10283
+ };
10284
+ Update: {
10285
+ action?: string;
10286
+ created_at?: string;
10287
+ detail?: string | null;
10288
+ http_status?: number | null;
10289
+ id?: string;
10290
+ ok?: boolean;
10291
+ order_ref?: string;
10292
+ source_module?: string | null;
10293
+ source_shell?: string | null;
10294
+ };
10295
+ Relationships: [];
10296
+ };
10120
10297
  logistics_formulas: {
10121
10298
  Row: {
10122
10299
  created_at: string;
@@ -10189,6 +10366,108 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
10189
10366
  };
10190
10367
  Relationships: [];
10191
10368
  };
10369
+ logistics_opening_exceptions: {
10370
+ Row: {
10371
+ closes: string | null;
10372
+ created_at: string;
10373
+ day: string;
10374
+ id: string;
10375
+ is_closed: boolean;
10376
+ note: string | null;
10377
+ opens: string | null;
10378
+ };
10379
+ Insert: {
10380
+ closes?: string | null;
10381
+ created_at?: string;
10382
+ day: string;
10383
+ id?: string;
10384
+ is_closed?: boolean;
10385
+ note?: string | null;
10386
+ opens?: string | null;
10387
+ };
10388
+ Update: {
10389
+ closes?: string | null;
10390
+ created_at?: string;
10391
+ day?: string;
10392
+ id?: string;
10393
+ is_closed?: boolean;
10394
+ note?: string | null;
10395
+ opens?: string | null;
10396
+ };
10397
+ Relationships: [];
10398
+ };
10399
+ logistics_opening_hours: {
10400
+ Row: {
10401
+ closes: string;
10402
+ created_at: string;
10403
+ id: string;
10404
+ is_active: boolean;
10405
+ note: string | null;
10406
+ opens: string;
10407
+ weekday: number;
10408
+ };
10409
+ Insert: {
10410
+ closes: string;
10411
+ created_at?: string;
10412
+ id?: string;
10413
+ is_active?: boolean;
10414
+ note?: string | null;
10415
+ opens: string;
10416
+ weekday: number;
10417
+ };
10418
+ Update: {
10419
+ closes?: string;
10420
+ created_at?: string;
10421
+ id?: string;
10422
+ is_active?: boolean;
10423
+ note?: string | null;
10424
+ opens?: string;
10425
+ weekday?: number;
10426
+ };
10427
+ Relationships: [];
10428
+ };
10429
+ logistics_pick_data_requests: {
10430
+ Row: {
10431
+ actions: import("../integrations/supabase/types").Json;
10432
+ created_at: string;
10433
+ event_id: string | null;
10434
+ finished_at: string | null;
10435
+ id: string;
10436
+ missing: import("../integrations/supabase/types").Json;
10437
+ order_ref: string;
10438
+ reason: string | null;
10439
+ result: import("../integrations/supabase/types").Json | null;
10440
+ status: string;
10441
+ unit_ref: string | null;
10442
+ };
10443
+ Insert: {
10444
+ actions?: import("../integrations/supabase/types").Json;
10445
+ created_at?: string;
10446
+ event_id?: string | null;
10447
+ finished_at?: string | null;
10448
+ id?: string;
10449
+ missing?: import("../integrations/supabase/types").Json;
10450
+ order_ref: string;
10451
+ reason?: string | null;
10452
+ result?: import("../integrations/supabase/types").Json | null;
10453
+ status?: string;
10454
+ unit_ref?: string | null;
10455
+ };
10456
+ Update: {
10457
+ actions?: import("../integrations/supabase/types").Json;
10458
+ created_at?: string;
10459
+ event_id?: string | null;
10460
+ finished_at?: string | null;
10461
+ id?: string;
10462
+ missing?: import("../integrations/supabase/types").Json;
10463
+ order_ref?: string;
10464
+ reason?: string | null;
10465
+ result?: import("../integrations/supabase/types").Json | null;
10466
+ status?: string;
10467
+ unit_ref?: string | null;
10468
+ };
10469
+ Relationships: [];
10470
+ };
10192
10471
  logistics_pickup_moments: {
10193
10472
  Row: {
10194
10473
  carrier_ref: string | null;
@@ -10235,6 +10514,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
10235
10514
  next_attempt_at: string;
10236
10515
  order_id: string;
10237
10516
  reason: string;
10517
+ reason_code: string | null;
10238
10518
  status: string;
10239
10519
  updated_at: string;
10240
10520
  };
@@ -10247,6 +10527,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
10247
10527
  next_attempt_at?: string;
10248
10528
  order_id: string;
10249
10529
  reason?: string;
10530
+ reason_code?: string | null;
10250
10531
  status?: string;
10251
10532
  updated_at?: string;
10252
10533
  };
@@ -10259,6 +10540,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
10259
10540
  next_attempt_at?: string;
10260
10541
  order_id?: string;
10261
10542
  reason?: string;
10543
+ reason_code?: string | null;
10262
10544
  status?: string;
10263
10545
  updated_at?: string;
10264
10546
  };
@@ -10645,6 +10927,69 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
10645
10927
  };
10646
10928
  Relationships: [];
10647
10929
  };
10930
+ logistics_slip_shipping_note: {
10931
+ Row: {
10932
+ attempts: number;
10933
+ batch_key: string | null;
10934
+ cart_id: string | null;
10935
+ created_at: string;
10936
+ error: string | null;
10937
+ error_code: string | null;
10938
+ fulfillment_order_id: string | null;
10939
+ id: string;
10940
+ locked_until: string | null;
10941
+ next_attempt_at: string | null;
10942
+ order_id: string | null;
10943
+ order_number: string | null;
10944
+ print_job_id: string | null;
10945
+ printer_id: string | null;
10946
+ retry_class: string | null;
10947
+ slip_job_id: string;
10948
+ status: string;
10949
+ updated_at: string;
10950
+ };
10951
+ Insert: {
10952
+ attempts?: number;
10953
+ batch_key?: string | null;
10954
+ cart_id?: string | null;
10955
+ created_at?: string;
10956
+ error?: string | null;
10957
+ error_code?: string | null;
10958
+ fulfillment_order_id?: string | null;
10959
+ id?: string;
10960
+ locked_until?: string | null;
10961
+ next_attempt_at?: string | null;
10962
+ order_id?: string | null;
10963
+ order_number?: string | null;
10964
+ print_job_id?: string | null;
10965
+ printer_id?: string | null;
10966
+ retry_class?: string | null;
10967
+ slip_job_id: string;
10968
+ status?: string;
10969
+ updated_at?: string;
10970
+ };
10971
+ Update: {
10972
+ attempts?: number;
10973
+ batch_key?: string | null;
10974
+ cart_id?: string | null;
10975
+ created_at?: string;
10976
+ error?: string | null;
10977
+ error_code?: string | null;
10978
+ fulfillment_order_id?: string | null;
10979
+ id?: string;
10980
+ locked_until?: string | null;
10981
+ next_attempt_at?: string | null;
10982
+ order_id?: string | null;
10983
+ order_number?: string | null;
10984
+ print_job_id?: string | null;
10985
+ printer_id?: string | null;
10986
+ retry_class?: string | null;
10987
+ slip_job_id?: string;
10988
+ status?: string;
10989
+ updated_at?: string;
10990
+ };
10991
+ Relationships: [];
10992
+ };
10648
10993
  logistics_staff_planning: {
10649
10994
  Row: {
10650
10995
  created_at: string;
@@ -10963,6 +11308,39 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
10963
11308
  referencedColumns: ["id"];
10964
11309
  }];
10965
11310
  };
11311
+ logistics_tick_heartbeat: {
11312
+ Row: {
11313
+ id: boolean;
11314
+ last_tick_at: string;
11315
+ };
11316
+ Insert: {
11317
+ id?: boolean;
11318
+ last_tick_at?: string;
11319
+ };
11320
+ Update: {
11321
+ id?: boolean;
11322
+ last_tick_at?: string;
11323
+ };
11324
+ Relationships: [];
11325
+ };
11326
+ logistics_time_settings: {
11327
+ Row: {
11328
+ id: boolean;
11329
+ timezone: string;
11330
+ updated_at: string;
11331
+ };
11332
+ Insert: {
11333
+ id?: boolean;
11334
+ timezone: string;
11335
+ updated_at?: string;
11336
+ };
11337
+ Update: {
11338
+ id?: boolean;
11339
+ timezone?: string;
11340
+ updated_at?: string;
11341
+ };
11342
+ Relationships: [];
11343
+ };
10966
11344
  logistics_variables: {
10967
11345
  Row: {
10968
11346
  created_at: string;
@@ -13353,6 +13731,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
13353
13731
  customer_name: string;
13354
13732
  deleted_at: string | null;
13355
13733
  delivery_date: string | null;
13734
+ floriday_order_group_key: string | null;
13356
13735
  floriday_sales_order_id: string | null;
13357
13736
  id: string;
13358
13737
  invoice_due_at: string | null;
@@ -13380,6 +13759,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
13380
13759
  customer_name?: string;
13381
13760
  deleted_at?: string | null;
13382
13761
  delivery_date?: string | null;
13762
+ floriday_order_group_key?: string | null;
13383
13763
  floriday_sales_order_id?: string | null;
13384
13764
  id?: string;
13385
13765
  invoice_due_at?: string | null;
@@ -13407,6 +13787,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
13407
13787
  customer_name?: string;
13408
13788
  deleted_at?: string | null;
13409
13789
  delivery_date?: string | null;
13790
+ floriday_order_group_key?: string | null;
13410
13791
  floriday_sales_order_id?: string | null;
13411
13792
  id?: string;
13412
13793
  invoice_due_at?: string | null;
@@ -13600,6 +13981,27 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
13600
13981
  };
13601
13982
  Relationships: [];
13602
13983
  };
13984
+ pick_buffer_event_cursor: {
13985
+ Row: {
13986
+ created_at: string;
13987
+ id: boolean;
13988
+ last_event_at: string;
13989
+ updated_at: string;
13990
+ };
13991
+ Insert: {
13992
+ created_at?: string;
13993
+ id?: boolean;
13994
+ last_event_at?: string;
13995
+ updated_at?: string;
13996
+ };
13997
+ Update: {
13998
+ created_at?: string;
13999
+ id?: boolean;
14000
+ last_event_at?: string;
14001
+ updated_at?: string;
14002
+ };
14003
+ Relationships: [];
14004
+ };
13603
14005
  pick_countries: {
13604
14006
  Row: {
13605
14007
  active: boolean;
@@ -19249,6 +19651,36 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
19249
19651
  referencedColumns: ["id"];
19250
19652
  }];
19251
19653
  };
19654
+ voorraad_buffer_state: {
19655
+ Row: {
19656
+ buffer_id: string;
19657
+ buffer_key: string | null;
19658
+ closed_at: string | null;
19659
+ created_at: string;
19660
+ detached_orders: import("../integrations/supabase/types").Json;
19661
+ reason: string | null;
19662
+ updated_at: string;
19663
+ };
19664
+ Insert: {
19665
+ buffer_id: string;
19666
+ buffer_key?: string | null;
19667
+ closed_at?: string | null;
19668
+ created_at?: string;
19669
+ detached_orders?: import("../integrations/supabase/types").Json;
19670
+ reason?: string | null;
19671
+ updated_at?: string;
19672
+ };
19673
+ Update: {
19674
+ buffer_id?: string;
19675
+ buffer_key?: string | null;
19676
+ closed_at?: string | null;
19677
+ created_at?: string;
19678
+ detached_orders?: import("../integrations/supabase/types").Json;
19679
+ reason?: string | null;
19680
+ updated_at?: string;
19681
+ };
19682
+ Relationships: [];
19683
+ };
19252
19684
  voorraad_custom_fields: {
19253
19685
  Row: {
19254
19686
  created_at: string;
@@ -19291,6 +19723,36 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
19291
19723
  };
19292
19724
  Relationships: [];
19293
19725
  };
19726
+ voorraad_logistics_event_log: {
19727
+ Row: {
19728
+ created_at: string;
19729
+ event_id: string;
19730
+ event_type: string;
19731
+ order_ref: string | null;
19732
+ processed_at: string;
19733
+ result: import("../integrations/supabase/types").Json;
19734
+ updated_at: string;
19735
+ };
19736
+ Insert: {
19737
+ created_at?: string;
19738
+ event_id: string;
19739
+ event_type: string;
19740
+ order_ref?: string | null;
19741
+ processed_at?: string;
19742
+ result?: import("../integrations/supabase/types").Json;
19743
+ updated_at?: string;
19744
+ };
19745
+ Update: {
19746
+ created_at?: string;
19747
+ event_id?: string;
19748
+ event_type?: string;
19749
+ order_ref?: string | null;
19750
+ processed_at?: string;
19751
+ result?: import("../integrations/supabase/types").Json;
19752
+ updated_at?: string;
19753
+ };
19754
+ Relationships: [];
19755
+ };
19294
19756
  voorraad_media_upload_failures: {
19295
19757
  Row: {
19296
19758
  action: string;
@@ -22116,6 +22578,17 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
22116
22578
  };
22117
22579
  Returns: boolean;
22118
22580
  };
22581
+ floriday_adopt_connection: {
22582
+ Args: {
22583
+ p_new: string;
22584
+ p_old: string;
22585
+ };
22586
+ Returns: import("../integrations/supabase/types").Json;
22587
+ };
22588
+ floriday_autoheal_connections: {
22589
+ Args: never;
22590
+ Returns: import("../integrations/supabase/types").Json;
22591
+ };
22119
22592
  floriday_capture_stock_snapshot: {
22120
22593
  Args: never;
22121
22594
  Returns: number;
@@ -22173,6 +22646,12 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
22173
22646
  };
22174
22647
  Returns: undefined;
22175
22648
  };
22649
+ floriday_relink_products: {
22650
+ Args: {
22651
+ p_connection_id?: string;
22652
+ };
22653
+ Returns: import("../integrations/supabase/types").Json;
22654
+ };
22176
22655
  floriday_requeue_dead_letters: {
22177
22656
  Args: {
22178
22657
  p_connection_id?: string;
@@ -22794,6 +23273,10 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
22794
23273
  };
22795
23274
  Returns: string;
22796
23275
  };
23276
+ logistics_active_layout_method: {
23277
+ Args: never;
23278
+ Returns: string;
23279
+ };
22797
23280
  logistics_active_pick_workdays: {
22798
23281
  Args: never;
22799
23282
  Returns: string[];
@@ -22845,6 +23328,30 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
22845
23328
  };
22846
23329
  Returns: import("../integrations/supabase/types").Json;
22847
23330
  };
23331
+ logistics_block_reason_code: {
23332
+ Args: {
23333
+ p_details?: import("../integrations/supabase/types").Json;
23334
+ p_reason: string;
23335
+ };
23336
+ Returns: string;
23337
+ };
23338
+ logistics_blocked_orders: {
23339
+ Args: never;
23340
+ Returns: {
23341
+ attempts: number;
23342
+ blocked_since: string;
23343
+ delivery_date: string;
23344
+ order_id: string;
23345
+ order_ref: string;
23346
+ queue_id: string;
23347
+ reason: string;
23348
+ reason_code: string;
23349
+ }[];
23350
+ };
23351
+ logistics_blocked_overview: {
23352
+ Args: never;
23353
+ Returns: import("../integrations/supabase/types").Json;
23354
+ };
22848
23355
  logistics_buffer_criteria: {
22849
23356
  Args: {
22850
23357
  p_settings: import("../integrations/supabase/types").Json;
@@ -22859,6 +23366,39 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
22859
23366
  };
22860
23367
  Returns: import("../integrations/supabase/types").Json;
22861
23368
  };
23369
+ logistics_buffer_detach_late_orders: {
23370
+ Args: {
23371
+ p_buffer?: string;
23372
+ };
23373
+ Returns: import("../integrations/supabase/types").Json;
23374
+ };
23375
+ logistics_buffer_frozen_order: {
23376
+ Args: {
23377
+ p_order_id: string;
23378
+ };
23379
+ Returns: boolean;
23380
+ };
23381
+ logistics_buffer_handled: {
23382
+ Args: {
23383
+ p_buffer: string;
23384
+ };
23385
+ Returns: boolean;
23386
+ };
23387
+ logistics_buffer_notify: {
23388
+ Args: {
23389
+ p_event_type: string;
23390
+ p_idempotency_key: string;
23391
+ p_order_ref: string;
23392
+ p_payload: import("../integrations/supabase/types").Json;
23393
+ };
23394
+ Returns: string;
23395
+ };
23396
+ logistics_buffer_open_key: {
23397
+ Args: {
23398
+ p_base_key: string;
23399
+ };
23400
+ Returns: string;
23401
+ };
22862
23402
  logistics_buffer_simulate: {
22863
23403
  Args: {
22864
23404
  p_orders?: import("../integrations/supabase/types").Json;
@@ -22911,6 +23451,12 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
22911
23451
  };
22912
23452
  Returns: string;
22913
23453
  };
23454
+ logistics_cart_checkin_at: {
23455
+ Args: {
23456
+ p_cart_id: string;
23457
+ };
23458
+ Returns: string;
23459
+ };
22914
23460
  logistics_cart_handled: {
22915
23461
  Args: {
22916
23462
  p_cart_index: number;
@@ -22944,10 +23490,53 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
22944
23490
  task_status: string;
22945
23491
  }[];
22946
23492
  };
23493
+ logistics_cart_is_full: {
23494
+ Args: {
23495
+ p_cart_id: string;
23496
+ };
23497
+ Returns: boolean;
23498
+ };
22947
23499
  logistics_cart_layout_method: {
22948
23500
  Args: never;
22949
23501
  Returns: import("../integrations/supabase/types").Json;
22950
23502
  };
23503
+ logistics_cart_order_refs: {
23504
+ Args: {
23505
+ p_cart_id: string;
23506
+ };
23507
+ Returns: string[];
23508
+ };
23509
+ logistics_cart_plan_overview: {
23510
+ Args: {
23511
+ p_days?: number;
23512
+ };
23513
+ Returns: {
23514
+ cart_total: number;
23515
+ delivery_date: string;
23516
+ order_ref: string;
23517
+ plan_ready: boolean;
23518
+ reason: string;
23519
+ released: boolean;
23520
+ }[];
23521
+ };
23522
+ logistics_cart_plan_status: {
23523
+ Args: {
23524
+ p_ref: string;
23525
+ };
23526
+ Returns: import("../integrations/supabase/types").Json;
23527
+ };
23528
+ logistics_cart_release_reason: {
23529
+ Args: {
23530
+ p_cart_id: string;
23531
+ };
23532
+ Returns: string;
23533
+ };
23534
+ logistics_cart_released: {
23535
+ Args: {
23536
+ p_cart_id: string;
23537
+ };
23538
+ Returns: boolean;
23539
+ };
22951
23540
  logistics_cart_seq: {
22952
23541
  Args: {
22953
23542
  p_order_uuid?: string;
@@ -22998,6 +23587,10 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
22998
23587
  unit_ref: string;
22999
23588
  }[];
23000
23589
  };
23590
+ logistics_carts_per_print: {
23591
+ Args: never;
23592
+ Returns: number;
23593
+ };
23001
23594
  logistics_check_order_allowed: {
23002
23595
  Args: {
23003
23596
  p_lines: import("../integrations/supabase/types").Json;
@@ -23101,6 +23694,10 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23101
23694
  isSetofReturn: false;
23102
23695
  };
23103
23696
  };
23697
+ logistics_cleanup_orphan_print_jobs: {
23698
+ Args: never;
23699
+ Returns: import("../integrations/supabase/types").Json;
23700
+ };
23104
23701
  logistics_complete_task: {
23105
23702
  Args: {
23106
23703
  p_result?: import("../integrations/supabase/types").Json;
@@ -23163,6 +23760,12 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23163
23760
  station_carts: number;
23164
23761
  }[];
23165
23762
  };
23763
+ logistics_control_complete_cart: {
23764
+ Args: {
23765
+ p_cart_id: string;
23766
+ };
23767
+ Returns: number;
23768
+ };
23166
23769
  logistics_control_scan_approve: {
23167
23770
  Args: {
23168
23771
  p_allow_reprint?: boolean;
@@ -23242,6 +23845,15 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23242
23845
  Args: never;
23243
23846
  Returns: import("../integrations/supabase/types").Json;
23244
23847
  };
23848
+ logistics_day_windows: {
23849
+ Args: {
23850
+ p_day: string;
23851
+ };
23852
+ Returns: {
23853
+ win_end: string;
23854
+ win_start: string;
23855
+ }[];
23856
+ };
23245
23857
  logistics_delay_customer_email: {
23246
23858
  Args: {
23247
23859
  p_customer: string;
@@ -23309,6 +23921,17 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23309
23921
  };
23310
23922
  Returns: import("../integrations/supabase/types").Json;
23311
23923
  };
23924
+ logistics_enqueue_shipping_note_with_slip: {
23925
+ Args: {
23926
+ _cart_id: string;
23927
+ _is_herprint: boolean;
23928
+ _printer_id: string;
23929
+ _queue_item_id: string;
23930
+ _session_id: string;
23931
+ _slip_job_id: string;
23932
+ };
23933
+ Returns: string;
23934
+ };
23312
23935
  logistics_enqueue_sticker_with_slip: {
23313
23936
  Args: {
23314
23937
  _cart_id: string;
@@ -23326,6 +23949,14 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23326
23949
  };
23327
23950
  Returns: string;
23328
23951
  };
23952
+ logistics_ensure_pick_data: {
23953
+ Args: {
23954
+ p_event_id?: string;
23955
+ p_missing?: import("../integrations/supabase/types").Json;
23956
+ p_ref: string;
23957
+ };
23958
+ Returns: import("../integrations/supabase/types").Json;
23959
+ };
23329
23960
  logistics_fail_task: {
23330
23961
  Args: {
23331
23962
  p_error: string;
@@ -23447,6 +24078,38 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23447
24078
  };
23448
24079
  Returns: string;
23449
24080
  };
24081
+ logistics_floriday_gate_status: {
24082
+ Args: never;
24083
+ Returns: import("../integrations/supabase/types").Json;
24084
+ };
24085
+ logistics_floriday_log_refusal: {
24086
+ Args: {
24087
+ _action?: string;
24088
+ _module?: string;
24089
+ _order_ref: string;
24090
+ _reason: string;
24091
+ _shell?: string;
24092
+ };
24093
+ Returns: undefined;
24094
+ };
24095
+ logistics_floriday_log_send: {
24096
+ Args: {
24097
+ _action: string;
24098
+ _detail?: string;
24099
+ _http_status?: number;
24100
+ _module?: string;
24101
+ _ok: boolean;
24102
+ _order_ref: string;
24103
+ _shell?: string;
24104
+ };
24105
+ Returns: undefined;
24106
+ };
24107
+ logistics_floriday_order_approved: {
24108
+ Args: {
24109
+ _order_ref: string;
24110
+ };
24111
+ Returns: boolean;
24112
+ };
23450
24113
  logistics_floriday_prune_pushes: {
23451
24114
  Args: {
23452
24115
  _days?: number;
@@ -23461,6 +24124,20 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23461
24124
  };
23462
24125
  Returns: string;
23463
24126
  };
24127
+ logistics_floriday_status_updates_enabled: {
24128
+ Args: never;
24129
+ Returns: boolean;
24130
+ };
24131
+ logistics_floriday_stock_updates_enabled: {
24132
+ Args: never;
24133
+ Returns: boolean;
24134
+ };
24135
+ logistics_floriday_write_allowed: {
24136
+ Args: {
24137
+ _action: string;
24138
+ };
24139
+ Returns: boolean;
24140
+ };
23464
24141
  logistics_fulfill_barcode_requests: {
23465
24142
  Args: {
23466
24143
  p_limit?: number;
@@ -23481,6 +24158,16 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23481
24158
  };
23482
24159
  Returns: boolean;
23483
24160
  };
24161
+ logistics_layout_method_status: {
24162
+ Args: never;
24163
+ Returns: import("../integrations/supabase/types").Json;
24164
+ };
24165
+ logistics_link_order_items: {
24166
+ Args: {
24167
+ p_order?: string;
24168
+ };
24169
+ Returns: import("../integrations/supabase/types").Json;
24170
+ };
23484
24171
  logistics_live_carriers: {
23485
24172
  Args: {
23486
24173
  p_order_ref: string;
@@ -23493,6 +24180,12 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23493
24180
  };
23494
24181
  Returns: number;
23495
24182
  };
24183
+ logistics_merge_partial_carts: {
24184
+ Args: {
24185
+ p_limit?: number;
24186
+ };
24187
+ Returns: import("../integrations/supabase/types").Json;
24188
+ };
23496
24189
  logistics_next_workday_date: {
23497
24190
  Args: {
23498
24191
  p_date: string;
@@ -23507,12 +24200,22 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23507
24200
  };
23508
24201
  Returns: string;
23509
24202
  };
24203
+ logistics_normalize_product_label: {
24204
+ Args: {
24205
+ p_label: string;
24206
+ };
24207
+ Returns: string;
24208
+ };
23510
24209
  logistics_not_past: {
23511
24210
  Args: {
23512
24211
  p_ts: string;
23513
24212
  };
23514
24213
  Returns: string;
23515
24214
  };
24215
+ logistics_opening_timezone: {
24216
+ Args: never;
24217
+ Returns: string;
24218
+ };
23516
24219
  logistics_order_cart_count: {
23517
24220
  Args: {
23518
24221
  p_order_ref: string;
@@ -23597,6 +24300,10 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23597
24300
  Args: never;
23598
24301
  Returns: import("../integrations/supabase/types").Json;
23599
24302
  };
24303
+ logistics_pick_partial_mode: {
24304
+ Args: never;
24305
+ Returns: string;
24306
+ };
23600
24307
  logistics_pick_start_estimate: {
23601
24308
  Args: {
23602
24309
  p_order: import("../integrations/supabase/types").Json;
@@ -23695,6 +24402,12 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23695
24402
  Args: never;
23696
24403
  Returns: number;
23697
24404
  };
24405
+ logistics_plan_retry: {
24406
+ Args: {
24407
+ p_order_ids: string[];
24408
+ };
24409
+ Returns: number;
24410
+ };
23698
24411
  logistics_plan_setting: {
23699
24412
  Args: {
23700
24413
  p_default: number;
@@ -23702,6 +24415,12 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23702
24415
  };
23703
24416
  Returns: number;
23704
24417
  };
24418
+ logistics_prepare_pick_documents: {
24419
+ Args: {
24420
+ p_limit?: number;
24421
+ };
24422
+ Returns: import("../integrations/supabase/types").Json;
24423
+ };
23705
24424
  logistics_prune_buffer_member_queue: {
23706
24425
  Args: never;
23707
24426
  Returns: number;
@@ -23742,12 +24461,30 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23742
24461
  Args: never;
23743
24462
  Returns: import("../integrations/supabase/types").Json;
23744
24463
  };
24464
+ logistics_refresh_pick_queue_status: {
24465
+ Args: {
24466
+ p_ref: string;
24467
+ };
24468
+ Returns: number;
24469
+ };
23745
24470
  logistics_refresh_pickup_moments: {
23746
24471
  Args: {
23747
24472
  p_weeks?: number;
23748
24473
  };
23749
24474
  Returns: import("../integrations/supabase/types").Json;
23750
24475
  };
24476
+ logistics_replan_all: {
24477
+ Args: {
24478
+ p_reason?: string;
24479
+ };
24480
+ Returns: import("../integrations/supabase/types").Json;
24481
+ };
24482
+ logistics_replan_all_force: {
24483
+ Args: {
24484
+ p_reason?: string;
24485
+ };
24486
+ Returns: import("../integrations/supabase/types").Json;
24487
+ };
23751
24488
  logistics_report_delay: {
23752
24489
  Args: {
23753
24490
  p_expected_date?: string;
@@ -23801,6 +24538,12 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23801
24538
  };
23802
24539
  Returns: import("../integrations/supabase/types").Json;
23803
24540
  };
24541
+ logistics_resolve_product_id: {
24542
+ Args: {
24543
+ p_label: string;
24544
+ };
24545
+ Returns: string;
24546
+ };
23804
24547
  logistics_resolve_settings: {
23805
24548
  Args: {
23806
24549
  p_config_id: string;
@@ -23886,6 +24629,10 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23886
24629
  };
23887
24630
  Returns: string;
23888
24631
  };
24632
+ logistics_shipping_note_follows_slip: {
24633
+ Args: never;
24634
+ Returns: boolean;
24635
+ };
23889
24636
  logistics_shipping_note_from_barcode: {
23890
24637
  Args: {
23891
24638
  p_allow_reprint?: boolean;
@@ -23894,10 +24641,76 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23894
24641
  };
23895
24642
  Returns: import("../integrations/supabase/types").Json;
23896
24643
  };
24644
+ logistics_shipping_note_job_for_slip: {
24645
+ Args: {
24646
+ _slip_job_id: string;
24647
+ };
24648
+ Returns: string;
24649
+ };
24650
+ logistics_slip_note_claim: {
24651
+ Args: {
24652
+ _lease_seconds?: number;
24653
+ _limit?: number;
24654
+ };
24655
+ Returns: {
24656
+ attempts: number;
24657
+ batch_key: string | null;
24658
+ cart_id: string | null;
24659
+ created_at: string;
24660
+ error: string | null;
24661
+ error_code: string | null;
24662
+ fulfillment_order_id: string | null;
24663
+ id: string;
24664
+ locked_until: string | null;
24665
+ next_attempt_at: string | null;
24666
+ order_id: string | null;
24667
+ order_number: string | null;
24668
+ print_job_id: string | null;
24669
+ printer_id: string | null;
24670
+ retry_class: string | null;
24671
+ slip_job_id: string;
24672
+ status: string;
24673
+ updated_at: string;
24674
+ }[];
24675
+ SetofOptions: {
24676
+ from: "*";
24677
+ to: "logistics_slip_shipping_note";
24678
+ isOneToOne: false;
24679
+ isSetofReturn: true;
24680
+ };
24681
+ };
24682
+ logistics_slip_note_finish: {
24683
+ Args: {
24684
+ _error?: string;
24685
+ _error_code?: string;
24686
+ _fulfillment_order_id?: string;
24687
+ _id: string;
24688
+ _ok: boolean;
24689
+ _print_job_id?: string;
24690
+ _status?: string;
24691
+ };
24692
+ Returns: undefined;
24693
+ };
24694
+ logistics_slip_note_keep_waiting: {
24695
+ Args: {
24696
+ _class?: string;
24697
+ _id: string;
24698
+ _reason: string;
24699
+ };
24700
+ Returns: undefined;
24701
+ };
23897
24702
  logistics_sticker_follows_slip: {
23898
24703
  Args: never;
23899
24704
  Returns: boolean;
23900
24705
  };
24706
+ logistics_subtract_working_minutes: {
24707
+ Args: {
24708
+ p_deadline: string;
24709
+ p_max_workdays?: number;
24710
+ p_minutes: number;
24711
+ };
24712
+ Returns: import("../integrations/supabase/types").Json;
24713
+ };
23901
24714
  logistics_supersede_stale_tasks: {
23902
24715
  Args: {
23903
24716
  p_keep: string[];
@@ -23930,6 +24743,16 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23930
24743
  };
23931
24744
  Returns: number;
23932
24745
  };
24746
+ logistics_tick_ping: {
24747
+ Args: never;
24748
+ Returns: string;
24749
+ };
24750
+ logistics_timezone_options: {
24751
+ Args: never;
24752
+ Returns: {
24753
+ name: string;
24754
+ }[];
24755
+ };
23933
24756
  logistics_upsert_task: {
23934
24757
  Args: {
23935
24758
  p_buffer_ref: string;
@@ -23949,6 +24772,16 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
23949
24772
  };
23950
24773
  Returns: string;
23951
24774
  };
24775
+ logistics_valid_timezone: {
24776
+ Args: {
24777
+ _tz: string;
24778
+ };
24779
+ Returns: boolean;
24780
+ };
24781
+ logistics_working_hours_status: {
24782
+ Args: never;
24783
+ Returns: import("../integrations/supabase/types").Json;
24784
+ };
23952
24785
  logistics_write_buffer_layer_positions: {
23953
24786
  Args: {
23954
24787
  p_buffer_id: string;
@@ -24073,6 +24906,12 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
24073
24906
  };
24074
24907
  Returns: import("../integrations/supabase/types").Json;
24075
24908
  };
24909
+ order_heeft_bevestigde_karren: {
24910
+ Args: {
24911
+ p_order_id: string;
24912
+ };
24913
+ Returns: boolean;
24914
+ };
24076
24915
  order_number_prefix: {
24077
24916
  Args: {
24078
24917
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -24108,6 +24947,10 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
24108
24947
  online: boolean;
24109
24948
  }[];
24110
24949
  };
24950
+ pick_apply_buffer_events: {
24951
+ Args: never;
24952
+ Returns: import("../integrations/supabase/types").Json;
24953
+ };
24111
24954
  pick_available_pick_days: {
24112
24955
  Args: {
24113
24956
  _max_days?: number;
@@ -24117,6 +24960,12 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
24117
24960
  pick_day: string;
24118
24961
  }[];
24119
24962
  };
24963
+ pick_buffer_order_ids: {
24964
+ Args: {
24965
+ _order_id: string;
24966
+ };
24967
+ Returns: string[];
24968
+ };
24120
24969
  pick_cart_breakdown: {
24121
24970
  Args: {
24122
24971
  _order_id: string;
@@ -24176,6 +25025,7 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
24176
25025
  pick_claim_next_document: {
24177
25026
  Args: {
24178
25027
  _country_code: string;
25028
+ _pick_day?: string;
24179
25029
  _screen_id: string;
24180
25030
  _session_id: string;
24181
25031
  _station_id: string;
@@ -24464,6 +25314,12 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
24464
25314
  omschrijving: string;
24465
25315
  }[];
24466
25316
  };
25317
+ pick_queue_cart_plan: {
25318
+ Args: {
25319
+ _queue_item_id: string;
25320
+ };
25321
+ Returns: import("../integrations/supabase/types").Json;
25322
+ };
24467
25323
  pick_reference_data_status: {
24468
25324
  Args: never;
24469
25325
  Returns: import("../integrations/supabase/types").Json;
@@ -24478,6 +25334,10 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
24478
25334
  };
24479
25335
  Returns: undefined;
24480
25336
  };
25337
+ pick_report_missing_cart_plan: {
25338
+ Args: never;
25339
+ Returns: import("../integrations/supabase/types").Json;
25340
+ };
24481
25341
  pick_reprint_cart: {
24482
25342
  Args: {
24483
25343
  _cart_id: string;
@@ -25018,6 +25878,12 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
25018
25878
  };
25019
25879
  Returns: boolean;
25020
25880
  };
25881
+ release_job_lock: {
25882
+ Args: {
25883
+ _key: string;
25884
+ };
25885
+ Returns: undefined;
25886
+ };
25021
25887
  release_local_pdf_job: {
25022
25888
  Args: {
25023
25889
  _job_id: string;
@@ -25207,6 +26073,16 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
25207
26073
  };
25208
26074
  Returns: import("../integrations/supabase/types").Json;
25209
26075
  };
26076
+ scan_log_code: {
26077
+ Args: {
26078
+ p_code: string;
26079
+ p_latency_ms?: number;
26080
+ p_message?: string;
26081
+ p_result: string;
26082
+ p_scanner_key?: string;
26083
+ };
26084
+ Returns: string;
26085
+ };
25210
26086
  scan_open_pakbonnen: {
25211
26087
  Args: {
25212
26088
  p_dagen?: number;
@@ -25351,6 +26227,13 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
25351
26227
  };
25352
26228
  Returns: number;
25353
26229
  };
26230
+ schedule_floriday_catalog_prices_sync: {
26231
+ Args: {
26232
+ p_apikey: string;
26233
+ p_url: string;
26234
+ };
26235
+ Returns: number;
26236
+ };
25354
26237
  schedule_floriday_clock_presales_sync: {
25355
26238
  Args: {
25356
26239
  p_apikey: string;
@@ -25651,6 +26534,10 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
25651
26534
  };
25652
26535
  Returns: undefined;
25653
26536
  };
26537
+ sync_floriday_prices_into_price_groups: {
26538
+ Args: never;
26539
+ Returns: number;
26540
+ };
25654
26541
  sync_layer_stock: {
25655
26542
  Args: {
25656
26543
  p_product_id: string;
@@ -25696,6 +26583,14 @@ export declare const getActiveFloridayConnectionFn: import("@tanstack/start-clie
25696
26583
  row_count: number;
25697
26584
  }[];
25698
26585
  };
26586
+ try_acquire_job_lock: {
26587
+ Args: {
26588
+ _key: string;
26589
+ _owner?: string;
26590
+ _seconds?: number;
26591
+ };
26592
+ Returns: boolean;
26593
+ };
25699
26594
  try_debtor_lock: {
25700
26595
  Args: {
25701
26596
  _group_key: string;
@@ -28003,6 +28898,8 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
28003
28898
  created_at: string;
28004
28899
  currency: string;
28005
28900
  distribute_over: string | null;
28901
+ external_id: string | null;
28902
+ external_synced_at: string | null;
28006
28903
  group_type: string;
28007
28904
  handling_fee: number | null;
28008
28905
  id: string;
@@ -28015,6 +28912,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
28015
28912
  rounding: string;
28016
28913
  rounding_step: number;
28017
28914
  sort_order: number;
28915
+ source: string;
28018
28916
  unit: string;
28019
28917
  updated_at: string;
28020
28918
  };
@@ -28025,6 +28923,8 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
28025
28923
  created_at?: string;
28026
28924
  currency?: string;
28027
28925
  distribute_over?: string | null;
28926
+ external_id?: string | null;
28927
+ external_synced_at?: string | null;
28028
28928
  group_type?: string;
28029
28929
  handling_fee?: number | null;
28030
28930
  id?: string;
@@ -28037,6 +28937,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
28037
28937
  rounding?: string;
28038
28938
  rounding_step?: number;
28039
28939
  sort_order?: number;
28940
+ source?: string;
28040
28941
  unit?: string;
28041
28942
  updated_at?: string;
28042
28943
  };
@@ -28047,6 +28948,8 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
28047
28948
  created_at?: string;
28048
28949
  currency?: string;
28049
28950
  distribute_over?: string | null;
28951
+ external_id?: string | null;
28952
+ external_synced_at?: string | null;
28050
28953
  group_type?: string;
28051
28954
  handling_fee?: number | null;
28052
28955
  id?: string;
@@ -28059,6 +28962,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
28059
28962
  rounding?: string;
28060
28963
  rounding_step?: number;
28061
28964
  sort_order?: number;
28965
+ source?: string;
28062
28966
  unit?: string;
28063
28967
  updated_at?: string;
28064
28968
  };
@@ -31649,6 +32553,84 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
31649
32553
  referencedColumns: ["id"];
31650
32554
  }];
31651
32555
  };
32556
+ floriday_catalog_prices_cache: {
32557
+ Row: {
32558
+ connection_id: string;
32559
+ created_at: string;
32560
+ currency: string;
32561
+ id: string;
32562
+ is_deleted: boolean;
32563
+ price: number | null;
32564
+ price_group_id: string | null;
32565
+ price_group_name: string | null;
32566
+ price_type: string;
32567
+ raw: import("../integrations/supabase/types").Json | null;
32568
+ sales_unit: string | null;
32569
+ sequence_number: number;
32570
+ supplier_article_code: string | null;
32571
+ supply_line_id: string;
32572
+ synced_at: string;
32573
+ trade_item_id: string | null;
32574
+ updated_at: string;
32575
+ valid_from: string | null;
32576
+ valid_to: string | null;
32577
+ week: number | null;
32578
+ year: number | null;
32579
+ };
32580
+ Insert: {
32581
+ connection_id: string;
32582
+ created_at?: string;
32583
+ currency?: string;
32584
+ id?: string;
32585
+ is_deleted?: boolean;
32586
+ price?: number | null;
32587
+ price_group_id?: string | null;
32588
+ price_group_name?: string | null;
32589
+ price_type?: string;
32590
+ raw?: import("../integrations/supabase/types").Json | null;
32591
+ sales_unit?: string | null;
32592
+ sequence_number?: number;
32593
+ supplier_article_code?: string | null;
32594
+ supply_line_id: string;
32595
+ synced_at?: string;
32596
+ trade_item_id?: string | null;
32597
+ updated_at?: string;
32598
+ valid_from?: string | null;
32599
+ valid_to?: string | null;
32600
+ week?: number | null;
32601
+ year?: number | null;
32602
+ };
32603
+ Update: {
32604
+ connection_id?: string;
32605
+ created_at?: string;
32606
+ currency?: string;
32607
+ id?: string;
32608
+ is_deleted?: boolean;
32609
+ price?: number | null;
32610
+ price_group_id?: string | null;
32611
+ price_group_name?: string | null;
32612
+ price_type?: string;
32613
+ raw?: import("../integrations/supabase/types").Json | null;
32614
+ sales_unit?: string | null;
32615
+ sequence_number?: number;
32616
+ supplier_article_code?: string | null;
32617
+ supply_line_id?: string;
32618
+ synced_at?: string;
32619
+ trade_item_id?: string | null;
32620
+ updated_at?: string;
32621
+ valid_from?: string | null;
32622
+ valid_to?: string | null;
32623
+ week?: number | null;
32624
+ year?: number | null;
32625
+ };
32626
+ Relationships: [{
32627
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
32628
+ columns: ["connection_id"];
32629
+ isOneToOne: false;
32630
+ referencedRelation: "floriday_connections";
32631
+ referencedColumns: ["id"];
32632
+ }];
32633
+ };
31652
32634
  floriday_clock_presales_cache: {
31653
32635
  Row: {
31654
32636
  buyer_organization_id: string | null;
@@ -34922,6 +35904,30 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
34922
35904
  referencedColumns: ["id"];
34923
35905
  }];
34924
35906
  };
35907
+ job_locks: {
35908
+ Row: {
35909
+ created_at: string;
35910
+ lock_key: string;
35911
+ locked_until: string;
35912
+ owner: string | null;
35913
+ updated_at: string;
35914
+ };
35915
+ Insert: {
35916
+ created_at?: string;
35917
+ lock_key: string;
35918
+ locked_until: string;
35919
+ owner?: string | null;
35920
+ updated_at?: string;
35921
+ };
35922
+ Update: {
35923
+ created_at?: string;
35924
+ lock_key?: string;
35925
+ locked_until?: string;
35926
+ owner?: string | null;
35927
+ updated_at?: string;
35928
+ };
35929
+ Relationships: [];
35930
+ };
34925
35931
  layout_logos: {
34926
35932
  Row: {
34927
35933
  bestand_url: string;
@@ -35891,6 +36897,36 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
35891
36897
  };
35892
36898
  Relationships: [];
35893
36899
  };
36900
+ logistics_floriday_push_refusals: {
36901
+ Row: {
36902
+ action: string | null;
36903
+ created_at: string;
36904
+ id: string;
36905
+ order_ref: string;
36906
+ reason: string;
36907
+ source_module: string | null;
36908
+ source_shell: string | null;
36909
+ };
36910
+ Insert: {
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
+ Update: {
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
+ Relationships: [];
36929
+ };
35894
36930
  logistics_floriday_pushes: {
35895
36931
  Row: {
35896
36932
  attempts: number;
@@ -35966,6 +37002,42 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
35966
37002
  };
35967
37003
  Relationships: [];
35968
37004
  };
37005
+ logistics_floriday_status_sends: {
37006
+ Row: {
37007
+ action: string;
37008
+ created_at: string;
37009
+ detail: string | null;
37010
+ http_status: number | null;
37011
+ id: string;
37012
+ ok: boolean;
37013
+ order_ref: string;
37014
+ source_module: string | null;
37015
+ source_shell: string | null;
37016
+ };
37017
+ Insert: {
37018
+ action: string;
37019
+ created_at?: string;
37020
+ detail?: string | null;
37021
+ http_status?: number | null;
37022
+ id?: string;
37023
+ ok?: boolean;
37024
+ order_ref: string;
37025
+ source_module?: string | null;
37026
+ source_shell?: string | null;
37027
+ };
37028
+ Update: {
37029
+ action?: string;
37030
+ created_at?: string;
37031
+ detail?: string | null;
37032
+ http_status?: number | null;
37033
+ id?: string;
37034
+ ok?: boolean;
37035
+ order_ref?: string;
37036
+ source_module?: string | null;
37037
+ source_shell?: string | null;
37038
+ };
37039
+ Relationships: [];
37040
+ };
35969
37041
  logistics_formulas: {
35970
37042
  Row: {
35971
37043
  created_at: string;
@@ -36038,6 +37110,108 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
36038
37110
  };
36039
37111
  Relationships: [];
36040
37112
  };
37113
+ logistics_opening_exceptions: {
37114
+ Row: {
37115
+ closes: string | null;
37116
+ created_at: string;
37117
+ day: string;
37118
+ id: string;
37119
+ is_closed: boolean;
37120
+ note: string | null;
37121
+ opens: string | null;
37122
+ };
37123
+ Insert: {
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
+ Update: {
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
+ Relationships: [];
37142
+ };
37143
+ logistics_opening_hours: {
37144
+ Row: {
37145
+ closes: string;
37146
+ created_at: string;
37147
+ id: string;
37148
+ is_active: boolean;
37149
+ note: string | null;
37150
+ opens: string;
37151
+ weekday: number;
37152
+ };
37153
+ Insert: {
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
+ Update: {
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
+ Relationships: [];
37172
+ };
37173
+ logistics_pick_data_requests: {
37174
+ Row: {
37175
+ actions: import("../integrations/supabase/types").Json;
37176
+ created_at: string;
37177
+ event_id: string | null;
37178
+ finished_at: string | null;
37179
+ id: string;
37180
+ missing: import("../integrations/supabase/types").Json;
37181
+ order_ref: string;
37182
+ reason: string | null;
37183
+ result: import("../integrations/supabase/types").Json | null;
37184
+ status: string;
37185
+ unit_ref: string | null;
37186
+ };
37187
+ Insert: {
37188
+ actions?: import("../integrations/supabase/types").Json;
37189
+ created_at?: string;
37190
+ event_id?: string | null;
37191
+ finished_at?: string | null;
37192
+ id?: string;
37193
+ missing?: import("../integrations/supabase/types").Json;
37194
+ order_ref: string;
37195
+ reason?: string | null;
37196
+ result?: import("../integrations/supabase/types").Json | null;
37197
+ status?: string;
37198
+ unit_ref?: string | null;
37199
+ };
37200
+ Update: {
37201
+ actions?: import("../integrations/supabase/types").Json;
37202
+ created_at?: string;
37203
+ event_id?: string | null;
37204
+ finished_at?: string | null;
37205
+ id?: string;
37206
+ missing?: import("../integrations/supabase/types").Json;
37207
+ order_ref?: string;
37208
+ reason?: string | null;
37209
+ result?: import("../integrations/supabase/types").Json | null;
37210
+ status?: string;
37211
+ unit_ref?: string | null;
37212
+ };
37213
+ Relationships: [];
37214
+ };
36041
37215
  logistics_pickup_moments: {
36042
37216
  Row: {
36043
37217
  carrier_ref: string | null;
@@ -36084,6 +37258,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
36084
37258
  next_attempt_at: string;
36085
37259
  order_id: string;
36086
37260
  reason: string;
37261
+ reason_code: string | null;
36087
37262
  status: string;
36088
37263
  updated_at: string;
36089
37264
  };
@@ -36096,6 +37271,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
36096
37271
  next_attempt_at?: string;
36097
37272
  order_id: string;
36098
37273
  reason?: string;
37274
+ reason_code?: string | null;
36099
37275
  status?: string;
36100
37276
  updated_at?: string;
36101
37277
  };
@@ -36108,6 +37284,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
36108
37284
  next_attempt_at?: string;
36109
37285
  order_id?: string;
36110
37286
  reason?: string;
37287
+ reason_code?: string | null;
36111
37288
  status?: string;
36112
37289
  updated_at?: string;
36113
37290
  };
@@ -36494,6 +37671,69 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
36494
37671
  };
36495
37672
  Relationships: [];
36496
37673
  };
37674
+ logistics_slip_shipping_note: {
37675
+ Row: {
37676
+ attempts: number;
37677
+ batch_key: string | null;
37678
+ cart_id: string | null;
37679
+ created_at: string;
37680
+ error: string | null;
37681
+ error_code: string | null;
37682
+ fulfillment_order_id: string | null;
37683
+ id: string;
37684
+ locked_until: string | null;
37685
+ next_attempt_at: string | null;
37686
+ order_id: string | null;
37687
+ order_number: string | null;
37688
+ print_job_id: string | null;
37689
+ printer_id: string | null;
37690
+ retry_class: string | null;
37691
+ slip_job_id: string;
37692
+ status: string;
37693
+ updated_at: string;
37694
+ };
37695
+ Insert: {
37696
+ attempts?: number;
37697
+ batch_key?: string | null;
37698
+ cart_id?: string | null;
37699
+ created_at?: string;
37700
+ error?: string | null;
37701
+ error_code?: string | null;
37702
+ fulfillment_order_id?: string | null;
37703
+ id?: string;
37704
+ locked_until?: string | null;
37705
+ next_attempt_at?: string | null;
37706
+ order_id?: string | null;
37707
+ order_number?: string | null;
37708
+ print_job_id?: string | null;
37709
+ printer_id?: string | null;
37710
+ retry_class?: string | null;
37711
+ slip_job_id: string;
37712
+ status?: string;
37713
+ updated_at?: string;
37714
+ };
37715
+ Update: {
37716
+ attempts?: number;
37717
+ batch_key?: string | null;
37718
+ cart_id?: string | null;
37719
+ created_at?: string;
37720
+ error?: string | null;
37721
+ error_code?: string | null;
37722
+ fulfillment_order_id?: string | null;
37723
+ id?: string;
37724
+ locked_until?: string | null;
37725
+ next_attempt_at?: string | null;
37726
+ order_id?: string | null;
37727
+ order_number?: string | null;
37728
+ print_job_id?: string | null;
37729
+ printer_id?: string | null;
37730
+ retry_class?: string | null;
37731
+ slip_job_id?: string;
37732
+ status?: string;
37733
+ updated_at?: string;
37734
+ };
37735
+ Relationships: [];
37736
+ };
36497
37737
  logistics_staff_planning: {
36498
37738
  Row: {
36499
37739
  created_at: string;
@@ -36812,6 +38052,39 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
36812
38052
  referencedColumns: ["id"];
36813
38053
  }];
36814
38054
  };
38055
+ logistics_tick_heartbeat: {
38056
+ Row: {
38057
+ id: boolean;
38058
+ last_tick_at: string;
38059
+ };
38060
+ Insert: {
38061
+ id?: boolean;
38062
+ last_tick_at?: string;
38063
+ };
38064
+ Update: {
38065
+ id?: boolean;
38066
+ last_tick_at?: string;
38067
+ };
38068
+ Relationships: [];
38069
+ };
38070
+ logistics_time_settings: {
38071
+ Row: {
38072
+ id: boolean;
38073
+ timezone: string;
38074
+ updated_at: string;
38075
+ };
38076
+ Insert: {
38077
+ id?: boolean;
38078
+ timezone: string;
38079
+ updated_at?: string;
38080
+ };
38081
+ Update: {
38082
+ id?: boolean;
38083
+ timezone?: string;
38084
+ updated_at?: string;
38085
+ };
38086
+ Relationships: [];
38087
+ };
36815
38088
  logistics_variables: {
36816
38089
  Row: {
36817
38090
  created_at: string;
@@ -39202,6 +40475,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39202
40475
  customer_name: string;
39203
40476
  deleted_at: string | null;
39204
40477
  delivery_date: string | null;
40478
+ floriday_order_group_key: string | null;
39205
40479
  floriday_sales_order_id: string | null;
39206
40480
  id: string;
39207
40481
  invoice_due_at: string | null;
@@ -39229,6 +40503,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39229
40503
  customer_name?: string;
39230
40504
  deleted_at?: string | null;
39231
40505
  delivery_date?: string | null;
40506
+ floriday_order_group_key?: string | null;
39232
40507
  floriday_sales_order_id?: string | null;
39233
40508
  id?: string;
39234
40509
  invoice_due_at?: string | null;
@@ -39256,6 +40531,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39256
40531
  customer_name?: string;
39257
40532
  deleted_at?: string | null;
39258
40533
  delivery_date?: string | null;
40534
+ floriday_order_group_key?: string | null;
39259
40535
  floriday_sales_order_id?: string | null;
39260
40536
  id?: string;
39261
40537
  invoice_due_at?: string | null;
@@ -39449,6 +40725,27 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
39449
40725
  };
39450
40726
  Relationships: [];
39451
40727
  };
40728
+ pick_buffer_event_cursor: {
40729
+ Row: {
40730
+ created_at: string;
40731
+ id: boolean;
40732
+ last_event_at: string;
40733
+ updated_at: string;
40734
+ };
40735
+ Insert: {
40736
+ created_at?: string;
40737
+ id?: boolean;
40738
+ last_event_at?: string;
40739
+ updated_at?: string;
40740
+ };
40741
+ Update: {
40742
+ created_at?: string;
40743
+ id?: boolean;
40744
+ last_event_at?: string;
40745
+ updated_at?: string;
40746
+ };
40747
+ Relationships: [];
40748
+ };
39452
40749
  pick_countries: {
39453
40750
  Row: {
39454
40751
  active: boolean;
@@ -45098,6 +46395,36 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
45098
46395
  referencedColumns: ["id"];
45099
46396
  }];
45100
46397
  };
46398
+ voorraad_buffer_state: {
46399
+ Row: {
46400
+ buffer_id: string;
46401
+ buffer_key: string | null;
46402
+ closed_at: string | null;
46403
+ created_at: string;
46404
+ detached_orders: import("../integrations/supabase/types").Json;
46405
+ reason: string | null;
46406
+ updated_at: string;
46407
+ };
46408
+ Insert: {
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
+ Update: {
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
+ Relationships: [];
46427
+ };
45101
46428
  voorraad_custom_fields: {
45102
46429
  Row: {
45103
46430
  created_at: string;
@@ -45140,6 +46467,36 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
45140
46467
  };
45141
46468
  Relationships: [];
45142
46469
  };
46470
+ voorraad_logistics_event_log: {
46471
+ Row: {
46472
+ created_at: string;
46473
+ event_id: string;
46474
+ event_type: string;
46475
+ order_ref: string | null;
46476
+ processed_at: string;
46477
+ result: import("../integrations/supabase/types").Json;
46478
+ updated_at: string;
46479
+ };
46480
+ Insert: {
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
+ Update: {
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
+ Relationships: [];
46499
+ };
45143
46500
  voorraad_media_upload_failures: {
45144
46501
  Row: {
45145
46502
  action: string;
@@ -47965,6 +49322,17 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
47965
49322
  };
47966
49323
  Returns: boolean;
47967
49324
  };
49325
+ floriday_adopt_connection: {
49326
+ Args: {
49327
+ p_new: string;
49328
+ p_old: string;
49329
+ };
49330
+ Returns: import("../integrations/supabase/types").Json;
49331
+ };
49332
+ floriday_autoheal_connections: {
49333
+ Args: never;
49334
+ Returns: import("../integrations/supabase/types").Json;
49335
+ };
47968
49336
  floriday_capture_stock_snapshot: {
47969
49337
  Args: never;
47970
49338
  Returns: number;
@@ -48022,6 +49390,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
48022
49390
  };
48023
49391
  Returns: undefined;
48024
49392
  };
49393
+ floriday_relink_products: {
49394
+ Args: {
49395
+ p_connection_id?: string;
49396
+ };
49397
+ Returns: import("../integrations/supabase/types").Json;
49398
+ };
48025
49399
  floriday_requeue_dead_letters: {
48026
49400
  Args: {
48027
49401
  p_connection_id?: string;
@@ -48643,6 +50017,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
48643
50017
  };
48644
50018
  Returns: string;
48645
50019
  };
50020
+ logistics_active_layout_method: {
50021
+ Args: never;
50022
+ Returns: string;
50023
+ };
48646
50024
  logistics_active_pick_workdays: {
48647
50025
  Args: never;
48648
50026
  Returns: string[];
@@ -48694,6 +50072,30 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
48694
50072
  };
48695
50073
  Returns: import("../integrations/supabase/types").Json;
48696
50074
  };
50075
+ logistics_block_reason_code: {
50076
+ Args: {
50077
+ p_details?: import("../integrations/supabase/types").Json;
50078
+ p_reason: string;
50079
+ };
50080
+ Returns: string;
50081
+ };
50082
+ logistics_blocked_orders: {
50083
+ Args: never;
50084
+ Returns: {
50085
+ attempts: number;
50086
+ blocked_since: string;
50087
+ delivery_date: string;
50088
+ order_id: string;
50089
+ order_ref: string;
50090
+ queue_id: string;
50091
+ reason: string;
50092
+ reason_code: string;
50093
+ }[];
50094
+ };
50095
+ logistics_blocked_overview: {
50096
+ Args: never;
50097
+ Returns: import("../integrations/supabase/types").Json;
50098
+ };
48697
50099
  logistics_buffer_criteria: {
48698
50100
  Args: {
48699
50101
  p_settings: import("../integrations/supabase/types").Json;
@@ -48708,6 +50110,39 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
48708
50110
  };
48709
50111
  Returns: import("../integrations/supabase/types").Json;
48710
50112
  };
50113
+ logistics_buffer_detach_late_orders: {
50114
+ Args: {
50115
+ p_buffer?: string;
50116
+ };
50117
+ Returns: import("../integrations/supabase/types").Json;
50118
+ };
50119
+ logistics_buffer_frozen_order: {
50120
+ Args: {
50121
+ p_order_id: string;
50122
+ };
50123
+ Returns: boolean;
50124
+ };
50125
+ logistics_buffer_handled: {
50126
+ Args: {
50127
+ p_buffer: string;
50128
+ };
50129
+ Returns: boolean;
50130
+ };
50131
+ logistics_buffer_notify: {
50132
+ Args: {
50133
+ p_event_type: string;
50134
+ p_idempotency_key: string;
50135
+ p_order_ref: string;
50136
+ p_payload: import("../integrations/supabase/types").Json;
50137
+ };
50138
+ Returns: string;
50139
+ };
50140
+ logistics_buffer_open_key: {
50141
+ Args: {
50142
+ p_base_key: string;
50143
+ };
50144
+ Returns: string;
50145
+ };
48711
50146
  logistics_buffer_simulate: {
48712
50147
  Args: {
48713
50148
  p_orders?: import("../integrations/supabase/types").Json;
@@ -48760,6 +50195,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
48760
50195
  };
48761
50196
  Returns: string;
48762
50197
  };
50198
+ logistics_cart_checkin_at: {
50199
+ Args: {
50200
+ p_cart_id: string;
50201
+ };
50202
+ Returns: string;
50203
+ };
48763
50204
  logistics_cart_handled: {
48764
50205
  Args: {
48765
50206
  p_cart_index: number;
@@ -48793,10 +50234,53 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
48793
50234
  task_status: string;
48794
50235
  }[];
48795
50236
  };
50237
+ logistics_cart_is_full: {
50238
+ Args: {
50239
+ p_cart_id: string;
50240
+ };
50241
+ Returns: boolean;
50242
+ };
48796
50243
  logistics_cart_layout_method: {
48797
50244
  Args: never;
48798
50245
  Returns: import("../integrations/supabase/types").Json;
48799
50246
  };
50247
+ logistics_cart_order_refs: {
50248
+ Args: {
50249
+ p_cart_id: string;
50250
+ };
50251
+ Returns: string[];
50252
+ };
50253
+ logistics_cart_plan_overview: {
50254
+ Args: {
50255
+ p_days?: number;
50256
+ };
50257
+ Returns: {
50258
+ cart_total: number;
50259
+ delivery_date: string;
50260
+ order_ref: string;
50261
+ plan_ready: boolean;
50262
+ reason: string;
50263
+ released: boolean;
50264
+ }[];
50265
+ };
50266
+ logistics_cart_plan_status: {
50267
+ Args: {
50268
+ p_ref: string;
50269
+ };
50270
+ Returns: import("../integrations/supabase/types").Json;
50271
+ };
50272
+ logistics_cart_release_reason: {
50273
+ Args: {
50274
+ p_cart_id: string;
50275
+ };
50276
+ Returns: string;
50277
+ };
50278
+ logistics_cart_released: {
50279
+ Args: {
50280
+ p_cart_id: string;
50281
+ };
50282
+ Returns: boolean;
50283
+ };
48800
50284
  logistics_cart_seq: {
48801
50285
  Args: {
48802
50286
  p_order_uuid?: string;
@@ -48847,6 +50331,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
48847
50331
  unit_ref: string;
48848
50332
  }[];
48849
50333
  };
50334
+ logistics_carts_per_print: {
50335
+ Args: never;
50336
+ Returns: number;
50337
+ };
48850
50338
  logistics_check_order_allowed: {
48851
50339
  Args: {
48852
50340
  p_lines: import("../integrations/supabase/types").Json;
@@ -48950,6 +50438,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
48950
50438
  isSetofReturn: false;
48951
50439
  };
48952
50440
  };
50441
+ logistics_cleanup_orphan_print_jobs: {
50442
+ Args: never;
50443
+ Returns: import("../integrations/supabase/types").Json;
50444
+ };
48953
50445
  logistics_complete_task: {
48954
50446
  Args: {
48955
50447
  p_result?: import("../integrations/supabase/types").Json;
@@ -49012,6 +50504,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49012
50504
  station_carts: number;
49013
50505
  }[];
49014
50506
  };
50507
+ logistics_control_complete_cart: {
50508
+ Args: {
50509
+ p_cart_id: string;
50510
+ };
50511
+ Returns: number;
50512
+ };
49015
50513
  logistics_control_scan_approve: {
49016
50514
  Args: {
49017
50515
  p_allow_reprint?: boolean;
@@ -49091,6 +50589,15 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49091
50589
  Args: never;
49092
50590
  Returns: import("../integrations/supabase/types").Json;
49093
50591
  };
50592
+ logistics_day_windows: {
50593
+ Args: {
50594
+ p_day: string;
50595
+ };
50596
+ Returns: {
50597
+ win_end: string;
50598
+ win_start: string;
50599
+ }[];
50600
+ };
49094
50601
  logistics_delay_customer_email: {
49095
50602
  Args: {
49096
50603
  p_customer: string;
@@ -49158,6 +50665,17 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49158
50665
  };
49159
50666
  Returns: import("../integrations/supabase/types").Json;
49160
50667
  };
50668
+ logistics_enqueue_shipping_note_with_slip: {
50669
+ Args: {
50670
+ _cart_id: string;
50671
+ _is_herprint: boolean;
50672
+ _printer_id: string;
50673
+ _queue_item_id: string;
50674
+ _session_id: string;
50675
+ _slip_job_id: string;
50676
+ };
50677
+ Returns: string;
50678
+ };
49161
50679
  logistics_enqueue_sticker_with_slip: {
49162
50680
  Args: {
49163
50681
  _cart_id: string;
@@ -49175,6 +50693,14 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49175
50693
  };
49176
50694
  Returns: string;
49177
50695
  };
50696
+ logistics_ensure_pick_data: {
50697
+ Args: {
50698
+ p_event_id?: string;
50699
+ p_missing?: import("../integrations/supabase/types").Json;
50700
+ p_ref: string;
50701
+ };
50702
+ Returns: import("../integrations/supabase/types").Json;
50703
+ };
49178
50704
  logistics_fail_task: {
49179
50705
  Args: {
49180
50706
  p_error: string;
@@ -49296,6 +50822,38 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49296
50822
  };
49297
50823
  Returns: string;
49298
50824
  };
50825
+ logistics_floriday_gate_status: {
50826
+ Args: never;
50827
+ Returns: import("../integrations/supabase/types").Json;
50828
+ };
50829
+ logistics_floriday_log_refusal: {
50830
+ Args: {
50831
+ _action?: string;
50832
+ _module?: string;
50833
+ _order_ref: string;
50834
+ _reason: string;
50835
+ _shell?: string;
50836
+ };
50837
+ Returns: undefined;
50838
+ };
50839
+ logistics_floriday_log_send: {
50840
+ Args: {
50841
+ _action: string;
50842
+ _detail?: string;
50843
+ _http_status?: number;
50844
+ _module?: string;
50845
+ _ok: boolean;
50846
+ _order_ref: string;
50847
+ _shell?: string;
50848
+ };
50849
+ Returns: undefined;
50850
+ };
50851
+ logistics_floriday_order_approved: {
50852
+ Args: {
50853
+ _order_ref: string;
50854
+ };
50855
+ Returns: boolean;
50856
+ };
49299
50857
  logistics_floriday_prune_pushes: {
49300
50858
  Args: {
49301
50859
  _days?: number;
@@ -49310,6 +50868,20 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49310
50868
  };
49311
50869
  Returns: string;
49312
50870
  };
50871
+ logistics_floriday_status_updates_enabled: {
50872
+ Args: never;
50873
+ Returns: boolean;
50874
+ };
50875
+ logistics_floriday_stock_updates_enabled: {
50876
+ Args: never;
50877
+ Returns: boolean;
50878
+ };
50879
+ logistics_floriday_write_allowed: {
50880
+ Args: {
50881
+ _action: string;
50882
+ };
50883
+ Returns: boolean;
50884
+ };
49313
50885
  logistics_fulfill_barcode_requests: {
49314
50886
  Args: {
49315
50887
  p_limit?: number;
@@ -49330,6 +50902,16 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49330
50902
  };
49331
50903
  Returns: boolean;
49332
50904
  };
50905
+ logistics_layout_method_status: {
50906
+ Args: never;
50907
+ Returns: import("../integrations/supabase/types").Json;
50908
+ };
50909
+ logistics_link_order_items: {
50910
+ Args: {
50911
+ p_order?: string;
50912
+ };
50913
+ Returns: import("../integrations/supabase/types").Json;
50914
+ };
49333
50915
  logistics_live_carriers: {
49334
50916
  Args: {
49335
50917
  p_order_ref: string;
@@ -49342,6 +50924,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49342
50924
  };
49343
50925
  Returns: number;
49344
50926
  };
50927
+ logistics_merge_partial_carts: {
50928
+ Args: {
50929
+ p_limit?: number;
50930
+ };
50931
+ Returns: import("../integrations/supabase/types").Json;
50932
+ };
49345
50933
  logistics_next_workday_date: {
49346
50934
  Args: {
49347
50935
  p_date: string;
@@ -49356,12 +50944,22 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49356
50944
  };
49357
50945
  Returns: string;
49358
50946
  };
50947
+ logistics_normalize_product_label: {
50948
+ Args: {
50949
+ p_label: string;
50950
+ };
50951
+ Returns: string;
50952
+ };
49359
50953
  logistics_not_past: {
49360
50954
  Args: {
49361
50955
  p_ts: string;
49362
50956
  };
49363
50957
  Returns: string;
49364
50958
  };
50959
+ logistics_opening_timezone: {
50960
+ Args: never;
50961
+ Returns: string;
50962
+ };
49365
50963
  logistics_order_cart_count: {
49366
50964
  Args: {
49367
50965
  p_order_ref: string;
@@ -49446,6 +51044,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49446
51044
  Args: never;
49447
51045
  Returns: import("../integrations/supabase/types").Json;
49448
51046
  };
51047
+ logistics_pick_partial_mode: {
51048
+ Args: never;
51049
+ Returns: string;
51050
+ };
49449
51051
  logistics_pick_start_estimate: {
49450
51052
  Args: {
49451
51053
  p_order: import("../integrations/supabase/types").Json;
@@ -49544,6 +51146,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49544
51146
  Args: never;
49545
51147
  Returns: number;
49546
51148
  };
51149
+ logistics_plan_retry: {
51150
+ Args: {
51151
+ p_order_ids: string[];
51152
+ };
51153
+ Returns: number;
51154
+ };
49547
51155
  logistics_plan_setting: {
49548
51156
  Args: {
49549
51157
  p_default: number;
@@ -49551,6 +51159,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49551
51159
  };
49552
51160
  Returns: number;
49553
51161
  };
51162
+ logistics_prepare_pick_documents: {
51163
+ Args: {
51164
+ p_limit?: number;
51165
+ };
51166
+ Returns: import("../integrations/supabase/types").Json;
51167
+ };
49554
51168
  logistics_prune_buffer_member_queue: {
49555
51169
  Args: never;
49556
51170
  Returns: number;
@@ -49591,12 +51205,30 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49591
51205
  Args: never;
49592
51206
  Returns: import("../integrations/supabase/types").Json;
49593
51207
  };
51208
+ logistics_refresh_pick_queue_status: {
51209
+ Args: {
51210
+ p_ref: string;
51211
+ };
51212
+ Returns: number;
51213
+ };
49594
51214
  logistics_refresh_pickup_moments: {
49595
51215
  Args: {
49596
51216
  p_weeks?: number;
49597
51217
  };
49598
51218
  Returns: import("../integrations/supabase/types").Json;
49599
51219
  };
51220
+ logistics_replan_all: {
51221
+ Args: {
51222
+ p_reason?: string;
51223
+ };
51224
+ Returns: import("../integrations/supabase/types").Json;
51225
+ };
51226
+ logistics_replan_all_force: {
51227
+ Args: {
51228
+ p_reason?: string;
51229
+ };
51230
+ Returns: import("../integrations/supabase/types").Json;
51231
+ };
49600
51232
  logistics_report_delay: {
49601
51233
  Args: {
49602
51234
  p_expected_date?: string;
@@ -49650,6 +51282,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49650
51282
  };
49651
51283
  Returns: import("../integrations/supabase/types").Json;
49652
51284
  };
51285
+ logistics_resolve_product_id: {
51286
+ Args: {
51287
+ p_label: string;
51288
+ };
51289
+ Returns: string;
51290
+ };
49653
51291
  logistics_resolve_settings: {
49654
51292
  Args: {
49655
51293
  p_config_id: string;
@@ -49735,6 +51373,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49735
51373
  };
49736
51374
  Returns: string;
49737
51375
  };
51376
+ logistics_shipping_note_follows_slip: {
51377
+ Args: never;
51378
+ Returns: boolean;
51379
+ };
49738
51380
  logistics_shipping_note_from_barcode: {
49739
51381
  Args: {
49740
51382
  p_allow_reprint?: boolean;
@@ -49743,10 +51385,76 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49743
51385
  };
49744
51386
  Returns: import("../integrations/supabase/types").Json;
49745
51387
  };
51388
+ logistics_shipping_note_job_for_slip: {
51389
+ Args: {
51390
+ _slip_job_id: string;
51391
+ };
51392
+ Returns: string;
51393
+ };
51394
+ logistics_slip_note_claim: {
51395
+ Args: {
51396
+ _lease_seconds?: number;
51397
+ _limit?: number;
51398
+ };
51399
+ Returns: {
51400
+ attempts: number;
51401
+ batch_key: string | null;
51402
+ cart_id: string | null;
51403
+ created_at: string;
51404
+ error: string | null;
51405
+ error_code: string | null;
51406
+ fulfillment_order_id: string | null;
51407
+ id: string;
51408
+ locked_until: string | null;
51409
+ next_attempt_at: string | null;
51410
+ order_id: string | null;
51411
+ order_number: string | null;
51412
+ print_job_id: string | null;
51413
+ printer_id: string | null;
51414
+ retry_class: string | null;
51415
+ slip_job_id: string;
51416
+ status: string;
51417
+ updated_at: string;
51418
+ }[];
51419
+ SetofOptions: {
51420
+ from: "*";
51421
+ to: "logistics_slip_shipping_note";
51422
+ isOneToOne: false;
51423
+ isSetofReturn: true;
51424
+ };
51425
+ };
51426
+ logistics_slip_note_finish: {
51427
+ Args: {
51428
+ _error?: string;
51429
+ _error_code?: string;
51430
+ _fulfillment_order_id?: string;
51431
+ _id: string;
51432
+ _ok: boolean;
51433
+ _print_job_id?: string;
51434
+ _status?: string;
51435
+ };
51436
+ Returns: undefined;
51437
+ };
51438
+ logistics_slip_note_keep_waiting: {
51439
+ Args: {
51440
+ _class?: string;
51441
+ _id: string;
51442
+ _reason: string;
51443
+ };
51444
+ Returns: undefined;
51445
+ };
49746
51446
  logistics_sticker_follows_slip: {
49747
51447
  Args: never;
49748
51448
  Returns: boolean;
49749
51449
  };
51450
+ logistics_subtract_working_minutes: {
51451
+ Args: {
51452
+ p_deadline: string;
51453
+ p_max_workdays?: number;
51454
+ p_minutes: number;
51455
+ };
51456
+ Returns: import("../integrations/supabase/types").Json;
51457
+ };
49750
51458
  logistics_supersede_stale_tasks: {
49751
51459
  Args: {
49752
51460
  p_keep: string[];
@@ -49779,6 +51487,16 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49779
51487
  };
49780
51488
  Returns: number;
49781
51489
  };
51490
+ logistics_tick_ping: {
51491
+ Args: never;
51492
+ Returns: string;
51493
+ };
51494
+ logistics_timezone_options: {
51495
+ Args: never;
51496
+ Returns: {
51497
+ name: string;
51498
+ }[];
51499
+ };
49782
51500
  logistics_upsert_task: {
49783
51501
  Args: {
49784
51502
  p_buffer_ref: string;
@@ -49798,6 +51516,16 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49798
51516
  };
49799
51517
  Returns: string;
49800
51518
  };
51519
+ logistics_valid_timezone: {
51520
+ Args: {
51521
+ _tz: string;
51522
+ };
51523
+ Returns: boolean;
51524
+ };
51525
+ logistics_working_hours_status: {
51526
+ Args: never;
51527
+ Returns: import("../integrations/supabase/types").Json;
51528
+ };
49801
51529
  logistics_write_buffer_layer_positions: {
49802
51530
  Args: {
49803
51531
  p_buffer_id: string;
@@ -49922,6 +51650,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49922
51650
  };
49923
51651
  Returns: import("../integrations/supabase/types").Json;
49924
51652
  };
51653
+ order_heeft_bevestigde_karren: {
51654
+ Args: {
51655
+ p_order_id: string;
51656
+ };
51657
+ Returns: boolean;
51658
+ };
49925
51659
  order_number_prefix: {
49926
51660
  Args: {
49927
51661
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -49957,6 +51691,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49957
51691
  online: boolean;
49958
51692
  }[];
49959
51693
  };
51694
+ pick_apply_buffer_events: {
51695
+ Args: never;
51696
+ Returns: import("../integrations/supabase/types").Json;
51697
+ };
49960
51698
  pick_available_pick_days: {
49961
51699
  Args: {
49962
51700
  _max_days?: number;
@@ -49966,6 +51704,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
49966
51704
  pick_day: string;
49967
51705
  }[];
49968
51706
  };
51707
+ pick_buffer_order_ids: {
51708
+ Args: {
51709
+ _order_id: string;
51710
+ };
51711
+ Returns: string[];
51712
+ };
49969
51713
  pick_cart_breakdown: {
49970
51714
  Args: {
49971
51715
  _order_id: string;
@@ -50025,6 +51769,7 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
50025
51769
  pick_claim_next_document: {
50026
51770
  Args: {
50027
51771
  _country_code: string;
51772
+ _pick_day?: string;
50028
51773
  _screen_id: string;
50029
51774
  _session_id: string;
50030
51775
  _station_id: string;
@@ -50313,6 +52058,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
50313
52058
  omschrijving: string;
50314
52059
  }[];
50315
52060
  };
52061
+ pick_queue_cart_plan: {
52062
+ Args: {
52063
+ _queue_item_id: string;
52064
+ };
52065
+ Returns: import("../integrations/supabase/types").Json;
52066
+ };
50316
52067
  pick_reference_data_status: {
50317
52068
  Args: never;
50318
52069
  Returns: import("../integrations/supabase/types").Json;
@@ -50327,6 +52078,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
50327
52078
  };
50328
52079
  Returns: undefined;
50329
52080
  };
52081
+ pick_report_missing_cart_plan: {
52082
+ Args: never;
52083
+ Returns: import("../integrations/supabase/types").Json;
52084
+ };
50330
52085
  pick_reprint_cart: {
50331
52086
  Args: {
50332
52087
  _cart_id: string;
@@ -50867,6 +52622,12 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
50867
52622
  };
50868
52623
  Returns: boolean;
50869
52624
  };
52625
+ release_job_lock: {
52626
+ Args: {
52627
+ _key: string;
52628
+ };
52629
+ Returns: undefined;
52630
+ };
50870
52631
  release_local_pdf_job: {
50871
52632
  Args: {
50872
52633
  _job_id: string;
@@ -51056,6 +52817,16 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
51056
52817
  };
51057
52818
  Returns: import("../integrations/supabase/types").Json;
51058
52819
  };
52820
+ scan_log_code: {
52821
+ Args: {
52822
+ p_code: string;
52823
+ p_latency_ms?: number;
52824
+ p_message?: string;
52825
+ p_result: string;
52826
+ p_scanner_key?: string;
52827
+ };
52828
+ Returns: string;
52829
+ };
51059
52830
  scan_open_pakbonnen: {
51060
52831
  Args: {
51061
52832
  p_dagen?: number;
@@ -51200,6 +52971,13 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
51200
52971
  };
51201
52972
  Returns: number;
51202
52973
  };
52974
+ schedule_floriday_catalog_prices_sync: {
52975
+ Args: {
52976
+ p_apikey: string;
52977
+ p_url: string;
52978
+ };
52979
+ Returns: number;
52980
+ };
51203
52981
  schedule_floriday_clock_presales_sync: {
51204
52982
  Args: {
51205
52983
  p_apikey: string;
@@ -51500,6 +53278,10 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
51500
53278
  };
51501
53279
  Returns: undefined;
51502
53280
  };
53281
+ sync_floriday_prices_into_price_groups: {
53282
+ Args: never;
53283
+ Returns: number;
53284
+ };
51503
53285
  sync_layer_stock: {
51504
53286
  Args: {
51505
53287
  p_product_id: string;
@@ -51545,6 +53327,14 @@ export declare const getFloridayReadinessFn: import("@tanstack/start-client-core
51545
53327
  row_count: number;
51546
53328
  }[];
51547
53329
  };
53330
+ try_acquire_job_lock: {
53331
+ Args: {
53332
+ _key: string;
53333
+ _owner?: string;
53334
+ _seconds?: number;
53335
+ };
53336
+ Returns: boolean;
53337
+ };
51548
53338
  try_debtor_lock: {
51549
53339
  Args: {
51550
53340
  _group_key: string;