@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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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("./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("./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("./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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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("./types").Json;
10432
+ created_at: string;
10433
+ event_id: string | null;
10434
+ finished_at: string | null;
10435
+ id: string;
10436
+ missing: import("./types").Json;
10437
+ order_ref: string;
10438
+ reason: string | null;
10439
+ result: import("./types").Json | null;
10440
+ status: string;
10441
+ unit_ref: string | null;
10442
+ };
10443
+ Insert: {
10444
+ actions?: import("./types").Json;
10445
+ created_at?: string;
10446
+ event_id?: string | null;
10447
+ finished_at?: string | null;
10448
+ id?: string;
10449
+ missing?: import("./types").Json;
10450
+ order_ref: string;
10451
+ reason?: string | null;
10452
+ result?: import("./types").Json | null;
10453
+ status?: string;
10454
+ unit_ref?: string | null;
10455
+ };
10456
+ Update: {
10457
+ actions?: import("./types").Json;
10458
+ created_at?: string;
10459
+ event_id?: string | null;
10460
+ finished_at?: string | null;
10461
+ id?: string;
10462
+ missing?: import("./types").Json;
10463
+ order_ref?: string;
10464
+ reason?: string | null;
10465
+ result?: import("./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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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,38 +10927,101 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
10645
10927
  };
10646
10928
  Relationships: [];
10647
10929
  };
10648
- logistics_staff_planning: {
10930
+ logistics_slip_shipping_note: {
10649
10931
  Row: {
10932
+ attempts: number;
10933
+ batch_key: string | null;
10934
+ cart_id: string | null;
10650
10935
  created_at: string;
10651
- end_time: string;
10936
+ error: string | null;
10937
+ error_code: string | null;
10938
+ fulfillment_order_id: string | null;
10652
10939
  id: string;
10653
- note: string | null;
10654
- plan_date: string;
10655
- source_module: string | null;
10656
- staff_count: number;
10657
- start_time: 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;
10658
10949
  updated_at: string;
10659
- user_id: string;
10660
10950
  };
10661
10951
  Insert: {
10952
+ attempts?: number;
10953
+ batch_key?: string | null;
10954
+ cart_id?: string | null;
10662
10955
  created_at?: string;
10663
- end_time?: string;
10956
+ error?: string | null;
10957
+ error_code?: string | null;
10958
+ fulfillment_order_id?: string | null;
10664
10959
  id?: string;
10665
- note?: string | null;
10666
- plan_date: string;
10667
- source_module?: string | null;
10668
- staff_count?: number;
10669
- start_time?: 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;
10670
10969
  updated_at?: string;
10671
- user_id?: string;
10672
10970
  };
10673
10971
  Update: {
10972
+ attempts?: number;
10973
+ batch_key?: string | null;
10974
+ cart_id?: string | null;
10674
10975
  created_at?: string;
10675
- end_time?: string;
10976
+ error?: string | null;
10977
+ error_code?: string | null;
10978
+ fulfillment_order_id?: string | null;
10676
10979
  id?: string;
10677
- note?: string | null;
10678
- plan_date?: string;
10679
- source_module?: string | null;
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
+ };
10993
+ logistics_staff_planning: {
10994
+ Row: {
10995
+ created_at: string;
10996
+ end_time: string;
10997
+ id: string;
10998
+ note: string | null;
10999
+ plan_date: string;
11000
+ source_module: string | null;
11001
+ staff_count: number;
11002
+ start_time: string;
11003
+ updated_at: string;
11004
+ user_id: string;
11005
+ };
11006
+ Insert: {
11007
+ created_at?: string;
11008
+ end_time?: string;
11009
+ id?: string;
11010
+ note?: string | null;
11011
+ plan_date: string;
11012
+ source_module?: string | null;
11013
+ staff_count?: number;
11014
+ start_time?: string;
11015
+ updated_at?: string;
11016
+ user_id?: string;
11017
+ };
11018
+ Update: {
11019
+ created_at?: string;
11020
+ end_time?: string;
11021
+ id?: string;
11022
+ note?: string | null;
11023
+ plan_date?: string;
11024
+ source_module?: string | null;
10680
11025
  staff_count?: number;
10681
11026
  start_time?: string;
10682
11027
  updated_at?: string;
@@ -10963,6 +11308,39 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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("./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("./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("./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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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("./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("./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("./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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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("./types").Json;
22587
+ };
22588
+ floriday_autoheal_connections: {
22589
+ Args: never;
22590
+ Returns: import("./types").Json;
22591
+ };
22119
22592
  floriday_capture_stock_snapshot: {
22120
22593
  Args: never;
22121
22594
  Returns: number;
@@ -22173,6 +22646,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22173
22646
  };
22174
22647
  Returns: undefined;
22175
22648
  };
22649
+ floriday_relink_products: {
22650
+ Args: {
22651
+ p_connection_id?: string;
22652
+ };
22653
+ Returns: import("./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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22845
23328
  };
22846
23329
  Returns: import("./types").Json;
22847
23330
  };
23331
+ logistics_block_reason_code: {
23332
+ Args: {
23333
+ p_details?: import("./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("./types").Json;
23354
+ };
22848
23355
  logistics_buffer_criteria: {
22849
23356
  Args: {
22850
23357
  p_settings: import("./types").Json;
@@ -22859,6 +23366,39 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22859
23366
  };
22860
23367
  Returns: import("./types").Json;
22861
23368
  };
23369
+ logistics_buffer_detach_late_orders: {
23370
+ Args: {
23371
+ p_buffer?: string;
23372
+ };
23373
+ Returns: import("./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("./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("./types").Json;
@@ -22911,6 +23451,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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("./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("./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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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("./types").Json;
@@ -23101,6 +23694,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23101
23694
  isSetofReturn: false;
23102
23695
  };
23103
23696
  };
23697
+ logistics_cleanup_orphan_print_jobs: {
23698
+ Args: never;
23699
+ Returns: import("./types").Json;
23700
+ };
23104
23701
  logistics_complete_task: {
23105
23702
  Args: {
23106
23703
  p_result?: import("./types").Json;
@@ -23163,6 +23760,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23242
23845
  Args: never;
23243
23846
  Returns: import("./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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23309
23921
  };
23310
23922
  Returns: import("./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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23326
23949
  };
23327
23950
  Returns: string;
23328
23951
  };
23952
+ logistics_ensure_pick_data: {
23953
+ Args: {
23954
+ p_event_id?: string;
23955
+ p_missing?: import("./types").Json;
23956
+ p_ref: string;
23957
+ };
23958
+ Returns: import("./types").Json;
23959
+ };
23329
23960
  logistics_fail_task: {
23330
23961
  Args: {
23331
23962
  p_error: string;
@@ -23447,6 +24078,38 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23447
24078
  };
23448
24079
  Returns: string;
23449
24080
  };
24081
+ logistics_floriday_gate_status: {
24082
+ Args: never;
24083
+ Returns: import("./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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23481
24158
  };
23482
24159
  Returns: boolean;
23483
24160
  };
24161
+ logistics_layout_method_status: {
24162
+ Args: never;
24163
+ Returns: import("./types").Json;
24164
+ };
24165
+ logistics_link_order_items: {
24166
+ Args: {
24167
+ p_order?: string;
24168
+ };
24169
+ Returns: import("./types").Json;
24170
+ };
23484
24171
  logistics_live_carriers: {
23485
24172
  Args: {
23486
24173
  p_order_ref: string;
@@ -23493,6 +24180,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23493
24180
  };
23494
24181
  Returns: number;
23495
24182
  };
24183
+ logistics_merge_partial_carts: {
24184
+ Args: {
24185
+ p_limit?: number;
24186
+ };
24187
+ Returns: import("./types").Json;
24188
+ };
23496
24189
  logistics_next_workday_date: {
23497
24190
  Args: {
23498
24191
  p_date: string;
@@ -23507,12 +24200,22 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23597
24300
  Args: never;
23598
24301
  Returns: import("./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("./types").Json;
@@ -23695,6 +24402,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23702
24415
  };
23703
24416
  Returns: number;
23704
24417
  };
24418
+ logistics_prepare_pick_documents: {
24419
+ Args: {
24420
+ p_limit?: number;
24421
+ };
24422
+ Returns: import("./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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23742
24461
  Args: never;
23743
24462
  Returns: import("./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("./types").Json;
23750
24475
  };
24476
+ logistics_replan_all: {
24477
+ Args: {
24478
+ p_reason?: string;
24479
+ };
24480
+ Returns: import("./types").Json;
24481
+ };
24482
+ logistics_replan_all_force: {
24483
+ Args: {
24484
+ p_reason?: string;
24485
+ };
24486
+ Returns: import("./types").Json;
24487
+ };
23751
24488
  logistics_report_delay: {
23752
24489
  Args: {
23753
24490
  p_expected_date?: string;
@@ -23801,6 +24538,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23801
24538
  };
23802
24539
  Returns: import("./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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23894
24641
  };
23895
24642
  Returns: import("./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("./types").Json;
24713
+ };
23901
24714
  logistics_supersede_stale_tasks: {
23902
24715
  Args: {
23903
24716
  p_keep: string[];
@@ -23930,6 +24743,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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("./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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
24073
24906
  };
24074
24907
  Returns: import("./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("./types").Json;
@@ -24108,6 +24947,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
24108
24947
  online: boolean;
24109
24948
  }[];
24110
24949
  };
24950
+ pick_apply_buffer_events: {
24951
+ Args: never;
24952
+ Returns: import("./types").Json;
24953
+ };
24111
24954
  pick_available_pick_days: {
24112
24955
  Args: {
24113
24956
  _max_days?: number;
@@ -24117,6 +24960,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
24464
25314
  omschrijving: string;
24465
25315
  }[];
24466
25316
  };
25317
+ pick_queue_cart_plan: {
25318
+ Args: {
25319
+ _queue_item_id: string;
25320
+ };
25321
+ Returns: import("./types").Json;
25322
+ };
24467
25323
  pick_reference_data_status: {
24468
25324
  Args: never;
24469
25325
  Returns: import("./types").Json;
@@ -24478,6 +25334,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
24478
25334
  };
24479
25335
  Returns: undefined;
24480
25336
  };
25337
+ pick_report_missing_cart_plan: {
25338
+ Args: never;
25339
+ Returns: import("./types").Json;
25340
+ };
24481
25341
  pick_reprint_cart: {
24482
25342
  Args: {
24483
25343
  _cart_id: string;
@@ -25018,6 +25878,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
25207
26073
  };
25208
26074
  Returns: import("./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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
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;