@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
@@ -3535,6 +3535,474 @@ export declare const getCustomerNote: import("@tanstack/start-client-core").Opti
3535
3535
  referencedColumns: ["id"];
3536
3536
  }];
3537
3537
  };
3538
+ exact_auth_call_budget: {
3539
+ Row: {
3540
+ account_key: string;
3541
+ day_count: number;
3542
+ day_date: string;
3543
+ division_code: number;
3544
+ environment: string;
3545
+ minute_count: number;
3546
+ minute_window: string;
3547
+ updated_at: string;
3548
+ };
3549
+ Insert: {
3550
+ account_key?: string;
3551
+ day_count?: number;
3552
+ day_date?: string;
3553
+ division_code?: number;
3554
+ environment: string;
3555
+ minute_count?: number;
3556
+ minute_window?: string;
3557
+ updated_at?: string;
3558
+ };
3559
+ Update: {
3560
+ account_key?: string;
3561
+ day_count?: number;
3562
+ day_date?: string;
3563
+ division_code?: number;
3564
+ environment?: string;
3565
+ minute_count?: number;
3566
+ minute_window?: string;
3567
+ updated_at?: string;
3568
+ };
3569
+ Relationships: [];
3570
+ };
3571
+ exact_auth_customers: {
3572
+ Row: {
3573
+ account_key: string;
3574
+ address_line1: string | null;
3575
+ chamber_of_commerce: string | null;
3576
+ city: string | null;
3577
+ code: string | null;
3578
+ country: string | null;
3579
+ created_at: string;
3580
+ currency: string | null;
3581
+ division_code: number | null;
3582
+ email: string | null;
3583
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3584
+ exact_id: string;
3585
+ exact_modified: string | null;
3586
+ exact_timestamp: number | null;
3587
+ id: string;
3588
+ is_active: boolean;
3589
+ name: string | null;
3590
+ phone: string | null;
3591
+ postcode: string | null;
3592
+ raw: import("../integrations/supabase/types").Json | null;
3593
+ status: string | null;
3594
+ updated_at: string;
3595
+ vat_number: string | null;
3596
+ website: string | null;
3597
+ };
3598
+ Insert: {
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
+ Update: {
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
+ Relationships: [];
3651
+ };
3652
+ exact_auth_divisions: {
3653
+ Row: {
3654
+ account_key: string;
3655
+ company_name: string | null;
3656
+ created_at: string;
3657
+ division_code: number | null;
3658
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3659
+ id: string;
3660
+ last_synced_at: string | null;
3661
+ updated_at: string;
3662
+ };
3663
+ Insert: {
3664
+ account_key?: string;
3665
+ company_name?: string | null;
3666
+ created_at?: string;
3667
+ division_code?: number | null;
3668
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3669
+ id?: string;
3670
+ last_synced_at?: string | null;
3671
+ updated_at?: string;
3672
+ };
3673
+ Update: {
3674
+ account_key?: string;
3675
+ company_name?: string | null;
3676
+ created_at?: string;
3677
+ division_code?: number | null;
3678
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3679
+ id?: string;
3680
+ last_synced_at?: string | null;
3681
+ updated_at?: string;
3682
+ };
3683
+ Relationships: [];
3684
+ };
3685
+ exact_auth_invoice_lines: {
3686
+ Row: {
3687
+ account_key: string;
3688
+ amount_excl: number | null;
3689
+ created_at: string;
3690
+ description: string | null;
3691
+ discount: number | null;
3692
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3693
+ exact_id: string;
3694
+ exact_timestamp: number | null;
3695
+ id: string;
3696
+ invoice_exact_id: string;
3697
+ item_code: string | null;
3698
+ item_exact_id: string | null;
3699
+ line_number: number | null;
3700
+ quantity: number | null;
3701
+ raw: import("../integrations/supabase/types").Json | null;
3702
+ unit_price: number | null;
3703
+ updated_at: string;
3704
+ vat_amount: number | null;
3705
+ vat_code: string | null;
3706
+ };
3707
+ Insert: {
3708
+ account_key?: string;
3709
+ amount_excl?: number | null;
3710
+ created_at?: string;
3711
+ description?: string | null;
3712
+ discount?: number | null;
3713
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3714
+ exact_id: string;
3715
+ exact_timestamp?: number | null;
3716
+ id?: string;
3717
+ invoice_exact_id: string;
3718
+ item_code?: string | null;
3719
+ item_exact_id?: string | null;
3720
+ line_number?: number | null;
3721
+ quantity?: number | null;
3722
+ raw?: import("../integrations/supabase/types").Json | null;
3723
+ unit_price?: number | null;
3724
+ updated_at?: string;
3725
+ vat_amount?: number | null;
3726
+ vat_code?: string | null;
3727
+ };
3728
+ Update: {
3729
+ account_key?: string;
3730
+ amount_excl?: number | null;
3731
+ created_at?: string;
3732
+ description?: string | null;
3733
+ discount?: number | null;
3734
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3735
+ exact_id?: string;
3736
+ exact_timestamp?: number | null;
3737
+ id?: string;
3738
+ invoice_exact_id?: string;
3739
+ item_code?: string | null;
3740
+ item_exact_id?: string | null;
3741
+ line_number?: number | null;
3742
+ quantity?: number | null;
3743
+ raw?: import("../integrations/supabase/types").Json | null;
3744
+ unit_price?: number | null;
3745
+ updated_at?: string;
3746
+ vat_amount?: number | null;
3747
+ vat_code?: string | null;
3748
+ };
3749
+ Relationships: [];
3750
+ };
3751
+ exact_auth_invoices: {
3752
+ Row: {
3753
+ account_key: string;
3754
+ amount_excl: number | null;
3755
+ amount_incl: number | null;
3756
+ amount_open: number | null;
3757
+ created_at: string;
3758
+ currency: string | null;
3759
+ customer_code: string | null;
3760
+ customer_exact_id: string | null;
3761
+ customer_name: string | null;
3762
+ description: string | null;
3763
+ division_code: number | null;
3764
+ due_date: string | null;
3765
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3766
+ exact_id: string;
3767
+ exact_modified: string | null;
3768
+ exact_timestamp: number | null;
3769
+ id: string;
3770
+ invoice_date: string | null;
3771
+ invoice_number: string | null;
3772
+ order_number: string | null;
3773
+ paid_at: string | null;
3774
+ payment_status: string;
3775
+ raw: import("../integrations/supabase/types").Json | null;
3776
+ receivable_synced_at: string | null;
3777
+ status_code: number | null;
3778
+ updated_at: string;
3779
+ };
3780
+ Insert: {
3781
+ account_key?: string;
3782
+ amount_excl?: number | null;
3783
+ amount_incl?: number | null;
3784
+ amount_open?: number | null;
3785
+ created_at?: string;
3786
+ currency?: string | null;
3787
+ customer_code?: string | null;
3788
+ customer_exact_id?: string | null;
3789
+ customer_name?: string | null;
3790
+ description?: string | null;
3791
+ division_code?: number | null;
3792
+ due_date?: string | null;
3793
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3794
+ exact_id: string;
3795
+ exact_modified?: string | null;
3796
+ exact_timestamp?: number | null;
3797
+ id?: string;
3798
+ invoice_date?: string | null;
3799
+ invoice_number?: string | null;
3800
+ order_number?: string | null;
3801
+ paid_at?: string | null;
3802
+ payment_status?: string;
3803
+ raw?: import("../integrations/supabase/types").Json | null;
3804
+ receivable_synced_at?: string | null;
3805
+ status_code?: number | null;
3806
+ updated_at?: string;
3807
+ };
3808
+ Update: {
3809
+ account_key?: string;
3810
+ amount_excl?: number | null;
3811
+ amount_incl?: number | null;
3812
+ amount_open?: number | null;
3813
+ created_at?: string;
3814
+ currency?: string | null;
3815
+ customer_code?: string | null;
3816
+ customer_exact_id?: string | null;
3817
+ customer_name?: string | null;
3818
+ description?: string | null;
3819
+ division_code?: number | null;
3820
+ due_date?: string | null;
3821
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3822
+ exact_id?: string;
3823
+ exact_modified?: string | null;
3824
+ exact_timestamp?: number | null;
3825
+ id?: string;
3826
+ invoice_date?: string | null;
3827
+ invoice_number?: string | null;
3828
+ order_number?: string | null;
3829
+ paid_at?: string | null;
3830
+ payment_status?: string;
3831
+ raw?: import("../integrations/supabase/types").Json | null;
3832
+ receivable_synced_at?: string | null;
3833
+ status_code?: number | null;
3834
+ updated_at?: string;
3835
+ };
3836
+ Relationships: [];
3837
+ };
3838
+ exact_auth_items: {
3839
+ Row: {
3840
+ account_key: string;
3841
+ barcode: string | null;
3842
+ code: string | null;
3843
+ cost_price: number | null;
3844
+ created_at: string;
3845
+ description: string | null;
3846
+ division_code: number | 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
+ gl_account_code: string | null;
3852
+ id: string;
3853
+ is_active: boolean;
3854
+ is_sales_item: boolean | null;
3855
+ item_type: string | null;
3856
+ raw: import("../integrations/supabase/types").Json | null;
3857
+ sales_price: number | null;
3858
+ unit: string | null;
3859
+ updated_at: string;
3860
+ vat_code: string | null;
3861
+ };
3862
+ Insert: {
3863
+ account_key?: string;
3864
+ barcode?: string | null;
3865
+ code?: string | null;
3866
+ cost_price?: number | null;
3867
+ created_at?: string;
3868
+ description?: string | null;
3869
+ division_code?: number | null;
3870
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3871
+ exact_id: string;
3872
+ exact_modified?: string | null;
3873
+ exact_timestamp?: number | null;
3874
+ gl_account_code?: string | null;
3875
+ id?: string;
3876
+ is_active?: boolean;
3877
+ is_sales_item?: boolean | null;
3878
+ item_type?: string | null;
3879
+ raw?: import("../integrations/supabase/types").Json | null;
3880
+ sales_price?: number | null;
3881
+ unit?: string | null;
3882
+ updated_at?: string;
3883
+ vat_code?: string | null;
3884
+ };
3885
+ Update: {
3886
+ account_key?: string;
3887
+ barcode?: string | null;
3888
+ code?: string | null;
3889
+ cost_price?: number | null;
3890
+ created_at?: string;
3891
+ description?: string | null;
3892
+ division_code?: number | null;
3893
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3894
+ exact_id?: string;
3895
+ exact_modified?: string | null;
3896
+ exact_timestamp?: number | null;
3897
+ gl_account_code?: string | null;
3898
+ id?: string;
3899
+ is_active?: boolean;
3900
+ is_sales_item?: boolean | null;
3901
+ item_type?: string | null;
3902
+ raw?: import("../integrations/supabase/types").Json | null;
3903
+ sales_price?: number | null;
3904
+ unit?: string | null;
3905
+ updated_at?: string;
3906
+ vat_code?: string | null;
3907
+ };
3908
+ Relationships: [];
3909
+ };
3910
+ exact_auth_sync_log: {
3911
+ Row: {
3912
+ account_key: string;
3913
+ calls_used: number;
3914
+ created_at: string;
3915
+ domain: string;
3916
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3917
+ error: string | null;
3918
+ finished_at: string | null;
3919
+ id: string;
3920
+ ok: boolean;
3921
+ records: number;
3922
+ started_at: string;
3923
+ };
3924
+ Insert: {
3925
+ account_key?: string;
3926
+ calls_used?: number;
3927
+ created_at?: string;
3928
+ domain: string;
3929
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3930
+ error?: string | null;
3931
+ finished_at?: string | null;
3932
+ id?: string;
3933
+ ok?: boolean;
3934
+ records?: number;
3935
+ started_at?: string;
3936
+ };
3937
+ Update: {
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
+ Relationships: [];
3951
+ };
3952
+ exact_auth_sync_state: {
3953
+ Row: {
3954
+ account_key: string;
3955
+ created_at: string;
3956
+ cursor_timestamp: number;
3957
+ division_code: number | null;
3958
+ domain: string;
3959
+ duration_ms: number | null;
3960
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3961
+ initial_sync_done: boolean;
3962
+ last_error: string | null;
3963
+ last_run_at: string | null;
3964
+ last_success_at: string | null;
3965
+ locked_at: string | null;
3966
+ needs_initial_sync: boolean;
3967
+ record_count: number;
3968
+ updated_at: string;
3969
+ };
3970
+ Insert: {
3971
+ account_key?: string;
3972
+ created_at?: string;
3973
+ cursor_timestamp?: number;
3974
+ division_code?: number | null;
3975
+ domain: string;
3976
+ duration_ms?: number | null;
3977
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3978
+ initial_sync_done?: boolean;
3979
+ last_error?: string | null;
3980
+ last_run_at?: string | null;
3981
+ last_success_at?: string | null;
3982
+ locked_at?: string | null;
3983
+ needs_initial_sync?: boolean;
3984
+ record_count?: number;
3985
+ updated_at?: string;
3986
+ };
3987
+ Update: {
3988
+ account_key?: string;
3989
+ created_at?: string;
3990
+ cursor_timestamp?: number;
3991
+ division_code?: number | null;
3992
+ domain?: string;
3993
+ duration_ms?: number | null;
3994
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3995
+ initial_sync_done?: boolean;
3996
+ last_error?: string | null;
3997
+ last_run_at?: string | null;
3998
+ last_success_at?: string | null;
3999
+ locked_at?: string | null;
4000
+ needs_initial_sync?: boolean;
4001
+ record_count?: number;
4002
+ updated_at?: string;
4003
+ };
4004
+ Relationships: [];
4005
+ };
3538
4006
  exact_bulk_operation_items: {
3539
4007
  Row: {
3540
4008
  attempts: number;
@@ -5226,12 +5694,17 @@ export declare const getCustomerNote: import("@tanstack/start-client-core").Opti
5226
5694
  attempts: number;
5227
5695
  connection_id: string;
5228
5696
  created_at: string;
5697
+ desired_available: boolean | null;
5229
5698
  gateway_attempt_id: string | null;
5230
5699
  id: string;
5231
5700
  last_error: string | null;
5701
+ locked_at: string | null;
5702
+ locked_by: string | null;
5703
+ next_attempt_at: string;
5232
5704
  number_of_pieces: number;
5233
5705
  sent_at: string | null;
5234
5706
  status: string;
5707
+ superseded_by: string | null;
5235
5708
  trade_item_id: string;
5236
5709
  updated_at: string;
5237
5710
  user_id: string;
@@ -5240,12 +5713,17 @@ export declare const getCustomerNote: import("@tanstack/start-client-core").Opti
5240
5713
  attempts?: number;
5241
5714
  connection_id: string;
5242
5715
  created_at?: string;
5716
+ desired_available?: boolean | null;
5243
5717
  gateway_attempt_id?: string | null;
5244
5718
  id?: string;
5245
5719
  last_error?: string | null;
5720
+ locked_at?: string | null;
5721
+ locked_by?: string | null;
5722
+ next_attempt_at?: string;
5246
5723
  number_of_pieces?: number;
5247
5724
  sent_at?: string | null;
5248
5725
  status?: string;
5726
+ superseded_by?: string | null;
5249
5727
  trade_item_id: string;
5250
5728
  updated_at?: string;
5251
5729
  user_id: string;
@@ -5254,12 +5732,17 @@ export declare const getCustomerNote: import("@tanstack/start-client-core").Opti
5254
5732
  attempts?: number;
5255
5733
  connection_id?: string;
5256
5734
  created_at?: string;
5735
+ desired_available?: boolean | null;
5257
5736
  gateway_attempt_id?: string | null;
5258
5737
  id?: string;
5259
5738
  last_error?: string | null;
5739
+ locked_at?: string | null;
5740
+ locked_by?: string | null;
5741
+ next_attempt_at?: string;
5260
5742
  number_of_pieces?: number;
5261
5743
  sent_at?: string | null;
5262
5744
  status?: string;
5745
+ superseded_by?: string | null;
5263
5746
  trade_item_id?: string;
5264
5747
  updated_at?: string;
5265
5748
  user_id?: string;
@@ -8008,6 +8491,69 @@ export declare const getCustomerNote: import("@tanstack/start-client-core").Opti
8008
8491
  };
8009
8492
  Relationships: [];
8010
8493
  };
8494
+ logistics_floriday_pushes: {
8495
+ Row: {
8496
+ attempts: number;
8497
+ created_at: string;
8498
+ first_queued_at: string;
8499
+ fulfillment_order_id: string | null;
8500
+ id: string;
8501
+ last_error: string | null;
8502
+ last_error_at: string | null;
8503
+ last_sent_hash: string | null;
8504
+ locked_by: string | null;
8505
+ locked_until: string | null;
8506
+ next_attempt_at: string;
8507
+ order_ref: string;
8508
+ payload: import("../integrations/supabase/types").Json;
8509
+ payload_hash: string | null;
8510
+ revision: number;
8511
+ sent_at: string | null;
8512
+ status: string;
8513
+ updated_at: string;
8514
+ };
8515
+ Insert: {
8516
+ attempts?: number;
8517
+ created_at?: string;
8518
+ first_queued_at?: string;
8519
+ fulfillment_order_id?: string | null;
8520
+ id?: string;
8521
+ last_error?: string | null;
8522
+ last_error_at?: string | null;
8523
+ last_sent_hash?: string | null;
8524
+ locked_by?: string | null;
8525
+ locked_until?: string | null;
8526
+ next_attempt_at?: string;
8527
+ order_ref: string;
8528
+ payload?: import("../integrations/supabase/types").Json;
8529
+ payload_hash?: string | null;
8530
+ revision?: number;
8531
+ sent_at?: string | null;
8532
+ status?: string;
8533
+ updated_at?: string;
8534
+ };
8535
+ Update: {
8536
+ attempts?: number;
8537
+ created_at?: string;
8538
+ first_queued_at?: string;
8539
+ fulfillment_order_id?: string | null;
8540
+ id?: string;
8541
+ last_error?: string | null;
8542
+ last_error_at?: string | null;
8543
+ last_sent_hash?: string | null;
8544
+ locked_by?: string | null;
8545
+ locked_until?: string | null;
8546
+ next_attempt_at?: string;
8547
+ order_ref?: string;
8548
+ payload?: import("../integrations/supabase/types").Json;
8549
+ payload_hash?: string | null;
8550
+ revision?: number;
8551
+ sent_at?: string | null;
8552
+ status?: string;
8553
+ updated_at?: string;
8554
+ };
8555
+ Relationships: [];
8556
+ };
8011
8557
  logistics_formulas: {
8012
8558
  Row: {
8013
8559
  created_at: string;
@@ -8619,6 +9165,8 @@ export declare const getCustomerNote: import("@tanstack/start-client-core").Opti
8619
9165
  };
8620
9166
  logistics_tasks: {
8621
9167
  Row: {
9168
+ attempt_log: import("../integrations/supabase/types").Json;
9169
+ attempts: number;
8622
9170
  buffer_ref: string | null;
8623
9171
  claimed_at: string | null;
8624
9172
  claimed_by: string | null;
@@ -8628,6 +9176,8 @@ export declare const getCustomerNote: import("@tanstack/start-client-core").Opti
8628
9176
  due_at: string | null;
8629
9177
  error: string | null;
8630
9178
  id: string;
9179
+ last_error: string | null;
9180
+ next_attempt_at: string | null;
8631
9181
  order_ref: string;
8632
9182
  owner_module: string;
8633
9183
  payload: import("../integrations/supabase/types").Json;
@@ -8648,6 +9198,8 @@ export declare const getCustomerNote: import("@tanstack/start-client-core").Opti
8648
9198
  user_id: string;
8649
9199
  };
8650
9200
  Insert: {
9201
+ attempt_log?: import("../integrations/supabase/types").Json;
9202
+ attempts?: number;
8651
9203
  buffer_ref?: string | null;
8652
9204
  claimed_at?: string | null;
8653
9205
  claimed_by?: string | null;
@@ -8657,6 +9209,8 @@ export declare const getCustomerNote: import("@tanstack/start-client-core").Opti
8657
9209
  due_at?: string | null;
8658
9210
  error?: string | null;
8659
9211
  id?: string;
9212
+ last_error?: string | null;
9213
+ next_attempt_at?: string | null;
8660
9214
  order_ref: string;
8661
9215
  owner_module: string;
8662
9216
  payload?: import("../integrations/supabase/types").Json;
@@ -8677,6 +9231,8 @@ export declare const getCustomerNote: import("@tanstack/start-client-core").Opti
8677
9231
  user_id?: string;
8678
9232
  };
8679
9233
  Update: {
9234
+ attempt_log?: import("../integrations/supabase/types").Json;
9235
+ attempts?: number;
8680
9236
  buffer_ref?: string | null;
8681
9237
  claimed_at?: string | null;
8682
9238
  claimed_by?: string | null;
@@ -8686,6 +9242,8 @@ export declare const getCustomerNote: import("@tanstack/start-client-core").Opti
8686
9242
  due_at?: string | null;
8687
9243
  error?: string | null;
8688
9244
  id?: string;
9245
+ last_error?: string | null;
9246
+ next_attempt_at?: string | null;
8689
9247
  order_ref?: string;
8690
9248
  owner_module?: string;
8691
9249
  payload?: import("../integrations/supabase/types").Json;
@@ -10035,6 +10593,7 @@ export declare const getCustomerNote: import("@tanstack/start-client-core").Opti
10035
10593
  };
10036
10594
  offer_settings: {
10037
10595
  Row: {
10596
+ brand_name: string | null;
10038
10597
  button_color: string;
10039
10598
  created_at: string;
10040
10599
  default_countries: string[];
@@ -10056,6 +10615,7 @@ export declare const getCustomerNote: import("@tanstack/start-client-core").Opti
10056
10615
  updated_at: string;
10057
10616
  };
10058
10617
  Insert: {
10618
+ brand_name?: string | null;
10059
10619
  button_color?: string;
10060
10620
  created_at?: string;
10061
10621
  default_countries?: string[];
@@ -10077,6 +10637,7 @@ export declare const getCustomerNote: import("@tanstack/start-client-core").Opti
10077
10637
  updated_at?: string;
10078
10638
  };
10079
10639
  Update: {
10640
+ brand_name?: string | null;
10080
10641
  button_color?: string;
10081
10642
  created_at?: string;
10082
10643
  default_countries?: string[];
@@ -17687,6 +18248,85 @@ export declare const getCustomerNote: import("@tanstack/start-client-core").Opti
17687
18248
  };
17688
18249
  Returns: import("../integrations/supabase/types").Json;
17689
18250
  };
18251
+ claim_floriday_stock_queue: {
18252
+ Args: {
18253
+ p_limit?: number;
18254
+ p_worker?: string;
18255
+ };
18256
+ Returns: {
18257
+ attempts: number;
18258
+ connection_id: string;
18259
+ created_at: string;
18260
+ desired_available: boolean | null;
18261
+ gateway_attempt_id: string | null;
18262
+ id: string;
18263
+ last_error: string | null;
18264
+ locked_at: string | null;
18265
+ locked_by: string | null;
18266
+ next_attempt_at: string;
18267
+ number_of_pieces: number;
18268
+ sent_at: string | null;
18269
+ status: string;
18270
+ superseded_by: string | null;
18271
+ trade_item_id: string;
18272
+ updated_at: string;
18273
+ user_id: string;
18274
+ }[];
18275
+ SetofOptions: {
18276
+ from: "*";
18277
+ to: "floriday_continuous_stock_queue";
18278
+ isOneToOne: false;
18279
+ isSetofReturn: true;
18280
+ };
18281
+ };
18282
+ claim_logistics_tasks: {
18283
+ Args: {
18284
+ _limit?: number;
18285
+ _owner_module: string;
18286
+ _stale_minutes?: number;
18287
+ _task_type: string;
18288
+ _worker: string;
18289
+ };
18290
+ Returns: {
18291
+ attempt_log: import("../integrations/supabase/types").Json;
18292
+ attempts: number;
18293
+ buffer_ref: string | null;
18294
+ claimed_at: string | null;
18295
+ claimed_by: string | null;
18296
+ completed_at: string | null;
18297
+ created_at: string;
18298
+ depends_on: string[];
18299
+ due_at: string | null;
18300
+ error: string | null;
18301
+ id: string;
18302
+ last_error: string | null;
18303
+ next_attempt_at: string | null;
18304
+ order_ref: string;
18305
+ owner_module: string;
18306
+ payload: import("../integrations/supabase/types").Json;
18307
+ plan_run_id: string | null;
18308
+ planned_end: string | null;
18309
+ planned_start: string | null;
18310
+ priority: number;
18311
+ result: import("../integrations/supabase/types").Json | null;
18312
+ rule_config_id: string | null;
18313
+ rule_version: number | null;
18314
+ sequence: number;
18315
+ shadow: boolean;
18316
+ started_at: string | null;
18317
+ status: string;
18318
+ strategy_id: string | null;
18319
+ task_type: string;
18320
+ updated_at: string;
18321
+ user_id: string;
18322
+ }[];
18323
+ SetofOptions: {
18324
+ from: "*";
18325
+ to: "logistics_tasks";
18326
+ isOneToOne: false;
18327
+ isSetofReturn: true;
18328
+ };
18329
+ };
17690
18330
  claim_print_jobs: {
17691
18331
  Args: {
17692
18332
  _agent_id: string;
@@ -17751,10 +18391,24 @@ export declare const getCustomerNote: import("@tanstack/start-client-core").Opti
17751
18391
  isSetofReturn: true;
17752
18392
  };
17753
18393
  };
18394
+ cleanup_floriday_stock_queue: {
18395
+ Args: never;
18396
+ Returns: undefined;
18397
+ };
17754
18398
  cleanup_old_bookings: {
17755
18399
  Args: never;
17756
18400
  Returns: undefined;
17757
18401
  };
18402
+ complete_floriday_stock_queue: {
18403
+ Args: {
18404
+ p_attempt_id?: string;
18405
+ p_error?: string;
18406
+ p_id: string;
18407
+ p_ok: boolean;
18408
+ p_permanent?: boolean;
18409
+ };
18410
+ Returns: undefined;
18411
+ };
17758
18412
  consume_bom_for_production: {
17759
18413
  Args: {
17760
18414
  p_connection_id: string;
@@ -17927,6 +18581,21 @@ export declare const getCustomerNote: import("@tanstack/start-client-core").Opti
17927
18581
  Args: never;
17928
18582
  Returns: string;
17929
18583
  };
18584
+ exact_auth_consume_calls: {
18585
+ Args: {
18586
+ _account_key: string;
18587
+ _calls?: number;
18588
+ _day_limit?: number;
18589
+ _division_code: number;
18590
+ _environment: string;
18591
+ _minute_limit?: number;
18592
+ };
18593
+ Returns: import("../integrations/supabase/types").Json;
18594
+ };
18595
+ exact_auth_prune_sync_log: {
18596
+ Args: never;
18597
+ Returns: undefined;
18598
+ };
17930
18599
  exact_decrypt: {
17931
18600
  Args: {
17932
18601
  cipher: string;
@@ -18136,6 +18805,10 @@ export declare const getCustomerNote: import("@tanstack/start-client-core").Opti
18136
18805
  };
18137
18806
  Returns: number;
18138
18807
  };
18808
+ get_offer_branding: {
18809
+ Args: never;
18810
+ Returns: import("../integrations/supabase/types").Json;
18811
+ };
18139
18812
  get_offer_by_link_code: {
18140
18813
  Args: {
18141
18814
  p_code: string;
@@ -18427,6 +19100,8 @@ export declare const getCustomerNote: import("@tanstack/start-client-core").Opti
18427
19100
  p_worker?: string;
18428
19101
  };
18429
19102
  Returns: {
19103
+ attempt_log: import("../integrations/supabase/types").Json;
19104
+ attempts: number;
18430
19105
  buffer_ref: string | null;
18431
19106
  claimed_at: string | null;
18432
19107
  claimed_by: string | null;
@@ -18436,6 +19111,8 @@ export declare const getCustomerNote: import("@tanstack/start-client-core").Opti
18436
19111
  due_at: string | null;
18437
19112
  error: string | null;
18438
19113
  id: string;
19114
+ last_error: string | null;
19115
+ next_attempt_at: string | null;
18439
19116
  order_ref: string;
18440
19117
  owner_module: string;
18441
19118
  payload: import("../integrations/supabase/types").Json;
@@ -18468,6 +19145,8 @@ export declare const getCustomerNote: import("@tanstack/start-client-core").Opti
18468
19145
  p_worker?: string;
18469
19146
  };
18470
19147
  Returns: {
19148
+ attempt_log: import("../integrations/supabase/types").Json;
19149
+ attempts: number;
18471
19150
  buffer_ref: string | null;
18472
19151
  claimed_at: string | null;
18473
19152
  claimed_by: string | null;
@@ -18477,6 +19156,8 @@ export declare const getCustomerNote: import("@tanstack/start-client-core").Opti
18477
19156
  due_at: string | null;
18478
19157
  error: string | null;
18479
19158
  id: string;
19159
+ last_error: string | null;
19160
+ next_attempt_at: string | null;
18480
19161
  order_ref: string;
18481
19162
  owner_module: string;
18482
19163
  payload: import("../integrations/supabase/types").Json;
@@ -18509,6 +19190,8 @@ export declare const getCustomerNote: import("@tanstack/start-client-core").Opti
18509
19190
  p_task_id: string;
18510
19191
  };
18511
19192
  Returns: {
19193
+ attempt_log: import("../integrations/supabase/types").Json;
19194
+ attempts: number;
18512
19195
  buffer_ref: string | null;
18513
19196
  claimed_at: string | null;
18514
19197
  claimed_by: string | null;
@@ -18518,6 +19201,8 @@ export declare const getCustomerNote: import("@tanstack/start-client-core").Opti
18518
19201
  due_at: string | null;
18519
19202
  error: string | null;
18520
19203
  id: string;
19204
+ last_error: string | null;
19205
+ next_attempt_at: string | null;
18521
19206
  order_ref: string;
18522
19207
  owner_module: string;
18523
19208
  payload: import("../integrations/supabase/types").Json;
@@ -18599,6 +19284,8 @@ export declare const getCustomerNote: import("@tanstack/start-client-core").Opti
18599
19284
  p_task_id: string;
18600
19285
  };
18601
19286
  Returns: {
19287
+ attempt_log: import("../integrations/supabase/types").Json;
19288
+ attempts: number;
18602
19289
  buffer_ref: string | null;
18603
19290
  claimed_at: string | null;
18604
19291
  claimed_by: string | null;
@@ -18608,6 +19295,8 @@ export declare const getCustomerNote: import("@tanstack/start-client-core").Opti
18608
19295
  due_at: string | null;
18609
19296
  error: string | null;
18610
19297
  id: string;
19298
+ last_error: string | null;
19299
+ next_attempt_at: string | null;
18611
19300
  order_ref: string;
18612
19301
  owner_module: string;
18613
19302
  payload: import("../integrations/supabase/types").Json;
@@ -18634,6 +19323,51 @@ export declare const getCustomerNote: import("@tanstack/start-client-core").Opti
18634
19323
  isSetofReturn: false;
18635
19324
  };
18636
19325
  };
19326
+ logistics_floriday_claim_pushes: {
19327
+ Args: {
19328
+ _lease_seconds?: number;
19329
+ _limit?: number;
19330
+ _worker?: string;
19331
+ };
19332
+ Returns: {
19333
+ attempts: number;
19334
+ fulfillment_order_id: string;
19335
+ id: string;
19336
+ last_sent_hash: string;
19337
+ order_ref: string;
19338
+ payload: import("../integrations/supabase/types").Json;
19339
+ payload_hash: string;
19340
+ revision: number;
19341
+ }[];
19342
+ };
19343
+ logistics_floriday_finish_push: {
19344
+ Args: {
19345
+ _error?: string;
19346
+ _fulfillment_order_id?: string;
19347
+ _id: string;
19348
+ _max_age_hours?: number;
19349
+ _max_attempts?: number;
19350
+ _ok: boolean;
19351
+ _permanent?: boolean;
19352
+ _revision: number;
19353
+ _sent_hash?: string;
19354
+ };
19355
+ Returns: string;
19356
+ };
19357
+ logistics_floriday_prune_pushes: {
19358
+ Args: {
19359
+ _days?: number;
19360
+ };
19361
+ Returns: number;
19362
+ };
19363
+ logistics_floriday_queue_push: {
19364
+ Args: {
19365
+ _order_ref: string;
19366
+ _payload?: import("../integrations/supabase/types").Json;
19367
+ _payload_hash?: string;
19368
+ };
19369
+ Returns: string;
19370
+ };
18637
19371
  logistics_live_carriers: {
18638
19372
  Args: {
18639
19373
  p_order_ref: string;
@@ -19361,6 +20095,10 @@ export declare const getCustomerNote: import("@tanstack/start-client-core").Opti
19361
20095
  Args: never;
19362
20096
  Returns: undefined;
19363
20097
  };
20098
+ run_logistics_tasks_dispatch: {
20099
+ Args: never;
20100
+ Returns: undefined;
20101
+ };
19364
20102
  run_twinfield_queue_tick: {
19365
20103
  Args: never;
19366
20104
  Returns: undefined;
@@ -19601,6 +20339,13 @@ export declare const getCustomerNote: import("@tanstack/start-client-core").Opti
19601
20339
  };
19602
20340
  Returns: number;
19603
20341
  };
20342
+ schedule_floriday_stock_queue_process: {
20343
+ Args: {
20344
+ p_apikey: string;
20345
+ p_url: string;
20346
+ };
20347
+ Returns: number;
20348
+ };
19604
20349
  schedule_floriday_token_refresh: {
19605
20350
  Args: {
19606
20351
  p_apikey: string;
@@ -23353,6 +24098,474 @@ export declare const upsertCustomerNote: import("@tanstack/start-client-core").O
23353
24098
  referencedColumns: ["id"];
23354
24099
  }];
23355
24100
  };
24101
+ exact_auth_call_budget: {
24102
+ Row: {
24103
+ account_key: string;
24104
+ day_count: number;
24105
+ day_date: string;
24106
+ division_code: number;
24107
+ environment: string;
24108
+ minute_count: number;
24109
+ minute_window: string;
24110
+ updated_at: string;
24111
+ };
24112
+ Insert: {
24113
+ account_key?: string;
24114
+ day_count?: number;
24115
+ day_date?: string;
24116
+ division_code?: number;
24117
+ environment: string;
24118
+ minute_count?: number;
24119
+ minute_window?: string;
24120
+ updated_at?: string;
24121
+ };
24122
+ Update: {
24123
+ account_key?: string;
24124
+ day_count?: number;
24125
+ day_date?: string;
24126
+ division_code?: number;
24127
+ environment?: string;
24128
+ minute_count?: number;
24129
+ minute_window?: string;
24130
+ updated_at?: string;
24131
+ };
24132
+ Relationships: [];
24133
+ };
24134
+ exact_auth_customers: {
24135
+ Row: {
24136
+ account_key: string;
24137
+ address_line1: string | null;
24138
+ chamber_of_commerce: string | null;
24139
+ city: string | null;
24140
+ code: string | null;
24141
+ country: string | null;
24142
+ created_at: string;
24143
+ currency: string | null;
24144
+ division_code: number | null;
24145
+ email: string | null;
24146
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24147
+ exact_id: string;
24148
+ exact_modified: string | null;
24149
+ exact_timestamp: number | null;
24150
+ id: string;
24151
+ is_active: boolean;
24152
+ name: string | null;
24153
+ phone: string | null;
24154
+ postcode: string | null;
24155
+ raw: import("../integrations/supabase/types").Json | null;
24156
+ status: string | null;
24157
+ updated_at: string;
24158
+ vat_number: string | null;
24159
+ website: string | null;
24160
+ };
24161
+ Insert: {
24162
+ account_key?: string;
24163
+ address_line1?: string | null;
24164
+ chamber_of_commerce?: string | null;
24165
+ city?: string | null;
24166
+ code?: string | null;
24167
+ country?: string | null;
24168
+ created_at?: string;
24169
+ currency?: string | null;
24170
+ division_code?: number | null;
24171
+ email?: string | null;
24172
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24173
+ exact_id: string;
24174
+ exact_modified?: string | null;
24175
+ exact_timestamp?: number | null;
24176
+ id?: string;
24177
+ is_active?: boolean;
24178
+ name?: string | null;
24179
+ phone?: string | null;
24180
+ postcode?: string | null;
24181
+ raw?: import("../integrations/supabase/types").Json | null;
24182
+ status?: string | null;
24183
+ updated_at?: string;
24184
+ vat_number?: string | null;
24185
+ website?: string | null;
24186
+ };
24187
+ Update: {
24188
+ account_key?: string;
24189
+ address_line1?: string | null;
24190
+ chamber_of_commerce?: string | null;
24191
+ city?: string | null;
24192
+ code?: string | null;
24193
+ country?: string | null;
24194
+ created_at?: string;
24195
+ currency?: string | null;
24196
+ division_code?: number | null;
24197
+ email?: string | null;
24198
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24199
+ exact_id?: string;
24200
+ exact_modified?: string | null;
24201
+ exact_timestamp?: number | null;
24202
+ id?: string;
24203
+ is_active?: boolean;
24204
+ name?: string | null;
24205
+ phone?: string | null;
24206
+ postcode?: string | null;
24207
+ raw?: import("../integrations/supabase/types").Json | null;
24208
+ status?: string | null;
24209
+ updated_at?: string;
24210
+ vat_number?: string | null;
24211
+ website?: string | null;
24212
+ };
24213
+ Relationships: [];
24214
+ };
24215
+ exact_auth_divisions: {
24216
+ Row: {
24217
+ account_key: string;
24218
+ company_name: string | null;
24219
+ created_at: string;
24220
+ division_code: number | null;
24221
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24222
+ id: string;
24223
+ last_synced_at: string | null;
24224
+ updated_at: string;
24225
+ };
24226
+ Insert: {
24227
+ account_key?: string;
24228
+ company_name?: string | null;
24229
+ created_at?: string;
24230
+ division_code?: number | null;
24231
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24232
+ id?: string;
24233
+ last_synced_at?: string | null;
24234
+ updated_at?: string;
24235
+ };
24236
+ Update: {
24237
+ account_key?: string;
24238
+ company_name?: string | null;
24239
+ created_at?: string;
24240
+ division_code?: number | null;
24241
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24242
+ id?: string;
24243
+ last_synced_at?: string | null;
24244
+ updated_at?: string;
24245
+ };
24246
+ Relationships: [];
24247
+ };
24248
+ exact_auth_invoice_lines: {
24249
+ Row: {
24250
+ account_key: string;
24251
+ amount_excl: number | null;
24252
+ created_at: string;
24253
+ description: string | null;
24254
+ discount: number | null;
24255
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24256
+ exact_id: string;
24257
+ exact_timestamp: number | null;
24258
+ id: string;
24259
+ invoice_exact_id: string;
24260
+ item_code: string | null;
24261
+ item_exact_id: string | null;
24262
+ line_number: number | null;
24263
+ quantity: number | null;
24264
+ raw: import("../integrations/supabase/types").Json | null;
24265
+ unit_price: number | null;
24266
+ updated_at: string;
24267
+ vat_amount: number | null;
24268
+ vat_code: string | null;
24269
+ };
24270
+ Insert: {
24271
+ account_key?: string;
24272
+ amount_excl?: number | null;
24273
+ created_at?: string;
24274
+ description?: string | null;
24275
+ discount?: number | null;
24276
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24277
+ exact_id: string;
24278
+ exact_timestamp?: number | null;
24279
+ id?: string;
24280
+ invoice_exact_id: string;
24281
+ item_code?: string | null;
24282
+ item_exact_id?: string | null;
24283
+ line_number?: number | null;
24284
+ quantity?: number | null;
24285
+ raw?: import("../integrations/supabase/types").Json | null;
24286
+ unit_price?: number | null;
24287
+ updated_at?: string;
24288
+ vat_amount?: number | null;
24289
+ vat_code?: string | null;
24290
+ };
24291
+ Update: {
24292
+ account_key?: string;
24293
+ amount_excl?: number | null;
24294
+ created_at?: string;
24295
+ description?: string | null;
24296
+ discount?: number | null;
24297
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24298
+ exact_id?: string;
24299
+ exact_timestamp?: number | null;
24300
+ id?: string;
24301
+ invoice_exact_id?: string;
24302
+ item_code?: string | null;
24303
+ item_exact_id?: string | null;
24304
+ line_number?: number | null;
24305
+ quantity?: number | null;
24306
+ raw?: import("../integrations/supabase/types").Json | null;
24307
+ unit_price?: number | null;
24308
+ updated_at?: string;
24309
+ vat_amount?: number | null;
24310
+ vat_code?: string | null;
24311
+ };
24312
+ Relationships: [];
24313
+ };
24314
+ exact_auth_invoices: {
24315
+ Row: {
24316
+ account_key: string;
24317
+ amount_excl: number | null;
24318
+ amount_incl: number | null;
24319
+ amount_open: number | null;
24320
+ created_at: string;
24321
+ currency: string | null;
24322
+ customer_code: string | null;
24323
+ customer_exact_id: string | null;
24324
+ customer_name: string | null;
24325
+ description: string | null;
24326
+ division_code: number | null;
24327
+ due_date: string | null;
24328
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24329
+ exact_id: string;
24330
+ exact_modified: string | null;
24331
+ exact_timestamp: number | null;
24332
+ id: string;
24333
+ invoice_date: string | null;
24334
+ invoice_number: string | null;
24335
+ order_number: string | null;
24336
+ paid_at: string | null;
24337
+ payment_status: string;
24338
+ raw: import("../integrations/supabase/types").Json | null;
24339
+ receivable_synced_at: string | null;
24340
+ status_code: number | null;
24341
+ updated_at: string;
24342
+ };
24343
+ Insert: {
24344
+ account_key?: string;
24345
+ amount_excl?: number | null;
24346
+ amount_incl?: number | null;
24347
+ amount_open?: number | null;
24348
+ created_at?: string;
24349
+ currency?: string | null;
24350
+ customer_code?: string | null;
24351
+ customer_exact_id?: string | null;
24352
+ customer_name?: string | null;
24353
+ description?: string | null;
24354
+ division_code?: number | null;
24355
+ due_date?: string | null;
24356
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24357
+ exact_id: string;
24358
+ exact_modified?: string | null;
24359
+ exact_timestamp?: number | null;
24360
+ id?: string;
24361
+ invoice_date?: string | null;
24362
+ invoice_number?: string | null;
24363
+ order_number?: string | null;
24364
+ paid_at?: string | null;
24365
+ payment_status?: string;
24366
+ raw?: import("../integrations/supabase/types").Json | null;
24367
+ receivable_synced_at?: string | null;
24368
+ status_code?: number | null;
24369
+ updated_at?: string;
24370
+ };
24371
+ Update: {
24372
+ account_key?: string;
24373
+ amount_excl?: number | null;
24374
+ amount_incl?: number | null;
24375
+ amount_open?: number | null;
24376
+ created_at?: string;
24377
+ currency?: string | null;
24378
+ customer_code?: string | null;
24379
+ customer_exact_id?: string | null;
24380
+ customer_name?: string | null;
24381
+ description?: string | null;
24382
+ division_code?: number | null;
24383
+ due_date?: string | null;
24384
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24385
+ exact_id?: string;
24386
+ exact_modified?: string | null;
24387
+ exact_timestamp?: number | null;
24388
+ id?: string;
24389
+ invoice_date?: string | null;
24390
+ invoice_number?: string | null;
24391
+ order_number?: string | null;
24392
+ paid_at?: string | null;
24393
+ payment_status?: string;
24394
+ raw?: import("../integrations/supabase/types").Json | null;
24395
+ receivable_synced_at?: string | null;
24396
+ status_code?: number | null;
24397
+ updated_at?: string;
24398
+ };
24399
+ Relationships: [];
24400
+ };
24401
+ exact_auth_items: {
24402
+ Row: {
24403
+ account_key: string;
24404
+ barcode: string | null;
24405
+ code: string | null;
24406
+ cost_price: number | null;
24407
+ created_at: string;
24408
+ description: string | null;
24409
+ division_code: number | null;
24410
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24411
+ exact_id: string;
24412
+ exact_modified: string | null;
24413
+ exact_timestamp: number | null;
24414
+ gl_account_code: string | null;
24415
+ id: string;
24416
+ is_active: boolean;
24417
+ is_sales_item: boolean | null;
24418
+ item_type: string | null;
24419
+ raw: import("../integrations/supabase/types").Json | null;
24420
+ sales_price: number | null;
24421
+ unit: string | null;
24422
+ updated_at: string;
24423
+ vat_code: string | null;
24424
+ };
24425
+ Insert: {
24426
+ account_key?: string;
24427
+ barcode?: string | null;
24428
+ code?: string | null;
24429
+ cost_price?: number | null;
24430
+ created_at?: string;
24431
+ description?: string | null;
24432
+ division_code?: number | null;
24433
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24434
+ exact_id: string;
24435
+ exact_modified?: string | null;
24436
+ exact_timestamp?: number | null;
24437
+ gl_account_code?: string | null;
24438
+ id?: string;
24439
+ is_active?: boolean;
24440
+ is_sales_item?: boolean | null;
24441
+ item_type?: string | null;
24442
+ raw?: import("../integrations/supabase/types").Json | null;
24443
+ sales_price?: number | null;
24444
+ unit?: string | null;
24445
+ updated_at?: string;
24446
+ vat_code?: string | null;
24447
+ };
24448
+ Update: {
24449
+ account_key?: string;
24450
+ barcode?: string | null;
24451
+ code?: string | null;
24452
+ cost_price?: number | null;
24453
+ created_at?: string;
24454
+ description?: string | null;
24455
+ division_code?: number | null;
24456
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24457
+ exact_id?: string;
24458
+ exact_modified?: string | null;
24459
+ exact_timestamp?: number | null;
24460
+ gl_account_code?: string | null;
24461
+ id?: string;
24462
+ is_active?: boolean;
24463
+ is_sales_item?: boolean | null;
24464
+ item_type?: string | null;
24465
+ raw?: import("../integrations/supabase/types").Json | null;
24466
+ sales_price?: number | null;
24467
+ unit?: string | null;
24468
+ updated_at?: string;
24469
+ vat_code?: string | null;
24470
+ };
24471
+ Relationships: [];
24472
+ };
24473
+ exact_auth_sync_log: {
24474
+ Row: {
24475
+ account_key: string;
24476
+ calls_used: number;
24477
+ created_at: string;
24478
+ domain: string;
24479
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24480
+ error: string | null;
24481
+ finished_at: string | null;
24482
+ id: string;
24483
+ ok: boolean;
24484
+ records: number;
24485
+ started_at: string;
24486
+ };
24487
+ Insert: {
24488
+ account_key?: string;
24489
+ calls_used?: number;
24490
+ created_at?: string;
24491
+ domain: string;
24492
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24493
+ error?: string | null;
24494
+ finished_at?: string | null;
24495
+ id?: string;
24496
+ ok?: boolean;
24497
+ records?: number;
24498
+ started_at?: string;
24499
+ };
24500
+ Update: {
24501
+ account_key?: string;
24502
+ calls_used?: number;
24503
+ created_at?: string;
24504
+ domain?: string;
24505
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24506
+ error?: string | null;
24507
+ finished_at?: string | null;
24508
+ id?: string;
24509
+ ok?: boolean;
24510
+ records?: number;
24511
+ started_at?: string;
24512
+ };
24513
+ Relationships: [];
24514
+ };
24515
+ exact_auth_sync_state: {
24516
+ Row: {
24517
+ account_key: string;
24518
+ created_at: string;
24519
+ cursor_timestamp: number;
24520
+ division_code: number | null;
24521
+ domain: string;
24522
+ duration_ms: number | null;
24523
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24524
+ initial_sync_done: boolean;
24525
+ last_error: string | null;
24526
+ last_run_at: string | null;
24527
+ last_success_at: string | null;
24528
+ locked_at: string | null;
24529
+ needs_initial_sync: boolean;
24530
+ record_count: number;
24531
+ updated_at: string;
24532
+ };
24533
+ Insert: {
24534
+ account_key?: string;
24535
+ created_at?: string;
24536
+ cursor_timestamp?: number;
24537
+ division_code?: number | null;
24538
+ domain: string;
24539
+ duration_ms?: number | null;
24540
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24541
+ initial_sync_done?: boolean;
24542
+ last_error?: string | null;
24543
+ last_run_at?: string | null;
24544
+ last_success_at?: string | null;
24545
+ locked_at?: string | null;
24546
+ needs_initial_sync?: boolean;
24547
+ record_count?: number;
24548
+ updated_at?: string;
24549
+ };
24550
+ Update: {
24551
+ account_key?: string;
24552
+ created_at?: string;
24553
+ cursor_timestamp?: number;
24554
+ division_code?: number | null;
24555
+ domain?: string;
24556
+ duration_ms?: number | null;
24557
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
24558
+ initial_sync_done?: boolean;
24559
+ last_error?: string | null;
24560
+ last_run_at?: string | null;
24561
+ last_success_at?: string | null;
24562
+ locked_at?: string | null;
24563
+ needs_initial_sync?: boolean;
24564
+ record_count?: number;
24565
+ updated_at?: string;
24566
+ };
24567
+ Relationships: [];
24568
+ };
23356
24569
  exact_bulk_operation_items: {
23357
24570
  Row: {
23358
24571
  attempts: number;
@@ -25044,12 +26257,17 @@ export declare const upsertCustomerNote: import("@tanstack/start-client-core").O
25044
26257
  attempts: number;
25045
26258
  connection_id: string;
25046
26259
  created_at: string;
26260
+ desired_available: boolean | null;
25047
26261
  gateway_attempt_id: string | null;
25048
26262
  id: string;
25049
26263
  last_error: string | null;
26264
+ locked_at: string | null;
26265
+ locked_by: string | null;
26266
+ next_attempt_at: string;
25050
26267
  number_of_pieces: number;
25051
26268
  sent_at: string | null;
25052
26269
  status: string;
26270
+ superseded_by: string | null;
25053
26271
  trade_item_id: string;
25054
26272
  updated_at: string;
25055
26273
  user_id: string;
@@ -25058,12 +26276,17 @@ export declare const upsertCustomerNote: import("@tanstack/start-client-core").O
25058
26276
  attempts?: number;
25059
26277
  connection_id: string;
25060
26278
  created_at?: string;
26279
+ desired_available?: boolean | null;
25061
26280
  gateway_attempt_id?: string | null;
25062
26281
  id?: string;
25063
26282
  last_error?: string | null;
26283
+ locked_at?: string | null;
26284
+ locked_by?: string | null;
26285
+ next_attempt_at?: string;
25064
26286
  number_of_pieces?: number;
25065
26287
  sent_at?: string | null;
25066
26288
  status?: string;
26289
+ superseded_by?: string | null;
25067
26290
  trade_item_id: string;
25068
26291
  updated_at?: string;
25069
26292
  user_id: string;
@@ -25072,12 +26295,17 @@ export declare const upsertCustomerNote: import("@tanstack/start-client-core").O
25072
26295
  attempts?: number;
25073
26296
  connection_id?: string;
25074
26297
  created_at?: string;
26298
+ desired_available?: boolean | null;
25075
26299
  gateway_attempt_id?: string | null;
25076
26300
  id?: string;
25077
26301
  last_error?: string | null;
26302
+ locked_at?: string | null;
26303
+ locked_by?: string | null;
26304
+ next_attempt_at?: string;
25078
26305
  number_of_pieces?: number;
25079
26306
  sent_at?: string | null;
25080
26307
  status?: string;
26308
+ superseded_by?: string | null;
25081
26309
  trade_item_id?: string;
25082
26310
  updated_at?: string;
25083
26311
  user_id?: string;
@@ -27826,6 +29054,69 @@ export declare const upsertCustomerNote: import("@tanstack/start-client-core").O
27826
29054
  };
27827
29055
  Relationships: [];
27828
29056
  };
29057
+ logistics_floriday_pushes: {
29058
+ Row: {
29059
+ attempts: number;
29060
+ created_at: string;
29061
+ first_queued_at: string;
29062
+ fulfillment_order_id: string | null;
29063
+ id: string;
29064
+ last_error: string | null;
29065
+ last_error_at: string | null;
29066
+ last_sent_hash: string | null;
29067
+ locked_by: string | null;
29068
+ locked_until: string | null;
29069
+ next_attempt_at: string;
29070
+ order_ref: string;
29071
+ payload: import("../integrations/supabase/types").Json;
29072
+ payload_hash: string | null;
29073
+ revision: number;
29074
+ sent_at: string | null;
29075
+ status: string;
29076
+ updated_at: string;
29077
+ };
29078
+ Insert: {
29079
+ attempts?: number;
29080
+ created_at?: string;
29081
+ first_queued_at?: string;
29082
+ fulfillment_order_id?: string | null;
29083
+ id?: string;
29084
+ last_error?: string | null;
29085
+ last_error_at?: string | null;
29086
+ last_sent_hash?: string | null;
29087
+ locked_by?: string | null;
29088
+ locked_until?: string | null;
29089
+ next_attempt_at?: string;
29090
+ order_ref: string;
29091
+ payload?: import("../integrations/supabase/types").Json;
29092
+ payload_hash?: string | null;
29093
+ revision?: number;
29094
+ sent_at?: string | null;
29095
+ status?: string;
29096
+ updated_at?: string;
29097
+ };
29098
+ Update: {
29099
+ attempts?: number;
29100
+ created_at?: string;
29101
+ first_queued_at?: string;
29102
+ fulfillment_order_id?: string | null;
29103
+ id?: string;
29104
+ last_error?: string | null;
29105
+ last_error_at?: string | null;
29106
+ last_sent_hash?: string | null;
29107
+ locked_by?: string | null;
29108
+ locked_until?: string | null;
29109
+ next_attempt_at?: string;
29110
+ order_ref?: string;
29111
+ payload?: import("../integrations/supabase/types").Json;
29112
+ payload_hash?: string | null;
29113
+ revision?: number;
29114
+ sent_at?: string | null;
29115
+ status?: string;
29116
+ updated_at?: string;
29117
+ };
29118
+ Relationships: [];
29119
+ };
27829
29120
  logistics_formulas: {
27830
29121
  Row: {
27831
29122
  created_at: string;
@@ -28437,6 +29728,8 @@ export declare const upsertCustomerNote: import("@tanstack/start-client-core").O
28437
29728
  };
28438
29729
  logistics_tasks: {
28439
29730
  Row: {
29731
+ attempt_log: import("../integrations/supabase/types").Json;
29732
+ attempts: number;
28440
29733
  buffer_ref: string | null;
28441
29734
  claimed_at: string | null;
28442
29735
  claimed_by: string | null;
@@ -28446,6 +29739,8 @@ export declare const upsertCustomerNote: import("@tanstack/start-client-core").O
28446
29739
  due_at: string | null;
28447
29740
  error: string | null;
28448
29741
  id: string;
29742
+ last_error: string | null;
29743
+ next_attempt_at: string | null;
28449
29744
  order_ref: string;
28450
29745
  owner_module: string;
28451
29746
  payload: import("../integrations/supabase/types").Json;
@@ -28466,6 +29761,8 @@ export declare const upsertCustomerNote: import("@tanstack/start-client-core").O
28466
29761
  user_id: string;
28467
29762
  };
28468
29763
  Insert: {
29764
+ attempt_log?: import("../integrations/supabase/types").Json;
29765
+ attempts?: number;
28469
29766
  buffer_ref?: string | null;
28470
29767
  claimed_at?: string | null;
28471
29768
  claimed_by?: string | null;
@@ -28475,6 +29772,8 @@ export declare const upsertCustomerNote: import("@tanstack/start-client-core").O
28475
29772
  due_at?: string | null;
28476
29773
  error?: string | null;
28477
29774
  id?: string;
29775
+ last_error?: string | null;
29776
+ next_attempt_at?: string | null;
28478
29777
  order_ref: string;
28479
29778
  owner_module: string;
28480
29779
  payload?: import("../integrations/supabase/types").Json;
@@ -28495,6 +29794,8 @@ export declare const upsertCustomerNote: import("@tanstack/start-client-core").O
28495
29794
  user_id?: string;
28496
29795
  };
28497
29796
  Update: {
29797
+ attempt_log?: import("../integrations/supabase/types").Json;
29798
+ attempts?: number;
28498
29799
  buffer_ref?: string | null;
28499
29800
  claimed_at?: string | null;
28500
29801
  claimed_by?: string | null;
@@ -28504,6 +29805,8 @@ export declare const upsertCustomerNote: import("@tanstack/start-client-core").O
28504
29805
  due_at?: string | null;
28505
29806
  error?: string | null;
28506
29807
  id?: string;
29808
+ last_error?: string | null;
29809
+ next_attempt_at?: string | null;
28507
29810
  order_ref?: string;
28508
29811
  owner_module?: string;
28509
29812
  payload?: import("../integrations/supabase/types").Json;
@@ -29853,6 +31156,7 @@ export declare const upsertCustomerNote: import("@tanstack/start-client-core").O
29853
31156
  };
29854
31157
  offer_settings: {
29855
31158
  Row: {
31159
+ brand_name: string | null;
29856
31160
  button_color: string;
29857
31161
  created_at: string;
29858
31162
  default_countries: string[];
@@ -29874,6 +31178,7 @@ export declare const upsertCustomerNote: import("@tanstack/start-client-core").O
29874
31178
  updated_at: string;
29875
31179
  };
29876
31180
  Insert: {
31181
+ brand_name?: string | null;
29877
31182
  button_color?: string;
29878
31183
  created_at?: string;
29879
31184
  default_countries?: string[];
@@ -29895,6 +31200,7 @@ export declare const upsertCustomerNote: import("@tanstack/start-client-core").O
29895
31200
  updated_at?: string;
29896
31201
  };
29897
31202
  Update: {
31203
+ brand_name?: string | null;
29898
31204
  button_color?: string;
29899
31205
  created_at?: string;
29900
31206
  default_countries?: string[];
@@ -37505,6 +38811,85 @@ export declare const upsertCustomerNote: import("@tanstack/start-client-core").O
37505
38811
  };
37506
38812
  Returns: import("../integrations/supabase/types").Json;
37507
38813
  };
38814
+ claim_floriday_stock_queue: {
38815
+ Args: {
38816
+ p_limit?: number;
38817
+ p_worker?: string;
38818
+ };
38819
+ Returns: {
38820
+ attempts: number;
38821
+ connection_id: string;
38822
+ created_at: string;
38823
+ desired_available: boolean | null;
38824
+ gateway_attempt_id: string | null;
38825
+ id: string;
38826
+ last_error: string | null;
38827
+ locked_at: string | null;
38828
+ locked_by: string | null;
38829
+ next_attempt_at: string;
38830
+ number_of_pieces: number;
38831
+ sent_at: string | null;
38832
+ status: string;
38833
+ superseded_by: string | null;
38834
+ trade_item_id: string;
38835
+ updated_at: string;
38836
+ user_id: string;
38837
+ }[];
38838
+ SetofOptions: {
38839
+ from: "*";
38840
+ to: "floriday_continuous_stock_queue";
38841
+ isOneToOne: false;
38842
+ isSetofReturn: true;
38843
+ };
38844
+ };
38845
+ claim_logistics_tasks: {
38846
+ Args: {
38847
+ _limit?: number;
38848
+ _owner_module: string;
38849
+ _stale_minutes?: number;
38850
+ _task_type: string;
38851
+ _worker: string;
38852
+ };
38853
+ Returns: {
38854
+ attempt_log: import("../integrations/supabase/types").Json;
38855
+ attempts: number;
38856
+ buffer_ref: string | null;
38857
+ claimed_at: string | null;
38858
+ claimed_by: string | null;
38859
+ completed_at: string | null;
38860
+ created_at: string;
38861
+ depends_on: string[];
38862
+ due_at: string | null;
38863
+ error: string | null;
38864
+ id: string;
38865
+ last_error: string | null;
38866
+ next_attempt_at: string | null;
38867
+ order_ref: string;
38868
+ owner_module: string;
38869
+ payload: import("../integrations/supabase/types").Json;
38870
+ plan_run_id: string | null;
38871
+ planned_end: string | null;
38872
+ planned_start: string | null;
38873
+ priority: number;
38874
+ result: import("../integrations/supabase/types").Json | null;
38875
+ rule_config_id: string | null;
38876
+ rule_version: number | null;
38877
+ sequence: number;
38878
+ shadow: boolean;
38879
+ started_at: string | null;
38880
+ status: string;
38881
+ strategy_id: string | null;
38882
+ task_type: string;
38883
+ updated_at: string;
38884
+ user_id: string;
38885
+ }[];
38886
+ SetofOptions: {
38887
+ from: "*";
38888
+ to: "logistics_tasks";
38889
+ isOneToOne: false;
38890
+ isSetofReturn: true;
38891
+ };
38892
+ };
37508
38893
  claim_print_jobs: {
37509
38894
  Args: {
37510
38895
  _agent_id: string;
@@ -37569,10 +38954,24 @@ export declare const upsertCustomerNote: import("@tanstack/start-client-core").O
37569
38954
  isSetofReturn: true;
37570
38955
  };
37571
38956
  };
38957
+ cleanup_floriday_stock_queue: {
38958
+ Args: never;
38959
+ Returns: undefined;
38960
+ };
37572
38961
  cleanup_old_bookings: {
37573
38962
  Args: never;
37574
38963
  Returns: undefined;
37575
38964
  };
38965
+ complete_floriday_stock_queue: {
38966
+ Args: {
38967
+ p_attempt_id?: string;
38968
+ p_error?: string;
38969
+ p_id: string;
38970
+ p_ok: boolean;
38971
+ p_permanent?: boolean;
38972
+ };
38973
+ Returns: undefined;
38974
+ };
37576
38975
  consume_bom_for_production: {
37577
38976
  Args: {
37578
38977
  p_connection_id: string;
@@ -37745,6 +39144,21 @@ export declare const upsertCustomerNote: import("@tanstack/start-client-core").O
37745
39144
  Args: never;
37746
39145
  Returns: string;
37747
39146
  };
39147
+ exact_auth_consume_calls: {
39148
+ Args: {
39149
+ _account_key: string;
39150
+ _calls?: number;
39151
+ _day_limit?: number;
39152
+ _division_code: number;
39153
+ _environment: string;
39154
+ _minute_limit?: number;
39155
+ };
39156
+ Returns: import("../integrations/supabase/types").Json;
39157
+ };
39158
+ exact_auth_prune_sync_log: {
39159
+ Args: never;
39160
+ Returns: undefined;
39161
+ };
37748
39162
  exact_decrypt: {
37749
39163
  Args: {
37750
39164
  cipher: string;
@@ -37954,6 +39368,10 @@ export declare const upsertCustomerNote: import("@tanstack/start-client-core").O
37954
39368
  };
37955
39369
  Returns: number;
37956
39370
  };
39371
+ get_offer_branding: {
39372
+ Args: never;
39373
+ Returns: import("../integrations/supabase/types").Json;
39374
+ };
37957
39375
  get_offer_by_link_code: {
37958
39376
  Args: {
37959
39377
  p_code: string;
@@ -38245,6 +39663,8 @@ export declare const upsertCustomerNote: import("@tanstack/start-client-core").O
38245
39663
  p_worker?: string;
38246
39664
  };
38247
39665
  Returns: {
39666
+ attempt_log: import("../integrations/supabase/types").Json;
39667
+ attempts: number;
38248
39668
  buffer_ref: string | null;
38249
39669
  claimed_at: string | null;
38250
39670
  claimed_by: string | null;
@@ -38254,6 +39674,8 @@ export declare const upsertCustomerNote: import("@tanstack/start-client-core").O
38254
39674
  due_at: string | null;
38255
39675
  error: string | null;
38256
39676
  id: string;
39677
+ last_error: string | null;
39678
+ next_attempt_at: string | null;
38257
39679
  order_ref: string;
38258
39680
  owner_module: string;
38259
39681
  payload: import("../integrations/supabase/types").Json;
@@ -38286,6 +39708,8 @@ export declare const upsertCustomerNote: import("@tanstack/start-client-core").O
38286
39708
  p_worker?: string;
38287
39709
  };
38288
39710
  Returns: {
39711
+ attempt_log: import("../integrations/supabase/types").Json;
39712
+ attempts: number;
38289
39713
  buffer_ref: string | null;
38290
39714
  claimed_at: string | null;
38291
39715
  claimed_by: string | null;
@@ -38295,6 +39719,8 @@ export declare const upsertCustomerNote: import("@tanstack/start-client-core").O
38295
39719
  due_at: string | null;
38296
39720
  error: string | null;
38297
39721
  id: string;
39722
+ last_error: string | null;
39723
+ next_attempt_at: string | null;
38298
39724
  order_ref: string;
38299
39725
  owner_module: string;
38300
39726
  payload: import("../integrations/supabase/types").Json;
@@ -38327,6 +39753,8 @@ export declare const upsertCustomerNote: import("@tanstack/start-client-core").O
38327
39753
  p_task_id: string;
38328
39754
  };
38329
39755
  Returns: {
39756
+ attempt_log: import("../integrations/supabase/types").Json;
39757
+ attempts: number;
38330
39758
  buffer_ref: string | null;
38331
39759
  claimed_at: string | null;
38332
39760
  claimed_by: string | null;
@@ -38336,6 +39764,8 @@ export declare const upsertCustomerNote: import("@tanstack/start-client-core").O
38336
39764
  due_at: string | null;
38337
39765
  error: string | null;
38338
39766
  id: string;
39767
+ last_error: string | null;
39768
+ next_attempt_at: string | null;
38339
39769
  order_ref: string;
38340
39770
  owner_module: string;
38341
39771
  payload: import("../integrations/supabase/types").Json;
@@ -38417,6 +39847,8 @@ export declare const upsertCustomerNote: import("@tanstack/start-client-core").O
38417
39847
  p_task_id: string;
38418
39848
  };
38419
39849
  Returns: {
39850
+ attempt_log: import("../integrations/supabase/types").Json;
39851
+ attempts: number;
38420
39852
  buffer_ref: string | null;
38421
39853
  claimed_at: string | null;
38422
39854
  claimed_by: string | null;
@@ -38426,6 +39858,8 @@ export declare const upsertCustomerNote: import("@tanstack/start-client-core").O
38426
39858
  due_at: string | null;
38427
39859
  error: string | null;
38428
39860
  id: string;
39861
+ last_error: string | null;
39862
+ next_attempt_at: string | null;
38429
39863
  order_ref: string;
38430
39864
  owner_module: string;
38431
39865
  payload: import("../integrations/supabase/types").Json;
@@ -38452,6 +39886,51 @@ export declare const upsertCustomerNote: import("@tanstack/start-client-core").O
38452
39886
  isSetofReturn: false;
38453
39887
  };
38454
39888
  };
39889
+ logistics_floriday_claim_pushes: {
39890
+ Args: {
39891
+ _lease_seconds?: number;
39892
+ _limit?: number;
39893
+ _worker?: string;
39894
+ };
39895
+ Returns: {
39896
+ attempts: number;
39897
+ fulfillment_order_id: string;
39898
+ id: string;
39899
+ last_sent_hash: string;
39900
+ order_ref: string;
39901
+ payload: import("../integrations/supabase/types").Json;
39902
+ payload_hash: string;
39903
+ revision: number;
39904
+ }[];
39905
+ };
39906
+ logistics_floriday_finish_push: {
39907
+ Args: {
39908
+ _error?: string;
39909
+ _fulfillment_order_id?: string;
39910
+ _id: string;
39911
+ _max_age_hours?: number;
39912
+ _max_attempts?: number;
39913
+ _ok: boolean;
39914
+ _permanent?: boolean;
39915
+ _revision: number;
39916
+ _sent_hash?: string;
39917
+ };
39918
+ Returns: string;
39919
+ };
39920
+ logistics_floriday_prune_pushes: {
39921
+ Args: {
39922
+ _days?: number;
39923
+ };
39924
+ Returns: number;
39925
+ };
39926
+ logistics_floriday_queue_push: {
39927
+ Args: {
39928
+ _order_ref: string;
39929
+ _payload?: import("../integrations/supabase/types").Json;
39930
+ _payload_hash?: string;
39931
+ };
39932
+ Returns: string;
39933
+ };
38455
39934
  logistics_live_carriers: {
38456
39935
  Args: {
38457
39936
  p_order_ref: string;
@@ -39179,6 +40658,10 @@ export declare const upsertCustomerNote: import("@tanstack/start-client-core").O
39179
40658
  Args: never;
39180
40659
  Returns: undefined;
39181
40660
  };
40661
+ run_logistics_tasks_dispatch: {
40662
+ Args: never;
40663
+ Returns: undefined;
40664
+ };
39182
40665
  run_twinfield_queue_tick: {
39183
40666
  Args: never;
39184
40667
  Returns: undefined;
@@ -39419,6 +40902,13 @@ export declare const upsertCustomerNote: import("@tanstack/start-client-core").O
39419
40902
  };
39420
40903
  Returns: number;
39421
40904
  };
40905
+ schedule_floriday_stock_queue_process: {
40906
+ Args: {
40907
+ p_apikey: string;
40908
+ p_url: string;
40909
+ };
40910
+ Returns: number;
40911
+ };
39422
40912
  schedule_floriday_token_refresh: {
39423
40913
  Args: {
39424
40914
  p_apikey: string;