@flowselections/pick-schermen-kwekers 1.0.18 → 1.0.20

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 (32) hide show
  1. package/dist-lib/components/pick/PickScherm.d.ts.map +1 -1
  2. package/dist-lib/components/pick/PickScherm.js +340 -59
  3. package/dist-lib/components/pick/QueueTable.d.ts +6 -1
  4. package/dist-lib/components/pick/QueueTable.d.ts.map +1 -1
  5. package/dist-lib/components/pick/QueueTable.js +30 -22
  6. package/dist-lib/hooks/usePickQueue.d.ts +2 -0
  7. package/dist-lib/hooks/usePickQueue.d.ts.map +1 -1
  8. package/dist-lib/hooks/usePickQueue.js +30 -0
  9. package/dist-lib/hooks/useShippingNoteStatus.d.ts +27 -0
  10. package/dist-lib/hooks/useShippingNoteStatus.d.ts.map +1 -0
  11. package/dist-lib/hooks/useShippingNoteStatus.js +132 -0
  12. package/dist-lib/index.d.ts +1 -0
  13. package/dist-lib/index.d.ts.map +1 -1
  14. package/dist-lib/index.js +1 -0
  15. package/dist-lib/integrations/supabase/auth-middleware.d.ts +952 -19
  16. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  17. package/dist-lib/integrations/supabase/client.d.ts +952 -19
  18. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  19. package/dist-lib/integrations/supabase/client.server.d.ts +952 -19
  20. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  21. package/dist-lib/integrations/supabase/types.d.ts +952 -17
  22. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  23. package/dist-lib/lib/pickApi.d.ts +29 -0
  24. package/dist-lib/lib/pickApi.d.ts.map +1 -1
  25. package/dist-lib/lib/pickApi.js +49 -0
  26. package/dist-lib/lib/pickTypes.d.ts +59 -2
  27. package/dist-lib/lib/pickTypes.d.ts.map +1 -1
  28. package/dist-lib/lib/pickTypes.js +149 -24
  29. package/dist-lib/lib/shippingNoteStatus.d.ts +35 -0
  30. package/dist-lib/lib/shippingNoteStatus.d.ts.map +1 -0
  31. package/dist-lib/lib/shippingNoteStatus.js +118 -0
  32. 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;
@@ -21451,6 +21913,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
21451
21913
  Args: never;
21452
21914
  Returns: boolean;
21453
21915
  };
21916
+ cancel_open_print_jobs: {
21917
+ Args: {
21918
+ _cutoff: string;
21919
+ };
21920
+ Returns: {
21921
+ extern_job_id: string;
21922
+ id: string;
21923
+ }[];
21924
+ };
21454
21925
  check_offer_product_available_stock: {
21455
21926
  Args: {
21456
21927
  p_campaign_product_id: string;
@@ -22116,6 +22587,17 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22116
22587
  };
22117
22588
  Returns: boolean;
22118
22589
  };
22590
+ floriday_adopt_connection: {
22591
+ Args: {
22592
+ p_new: string;
22593
+ p_old: string;
22594
+ };
22595
+ Returns: import("./types").Json;
22596
+ };
22597
+ floriday_autoheal_connections: {
22598
+ Args: never;
22599
+ Returns: import("./types").Json;
22600
+ };
22119
22601
  floriday_capture_stock_snapshot: {
22120
22602
  Args: never;
22121
22603
  Returns: number;
@@ -22173,6 +22655,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22173
22655
  };
22174
22656
  Returns: undefined;
22175
22657
  };
22658
+ floriday_relink_products: {
22659
+ Args: {
22660
+ p_connection_id?: string;
22661
+ };
22662
+ Returns: import("./types").Json;
22663
+ };
22176
22664
  floriday_requeue_dead_letters: {
22177
22665
  Args: {
22178
22666
  p_connection_id?: string;
@@ -22794,6 +23282,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22794
23282
  };
22795
23283
  Returns: string;
22796
23284
  };
23285
+ logistics_active_layout_method: {
23286
+ Args: never;
23287
+ Returns: string;
23288
+ };
22797
23289
  logistics_active_pick_workdays: {
22798
23290
  Args: never;
22799
23291
  Returns: string[];
@@ -22845,6 +23337,30 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22845
23337
  };
22846
23338
  Returns: import("./types").Json;
22847
23339
  };
23340
+ logistics_block_reason_code: {
23341
+ Args: {
23342
+ p_details?: import("./types").Json;
23343
+ p_reason: string;
23344
+ };
23345
+ Returns: string;
23346
+ };
23347
+ logistics_blocked_orders: {
23348
+ Args: never;
23349
+ Returns: {
23350
+ attempts: number;
23351
+ blocked_since: string;
23352
+ delivery_date: string;
23353
+ order_id: string;
23354
+ order_ref: string;
23355
+ queue_id: string;
23356
+ reason: string;
23357
+ reason_code: string;
23358
+ }[];
23359
+ };
23360
+ logistics_blocked_overview: {
23361
+ Args: never;
23362
+ Returns: import("./types").Json;
23363
+ };
22848
23364
  logistics_buffer_criteria: {
22849
23365
  Args: {
22850
23366
  p_settings: import("./types").Json;
@@ -22859,6 +23375,39 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22859
23375
  };
22860
23376
  Returns: import("./types").Json;
22861
23377
  };
23378
+ logistics_buffer_detach_late_orders: {
23379
+ Args: {
23380
+ p_buffer?: string;
23381
+ };
23382
+ Returns: import("./types").Json;
23383
+ };
23384
+ logistics_buffer_frozen_order: {
23385
+ Args: {
23386
+ p_order_id: string;
23387
+ };
23388
+ Returns: boolean;
23389
+ };
23390
+ logistics_buffer_handled: {
23391
+ Args: {
23392
+ p_buffer: string;
23393
+ };
23394
+ Returns: boolean;
23395
+ };
23396
+ logistics_buffer_notify: {
23397
+ Args: {
23398
+ p_event_type: string;
23399
+ p_idempotency_key: string;
23400
+ p_order_ref: string;
23401
+ p_payload: import("./types").Json;
23402
+ };
23403
+ Returns: string;
23404
+ };
23405
+ logistics_buffer_open_key: {
23406
+ Args: {
23407
+ p_base_key: string;
23408
+ };
23409
+ Returns: string;
23410
+ };
22862
23411
  logistics_buffer_simulate: {
22863
23412
  Args: {
22864
23413
  p_orders?: import("./types").Json;
@@ -22911,6 +23460,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22911
23460
  };
22912
23461
  Returns: string;
22913
23462
  };
23463
+ logistics_cart_checkin_at: {
23464
+ Args: {
23465
+ p_cart_id: string;
23466
+ };
23467
+ Returns: string;
23468
+ };
22914
23469
  logistics_cart_handled: {
22915
23470
  Args: {
22916
23471
  p_cart_index: number;
@@ -22944,10 +23499,59 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22944
23499
  task_status: string;
22945
23500
  }[];
22946
23501
  };
23502
+ logistics_cart_is_full: {
23503
+ Args: {
23504
+ p_cart_id: string;
23505
+ };
23506
+ Returns: boolean;
23507
+ };
22947
23508
  logistics_cart_layout_method: {
22948
23509
  Args: never;
22949
23510
  Returns: import("./types").Json;
22950
23511
  };
23512
+ logistics_cart_order_refs: {
23513
+ Args: {
23514
+ p_cart_id: string;
23515
+ };
23516
+ Returns: string[];
23517
+ };
23518
+ logistics_cart_plan_overview: {
23519
+ Args: {
23520
+ p_days?: number;
23521
+ };
23522
+ Returns: {
23523
+ cart_total: number;
23524
+ delivery_date: string;
23525
+ order_ref: string;
23526
+ plan_ready: boolean;
23527
+ reason: string;
23528
+ released: boolean;
23529
+ }[];
23530
+ };
23531
+ logistics_cart_plan_status: {
23532
+ Args: {
23533
+ p_ref: string;
23534
+ };
23535
+ Returns: import("./types").Json;
23536
+ };
23537
+ logistics_cart_plan_status_core: {
23538
+ Args: {
23539
+ p_ref: string;
23540
+ };
23541
+ Returns: import("./types").Json;
23542
+ };
23543
+ logistics_cart_release_reason: {
23544
+ Args: {
23545
+ p_cart_id: string;
23546
+ };
23547
+ Returns: string;
23548
+ };
23549
+ logistics_cart_released: {
23550
+ Args: {
23551
+ p_cart_id: string;
23552
+ };
23553
+ Returns: boolean;
23554
+ };
22951
23555
  logistics_cart_seq: {
22952
23556
  Args: {
22953
23557
  p_order_uuid?: string;
@@ -22998,6 +23602,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22998
23602
  unit_ref: string;
22999
23603
  }[];
23000
23604
  };
23605
+ logistics_carts_per_print: {
23606
+ Args: never;
23607
+ Returns: number;
23608
+ };
23001
23609
  logistics_check_order_allowed: {
23002
23610
  Args: {
23003
23611
  p_lines: import("./types").Json;
@@ -23101,6 +23709,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23101
23709
  isSetofReturn: false;
23102
23710
  };
23103
23711
  };
23712
+ logistics_cleanup_orphan_print_jobs: {
23713
+ Args: never;
23714
+ Returns: import("./types").Json;
23715
+ };
23104
23716
  logistics_complete_task: {
23105
23717
  Args: {
23106
23718
  p_result?: import("./types").Json;
@@ -23163,6 +23775,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23163
23775
  station_carts: number;
23164
23776
  }[];
23165
23777
  };
23778
+ logistics_control_complete_cart: {
23779
+ Args: {
23780
+ p_cart_id: string;
23781
+ };
23782
+ Returns: number;
23783
+ };
23166
23784
  logistics_control_scan_approve: {
23167
23785
  Args: {
23168
23786
  p_allow_reprint?: boolean;
@@ -23242,6 +23860,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23242
23860
  Args: never;
23243
23861
  Returns: import("./types").Json;
23244
23862
  };
23863
+ logistics_day_windows: {
23864
+ Args: {
23865
+ p_day: string;
23866
+ };
23867
+ Returns: {
23868
+ win_end: string;
23869
+ win_start: string;
23870
+ }[];
23871
+ };
23245
23872
  logistics_delay_customer_email: {
23246
23873
  Args: {
23247
23874
  p_customer: string;
@@ -23309,6 +23936,17 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23309
23936
  };
23310
23937
  Returns: import("./types").Json;
23311
23938
  };
23939
+ logistics_enqueue_shipping_note_with_slip: {
23940
+ Args: {
23941
+ _cart_id: string;
23942
+ _is_herprint: boolean;
23943
+ _printer_id: string;
23944
+ _queue_item_id: string;
23945
+ _session_id: string;
23946
+ _slip_job_id: string;
23947
+ };
23948
+ Returns: string;
23949
+ };
23312
23950
  logistics_enqueue_sticker_with_slip: {
23313
23951
  Args: {
23314
23952
  _cart_id: string;
@@ -23326,6 +23964,20 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23326
23964
  };
23327
23965
  Returns: string;
23328
23966
  };
23967
+ logistics_ensure_pick_data: {
23968
+ Args: {
23969
+ p_event_id?: string;
23970
+ p_missing?: import("./types").Json;
23971
+ p_ref: string;
23972
+ };
23973
+ Returns: import("./types").Json;
23974
+ };
23975
+ logistics_ensure_shipping_notes: {
23976
+ Args: {
23977
+ p_limit?: number;
23978
+ };
23979
+ Returns: import("./types").Json;
23980
+ };
23329
23981
  logistics_fail_task: {
23330
23982
  Args: {
23331
23983
  p_error: string;
@@ -23371,6 +24023,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23371
24023
  isSetofReturn: false;
23372
24024
  };
23373
24025
  };
24026
+ logistics_fix_wrong_shipping_notes: {
24027
+ Args: never;
24028
+ Returns: import("./types").Json;
24029
+ };
23374
24030
  logistics_floriday_cart_plan: {
23375
24031
  Args: {
23376
24032
  p_order_id: string;
@@ -23398,6 +24054,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23398
24054
  revision: number;
23399
24055
  }[];
23400
24056
  };
24057
+ logistics_floriday_delivery_note_create_enabled: {
24058
+ Args: never;
24059
+ Returns: boolean;
24060
+ };
23401
24061
  logistics_floriday_finish_push: {
23402
24062
  Args: {
23403
24063
  _error?: string;
@@ -23447,6 +24107,38 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23447
24107
  };
23448
24108
  Returns: string;
23449
24109
  };
24110
+ logistics_floriday_gate_status: {
24111
+ Args: never;
24112
+ Returns: import("./types").Json;
24113
+ };
24114
+ logistics_floriday_log_refusal: {
24115
+ Args: {
24116
+ _action?: string;
24117
+ _module?: string;
24118
+ _order_ref: string;
24119
+ _reason: string;
24120
+ _shell?: string;
24121
+ };
24122
+ Returns: undefined;
24123
+ };
24124
+ logistics_floriday_log_send: {
24125
+ Args: {
24126
+ _action: string;
24127
+ _detail?: string;
24128
+ _http_status?: number;
24129
+ _module?: string;
24130
+ _ok: boolean;
24131
+ _order_ref: string;
24132
+ _shell?: string;
24133
+ };
24134
+ Returns: undefined;
24135
+ };
24136
+ logistics_floriday_order_approved: {
24137
+ Args: {
24138
+ _order_ref: string;
24139
+ };
24140
+ Returns: boolean;
24141
+ };
23450
24142
  logistics_floriday_prune_pushes: {
23451
24143
  Args: {
23452
24144
  _days?: number;
@@ -23461,6 +24153,20 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23461
24153
  };
23462
24154
  Returns: string;
23463
24155
  };
24156
+ logistics_floriday_status_updates_enabled: {
24157
+ Args: never;
24158
+ Returns: boolean;
24159
+ };
24160
+ logistics_floriday_stock_updates_enabled: {
24161
+ Args: never;
24162
+ Returns: boolean;
24163
+ };
24164
+ logistics_floriday_write_allowed: {
24165
+ Args: {
24166
+ _action: string;
24167
+ };
24168
+ Returns: boolean;
24169
+ };
23464
24170
  logistics_fulfill_barcode_requests: {
23465
24171
  Args: {
23466
24172
  p_limit?: number;
@@ -23481,6 +24187,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23481
24187
  };
23482
24188
  Returns: boolean;
23483
24189
  };
24190
+ logistics_layout_method_status: {
24191
+ Args: never;
24192
+ Returns: import("./types").Json;
24193
+ };
24194
+ logistics_link_order_items: {
24195
+ Args: {
24196
+ p_order?: string;
24197
+ };
24198
+ Returns: import("./types").Json;
24199
+ };
23484
24200
  logistics_live_carriers: {
23485
24201
  Args: {
23486
24202
  p_order_ref: string;
@@ -23493,6 +24209,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23493
24209
  };
23494
24210
  Returns: number;
23495
24211
  };
24212
+ logistics_merge_partial_carts: {
24213
+ Args: {
24214
+ p_limit?: number;
24215
+ };
24216
+ Returns: import("./types").Json;
24217
+ };
23496
24218
  logistics_next_workday_date: {
23497
24219
  Args: {
23498
24220
  p_date: string;
@@ -23507,12 +24229,22 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23507
24229
  };
23508
24230
  Returns: string;
23509
24231
  };
24232
+ logistics_normalize_product_label: {
24233
+ Args: {
24234
+ p_label: string;
24235
+ };
24236
+ Returns: string;
24237
+ };
23510
24238
  logistics_not_past: {
23511
24239
  Args: {
23512
24240
  p_ts: string;
23513
24241
  };
23514
24242
  Returns: string;
23515
24243
  };
24244
+ logistics_opening_timezone: {
24245
+ Args: never;
24246
+ Returns: string;
24247
+ };
23516
24248
  logistics_order_cart_count: {
23517
24249
  Args: {
23518
24250
  p_order_ref: string;
@@ -23569,6 +24301,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23569
24301
  };
23570
24302
  Returns: string;
23571
24303
  };
24304
+ logistics_payload_is_floriday: {
24305
+ Args: {
24306
+ _payload: import("./types").Json;
24307
+ };
24308
+ Returns: boolean;
24309
+ };
23572
24310
  logistics_pick_agenda: {
23573
24311
  Args: {
23574
24312
  p_from?: string;
@@ -23597,6 +24335,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23597
24335
  Args: never;
23598
24336
  Returns: import("./types").Json;
23599
24337
  };
24338
+ logistics_pick_partial_mode: {
24339
+ Args: never;
24340
+ Returns: string;
24341
+ };
23600
24342
  logistics_pick_start_estimate: {
23601
24343
  Args: {
23602
24344
  p_order: import("./types").Json;
@@ -23687,6 +24429,20 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23687
24429
  Args: never;
23688
24430
  Returns: undefined;
23689
24431
  };
24432
+ logistics_plan_progress: {
24433
+ Args: {
24434
+ p_refs: string[];
24435
+ };
24436
+ Returns: {
24437
+ cart_plan_ready: boolean;
24438
+ cart_plan_reason: string;
24439
+ cart_plan_released: boolean;
24440
+ plan_progress: number;
24441
+ plan_state: string;
24442
+ plan_state_since: string;
24443
+ unit_ref: string;
24444
+ }[];
24445
+ };
23690
24446
  logistics_plan_prune: {
23691
24447
  Args: never;
23692
24448
  Returns: number;
@@ -23695,6 +24451,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23695
24451
  Args: never;
23696
24452
  Returns: number;
23697
24453
  };
24454
+ logistics_plan_retry: {
24455
+ Args: {
24456
+ p_order_ids: string[];
24457
+ };
24458
+ Returns: number;
24459
+ };
23698
24460
  logistics_plan_setting: {
23699
24461
  Args: {
23700
24462
  p_default: number;
@@ -23702,6 +24464,18 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23702
24464
  };
23703
24465
  Returns: number;
23704
24466
  };
24467
+ logistics_plan_state_for: {
24468
+ Args: {
24469
+ p_ref: string;
24470
+ };
24471
+ Returns: import("./types").Json;
24472
+ };
24473
+ logistics_prepare_pick_documents: {
24474
+ Args: {
24475
+ p_limit?: number;
24476
+ };
24477
+ Returns: import("./types").Json;
24478
+ };
23705
24479
  logistics_prune_buffer_member_queue: {
23706
24480
  Args: never;
23707
24481
  Returns: number;
@@ -23742,12 +24516,36 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23742
24516
  Args: never;
23743
24517
  Returns: import("./types").Json;
23744
24518
  };
24519
+ logistics_refresh_pick_queue_status: {
24520
+ Args: {
24521
+ p_ref: string;
24522
+ };
24523
+ Returns: number;
24524
+ };
23745
24525
  logistics_refresh_pickup_moments: {
23746
24526
  Args: {
23747
24527
  p_weeks?: number;
23748
24528
  };
23749
24529
  Returns: import("./types").Json;
23750
24530
  };
24531
+ logistics_refresh_plan_state: {
24532
+ Args: {
24533
+ p_limit?: number;
24534
+ };
24535
+ Returns: import("./types").Json;
24536
+ };
24537
+ logistics_replan_all: {
24538
+ Args: {
24539
+ p_reason?: string;
24540
+ };
24541
+ Returns: import("./types").Json;
24542
+ };
24543
+ logistics_replan_all_force: {
24544
+ Args: {
24545
+ p_reason?: string;
24546
+ };
24547
+ Returns: import("./types").Json;
24548
+ };
23751
24549
  logistics_report_delay: {
23752
24550
  Args: {
23753
24551
  p_expected_date?: string;
@@ -23801,6 +24599,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23801
24599
  };
23802
24600
  Returns: import("./types").Json;
23803
24601
  };
24602
+ logistics_resolve_product_id: {
24603
+ Args: {
24604
+ p_label: string;
24605
+ };
24606
+ Returns: string;
24607
+ };
23804
24608
  logistics_resolve_settings: {
23805
24609
  Args: {
23806
24610
  p_config_id: string;
@@ -23886,6 +24690,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23886
24690
  };
23887
24691
  Returns: string;
23888
24692
  };
24693
+ logistics_shipping_note_follows_slip: {
24694
+ Args: never;
24695
+ Returns: boolean;
24696
+ };
23889
24697
  logistics_shipping_note_from_barcode: {
23890
24698
  Args: {
23891
24699
  p_allow_reprint?: boolean;
@@ -23894,10 +24702,86 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23894
24702
  };
23895
24703
  Returns: import("./types").Json;
23896
24704
  };
24705
+ logistics_shipping_note_job_for_slip: {
24706
+ Args: {
24707
+ _slip_job_id: string;
24708
+ };
24709
+ Returns: string;
24710
+ };
24711
+ logistics_shipping_notes_wake_all: {
24712
+ Args: never;
24713
+ Returns: import("./types").Json;
24714
+ };
24715
+ logistics_slip_is_floriday: {
24716
+ Args: {
24717
+ _slip_job_id: string;
24718
+ };
24719
+ Returns: boolean;
24720
+ };
24721
+ logistics_slip_note_claim: {
24722
+ Args: {
24723
+ _lease_seconds?: number;
24724
+ _limit?: number;
24725
+ };
24726
+ Returns: {
24727
+ attempts: number;
24728
+ batch_key: string | null;
24729
+ cart_id: string | null;
24730
+ created_at: string;
24731
+ error: string | null;
24732
+ error_code: string | null;
24733
+ fulfillment_order_id: string | null;
24734
+ id: string;
24735
+ locked_until: string | null;
24736
+ next_attempt_at: string | null;
24737
+ order_id: string | null;
24738
+ order_number: string | null;
24739
+ print_job_id: string | null;
24740
+ printer_id: string | null;
24741
+ retry_class: string | null;
24742
+ slip_job_id: string;
24743
+ status: string;
24744
+ updated_at: string;
24745
+ }[];
24746
+ SetofOptions: {
24747
+ from: "*";
24748
+ to: "logistics_slip_shipping_note";
24749
+ isOneToOne: false;
24750
+ isSetofReturn: true;
24751
+ };
24752
+ };
24753
+ logistics_slip_note_finish: {
24754
+ Args: {
24755
+ _error?: string;
24756
+ _error_code?: string;
24757
+ _fulfillment_order_id?: string;
24758
+ _id: string;
24759
+ _ok: boolean;
24760
+ _print_job_id?: string;
24761
+ _status?: string;
24762
+ };
24763
+ Returns: undefined;
24764
+ };
24765
+ logistics_slip_note_keep_waiting: {
24766
+ Args: {
24767
+ _class?: string;
24768
+ _id: string;
24769
+ _reason: string;
24770
+ };
24771
+ Returns: undefined;
24772
+ };
23897
24773
  logistics_sticker_follows_slip: {
23898
24774
  Args: never;
23899
24775
  Returns: boolean;
23900
24776
  };
24777
+ logistics_subtract_working_minutes: {
24778
+ Args: {
24779
+ p_deadline: string;
24780
+ p_max_workdays?: number;
24781
+ p_minutes: number;
24782
+ };
24783
+ Returns: import("./types").Json;
24784
+ };
23901
24785
  logistics_supersede_stale_tasks: {
23902
24786
  Args: {
23903
24787
  p_keep: string[];
@@ -23930,6 +24814,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23930
24814
  };
23931
24815
  Returns: number;
23932
24816
  };
24817
+ logistics_tick_ping: {
24818
+ Args: never;
24819
+ Returns: string;
24820
+ };
24821
+ logistics_timezone_options: {
24822
+ Args: never;
24823
+ Returns: {
24824
+ name: string;
24825
+ }[];
24826
+ };
23933
24827
  logistics_upsert_task: {
23934
24828
  Args: {
23935
24829
  p_buffer_ref: string;
@@ -23949,6 +24843,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23949
24843
  };
23950
24844
  Returns: string;
23951
24845
  };
24846
+ logistics_valid_timezone: {
24847
+ Args: {
24848
+ _tz: string;
24849
+ };
24850
+ Returns: boolean;
24851
+ };
24852
+ logistics_working_hours_status: {
24853
+ Args: never;
24854
+ Returns: import("./types").Json;
24855
+ };
23952
24856
  logistics_write_buffer_layer_positions: {
23953
24857
  Args: {
23954
24858
  p_buffer_id: string;
@@ -24114,6 +25018,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
24114
25018
  online: boolean;
24115
25019
  }[];
24116
25020
  };
25021
+ pick_apply_buffer_events: {
25022
+ Args: never;
25023
+ Returns: import("./types").Json;
25024
+ };
24117
25025
  pick_available_pick_days: {
24118
25026
  Args: {
24119
25027
  _max_days?: number;
@@ -25041,6 +25949,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
25041
25949
  };
25042
25950
  Returns: boolean;
25043
25951
  };
25952
+ release_job_lock: {
25953
+ Args: {
25954
+ _key: string;
25955
+ };
25956
+ Returns: undefined;
25957
+ };
25044
25958
  release_local_pdf_job: {
25045
25959
  Args: {
25046
25960
  _job_id: string;
@@ -25384,6 +26298,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
25384
26298
  };
25385
26299
  Returns: number;
25386
26300
  };
26301
+ schedule_floriday_catalog_prices_sync: {
26302
+ Args: {
26303
+ p_apikey: string;
26304
+ p_url: string;
26305
+ };
26306
+ Returns: number;
26307
+ };
25387
26308
  schedule_floriday_clock_presales_sync: {
25388
26309
  Args: {
25389
26310
  p_apikey: string;
@@ -25684,6 +26605,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
25684
26605
  };
25685
26606
  Returns: undefined;
25686
26607
  };
26608
+ sync_floriday_prices_into_price_groups: {
26609
+ Args: never;
26610
+ Returns: number;
26611
+ };
25687
26612
  sync_layer_stock: {
25688
26613
  Args: {
25689
26614
  p_product_id: string;
@@ -25729,6 +26654,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
25729
26654
  row_count: number;
25730
26655
  }[];
25731
26656
  };
26657
+ try_acquire_job_lock: {
26658
+ Args: {
26659
+ _key: string;
26660
+ _owner?: string;
26661
+ _seconds?: number;
26662
+ };
26663
+ Returns: boolean;
26664
+ };
25732
26665
  try_debtor_lock: {
25733
26666
  Args: {
25734
26667
  _group_key: string;