@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
@@ -5948,6 +5948,86 @@ export type Database = {
5948
5948
  }
5949
5949
  ];
5950
5950
  };
5951
+ floriday_catalog_prices_cache: {
5952
+ Row: {
5953
+ connection_id: string;
5954
+ created_at: string;
5955
+ currency: string;
5956
+ id: string;
5957
+ is_deleted: boolean;
5958
+ price: number | null;
5959
+ price_group_id: string | null;
5960
+ price_group_name: string | null;
5961
+ price_type: string;
5962
+ raw: Json | null;
5963
+ sales_unit: string | null;
5964
+ sequence_number: number;
5965
+ supplier_article_code: string | null;
5966
+ supply_line_id: string;
5967
+ synced_at: string;
5968
+ trade_item_id: string | null;
5969
+ updated_at: string;
5970
+ valid_from: string | null;
5971
+ valid_to: string | null;
5972
+ week: number | null;
5973
+ year: number | null;
5974
+ };
5975
+ Insert: {
5976
+ connection_id: string;
5977
+ created_at?: string;
5978
+ currency?: string;
5979
+ id?: string;
5980
+ is_deleted?: boolean;
5981
+ price?: number | null;
5982
+ price_group_id?: string | null;
5983
+ price_group_name?: string | null;
5984
+ price_type?: string;
5985
+ raw?: Json | null;
5986
+ sales_unit?: string | null;
5987
+ sequence_number?: number;
5988
+ supplier_article_code?: string | null;
5989
+ supply_line_id: string;
5990
+ synced_at?: string;
5991
+ trade_item_id?: string | null;
5992
+ updated_at?: string;
5993
+ valid_from?: string | null;
5994
+ valid_to?: string | null;
5995
+ week?: number | null;
5996
+ year?: number | null;
5997
+ };
5998
+ Update: {
5999
+ connection_id?: string;
6000
+ created_at?: string;
6001
+ currency?: string;
6002
+ id?: string;
6003
+ is_deleted?: boolean;
6004
+ price?: number | null;
6005
+ price_group_id?: string | null;
6006
+ price_group_name?: string | null;
6007
+ price_type?: string;
6008
+ raw?: Json | null;
6009
+ sales_unit?: string | null;
6010
+ sequence_number?: number;
6011
+ supplier_article_code?: string | null;
6012
+ supply_line_id?: string;
6013
+ synced_at?: string;
6014
+ trade_item_id?: string | null;
6015
+ updated_at?: string;
6016
+ valid_from?: string | null;
6017
+ valid_to?: string | null;
6018
+ week?: number | null;
6019
+ year?: number | null;
6020
+ };
6021
+ Relationships: [
6022
+ {
6023
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
6024
+ columns: ["connection_id"];
6025
+ isOneToOne: false;
6026
+ referencedRelation: "floriday_connections";
6027
+ referencedColumns: ["id"];
6028
+ }
6029
+ ];
6030
+ };
5951
6031
  floriday_clock_presales_cache: {
5952
6032
  Row: {
5953
6033
  buyer_organization_id: string | null;
@@ -10343,22 +10423,31 @@ export type Database = {
10343
10423
  };
10344
10424
  logistics_floriday_push_refusals: {
10345
10425
  Row: {
10426
+ action: string | null;
10346
10427
  created_at: string;
10347
10428
  id: string;
10348
10429
  order_ref: string;
10349
10430
  reason: string;
10431
+ source_module: string | null;
10432
+ source_shell: string | null;
10350
10433
  };
10351
10434
  Insert: {
10435
+ action?: string | null;
10352
10436
  created_at?: string;
10353
10437
  id?: string;
10354
10438
  order_ref: string;
10355
10439
  reason: string;
10440
+ source_module?: string | null;
10441
+ source_shell?: string | null;
10356
10442
  };
10357
10443
  Update: {
10444
+ action?: string | null;
10358
10445
  created_at?: string;
10359
10446
  id?: string;
10360
10447
  order_ref?: string;
10361
10448
  reason?: string;
10449
+ source_module?: string | null;
10450
+ source_shell?: string | null;
10362
10451
  };
10363
10452
  Relationships: [];
10364
10453
  };
@@ -10437,6 +10526,42 @@ export type Database = {
10437
10526
  };
10438
10527
  Relationships: [];
10439
10528
  };
10529
+ logistics_floriday_status_sends: {
10530
+ Row: {
10531
+ action: string;
10532
+ created_at: string;
10533
+ detail: string | null;
10534
+ http_status: number | null;
10535
+ id: string;
10536
+ ok: boolean;
10537
+ order_ref: string;
10538
+ source_module: string | null;
10539
+ source_shell: string | null;
10540
+ };
10541
+ Insert: {
10542
+ action: string;
10543
+ created_at?: string;
10544
+ detail?: string | null;
10545
+ http_status?: number | null;
10546
+ id?: string;
10547
+ ok?: boolean;
10548
+ order_ref: string;
10549
+ source_module?: string | null;
10550
+ source_shell?: string | null;
10551
+ };
10552
+ Update: {
10553
+ action?: string;
10554
+ created_at?: string;
10555
+ detail?: string | null;
10556
+ http_status?: number | null;
10557
+ id?: string;
10558
+ ok?: boolean;
10559
+ order_ref?: string;
10560
+ source_module?: string | null;
10561
+ source_shell?: string | null;
10562
+ };
10563
+ Relationships: [];
10564
+ };
10440
10565
  logistics_formulas: {
10441
10566
  Row: {
10442
10567
  created_at: string;
@@ -10511,6 +10636,108 @@ export type Database = {
10511
10636
  };
10512
10637
  Relationships: [];
10513
10638
  };
10639
+ logistics_opening_exceptions: {
10640
+ Row: {
10641
+ closes: string | null;
10642
+ created_at: string;
10643
+ day: string;
10644
+ id: string;
10645
+ is_closed: boolean;
10646
+ note: string | null;
10647
+ opens: string | null;
10648
+ };
10649
+ Insert: {
10650
+ closes?: string | null;
10651
+ created_at?: string;
10652
+ day: string;
10653
+ id?: string;
10654
+ is_closed?: boolean;
10655
+ note?: string | null;
10656
+ opens?: string | null;
10657
+ };
10658
+ Update: {
10659
+ closes?: string | null;
10660
+ created_at?: string;
10661
+ day?: string;
10662
+ id?: string;
10663
+ is_closed?: boolean;
10664
+ note?: string | null;
10665
+ opens?: string | null;
10666
+ };
10667
+ Relationships: [];
10668
+ };
10669
+ logistics_opening_hours: {
10670
+ Row: {
10671
+ closes: string;
10672
+ created_at: string;
10673
+ id: string;
10674
+ is_active: boolean;
10675
+ note: string | null;
10676
+ opens: string;
10677
+ weekday: number;
10678
+ };
10679
+ Insert: {
10680
+ closes: string;
10681
+ created_at?: string;
10682
+ id?: string;
10683
+ is_active?: boolean;
10684
+ note?: string | null;
10685
+ opens: string;
10686
+ weekday: number;
10687
+ };
10688
+ Update: {
10689
+ closes?: string;
10690
+ created_at?: string;
10691
+ id?: string;
10692
+ is_active?: boolean;
10693
+ note?: string | null;
10694
+ opens?: string;
10695
+ weekday?: number;
10696
+ };
10697
+ Relationships: [];
10698
+ };
10699
+ logistics_pick_data_requests: {
10700
+ Row: {
10701
+ actions: Json;
10702
+ created_at: string;
10703
+ event_id: string | null;
10704
+ finished_at: string | null;
10705
+ id: string;
10706
+ missing: Json;
10707
+ order_ref: string;
10708
+ reason: string | null;
10709
+ result: Json | null;
10710
+ status: string;
10711
+ unit_ref: string | null;
10712
+ };
10713
+ Insert: {
10714
+ actions?: Json;
10715
+ created_at?: string;
10716
+ event_id?: string | null;
10717
+ finished_at?: string | null;
10718
+ id?: string;
10719
+ missing?: Json;
10720
+ order_ref: string;
10721
+ reason?: string | null;
10722
+ result?: Json | null;
10723
+ status?: string;
10724
+ unit_ref?: string | null;
10725
+ };
10726
+ Update: {
10727
+ actions?: Json;
10728
+ created_at?: string;
10729
+ event_id?: string | null;
10730
+ finished_at?: string | null;
10731
+ id?: string;
10732
+ missing?: Json;
10733
+ order_ref?: string;
10734
+ reason?: string | null;
10735
+ result?: Json | null;
10736
+ status?: string;
10737
+ unit_ref?: string | null;
10738
+ };
10739
+ Relationships: [];
10740
+ };
10514
10741
  logistics_pickup_moments: {
10515
10742
  Row: {
10516
10743
  carrier_ref: string | null;
@@ -10977,6 +11204,69 @@ export type Database = {
10977
11204
  };
10978
11205
  Relationships: [];
10979
11206
  };
11207
+ logistics_slip_shipping_note: {
11208
+ Row: {
11209
+ attempts: number;
11210
+ batch_key: string | null;
11211
+ cart_id: string | null;
11212
+ created_at: string;
11213
+ error: string | null;
11214
+ error_code: string | null;
11215
+ fulfillment_order_id: string | null;
11216
+ id: string;
11217
+ locked_until: string | null;
11218
+ next_attempt_at: string | null;
11219
+ order_id: string | null;
11220
+ order_number: string | null;
11221
+ print_job_id: string | null;
11222
+ printer_id: string | null;
11223
+ retry_class: string | null;
11224
+ slip_job_id: string;
11225
+ status: string;
11226
+ updated_at: string;
11227
+ };
11228
+ Insert: {
11229
+ attempts?: number;
11230
+ batch_key?: string | null;
11231
+ cart_id?: string | null;
11232
+ created_at?: string;
11233
+ error?: string | null;
11234
+ error_code?: string | null;
11235
+ fulfillment_order_id?: string | null;
11236
+ id?: string;
11237
+ locked_until?: string | null;
11238
+ next_attempt_at?: string | null;
11239
+ order_id?: string | null;
11240
+ order_number?: string | null;
11241
+ print_job_id?: string | null;
11242
+ printer_id?: string | null;
11243
+ retry_class?: string | null;
11244
+ slip_job_id: string;
11245
+ status?: string;
11246
+ updated_at?: string;
11247
+ };
11248
+ Update: {
11249
+ attempts?: number;
11250
+ batch_key?: string | null;
11251
+ cart_id?: string | null;
11252
+ created_at?: string;
11253
+ error?: string | null;
11254
+ error_code?: string | null;
11255
+ fulfillment_order_id?: string | null;
11256
+ id?: string;
11257
+ locked_until?: string | null;
11258
+ next_attempt_at?: string | null;
11259
+ order_id?: string | null;
11260
+ order_number?: string | null;
11261
+ print_job_id?: string | null;
11262
+ printer_id?: string | null;
11263
+ retry_class?: string | null;
11264
+ slip_job_id?: string;
11265
+ status?: string;
11266
+ updated_at?: string;
11267
+ };
11268
+ Relationships: [];
11269
+ };
10980
11270
  logistics_staff_planning: {
10981
11271
  Row: {
10982
11272
  created_at: string;
@@ -11316,6 +11606,24 @@ export type Database = {
11316
11606
  };
11317
11607
  Relationships: [];
11318
11608
  };
11609
+ logistics_time_settings: {
11610
+ Row: {
11611
+ id: boolean;
11612
+ timezone: string;
11613
+ updated_at: string;
11614
+ };
11615
+ Insert: {
11616
+ id?: boolean;
11617
+ timezone: string;
11618
+ updated_at?: string;
11619
+ };
11620
+ Update: {
11621
+ id?: boolean;
11622
+ timezone?: string;
11623
+ updated_at?: string;
11624
+ };
11625
+ Relationships: [];
11626
+ };
11319
11627
  logistics_variables: {
11320
11628
  Row: {
11321
11629
  created_at: string;
@@ -13780,6 +14088,7 @@ export type Database = {
13780
14088
  customer_name: string;
13781
14089
  deleted_at: string | null;
13782
14090
  delivery_date: string | null;
14091
+ floriday_order_group_key: string | null;
13783
14092
  floriday_sales_order_id: string | null;
13784
14093
  id: string;
13785
14094
  invoice_due_at: string | null;
@@ -13807,6 +14116,7 @@ export type Database = {
13807
14116
  customer_name?: string;
13808
14117
  deleted_at?: string | null;
13809
14118
  delivery_date?: string | null;
14119
+ floriday_order_group_key?: string | null;
13810
14120
  floriday_sales_order_id?: string | null;
13811
14121
  id?: string;
13812
14122
  invoice_due_at?: string | null;
@@ -13834,6 +14144,7 @@ export type Database = {
13834
14144
  customer_name?: string;
13835
14145
  deleted_at?: string | null;
13836
14146
  delivery_date?: string | null;
14147
+ floriday_order_group_key?: string | null;
13837
14148
  floriday_sales_order_id?: string | null;
13838
14149
  id?: string;
13839
14150
  invoice_due_at?: string | null;
@@ -23727,6 +24038,12 @@ export type Database = {
23727
24038
  };
23728
24039
  Returns: string;
23729
24040
  };
24041
+ logistics_cart_checkin_at: {
24042
+ Args: {
24043
+ p_cart_id: string;
24044
+ };
24045
+ Returns: string;
24046
+ };
23730
24047
  logistics_cart_handled: {
23731
24048
  Args: {
23732
24049
  p_cart_index: number;
@@ -23760,10 +24077,22 @@ export type Database = {
23760
24077
  task_status: string;
23761
24078
  }[];
23762
24079
  };
24080
+ logistics_cart_is_full: {
24081
+ Args: {
24082
+ p_cart_id: string;
24083
+ };
24084
+ Returns: boolean;
24085
+ };
23763
24086
  logistics_cart_layout_method: {
23764
24087
  Args: never;
23765
24088
  Returns: Json;
23766
24089
  };
24090
+ logistics_cart_order_refs: {
24091
+ Args: {
24092
+ p_cart_id: string;
24093
+ };
24094
+ Returns: string[];
24095
+ };
23767
24096
  logistics_cart_plan_overview: {
23768
24097
  Args: {
23769
24098
  p_days?: number;
@@ -23783,6 +24112,18 @@ export type Database = {
23783
24112
  };
23784
24113
  Returns: Json;
23785
24114
  };
24115
+ logistics_cart_release_reason: {
24116
+ Args: {
24117
+ p_cart_id: string;
24118
+ };
24119
+ Returns: string;
24120
+ };
24121
+ logistics_cart_released: {
24122
+ Args: {
24123
+ p_cart_id: string;
24124
+ };
24125
+ Returns: boolean;
24126
+ };
23786
24127
  logistics_cart_seq: {
23787
24128
  Args: {
23788
24129
  p_order_uuid?: string;
@@ -23833,6 +24174,10 @@ export type Database = {
23833
24174
  unit_ref: string;
23834
24175
  }[];
23835
24176
  };
24177
+ logistics_carts_per_print: {
24178
+ Args: never;
24179
+ Returns: number;
24180
+ };
23836
24181
  logistics_check_order_allowed: {
23837
24182
  Args: {
23838
24183
  p_lines: Json;
@@ -23936,6 +24281,10 @@ export type Database = {
23936
24281
  isSetofReturn: false;
23937
24282
  };
23938
24283
  };
24284
+ logistics_cleanup_orphan_print_jobs: {
24285
+ Args: never;
24286
+ Returns: Json;
24287
+ };
23939
24288
  logistics_complete_task: {
23940
24289
  Args: {
23941
24290
  p_result?: Json;
@@ -23998,6 +24347,12 @@ export type Database = {
23998
24347
  station_carts: number;
23999
24348
  }[];
24000
24349
  };
24350
+ logistics_control_complete_cart: {
24351
+ Args: {
24352
+ p_cart_id: string;
24353
+ };
24354
+ Returns: number;
24355
+ };
24001
24356
  logistics_control_scan_approve: {
24002
24357
  Args: {
24003
24358
  p_allow_reprint?: boolean;
@@ -24077,6 +24432,15 @@ export type Database = {
24077
24432
  Args: never;
24078
24433
  Returns: Json;
24079
24434
  };
24435
+ logistics_day_windows: {
24436
+ Args: {
24437
+ p_day: string;
24438
+ };
24439
+ Returns: {
24440
+ win_end: string;
24441
+ win_start: string;
24442
+ }[];
24443
+ };
24080
24444
  logistics_delay_customer_email: {
24081
24445
  Args: {
24082
24446
  p_customer: string;
@@ -24144,6 +24508,17 @@ export type Database = {
24144
24508
  };
24145
24509
  Returns: Json;
24146
24510
  };
24511
+ logistics_enqueue_shipping_note_with_slip: {
24512
+ Args: {
24513
+ _cart_id: string;
24514
+ _is_herprint: boolean;
24515
+ _printer_id: string;
24516
+ _queue_item_id: string;
24517
+ _session_id: string;
24518
+ _slip_job_id: string;
24519
+ };
24520
+ Returns: string;
24521
+ };
24147
24522
  logistics_enqueue_sticker_with_slip: {
24148
24523
  Args: {
24149
24524
  _cart_id: string;
@@ -24161,6 +24536,14 @@ export type Database = {
24161
24536
  };
24162
24537
  Returns: string;
24163
24538
  };
24539
+ logistics_ensure_pick_data: {
24540
+ Args: {
24541
+ p_event_id?: string;
24542
+ p_missing?: Json;
24543
+ p_ref: string;
24544
+ };
24545
+ Returns: Json;
24546
+ };
24164
24547
  logistics_fail_task: {
24165
24548
  Args: {
24166
24549
  p_error: string;
@@ -24282,6 +24665,32 @@ export type Database = {
24282
24665
  };
24283
24666
  Returns: string;
24284
24667
  };
24668
+ logistics_floriday_gate_status: {
24669
+ Args: never;
24670
+ Returns: Json;
24671
+ };
24672
+ logistics_floriday_log_refusal: {
24673
+ Args: {
24674
+ _action?: string;
24675
+ _module?: string;
24676
+ _order_ref: string;
24677
+ _reason: string;
24678
+ _shell?: string;
24679
+ };
24680
+ Returns: undefined;
24681
+ };
24682
+ logistics_floriday_log_send: {
24683
+ Args: {
24684
+ _action: string;
24685
+ _detail?: string;
24686
+ _http_status?: number;
24687
+ _module?: string;
24688
+ _ok: boolean;
24689
+ _order_ref: string;
24690
+ _shell?: string;
24691
+ };
24692
+ Returns: undefined;
24693
+ };
24285
24694
  logistics_floriday_order_approved: {
24286
24695
  Args: {
24287
24696
  _order_ref: string;
@@ -24306,6 +24715,16 @@ export type Database = {
24306
24715
  Args: never;
24307
24716
  Returns: boolean;
24308
24717
  };
24718
+ logistics_floriday_stock_updates_enabled: {
24719
+ Args: never;
24720
+ Returns: boolean;
24721
+ };
24722
+ logistics_floriday_write_allowed: {
24723
+ Args: {
24724
+ _action: string;
24725
+ };
24726
+ Returns: boolean;
24727
+ };
24309
24728
  logistics_fulfill_barcode_requests: {
24310
24729
  Args: {
24311
24730
  p_limit?: number;
@@ -24348,6 +24767,12 @@ export type Database = {
24348
24767
  };
24349
24768
  Returns: number;
24350
24769
  };
24770
+ logistics_merge_partial_carts: {
24771
+ Args: {
24772
+ p_limit?: number;
24773
+ };
24774
+ Returns: Json;
24775
+ };
24351
24776
  logistics_next_workday_date: {
24352
24777
  Args: {
24353
24778
  p_date: string;
@@ -24374,6 +24799,10 @@ export type Database = {
24374
24799
  };
24375
24800
  Returns: string;
24376
24801
  };
24802
+ logistics_opening_timezone: {
24803
+ Args: never;
24804
+ Returns: string;
24805
+ };
24377
24806
  logistics_order_cart_count: {
24378
24807
  Args: {
24379
24808
  p_order_ref: string;
@@ -24458,6 +24887,10 @@ export type Database = {
24458
24887
  Args: never;
24459
24888
  Returns: Json;
24460
24889
  };
24890
+ logistics_pick_partial_mode: {
24891
+ Args: never;
24892
+ Returns: string;
24893
+ };
24461
24894
  logistics_pick_start_estimate: {
24462
24895
  Args: {
24463
24896
  p_order: Json;
@@ -24569,6 +25002,12 @@ export type Database = {
24569
25002
  };
24570
25003
  Returns: number;
24571
25004
  };
25005
+ logistics_prepare_pick_documents: {
25006
+ Args: {
25007
+ p_limit?: number;
25008
+ };
25009
+ Returns: Json;
25010
+ };
24572
25011
  logistics_prune_buffer_member_queue: {
24573
25012
  Args: never;
24574
25013
  Returns: number;
@@ -24609,6 +25048,12 @@ export type Database = {
24609
25048
  Args: never;
24610
25049
  Returns: Json;
24611
25050
  };
25051
+ logistics_refresh_pick_queue_status: {
25052
+ Args: {
25053
+ p_ref: string;
25054
+ };
25055
+ Returns: number;
25056
+ };
24612
25057
  logistics_refresh_pickup_moments: {
24613
25058
  Args: {
24614
25059
  p_weeks?: number;
@@ -24621,6 +25066,12 @@ export type Database = {
24621
25066
  };
24622
25067
  Returns: Json;
24623
25068
  };
25069
+ logistics_replan_all_force: {
25070
+ Args: {
25071
+ p_reason?: string;
25072
+ };
25073
+ Returns: Json;
25074
+ };
24624
25075
  logistics_report_delay: {
24625
25076
  Args: {
24626
25077
  p_expected_date?: string;
@@ -24765,6 +25216,10 @@ export type Database = {
24765
25216
  };
24766
25217
  Returns: string;
24767
25218
  };
25219
+ logistics_shipping_note_follows_slip: {
25220
+ Args: never;
25221
+ Returns: boolean;
25222
+ };
24768
25223
  logistics_shipping_note_from_barcode: {
24769
25224
  Args: {
24770
25225
  p_allow_reprint?: boolean;
@@ -24773,10 +25228,76 @@ export type Database = {
24773
25228
  };
24774
25229
  Returns: Json;
24775
25230
  };
25231
+ logistics_shipping_note_job_for_slip: {
25232
+ Args: {
25233
+ _slip_job_id: string;
25234
+ };
25235
+ Returns: string;
25236
+ };
25237
+ logistics_slip_note_claim: {
25238
+ Args: {
25239
+ _lease_seconds?: number;
25240
+ _limit?: number;
25241
+ };
25242
+ Returns: {
25243
+ attempts: number;
25244
+ batch_key: string | null;
25245
+ cart_id: string | null;
25246
+ created_at: string;
25247
+ error: string | null;
25248
+ error_code: string | null;
25249
+ fulfillment_order_id: string | null;
25250
+ id: string;
25251
+ locked_until: string | null;
25252
+ next_attempt_at: string | null;
25253
+ order_id: string | null;
25254
+ order_number: string | null;
25255
+ print_job_id: string | null;
25256
+ printer_id: string | null;
25257
+ retry_class: string | null;
25258
+ slip_job_id: string;
25259
+ status: string;
25260
+ updated_at: string;
25261
+ }[];
25262
+ SetofOptions: {
25263
+ from: "*";
25264
+ to: "logistics_slip_shipping_note";
25265
+ isOneToOne: false;
25266
+ isSetofReturn: true;
25267
+ };
25268
+ };
25269
+ logistics_slip_note_finish: {
25270
+ Args: {
25271
+ _error?: string;
25272
+ _error_code?: string;
25273
+ _fulfillment_order_id?: string;
25274
+ _id: string;
25275
+ _ok: boolean;
25276
+ _print_job_id?: string;
25277
+ _status?: string;
25278
+ };
25279
+ Returns: undefined;
25280
+ };
25281
+ logistics_slip_note_keep_waiting: {
25282
+ Args: {
25283
+ _class?: string;
25284
+ _id: string;
25285
+ _reason: string;
25286
+ };
25287
+ Returns: undefined;
25288
+ };
24776
25289
  logistics_sticker_follows_slip: {
24777
25290
  Args: never;
24778
25291
  Returns: boolean;
24779
25292
  };
25293
+ logistics_subtract_working_minutes: {
25294
+ Args: {
25295
+ p_deadline: string;
25296
+ p_max_workdays?: number;
25297
+ p_minutes: number;
25298
+ };
25299
+ Returns: Json;
25300
+ };
24780
25301
  logistics_supersede_stale_tasks: {
24781
25302
  Args: {
24782
25303
  p_keep: string[];
@@ -24813,6 +25334,12 @@ export type Database = {
24813
25334
  Args: never;
24814
25335
  Returns: string;
24815
25336
  };
25337
+ logistics_timezone_options: {
25338
+ Args: never;
25339
+ Returns: {
25340
+ name: string;
25341
+ }[];
25342
+ };
24816
25343
  logistics_upsert_task: {
24817
25344
  Args: {
24818
25345
  p_buffer_ref: string;
@@ -24832,6 +25359,16 @@ export type Database = {
24832
25359
  };
24833
25360
  Returns: string;
24834
25361
  };
25362
+ logistics_valid_timezone: {
25363
+ Args: {
25364
+ _tz: string;
25365
+ };
25366
+ Returns: boolean;
25367
+ };
25368
+ logistics_working_hours_status: {
25369
+ Args: never;
25370
+ Returns: Json;
25371
+ };
24835
25372
  logistics_write_buffer_layer_positions: {
24836
25373
  Args: {
24837
25374
  p_buffer_id: string;
@@ -26277,6 +26814,13 @@ export type Database = {
26277
26814
  };
26278
26815
  Returns: number;
26279
26816
  };
26817
+ schedule_floriday_catalog_prices_sync: {
26818
+ Args: {
26819
+ p_apikey: string;
26820
+ p_url: string;
26821
+ };
26822
+ Returns: number;
26823
+ };
26280
26824
  schedule_floriday_clock_presales_sync: {
26281
26825
  Args: {
26282
26826
  p_apikey: string;
@@ -26577,6 +27121,10 @@ export type Database = {
26577
27121
  };
26578
27122
  Returns: undefined;
26579
27123
  };
27124
+ sync_floriday_prices_into_price_groups: {
27125
+ Args: never;
27126
+ Returns: number;
27127
+ };
26580
27128
  sync_layer_stock: {
26581
27129
  Args: {
26582
27130
  p_product_id: string;