@flowselections/floriday-klanten-module 1.0.29 → 1.0.31

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 (66) hide show
  1. package/dist-lib/components/klanten/BewerkKlant.d.ts +6 -1
  2. package/dist-lib/components/klanten/BewerkKlant.d.ts.map +1 -1
  3. package/dist-lib/components/klanten/BewerkKlant.js +7 -4
  4. package/dist-lib/components/klanten/GroupedKlantDetail.d.ts.map +1 -1
  5. package/dist-lib/components/klanten/GroupedKlantDetail.js +4 -2
  6. package/dist-lib/components/klanten/KlantBewerkenDialog.d.ts +12 -0
  7. package/dist-lib/components/klanten/KlantBewerkenDialog.d.ts.map +1 -0
  8. package/dist-lib/components/klanten/KlantBewerkenDialog.js +27 -0
  9. package/dist-lib/components/klanten/KlantDetail.d.ts.map +1 -1
  10. package/dist-lib/components/klanten/KlantDetail.js +5 -3
  11. package/dist-lib/components/klanten/KlantenOverzicht.d.ts.map +1 -1
  12. package/dist-lib/components/klanten/KlantenOverzicht.js +65 -11
  13. package/dist-lib/components/klanten/OvernemenTwinfieldKlant.d.ts +7 -1
  14. package/dist-lib/components/klanten/OvernemenTwinfieldKlant.d.ts.map +1 -1
  15. package/dist-lib/components/klanten/OvernemenTwinfieldKlant.js +14 -7
  16. package/dist-lib/index.d.ts +1 -0
  17. package/dist-lib/index.d.ts.map +1 -1
  18. package/dist-lib/index.js +1 -0
  19. package/dist-lib/integrations/supabase/auth-middleware.d.ts +745 -0
  20. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  21. package/dist-lib/integrations/supabase/client.d.ts +745 -0
  22. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  23. package/dist-lib/integrations/supabase/client.server.d.ts +745 -0
  24. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  25. package/dist-lib/integrations/supabase/types.d.ts +745 -0
  26. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  27. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts +2411 -176
  28. package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts.map +1 -1
  29. package/dist-lib/lib/accounting.functions.d.ts +2411 -176
  30. package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/customer-analytics.functions.d.ts +745 -0
  32. package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/customer-notes.functions.d.ts +1490 -0
  34. package/dist-lib/lib/customer-notes.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/customer-revenue.functions.d.ts +20582 -0
  36. package/dist-lib/lib/customer-revenue.functions.d.ts.map +1 -0
  37. package/dist-lib/lib/customer-revenue.functions.js +124 -0
  38. package/dist-lib/lib/customers.functions.d.ts +6705 -0
  39. package/dist-lib/lib/customers.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/delivery-locations.functions.d.ts +3332 -352
  41. package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -1
  42. package/dist-lib/lib/external-customers.functions.d.ts +3332 -352
  43. package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
  44. package/dist-lib/lib/floriday-assortment.functions.d.ts +745 -0
  45. package/dist-lib/lib/floriday-assortment.functions.d.ts.map +1 -1
  46. package/dist-lib/lib/floriday-discounts.functions.d.ts +1490 -0
  47. package/dist-lib/lib/floriday-discounts.functions.d.ts.map +1 -1
  48. package/dist-lib/lib/floriday-trade-items.functions.d.ts +745 -0
  49. package/dist-lib/lib/floriday-trade-items.functions.d.ts.map +1 -1
  50. package/dist-lib/lib/local-discounts.functions.d.ts +5215 -0
  51. package/dist-lib/lib/local-discounts.functions.d.ts.map +1 -1
  52. package/dist-lib/lib/logistics-events.functions.d.ts +745 -0
  53. package/dist-lib/lib/logistics-events.functions.d.ts.map +1 -1
  54. package/dist-lib/lib/logistics-strategy.functions.d.ts +3332 -352
  55. package/dist-lib/lib/logistics-strategy.functions.d.ts.map +1 -1
  56. package/dist-lib/lib/overdue-invoices.functions.d.ts +745 -0
  57. package/dist-lib/lib/overdue-invoices.functions.d.ts.map +1 -1
  58. package/dist-lib/lib/price-groups-local.functions.d.ts +5215 -0
  59. package/dist-lib/lib/price-groups-local.functions.d.ts.map +1 -1
  60. package/dist-lib/lib/price-groups.functions.d.ts +745 -0
  61. package/dist-lib/lib/price-groups.functions.d.ts.map +1 -1
  62. package/dist-lib/lib/twinfield-adopt.functions.d.ts +1490 -0
  63. package/dist-lib/lib/twinfield-adopt.functions.d.ts.map +1 -1
  64. package/dist-lib/lib/twinfield-ledger.functions.d.ts +745 -0
  65. package/dist-lib/lib/twinfield-ledger.functions.d.ts.map +1 -1
  66. package/package.json +2 -2
@@ -3561,6 +3561,474 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
3561
3561
  referencedColumns: ["id"];
3562
3562
  }];
3563
3563
  };
3564
+ exact_auth_call_budget: {
3565
+ Row: {
3566
+ account_key: string;
3567
+ day_count: number;
3568
+ day_date: string;
3569
+ division_code: number;
3570
+ environment: string;
3571
+ minute_count: number;
3572
+ minute_window: string;
3573
+ updated_at: string;
3574
+ };
3575
+ Insert: {
3576
+ account_key?: string;
3577
+ day_count?: number;
3578
+ day_date?: string;
3579
+ division_code?: number;
3580
+ environment: string;
3581
+ minute_count?: number;
3582
+ minute_window?: string;
3583
+ updated_at?: string;
3584
+ };
3585
+ Update: {
3586
+ account_key?: string;
3587
+ day_count?: number;
3588
+ day_date?: string;
3589
+ division_code?: number;
3590
+ environment?: string;
3591
+ minute_count?: number;
3592
+ minute_window?: string;
3593
+ updated_at?: string;
3594
+ };
3595
+ Relationships: [];
3596
+ };
3597
+ exact_auth_customers: {
3598
+ Row: {
3599
+ account_key: string;
3600
+ address_line1: string | null;
3601
+ chamber_of_commerce: string | null;
3602
+ city: string | null;
3603
+ code: string | null;
3604
+ country: string | null;
3605
+ created_at: string;
3606
+ currency: string | null;
3607
+ division_code: number | null;
3608
+ email: string | null;
3609
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3610
+ exact_id: string;
3611
+ exact_modified: string | null;
3612
+ exact_timestamp: number | null;
3613
+ id: string;
3614
+ is_active: boolean;
3615
+ name: string | null;
3616
+ phone: string | null;
3617
+ postcode: string | null;
3618
+ raw: import("../integrations/supabase/types").Json | null;
3619
+ status: string | null;
3620
+ updated_at: string;
3621
+ vat_number: string | null;
3622
+ website: string | null;
3623
+ };
3624
+ Insert: {
3625
+ account_key?: string;
3626
+ address_line1?: string | null;
3627
+ chamber_of_commerce?: string | null;
3628
+ city?: string | null;
3629
+ code?: string | null;
3630
+ country?: string | null;
3631
+ created_at?: string;
3632
+ currency?: string | null;
3633
+ division_code?: number | null;
3634
+ email?: string | null;
3635
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3636
+ exact_id: string;
3637
+ exact_modified?: string | null;
3638
+ exact_timestamp?: number | null;
3639
+ id?: string;
3640
+ is_active?: boolean;
3641
+ name?: string | null;
3642
+ phone?: string | null;
3643
+ postcode?: string | null;
3644
+ raw?: import("../integrations/supabase/types").Json | null;
3645
+ status?: string | null;
3646
+ updated_at?: string;
3647
+ vat_number?: string | null;
3648
+ website?: string | null;
3649
+ };
3650
+ Update: {
3651
+ account_key?: string;
3652
+ address_line1?: string | null;
3653
+ chamber_of_commerce?: string | null;
3654
+ city?: string | null;
3655
+ code?: string | null;
3656
+ country?: string | null;
3657
+ created_at?: string;
3658
+ currency?: string | null;
3659
+ division_code?: number | null;
3660
+ email?: string | null;
3661
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3662
+ exact_id?: string;
3663
+ exact_modified?: string | null;
3664
+ exact_timestamp?: number | null;
3665
+ id?: string;
3666
+ is_active?: boolean;
3667
+ name?: string | null;
3668
+ phone?: string | null;
3669
+ postcode?: string | null;
3670
+ raw?: import("../integrations/supabase/types").Json | null;
3671
+ status?: string | null;
3672
+ updated_at?: string;
3673
+ vat_number?: string | null;
3674
+ website?: string | null;
3675
+ };
3676
+ Relationships: [];
3677
+ };
3678
+ exact_auth_divisions: {
3679
+ Row: {
3680
+ account_key: string;
3681
+ company_name: string | null;
3682
+ created_at: string;
3683
+ division_code: number | null;
3684
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3685
+ id: string;
3686
+ last_synced_at: string | null;
3687
+ updated_at: string;
3688
+ };
3689
+ Insert: {
3690
+ account_key?: string;
3691
+ company_name?: string | null;
3692
+ created_at?: string;
3693
+ division_code?: number | null;
3694
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3695
+ id?: string;
3696
+ last_synced_at?: string | null;
3697
+ updated_at?: string;
3698
+ };
3699
+ Update: {
3700
+ account_key?: string;
3701
+ company_name?: string | null;
3702
+ created_at?: string;
3703
+ division_code?: number | null;
3704
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3705
+ id?: string;
3706
+ last_synced_at?: string | null;
3707
+ updated_at?: string;
3708
+ };
3709
+ Relationships: [];
3710
+ };
3711
+ exact_auth_invoice_lines: {
3712
+ Row: {
3713
+ account_key: string;
3714
+ amount_excl: number | null;
3715
+ created_at: string;
3716
+ description: string | null;
3717
+ discount: number | null;
3718
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3719
+ exact_id: string;
3720
+ exact_timestamp: number | null;
3721
+ id: string;
3722
+ invoice_exact_id: string;
3723
+ item_code: string | null;
3724
+ item_exact_id: string | null;
3725
+ line_number: number | null;
3726
+ quantity: number | null;
3727
+ raw: import("../integrations/supabase/types").Json | null;
3728
+ unit_price: number | null;
3729
+ updated_at: string;
3730
+ vat_amount: number | null;
3731
+ vat_code: string | null;
3732
+ };
3733
+ Insert: {
3734
+ account_key?: string;
3735
+ amount_excl?: number | null;
3736
+ created_at?: string;
3737
+ description?: string | null;
3738
+ discount?: number | null;
3739
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3740
+ exact_id: string;
3741
+ exact_timestamp?: number | null;
3742
+ id?: string;
3743
+ invoice_exact_id: string;
3744
+ item_code?: string | null;
3745
+ item_exact_id?: string | null;
3746
+ line_number?: number | null;
3747
+ quantity?: number | null;
3748
+ raw?: import("../integrations/supabase/types").Json | null;
3749
+ unit_price?: number | null;
3750
+ updated_at?: string;
3751
+ vat_amount?: number | null;
3752
+ vat_code?: string | null;
3753
+ };
3754
+ Update: {
3755
+ account_key?: string;
3756
+ amount_excl?: number | null;
3757
+ created_at?: string;
3758
+ description?: string | null;
3759
+ discount?: number | null;
3760
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3761
+ exact_id?: string;
3762
+ exact_timestamp?: number | null;
3763
+ id?: string;
3764
+ invoice_exact_id?: string;
3765
+ item_code?: string | null;
3766
+ item_exact_id?: string | null;
3767
+ line_number?: number | null;
3768
+ quantity?: number | null;
3769
+ raw?: import("../integrations/supabase/types").Json | null;
3770
+ unit_price?: number | null;
3771
+ updated_at?: string;
3772
+ vat_amount?: number | null;
3773
+ vat_code?: string | null;
3774
+ };
3775
+ Relationships: [];
3776
+ };
3777
+ exact_auth_invoices: {
3778
+ Row: {
3779
+ account_key: string;
3780
+ amount_excl: number | null;
3781
+ amount_incl: number | null;
3782
+ amount_open: number | null;
3783
+ created_at: string;
3784
+ currency: string | null;
3785
+ customer_code: string | null;
3786
+ customer_exact_id: string | null;
3787
+ customer_name: string | null;
3788
+ description: string | null;
3789
+ division_code: number | null;
3790
+ due_date: string | null;
3791
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3792
+ exact_id: string;
3793
+ exact_modified: string | null;
3794
+ exact_timestamp: number | null;
3795
+ id: string;
3796
+ invoice_date: string | null;
3797
+ invoice_number: string | null;
3798
+ order_number: string | null;
3799
+ paid_at: string | null;
3800
+ payment_status: string;
3801
+ raw: import("../integrations/supabase/types").Json | null;
3802
+ receivable_synced_at: string | null;
3803
+ status_code: number | null;
3804
+ updated_at: string;
3805
+ };
3806
+ Insert: {
3807
+ account_key?: string;
3808
+ amount_excl?: number | null;
3809
+ amount_incl?: number | null;
3810
+ amount_open?: number | null;
3811
+ created_at?: string;
3812
+ currency?: string | null;
3813
+ customer_code?: string | null;
3814
+ customer_exact_id?: string | null;
3815
+ customer_name?: string | null;
3816
+ description?: string | null;
3817
+ division_code?: number | null;
3818
+ due_date?: string | null;
3819
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3820
+ exact_id: string;
3821
+ exact_modified?: string | null;
3822
+ exact_timestamp?: number | null;
3823
+ id?: string;
3824
+ invoice_date?: string | null;
3825
+ invoice_number?: string | null;
3826
+ order_number?: string | null;
3827
+ paid_at?: string | null;
3828
+ payment_status?: string;
3829
+ raw?: import("../integrations/supabase/types").Json | null;
3830
+ receivable_synced_at?: string | null;
3831
+ status_code?: number | null;
3832
+ updated_at?: string;
3833
+ };
3834
+ Update: {
3835
+ account_key?: string;
3836
+ amount_excl?: number | null;
3837
+ amount_incl?: number | null;
3838
+ amount_open?: number | null;
3839
+ created_at?: string;
3840
+ currency?: string | null;
3841
+ customer_code?: string | null;
3842
+ customer_exact_id?: string | null;
3843
+ customer_name?: string | null;
3844
+ description?: string | null;
3845
+ division_code?: number | null;
3846
+ due_date?: string | null;
3847
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3848
+ exact_id?: string;
3849
+ exact_modified?: string | null;
3850
+ exact_timestamp?: number | null;
3851
+ id?: string;
3852
+ invoice_date?: string | null;
3853
+ invoice_number?: string | null;
3854
+ order_number?: string | null;
3855
+ paid_at?: string | null;
3856
+ payment_status?: string;
3857
+ raw?: import("../integrations/supabase/types").Json | null;
3858
+ receivable_synced_at?: string | null;
3859
+ status_code?: number | null;
3860
+ updated_at?: string;
3861
+ };
3862
+ Relationships: [];
3863
+ };
3864
+ exact_auth_items: {
3865
+ Row: {
3866
+ account_key: string;
3867
+ barcode: string | null;
3868
+ code: string | null;
3869
+ cost_price: number | null;
3870
+ created_at: string;
3871
+ description: string | null;
3872
+ division_code: number | null;
3873
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3874
+ exact_id: string;
3875
+ exact_modified: string | null;
3876
+ exact_timestamp: number | null;
3877
+ gl_account_code: string | null;
3878
+ id: string;
3879
+ is_active: boolean;
3880
+ is_sales_item: boolean | null;
3881
+ item_type: string | null;
3882
+ raw: import("../integrations/supabase/types").Json | null;
3883
+ sales_price: number | null;
3884
+ unit: string | null;
3885
+ updated_at: string;
3886
+ vat_code: string | null;
3887
+ };
3888
+ Insert: {
3889
+ account_key?: string;
3890
+ barcode?: string | null;
3891
+ code?: string | null;
3892
+ cost_price?: number | null;
3893
+ created_at?: string;
3894
+ description?: string | null;
3895
+ division_code?: number | null;
3896
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3897
+ exact_id: string;
3898
+ exact_modified?: string | null;
3899
+ exact_timestamp?: number | null;
3900
+ gl_account_code?: string | null;
3901
+ id?: string;
3902
+ is_active?: boolean;
3903
+ is_sales_item?: boolean | null;
3904
+ item_type?: string | null;
3905
+ raw?: import("../integrations/supabase/types").Json | null;
3906
+ sales_price?: number | null;
3907
+ unit?: string | null;
3908
+ updated_at?: string;
3909
+ vat_code?: string | null;
3910
+ };
3911
+ Update: {
3912
+ account_key?: string;
3913
+ barcode?: string | null;
3914
+ code?: string | null;
3915
+ cost_price?: number | null;
3916
+ created_at?: string;
3917
+ description?: string | null;
3918
+ division_code?: number | null;
3919
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3920
+ exact_id?: string;
3921
+ exact_modified?: string | null;
3922
+ exact_timestamp?: number | null;
3923
+ gl_account_code?: string | null;
3924
+ id?: string;
3925
+ is_active?: boolean;
3926
+ is_sales_item?: boolean | null;
3927
+ item_type?: string | null;
3928
+ raw?: import("../integrations/supabase/types").Json | null;
3929
+ sales_price?: number | null;
3930
+ unit?: string | null;
3931
+ updated_at?: string;
3932
+ vat_code?: string | null;
3933
+ };
3934
+ Relationships: [];
3935
+ };
3936
+ exact_auth_sync_log: {
3937
+ Row: {
3938
+ account_key: string;
3939
+ calls_used: number;
3940
+ created_at: string;
3941
+ domain: string;
3942
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3943
+ error: string | null;
3944
+ finished_at: string | null;
3945
+ id: string;
3946
+ ok: boolean;
3947
+ records: number;
3948
+ started_at: string;
3949
+ };
3950
+ Insert: {
3951
+ account_key?: string;
3952
+ calls_used?: number;
3953
+ created_at?: string;
3954
+ domain: string;
3955
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3956
+ error?: string | null;
3957
+ finished_at?: string | null;
3958
+ id?: string;
3959
+ ok?: boolean;
3960
+ records?: number;
3961
+ started_at?: string;
3962
+ };
3963
+ Update: {
3964
+ account_key?: string;
3965
+ calls_used?: number;
3966
+ created_at?: string;
3967
+ domain?: string;
3968
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3969
+ error?: string | null;
3970
+ finished_at?: string | null;
3971
+ id?: string;
3972
+ ok?: boolean;
3973
+ records?: number;
3974
+ started_at?: string;
3975
+ };
3976
+ Relationships: [];
3977
+ };
3978
+ exact_auth_sync_state: {
3979
+ Row: {
3980
+ account_key: string;
3981
+ created_at: string;
3982
+ cursor_timestamp: number;
3983
+ division_code: number | null;
3984
+ domain: string;
3985
+ duration_ms: number | null;
3986
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3987
+ initial_sync_done: boolean;
3988
+ last_error: string | null;
3989
+ last_run_at: string | null;
3990
+ last_success_at: string | null;
3991
+ locked_at: string | null;
3992
+ needs_initial_sync: boolean;
3993
+ record_count: number;
3994
+ updated_at: string;
3995
+ };
3996
+ Insert: {
3997
+ account_key?: string;
3998
+ created_at?: string;
3999
+ cursor_timestamp?: number;
4000
+ division_code?: number | null;
4001
+ domain: string;
4002
+ duration_ms?: number | null;
4003
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
4004
+ initial_sync_done?: boolean;
4005
+ last_error?: string | null;
4006
+ last_run_at?: string | null;
4007
+ last_success_at?: string | null;
4008
+ locked_at?: string | null;
4009
+ needs_initial_sync?: boolean;
4010
+ record_count?: number;
4011
+ updated_at?: string;
4012
+ };
4013
+ Update: {
4014
+ account_key?: string;
4015
+ created_at?: string;
4016
+ cursor_timestamp?: number;
4017
+ division_code?: number | null;
4018
+ domain?: string;
4019
+ duration_ms?: number | null;
4020
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
4021
+ initial_sync_done?: boolean;
4022
+ last_error?: string | null;
4023
+ last_run_at?: string | null;
4024
+ last_success_at?: string | null;
4025
+ locked_at?: string | null;
4026
+ needs_initial_sync?: boolean;
4027
+ record_count?: number;
4028
+ updated_at?: string;
4029
+ };
4030
+ Relationships: [];
4031
+ };
3564
4032
  exact_bulk_operation_items: {
3565
4033
  Row: {
3566
4034
  attempts: number;
@@ -5252,12 +5720,17 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
5252
5720
  attempts: number;
5253
5721
  connection_id: string;
5254
5722
  created_at: string;
5723
+ desired_available: boolean | null;
5255
5724
  gateway_attempt_id: string | null;
5256
5725
  id: string;
5257
5726
  last_error: string | null;
5727
+ locked_at: string | null;
5728
+ locked_by: string | null;
5729
+ next_attempt_at: string;
5258
5730
  number_of_pieces: number;
5259
5731
  sent_at: string | null;
5260
5732
  status: string;
5733
+ superseded_by: string | null;
5261
5734
  trade_item_id: string;
5262
5735
  updated_at: string;
5263
5736
  user_id: string;
@@ -5266,12 +5739,17 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
5266
5739
  attempts?: number;
5267
5740
  connection_id: string;
5268
5741
  created_at?: string;
5742
+ desired_available?: boolean | null;
5269
5743
  gateway_attempt_id?: string | null;
5270
5744
  id?: string;
5271
5745
  last_error?: string | null;
5746
+ locked_at?: string | null;
5747
+ locked_by?: string | null;
5748
+ next_attempt_at?: string;
5272
5749
  number_of_pieces?: number;
5273
5750
  sent_at?: string | null;
5274
5751
  status?: string;
5752
+ superseded_by?: string | null;
5275
5753
  trade_item_id: string;
5276
5754
  updated_at?: string;
5277
5755
  user_id: string;
@@ -5280,12 +5758,17 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
5280
5758
  attempts?: number;
5281
5759
  connection_id?: string;
5282
5760
  created_at?: string;
5761
+ desired_available?: boolean | null;
5283
5762
  gateway_attempt_id?: string | null;
5284
5763
  id?: string;
5285
5764
  last_error?: string | null;
5765
+ locked_at?: string | null;
5766
+ locked_by?: string | null;
5767
+ next_attempt_at?: string;
5286
5768
  number_of_pieces?: number;
5287
5769
  sent_at?: string | null;
5288
5770
  status?: string;
5771
+ superseded_by?: string | null;
5289
5772
  trade_item_id?: string;
5290
5773
  updated_at?: string;
5291
5774
  user_id?: string;
@@ -8034,6 +8517,69 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
8034
8517
  };
8035
8518
  Relationships: [];
8036
8519
  };
8520
+ logistics_floriday_pushes: {
8521
+ Row: {
8522
+ attempts: number;
8523
+ created_at: string;
8524
+ first_queued_at: string;
8525
+ fulfillment_order_id: string | null;
8526
+ id: string;
8527
+ last_error: string | null;
8528
+ last_error_at: string | null;
8529
+ last_sent_hash: string | null;
8530
+ locked_by: string | null;
8531
+ locked_until: string | null;
8532
+ next_attempt_at: string;
8533
+ order_ref: string;
8534
+ payload: import("../integrations/supabase/types").Json;
8535
+ payload_hash: string | null;
8536
+ revision: number;
8537
+ sent_at: string | null;
8538
+ status: string;
8539
+ updated_at: string;
8540
+ };
8541
+ Insert: {
8542
+ attempts?: number;
8543
+ created_at?: string;
8544
+ first_queued_at?: string;
8545
+ fulfillment_order_id?: string | null;
8546
+ id?: string;
8547
+ last_error?: string | null;
8548
+ last_error_at?: string | null;
8549
+ last_sent_hash?: string | null;
8550
+ locked_by?: string | null;
8551
+ locked_until?: string | null;
8552
+ next_attempt_at?: string;
8553
+ order_ref: string;
8554
+ payload?: import("../integrations/supabase/types").Json;
8555
+ payload_hash?: string | null;
8556
+ revision?: number;
8557
+ sent_at?: string | null;
8558
+ status?: string;
8559
+ updated_at?: string;
8560
+ };
8561
+ Update: {
8562
+ attempts?: number;
8563
+ created_at?: string;
8564
+ first_queued_at?: string;
8565
+ fulfillment_order_id?: string | null;
8566
+ id?: string;
8567
+ last_error?: string | null;
8568
+ last_error_at?: string | null;
8569
+ last_sent_hash?: string | null;
8570
+ locked_by?: string | null;
8571
+ locked_until?: string | null;
8572
+ next_attempt_at?: string;
8573
+ order_ref?: string;
8574
+ payload?: import("../integrations/supabase/types").Json;
8575
+ payload_hash?: string | null;
8576
+ revision?: number;
8577
+ sent_at?: string | null;
8578
+ status?: string;
8579
+ updated_at?: string;
8580
+ };
8581
+ Relationships: [];
8582
+ };
8037
8583
  logistics_formulas: {
8038
8584
  Row: {
8039
8585
  created_at: string;
@@ -8645,6 +9191,8 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
8645
9191
  };
8646
9192
  logistics_tasks: {
8647
9193
  Row: {
9194
+ attempt_log: import("../integrations/supabase/types").Json;
9195
+ attempts: number;
8648
9196
  buffer_ref: string | null;
8649
9197
  claimed_at: string | null;
8650
9198
  claimed_by: string | null;
@@ -8654,6 +9202,8 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
8654
9202
  due_at: string | null;
8655
9203
  error: string | null;
8656
9204
  id: string;
9205
+ last_error: string | null;
9206
+ next_attempt_at: string | null;
8657
9207
  order_ref: string;
8658
9208
  owner_module: string;
8659
9209
  payload: import("../integrations/supabase/types").Json;
@@ -8674,6 +9224,8 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
8674
9224
  user_id: string;
8675
9225
  };
8676
9226
  Insert: {
9227
+ attempt_log?: import("../integrations/supabase/types").Json;
9228
+ attempts?: number;
8677
9229
  buffer_ref?: string | null;
8678
9230
  claimed_at?: string | null;
8679
9231
  claimed_by?: string | null;
@@ -8683,6 +9235,8 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
8683
9235
  due_at?: string | null;
8684
9236
  error?: string | null;
8685
9237
  id?: string;
9238
+ last_error?: string | null;
9239
+ next_attempt_at?: string | null;
8686
9240
  order_ref: string;
8687
9241
  owner_module: string;
8688
9242
  payload?: import("../integrations/supabase/types").Json;
@@ -8703,6 +9257,8 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
8703
9257
  user_id?: string;
8704
9258
  };
8705
9259
  Update: {
9260
+ attempt_log?: import("../integrations/supabase/types").Json;
9261
+ attempts?: number;
8706
9262
  buffer_ref?: string | null;
8707
9263
  claimed_at?: string | null;
8708
9264
  claimed_by?: string | null;
@@ -8712,6 +9268,8 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
8712
9268
  due_at?: string | null;
8713
9269
  error?: string | null;
8714
9270
  id?: string;
9271
+ last_error?: string | null;
9272
+ next_attempt_at?: string | null;
8715
9273
  order_ref?: string;
8716
9274
  owner_module?: string;
8717
9275
  payload?: import("../integrations/supabase/types").Json;
@@ -10061,6 +10619,7 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
10061
10619
  };
10062
10620
  offer_settings: {
10063
10621
  Row: {
10622
+ brand_name: string | null;
10064
10623
  button_color: string;
10065
10624
  created_at: string;
10066
10625
  default_countries: string[];
@@ -10082,6 +10641,7 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
10082
10641
  updated_at: string;
10083
10642
  };
10084
10643
  Insert: {
10644
+ brand_name?: string | null;
10085
10645
  button_color?: string;
10086
10646
  created_at?: string;
10087
10647
  default_countries?: string[];
@@ -10103,6 +10663,7 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
10103
10663
  updated_at?: string;
10104
10664
  };
10105
10665
  Update: {
10666
+ brand_name?: string | null;
10106
10667
  button_color?: string;
10107
10668
  created_at?: string;
10108
10669
  default_countries?: string[];
@@ -17713,6 +18274,85 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
17713
18274
  };
17714
18275
  Returns: import("../integrations/supabase/types").Json;
17715
18276
  };
18277
+ claim_floriday_stock_queue: {
18278
+ Args: {
18279
+ p_limit?: number;
18280
+ p_worker?: string;
18281
+ };
18282
+ Returns: {
18283
+ attempts: number;
18284
+ connection_id: string;
18285
+ created_at: string;
18286
+ desired_available: boolean | null;
18287
+ gateway_attempt_id: string | null;
18288
+ id: string;
18289
+ last_error: string | null;
18290
+ locked_at: string | null;
18291
+ locked_by: string | null;
18292
+ next_attempt_at: string;
18293
+ number_of_pieces: number;
18294
+ sent_at: string | null;
18295
+ status: string;
18296
+ superseded_by: string | null;
18297
+ trade_item_id: string;
18298
+ updated_at: string;
18299
+ user_id: string;
18300
+ }[];
18301
+ SetofOptions: {
18302
+ from: "*";
18303
+ to: "floriday_continuous_stock_queue";
18304
+ isOneToOne: false;
18305
+ isSetofReturn: true;
18306
+ };
18307
+ };
18308
+ claim_logistics_tasks: {
18309
+ Args: {
18310
+ _limit?: number;
18311
+ _owner_module: string;
18312
+ _stale_minutes?: number;
18313
+ _task_type: string;
18314
+ _worker: string;
18315
+ };
18316
+ Returns: {
18317
+ attempt_log: import("../integrations/supabase/types").Json;
18318
+ attempts: number;
18319
+ buffer_ref: string | null;
18320
+ claimed_at: string | null;
18321
+ claimed_by: string | null;
18322
+ completed_at: string | null;
18323
+ created_at: string;
18324
+ depends_on: string[];
18325
+ due_at: string | null;
18326
+ error: string | null;
18327
+ id: string;
18328
+ last_error: string | null;
18329
+ next_attempt_at: string | null;
18330
+ order_ref: string;
18331
+ owner_module: string;
18332
+ payload: import("../integrations/supabase/types").Json;
18333
+ plan_run_id: string | null;
18334
+ planned_end: string | null;
18335
+ planned_start: string | null;
18336
+ priority: number;
18337
+ result: import("../integrations/supabase/types").Json | null;
18338
+ rule_config_id: string | null;
18339
+ rule_version: number | null;
18340
+ sequence: number;
18341
+ shadow: boolean;
18342
+ started_at: string | null;
18343
+ status: string;
18344
+ strategy_id: string | null;
18345
+ task_type: string;
18346
+ updated_at: string;
18347
+ user_id: string;
18348
+ }[];
18349
+ SetofOptions: {
18350
+ from: "*";
18351
+ to: "logistics_tasks";
18352
+ isOneToOne: false;
18353
+ isSetofReturn: true;
18354
+ };
18355
+ };
17716
18356
  claim_print_jobs: {
17717
18357
  Args: {
17718
18358
  _agent_id: string;
@@ -17777,10 +18417,24 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
17777
18417
  isSetofReturn: true;
17778
18418
  };
17779
18419
  };
18420
+ cleanup_floriday_stock_queue: {
18421
+ Args: never;
18422
+ Returns: undefined;
18423
+ };
17780
18424
  cleanup_old_bookings: {
17781
18425
  Args: never;
17782
18426
  Returns: undefined;
17783
18427
  };
18428
+ complete_floriday_stock_queue: {
18429
+ Args: {
18430
+ p_attempt_id?: string;
18431
+ p_error?: string;
18432
+ p_id: string;
18433
+ p_ok: boolean;
18434
+ p_permanent?: boolean;
18435
+ };
18436
+ Returns: undefined;
18437
+ };
17784
18438
  consume_bom_for_production: {
17785
18439
  Args: {
17786
18440
  p_connection_id: string;
@@ -17953,6 +18607,21 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
17953
18607
  Args: never;
17954
18608
  Returns: string;
17955
18609
  };
18610
+ exact_auth_consume_calls: {
18611
+ Args: {
18612
+ _account_key: string;
18613
+ _calls?: number;
18614
+ _day_limit?: number;
18615
+ _division_code: number;
18616
+ _environment: string;
18617
+ _minute_limit?: number;
18618
+ };
18619
+ Returns: import("../integrations/supabase/types").Json;
18620
+ };
18621
+ exact_auth_prune_sync_log: {
18622
+ Args: never;
18623
+ Returns: undefined;
18624
+ };
17956
18625
  exact_decrypt: {
17957
18626
  Args: {
17958
18627
  cipher: string;
@@ -18162,6 +18831,10 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
18162
18831
  };
18163
18832
  Returns: number;
18164
18833
  };
18834
+ get_offer_branding: {
18835
+ Args: never;
18836
+ Returns: import("../integrations/supabase/types").Json;
18837
+ };
18165
18838
  get_offer_by_link_code: {
18166
18839
  Args: {
18167
18840
  p_code: string;
@@ -18453,6 +19126,8 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
18453
19126
  p_worker?: string;
18454
19127
  };
18455
19128
  Returns: {
19129
+ attempt_log: import("../integrations/supabase/types").Json;
19130
+ attempts: number;
18456
19131
  buffer_ref: string | null;
18457
19132
  claimed_at: string | null;
18458
19133
  claimed_by: string | null;
@@ -18462,6 +19137,8 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
18462
19137
  due_at: string | null;
18463
19138
  error: string | null;
18464
19139
  id: string;
19140
+ last_error: string | null;
19141
+ next_attempt_at: string | null;
18465
19142
  order_ref: string;
18466
19143
  owner_module: string;
18467
19144
  payload: import("../integrations/supabase/types").Json;
@@ -18494,6 +19171,8 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
18494
19171
  p_worker?: string;
18495
19172
  };
18496
19173
  Returns: {
19174
+ attempt_log: import("../integrations/supabase/types").Json;
19175
+ attempts: number;
18497
19176
  buffer_ref: string | null;
18498
19177
  claimed_at: string | null;
18499
19178
  claimed_by: string | null;
@@ -18503,6 +19182,8 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
18503
19182
  due_at: string | null;
18504
19183
  error: string | null;
18505
19184
  id: string;
19185
+ last_error: string | null;
19186
+ next_attempt_at: string | null;
18506
19187
  order_ref: string;
18507
19188
  owner_module: string;
18508
19189
  payload: import("../integrations/supabase/types").Json;
@@ -18535,6 +19216,8 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
18535
19216
  p_task_id: string;
18536
19217
  };
18537
19218
  Returns: {
19219
+ attempt_log: import("../integrations/supabase/types").Json;
19220
+ attempts: number;
18538
19221
  buffer_ref: string | null;
18539
19222
  claimed_at: string | null;
18540
19223
  claimed_by: string | null;
@@ -18544,6 +19227,8 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
18544
19227
  due_at: string | null;
18545
19228
  error: string | null;
18546
19229
  id: string;
19230
+ last_error: string | null;
19231
+ next_attempt_at: string | null;
18547
19232
  order_ref: string;
18548
19233
  owner_module: string;
18549
19234
  payload: import("../integrations/supabase/types").Json;
@@ -18625,6 +19310,8 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
18625
19310
  p_task_id: string;
18626
19311
  };
18627
19312
  Returns: {
19313
+ attempt_log: import("../integrations/supabase/types").Json;
19314
+ attempts: number;
18628
19315
  buffer_ref: string | null;
18629
19316
  claimed_at: string | null;
18630
19317
  claimed_by: string | null;
@@ -18634,6 +19321,8 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
18634
19321
  due_at: string | null;
18635
19322
  error: string | null;
18636
19323
  id: string;
19324
+ last_error: string | null;
19325
+ next_attempt_at: string | null;
18637
19326
  order_ref: string;
18638
19327
  owner_module: string;
18639
19328
  payload: import("../integrations/supabase/types").Json;
@@ -18660,6 +19349,51 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
18660
19349
  isSetofReturn: false;
18661
19350
  };
18662
19351
  };
19352
+ logistics_floriday_claim_pushes: {
19353
+ Args: {
19354
+ _lease_seconds?: number;
19355
+ _limit?: number;
19356
+ _worker?: string;
19357
+ };
19358
+ Returns: {
19359
+ attempts: number;
19360
+ fulfillment_order_id: string;
19361
+ id: string;
19362
+ last_sent_hash: string;
19363
+ order_ref: string;
19364
+ payload: import("../integrations/supabase/types").Json;
19365
+ payload_hash: string;
19366
+ revision: number;
19367
+ }[];
19368
+ };
19369
+ logistics_floriday_finish_push: {
19370
+ Args: {
19371
+ _error?: string;
19372
+ _fulfillment_order_id?: string;
19373
+ _id: string;
19374
+ _max_age_hours?: number;
19375
+ _max_attempts?: number;
19376
+ _ok: boolean;
19377
+ _permanent?: boolean;
19378
+ _revision: number;
19379
+ _sent_hash?: string;
19380
+ };
19381
+ Returns: string;
19382
+ };
19383
+ logistics_floriday_prune_pushes: {
19384
+ Args: {
19385
+ _days?: number;
19386
+ };
19387
+ Returns: number;
19388
+ };
19389
+ logistics_floriday_queue_push: {
19390
+ Args: {
19391
+ _order_ref: string;
19392
+ _payload?: import("../integrations/supabase/types").Json;
19393
+ _payload_hash?: string;
19394
+ };
19395
+ Returns: string;
19396
+ };
18663
19397
  logistics_live_carriers: {
18664
19398
  Args: {
18665
19399
  p_order_ref: string;
@@ -19387,6 +20121,10 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
19387
20121
  Args: never;
19388
20122
  Returns: undefined;
19389
20123
  };
20124
+ run_logistics_tasks_dispatch: {
20125
+ Args: never;
20126
+ Returns: undefined;
20127
+ };
19390
20128
  run_twinfield_queue_tick: {
19391
20129
  Args: never;
19392
20130
  Returns: undefined;
@@ -19627,6 +20365,13 @@ export declare const listCustomerDiscounts: import("@tanstack/start-client-core"
19627
20365
  };
19628
20366
  Returns: number;
19629
20367
  };
20368
+ schedule_floriday_stock_queue_process: {
20369
+ Args: {
20370
+ p_apikey: string;
20371
+ p_url: string;
20372
+ };
20373
+ Returns: number;
20374
+ };
19630
20375
  schedule_floriday_token_refresh: {
19631
20376
  Args: {
19632
20377
  p_apikey: string;
@@ -23375,6 +24120,474 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
23375
24120
  referencedColumns: ["id"];
23376
24121
  }];
23377
24122
  };
24123
+ exact_auth_call_budget: {
24124
+ Row: {
24125
+ account_key: string;
24126
+ day_count: number;
24127
+ day_date: string;
24128
+ division_code: number;
24129
+ environment: string;
24130
+ minute_count: number;
24131
+ minute_window: string;
24132
+ updated_at: string;
24133
+ };
24134
+ Insert: {
24135
+ account_key?: string;
24136
+ day_count?: number;
24137
+ day_date?: string;
24138
+ division_code?: number;
24139
+ environment: string;
24140
+ minute_count?: number;
24141
+ minute_window?: string;
24142
+ updated_at?: string;
24143
+ };
24144
+ Update: {
24145
+ account_key?: string;
24146
+ day_count?: number;
24147
+ day_date?: string;
24148
+ division_code?: number;
24149
+ environment?: string;
24150
+ minute_count?: number;
24151
+ minute_window?: string;
24152
+ updated_at?: string;
24153
+ };
24154
+ Relationships: [];
24155
+ };
24156
+ exact_auth_customers: {
24157
+ Row: {
24158
+ account_key: string;
24159
+ address_line1: string | null;
24160
+ chamber_of_commerce: string | null;
24161
+ city: string | null;
24162
+ code: string | null;
24163
+ country: string | null;
24164
+ created_at: string;
24165
+ currency: string | null;
24166
+ division_code: number | null;
24167
+ email: string | null;
24168
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24169
+ exact_id: string;
24170
+ exact_modified: string | null;
24171
+ exact_timestamp: number | null;
24172
+ id: string;
24173
+ is_active: boolean;
24174
+ name: string | null;
24175
+ phone: string | null;
24176
+ postcode: string | null;
24177
+ raw: import("../integrations/supabase/types").Json | null;
24178
+ status: string | null;
24179
+ updated_at: string;
24180
+ vat_number: string | null;
24181
+ website: string | null;
24182
+ };
24183
+ Insert: {
24184
+ account_key?: string;
24185
+ address_line1?: string | null;
24186
+ chamber_of_commerce?: string | null;
24187
+ city?: string | null;
24188
+ code?: string | null;
24189
+ country?: string | null;
24190
+ created_at?: string;
24191
+ currency?: string | null;
24192
+ division_code?: number | null;
24193
+ email?: string | null;
24194
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24195
+ exact_id: string;
24196
+ exact_modified?: string | null;
24197
+ exact_timestamp?: number | null;
24198
+ id?: string;
24199
+ is_active?: boolean;
24200
+ name?: string | null;
24201
+ phone?: string | null;
24202
+ postcode?: string | null;
24203
+ raw?: import("../integrations/supabase/types").Json | null;
24204
+ status?: string | null;
24205
+ updated_at?: string;
24206
+ vat_number?: string | null;
24207
+ website?: string | null;
24208
+ };
24209
+ Update: {
24210
+ account_key?: string;
24211
+ address_line1?: string | null;
24212
+ chamber_of_commerce?: string | null;
24213
+ city?: string | null;
24214
+ code?: string | null;
24215
+ country?: string | null;
24216
+ created_at?: string;
24217
+ currency?: string | null;
24218
+ division_code?: number | null;
24219
+ email?: string | null;
24220
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24221
+ exact_id?: string;
24222
+ exact_modified?: string | null;
24223
+ exact_timestamp?: number | null;
24224
+ id?: string;
24225
+ is_active?: boolean;
24226
+ name?: string | null;
24227
+ phone?: string | null;
24228
+ postcode?: string | null;
24229
+ raw?: import("../integrations/supabase/types").Json | null;
24230
+ status?: string | null;
24231
+ updated_at?: string;
24232
+ vat_number?: string | null;
24233
+ website?: string | null;
24234
+ };
24235
+ Relationships: [];
24236
+ };
24237
+ exact_auth_divisions: {
24238
+ Row: {
24239
+ account_key: string;
24240
+ company_name: string | null;
24241
+ created_at: string;
24242
+ division_code: number | null;
24243
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24244
+ id: string;
24245
+ last_synced_at: string | null;
24246
+ updated_at: string;
24247
+ };
24248
+ Insert: {
24249
+ account_key?: string;
24250
+ company_name?: string | null;
24251
+ created_at?: string;
24252
+ division_code?: number | null;
24253
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24254
+ id?: string;
24255
+ last_synced_at?: string | null;
24256
+ updated_at?: string;
24257
+ };
24258
+ Update: {
24259
+ account_key?: string;
24260
+ company_name?: string | null;
24261
+ created_at?: string;
24262
+ division_code?: number | null;
24263
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24264
+ id?: string;
24265
+ last_synced_at?: string | null;
24266
+ updated_at?: string;
24267
+ };
24268
+ Relationships: [];
24269
+ };
24270
+ exact_auth_invoice_lines: {
24271
+ Row: {
24272
+ account_key: string;
24273
+ amount_excl: number | null;
24274
+ created_at: string;
24275
+ description: string | null;
24276
+ discount: number | null;
24277
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24278
+ exact_id: string;
24279
+ exact_timestamp: number | null;
24280
+ id: string;
24281
+ invoice_exact_id: string;
24282
+ item_code: string | null;
24283
+ item_exact_id: string | null;
24284
+ line_number: number | null;
24285
+ quantity: number | null;
24286
+ raw: import("../integrations/supabase/types").Json | null;
24287
+ unit_price: number | null;
24288
+ updated_at: string;
24289
+ vat_amount: number | null;
24290
+ vat_code: string | null;
24291
+ };
24292
+ Insert: {
24293
+ account_key?: string;
24294
+ amount_excl?: number | null;
24295
+ created_at?: string;
24296
+ description?: string | null;
24297
+ discount?: number | null;
24298
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24299
+ exact_id: string;
24300
+ exact_timestamp?: number | null;
24301
+ id?: string;
24302
+ invoice_exact_id: string;
24303
+ item_code?: string | null;
24304
+ item_exact_id?: string | null;
24305
+ line_number?: number | null;
24306
+ quantity?: number | null;
24307
+ raw?: import("../integrations/supabase/types").Json | null;
24308
+ unit_price?: number | null;
24309
+ updated_at?: string;
24310
+ vat_amount?: number | null;
24311
+ vat_code?: string | null;
24312
+ };
24313
+ Update: {
24314
+ account_key?: string;
24315
+ amount_excl?: number | null;
24316
+ created_at?: string;
24317
+ description?: string | null;
24318
+ discount?: number | null;
24319
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24320
+ exact_id?: string;
24321
+ exact_timestamp?: number | null;
24322
+ id?: string;
24323
+ invoice_exact_id?: string;
24324
+ item_code?: string | null;
24325
+ item_exact_id?: string | null;
24326
+ line_number?: number | null;
24327
+ quantity?: number | null;
24328
+ raw?: import("../integrations/supabase/types").Json | null;
24329
+ unit_price?: number | null;
24330
+ updated_at?: string;
24331
+ vat_amount?: number | null;
24332
+ vat_code?: string | null;
24333
+ };
24334
+ Relationships: [];
24335
+ };
24336
+ exact_auth_invoices: {
24337
+ Row: {
24338
+ account_key: string;
24339
+ amount_excl: number | null;
24340
+ amount_incl: number | null;
24341
+ amount_open: number | null;
24342
+ created_at: string;
24343
+ currency: string | null;
24344
+ customer_code: string | null;
24345
+ customer_exact_id: string | null;
24346
+ customer_name: string | null;
24347
+ description: string | null;
24348
+ division_code: number | null;
24349
+ due_date: string | null;
24350
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24351
+ exact_id: string;
24352
+ exact_modified: string | null;
24353
+ exact_timestamp: number | null;
24354
+ id: string;
24355
+ invoice_date: string | null;
24356
+ invoice_number: string | null;
24357
+ order_number: string | null;
24358
+ paid_at: string | null;
24359
+ payment_status: string;
24360
+ raw: import("../integrations/supabase/types").Json | null;
24361
+ receivable_synced_at: string | null;
24362
+ status_code: number | null;
24363
+ updated_at: string;
24364
+ };
24365
+ Insert: {
24366
+ account_key?: string;
24367
+ amount_excl?: number | null;
24368
+ amount_incl?: number | null;
24369
+ amount_open?: number | null;
24370
+ created_at?: string;
24371
+ currency?: string | null;
24372
+ customer_code?: string | null;
24373
+ customer_exact_id?: string | null;
24374
+ customer_name?: string | null;
24375
+ description?: string | null;
24376
+ division_code?: number | null;
24377
+ due_date?: string | null;
24378
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24379
+ exact_id: string;
24380
+ exact_modified?: string | null;
24381
+ exact_timestamp?: number | null;
24382
+ id?: string;
24383
+ invoice_date?: string | null;
24384
+ invoice_number?: string | null;
24385
+ order_number?: string | null;
24386
+ paid_at?: string | null;
24387
+ payment_status?: string;
24388
+ raw?: import("../integrations/supabase/types").Json | null;
24389
+ receivable_synced_at?: string | null;
24390
+ status_code?: number | null;
24391
+ updated_at?: string;
24392
+ };
24393
+ Update: {
24394
+ account_key?: string;
24395
+ amount_excl?: number | null;
24396
+ amount_incl?: number | null;
24397
+ amount_open?: number | null;
24398
+ created_at?: string;
24399
+ currency?: string | null;
24400
+ customer_code?: string | null;
24401
+ customer_exact_id?: string | null;
24402
+ customer_name?: string | null;
24403
+ description?: string | null;
24404
+ division_code?: number | null;
24405
+ due_date?: string | null;
24406
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24407
+ exact_id?: string;
24408
+ exact_modified?: string | null;
24409
+ exact_timestamp?: number | null;
24410
+ id?: string;
24411
+ invoice_date?: string | null;
24412
+ invoice_number?: string | null;
24413
+ order_number?: string | null;
24414
+ paid_at?: string | null;
24415
+ payment_status?: string;
24416
+ raw?: import("../integrations/supabase/types").Json | null;
24417
+ receivable_synced_at?: string | null;
24418
+ status_code?: number | null;
24419
+ updated_at?: string;
24420
+ };
24421
+ Relationships: [];
24422
+ };
24423
+ exact_auth_items: {
24424
+ Row: {
24425
+ account_key: string;
24426
+ barcode: string | null;
24427
+ code: string | null;
24428
+ cost_price: number | null;
24429
+ created_at: string;
24430
+ description: string | null;
24431
+ division_code: number | null;
24432
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24433
+ exact_id: string;
24434
+ exact_modified: string | null;
24435
+ exact_timestamp: number | null;
24436
+ gl_account_code: string | null;
24437
+ id: string;
24438
+ is_active: boolean;
24439
+ is_sales_item: boolean | null;
24440
+ item_type: string | null;
24441
+ raw: import("../integrations/supabase/types").Json | null;
24442
+ sales_price: number | null;
24443
+ unit: string | null;
24444
+ updated_at: string;
24445
+ vat_code: string | null;
24446
+ };
24447
+ Insert: {
24448
+ account_key?: string;
24449
+ barcode?: string | null;
24450
+ code?: string | null;
24451
+ cost_price?: number | null;
24452
+ created_at?: string;
24453
+ description?: string | null;
24454
+ division_code?: number | null;
24455
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24456
+ exact_id: string;
24457
+ exact_modified?: string | null;
24458
+ exact_timestamp?: number | null;
24459
+ gl_account_code?: string | null;
24460
+ id?: string;
24461
+ is_active?: boolean;
24462
+ is_sales_item?: boolean | null;
24463
+ item_type?: string | null;
24464
+ raw?: import("../integrations/supabase/types").Json | null;
24465
+ sales_price?: number | null;
24466
+ unit?: string | null;
24467
+ updated_at?: string;
24468
+ vat_code?: string | null;
24469
+ };
24470
+ Update: {
24471
+ account_key?: string;
24472
+ barcode?: string | null;
24473
+ code?: string | null;
24474
+ cost_price?: number | null;
24475
+ created_at?: string;
24476
+ description?: string | null;
24477
+ division_code?: number | null;
24478
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24479
+ exact_id?: string;
24480
+ exact_modified?: string | null;
24481
+ exact_timestamp?: number | null;
24482
+ gl_account_code?: string | null;
24483
+ id?: string;
24484
+ is_active?: boolean;
24485
+ is_sales_item?: boolean | null;
24486
+ item_type?: string | null;
24487
+ raw?: import("../integrations/supabase/types").Json | null;
24488
+ sales_price?: number | null;
24489
+ unit?: string | null;
24490
+ updated_at?: string;
24491
+ vat_code?: string | null;
24492
+ };
24493
+ Relationships: [];
24494
+ };
24495
+ exact_auth_sync_log: {
24496
+ Row: {
24497
+ account_key: string;
24498
+ calls_used: number;
24499
+ created_at: string;
24500
+ domain: string;
24501
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24502
+ error: string | null;
24503
+ finished_at: string | null;
24504
+ id: string;
24505
+ ok: boolean;
24506
+ records: number;
24507
+ started_at: string;
24508
+ };
24509
+ Insert: {
24510
+ account_key?: string;
24511
+ calls_used?: number;
24512
+ created_at?: string;
24513
+ domain: string;
24514
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24515
+ error?: string | null;
24516
+ finished_at?: string | null;
24517
+ id?: string;
24518
+ ok?: boolean;
24519
+ records?: number;
24520
+ started_at?: string;
24521
+ };
24522
+ Update: {
24523
+ account_key?: string;
24524
+ calls_used?: number;
24525
+ created_at?: string;
24526
+ domain?: string;
24527
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24528
+ error?: string | null;
24529
+ finished_at?: string | null;
24530
+ id?: string;
24531
+ ok?: boolean;
24532
+ records?: number;
24533
+ started_at?: string;
24534
+ };
24535
+ Relationships: [];
24536
+ };
24537
+ exact_auth_sync_state: {
24538
+ Row: {
24539
+ account_key: string;
24540
+ created_at: string;
24541
+ cursor_timestamp: number;
24542
+ division_code: number | null;
24543
+ domain: string;
24544
+ duration_ms: number | null;
24545
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24546
+ initial_sync_done: boolean;
24547
+ last_error: string | null;
24548
+ last_run_at: string | null;
24549
+ last_success_at: string | null;
24550
+ locked_at: string | null;
24551
+ needs_initial_sync: boolean;
24552
+ record_count: number;
24553
+ updated_at: string;
24554
+ };
24555
+ Insert: {
24556
+ account_key?: string;
24557
+ created_at?: string;
24558
+ cursor_timestamp?: number;
24559
+ division_code?: number | null;
24560
+ domain: string;
24561
+ duration_ms?: number | null;
24562
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24563
+ initial_sync_done?: boolean;
24564
+ last_error?: string | null;
24565
+ last_run_at?: string | null;
24566
+ last_success_at?: string | null;
24567
+ locked_at?: string | null;
24568
+ needs_initial_sync?: boolean;
24569
+ record_count?: number;
24570
+ updated_at?: string;
24571
+ };
24572
+ Update: {
24573
+ account_key?: string;
24574
+ created_at?: string;
24575
+ cursor_timestamp?: number;
24576
+ division_code?: number | null;
24577
+ domain?: string;
24578
+ duration_ms?: number | null;
24579
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24580
+ initial_sync_done?: boolean;
24581
+ last_error?: string | null;
24582
+ last_run_at?: string | null;
24583
+ last_success_at?: string | null;
24584
+ locked_at?: string | null;
24585
+ needs_initial_sync?: boolean;
24586
+ record_count?: number;
24587
+ updated_at?: string;
24588
+ };
24589
+ Relationships: [];
24590
+ };
23378
24591
  exact_bulk_operation_items: {
23379
24592
  Row: {
23380
24593
  attempts: number;
@@ -25066,12 +26279,17 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
25066
26279
  attempts: number;
25067
26280
  connection_id: string;
25068
26281
  created_at: string;
26282
+ desired_available: boolean | null;
25069
26283
  gateway_attempt_id: string | null;
25070
26284
  id: string;
25071
26285
  last_error: string | null;
26286
+ locked_at: string | null;
26287
+ locked_by: string | null;
26288
+ next_attempt_at: string;
25072
26289
  number_of_pieces: number;
25073
26290
  sent_at: string | null;
25074
26291
  status: string;
26292
+ superseded_by: string | null;
25075
26293
  trade_item_id: string;
25076
26294
  updated_at: string;
25077
26295
  user_id: string;
@@ -25080,12 +26298,17 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
25080
26298
  attempts?: number;
25081
26299
  connection_id: string;
25082
26300
  created_at?: string;
26301
+ desired_available?: boolean | null;
25083
26302
  gateway_attempt_id?: string | null;
25084
26303
  id?: string;
25085
26304
  last_error?: string | null;
26305
+ locked_at?: string | null;
26306
+ locked_by?: string | null;
26307
+ next_attempt_at?: string;
25086
26308
  number_of_pieces?: number;
25087
26309
  sent_at?: string | null;
25088
26310
  status?: string;
26311
+ superseded_by?: string | null;
25089
26312
  trade_item_id: string;
25090
26313
  updated_at?: string;
25091
26314
  user_id: string;
@@ -25094,12 +26317,17 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
25094
26317
  attempts?: number;
25095
26318
  connection_id?: string;
25096
26319
  created_at?: string;
26320
+ desired_available?: boolean | null;
25097
26321
  gateway_attempt_id?: string | null;
25098
26322
  id?: string;
25099
26323
  last_error?: string | null;
26324
+ locked_at?: string | null;
26325
+ locked_by?: string | null;
26326
+ next_attempt_at?: string;
25100
26327
  number_of_pieces?: number;
25101
26328
  sent_at?: string | null;
25102
26329
  status?: string;
26330
+ superseded_by?: string | null;
25103
26331
  trade_item_id?: string;
25104
26332
  updated_at?: string;
25105
26333
  user_id?: string;
@@ -27848,6 +29076,69 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
27848
29076
  };
27849
29077
  Relationships: [];
27850
29078
  };
29079
+ logistics_floriday_pushes: {
29080
+ Row: {
29081
+ attempts: number;
29082
+ created_at: string;
29083
+ first_queued_at: string;
29084
+ fulfillment_order_id: string | null;
29085
+ id: string;
29086
+ last_error: string | null;
29087
+ last_error_at: string | null;
29088
+ last_sent_hash: string | null;
29089
+ locked_by: string | null;
29090
+ locked_until: string | null;
29091
+ next_attempt_at: string;
29092
+ order_ref: string;
29093
+ payload: import("../integrations/supabase/types").Json;
29094
+ payload_hash: string | null;
29095
+ revision: number;
29096
+ sent_at: string | null;
29097
+ status: string;
29098
+ updated_at: string;
29099
+ };
29100
+ Insert: {
29101
+ attempts?: number;
29102
+ created_at?: string;
29103
+ first_queued_at?: string;
29104
+ fulfillment_order_id?: string | null;
29105
+ id?: string;
29106
+ last_error?: string | null;
29107
+ last_error_at?: string | null;
29108
+ last_sent_hash?: string | null;
29109
+ locked_by?: string | null;
29110
+ locked_until?: string | null;
29111
+ next_attempt_at?: string;
29112
+ order_ref: string;
29113
+ payload?: import("../integrations/supabase/types").Json;
29114
+ payload_hash?: string | null;
29115
+ revision?: number;
29116
+ sent_at?: string | null;
29117
+ status?: string;
29118
+ updated_at?: string;
29119
+ };
29120
+ Update: {
29121
+ attempts?: number;
29122
+ created_at?: string;
29123
+ first_queued_at?: string;
29124
+ fulfillment_order_id?: string | null;
29125
+ id?: string;
29126
+ last_error?: string | null;
29127
+ last_error_at?: string | null;
29128
+ last_sent_hash?: string | null;
29129
+ locked_by?: string | null;
29130
+ locked_until?: string | null;
29131
+ next_attempt_at?: string;
29132
+ order_ref?: string;
29133
+ payload?: import("../integrations/supabase/types").Json;
29134
+ payload_hash?: string | null;
29135
+ revision?: number;
29136
+ sent_at?: string | null;
29137
+ status?: string;
29138
+ updated_at?: string;
29139
+ };
29140
+ Relationships: [];
29141
+ };
27851
29142
  logistics_formulas: {
27852
29143
  Row: {
27853
29144
  created_at: string;
@@ -28459,6 +29750,8 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
28459
29750
  };
28460
29751
  logistics_tasks: {
28461
29752
  Row: {
29753
+ attempt_log: import("../integrations/supabase/types").Json;
29754
+ attempts: number;
28462
29755
  buffer_ref: string | null;
28463
29756
  claimed_at: string | null;
28464
29757
  claimed_by: string | null;
@@ -28468,6 +29761,8 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
28468
29761
  due_at: string | null;
28469
29762
  error: string | null;
28470
29763
  id: string;
29764
+ last_error: string | null;
29765
+ next_attempt_at: string | null;
28471
29766
  order_ref: string;
28472
29767
  owner_module: string;
28473
29768
  payload: import("../integrations/supabase/types").Json;
@@ -28488,6 +29783,8 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
28488
29783
  user_id: string;
28489
29784
  };
28490
29785
  Insert: {
29786
+ attempt_log?: import("../integrations/supabase/types").Json;
29787
+ attempts?: number;
28491
29788
  buffer_ref?: string | null;
28492
29789
  claimed_at?: string | null;
28493
29790
  claimed_by?: string | null;
@@ -28497,6 +29794,8 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
28497
29794
  due_at?: string | null;
28498
29795
  error?: string | null;
28499
29796
  id?: string;
29797
+ last_error?: string | null;
29798
+ next_attempt_at?: string | null;
28500
29799
  order_ref: string;
28501
29800
  owner_module: string;
28502
29801
  payload?: import("../integrations/supabase/types").Json;
@@ -28517,6 +29816,8 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
28517
29816
  user_id?: string;
28518
29817
  };
28519
29818
  Update: {
29819
+ attempt_log?: import("../integrations/supabase/types").Json;
29820
+ attempts?: number;
28520
29821
  buffer_ref?: string | null;
28521
29822
  claimed_at?: string | null;
28522
29823
  claimed_by?: string | null;
@@ -28526,6 +29827,8 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
28526
29827
  due_at?: string | null;
28527
29828
  error?: string | null;
28528
29829
  id?: string;
29830
+ last_error?: string | null;
29831
+ next_attempt_at?: string | null;
28529
29832
  order_ref?: string;
28530
29833
  owner_module?: string;
28531
29834
  payload?: import("../integrations/supabase/types").Json;
@@ -29875,6 +31178,7 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
29875
31178
  };
29876
31179
  offer_settings: {
29877
31180
  Row: {
31181
+ brand_name: string | null;
29878
31182
  button_color: string;
29879
31183
  created_at: string;
29880
31184
  default_countries: string[];
@@ -29896,6 +31200,7 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
29896
31200
  updated_at: string;
29897
31201
  };
29898
31202
  Insert: {
31203
+ brand_name?: string | null;
29899
31204
  button_color?: string;
29900
31205
  created_at?: string;
29901
31206
  default_countries?: string[];
@@ -29917,6 +31222,7 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
29917
31222
  updated_at?: string;
29918
31223
  };
29919
31224
  Update: {
31225
+ brand_name?: string | null;
29920
31226
  button_color?: string;
29921
31227
  created_at?: string;
29922
31228
  default_countries?: string[];
@@ -37527,6 +38833,85 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
37527
38833
  };
37528
38834
  Returns: import("../integrations/supabase/types").Json;
37529
38835
  };
38836
+ claim_floriday_stock_queue: {
38837
+ Args: {
38838
+ p_limit?: number;
38839
+ p_worker?: string;
38840
+ };
38841
+ Returns: {
38842
+ attempts: number;
38843
+ connection_id: string;
38844
+ created_at: string;
38845
+ desired_available: boolean | null;
38846
+ gateway_attempt_id: string | null;
38847
+ id: string;
38848
+ last_error: string | null;
38849
+ locked_at: string | null;
38850
+ locked_by: string | null;
38851
+ next_attempt_at: string;
38852
+ number_of_pieces: number;
38853
+ sent_at: string | null;
38854
+ status: string;
38855
+ superseded_by: string | null;
38856
+ trade_item_id: string;
38857
+ updated_at: string;
38858
+ user_id: string;
38859
+ }[];
38860
+ SetofOptions: {
38861
+ from: "*";
38862
+ to: "floriday_continuous_stock_queue";
38863
+ isOneToOne: false;
38864
+ isSetofReturn: true;
38865
+ };
38866
+ };
38867
+ claim_logistics_tasks: {
38868
+ Args: {
38869
+ _limit?: number;
38870
+ _owner_module: string;
38871
+ _stale_minutes?: number;
38872
+ _task_type: string;
38873
+ _worker: string;
38874
+ };
38875
+ Returns: {
38876
+ attempt_log: import("../integrations/supabase/types").Json;
38877
+ attempts: number;
38878
+ buffer_ref: string | null;
38879
+ claimed_at: string | null;
38880
+ claimed_by: string | null;
38881
+ completed_at: string | null;
38882
+ created_at: string;
38883
+ depends_on: string[];
38884
+ due_at: string | null;
38885
+ error: string | null;
38886
+ id: string;
38887
+ last_error: string | null;
38888
+ next_attempt_at: string | null;
38889
+ order_ref: string;
38890
+ owner_module: string;
38891
+ payload: import("../integrations/supabase/types").Json;
38892
+ plan_run_id: string | null;
38893
+ planned_end: string | null;
38894
+ planned_start: string | null;
38895
+ priority: number;
38896
+ result: import("../integrations/supabase/types").Json | null;
38897
+ rule_config_id: string | null;
38898
+ rule_version: number | null;
38899
+ sequence: number;
38900
+ shadow: boolean;
38901
+ started_at: string | null;
38902
+ status: string;
38903
+ strategy_id: string | null;
38904
+ task_type: string;
38905
+ updated_at: string;
38906
+ user_id: string;
38907
+ }[];
38908
+ SetofOptions: {
38909
+ from: "*";
38910
+ to: "logistics_tasks";
38911
+ isOneToOne: false;
38912
+ isSetofReturn: true;
38913
+ };
38914
+ };
37530
38915
  claim_print_jobs: {
37531
38916
  Args: {
37532
38917
  _agent_id: string;
@@ -37591,10 +38976,24 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
37591
38976
  isSetofReturn: true;
37592
38977
  };
37593
38978
  };
38979
+ cleanup_floriday_stock_queue: {
38980
+ Args: never;
38981
+ Returns: undefined;
38982
+ };
37594
38983
  cleanup_old_bookings: {
37595
38984
  Args: never;
37596
38985
  Returns: undefined;
37597
38986
  };
38987
+ complete_floriday_stock_queue: {
38988
+ Args: {
38989
+ p_attempt_id?: string;
38990
+ p_error?: string;
38991
+ p_id: string;
38992
+ p_ok: boolean;
38993
+ p_permanent?: boolean;
38994
+ };
38995
+ Returns: undefined;
38996
+ };
37598
38997
  consume_bom_for_production: {
37599
38998
  Args: {
37600
38999
  p_connection_id: string;
@@ -37767,6 +39166,21 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
37767
39166
  Args: never;
37768
39167
  Returns: string;
37769
39168
  };
39169
+ exact_auth_consume_calls: {
39170
+ Args: {
39171
+ _account_key: string;
39172
+ _calls?: number;
39173
+ _day_limit?: number;
39174
+ _division_code: number;
39175
+ _environment: string;
39176
+ _minute_limit?: number;
39177
+ };
39178
+ Returns: import("../integrations/supabase/types").Json;
39179
+ };
39180
+ exact_auth_prune_sync_log: {
39181
+ Args: never;
39182
+ Returns: undefined;
39183
+ };
37770
39184
  exact_decrypt: {
37771
39185
  Args: {
37772
39186
  cipher: string;
@@ -37976,6 +39390,10 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
37976
39390
  };
37977
39391
  Returns: number;
37978
39392
  };
39393
+ get_offer_branding: {
39394
+ Args: never;
39395
+ Returns: import("../integrations/supabase/types").Json;
39396
+ };
37979
39397
  get_offer_by_link_code: {
37980
39398
  Args: {
37981
39399
  p_code: string;
@@ -38267,6 +39685,8 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
38267
39685
  p_worker?: string;
38268
39686
  };
38269
39687
  Returns: {
39688
+ attempt_log: import("../integrations/supabase/types").Json;
39689
+ attempts: number;
38270
39690
  buffer_ref: string | null;
38271
39691
  claimed_at: string | null;
38272
39692
  claimed_by: string | null;
@@ -38276,6 +39696,8 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
38276
39696
  due_at: string | null;
38277
39697
  error: string | null;
38278
39698
  id: string;
39699
+ last_error: string | null;
39700
+ next_attempt_at: string | null;
38279
39701
  order_ref: string;
38280
39702
  owner_module: string;
38281
39703
  payload: import("../integrations/supabase/types").Json;
@@ -38308,6 +39730,8 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
38308
39730
  p_worker?: string;
38309
39731
  };
38310
39732
  Returns: {
39733
+ attempt_log: import("../integrations/supabase/types").Json;
39734
+ attempts: number;
38311
39735
  buffer_ref: string | null;
38312
39736
  claimed_at: string | null;
38313
39737
  claimed_by: string | null;
@@ -38317,6 +39741,8 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
38317
39741
  due_at: string | null;
38318
39742
  error: string | null;
38319
39743
  id: string;
39744
+ last_error: string | null;
39745
+ next_attempt_at: string | null;
38320
39746
  order_ref: string;
38321
39747
  owner_module: string;
38322
39748
  payload: import("../integrations/supabase/types").Json;
@@ -38349,6 +39775,8 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
38349
39775
  p_task_id: string;
38350
39776
  };
38351
39777
  Returns: {
39778
+ attempt_log: import("../integrations/supabase/types").Json;
39779
+ attempts: number;
38352
39780
  buffer_ref: string | null;
38353
39781
  claimed_at: string | null;
38354
39782
  claimed_by: string | null;
@@ -38358,6 +39786,8 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
38358
39786
  due_at: string | null;
38359
39787
  error: string | null;
38360
39788
  id: string;
39789
+ last_error: string | null;
39790
+ next_attempt_at: string | null;
38361
39791
  order_ref: string;
38362
39792
  owner_module: string;
38363
39793
  payload: import("../integrations/supabase/types").Json;
@@ -38439,6 +39869,8 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
38439
39869
  p_task_id: string;
38440
39870
  };
38441
39871
  Returns: {
39872
+ attempt_log: import("../integrations/supabase/types").Json;
39873
+ attempts: number;
38442
39874
  buffer_ref: string | null;
38443
39875
  claimed_at: string | null;
38444
39876
  claimed_by: string | null;
@@ -38448,6 +39880,8 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
38448
39880
  due_at: string | null;
38449
39881
  error: string | null;
38450
39882
  id: string;
39883
+ last_error: string | null;
39884
+ next_attempt_at: string | null;
38451
39885
  order_ref: string;
38452
39886
  owner_module: string;
38453
39887
  payload: import("../integrations/supabase/types").Json;
@@ -38474,6 +39908,51 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
38474
39908
  isSetofReturn: false;
38475
39909
  };
38476
39910
  };
39911
+ logistics_floriday_claim_pushes: {
39912
+ Args: {
39913
+ _lease_seconds?: number;
39914
+ _limit?: number;
39915
+ _worker?: string;
39916
+ };
39917
+ Returns: {
39918
+ attempts: number;
39919
+ fulfillment_order_id: string;
39920
+ id: string;
39921
+ last_sent_hash: string;
39922
+ order_ref: string;
39923
+ payload: import("../integrations/supabase/types").Json;
39924
+ payload_hash: string;
39925
+ revision: number;
39926
+ }[];
39927
+ };
39928
+ logistics_floriday_finish_push: {
39929
+ Args: {
39930
+ _error?: string;
39931
+ _fulfillment_order_id?: string;
39932
+ _id: string;
39933
+ _max_age_hours?: number;
39934
+ _max_attempts?: number;
39935
+ _ok: boolean;
39936
+ _permanent?: boolean;
39937
+ _revision: number;
39938
+ _sent_hash?: string;
39939
+ };
39940
+ Returns: string;
39941
+ };
39942
+ logistics_floriday_prune_pushes: {
39943
+ Args: {
39944
+ _days?: number;
39945
+ };
39946
+ Returns: number;
39947
+ };
39948
+ logistics_floriday_queue_push: {
39949
+ Args: {
39950
+ _order_ref: string;
39951
+ _payload?: import("../integrations/supabase/types").Json;
39952
+ _payload_hash?: string;
39953
+ };
39954
+ Returns: string;
39955
+ };
38477
39956
  logistics_live_carriers: {
38478
39957
  Args: {
38479
39958
  p_order_ref: string;
@@ -39201,6 +40680,10 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
39201
40680
  Args: never;
39202
40681
  Returns: undefined;
39203
40682
  };
40683
+ run_logistics_tasks_dispatch: {
40684
+ Args: never;
40685
+ Returns: undefined;
40686
+ };
39204
40687
  run_twinfield_queue_tick: {
39205
40688
  Args: never;
39206
40689
  Returns: undefined;
@@ -39441,6 +40924,13 @@ export declare const getEffectivePrice: import("@tanstack/start-client-core").Op
39441
40924
  };
39442
40925
  Returns: number;
39443
40926
  };
40927
+ schedule_floriday_stock_queue_process: {
40928
+ Args: {
40929
+ p_apikey: string;
40930
+ p_url: string;
40931
+ };
40932
+ Returns: number;
40933
+ };
39444
40934
  schedule_floriday_token_refresh: {
39445
40935
  Args: {
39446
40936
  p_apikey: string;