@flowselections/floriday-voorraad 1.0.41 → 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 (38) hide show
  1. package/dist-lib/integrations/supabase/auth-middleware.d.ts +546 -0
  2. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  3. package/dist-lib/integrations/supabase/client.d.ts +546 -0
  4. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  5. package/dist-lib/integrations/supabase/client.server.d.ts +546 -0
  6. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/types.d.ts +548 -0
  8. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  9. package/dist-lib/lib/floricode-required-features.functions.d.ts +546 -0
  10. package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
  11. package/dist-lib/lib/floriday-2026v1.server.d.ts +1 -1
  12. package/dist-lib/lib/floriday-2026v1.server.d.ts.map +1 -1
  13. package/dist-lib/lib/floriday-2026v1.server.js +4 -0
  14. package/dist-lib/lib/floriday-customer-offer.functions.d.ts +546 -0
  15. package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
  16. package/dist-lib/lib/floriday-env.functions.d.ts +1092 -0
  17. package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
  18. package/dist-lib/lib/floriday-gateway.functions.d.ts +3276 -0
  19. package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
  20. package/dist-lib/lib/floriday-gateway.server.d.ts +7 -1
  21. package/dist-lib/lib/floriday-gateway.server.d.ts.map +1 -1
  22. package/dist-lib/lib/floriday-gateway.server.js +50 -3
  23. package/dist-lib/lib/floriday-vbn-required.functions.d.ts +1092 -0
  24. package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
  25. package/dist-lib/lib/floriday-warehouse.functions.d.ts +1638 -0
  26. package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
  27. package/dist-lib/lib/floriday-write-gate.server.d.ts +60 -0
  28. package/dist-lib/lib/floriday-write-gate.server.d.ts.map +1 -0
  29. package/dist-lib/lib/floriday-write-gate.server.js +196 -0
  30. package/dist-lib/lib/floriday-writes.functions.d.ts +1092 -0
  31. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  32. package/dist-lib/lib/inventory-settings.functions.d.ts +1092 -0
  33. package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -1
  34. package/dist-lib/lib/module-health.functions.d.ts +1092 -0
  35. package/dist-lib/lib/module-health.functions.d.ts.map +1 -1
  36. package/dist-lib/lib/stock-sync.functions.d.ts +1092 -0
  37. package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
  38. package/package.json +1 -1
@@ -5809,6 +5809,84 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
5809
5809
  referencedColumns: ["id"];
5810
5810
  }];
5811
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
+ };
5812
5890
  floriday_clock_presales_cache: {
5813
5891
  Row: {
5814
5892
  buyer_organization_id: string | null;
@@ -10077,22 +10155,31 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
10077
10155
  };
10078
10156
  logistics_floriday_push_refusals: {
10079
10157
  Row: {
10158
+ action: string | null;
10080
10159
  created_at: string;
10081
10160
  id: string;
10082
10161
  order_ref: string;
10083
10162
  reason: string;
10163
+ source_module: string | null;
10164
+ source_shell: string | null;
10084
10165
  };
10085
10166
  Insert: {
10167
+ action?: string | null;
10086
10168
  created_at?: string;
10087
10169
  id?: string;
10088
10170
  order_ref: string;
10089
10171
  reason: string;
10172
+ source_module?: string | null;
10173
+ source_shell?: string | null;
10090
10174
  };
10091
10175
  Update: {
10176
+ action?: string | null;
10092
10177
  created_at?: string;
10093
10178
  id?: string;
10094
10179
  order_ref?: string;
10095
10180
  reason?: string;
10181
+ source_module?: string | null;
10182
+ source_shell?: string | null;
10096
10183
  };
10097
10184
  Relationships: [];
10098
10185
  };
@@ -10171,6 +10258,42 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
10171
10258
  };
10172
10259
  Relationships: [];
10173
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
+ };
10174
10297
  logistics_formulas: {
10175
10298
  Row: {
10176
10299
  created_at: string;
@@ -10243,6 +10366,108 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
10243
10366
  };
10244
10367
  Relationships: [];
10245
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
+ };
10246
10471
  logistics_pickup_moments: {
10247
10472
  Row: {
10248
10473
  carrier_ref: string | null;
@@ -10702,6 +10927,69 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
10702
10927
  };
10703
10928
  Relationships: [];
10704
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
+ };
10705
10993
  logistics_staff_planning: {
10706
10994
  Row: {
10707
10995
  created_at: string;
@@ -11035,6 +11323,24 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
11035
11323
  };
11036
11324
  Relationships: [];
11037
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
+ };
11038
11344
  logistics_variables: {
11039
11345
  Row: {
11040
11346
  created_at: string;
@@ -13425,6 +13731,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13425
13731
  customer_name: string;
13426
13732
  deleted_at: string | null;
13427
13733
  delivery_date: string | null;
13734
+ floriday_order_group_key: string | null;
13428
13735
  floriday_sales_order_id: string | null;
13429
13736
  id: string;
13430
13737
  invoice_due_at: string | null;
@@ -13452,6 +13759,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13452
13759
  customer_name?: string;
13453
13760
  deleted_at?: string | null;
13454
13761
  delivery_date?: string | null;
13762
+ floriday_order_group_key?: string | null;
13455
13763
  floriday_sales_order_id?: string | null;
13456
13764
  id?: string;
13457
13765
  invoice_due_at?: string | null;
@@ -13479,6 +13787,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13479
13787
  customer_name?: string;
13480
13788
  deleted_at?: string | null;
13481
13789
  delivery_date?: string | null;
13790
+ floriday_order_group_key?: string | null;
13482
13791
  floriday_sales_order_id?: string | null;
13483
13792
  id?: string;
13484
13793
  invoice_due_at?: string | null;
@@ -23142,6 +23451,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23142
23451
  };
23143
23452
  Returns: string;
23144
23453
  };
23454
+ logistics_cart_checkin_at: {
23455
+ Args: {
23456
+ p_cart_id: string;
23457
+ };
23458
+ Returns: string;
23459
+ };
23145
23460
  logistics_cart_handled: {
23146
23461
  Args: {
23147
23462
  p_cart_index: number;
@@ -23175,10 +23490,22 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23175
23490
  task_status: string;
23176
23491
  }[];
23177
23492
  };
23493
+ logistics_cart_is_full: {
23494
+ Args: {
23495
+ p_cart_id: string;
23496
+ };
23497
+ Returns: boolean;
23498
+ };
23178
23499
  logistics_cart_layout_method: {
23179
23500
  Args: never;
23180
23501
  Returns: import("./types").Json;
23181
23502
  };
23503
+ logistics_cart_order_refs: {
23504
+ Args: {
23505
+ p_cart_id: string;
23506
+ };
23507
+ Returns: string[];
23508
+ };
23182
23509
  logistics_cart_plan_overview: {
23183
23510
  Args: {
23184
23511
  p_days?: number;
@@ -23198,6 +23525,18 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23198
23525
  };
23199
23526
  Returns: import("./types").Json;
23200
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
+ };
23201
23540
  logistics_cart_seq: {
23202
23541
  Args: {
23203
23542
  p_order_uuid?: string;
@@ -23248,6 +23587,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23248
23587
  unit_ref: string;
23249
23588
  }[];
23250
23589
  };
23590
+ logistics_carts_per_print: {
23591
+ Args: never;
23592
+ Returns: number;
23593
+ };
23251
23594
  logistics_check_order_allowed: {
23252
23595
  Args: {
23253
23596
  p_lines: import("./types").Json;
@@ -23351,6 +23694,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23351
23694
  isSetofReturn: false;
23352
23695
  };
23353
23696
  };
23697
+ logistics_cleanup_orphan_print_jobs: {
23698
+ Args: never;
23699
+ Returns: import("./types").Json;
23700
+ };
23354
23701
  logistics_complete_task: {
23355
23702
  Args: {
23356
23703
  p_result?: import("./types").Json;
@@ -23413,6 +23760,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23413
23760
  station_carts: number;
23414
23761
  }[];
23415
23762
  };
23763
+ logistics_control_complete_cart: {
23764
+ Args: {
23765
+ p_cart_id: string;
23766
+ };
23767
+ Returns: number;
23768
+ };
23416
23769
  logistics_control_scan_approve: {
23417
23770
  Args: {
23418
23771
  p_allow_reprint?: boolean;
@@ -23492,6 +23845,15 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23492
23845
  Args: never;
23493
23846
  Returns: import("./types").Json;
23494
23847
  };
23848
+ logistics_day_windows: {
23849
+ Args: {
23850
+ p_day: string;
23851
+ };
23852
+ Returns: {
23853
+ win_end: string;
23854
+ win_start: string;
23855
+ }[];
23856
+ };
23495
23857
  logistics_delay_customer_email: {
23496
23858
  Args: {
23497
23859
  p_customer: string;
@@ -23559,6 +23921,17 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23559
23921
  };
23560
23922
  Returns: import("./types").Json;
23561
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
+ };
23562
23935
  logistics_enqueue_sticker_with_slip: {
23563
23936
  Args: {
23564
23937
  _cart_id: string;
@@ -23576,6 +23949,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23576
23949
  };
23577
23950
  Returns: string;
23578
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
+ };
23579
23960
  logistics_fail_task: {
23580
23961
  Args: {
23581
23962
  p_error: string;
@@ -23697,6 +24078,32 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23697
24078
  };
23698
24079
  Returns: string;
23699
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
+ };
23700
24107
  logistics_floriday_order_approved: {
23701
24108
  Args: {
23702
24109
  _order_ref: string;
@@ -23721,6 +24128,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23721
24128
  Args: never;
23722
24129
  Returns: boolean;
23723
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
+ };
23724
24141
  logistics_fulfill_barcode_requests: {
23725
24142
  Args: {
23726
24143
  p_limit?: number;
@@ -23763,6 +24180,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23763
24180
  };
23764
24181
  Returns: number;
23765
24182
  };
24183
+ logistics_merge_partial_carts: {
24184
+ Args: {
24185
+ p_limit?: number;
24186
+ };
24187
+ Returns: import("./types").Json;
24188
+ };
23766
24189
  logistics_next_workday_date: {
23767
24190
  Args: {
23768
24191
  p_date: string;
@@ -23789,6 +24212,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23789
24212
  };
23790
24213
  Returns: string;
23791
24214
  };
24215
+ logistics_opening_timezone: {
24216
+ Args: never;
24217
+ Returns: string;
24218
+ };
23792
24219
  logistics_order_cart_count: {
23793
24220
  Args: {
23794
24221
  p_order_ref: string;
@@ -23873,6 +24300,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23873
24300
  Args: never;
23874
24301
  Returns: import("./types").Json;
23875
24302
  };
24303
+ logistics_pick_partial_mode: {
24304
+ Args: never;
24305
+ Returns: string;
24306
+ };
23876
24307
  logistics_pick_start_estimate: {
23877
24308
  Args: {
23878
24309
  p_order: import("./types").Json;
@@ -23984,6 +24415,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
23984
24415
  };
23985
24416
  Returns: number;
23986
24417
  };
24418
+ logistics_prepare_pick_documents: {
24419
+ Args: {
24420
+ p_limit?: number;
24421
+ };
24422
+ Returns: import("./types").Json;
24423
+ };
23987
24424
  logistics_prune_buffer_member_queue: {
23988
24425
  Args: never;
23989
24426
  Returns: number;
@@ -24024,6 +24461,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
24024
24461
  Args: never;
24025
24462
  Returns: import("./types").Json;
24026
24463
  };
24464
+ logistics_refresh_pick_queue_status: {
24465
+ Args: {
24466
+ p_ref: string;
24467
+ };
24468
+ Returns: number;
24469
+ };
24027
24470
  logistics_refresh_pickup_moments: {
24028
24471
  Args: {
24029
24472
  p_weeks?: number;
@@ -24036,6 +24479,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
24036
24479
  };
24037
24480
  Returns: import("./types").Json;
24038
24481
  };
24482
+ logistics_replan_all_force: {
24483
+ Args: {
24484
+ p_reason?: string;
24485
+ };
24486
+ Returns: import("./types").Json;
24487
+ };
24039
24488
  logistics_report_delay: {
24040
24489
  Args: {
24041
24490
  p_expected_date?: string;
@@ -24180,6 +24629,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
24180
24629
  };
24181
24630
  Returns: string;
24182
24631
  };
24632
+ logistics_shipping_note_follows_slip: {
24633
+ Args: never;
24634
+ Returns: boolean;
24635
+ };
24183
24636
  logistics_shipping_note_from_barcode: {
24184
24637
  Args: {
24185
24638
  p_allow_reprint?: boolean;
@@ -24188,10 +24641,76 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
24188
24641
  };
24189
24642
  Returns: import("./types").Json;
24190
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
+ };
24191
24702
  logistics_sticker_follows_slip: {
24192
24703
  Args: never;
24193
24704
  Returns: boolean;
24194
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
+ };
24195
24714
  logistics_supersede_stale_tasks: {
24196
24715
  Args: {
24197
24716
  p_keep: string[];
@@ -24228,6 +24747,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
24228
24747
  Args: never;
24229
24748
  Returns: string;
24230
24749
  };
24750
+ logistics_timezone_options: {
24751
+ Args: never;
24752
+ Returns: {
24753
+ name: string;
24754
+ }[];
24755
+ };
24231
24756
  logistics_upsert_task: {
24232
24757
  Args: {
24233
24758
  p_buffer_ref: string;
@@ -24247,6 +24772,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
24247
24772
  };
24248
24773
  Returns: string;
24249
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
+ };
24250
24785
  logistics_write_buffer_layer_positions: {
24251
24786
  Args: {
24252
24787
  p_buffer_id: string;
@@ -25692,6 +26227,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
25692
26227
  };
25693
26228
  Returns: number;
25694
26229
  };
26230
+ schedule_floriday_catalog_prices_sync: {
26231
+ Args: {
26232
+ p_apikey: string;
26233
+ p_url: string;
26234
+ };
26235
+ Returns: number;
26236
+ };
25695
26237
  schedule_floriday_clock_presales_sync: {
25696
26238
  Args: {
25697
26239
  p_apikey: string;
@@ -25992,6 +26534,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
25992
26534
  };
25993
26535
  Returns: undefined;
25994
26536
  };
26537
+ sync_floriday_prices_into_price_groups: {
26538
+ Args: never;
26539
+ Returns: number;
26540
+ };
25995
26541
  sync_layer_stock: {
25996
26542
  Args: {
25997
26543
  p_product_id: string;