@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
@@ -3586,6 +3586,474 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
3586
3586
  referencedColumns: ["id"];
3587
3587
  }];
3588
3588
  };
3589
+ exact_auth_call_budget: {
3590
+ Row: {
3591
+ account_key: string;
3592
+ day_count: number;
3593
+ day_date: string;
3594
+ division_code: number;
3595
+ environment: string;
3596
+ minute_count: number;
3597
+ minute_window: string;
3598
+ updated_at: string;
3599
+ };
3600
+ Insert: {
3601
+ account_key?: string;
3602
+ day_count?: number;
3603
+ day_date?: string;
3604
+ division_code?: number;
3605
+ environment: string;
3606
+ minute_count?: number;
3607
+ minute_window?: string;
3608
+ updated_at?: string;
3609
+ };
3610
+ Update: {
3611
+ account_key?: string;
3612
+ day_count?: number;
3613
+ day_date?: string;
3614
+ division_code?: number;
3615
+ environment?: string;
3616
+ minute_count?: number;
3617
+ minute_window?: string;
3618
+ updated_at?: string;
3619
+ };
3620
+ Relationships: [];
3621
+ };
3622
+ exact_auth_customers: {
3623
+ Row: {
3624
+ account_key: string;
3625
+ address_line1: string | null;
3626
+ chamber_of_commerce: string | null;
3627
+ city: string | null;
3628
+ code: string | null;
3629
+ country: string | null;
3630
+ created_at: string;
3631
+ currency: string | null;
3632
+ division_code: number | null;
3633
+ email: string | null;
3634
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3635
+ exact_id: string;
3636
+ exact_modified: string | null;
3637
+ exact_timestamp: number | null;
3638
+ id: string;
3639
+ is_active: boolean;
3640
+ name: string | null;
3641
+ phone: string | null;
3642
+ postcode: string | null;
3643
+ raw: import("../integrations/supabase/types").Json | null;
3644
+ status: string | null;
3645
+ updated_at: string;
3646
+ vat_number: string | null;
3647
+ website: string | null;
3648
+ };
3649
+ Insert: {
3650
+ account_key?: string;
3651
+ address_line1?: string | null;
3652
+ chamber_of_commerce?: string | null;
3653
+ city?: string | null;
3654
+ code?: string | null;
3655
+ country?: string | null;
3656
+ created_at?: string;
3657
+ currency?: string | null;
3658
+ division_code?: number | null;
3659
+ email?: string | null;
3660
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3661
+ exact_id: string;
3662
+ exact_modified?: string | null;
3663
+ exact_timestamp?: number | null;
3664
+ id?: string;
3665
+ is_active?: boolean;
3666
+ name?: string | null;
3667
+ phone?: string | null;
3668
+ postcode?: string | null;
3669
+ raw?: import("../integrations/supabase/types").Json | null;
3670
+ status?: string | null;
3671
+ updated_at?: string;
3672
+ vat_number?: string | null;
3673
+ website?: string | null;
3674
+ };
3675
+ Update: {
3676
+ account_key?: string;
3677
+ address_line1?: string | null;
3678
+ chamber_of_commerce?: string | null;
3679
+ city?: string | null;
3680
+ code?: string | null;
3681
+ country?: string | null;
3682
+ created_at?: string;
3683
+ currency?: string | null;
3684
+ division_code?: number | null;
3685
+ email?: string | null;
3686
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3687
+ exact_id?: string;
3688
+ exact_modified?: string | null;
3689
+ exact_timestamp?: number | null;
3690
+ id?: string;
3691
+ is_active?: boolean;
3692
+ name?: string | null;
3693
+ phone?: string | null;
3694
+ postcode?: string | null;
3695
+ raw?: import("../integrations/supabase/types").Json | null;
3696
+ status?: string | null;
3697
+ updated_at?: string;
3698
+ vat_number?: string | null;
3699
+ website?: string | null;
3700
+ };
3701
+ Relationships: [];
3702
+ };
3703
+ exact_auth_divisions: {
3704
+ Row: {
3705
+ account_key: string;
3706
+ company_name: string | null;
3707
+ created_at: string;
3708
+ division_code: number | null;
3709
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3710
+ id: string;
3711
+ last_synced_at: string | null;
3712
+ updated_at: string;
3713
+ };
3714
+ Insert: {
3715
+ account_key?: string;
3716
+ company_name?: string | null;
3717
+ created_at?: string;
3718
+ division_code?: number | null;
3719
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3720
+ id?: string;
3721
+ last_synced_at?: string | null;
3722
+ updated_at?: string;
3723
+ };
3724
+ Update: {
3725
+ account_key?: string;
3726
+ company_name?: string | null;
3727
+ created_at?: string;
3728
+ division_code?: number | null;
3729
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3730
+ id?: string;
3731
+ last_synced_at?: string | null;
3732
+ updated_at?: string;
3733
+ };
3734
+ Relationships: [];
3735
+ };
3736
+ exact_auth_invoice_lines: {
3737
+ Row: {
3738
+ account_key: string;
3739
+ amount_excl: number | null;
3740
+ created_at: string;
3741
+ description: string | null;
3742
+ discount: number | null;
3743
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3744
+ exact_id: string;
3745
+ exact_timestamp: number | null;
3746
+ id: string;
3747
+ invoice_exact_id: string;
3748
+ item_code: string | null;
3749
+ item_exact_id: string | null;
3750
+ line_number: number | null;
3751
+ quantity: number | null;
3752
+ raw: import("../integrations/supabase/types").Json | null;
3753
+ unit_price: number | null;
3754
+ updated_at: string;
3755
+ vat_amount: number | null;
3756
+ vat_code: string | null;
3757
+ };
3758
+ Insert: {
3759
+ account_key?: string;
3760
+ amount_excl?: number | null;
3761
+ created_at?: string;
3762
+ description?: string | null;
3763
+ discount?: number | null;
3764
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3765
+ exact_id: string;
3766
+ exact_timestamp?: number | null;
3767
+ id?: string;
3768
+ invoice_exact_id: string;
3769
+ item_code?: string | null;
3770
+ item_exact_id?: string | null;
3771
+ line_number?: number | null;
3772
+ quantity?: number | null;
3773
+ raw?: import("../integrations/supabase/types").Json | null;
3774
+ unit_price?: number | null;
3775
+ updated_at?: string;
3776
+ vat_amount?: number | null;
3777
+ vat_code?: string | null;
3778
+ };
3779
+ Update: {
3780
+ account_key?: string;
3781
+ amount_excl?: number | null;
3782
+ created_at?: string;
3783
+ description?: string | null;
3784
+ discount?: number | null;
3785
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3786
+ exact_id?: string;
3787
+ exact_timestamp?: number | null;
3788
+ id?: string;
3789
+ invoice_exact_id?: string;
3790
+ item_code?: string | null;
3791
+ item_exact_id?: string | null;
3792
+ line_number?: number | null;
3793
+ quantity?: number | null;
3794
+ raw?: import("../integrations/supabase/types").Json | null;
3795
+ unit_price?: number | null;
3796
+ updated_at?: string;
3797
+ vat_amount?: number | null;
3798
+ vat_code?: string | null;
3799
+ };
3800
+ Relationships: [];
3801
+ };
3802
+ exact_auth_invoices: {
3803
+ Row: {
3804
+ account_key: string;
3805
+ amount_excl: number | null;
3806
+ amount_incl: number | null;
3807
+ amount_open: number | null;
3808
+ created_at: string;
3809
+ currency: string | null;
3810
+ customer_code: string | null;
3811
+ customer_exact_id: string | null;
3812
+ customer_name: string | null;
3813
+ description: string | null;
3814
+ division_code: number | null;
3815
+ due_date: string | null;
3816
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3817
+ exact_id: string;
3818
+ exact_modified: string | null;
3819
+ exact_timestamp: number | null;
3820
+ id: string;
3821
+ invoice_date: string | null;
3822
+ invoice_number: string | null;
3823
+ order_number: string | null;
3824
+ paid_at: string | null;
3825
+ payment_status: string;
3826
+ raw: import("../integrations/supabase/types").Json | null;
3827
+ receivable_synced_at: string | null;
3828
+ status_code: number | null;
3829
+ updated_at: string;
3830
+ };
3831
+ Insert: {
3832
+ account_key?: string;
3833
+ amount_excl?: number | null;
3834
+ amount_incl?: number | null;
3835
+ amount_open?: number | null;
3836
+ created_at?: string;
3837
+ currency?: string | null;
3838
+ customer_code?: string | null;
3839
+ customer_exact_id?: string | null;
3840
+ customer_name?: string | null;
3841
+ description?: string | null;
3842
+ division_code?: number | null;
3843
+ due_date?: string | null;
3844
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3845
+ exact_id: string;
3846
+ exact_modified?: string | null;
3847
+ exact_timestamp?: number | null;
3848
+ id?: string;
3849
+ invoice_date?: string | null;
3850
+ invoice_number?: string | null;
3851
+ order_number?: string | null;
3852
+ paid_at?: string | null;
3853
+ payment_status?: string;
3854
+ raw?: import("../integrations/supabase/types").Json | null;
3855
+ receivable_synced_at?: string | null;
3856
+ status_code?: number | null;
3857
+ updated_at?: string;
3858
+ };
3859
+ Update: {
3860
+ account_key?: string;
3861
+ amount_excl?: number | null;
3862
+ amount_incl?: number | null;
3863
+ amount_open?: number | null;
3864
+ created_at?: string;
3865
+ currency?: string | null;
3866
+ customer_code?: string | null;
3867
+ customer_exact_id?: string | null;
3868
+ customer_name?: string | null;
3869
+ description?: string | null;
3870
+ division_code?: number | null;
3871
+ due_date?: string | null;
3872
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3873
+ exact_id?: string;
3874
+ exact_modified?: string | null;
3875
+ exact_timestamp?: number | null;
3876
+ id?: string;
3877
+ invoice_date?: string | null;
3878
+ invoice_number?: string | null;
3879
+ order_number?: string | null;
3880
+ paid_at?: string | null;
3881
+ payment_status?: string;
3882
+ raw?: import("../integrations/supabase/types").Json | null;
3883
+ receivable_synced_at?: string | null;
3884
+ status_code?: number | null;
3885
+ updated_at?: string;
3886
+ };
3887
+ Relationships: [];
3888
+ };
3889
+ exact_auth_items: {
3890
+ Row: {
3891
+ account_key: string;
3892
+ barcode: string | null;
3893
+ code: string | null;
3894
+ cost_price: number | null;
3895
+ created_at: string;
3896
+ description: string | null;
3897
+ division_code: number | null;
3898
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3899
+ exact_id: string;
3900
+ exact_modified: string | null;
3901
+ exact_timestamp: number | null;
3902
+ gl_account_code: string | null;
3903
+ id: string;
3904
+ is_active: boolean;
3905
+ is_sales_item: boolean | null;
3906
+ item_type: string | null;
3907
+ raw: import("../integrations/supabase/types").Json | null;
3908
+ sales_price: number | null;
3909
+ unit: string | null;
3910
+ updated_at: string;
3911
+ vat_code: string | null;
3912
+ };
3913
+ Insert: {
3914
+ account_key?: string;
3915
+ barcode?: string | null;
3916
+ code?: string | null;
3917
+ cost_price?: number | null;
3918
+ created_at?: string;
3919
+ description?: string | null;
3920
+ division_code?: number | null;
3921
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3922
+ exact_id: string;
3923
+ exact_modified?: string | null;
3924
+ exact_timestamp?: number | null;
3925
+ gl_account_code?: string | null;
3926
+ id?: string;
3927
+ is_active?: boolean;
3928
+ is_sales_item?: boolean | null;
3929
+ item_type?: string | null;
3930
+ raw?: import("../integrations/supabase/types").Json | null;
3931
+ sales_price?: number | null;
3932
+ unit?: string | null;
3933
+ updated_at?: string;
3934
+ vat_code?: string | null;
3935
+ };
3936
+ Update: {
3937
+ account_key?: string;
3938
+ barcode?: string | null;
3939
+ code?: string | null;
3940
+ cost_price?: number | null;
3941
+ created_at?: string;
3942
+ description?: string | null;
3943
+ division_code?: number | null;
3944
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3945
+ exact_id?: string;
3946
+ exact_modified?: string | null;
3947
+ exact_timestamp?: number | null;
3948
+ gl_account_code?: string | null;
3949
+ id?: string;
3950
+ is_active?: boolean;
3951
+ is_sales_item?: boolean | null;
3952
+ item_type?: string | null;
3953
+ raw?: import("../integrations/supabase/types").Json | null;
3954
+ sales_price?: number | null;
3955
+ unit?: string | null;
3956
+ updated_at?: string;
3957
+ vat_code?: string | null;
3958
+ };
3959
+ Relationships: [];
3960
+ };
3961
+ exact_auth_sync_log: {
3962
+ Row: {
3963
+ account_key: string;
3964
+ calls_used: number;
3965
+ created_at: string;
3966
+ domain: string;
3967
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3968
+ error: string | null;
3969
+ finished_at: string | null;
3970
+ id: string;
3971
+ ok: boolean;
3972
+ records: number;
3973
+ started_at: string;
3974
+ };
3975
+ Insert: {
3976
+ account_key?: string;
3977
+ calls_used?: number;
3978
+ created_at?: string;
3979
+ domain: string;
3980
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3981
+ error?: string | null;
3982
+ finished_at?: string | null;
3983
+ id?: string;
3984
+ ok?: boolean;
3985
+ records?: number;
3986
+ started_at?: string;
3987
+ };
3988
+ Update: {
3989
+ account_key?: string;
3990
+ calls_used?: number;
3991
+ created_at?: string;
3992
+ domain?: string;
3993
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3994
+ error?: string | null;
3995
+ finished_at?: string | null;
3996
+ id?: string;
3997
+ ok?: boolean;
3998
+ records?: number;
3999
+ started_at?: string;
4000
+ };
4001
+ Relationships: [];
4002
+ };
4003
+ exact_auth_sync_state: {
4004
+ Row: {
4005
+ account_key: string;
4006
+ created_at: string;
4007
+ cursor_timestamp: number;
4008
+ division_code: number | null;
4009
+ domain: string;
4010
+ duration_ms: number | null;
4011
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
4012
+ initial_sync_done: boolean;
4013
+ last_error: string | null;
4014
+ last_run_at: string | null;
4015
+ last_success_at: string | null;
4016
+ locked_at: string | null;
4017
+ needs_initial_sync: boolean;
4018
+ record_count: number;
4019
+ updated_at: string;
4020
+ };
4021
+ Insert: {
4022
+ account_key?: string;
4023
+ created_at?: string;
4024
+ cursor_timestamp?: number;
4025
+ division_code?: number | null;
4026
+ domain: string;
4027
+ duration_ms?: number | null;
4028
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
4029
+ initial_sync_done?: boolean;
4030
+ last_error?: string | null;
4031
+ last_run_at?: string | null;
4032
+ last_success_at?: string | null;
4033
+ locked_at?: string | null;
4034
+ needs_initial_sync?: boolean;
4035
+ record_count?: number;
4036
+ updated_at?: string;
4037
+ };
4038
+ Update: {
4039
+ account_key?: string;
4040
+ created_at?: string;
4041
+ cursor_timestamp?: number;
4042
+ division_code?: number | null;
4043
+ domain?: string;
4044
+ duration_ms?: number | null;
4045
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
4046
+ initial_sync_done?: boolean;
4047
+ last_error?: string | null;
4048
+ last_run_at?: string | null;
4049
+ last_success_at?: string | null;
4050
+ locked_at?: string | null;
4051
+ needs_initial_sync?: boolean;
4052
+ record_count?: number;
4053
+ updated_at?: string;
4054
+ };
4055
+ Relationships: [];
4056
+ };
3589
4057
  exact_bulk_operation_items: {
3590
4058
  Row: {
3591
4059
  attempts: number;
@@ -5277,12 +5745,17 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
5277
5745
  attempts: number;
5278
5746
  connection_id: string;
5279
5747
  created_at: string;
5748
+ desired_available: boolean | null;
5280
5749
  gateway_attempt_id: string | null;
5281
5750
  id: string;
5282
5751
  last_error: string | null;
5752
+ locked_at: string | null;
5753
+ locked_by: string | null;
5754
+ next_attempt_at: string;
5283
5755
  number_of_pieces: number;
5284
5756
  sent_at: string | null;
5285
5757
  status: string;
5758
+ superseded_by: string | null;
5286
5759
  trade_item_id: string;
5287
5760
  updated_at: string;
5288
5761
  user_id: string;
@@ -5291,12 +5764,17 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
5291
5764
  attempts?: number;
5292
5765
  connection_id: string;
5293
5766
  created_at?: string;
5767
+ desired_available?: boolean | null;
5294
5768
  gateway_attempt_id?: string | null;
5295
5769
  id?: string;
5296
5770
  last_error?: string | null;
5771
+ locked_at?: string | null;
5772
+ locked_by?: string | null;
5773
+ next_attempt_at?: string;
5297
5774
  number_of_pieces?: number;
5298
5775
  sent_at?: string | null;
5299
5776
  status?: string;
5777
+ superseded_by?: string | null;
5300
5778
  trade_item_id: string;
5301
5779
  updated_at?: string;
5302
5780
  user_id: string;
@@ -5305,12 +5783,17 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
5305
5783
  attempts?: number;
5306
5784
  connection_id?: string;
5307
5785
  created_at?: string;
5786
+ desired_available?: boolean | null;
5308
5787
  gateway_attempt_id?: string | null;
5309
5788
  id?: string;
5310
5789
  last_error?: string | null;
5790
+ locked_at?: string | null;
5791
+ locked_by?: string | null;
5792
+ next_attempt_at?: string;
5311
5793
  number_of_pieces?: number;
5312
5794
  sent_at?: string | null;
5313
5795
  status?: string;
5796
+ superseded_by?: string | null;
5314
5797
  trade_item_id?: string;
5315
5798
  updated_at?: string;
5316
5799
  user_id?: string;
@@ -8059,6 +8542,69 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
8059
8542
  };
8060
8543
  Relationships: [];
8061
8544
  };
8545
+ logistics_floriday_pushes: {
8546
+ Row: {
8547
+ attempts: number;
8548
+ created_at: string;
8549
+ first_queued_at: string;
8550
+ fulfillment_order_id: string | null;
8551
+ id: string;
8552
+ last_error: string | null;
8553
+ last_error_at: string | null;
8554
+ last_sent_hash: string | null;
8555
+ locked_by: string | null;
8556
+ locked_until: string | null;
8557
+ next_attempt_at: string;
8558
+ order_ref: string;
8559
+ payload: import("../integrations/supabase/types").Json;
8560
+ payload_hash: string | null;
8561
+ revision: number;
8562
+ sent_at: string | null;
8563
+ status: string;
8564
+ updated_at: string;
8565
+ };
8566
+ Insert: {
8567
+ attempts?: number;
8568
+ created_at?: string;
8569
+ first_queued_at?: string;
8570
+ fulfillment_order_id?: string | null;
8571
+ id?: string;
8572
+ last_error?: string | null;
8573
+ last_error_at?: string | null;
8574
+ last_sent_hash?: string | null;
8575
+ locked_by?: string | null;
8576
+ locked_until?: string | null;
8577
+ next_attempt_at?: string;
8578
+ order_ref: string;
8579
+ payload?: import("../integrations/supabase/types").Json;
8580
+ payload_hash?: string | null;
8581
+ revision?: number;
8582
+ sent_at?: string | null;
8583
+ status?: string;
8584
+ updated_at?: string;
8585
+ };
8586
+ Update: {
8587
+ attempts?: number;
8588
+ created_at?: string;
8589
+ first_queued_at?: string;
8590
+ fulfillment_order_id?: string | null;
8591
+ id?: string;
8592
+ last_error?: string | null;
8593
+ last_error_at?: string | null;
8594
+ last_sent_hash?: string | null;
8595
+ locked_by?: string | null;
8596
+ locked_until?: string | null;
8597
+ next_attempt_at?: string;
8598
+ order_ref?: string;
8599
+ payload?: import("../integrations/supabase/types").Json;
8600
+ payload_hash?: string | null;
8601
+ revision?: number;
8602
+ sent_at?: string | null;
8603
+ status?: string;
8604
+ updated_at?: string;
8605
+ };
8606
+ Relationships: [];
8607
+ };
8062
8608
  logistics_formulas: {
8063
8609
  Row: {
8064
8610
  created_at: string;
@@ -8670,6 +9216,8 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
8670
9216
  };
8671
9217
  logistics_tasks: {
8672
9218
  Row: {
9219
+ attempt_log: import("../integrations/supabase/types").Json;
9220
+ attempts: number;
8673
9221
  buffer_ref: string | null;
8674
9222
  claimed_at: string | null;
8675
9223
  claimed_by: string | null;
@@ -8679,6 +9227,8 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
8679
9227
  due_at: string | null;
8680
9228
  error: string | null;
8681
9229
  id: string;
9230
+ last_error: string | null;
9231
+ next_attempt_at: string | null;
8682
9232
  order_ref: string;
8683
9233
  owner_module: string;
8684
9234
  payload: import("../integrations/supabase/types").Json;
@@ -8699,6 +9249,8 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
8699
9249
  user_id: string;
8700
9250
  };
8701
9251
  Insert: {
9252
+ attempt_log?: import("../integrations/supabase/types").Json;
9253
+ attempts?: number;
8702
9254
  buffer_ref?: string | null;
8703
9255
  claimed_at?: string | null;
8704
9256
  claimed_by?: string | null;
@@ -8708,6 +9260,8 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
8708
9260
  due_at?: string | null;
8709
9261
  error?: string | null;
8710
9262
  id?: string;
9263
+ last_error?: string | null;
9264
+ next_attempt_at?: string | null;
8711
9265
  order_ref: string;
8712
9266
  owner_module: string;
8713
9267
  payload?: import("../integrations/supabase/types").Json;
@@ -8728,6 +9282,8 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
8728
9282
  user_id?: string;
8729
9283
  };
8730
9284
  Update: {
9285
+ attempt_log?: import("../integrations/supabase/types").Json;
9286
+ attempts?: number;
8731
9287
  buffer_ref?: string | null;
8732
9288
  claimed_at?: string | null;
8733
9289
  claimed_by?: string | null;
@@ -8737,6 +9293,8 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
8737
9293
  due_at?: string | null;
8738
9294
  error?: string | null;
8739
9295
  id?: string;
9296
+ last_error?: string | null;
9297
+ next_attempt_at?: string | null;
8740
9298
  order_ref?: string;
8741
9299
  owner_module?: string;
8742
9300
  payload?: import("../integrations/supabase/types").Json;
@@ -10086,6 +10644,7 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
10086
10644
  };
10087
10645
  offer_settings: {
10088
10646
  Row: {
10647
+ brand_name: string | null;
10089
10648
  button_color: string;
10090
10649
  created_at: string;
10091
10650
  default_countries: string[];
@@ -10107,6 +10666,7 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
10107
10666
  updated_at: string;
10108
10667
  };
10109
10668
  Insert: {
10669
+ brand_name?: string | null;
10110
10670
  button_color?: string;
10111
10671
  created_at?: string;
10112
10672
  default_countries?: string[];
@@ -10128,6 +10688,7 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
10128
10688
  updated_at?: string;
10129
10689
  };
10130
10690
  Update: {
10691
+ brand_name?: string | null;
10131
10692
  button_color?: string;
10132
10693
  created_at?: string;
10133
10694
  default_countries?: string[];
@@ -17738,6 +18299,85 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
17738
18299
  };
17739
18300
  Returns: import("../integrations/supabase/types").Json;
17740
18301
  };
18302
+ claim_floriday_stock_queue: {
18303
+ Args: {
18304
+ p_limit?: number;
18305
+ p_worker?: string;
18306
+ };
18307
+ Returns: {
18308
+ attempts: number;
18309
+ connection_id: string;
18310
+ created_at: string;
18311
+ desired_available: boolean | null;
18312
+ gateway_attempt_id: string | null;
18313
+ id: string;
18314
+ last_error: string | null;
18315
+ locked_at: string | null;
18316
+ locked_by: string | null;
18317
+ next_attempt_at: string;
18318
+ number_of_pieces: number;
18319
+ sent_at: string | null;
18320
+ status: string;
18321
+ superseded_by: string | null;
18322
+ trade_item_id: string;
18323
+ updated_at: string;
18324
+ user_id: string;
18325
+ }[];
18326
+ SetofOptions: {
18327
+ from: "*";
18328
+ to: "floriday_continuous_stock_queue";
18329
+ isOneToOne: false;
18330
+ isSetofReturn: true;
18331
+ };
18332
+ };
18333
+ claim_logistics_tasks: {
18334
+ Args: {
18335
+ _limit?: number;
18336
+ _owner_module: string;
18337
+ _stale_minutes?: number;
18338
+ _task_type: string;
18339
+ _worker: string;
18340
+ };
18341
+ Returns: {
18342
+ attempt_log: import("../integrations/supabase/types").Json;
18343
+ attempts: number;
18344
+ buffer_ref: string | null;
18345
+ claimed_at: string | null;
18346
+ claimed_by: string | null;
18347
+ completed_at: string | null;
18348
+ created_at: string;
18349
+ depends_on: string[];
18350
+ due_at: string | null;
18351
+ error: string | null;
18352
+ id: string;
18353
+ last_error: string | null;
18354
+ next_attempt_at: string | null;
18355
+ order_ref: string;
18356
+ owner_module: string;
18357
+ payload: import("../integrations/supabase/types").Json;
18358
+ plan_run_id: string | null;
18359
+ planned_end: string | null;
18360
+ planned_start: string | null;
18361
+ priority: number;
18362
+ result: import("../integrations/supabase/types").Json | null;
18363
+ rule_config_id: string | null;
18364
+ rule_version: number | null;
18365
+ sequence: number;
18366
+ shadow: boolean;
18367
+ started_at: string | null;
18368
+ status: string;
18369
+ strategy_id: string | null;
18370
+ task_type: string;
18371
+ updated_at: string;
18372
+ user_id: string;
18373
+ }[];
18374
+ SetofOptions: {
18375
+ from: "*";
18376
+ to: "logistics_tasks";
18377
+ isOneToOne: false;
18378
+ isSetofReturn: true;
18379
+ };
18380
+ };
17741
18381
  claim_print_jobs: {
17742
18382
  Args: {
17743
18383
  _agent_id: string;
@@ -17802,10 +18442,24 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
17802
18442
  isSetofReturn: true;
17803
18443
  };
17804
18444
  };
18445
+ cleanup_floriday_stock_queue: {
18446
+ Args: never;
18447
+ Returns: undefined;
18448
+ };
17805
18449
  cleanup_old_bookings: {
17806
18450
  Args: never;
17807
18451
  Returns: undefined;
17808
18452
  };
18453
+ complete_floriday_stock_queue: {
18454
+ Args: {
18455
+ p_attempt_id?: string;
18456
+ p_error?: string;
18457
+ p_id: string;
18458
+ p_ok: boolean;
18459
+ p_permanent?: boolean;
18460
+ };
18461
+ Returns: undefined;
18462
+ };
17809
18463
  consume_bom_for_production: {
17810
18464
  Args: {
17811
18465
  p_connection_id: string;
@@ -17978,6 +18632,21 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
17978
18632
  Args: never;
17979
18633
  Returns: string;
17980
18634
  };
18635
+ exact_auth_consume_calls: {
18636
+ Args: {
18637
+ _account_key: string;
18638
+ _calls?: number;
18639
+ _day_limit?: number;
18640
+ _division_code: number;
18641
+ _environment: string;
18642
+ _minute_limit?: number;
18643
+ };
18644
+ Returns: import("../integrations/supabase/types").Json;
18645
+ };
18646
+ exact_auth_prune_sync_log: {
18647
+ Args: never;
18648
+ Returns: undefined;
18649
+ };
17981
18650
  exact_decrypt: {
17982
18651
  Args: {
17983
18652
  cipher: string;
@@ -18187,6 +18856,10 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
18187
18856
  };
18188
18857
  Returns: number;
18189
18858
  };
18859
+ get_offer_branding: {
18860
+ Args: never;
18861
+ Returns: import("../integrations/supabase/types").Json;
18862
+ };
18190
18863
  get_offer_by_link_code: {
18191
18864
  Args: {
18192
18865
  p_code: string;
@@ -18478,6 +19151,8 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
18478
19151
  p_worker?: string;
18479
19152
  };
18480
19153
  Returns: {
19154
+ attempt_log: import("../integrations/supabase/types").Json;
19155
+ attempts: number;
18481
19156
  buffer_ref: string | null;
18482
19157
  claimed_at: string | null;
18483
19158
  claimed_by: string | null;
@@ -18487,6 +19162,8 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
18487
19162
  due_at: string | null;
18488
19163
  error: string | null;
18489
19164
  id: string;
19165
+ last_error: string | null;
19166
+ next_attempt_at: string | null;
18490
19167
  order_ref: string;
18491
19168
  owner_module: string;
18492
19169
  payload: import("../integrations/supabase/types").Json;
@@ -18519,6 +19196,8 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
18519
19196
  p_worker?: string;
18520
19197
  };
18521
19198
  Returns: {
19199
+ attempt_log: import("../integrations/supabase/types").Json;
19200
+ attempts: number;
18522
19201
  buffer_ref: string | null;
18523
19202
  claimed_at: string | null;
18524
19203
  claimed_by: string | null;
@@ -18528,6 +19207,8 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
18528
19207
  due_at: string | null;
18529
19208
  error: string | null;
18530
19209
  id: string;
19210
+ last_error: string | null;
19211
+ next_attempt_at: string | null;
18531
19212
  order_ref: string;
18532
19213
  owner_module: string;
18533
19214
  payload: import("../integrations/supabase/types").Json;
@@ -18560,6 +19241,8 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
18560
19241
  p_task_id: string;
18561
19242
  };
18562
19243
  Returns: {
19244
+ attempt_log: import("../integrations/supabase/types").Json;
19245
+ attempts: number;
18563
19246
  buffer_ref: string | null;
18564
19247
  claimed_at: string | null;
18565
19248
  claimed_by: string | null;
@@ -18569,6 +19252,8 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
18569
19252
  due_at: string | null;
18570
19253
  error: string | null;
18571
19254
  id: string;
19255
+ last_error: string | null;
19256
+ next_attempt_at: string | null;
18572
19257
  order_ref: string;
18573
19258
  owner_module: string;
18574
19259
  payload: import("../integrations/supabase/types").Json;
@@ -18650,6 +19335,8 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
18650
19335
  p_task_id: string;
18651
19336
  };
18652
19337
  Returns: {
19338
+ attempt_log: import("../integrations/supabase/types").Json;
19339
+ attempts: number;
18653
19340
  buffer_ref: string | null;
18654
19341
  claimed_at: string | null;
18655
19342
  claimed_by: string | null;
@@ -18659,6 +19346,8 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
18659
19346
  due_at: string | null;
18660
19347
  error: string | null;
18661
19348
  id: string;
19349
+ last_error: string | null;
19350
+ next_attempt_at: string | null;
18662
19351
  order_ref: string;
18663
19352
  owner_module: string;
18664
19353
  payload: import("../integrations/supabase/types").Json;
@@ -18685,6 +19374,51 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
18685
19374
  isSetofReturn: false;
18686
19375
  };
18687
19376
  };
19377
+ logistics_floriday_claim_pushes: {
19378
+ Args: {
19379
+ _lease_seconds?: number;
19380
+ _limit?: number;
19381
+ _worker?: string;
19382
+ };
19383
+ Returns: {
19384
+ attempts: number;
19385
+ fulfillment_order_id: string;
19386
+ id: string;
19387
+ last_sent_hash: string;
19388
+ order_ref: string;
19389
+ payload: import("../integrations/supabase/types").Json;
19390
+ payload_hash: string;
19391
+ revision: number;
19392
+ }[];
19393
+ };
19394
+ logistics_floriday_finish_push: {
19395
+ Args: {
19396
+ _error?: string;
19397
+ _fulfillment_order_id?: string;
19398
+ _id: string;
19399
+ _max_age_hours?: number;
19400
+ _max_attempts?: number;
19401
+ _ok: boolean;
19402
+ _permanent?: boolean;
19403
+ _revision: number;
19404
+ _sent_hash?: string;
19405
+ };
19406
+ Returns: string;
19407
+ };
19408
+ logistics_floriday_prune_pushes: {
19409
+ Args: {
19410
+ _days?: number;
19411
+ };
19412
+ Returns: number;
19413
+ };
19414
+ logistics_floriday_queue_push: {
19415
+ Args: {
19416
+ _order_ref: string;
19417
+ _payload?: import("../integrations/supabase/types").Json;
19418
+ _payload_hash?: string;
19419
+ };
19420
+ Returns: string;
19421
+ };
18688
19422
  logistics_live_carriers: {
18689
19423
  Args: {
18690
19424
  p_order_ref: string;
@@ -19412,6 +20146,10 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
19412
20146
  Args: never;
19413
20147
  Returns: undefined;
19414
20148
  };
20149
+ run_logistics_tasks_dispatch: {
20150
+ Args: never;
20151
+ Returns: undefined;
20152
+ };
19415
20153
  run_twinfield_queue_tick: {
19416
20154
  Args: never;
19417
20155
  Returns: undefined;
@@ -19652,6 +20390,13 @@ export declare const prepareTwinfieldAdoption: import("@tanstack/start-client-co
19652
20390
  };
19653
20391
  Returns: number;
19654
20392
  };
20393
+ schedule_floriday_stock_queue_process: {
20394
+ Args: {
20395
+ p_apikey: string;
20396
+ p_url: string;
20397
+ };
20398
+ Returns: number;
20399
+ };
19655
20400
  schedule_floriday_token_refresh: {
19656
20401
  Args: {
19657
20402
  p_apikey: string;
@@ -23414,6 +24159,474 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
23414
24159
  referencedColumns: ["id"];
23415
24160
  }];
23416
24161
  };
24162
+ exact_auth_call_budget: {
24163
+ Row: {
24164
+ account_key: string;
24165
+ day_count: number;
24166
+ day_date: string;
24167
+ division_code: number;
24168
+ environment: string;
24169
+ minute_count: number;
24170
+ minute_window: string;
24171
+ updated_at: string;
24172
+ };
24173
+ Insert: {
24174
+ account_key?: string;
24175
+ day_count?: number;
24176
+ day_date?: string;
24177
+ division_code?: number;
24178
+ environment: string;
24179
+ minute_count?: number;
24180
+ minute_window?: string;
24181
+ updated_at?: string;
24182
+ };
24183
+ Update: {
24184
+ account_key?: string;
24185
+ day_count?: number;
24186
+ day_date?: string;
24187
+ division_code?: number;
24188
+ environment?: string;
24189
+ minute_count?: number;
24190
+ minute_window?: string;
24191
+ updated_at?: string;
24192
+ };
24193
+ Relationships: [];
24194
+ };
24195
+ exact_auth_customers: {
24196
+ Row: {
24197
+ account_key: string;
24198
+ address_line1: string | null;
24199
+ chamber_of_commerce: string | null;
24200
+ city: string | null;
24201
+ code: string | null;
24202
+ country: string | null;
24203
+ created_at: string;
24204
+ currency: string | null;
24205
+ division_code: number | null;
24206
+ email: string | null;
24207
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24208
+ exact_id: string;
24209
+ exact_modified: string | null;
24210
+ exact_timestamp: number | null;
24211
+ id: string;
24212
+ is_active: boolean;
24213
+ name: string | null;
24214
+ phone: string | null;
24215
+ postcode: string | null;
24216
+ raw: import("../integrations/supabase/types").Json | null;
24217
+ status: string | null;
24218
+ updated_at: string;
24219
+ vat_number: string | null;
24220
+ website: string | null;
24221
+ };
24222
+ Insert: {
24223
+ account_key?: string;
24224
+ address_line1?: string | null;
24225
+ chamber_of_commerce?: string | null;
24226
+ city?: string | null;
24227
+ code?: string | null;
24228
+ country?: string | null;
24229
+ created_at?: string;
24230
+ currency?: string | null;
24231
+ division_code?: number | null;
24232
+ email?: string | null;
24233
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24234
+ exact_id: string;
24235
+ exact_modified?: string | null;
24236
+ exact_timestamp?: number | null;
24237
+ id?: string;
24238
+ is_active?: boolean;
24239
+ name?: string | null;
24240
+ phone?: string | null;
24241
+ postcode?: string | null;
24242
+ raw?: import("../integrations/supabase/types").Json | null;
24243
+ status?: string | null;
24244
+ updated_at?: string;
24245
+ vat_number?: string | null;
24246
+ website?: string | null;
24247
+ };
24248
+ Update: {
24249
+ account_key?: string;
24250
+ address_line1?: string | null;
24251
+ chamber_of_commerce?: string | null;
24252
+ city?: string | null;
24253
+ code?: string | null;
24254
+ country?: string | null;
24255
+ created_at?: string;
24256
+ currency?: string | null;
24257
+ division_code?: number | null;
24258
+ email?: string | null;
24259
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24260
+ exact_id?: string;
24261
+ exact_modified?: string | null;
24262
+ exact_timestamp?: number | null;
24263
+ id?: string;
24264
+ is_active?: boolean;
24265
+ name?: string | null;
24266
+ phone?: string | null;
24267
+ postcode?: string | null;
24268
+ raw?: import("../integrations/supabase/types").Json | null;
24269
+ status?: string | null;
24270
+ updated_at?: string;
24271
+ vat_number?: string | null;
24272
+ website?: string | null;
24273
+ };
24274
+ Relationships: [];
24275
+ };
24276
+ exact_auth_divisions: {
24277
+ Row: {
24278
+ account_key: string;
24279
+ company_name: string | null;
24280
+ created_at: string;
24281
+ division_code: number | null;
24282
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24283
+ id: string;
24284
+ last_synced_at: string | null;
24285
+ updated_at: string;
24286
+ };
24287
+ Insert: {
24288
+ account_key?: string;
24289
+ company_name?: string | null;
24290
+ created_at?: string;
24291
+ division_code?: number | null;
24292
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24293
+ id?: string;
24294
+ last_synced_at?: string | null;
24295
+ updated_at?: string;
24296
+ };
24297
+ Update: {
24298
+ account_key?: string;
24299
+ company_name?: string | null;
24300
+ created_at?: string;
24301
+ division_code?: number | null;
24302
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24303
+ id?: string;
24304
+ last_synced_at?: string | null;
24305
+ updated_at?: string;
24306
+ };
24307
+ Relationships: [];
24308
+ };
24309
+ exact_auth_invoice_lines: {
24310
+ Row: {
24311
+ account_key: string;
24312
+ amount_excl: number | null;
24313
+ created_at: string;
24314
+ description: string | null;
24315
+ discount: number | null;
24316
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24317
+ exact_id: string;
24318
+ exact_timestamp: number | null;
24319
+ id: string;
24320
+ invoice_exact_id: string;
24321
+ item_code: string | null;
24322
+ item_exact_id: string | null;
24323
+ line_number: number | null;
24324
+ quantity: number | null;
24325
+ raw: import("../integrations/supabase/types").Json | null;
24326
+ unit_price: number | null;
24327
+ updated_at: string;
24328
+ vat_amount: number | null;
24329
+ vat_code: string | null;
24330
+ };
24331
+ Insert: {
24332
+ account_key?: string;
24333
+ amount_excl?: number | null;
24334
+ created_at?: string;
24335
+ description?: string | null;
24336
+ discount?: number | null;
24337
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24338
+ exact_id: string;
24339
+ exact_timestamp?: number | null;
24340
+ id?: string;
24341
+ invoice_exact_id: string;
24342
+ item_code?: string | null;
24343
+ item_exact_id?: string | null;
24344
+ line_number?: number | null;
24345
+ quantity?: number | null;
24346
+ raw?: import("../integrations/supabase/types").Json | null;
24347
+ unit_price?: number | null;
24348
+ updated_at?: string;
24349
+ vat_amount?: number | null;
24350
+ vat_code?: string | null;
24351
+ };
24352
+ Update: {
24353
+ account_key?: string;
24354
+ amount_excl?: number | null;
24355
+ created_at?: string;
24356
+ description?: string | null;
24357
+ discount?: number | null;
24358
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24359
+ exact_id?: string;
24360
+ exact_timestamp?: number | null;
24361
+ id?: string;
24362
+ invoice_exact_id?: string;
24363
+ item_code?: string | null;
24364
+ item_exact_id?: string | null;
24365
+ line_number?: number | null;
24366
+ quantity?: number | null;
24367
+ raw?: import("../integrations/supabase/types").Json | null;
24368
+ unit_price?: number | null;
24369
+ updated_at?: string;
24370
+ vat_amount?: number | null;
24371
+ vat_code?: string | null;
24372
+ };
24373
+ Relationships: [];
24374
+ };
24375
+ exact_auth_invoices: {
24376
+ Row: {
24377
+ account_key: string;
24378
+ amount_excl: number | null;
24379
+ amount_incl: number | null;
24380
+ amount_open: number | null;
24381
+ created_at: string;
24382
+ currency: string | null;
24383
+ customer_code: string | null;
24384
+ customer_exact_id: string | null;
24385
+ customer_name: string | null;
24386
+ description: string | null;
24387
+ division_code: number | null;
24388
+ due_date: string | null;
24389
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24390
+ exact_id: string;
24391
+ exact_modified: string | null;
24392
+ exact_timestamp: number | null;
24393
+ id: string;
24394
+ invoice_date: string | null;
24395
+ invoice_number: string | null;
24396
+ order_number: string | null;
24397
+ paid_at: string | null;
24398
+ payment_status: string;
24399
+ raw: import("../integrations/supabase/types").Json | null;
24400
+ receivable_synced_at: string | null;
24401
+ status_code: number | null;
24402
+ updated_at: string;
24403
+ };
24404
+ Insert: {
24405
+ account_key?: string;
24406
+ amount_excl?: number | null;
24407
+ amount_incl?: number | null;
24408
+ amount_open?: number | null;
24409
+ created_at?: string;
24410
+ currency?: string | null;
24411
+ customer_code?: string | null;
24412
+ customer_exact_id?: string | null;
24413
+ customer_name?: string | null;
24414
+ description?: string | null;
24415
+ division_code?: number | null;
24416
+ due_date?: string | null;
24417
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24418
+ exact_id: string;
24419
+ exact_modified?: string | null;
24420
+ exact_timestamp?: number | null;
24421
+ id?: string;
24422
+ invoice_date?: string | null;
24423
+ invoice_number?: string | null;
24424
+ order_number?: string | null;
24425
+ paid_at?: string | null;
24426
+ payment_status?: string;
24427
+ raw?: import("../integrations/supabase/types").Json | null;
24428
+ receivable_synced_at?: string | null;
24429
+ status_code?: number | null;
24430
+ updated_at?: string;
24431
+ };
24432
+ Update: {
24433
+ account_key?: string;
24434
+ amount_excl?: number | null;
24435
+ amount_incl?: number | null;
24436
+ amount_open?: number | null;
24437
+ created_at?: string;
24438
+ currency?: string | null;
24439
+ customer_code?: string | null;
24440
+ customer_exact_id?: string | null;
24441
+ customer_name?: string | null;
24442
+ description?: string | null;
24443
+ division_code?: number | null;
24444
+ due_date?: string | null;
24445
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24446
+ exact_id?: string;
24447
+ exact_modified?: string | null;
24448
+ exact_timestamp?: number | null;
24449
+ id?: string;
24450
+ invoice_date?: string | null;
24451
+ invoice_number?: string | null;
24452
+ order_number?: string | null;
24453
+ paid_at?: string | null;
24454
+ payment_status?: string;
24455
+ raw?: import("../integrations/supabase/types").Json | null;
24456
+ receivable_synced_at?: string | null;
24457
+ status_code?: number | null;
24458
+ updated_at?: string;
24459
+ };
24460
+ Relationships: [];
24461
+ };
24462
+ exact_auth_items: {
24463
+ Row: {
24464
+ account_key: string;
24465
+ barcode: string | null;
24466
+ code: string | null;
24467
+ cost_price: number | null;
24468
+ created_at: string;
24469
+ description: string | null;
24470
+ division_code: number | null;
24471
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24472
+ exact_id: string;
24473
+ exact_modified: string | null;
24474
+ exact_timestamp: number | null;
24475
+ gl_account_code: string | null;
24476
+ id: string;
24477
+ is_active: boolean;
24478
+ is_sales_item: boolean | null;
24479
+ item_type: string | null;
24480
+ raw: import("../integrations/supabase/types").Json | null;
24481
+ sales_price: number | null;
24482
+ unit: string | null;
24483
+ updated_at: string;
24484
+ vat_code: string | null;
24485
+ };
24486
+ Insert: {
24487
+ account_key?: string;
24488
+ barcode?: string | null;
24489
+ code?: string | null;
24490
+ cost_price?: number | null;
24491
+ created_at?: string;
24492
+ description?: string | null;
24493
+ division_code?: number | null;
24494
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24495
+ exact_id: string;
24496
+ exact_modified?: string | null;
24497
+ exact_timestamp?: number | null;
24498
+ gl_account_code?: string | null;
24499
+ id?: string;
24500
+ is_active?: boolean;
24501
+ is_sales_item?: boolean | null;
24502
+ item_type?: string | null;
24503
+ raw?: import("../integrations/supabase/types").Json | null;
24504
+ sales_price?: number | null;
24505
+ unit?: string | null;
24506
+ updated_at?: string;
24507
+ vat_code?: string | null;
24508
+ };
24509
+ Update: {
24510
+ account_key?: string;
24511
+ barcode?: string | null;
24512
+ code?: string | null;
24513
+ cost_price?: number | null;
24514
+ created_at?: string;
24515
+ description?: string | null;
24516
+ division_code?: number | null;
24517
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24518
+ exact_id?: string;
24519
+ exact_modified?: string | null;
24520
+ exact_timestamp?: number | null;
24521
+ gl_account_code?: string | null;
24522
+ id?: string;
24523
+ is_active?: boolean;
24524
+ is_sales_item?: boolean | null;
24525
+ item_type?: string | null;
24526
+ raw?: import("../integrations/supabase/types").Json | null;
24527
+ sales_price?: number | null;
24528
+ unit?: string | null;
24529
+ updated_at?: string;
24530
+ vat_code?: string | null;
24531
+ };
24532
+ Relationships: [];
24533
+ };
24534
+ exact_auth_sync_log: {
24535
+ Row: {
24536
+ account_key: string;
24537
+ calls_used: number;
24538
+ created_at: string;
24539
+ domain: string;
24540
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24541
+ error: string | null;
24542
+ finished_at: string | null;
24543
+ id: string;
24544
+ ok: boolean;
24545
+ records: number;
24546
+ started_at: string;
24547
+ };
24548
+ Insert: {
24549
+ account_key?: string;
24550
+ calls_used?: number;
24551
+ created_at?: string;
24552
+ domain: string;
24553
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24554
+ error?: string | null;
24555
+ finished_at?: string | null;
24556
+ id?: string;
24557
+ ok?: boolean;
24558
+ records?: number;
24559
+ started_at?: string;
24560
+ };
24561
+ Update: {
24562
+ account_key?: string;
24563
+ calls_used?: number;
24564
+ created_at?: string;
24565
+ domain?: string;
24566
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24567
+ error?: string | null;
24568
+ finished_at?: string | null;
24569
+ id?: string;
24570
+ ok?: boolean;
24571
+ records?: number;
24572
+ started_at?: string;
24573
+ };
24574
+ Relationships: [];
24575
+ };
24576
+ exact_auth_sync_state: {
24577
+ Row: {
24578
+ account_key: string;
24579
+ created_at: string;
24580
+ cursor_timestamp: number;
24581
+ division_code: number | null;
24582
+ domain: string;
24583
+ duration_ms: number | null;
24584
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24585
+ initial_sync_done: boolean;
24586
+ last_error: string | null;
24587
+ last_run_at: string | null;
24588
+ last_success_at: string | null;
24589
+ locked_at: string | null;
24590
+ needs_initial_sync: boolean;
24591
+ record_count: number;
24592
+ updated_at: string;
24593
+ };
24594
+ Insert: {
24595
+ account_key?: string;
24596
+ created_at?: string;
24597
+ cursor_timestamp?: number;
24598
+ division_code?: number | null;
24599
+ domain: string;
24600
+ duration_ms?: number | null;
24601
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24602
+ initial_sync_done?: boolean;
24603
+ last_error?: string | null;
24604
+ last_run_at?: string | null;
24605
+ last_success_at?: string | null;
24606
+ locked_at?: string | null;
24607
+ needs_initial_sync?: boolean;
24608
+ record_count?: number;
24609
+ updated_at?: string;
24610
+ };
24611
+ Update: {
24612
+ account_key?: string;
24613
+ created_at?: string;
24614
+ cursor_timestamp?: number;
24615
+ division_code?: number | null;
24616
+ domain?: string;
24617
+ duration_ms?: number | null;
24618
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24619
+ initial_sync_done?: boolean;
24620
+ last_error?: string | null;
24621
+ last_run_at?: string | null;
24622
+ last_success_at?: string | null;
24623
+ locked_at?: string | null;
24624
+ needs_initial_sync?: boolean;
24625
+ record_count?: number;
24626
+ updated_at?: string;
24627
+ };
24628
+ Relationships: [];
24629
+ };
23417
24630
  exact_bulk_operation_items: {
23418
24631
  Row: {
23419
24632
  attempts: number;
@@ -25105,12 +26318,17 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
25105
26318
  attempts: number;
25106
26319
  connection_id: string;
25107
26320
  created_at: string;
26321
+ desired_available: boolean | null;
25108
26322
  gateway_attempt_id: string | null;
25109
26323
  id: string;
25110
26324
  last_error: string | null;
26325
+ locked_at: string | null;
26326
+ locked_by: string | null;
26327
+ next_attempt_at: string;
25111
26328
  number_of_pieces: number;
25112
26329
  sent_at: string | null;
25113
26330
  status: string;
26331
+ superseded_by: string | null;
25114
26332
  trade_item_id: string;
25115
26333
  updated_at: string;
25116
26334
  user_id: string;
@@ -25119,12 +26337,17 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
25119
26337
  attempts?: number;
25120
26338
  connection_id: string;
25121
26339
  created_at?: string;
26340
+ desired_available?: boolean | null;
25122
26341
  gateway_attempt_id?: string | null;
25123
26342
  id?: string;
25124
26343
  last_error?: string | null;
26344
+ locked_at?: string | null;
26345
+ locked_by?: string | null;
26346
+ next_attempt_at?: string;
25125
26347
  number_of_pieces?: number;
25126
26348
  sent_at?: string | null;
25127
26349
  status?: string;
26350
+ superseded_by?: string | null;
25128
26351
  trade_item_id: string;
25129
26352
  updated_at?: string;
25130
26353
  user_id: string;
@@ -25133,12 +26356,17 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
25133
26356
  attempts?: number;
25134
26357
  connection_id?: string;
25135
26358
  created_at?: string;
26359
+ desired_available?: boolean | null;
25136
26360
  gateway_attempt_id?: string | null;
25137
26361
  id?: string;
25138
26362
  last_error?: string | null;
26363
+ locked_at?: string | null;
26364
+ locked_by?: string | null;
26365
+ next_attempt_at?: string;
25139
26366
  number_of_pieces?: number;
25140
26367
  sent_at?: string | null;
25141
26368
  status?: string;
26369
+ superseded_by?: string | null;
25142
26370
  trade_item_id?: string;
25143
26371
  updated_at?: string;
25144
26372
  user_id?: string;
@@ -27887,6 +29115,69 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
27887
29115
  };
27888
29116
  Relationships: [];
27889
29117
  };
29118
+ logistics_floriday_pushes: {
29119
+ Row: {
29120
+ attempts: number;
29121
+ created_at: string;
29122
+ first_queued_at: string;
29123
+ fulfillment_order_id: string | null;
29124
+ id: string;
29125
+ last_error: string | null;
29126
+ last_error_at: string | null;
29127
+ last_sent_hash: string | null;
29128
+ locked_by: string | null;
29129
+ locked_until: string | null;
29130
+ next_attempt_at: string;
29131
+ order_ref: string;
29132
+ payload: import("../integrations/supabase/types").Json;
29133
+ payload_hash: string | null;
29134
+ revision: number;
29135
+ sent_at: string | null;
29136
+ status: string;
29137
+ updated_at: string;
29138
+ };
29139
+ Insert: {
29140
+ attempts?: number;
29141
+ created_at?: string;
29142
+ first_queued_at?: string;
29143
+ fulfillment_order_id?: string | null;
29144
+ id?: string;
29145
+ last_error?: string | null;
29146
+ last_error_at?: string | null;
29147
+ last_sent_hash?: string | null;
29148
+ locked_by?: string | null;
29149
+ locked_until?: string | null;
29150
+ next_attempt_at?: string;
29151
+ order_ref: string;
29152
+ payload?: import("../integrations/supabase/types").Json;
29153
+ payload_hash?: string | null;
29154
+ revision?: number;
29155
+ sent_at?: string | null;
29156
+ status?: string;
29157
+ updated_at?: string;
29158
+ };
29159
+ Update: {
29160
+ attempts?: number;
29161
+ created_at?: string;
29162
+ first_queued_at?: string;
29163
+ fulfillment_order_id?: string | null;
29164
+ id?: string;
29165
+ last_error?: string | null;
29166
+ last_error_at?: string | null;
29167
+ last_sent_hash?: string | null;
29168
+ locked_by?: string | null;
29169
+ locked_until?: string | null;
29170
+ next_attempt_at?: string;
29171
+ order_ref?: string;
29172
+ payload?: import("../integrations/supabase/types").Json;
29173
+ payload_hash?: string | null;
29174
+ revision?: number;
29175
+ sent_at?: string | null;
29176
+ status?: string;
29177
+ updated_at?: string;
29178
+ };
29179
+ Relationships: [];
29180
+ };
27890
29181
  logistics_formulas: {
27891
29182
  Row: {
27892
29183
  created_at: string;
@@ -28498,6 +29789,8 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
28498
29789
  };
28499
29790
  logistics_tasks: {
28500
29791
  Row: {
29792
+ attempt_log: import("../integrations/supabase/types").Json;
29793
+ attempts: number;
28501
29794
  buffer_ref: string | null;
28502
29795
  claimed_at: string | null;
28503
29796
  claimed_by: string | null;
@@ -28507,6 +29800,8 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
28507
29800
  due_at: string | null;
28508
29801
  error: string | null;
28509
29802
  id: string;
29803
+ last_error: string | null;
29804
+ next_attempt_at: string | null;
28510
29805
  order_ref: string;
28511
29806
  owner_module: string;
28512
29807
  payload: import("../integrations/supabase/types").Json;
@@ -28527,6 +29822,8 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
28527
29822
  user_id: string;
28528
29823
  };
28529
29824
  Insert: {
29825
+ attempt_log?: import("../integrations/supabase/types").Json;
29826
+ attempts?: number;
28530
29827
  buffer_ref?: string | null;
28531
29828
  claimed_at?: string | null;
28532
29829
  claimed_by?: string | null;
@@ -28536,6 +29833,8 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
28536
29833
  due_at?: string | null;
28537
29834
  error?: string | null;
28538
29835
  id?: string;
29836
+ last_error?: string | null;
29837
+ next_attempt_at?: string | null;
28539
29838
  order_ref: string;
28540
29839
  owner_module: string;
28541
29840
  payload?: import("../integrations/supabase/types").Json;
@@ -28556,6 +29855,8 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
28556
29855
  user_id?: string;
28557
29856
  };
28558
29857
  Update: {
29858
+ attempt_log?: import("../integrations/supabase/types").Json;
29859
+ attempts?: number;
28559
29860
  buffer_ref?: string | null;
28560
29861
  claimed_at?: string | null;
28561
29862
  claimed_by?: string | null;
@@ -28565,6 +29866,8 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
28565
29866
  due_at?: string | null;
28566
29867
  error?: string | null;
28567
29868
  id?: string;
29869
+ last_error?: string | null;
29870
+ next_attempt_at?: string | null;
28568
29871
  order_ref?: string;
28569
29872
  owner_module?: string;
28570
29873
  payload?: import("../integrations/supabase/types").Json;
@@ -29914,6 +31217,7 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
29914
31217
  };
29915
31218
  offer_settings: {
29916
31219
  Row: {
31220
+ brand_name: string | null;
29917
31221
  button_color: string;
29918
31222
  created_at: string;
29919
31223
  default_countries: string[];
@@ -29935,6 +31239,7 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
29935
31239
  updated_at: string;
29936
31240
  };
29937
31241
  Insert: {
31242
+ brand_name?: string | null;
29938
31243
  button_color?: string;
29939
31244
  created_at?: string;
29940
31245
  default_countries?: string[];
@@ -29956,6 +31261,7 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
29956
31261
  updated_at?: string;
29957
31262
  };
29958
31263
  Update: {
31264
+ brand_name?: string | null;
29959
31265
  button_color?: string;
29960
31266
  created_at?: string;
29961
31267
  default_countries?: string[];
@@ -37566,6 +38872,85 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
37566
38872
  };
37567
38873
  Returns: import("../integrations/supabase/types").Json;
37568
38874
  };
38875
+ claim_floriday_stock_queue: {
38876
+ Args: {
38877
+ p_limit?: number;
38878
+ p_worker?: string;
38879
+ };
38880
+ Returns: {
38881
+ attempts: number;
38882
+ connection_id: string;
38883
+ created_at: string;
38884
+ desired_available: boolean | null;
38885
+ gateway_attempt_id: string | null;
38886
+ id: string;
38887
+ last_error: string | null;
38888
+ locked_at: string | null;
38889
+ locked_by: string | null;
38890
+ next_attempt_at: string;
38891
+ number_of_pieces: number;
38892
+ sent_at: string | null;
38893
+ status: string;
38894
+ superseded_by: string | null;
38895
+ trade_item_id: string;
38896
+ updated_at: string;
38897
+ user_id: string;
38898
+ }[];
38899
+ SetofOptions: {
38900
+ from: "*";
38901
+ to: "floriday_continuous_stock_queue";
38902
+ isOneToOne: false;
38903
+ isSetofReturn: true;
38904
+ };
38905
+ };
38906
+ claim_logistics_tasks: {
38907
+ Args: {
38908
+ _limit?: number;
38909
+ _owner_module: string;
38910
+ _stale_minutes?: number;
38911
+ _task_type: string;
38912
+ _worker: string;
38913
+ };
38914
+ Returns: {
38915
+ attempt_log: import("../integrations/supabase/types").Json;
38916
+ attempts: number;
38917
+ buffer_ref: string | null;
38918
+ claimed_at: string | null;
38919
+ claimed_by: string | null;
38920
+ completed_at: string | null;
38921
+ created_at: string;
38922
+ depends_on: string[];
38923
+ due_at: string | null;
38924
+ error: string | null;
38925
+ id: string;
38926
+ last_error: string | null;
38927
+ next_attempt_at: string | null;
38928
+ order_ref: string;
38929
+ owner_module: string;
38930
+ payload: import("../integrations/supabase/types").Json;
38931
+ plan_run_id: string | null;
38932
+ planned_end: string | null;
38933
+ planned_start: string | null;
38934
+ priority: number;
38935
+ result: import("../integrations/supabase/types").Json | null;
38936
+ rule_config_id: string | null;
38937
+ rule_version: number | null;
38938
+ sequence: number;
38939
+ shadow: boolean;
38940
+ started_at: string | null;
38941
+ status: string;
38942
+ strategy_id: string | null;
38943
+ task_type: string;
38944
+ updated_at: string;
38945
+ user_id: string;
38946
+ }[];
38947
+ SetofOptions: {
38948
+ from: "*";
38949
+ to: "logistics_tasks";
38950
+ isOneToOne: false;
38951
+ isSetofReturn: true;
38952
+ };
38953
+ };
37569
38954
  claim_print_jobs: {
37570
38955
  Args: {
37571
38956
  _agent_id: string;
@@ -37630,10 +39015,24 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
37630
39015
  isSetofReturn: true;
37631
39016
  };
37632
39017
  };
39018
+ cleanup_floriday_stock_queue: {
39019
+ Args: never;
39020
+ Returns: undefined;
39021
+ };
37633
39022
  cleanup_old_bookings: {
37634
39023
  Args: never;
37635
39024
  Returns: undefined;
37636
39025
  };
39026
+ complete_floriday_stock_queue: {
39027
+ Args: {
39028
+ p_attempt_id?: string;
39029
+ p_error?: string;
39030
+ p_id: string;
39031
+ p_ok: boolean;
39032
+ p_permanent?: boolean;
39033
+ };
39034
+ Returns: undefined;
39035
+ };
37637
39036
  consume_bom_for_production: {
37638
39037
  Args: {
37639
39038
  p_connection_id: string;
@@ -37806,6 +39205,21 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
37806
39205
  Args: never;
37807
39206
  Returns: string;
37808
39207
  };
39208
+ exact_auth_consume_calls: {
39209
+ Args: {
39210
+ _account_key: string;
39211
+ _calls?: number;
39212
+ _day_limit?: number;
39213
+ _division_code: number;
39214
+ _environment: string;
39215
+ _minute_limit?: number;
39216
+ };
39217
+ Returns: import("../integrations/supabase/types").Json;
39218
+ };
39219
+ exact_auth_prune_sync_log: {
39220
+ Args: never;
39221
+ Returns: undefined;
39222
+ };
37809
39223
  exact_decrypt: {
37810
39224
  Args: {
37811
39225
  cipher: string;
@@ -38015,6 +39429,10 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
38015
39429
  };
38016
39430
  Returns: number;
38017
39431
  };
39432
+ get_offer_branding: {
39433
+ Args: never;
39434
+ Returns: import("../integrations/supabase/types").Json;
39435
+ };
38018
39436
  get_offer_by_link_code: {
38019
39437
  Args: {
38020
39438
  p_code: string;
@@ -38306,6 +39724,8 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
38306
39724
  p_worker?: string;
38307
39725
  };
38308
39726
  Returns: {
39727
+ attempt_log: import("../integrations/supabase/types").Json;
39728
+ attempts: number;
38309
39729
  buffer_ref: string | null;
38310
39730
  claimed_at: string | null;
38311
39731
  claimed_by: string | null;
@@ -38315,6 +39735,8 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
38315
39735
  due_at: string | null;
38316
39736
  error: string | null;
38317
39737
  id: string;
39738
+ last_error: string | null;
39739
+ next_attempt_at: string | null;
38318
39740
  order_ref: string;
38319
39741
  owner_module: string;
38320
39742
  payload: import("../integrations/supabase/types").Json;
@@ -38347,6 +39769,8 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
38347
39769
  p_worker?: string;
38348
39770
  };
38349
39771
  Returns: {
39772
+ attempt_log: import("../integrations/supabase/types").Json;
39773
+ attempts: number;
38350
39774
  buffer_ref: string | null;
38351
39775
  claimed_at: string | null;
38352
39776
  claimed_by: string | null;
@@ -38356,6 +39780,8 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
38356
39780
  due_at: string | null;
38357
39781
  error: string | null;
38358
39782
  id: string;
39783
+ last_error: string | null;
39784
+ next_attempt_at: string | null;
38359
39785
  order_ref: string;
38360
39786
  owner_module: string;
38361
39787
  payload: import("../integrations/supabase/types").Json;
@@ -38388,6 +39814,8 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
38388
39814
  p_task_id: string;
38389
39815
  };
38390
39816
  Returns: {
39817
+ attempt_log: import("../integrations/supabase/types").Json;
39818
+ attempts: number;
38391
39819
  buffer_ref: string | null;
38392
39820
  claimed_at: string | null;
38393
39821
  claimed_by: string | null;
@@ -38397,6 +39825,8 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
38397
39825
  due_at: string | null;
38398
39826
  error: string | null;
38399
39827
  id: string;
39828
+ last_error: string | null;
39829
+ next_attempt_at: string | null;
38400
39830
  order_ref: string;
38401
39831
  owner_module: string;
38402
39832
  payload: import("../integrations/supabase/types").Json;
@@ -38478,6 +39908,8 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
38478
39908
  p_task_id: string;
38479
39909
  };
38480
39910
  Returns: {
39911
+ attempt_log: import("../integrations/supabase/types").Json;
39912
+ attempts: number;
38481
39913
  buffer_ref: string | null;
38482
39914
  claimed_at: string | null;
38483
39915
  claimed_by: string | null;
@@ -38487,6 +39919,8 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
38487
39919
  due_at: string | null;
38488
39920
  error: string | null;
38489
39921
  id: string;
39922
+ last_error: string | null;
39923
+ next_attempt_at: string | null;
38490
39924
  order_ref: string;
38491
39925
  owner_module: string;
38492
39926
  payload: import("../integrations/supabase/types").Json;
@@ -38513,6 +39947,51 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
38513
39947
  isSetofReturn: false;
38514
39948
  };
38515
39949
  };
39950
+ logistics_floriday_claim_pushes: {
39951
+ Args: {
39952
+ _lease_seconds?: number;
39953
+ _limit?: number;
39954
+ _worker?: string;
39955
+ };
39956
+ Returns: {
39957
+ attempts: number;
39958
+ fulfillment_order_id: string;
39959
+ id: string;
39960
+ last_sent_hash: string;
39961
+ order_ref: string;
39962
+ payload: import("../integrations/supabase/types").Json;
39963
+ payload_hash: string;
39964
+ revision: number;
39965
+ }[];
39966
+ };
39967
+ logistics_floriday_finish_push: {
39968
+ Args: {
39969
+ _error?: string;
39970
+ _fulfillment_order_id?: string;
39971
+ _id: string;
39972
+ _max_age_hours?: number;
39973
+ _max_attempts?: number;
39974
+ _ok: boolean;
39975
+ _permanent?: boolean;
39976
+ _revision: number;
39977
+ _sent_hash?: string;
39978
+ };
39979
+ Returns: string;
39980
+ };
39981
+ logistics_floriday_prune_pushes: {
39982
+ Args: {
39983
+ _days?: number;
39984
+ };
39985
+ Returns: number;
39986
+ };
39987
+ logistics_floriday_queue_push: {
39988
+ Args: {
39989
+ _order_ref: string;
39990
+ _payload?: import("../integrations/supabase/types").Json;
39991
+ _payload_hash?: string;
39992
+ };
39993
+ Returns: string;
39994
+ };
38516
39995
  logistics_live_carriers: {
38517
39996
  Args: {
38518
39997
  p_order_ref: string;
@@ -39240,6 +40719,10 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
39240
40719
  Args: never;
39241
40720
  Returns: undefined;
39242
40721
  };
40722
+ run_logistics_tasks_dispatch: {
40723
+ Args: never;
40724
+ Returns: undefined;
40725
+ };
39243
40726
  run_twinfield_queue_tick: {
39244
40727
  Args: never;
39245
40728
  Returns: undefined;
@@ -39480,6 +40963,13 @@ export declare const adoptTwinfieldCustomer: import("@tanstack/start-client-core
39480
40963
  };
39481
40964
  Returns: number;
39482
40965
  };
40966
+ schedule_floriday_stock_queue_process: {
40967
+ Args: {
40968
+ p_apikey: string;
40969
+ p_url: string;
40970
+ };
40971
+ Returns: number;
40972
+ };
39483
40973
  schedule_floriday_token_refresh: {
39484
40974
  Args: {
39485
40975
  p_apikey: string;