@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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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 saveInventorySettings: import("@tanstack/start-client-core"
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;
@@ -28011,6 +28906,8 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
28011
28906
  created_at: string;
28012
28907
  currency: string;
28013
28908
  distribute_over: string | null;
28909
+ external_id: string | null;
28910
+ external_synced_at: string | null;
28014
28911
  group_type: string;
28015
28912
  handling_fee: number | null;
28016
28913
  id: string;
@@ -28023,6 +28920,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
28023
28920
  rounding: string;
28024
28921
  rounding_step: number;
28025
28922
  sort_order: number;
28923
+ source: string;
28026
28924
  unit: string;
28027
28925
  updated_at: string;
28028
28926
  };
@@ -28033,6 +28931,8 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
28033
28931
  created_at?: string;
28034
28932
  currency?: string;
28035
28933
  distribute_over?: string | null;
28934
+ external_id?: string | null;
28935
+ external_synced_at?: string | null;
28036
28936
  group_type?: string;
28037
28937
  handling_fee?: number | null;
28038
28938
  id?: string;
@@ -28045,6 +28945,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
28045
28945
  rounding?: string;
28046
28946
  rounding_step?: number;
28047
28947
  sort_order?: number;
28948
+ source?: string;
28048
28949
  unit?: string;
28049
28950
  updated_at?: string;
28050
28951
  };
@@ -28055,6 +28956,8 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
28055
28956
  created_at?: string;
28056
28957
  currency?: string;
28057
28958
  distribute_over?: string | null;
28959
+ external_id?: string | null;
28960
+ external_synced_at?: string | null;
28058
28961
  group_type?: string;
28059
28962
  handling_fee?: number | null;
28060
28963
  id?: string;
@@ -28067,6 +28970,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
28067
28970
  rounding?: string;
28068
28971
  rounding_step?: number;
28069
28972
  sort_order?: number;
28973
+ source?: string;
28070
28974
  unit?: string;
28071
28975
  updated_at?: string;
28072
28976
  };
@@ -31657,6 +32561,84 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
31657
32561
  referencedColumns: ["id"];
31658
32562
  }];
31659
32563
  };
32564
+ floriday_catalog_prices_cache: {
32565
+ Row: {
32566
+ connection_id: string;
32567
+ created_at: string;
32568
+ currency: string;
32569
+ id: string;
32570
+ is_deleted: boolean;
32571
+ price: number | null;
32572
+ price_group_id: string | null;
32573
+ price_group_name: string | null;
32574
+ price_type: string;
32575
+ raw: import("../integrations/supabase/types").Json | null;
32576
+ sales_unit: string | null;
32577
+ sequence_number: number;
32578
+ supplier_article_code: string | null;
32579
+ supply_line_id: string;
32580
+ synced_at: string;
32581
+ trade_item_id: string | null;
32582
+ updated_at: string;
32583
+ valid_from: string | null;
32584
+ valid_to: string | null;
32585
+ week: number | null;
32586
+ year: number | null;
32587
+ };
32588
+ Insert: {
32589
+ connection_id: string;
32590
+ created_at?: string;
32591
+ currency?: string;
32592
+ id?: string;
32593
+ is_deleted?: boolean;
32594
+ price?: number | null;
32595
+ price_group_id?: string | null;
32596
+ price_group_name?: string | null;
32597
+ price_type?: string;
32598
+ raw?: import("../integrations/supabase/types").Json | null;
32599
+ sales_unit?: string | null;
32600
+ sequence_number?: number;
32601
+ supplier_article_code?: string | null;
32602
+ supply_line_id: string;
32603
+ synced_at?: string;
32604
+ trade_item_id?: string | null;
32605
+ updated_at?: string;
32606
+ valid_from?: string | null;
32607
+ valid_to?: string | null;
32608
+ week?: number | null;
32609
+ year?: number | null;
32610
+ };
32611
+ Update: {
32612
+ connection_id?: string;
32613
+ created_at?: string;
32614
+ currency?: string;
32615
+ id?: string;
32616
+ is_deleted?: boolean;
32617
+ price?: number | null;
32618
+ price_group_id?: string | null;
32619
+ price_group_name?: string | null;
32620
+ price_type?: string;
32621
+ raw?: import("../integrations/supabase/types").Json | null;
32622
+ sales_unit?: string | null;
32623
+ sequence_number?: number;
32624
+ supplier_article_code?: string | null;
32625
+ supply_line_id?: string;
32626
+ synced_at?: string;
32627
+ trade_item_id?: string | null;
32628
+ updated_at?: string;
32629
+ valid_from?: string | null;
32630
+ valid_to?: string | null;
32631
+ week?: number | null;
32632
+ year?: number | null;
32633
+ };
32634
+ Relationships: [{
32635
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
32636
+ columns: ["connection_id"];
32637
+ isOneToOne: false;
32638
+ referencedRelation: "floriday_connections";
32639
+ referencedColumns: ["id"];
32640
+ }];
32641
+ };
31660
32642
  floriday_clock_presales_cache: {
31661
32643
  Row: {
31662
32644
  buyer_organization_id: string | null;
@@ -34930,6 +35912,30 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
34930
35912
  referencedColumns: ["id"];
34931
35913
  }];
34932
35914
  };
35915
+ job_locks: {
35916
+ Row: {
35917
+ created_at: string;
35918
+ lock_key: string;
35919
+ locked_until: string;
35920
+ owner: string | null;
35921
+ updated_at: string;
35922
+ };
35923
+ Insert: {
35924
+ created_at?: string;
35925
+ lock_key: string;
35926
+ locked_until: string;
35927
+ owner?: string | null;
35928
+ updated_at?: string;
35929
+ };
35930
+ Update: {
35931
+ created_at?: string;
35932
+ lock_key?: string;
35933
+ locked_until?: string;
35934
+ owner?: string | null;
35935
+ updated_at?: string;
35936
+ };
35937
+ Relationships: [];
35938
+ };
34933
35939
  layout_logos: {
34934
35940
  Row: {
34935
35941
  bestand_url: string;
@@ -35899,6 +36905,36 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
35899
36905
  };
35900
36906
  Relationships: [];
35901
36907
  };
36908
+ logistics_floriday_push_refusals: {
36909
+ Row: {
36910
+ action: string | null;
36911
+ created_at: string;
36912
+ id: string;
36913
+ order_ref: string;
36914
+ reason: string;
36915
+ source_module: string | null;
36916
+ source_shell: string | null;
36917
+ };
36918
+ Insert: {
36919
+ action?: string | null;
36920
+ created_at?: string;
36921
+ id?: string;
36922
+ order_ref: string;
36923
+ reason: string;
36924
+ source_module?: string | null;
36925
+ source_shell?: string | null;
36926
+ };
36927
+ Update: {
36928
+ action?: string | null;
36929
+ created_at?: string;
36930
+ id?: string;
36931
+ order_ref?: string;
36932
+ reason?: string;
36933
+ source_module?: string | null;
36934
+ source_shell?: string | null;
36935
+ };
36936
+ Relationships: [];
36937
+ };
35902
36938
  logistics_floriday_pushes: {
35903
36939
  Row: {
35904
36940
  attempts: number;
@@ -35974,6 +37010,42 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
35974
37010
  };
35975
37011
  Relationships: [];
35976
37012
  };
37013
+ logistics_floriday_status_sends: {
37014
+ Row: {
37015
+ action: string;
37016
+ created_at: string;
37017
+ detail: string | null;
37018
+ http_status: number | null;
37019
+ id: string;
37020
+ ok: boolean;
37021
+ order_ref: string;
37022
+ source_module: string | null;
37023
+ source_shell: string | null;
37024
+ };
37025
+ Insert: {
37026
+ action: string;
37027
+ created_at?: string;
37028
+ detail?: string | null;
37029
+ http_status?: number | null;
37030
+ id?: string;
37031
+ ok?: boolean;
37032
+ order_ref: string;
37033
+ source_module?: string | null;
37034
+ source_shell?: string | null;
37035
+ };
37036
+ Update: {
37037
+ action?: string;
37038
+ created_at?: string;
37039
+ detail?: string | null;
37040
+ http_status?: number | null;
37041
+ id?: string;
37042
+ ok?: boolean;
37043
+ order_ref?: string;
37044
+ source_module?: string | null;
37045
+ source_shell?: string | null;
37046
+ };
37047
+ Relationships: [];
37048
+ };
35977
37049
  logistics_formulas: {
35978
37050
  Row: {
35979
37051
  created_at: string;
@@ -36046,6 +37118,108 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
36046
37118
  };
36047
37119
  Relationships: [];
36048
37120
  };
37121
+ logistics_opening_exceptions: {
37122
+ Row: {
37123
+ closes: string | null;
37124
+ created_at: string;
37125
+ day: string;
37126
+ id: string;
37127
+ is_closed: boolean;
37128
+ note: string | null;
37129
+ opens: string | null;
37130
+ };
37131
+ Insert: {
37132
+ closes?: string | null;
37133
+ created_at?: string;
37134
+ day: string;
37135
+ id?: string;
37136
+ is_closed?: boolean;
37137
+ note?: string | null;
37138
+ opens?: string | null;
37139
+ };
37140
+ Update: {
37141
+ closes?: string | null;
37142
+ created_at?: string;
37143
+ day?: string;
37144
+ id?: string;
37145
+ is_closed?: boolean;
37146
+ note?: string | null;
37147
+ opens?: string | null;
37148
+ };
37149
+ Relationships: [];
37150
+ };
37151
+ logistics_opening_hours: {
37152
+ Row: {
37153
+ closes: string;
37154
+ created_at: string;
37155
+ id: string;
37156
+ is_active: boolean;
37157
+ note: string | null;
37158
+ opens: string;
37159
+ weekday: number;
37160
+ };
37161
+ Insert: {
37162
+ closes: string;
37163
+ created_at?: string;
37164
+ id?: string;
37165
+ is_active?: boolean;
37166
+ note?: string | null;
37167
+ opens: string;
37168
+ weekday: number;
37169
+ };
37170
+ Update: {
37171
+ closes?: string;
37172
+ created_at?: string;
37173
+ id?: string;
37174
+ is_active?: boolean;
37175
+ note?: string | null;
37176
+ opens?: string;
37177
+ weekday?: number;
37178
+ };
37179
+ Relationships: [];
37180
+ };
37181
+ logistics_pick_data_requests: {
37182
+ Row: {
37183
+ actions: import("../integrations/supabase/types").Json;
37184
+ created_at: string;
37185
+ event_id: string | null;
37186
+ finished_at: string | null;
37187
+ id: string;
37188
+ missing: import("../integrations/supabase/types").Json;
37189
+ order_ref: string;
37190
+ reason: string | null;
37191
+ result: import("../integrations/supabase/types").Json | null;
37192
+ status: string;
37193
+ unit_ref: string | null;
37194
+ };
37195
+ Insert: {
37196
+ actions?: import("../integrations/supabase/types").Json;
37197
+ created_at?: string;
37198
+ event_id?: string | null;
37199
+ finished_at?: string | null;
37200
+ id?: string;
37201
+ missing?: import("../integrations/supabase/types").Json;
37202
+ order_ref: string;
37203
+ reason?: string | null;
37204
+ result?: import("../integrations/supabase/types").Json | null;
37205
+ status?: string;
37206
+ unit_ref?: string | null;
37207
+ };
37208
+ Update: {
37209
+ actions?: import("../integrations/supabase/types").Json;
37210
+ created_at?: string;
37211
+ event_id?: string | null;
37212
+ finished_at?: string | null;
37213
+ id?: string;
37214
+ missing?: import("../integrations/supabase/types").Json;
37215
+ order_ref?: string;
37216
+ reason?: string | null;
37217
+ result?: import("../integrations/supabase/types").Json | null;
37218
+ status?: string;
37219
+ unit_ref?: string | null;
37220
+ };
37221
+ Relationships: [];
37222
+ };
36049
37223
  logistics_pickup_moments: {
36050
37224
  Row: {
36051
37225
  carrier_ref: string | null;
@@ -36092,6 +37266,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
36092
37266
  next_attempt_at: string;
36093
37267
  order_id: string;
36094
37268
  reason: string;
37269
+ reason_code: string | null;
36095
37270
  status: string;
36096
37271
  updated_at: string;
36097
37272
  };
@@ -36104,6 +37279,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
36104
37279
  next_attempt_at?: string;
36105
37280
  order_id: string;
36106
37281
  reason?: string;
37282
+ reason_code?: string | null;
36107
37283
  status?: string;
36108
37284
  updated_at?: string;
36109
37285
  };
@@ -36116,6 +37292,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
36116
37292
  next_attempt_at?: string;
36117
37293
  order_id?: string;
36118
37294
  reason?: string;
37295
+ reason_code?: string | null;
36119
37296
  status?: string;
36120
37297
  updated_at?: string;
36121
37298
  };
@@ -36502,6 +37679,69 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
36502
37679
  };
36503
37680
  Relationships: [];
36504
37681
  };
37682
+ logistics_slip_shipping_note: {
37683
+ Row: {
37684
+ attempts: number;
37685
+ batch_key: string | null;
37686
+ cart_id: string | null;
37687
+ created_at: string;
37688
+ error: string | null;
37689
+ error_code: string | null;
37690
+ fulfillment_order_id: string | null;
37691
+ id: string;
37692
+ locked_until: string | null;
37693
+ next_attempt_at: string | null;
37694
+ order_id: string | null;
37695
+ order_number: string | null;
37696
+ print_job_id: string | null;
37697
+ printer_id: string | null;
37698
+ retry_class: string | null;
37699
+ slip_job_id: string;
37700
+ status: string;
37701
+ updated_at: string;
37702
+ };
37703
+ Insert: {
37704
+ attempts?: number;
37705
+ batch_key?: string | null;
37706
+ cart_id?: string | null;
37707
+ created_at?: string;
37708
+ error?: string | null;
37709
+ error_code?: string | null;
37710
+ fulfillment_order_id?: string | null;
37711
+ id?: string;
37712
+ locked_until?: string | null;
37713
+ next_attempt_at?: string | null;
37714
+ order_id?: string | null;
37715
+ order_number?: string | null;
37716
+ print_job_id?: string | null;
37717
+ printer_id?: string | null;
37718
+ retry_class?: string | null;
37719
+ slip_job_id: string;
37720
+ status?: string;
37721
+ updated_at?: string;
37722
+ };
37723
+ Update: {
37724
+ attempts?: number;
37725
+ batch_key?: string | null;
37726
+ cart_id?: string | null;
37727
+ created_at?: string;
37728
+ error?: string | null;
37729
+ error_code?: string | null;
37730
+ fulfillment_order_id?: string | null;
37731
+ id?: string;
37732
+ locked_until?: string | null;
37733
+ next_attempt_at?: string | null;
37734
+ order_id?: string | null;
37735
+ order_number?: string | null;
37736
+ print_job_id?: string | null;
37737
+ printer_id?: string | null;
37738
+ retry_class?: string | null;
37739
+ slip_job_id?: string;
37740
+ status?: string;
37741
+ updated_at?: string;
37742
+ };
37743
+ Relationships: [];
37744
+ };
36505
37745
  logistics_staff_planning: {
36506
37746
  Row: {
36507
37747
  created_at: string;
@@ -36820,6 +38060,39 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
36820
38060
  referencedColumns: ["id"];
36821
38061
  }];
36822
38062
  };
38063
+ logistics_tick_heartbeat: {
38064
+ Row: {
38065
+ id: boolean;
38066
+ last_tick_at: string;
38067
+ };
38068
+ Insert: {
38069
+ id?: boolean;
38070
+ last_tick_at?: string;
38071
+ };
38072
+ Update: {
38073
+ id?: boolean;
38074
+ last_tick_at?: string;
38075
+ };
38076
+ Relationships: [];
38077
+ };
38078
+ logistics_time_settings: {
38079
+ Row: {
38080
+ id: boolean;
38081
+ timezone: string;
38082
+ updated_at: string;
38083
+ };
38084
+ Insert: {
38085
+ id?: boolean;
38086
+ timezone: string;
38087
+ updated_at?: string;
38088
+ };
38089
+ Update: {
38090
+ id?: boolean;
38091
+ timezone?: string;
38092
+ updated_at?: string;
38093
+ };
38094
+ Relationships: [];
38095
+ };
36823
38096
  logistics_variables: {
36824
38097
  Row: {
36825
38098
  created_at: string;
@@ -39210,6 +40483,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
39210
40483
  customer_name: string;
39211
40484
  deleted_at: string | null;
39212
40485
  delivery_date: string | null;
40486
+ floriday_order_group_key: string | null;
39213
40487
  floriday_sales_order_id: string | null;
39214
40488
  id: string;
39215
40489
  invoice_due_at: string | null;
@@ -39237,6 +40511,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
39237
40511
  customer_name?: string;
39238
40512
  deleted_at?: string | null;
39239
40513
  delivery_date?: string | null;
40514
+ floriday_order_group_key?: string | null;
39240
40515
  floriday_sales_order_id?: string | null;
39241
40516
  id?: string;
39242
40517
  invoice_due_at?: string | null;
@@ -39264,6 +40539,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
39264
40539
  customer_name?: string;
39265
40540
  deleted_at?: string | null;
39266
40541
  delivery_date?: string | null;
40542
+ floriday_order_group_key?: string | null;
39267
40543
  floriday_sales_order_id?: string | null;
39268
40544
  id?: string;
39269
40545
  invoice_due_at?: string | null;
@@ -39457,6 +40733,27 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
39457
40733
  };
39458
40734
  Relationships: [];
39459
40735
  };
40736
+ pick_buffer_event_cursor: {
40737
+ Row: {
40738
+ created_at: string;
40739
+ id: boolean;
40740
+ last_event_at: string;
40741
+ updated_at: string;
40742
+ };
40743
+ Insert: {
40744
+ created_at?: string;
40745
+ id?: boolean;
40746
+ last_event_at?: string;
40747
+ updated_at?: string;
40748
+ };
40749
+ Update: {
40750
+ created_at?: string;
40751
+ id?: boolean;
40752
+ last_event_at?: string;
40753
+ updated_at?: string;
40754
+ };
40755
+ Relationships: [];
40756
+ };
39460
40757
  pick_countries: {
39461
40758
  Row: {
39462
40759
  active: boolean;
@@ -45106,6 +46403,36 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
45106
46403
  referencedColumns: ["id"];
45107
46404
  }];
45108
46405
  };
46406
+ voorraad_buffer_state: {
46407
+ Row: {
46408
+ buffer_id: string;
46409
+ buffer_key: string | null;
46410
+ closed_at: string | null;
46411
+ created_at: string;
46412
+ detached_orders: import("../integrations/supabase/types").Json;
46413
+ reason: string | null;
46414
+ updated_at: string;
46415
+ };
46416
+ Insert: {
46417
+ buffer_id: string;
46418
+ buffer_key?: string | null;
46419
+ closed_at?: string | null;
46420
+ created_at?: string;
46421
+ detached_orders?: import("../integrations/supabase/types").Json;
46422
+ reason?: string | null;
46423
+ updated_at?: string;
46424
+ };
46425
+ Update: {
46426
+ buffer_id?: string;
46427
+ buffer_key?: string | null;
46428
+ closed_at?: string | null;
46429
+ created_at?: string;
46430
+ detached_orders?: import("../integrations/supabase/types").Json;
46431
+ reason?: string | null;
46432
+ updated_at?: string;
46433
+ };
46434
+ Relationships: [];
46435
+ };
45109
46436
  voorraad_custom_fields: {
45110
46437
  Row: {
45111
46438
  created_at: string;
@@ -45148,6 +46475,36 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
45148
46475
  };
45149
46476
  Relationships: [];
45150
46477
  };
46478
+ voorraad_logistics_event_log: {
46479
+ Row: {
46480
+ created_at: string;
46481
+ event_id: string;
46482
+ event_type: string;
46483
+ order_ref: string | null;
46484
+ processed_at: string;
46485
+ result: import("../integrations/supabase/types").Json;
46486
+ updated_at: string;
46487
+ };
46488
+ Insert: {
46489
+ created_at?: string;
46490
+ event_id: string;
46491
+ event_type: string;
46492
+ order_ref?: string | null;
46493
+ processed_at?: string;
46494
+ result?: import("../integrations/supabase/types").Json;
46495
+ updated_at?: string;
46496
+ };
46497
+ Update: {
46498
+ created_at?: string;
46499
+ event_id?: string;
46500
+ event_type?: string;
46501
+ order_ref?: string | null;
46502
+ processed_at?: string;
46503
+ result?: import("../integrations/supabase/types").Json;
46504
+ updated_at?: string;
46505
+ };
46506
+ Relationships: [];
46507
+ };
45151
46508
  voorraad_media_upload_failures: {
45152
46509
  Row: {
45153
46510
  action: string;
@@ -47973,6 +49330,17 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
47973
49330
  };
47974
49331
  Returns: boolean;
47975
49332
  };
49333
+ floriday_adopt_connection: {
49334
+ Args: {
49335
+ p_new: string;
49336
+ p_old: string;
49337
+ };
49338
+ Returns: import("../integrations/supabase/types").Json;
49339
+ };
49340
+ floriday_autoheal_connections: {
49341
+ Args: never;
49342
+ Returns: import("../integrations/supabase/types").Json;
49343
+ };
47976
49344
  floriday_capture_stock_snapshot: {
47977
49345
  Args: never;
47978
49346
  Returns: number;
@@ -48030,6 +49398,12 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
48030
49398
  };
48031
49399
  Returns: undefined;
48032
49400
  };
49401
+ floriday_relink_products: {
49402
+ Args: {
49403
+ p_connection_id?: string;
49404
+ };
49405
+ Returns: import("../integrations/supabase/types").Json;
49406
+ };
48033
49407
  floriday_requeue_dead_letters: {
48034
49408
  Args: {
48035
49409
  p_connection_id?: string;
@@ -48651,6 +50025,10 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
48651
50025
  };
48652
50026
  Returns: string;
48653
50027
  };
50028
+ logistics_active_layout_method: {
50029
+ Args: never;
50030
+ Returns: string;
50031
+ };
48654
50032
  logistics_active_pick_workdays: {
48655
50033
  Args: never;
48656
50034
  Returns: string[];
@@ -48702,6 +50080,30 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
48702
50080
  };
48703
50081
  Returns: import("../integrations/supabase/types").Json;
48704
50082
  };
50083
+ logistics_block_reason_code: {
50084
+ Args: {
50085
+ p_details?: import("../integrations/supabase/types").Json;
50086
+ p_reason: string;
50087
+ };
50088
+ Returns: string;
50089
+ };
50090
+ logistics_blocked_orders: {
50091
+ Args: never;
50092
+ Returns: {
50093
+ attempts: number;
50094
+ blocked_since: string;
50095
+ delivery_date: string;
50096
+ order_id: string;
50097
+ order_ref: string;
50098
+ queue_id: string;
50099
+ reason: string;
50100
+ reason_code: string;
50101
+ }[];
50102
+ };
50103
+ logistics_blocked_overview: {
50104
+ Args: never;
50105
+ Returns: import("../integrations/supabase/types").Json;
50106
+ };
48705
50107
  logistics_buffer_criteria: {
48706
50108
  Args: {
48707
50109
  p_settings: import("../integrations/supabase/types").Json;
@@ -48716,6 +50118,39 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
48716
50118
  };
48717
50119
  Returns: import("../integrations/supabase/types").Json;
48718
50120
  };
50121
+ logistics_buffer_detach_late_orders: {
50122
+ Args: {
50123
+ p_buffer?: string;
50124
+ };
50125
+ Returns: import("../integrations/supabase/types").Json;
50126
+ };
50127
+ logistics_buffer_frozen_order: {
50128
+ Args: {
50129
+ p_order_id: string;
50130
+ };
50131
+ Returns: boolean;
50132
+ };
50133
+ logistics_buffer_handled: {
50134
+ Args: {
50135
+ p_buffer: string;
50136
+ };
50137
+ Returns: boolean;
50138
+ };
50139
+ logistics_buffer_notify: {
50140
+ Args: {
50141
+ p_event_type: string;
50142
+ p_idempotency_key: string;
50143
+ p_order_ref: string;
50144
+ p_payload: import("../integrations/supabase/types").Json;
50145
+ };
50146
+ Returns: string;
50147
+ };
50148
+ logistics_buffer_open_key: {
50149
+ Args: {
50150
+ p_base_key: string;
50151
+ };
50152
+ Returns: string;
50153
+ };
48719
50154
  logistics_buffer_simulate: {
48720
50155
  Args: {
48721
50156
  p_orders?: import("../integrations/supabase/types").Json;
@@ -48768,6 +50203,12 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
48768
50203
  };
48769
50204
  Returns: string;
48770
50205
  };
50206
+ logistics_cart_checkin_at: {
50207
+ Args: {
50208
+ p_cart_id: string;
50209
+ };
50210
+ Returns: string;
50211
+ };
48771
50212
  logistics_cart_handled: {
48772
50213
  Args: {
48773
50214
  p_cart_index: number;
@@ -48801,10 +50242,53 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
48801
50242
  task_status: string;
48802
50243
  }[];
48803
50244
  };
50245
+ logistics_cart_is_full: {
50246
+ Args: {
50247
+ p_cart_id: string;
50248
+ };
50249
+ Returns: boolean;
50250
+ };
48804
50251
  logistics_cart_layout_method: {
48805
50252
  Args: never;
48806
50253
  Returns: import("../integrations/supabase/types").Json;
48807
50254
  };
50255
+ logistics_cart_order_refs: {
50256
+ Args: {
50257
+ p_cart_id: string;
50258
+ };
50259
+ Returns: string[];
50260
+ };
50261
+ logistics_cart_plan_overview: {
50262
+ Args: {
50263
+ p_days?: number;
50264
+ };
50265
+ Returns: {
50266
+ cart_total: number;
50267
+ delivery_date: string;
50268
+ order_ref: string;
50269
+ plan_ready: boolean;
50270
+ reason: string;
50271
+ released: boolean;
50272
+ }[];
50273
+ };
50274
+ logistics_cart_plan_status: {
50275
+ Args: {
50276
+ p_ref: string;
50277
+ };
50278
+ Returns: import("../integrations/supabase/types").Json;
50279
+ };
50280
+ logistics_cart_release_reason: {
50281
+ Args: {
50282
+ p_cart_id: string;
50283
+ };
50284
+ Returns: string;
50285
+ };
50286
+ logistics_cart_released: {
50287
+ Args: {
50288
+ p_cart_id: string;
50289
+ };
50290
+ Returns: boolean;
50291
+ };
48808
50292
  logistics_cart_seq: {
48809
50293
  Args: {
48810
50294
  p_order_uuid?: string;
@@ -48855,6 +50339,10 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
48855
50339
  unit_ref: string;
48856
50340
  }[];
48857
50341
  };
50342
+ logistics_carts_per_print: {
50343
+ Args: never;
50344
+ Returns: number;
50345
+ };
48858
50346
  logistics_check_order_allowed: {
48859
50347
  Args: {
48860
50348
  p_lines: import("../integrations/supabase/types").Json;
@@ -48958,6 +50446,10 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
48958
50446
  isSetofReturn: false;
48959
50447
  };
48960
50448
  };
50449
+ logistics_cleanup_orphan_print_jobs: {
50450
+ Args: never;
50451
+ Returns: import("../integrations/supabase/types").Json;
50452
+ };
48961
50453
  logistics_complete_task: {
48962
50454
  Args: {
48963
50455
  p_result?: import("../integrations/supabase/types").Json;
@@ -49020,6 +50512,12 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
49020
50512
  station_carts: number;
49021
50513
  }[];
49022
50514
  };
50515
+ logistics_control_complete_cart: {
50516
+ Args: {
50517
+ p_cart_id: string;
50518
+ };
50519
+ Returns: number;
50520
+ };
49023
50521
  logistics_control_scan_approve: {
49024
50522
  Args: {
49025
50523
  p_allow_reprint?: boolean;
@@ -49099,6 +50597,15 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
49099
50597
  Args: never;
49100
50598
  Returns: import("../integrations/supabase/types").Json;
49101
50599
  };
50600
+ logistics_day_windows: {
50601
+ Args: {
50602
+ p_day: string;
50603
+ };
50604
+ Returns: {
50605
+ win_end: string;
50606
+ win_start: string;
50607
+ }[];
50608
+ };
49102
50609
  logistics_delay_customer_email: {
49103
50610
  Args: {
49104
50611
  p_customer: string;
@@ -49166,6 +50673,17 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
49166
50673
  };
49167
50674
  Returns: import("../integrations/supabase/types").Json;
49168
50675
  };
50676
+ logistics_enqueue_shipping_note_with_slip: {
50677
+ Args: {
50678
+ _cart_id: string;
50679
+ _is_herprint: boolean;
50680
+ _printer_id: string;
50681
+ _queue_item_id: string;
50682
+ _session_id: string;
50683
+ _slip_job_id: string;
50684
+ };
50685
+ Returns: string;
50686
+ };
49169
50687
  logistics_enqueue_sticker_with_slip: {
49170
50688
  Args: {
49171
50689
  _cart_id: string;
@@ -49183,6 +50701,14 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
49183
50701
  };
49184
50702
  Returns: string;
49185
50703
  };
50704
+ logistics_ensure_pick_data: {
50705
+ Args: {
50706
+ p_event_id?: string;
50707
+ p_missing?: import("../integrations/supabase/types").Json;
50708
+ p_ref: string;
50709
+ };
50710
+ Returns: import("../integrations/supabase/types").Json;
50711
+ };
49186
50712
  logistics_fail_task: {
49187
50713
  Args: {
49188
50714
  p_error: string;
@@ -49304,6 +50830,38 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
49304
50830
  };
49305
50831
  Returns: string;
49306
50832
  };
50833
+ logistics_floriday_gate_status: {
50834
+ Args: never;
50835
+ Returns: import("../integrations/supabase/types").Json;
50836
+ };
50837
+ logistics_floriday_log_refusal: {
50838
+ Args: {
50839
+ _action?: string;
50840
+ _module?: string;
50841
+ _order_ref: string;
50842
+ _reason: string;
50843
+ _shell?: string;
50844
+ };
50845
+ Returns: undefined;
50846
+ };
50847
+ logistics_floriday_log_send: {
50848
+ Args: {
50849
+ _action: string;
50850
+ _detail?: string;
50851
+ _http_status?: number;
50852
+ _module?: string;
50853
+ _ok: boolean;
50854
+ _order_ref: string;
50855
+ _shell?: string;
50856
+ };
50857
+ Returns: undefined;
50858
+ };
50859
+ logistics_floriday_order_approved: {
50860
+ Args: {
50861
+ _order_ref: string;
50862
+ };
50863
+ Returns: boolean;
50864
+ };
49307
50865
  logistics_floriday_prune_pushes: {
49308
50866
  Args: {
49309
50867
  _days?: number;
@@ -49318,6 +50876,20 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
49318
50876
  };
49319
50877
  Returns: string;
49320
50878
  };
50879
+ logistics_floriday_status_updates_enabled: {
50880
+ Args: never;
50881
+ Returns: boolean;
50882
+ };
50883
+ logistics_floriday_stock_updates_enabled: {
50884
+ Args: never;
50885
+ Returns: boolean;
50886
+ };
50887
+ logistics_floriday_write_allowed: {
50888
+ Args: {
50889
+ _action: string;
50890
+ };
50891
+ Returns: boolean;
50892
+ };
49321
50893
  logistics_fulfill_barcode_requests: {
49322
50894
  Args: {
49323
50895
  p_limit?: number;
@@ -49338,6 +50910,16 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
49338
50910
  };
49339
50911
  Returns: boolean;
49340
50912
  };
50913
+ logistics_layout_method_status: {
50914
+ Args: never;
50915
+ Returns: import("../integrations/supabase/types").Json;
50916
+ };
50917
+ logistics_link_order_items: {
50918
+ Args: {
50919
+ p_order?: string;
50920
+ };
50921
+ Returns: import("../integrations/supabase/types").Json;
50922
+ };
49341
50923
  logistics_live_carriers: {
49342
50924
  Args: {
49343
50925
  p_order_ref: string;
@@ -49350,6 +50932,12 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
49350
50932
  };
49351
50933
  Returns: number;
49352
50934
  };
50935
+ logistics_merge_partial_carts: {
50936
+ Args: {
50937
+ p_limit?: number;
50938
+ };
50939
+ Returns: import("../integrations/supabase/types").Json;
50940
+ };
49353
50941
  logistics_next_workday_date: {
49354
50942
  Args: {
49355
50943
  p_date: string;
@@ -49364,12 +50952,22 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
49364
50952
  };
49365
50953
  Returns: string;
49366
50954
  };
50955
+ logistics_normalize_product_label: {
50956
+ Args: {
50957
+ p_label: string;
50958
+ };
50959
+ Returns: string;
50960
+ };
49367
50961
  logistics_not_past: {
49368
50962
  Args: {
49369
50963
  p_ts: string;
49370
50964
  };
49371
50965
  Returns: string;
49372
50966
  };
50967
+ logistics_opening_timezone: {
50968
+ Args: never;
50969
+ Returns: string;
50970
+ };
49373
50971
  logistics_order_cart_count: {
49374
50972
  Args: {
49375
50973
  p_order_ref: string;
@@ -49454,6 +51052,10 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
49454
51052
  Args: never;
49455
51053
  Returns: import("../integrations/supabase/types").Json;
49456
51054
  };
51055
+ logistics_pick_partial_mode: {
51056
+ Args: never;
51057
+ Returns: string;
51058
+ };
49457
51059
  logistics_pick_start_estimate: {
49458
51060
  Args: {
49459
51061
  p_order: import("../integrations/supabase/types").Json;
@@ -49552,6 +51154,12 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
49552
51154
  Args: never;
49553
51155
  Returns: number;
49554
51156
  };
51157
+ logistics_plan_retry: {
51158
+ Args: {
51159
+ p_order_ids: string[];
51160
+ };
51161
+ Returns: number;
51162
+ };
49555
51163
  logistics_plan_setting: {
49556
51164
  Args: {
49557
51165
  p_default: number;
@@ -49559,6 +51167,12 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
49559
51167
  };
49560
51168
  Returns: number;
49561
51169
  };
51170
+ logistics_prepare_pick_documents: {
51171
+ Args: {
51172
+ p_limit?: number;
51173
+ };
51174
+ Returns: import("../integrations/supabase/types").Json;
51175
+ };
49562
51176
  logistics_prune_buffer_member_queue: {
49563
51177
  Args: never;
49564
51178
  Returns: number;
@@ -49599,12 +51213,30 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
49599
51213
  Args: never;
49600
51214
  Returns: import("../integrations/supabase/types").Json;
49601
51215
  };
51216
+ logistics_refresh_pick_queue_status: {
51217
+ Args: {
51218
+ p_ref: string;
51219
+ };
51220
+ Returns: number;
51221
+ };
49602
51222
  logistics_refresh_pickup_moments: {
49603
51223
  Args: {
49604
51224
  p_weeks?: number;
49605
51225
  };
49606
51226
  Returns: import("../integrations/supabase/types").Json;
49607
51227
  };
51228
+ logistics_replan_all: {
51229
+ Args: {
51230
+ p_reason?: string;
51231
+ };
51232
+ Returns: import("../integrations/supabase/types").Json;
51233
+ };
51234
+ logistics_replan_all_force: {
51235
+ Args: {
51236
+ p_reason?: string;
51237
+ };
51238
+ Returns: import("../integrations/supabase/types").Json;
51239
+ };
49608
51240
  logistics_report_delay: {
49609
51241
  Args: {
49610
51242
  p_expected_date?: string;
@@ -49658,6 +51290,12 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
49658
51290
  };
49659
51291
  Returns: import("../integrations/supabase/types").Json;
49660
51292
  };
51293
+ logistics_resolve_product_id: {
51294
+ Args: {
51295
+ p_label: string;
51296
+ };
51297
+ Returns: string;
51298
+ };
49661
51299
  logistics_resolve_settings: {
49662
51300
  Args: {
49663
51301
  p_config_id: string;
@@ -49743,6 +51381,10 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
49743
51381
  };
49744
51382
  Returns: string;
49745
51383
  };
51384
+ logistics_shipping_note_follows_slip: {
51385
+ Args: never;
51386
+ Returns: boolean;
51387
+ };
49746
51388
  logistics_shipping_note_from_barcode: {
49747
51389
  Args: {
49748
51390
  p_allow_reprint?: boolean;
@@ -49751,10 +51393,76 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
49751
51393
  };
49752
51394
  Returns: import("../integrations/supabase/types").Json;
49753
51395
  };
51396
+ logistics_shipping_note_job_for_slip: {
51397
+ Args: {
51398
+ _slip_job_id: string;
51399
+ };
51400
+ Returns: string;
51401
+ };
51402
+ logistics_slip_note_claim: {
51403
+ Args: {
51404
+ _lease_seconds?: number;
51405
+ _limit?: number;
51406
+ };
51407
+ Returns: {
51408
+ attempts: number;
51409
+ batch_key: string | null;
51410
+ cart_id: string | null;
51411
+ created_at: string;
51412
+ error: string | null;
51413
+ error_code: string | null;
51414
+ fulfillment_order_id: string | null;
51415
+ id: string;
51416
+ locked_until: string | null;
51417
+ next_attempt_at: string | null;
51418
+ order_id: string | null;
51419
+ order_number: string | null;
51420
+ print_job_id: string | null;
51421
+ printer_id: string | null;
51422
+ retry_class: string | null;
51423
+ slip_job_id: string;
51424
+ status: string;
51425
+ updated_at: string;
51426
+ }[];
51427
+ SetofOptions: {
51428
+ from: "*";
51429
+ to: "logistics_slip_shipping_note";
51430
+ isOneToOne: false;
51431
+ isSetofReturn: true;
51432
+ };
51433
+ };
51434
+ logistics_slip_note_finish: {
51435
+ Args: {
51436
+ _error?: string;
51437
+ _error_code?: string;
51438
+ _fulfillment_order_id?: string;
51439
+ _id: string;
51440
+ _ok: boolean;
51441
+ _print_job_id?: string;
51442
+ _status?: string;
51443
+ };
51444
+ Returns: undefined;
51445
+ };
51446
+ logistics_slip_note_keep_waiting: {
51447
+ Args: {
51448
+ _class?: string;
51449
+ _id: string;
51450
+ _reason: string;
51451
+ };
51452
+ Returns: undefined;
51453
+ };
49754
51454
  logistics_sticker_follows_slip: {
49755
51455
  Args: never;
49756
51456
  Returns: boolean;
49757
51457
  };
51458
+ logistics_subtract_working_minutes: {
51459
+ Args: {
51460
+ p_deadline: string;
51461
+ p_max_workdays?: number;
51462
+ p_minutes: number;
51463
+ };
51464
+ Returns: import("../integrations/supabase/types").Json;
51465
+ };
49758
51466
  logistics_supersede_stale_tasks: {
49759
51467
  Args: {
49760
51468
  p_keep: string[];
@@ -49787,6 +51495,16 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
49787
51495
  };
49788
51496
  Returns: number;
49789
51497
  };
51498
+ logistics_tick_ping: {
51499
+ Args: never;
51500
+ Returns: string;
51501
+ };
51502
+ logistics_timezone_options: {
51503
+ Args: never;
51504
+ Returns: {
51505
+ name: string;
51506
+ }[];
51507
+ };
49790
51508
  logistics_upsert_task: {
49791
51509
  Args: {
49792
51510
  p_buffer_ref: string;
@@ -49806,6 +51524,16 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
49806
51524
  };
49807
51525
  Returns: string;
49808
51526
  };
51527
+ logistics_valid_timezone: {
51528
+ Args: {
51529
+ _tz: string;
51530
+ };
51531
+ Returns: boolean;
51532
+ };
51533
+ logistics_working_hours_status: {
51534
+ Args: never;
51535
+ Returns: import("../integrations/supabase/types").Json;
51536
+ };
49809
51537
  logistics_write_buffer_layer_positions: {
49810
51538
  Args: {
49811
51539
  p_buffer_id: string;
@@ -49930,6 +51658,12 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
49930
51658
  };
49931
51659
  Returns: import("../integrations/supabase/types").Json;
49932
51660
  };
51661
+ order_heeft_bevestigde_karren: {
51662
+ Args: {
51663
+ p_order_id: string;
51664
+ };
51665
+ Returns: boolean;
51666
+ };
49933
51667
  order_number_prefix: {
49934
51668
  Args: {
49935
51669
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -49965,6 +51699,10 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
49965
51699
  online: boolean;
49966
51700
  }[];
49967
51701
  };
51702
+ pick_apply_buffer_events: {
51703
+ Args: never;
51704
+ Returns: import("../integrations/supabase/types").Json;
51705
+ };
49968
51706
  pick_available_pick_days: {
49969
51707
  Args: {
49970
51708
  _max_days?: number;
@@ -49974,6 +51712,12 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
49974
51712
  pick_day: string;
49975
51713
  }[];
49976
51714
  };
51715
+ pick_buffer_order_ids: {
51716
+ Args: {
51717
+ _order_id: string;
51718
+ };
51719
+ Returns: string[];
51720
+ };
49977
51721
  pick_cart_breakdown: {
49978
51722
  Args: {
49979
51723
  _order_id: string;
@@ -50033,6 +51777,7 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
50033
51777
  pick_claim_next_document: {
50034
51778
  Args: {
50035
51779
  _country_code: string;
51780
+ _pick_day?: string;
50036
51781
  _screen_id: string;
50037
51782
  _session_id: string;
50038
51783
  _station_id: string;
@@ -50321,6 +52066,12 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
50321
52066
  omschrijving: string;
50322
52067
  }[];
50323
52068
  };
52069
+ pick_queue_cart_plan: {
52070
+ Args: {
52071
+ _queue_item_id: string;
52072
+ };
52073
+ Returns: import("../integrations/supabase/types").Json;
52074
+ };
50324
52075
  pick_reference_data_status: {
50325
52076
  Args: never;
50326
52077
  Returns: import("../integrations/supabase/types").Json;
@@ -50335,6 +52086,10 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
50335
52086
  };
50336
52087
  Returns: undefined;
50337
52088
  };
52089
+ pick_report_missing_cart_plan: {
52090
+ Args: never;
52091
+ Returns: import("../integrations/supabase/types").Json;
52092
+ };
50338
52093
  pick_reprint_cart: {
50339
52094
  Args: {
50340
52095
  _cart_id: string;
@@ -50875,6 +52630,12 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
50875
52630
  };
50876
52631
  Returns: boolean;
50877
52632
  };
52633
+ release_job_lock: {
52634
+ Args: {
52635
+ _key: string;
52636
+ };
52637
+ Returns: undefined;
52638
+ };
50878
52639
  release_local_pdf_job: {
50879
52640
  Args: {
50880
52641
  _job_id: string;
@@ -51064,6 +52825,16 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
51064
52825
  };
51065
52826
  Returns: import("../integrations/supabase/types").Json;
51066
52827
  };
52828
+ scan_log_code: {
52829
+ Args: {
52830
+ p_code: string;
52831
+ p_latency_ms?: number;
52832
+ p_message?: string;
52833
+ p_result: string;
52834
+ p_scanner_key?: string;
52835
+ };
52836
+ Returns: string;
52837
+ };
51067
52838
  scan_open_pakbonnen: {
51068
52839
  Args: {
51069
52840
  p_dagen?: number;
@@ -51208,6 +52979,13 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
51208
52979
  };
51209
52980
  Returns: number;
51210
52981
  };
52982
+ schedule_floriday_catalog_prices_sync: {
52983
+ Args: {
52984
+ p_apikey: string;
52985
+ p_url: string;
52986
+ };
52987
+ Returns: number;
52988
+ };
51211
52989
  schedule_floriday_clock_presales_sync: {
51212
52990
  Args: {
51213
52991
  p_apikey: string;
@@ -51508,6 +53286,10 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
51508
53286
  };
51509
53287
  Returns: undefined;
51510
53288
  };
53289
+ sync_floriday_prices_into_price_groups: {
53290
+ Args: never;
53291
+ Returns: number;
53292
+ };
51511
53293
  sync_layer_stock: {
51512
53294
  Args: {
51513
53295
  p_product_id: string;
@@ -51553,6 +53335,14 @@ export declare const republishInventory: import("@tanstack/start-client-core").O
51553
53335
  row_count: number;
51554
53336
  }[];
51555
53337
  };
53338
+ try_acquire_job_lock: {
53339
+ Args: {
53340
+ _key: string;
53341
+ _owner?: string;
53342
+ _seconds?: number;
53343
+ };
53344
+ Returns: boolean;
53345
+ };
51556
53346
  try_debtor_lock: {
51557
53347
  Args: {
51558
53348
  _group_key: string;