@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
@@ -3563,6 +3563,474 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
3563
3563
  referencedColumns: ["id"];
3564
3564
  }];
3565
3565
  };
3566
+ exact_auth_call_budget: {
3567
+ Row: {
3568
+ account_key: string;
3569
+ day_count: number;
3570
+ day_date: string;
3571
+ division_code: number;
3572
+ environment: string;
3573
+ minute_count: number;
3574
+ minute_window: string;
3575
+ updated_at: string;
3576
+ };
3577
+ Insert: {
3578
+ account_key?: string;
3579
+ day_count?: number;
3580
+ day_date?: string;
3581
+ division_code?: number;
3582
+ environment: string;
3583
+ minute_count?: number;
3584
+ minute_window?: string;
3585
+ updated_at?: string;
3586
+ };
3587
+ Update: {
3588
+ account_key?: string;
3589
+ day_count?: number;
3590
+ day_date?: string;
3591
+ division_code?: number;
3592
+ environment?: string;
3593
+ minute_count?: number;
3594
+ minute_window?: string;
3595
+ updated_at?: string;
3596
+ };
3597
+ Relationships: [];
3598
+ };
3599
+ exact_auth_customers: {
3600
+ Row: {
3601
+ account_key: string;
3602
+ address_line1: string | null;
3603
+ chamber_of_commerce: string | null;
3604
+ city: string | null;
3605
+ code: string | null;
3606
+ country: string | null;
3607
+ created_at: string;
3608
+ currency: string | null;
3609
+ division_code: number | null;
3610
+ email: string | null;
3611
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3612
+ exact_id: string;
3613
+ exact_modified: string | null;
3614
+ exact_timestamp: number | null;
3615
+ id: string;
3616
+ is_active: boolean;
3617
+ name: string | null;
3618
+ phone: string | null;
3619
+ postcode: string | null;
3620
+ raw: import("../integrations/supabase/types").Json | null;
3621
+ status: string | null;
3622
+ updated_at: string;
3623
+ vat_number: string | null;
3624
+ website: string | null;
3625
+ };
3626
+ Insert: {
3627
+ account_key?: string;
3628
+ address_line1?: string | null;
3629
+ chamber_of_commerce?: string | null;
3630
+ city?: string | null;
3631
+ code?: string | null;
3632
+ country?: string | null;
3633
+ created_at?: string;
3634
+ currency?: string | null;
3635
+ division_code?: number | null;
3636
+ email?: string | null;
3637
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3638
+ exact_id: string;
3639
+ exact_modified?: string | null;
3640
+ exact_timestamp?: number | null;
3641
+ id?: string;
3642
+ is_active?: boolean;
3643
+ name?: string | null;
3644
+ phone?: string | null;
3645
+ postcode?: string | null;
3646
+ raw?: import("../integrations/supabase/types").Json | null;
3647
+ status?: string | null;
3648
+ updated_at?: string;
3649
+ vat_number?: string | null;
3650
+ website?: string | null;
3651
+ };
3652
+ Update: {
3653
+ account_key?: string;
3654
+ address_line1?: string | null;
3655
+ chamber_of_commerce?: string | null;
3656
+ city?: string | null;
3657
+ code?: string | null;
3658
+ country?: string | null;
3659
+ created_at?: string;
3660
+ currency?: string | null;
3661
+ division_code?: number | null;
3662
+ email?: string | null;
3663
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3664
+ exact_id?: string;
3665
+ exact_modified?: string | null;
3666
+ exact_timestamp?: number | null;
3667
+ id?: string;
3668
+ is_active?: boolean;
3669
+ name?: string | null;
3670
+ phone?: string | null;
3671
+ postcode?: string | null;
3672
+ raw?: import("../integrations/supabase/types").Json | null;
3673
+ status?: string | null;
3674
+ updated_at?: string;
3675
+ vat_number?: string | null;
3676
+ website?: string | null;
3677
+ };
3678
+ Relationships: [];
3679
+ };
3680
+ exact_auth_divisions: {
3681
+ Row: {
3682
+ account_key: string;
3683
+ company_name: string | null;
3684
+ created_at: string;
3685
+ division_code: number | null;
3686
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3687
+ id: string;
3688
+ last_synced_at: string | null;
3689
+ updated_at: string;
3690
+ };
3691
+ Insert: {
3692
+ account_key?: string;
3693
+ company_name?: string | null;
3694
+ created_at?: string;
3695
+ division_code?: number | null;
3696
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3697
+ id?: string;
3698
+ last_synced_at?: string | null;
3699
+ updated_at?: string;
3700
+ };
3701
+ Update: {
3702
+ account_key?: string;
3703
+ company_name?: string | null;
3704
+ created_at?: string;
3705
+ division_code?: number | null;
3706
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3707
+ id?: string;
3708
+ last_synced_at?: string | null;
3709
+ updated_at?: string;
3710
+ };
3711
+ Relationships: [];
3712
+ };
3713
+ exact_auth_invoice_lines: {
3714
+ Row: {
3715
+ account_key: string;
3716
+ amount_excl: number | null;
3717
+ created_at: string;
3718
+ description: string | null;
3719
+ discount: number | null;
3720
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3721
+ exact_id: string;
3722
+ exact_timestamp: number | null;
3723
+ id: string;
3724
+ invoice_exact_id: string;
3725
+ item_code: string | null;
3726
+ item_exact_id: string | null;
3727
+ line_number: number | null;
3728
+ quantity: number | null;
3729
+ raw: import("../integrations/supabase/types").Json | null;
3730
+ unit_price: number | null;
3731
+ updated_at: string;
3732
+ vat_amount: number | null;
3733
+ vat_code: string | null;
3734
+ };
3735
+ Insert: {
3736
+ account_key?: string;
3737
+ amount_excl?: number | null;
3738
+ created_at?: string;
3739
+ description?: string | null;
3740
+ discount?: number | null;
3741
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3742
+ exact_id: string;
3743
+ exact_timestamp?: number | null;
3744
+ id?: string;
3745
+ invoice_exact_id: string;
3746
+ item_code?: string | null;
3747
+ item_exact_id?: string | null;
3748
+ line_number?: number | null;
3749
+ quantity?: number | null;
3750
+ raw?: import("../integrations/supabase/types").Json | null;
3751
+ unit_price?: number | null;
3752
+ updated_at?: string;
3753
+ vat_amount?: number | null;
3754
+ vat_code?: string | null;
3755
+ };
3756
+ Update: {
3757
+ account_key?: string;
3758
+ amount_excl?: number | null;
3759
+ created_at?: string;
3760
+ description?: string | null;
3761
+ discount?: number | null;
3762
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3763
+ exact_id?: string;
3764
+ exact_timestamp?: number | null;
3765
+ id?: string;
3766
+ invoice_exact_id?: string;
3767
+ item_code?: string | null;
3768
+ item_exact_id?: string | null;
3769
+ line_number?: number | null;
3770
+ quantity?: number | null;
3771
+ raw?: import("../integrations/supabase/types").Json | null;
3772
+ unit_price?: number | null;
3773
+ updated_at?: string;
3774
+ vat_amount?: number | null;
3775
+ vat_code?: string | null;
3776
+ };
3777
+ Relationships: [];
3778
+ };
3779
+ exact_auth_invoices: {
3780
+ Row: {
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
+ Insert: {
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
+ Update: {
3837
+ account_key?: string;
3838
+ amount_excl?: number | null;
3839
+ amount_incl?: number | null;
3840
+ amount_open?: number | null;
3841
+ created_at?: string;
3842
+ currency?: string | null;
3843
+ customer_code?: string | null;
3844
+ customer_exact_id?: string | null;
3845
+ customer_name?: string | null;
3846
+ description?: string | null;
3847
+ division_code?: number | null;
3848
+ due_date?: string | null;
3849
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3850
+ exact_id?: string;
3851
+ exact_modified?: string | null;
3852
+ exact_timestamp?: number | null;
3853
+ id?: string;
3854
+ invoice_date?: string | null;
3855
+ invoice_number?: string | null;
3856
+ order_number?: string | null;
3857
+ paid_at?: string | null;
3858
+ payment_status?: string;
3859
+ raw?: import("../integrations/supabase/types").Json | null;
3860
+ receivable_synced_at?: string | null;
3861
+ status_code?: number | null;
3862
+ updated_at?: string;
3863
+ };
3864
+ Relationships: [];
3865
+ };
3866
+ exact_auth_items: {
3867
+ Row: {
3868
+ account_key: string;
3869
+ barcode: string | null;
3870
+ code: string | null;
3871
+ cost_price: number | null;
3872
+ created_at: string;
3873
+ description: string | null;
3874
+ division_code: number | null;
3875
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3876
+ exact_id: string;
3877
+ exact_modified: string | null;
3878
+ exact_timestamp: number | null;
3879
+ gl_account_code: string | null;
3880
+ id: string;
3881
+ is_active: boolean;
3882
+ is_sales_item: boolean | null;
3883
+ item_type: string | null;
3884
+ raw: import("../integrations/supabase/types").Json | null;
3885
+ sales_price: number | null;
3886
+ unit: string | null;
3887
+ updated_at: string;
3888
+ vat_code: string | null;
3889
+ };
3890
+ Insert: {
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
+ Update: {
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
+ Relationships: [];
3937
+ };
3938
+ exact_auth_sync_log: {
3939
+ Row: {
3940
+ account_key: string;
3941
+ calls_used: number;
3942
+ created_at: string;
3943
+ domain: string;
3944
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3945
+ error: string | null;
3946
+ finished_at: string | null;
3947
+ id: string;
3948
+ ok: boolean;
3949
+ records: number;
3950
+ started_at: string;
3951
+ };
3952
+ Insert: {
3953
+ account_key?: string;
3954
+ calls_used?: number;
3955
+ created_at?: string;
3956
+ domain: string;
3957
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3958
+ error?: string | null;
3959
+ finished_at?: string | null;
3960
+ id?: string;
3961
+ ok?: boolean;
3962
+ records?: number;
3963
+ started_at?: string;
3964
+ };
3965
+ Update: {
3966
+ account_key?: string;
3967
+ calls_used?: number;
3968
+ created_at?: string;
3969
+ domain?: string;
3970
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3971
+ error?: string | null;
3972
+ finished_at?: string | null;
3973
+ id?: string;
3974
+ ok?: boolean;
3975
+ records?: number;
3976
+ started_at?: string;
3977
+ };
3978
+ Relationships: [];
3979
+ };
3980
+ exact_auth_sync_state: {
3981
+ Row: {
3982
+ account_key: string;
3983
+ created_at: string;
3984
+ cursor_timestamp: number;
3985
+ division_code: number | null;
3986
+ domain: string;
3987
+ duration_ms: number | null;
3988
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3989
+ initial_sync_done: boolean;
3990
+ last_error: string | null;
3991
+ last_run_at: string | null;
3992
+ last_success_at: string | null;
3993
+ locked_at: string | null;
3994
+ needs_initial_sync: boolean;
3995
+ record_count: number;
3996
+ updated_at: string;
3997
+ };
3998
+ Insert: {
3999
+ account_key?: string;
4000
+ created_at?: string;
4001
+ cursor_timestamp?: number;
4002
+ division_code?: number | null;
4003
+ domain: string;
4004
+ duration_ms?: number | null;
4005
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
4006
+ initial_sync_done?: boolean;
4007
+ last_error?: string | null;
4008
+ last_run_at?: string | null;
4009
+ last_success_at?: string | null;
4010
+ locked_at?: string | null;
4011
+ needs_initial_sync?: boolean;
4012
+ record_count?: number;
4013
+ updated_at?: string;
4014
+ };
4015
+ Update: {
4016
+ account_key?: string;
4017
+ created_at?: string;
4018
+ cursor_timestamp?: number;
4019
+ division_code?: number | null;
4020
+ domain?: string;
4021
+ duration_ms?: number | null;
4022
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
4023
+ initial_sync_done?: boolean;
4024
+ last_error?: string | null;
4025
+ last_run_at?: string | null;
4026
+ last_success_at?: string | null;
4027
+ locked_at?: string | null;
4028
+ needs_initial_sync?: boolean;
4029
+ record_count?: number;
4030
+ updated_at?: string;
4031
+ };
4032
+ Relationships: [];
4033
+ };
3566
4034
  exact_bulk_operation_items: {
3567
4035
  Row: {
3568
4036
  attempts: number;
@@ -5254,12 +5722,17 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
5254
5722
  attempts: number;
5255
5723
  connection_id: string;
5256
5724
  created_at: string;
5725
+ desired_available: boolean | null;
5257
5726
  gateway_attempt_id: string | null;
5258
5727
  id: string;
5259
5728
  last_error: string | null;
5729
+ locked_at: string | null;
5730
+ locked_by: string | null;
5731
+ next_attempt_at: string;
5260
5732
  number_of_pieces: number;
5261
5733
  sent_at: string | null;
5262
5734
  status: string;
5735
+ superseded_by: string | null;
5263
5736
  trade_item_id: string;
5264
5737
  updated_at: string;
5265
5738
  user_id: string;
@@ -5268,12 +5741,17 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
5268
5741
  attempts?: number;
5269
5742
  connection_id: string;
5270
5743
  created_at?: string;
5744
+ desired_available?: boolean | null;
5271
5745
  gateway_attempt_id?: string | null;
5272
5746
  id?: string;
5273
5747
  last_error?: string | null;
5748
+ locked_at?: string | null;
5749
+ locked_by?: string | null;
5750
+ next_attempt_at?: string;
5274
5751
  number_of_pieces?: number;
5275
5752
  sent_at?: string | null;
5276
5753
  status?: string;
5754
+ superseded_by?: string | null;
5277
5755
  trade_item_id: string;
5278
5756
  updated_at?: string;
5279
5757
  user_id: string;
@@ -5282,12 +5760,17 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
5282
5760
  attempts?: number;
5283
5761
  connection_id?: string;
5284
5762
  created_at?: string;
5763
+ desired_available?: boolean | null;
5285
5764
  gateway_attempt_id?: string | null;
5286
5765
  id?: string;
5287
5766
  last_error?: string | null;
5767
+ locked_at?: string | null;
5768
+ locked_by?: string | null;
5769
+ next_attempt_at?: string;
5288
5770
  number_of_pieces?: number;
5289
5771
  sent_at?: string | null;
5290
5772
  status?: string;
5773
+ superseded_by?: string | null;
5291
5774
  trade_item_id?: string;
5292
5775
  updated_at?: string;
5293
5776
  user_id?: string;
@@ -8036,6 +8519,69 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
8036
8519
  };
8037
8520
  Relationships: [];
8038
8521
  };
8522
+ logistics_floriday_pushes: {
8523
+ Row: {
8524
+ attempts: number;
8525
+ created_at: string;
8526
+ first_queued_at: string;
8527
+ fulfillment_order_id: string | null;
8528
+ id: string;
8529
+ last_error: string | null;
8530
+ last_error_at: string | null;
8531
+ last_sent_hash: string | null;
8532
+ locked_by: string | null;
8533
+ locked_until: string | null;
8534
+ next_attempt_at: string;
8535
+ order_ref: string;
8536
+ payload: import("../integrations/supabase/types").Json;
8537
+ payload_hash: string | null;
8538
+ revision: number;
8539
+ sent_at: string | null;
8540
+ status: string;
8541
+ updated_at: string;
8542
+ };
8543
+ Insert: {
8544
+ attempts?: number;
8545
+ created_at?: string;
8546
+ first_queued_at?: string;
8547
+ fulfillment_order_id?: string | null;
8548
+ id?: string;
8549
+ last_error?: string | null;
8550
+ last_error_at?: string | null;
8551
+ last_sent_hash?: string | null;
8552
+ locked_by?: string | null;
8553
+ locked_until?: string | null;
8554
+ next_attempt_at?: string;
8555
+ order_ref: string;
8556
+ payload?: import("../integrations/supabase/types").Json;
8557
+ payload_hash?: string | null;
8558
+ revision?: number;
8559
+ sent_at?: string | null;
8560
+ status?: string;
8561
+ updated_at?: string;
8562
+ };
8563
+ Update: {
8564
+ attempts?: number;
8565
+ created_at?: string;
8566
+ first_queued_at?: string;
8567
+ fulfillment_order_id?: string | null;
8568
+ id?: string;
8569
+ last_error?: string | null;
8570
+ last_error_at?: string | null;
8571
+ last_sent_hash?: string | null;
8572
+ locked_by?: string | null;
8573
+ locked_until?: string | null;
8574
+ next_attempt_at?: string;
8575
+ order_ref?: string;
8576
+ payload?: import("../integrations/supabase/types").Json;
8577
+ payload_hash?: string | null;
8578
+ revision?: number;
8579
+ sent_at?: string | null;
8580
+ status?: string;
8581
+ updated_at?: string;
8582
+ };
8583
+ Relationships: [];
8584
+ };
8039
8585
  logistics_formulas: {
8040
8586
  Row: {
8041
8587
  created_at: string;
@@ -8647,6 +9193,8 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
8647
9193
  };
8648
9194
  logistics_tasks: {
8649
9195
  Row: {
9196
+ attempt_log: import("../integrations/supabase/types").Json;
9197
+ attempts: number;
8650
9198
  buffer_ref: string | null;
8651
9199
  claimed_at: string | null;
8652
9200
  claimed_by: string | null;
@@ -8656,6 +9204,8 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
8656
9204
  due_at: string | null;
8657
9205
  error: string | null;
8658
9206
  id: string;
9207
+ last_error: string | null;
9208
+ next_attempt_at: string | null;
8659
9209
  order_ref: string;
8660
9210
  owner_module: string;
8661
9211
  payload: import("../integrations/supabase/types").Json;
@@ -8676,6 +9226,8 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
8676
9226
  user_id: string;
8677
9227
  };
8678
9228
  Insert: {
9229
+ attempt_log?: import("../integrations/supabase/types").Json;
9230
+ attempts?: number;
8679
9231
  buffer_ref?: string | null;
8680
9232
  claimed_at?: string | null;
8681
9233
  claimed_by?: string | null;
@@ -8685,6 +9237,8 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
8685
9237
  due_at?: string | null;
8686
9238
  error?: string | null;
8687
9239
  id?: string;
9240
+ last_error?: string | null;
9241
+ next_attempt_at?: string | null;
8688
9242
  order_ref: string;
8689
9243
  owner_module: string;
8690
9244
  payload?: import("../integrations/supabase/types").Json;
@@ -8705,6 +9259,8 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
8705
9259
  user_id?: string;
8706
9260
  };
8707
9261
  Update: {
9262
+ attempt_log?: import("../integrations/supabase/types").Json;
9263
+ attempts?: number;
8708
9264
  buffer_ref?: string | null;
8709
9265
  claimed_at?: string | null;
8710
9266
  claimed_by?: string | null;
@@ -8714,6 +9270,8 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
8714
9270
  due_at?: string | null;
8715
9271
  error?: string | null;
8716
9272
  id?: string;
9273
+ last_error?: string | null;
9274
+ next_attempt_at?: string | null;
8717
9275
  order_ref?: string;
8718
9276
  owner_module?: string;
8719
9277
  payload?: import("../integrations/supabase/types").Json;
@@ -10063,6 +10621,7 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
10063
10621
  };
10064
10622
  offer_settings: {
10065
10623
  Row: {
10624
+ brand_name: string | null;
10066
10625
  button_color: string;
10067
10626
  created_at: string;
10068
10627
  default_countries: string[];
@@ -10084,6 +10643,7 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
10084
10643
  updated_at: string;
10085
10644
  };
10086
10645
  Insert: {
10646
+ brand_name?: string | null;
10087
10647
  button_color?: string;
10088
10648
  created_at?: string;
10089
10649
  default_countries?: string[];
@@ -10105,6 +10665,7 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
10105
10665
  updated_at?: string;
10106
10666
  };
10107
10667
  Update: {
10668
+ brand_name?: string | null;
10108
10669
  button_color?: string;
10109
10670
  created_at?: string;
10110
10671
  default_countries?: string[];
@@ -17715,6 +18276,85 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
17715
18276
  };
17716
18277
  Returns: import("../integrations/supabase/types").Json;
17717
18278
  };
18279
+ claim_floriday_stock_queue: {
18280
+ Args: {
18281
+ p_limit?: number;
18282
+ p_worker?: string;
18283
+ };
18284
+ Returns: {
18285
+ attempts: number;
18286
+ connection_id: string;
18287
+ created_at: string;
18288
+ desired_available: boolean | null;
18289
+ gateway_attempt_id: string | null;
18290
+ id: string;
18291
+ last_error: string | null;
18292
+ locked_at: string | null;
18293
+ locked_by: string | null;
18294
+ next_attempt_at: string;
18295
+ number_of_pieces: number;
18296
+ sent_at: string | null;
18297
+ status: string;
18298
+ superseded_by: string | null;
18299
+ trade_item_id: string;
18300
+ updated_at: string;
18301
+ user_id: string;
18302
+ }[];
18303
+ SetofOptions: {
18304
+ from: "*";
18305
+ to: "floriday_continuous_stock_queue";
18306
+ isOneToOne: false;
18307
+ isSetofReturn: true;
18308
+ };
18309
+ };
18310
+ claim_logistics_tasks: {
18311
+ Args: {
18312
+ _limit?: number;
18313
+ _owner_module: string;
18314
+ _stale_minutes?: number;
18315
+ _task_type: string;
18316
+ _worker: string;
18317
+ };
18318
+ Returns: {
18319
+ attempt_log: import("../integrations/supabase/types").Json;
18320
+ attempts: number;
18321
+ buffer_ref: string | null;
18322
+ claimed_at: string | null;
18323
+ claimed_by: string | null;
18324
+ completed_at: string | null;
18325
+ created_at: string;
18326
+ depends_on: string[];
18327
+ due_at: string | null;
18328
+ error: string | null;
18329
+ id: string;
18330
+ last_error: string | null;
18331
+ next_attempt_at: string | null;
18332
+ order_ref: string;
18333
+ owner_module: string;
18334
+ payload: import("../integrations/supabase/types").Json;
18335
+ plan_run_id: string | null;
18336
+ planned_end: string | null;
18337
+ planned_start: string | null;
18338
+ priority: number;
18339
+ result: import("../integrations/supabase/types").Json | null;
18340
+ rule_config_id: string | null;
18341
+ rule_version: number | null;
18342
+ sequence: number;
18343
+ shadow: boolean;
18344
+ started_at: string | null;
18345
+ status: string;
18346
+ strategy_id: string | null;
18347
+ task_type: string;
18348
+ updated_at: string;
18349
+ user_id: string;
18350
+ }[];
18351
+ SetofOptions: {
18352
+ from: "*";
18353
+ to: "logistics_tasks";
18354
+ isOneToOne: false;
18355
+ isSetofReturn: true;
18356
+ };
18357
+ };
17718
18358
  claim_print_jobs: {
17719
18359
  Args: {
17720
18360
  _agent_id: string;
@@ -17779,10 +18419,24 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
17779
18419
  isSetofReturn: true;
17780
18420
  };
17781
18421
  };
18422
+ cleanup_floriday_stock_queue: {
18423
+ Args: never;
18424
+ Returns: undefined;
18425
+ };
17782
18426
  cleanup_old_bookings: {
17783
18427
  Args: never;
17784
18428
  Returns: undefined;
17785
18429
  };
18430
+ complete_floriday_stock_queue: {
18431
+ Args: {
18432
+ p_attempt_id?: string;
18433
+ p_error?: string;
18434
+ p_id: string;
18435
+ p_ok: boolean;
18436
+ p_permanent?: boolean;
18437
+ };
18438
+ Returns: undefined;
18439
+ };
17786
18440
  consume_bom_for_production: {
17787
18441
  Args: {
17788
18442
  p_connection_id: string;
@@ -17955,6 +18609,21 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
17955
18609
  Args: never;
17956
18610
  Returns: string;
17957
18611
  };
18612
+ exact_auth_consume_calls: {
18613
+ Args: {
18614
+ _account_key: string;
18615
+ _calls?: number;
18616
+ _day_limit?: number;
18617
+ _division_code: number;
18618
+ _environment: string;
18619
+ _minute_limit?: number;
18620
+ };
18621
+ Returns: import("../integrations/supabase/types").Json;
18622
+ };
18623
+ exact_auth_prune_sync_log: {
18624
+ Args: never;
18625
+ Returns: undefined;
18626
+ };
17958
18627
  exact_decrypt: {
17959
18628
  Args: {
17960
18629
  cipher: string;
@@ -18164,6 +18833,10 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
18164
18833
  };
18165
18834
  Returns: number;
18166
18835
  };
18836
+ get_offer_branding: {
18837
+ Args: never;
18838
+ Returns: import("../integrations/supabase/types").Json;
18839
+ };
18167
18840
  get_offer_by_link_code: {
18168
18841
  Args: {
18169
18842
  p_code: string;
@@ -18455,6 +19128,8 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
18455
19128
  p_worker?: string;
18456
19129
  };
18457
19130
  Returns: {
19131
+ attempt_log: import("../integrations/supabase/types").Json;
19132
+ attempts: number;
18458
19133
  buffer_ref: string | null;
18459
19134
  claimed_at: string | null;
18460
19135
  claimed_by: string | null;
@@ -18464,6 +19139,8 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
18464
19139
  due_at: string | null;
18465
19140
  error: string | null;
18466
19141
  id: string;
19142
+ last_error: string | null;
19143
+ next_attempt_at: string | null;
18467
19144
  order_ref: string;
18468
19145
  owner_module: string;
18469
19146
  payload: import("../integrations/supabase/types").Json;
@@ -18496,6 +19173,8 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
18496
19173
  p_worker?: string;
18497
19174
  };
18498
19175
  Returns: {
19176
+ attempt_log: import("../integrations/supabase/types").Json;
19177
+ attempts: number;
18499
19178
  buffer_ref: string | null;
18500
19179
  claimed_at: string | null;
18501
19180
  claimed_by: string | null;
@@ -18505,6 +19184,8 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
18505
19184
  due_at: string | null;
18506
19185
  error: string | null;
18507
19186
  id: string;
19187
+ last_error: string | null;
19188
+ next_attempt_at: string | null;
18508
19189
  order_ref: string;
18509
19190
  owner_module: string;
18510
19191
  payload: import("../integrations/supabase/types").Json;
@@ -18537,6 +19218,8 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
18537
19218
  p_task_id: string;
18538
19219
  };
18539
19220
  Returns: {
19221
+ attempt_log: import("../integrations/supabase/types").Json;
19222
+ attempts: number;
18540
19223
  buffer_ref: string | null;
18541
19224
  claimed_at: string | null;
18542
19225
  claimed_by: string | null;
@@ -18546,6 +19229,8 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
18546
19229
  due_at: string | null;
18547
19230
  error: string | null;
18548
19231
  id: string;
19232
+ last_error: string | null;
19233
+ next_attempt_at: string | null;
18549
19234
  order_ref: string;
18550
19235
  owner_module: string;
18551
19236
  payload: import("../integrations/supabase/types").Json;
@@ -18627,6 +19312,8 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
18627
19312
  p_task_id: string;
18628
19313
  };
18629
19314
  Returns: {
19315
+ attempt_log: import("../integrations/supabase/types").Json;
19316
+ attempts: number;
18630
19317
  buffer_ref: string | null;
18631
19318
  claimed_at: string | null;
18632
19319
  claimed_by: string | null;
@@ -18636,6 +19323,8 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
18636
19323
  due_at: string | null;
18637
19324
  error: string | null;
18638
19325
  id: string;
19326
+ last_error: string | null;
19327
+ next_attempt_at: string | null;
18639
19328
  order_ref: string;
18640
19329
  owner_module: string;
18641
19330
  payload: import("../integrations/supabase/types").Json;
@@ -18662,6 +19351,51 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
18662
19351
  isSetofReturn: false;
18663
19352
  };
18664
19353
  };
19354
+ logistics_floriday_claim_pushes: {
19355
+ Args: {
19356
+ _lease_seconds?: number;
19357
+ _limit?: number;
19358
+ _worker?: string;
19359
+ };
19360
+ Returns: {
19361
+ attempts: number;
19362
+ fulfillment_order_id: string;
19363
+ id: string;
19364
+ last_sent_hash: string;
19365
+ order_ref: string;
19366
+ payload: import("../integrations/supabase/types").Json;
19367
+ payload_hash: string;
19368
+ revision: number;
19369
+ }[];
19370
+ };
19371
+ logistics_floriday_finish_push: {
19372
+ Args: {
19373
+ _error?: string;
19374
+ _fulfillment_order_id?: string;
19375
+ _id: string;
19376
+ _max_age_hours?: number;
19377
+ _max_attempts?: number;
19378
+ _ok: boolean;
19379
+ _permanent?: boolean;
19380
+ _revision: number;
19381
+ _sent_hash?: string;
19382
+ };
19383
+ Returns: string;
19384
+ };
19385
+ logistics_floriday_prune_pushes: {
19386
+ Args: {
19387
+ _days?: number;
19388
+ };
19389
+ Returns: number;
19390
+ };
19391
+ logistics_floriday_queue_push: {
19392
+ Args: {
19393
+ _order_ref: string;
19394
+ _payload?: import("../integrations/supabase/types").Json;
19395
+ _payload_hash?: string;
19396
+ };
19397
+ Returns: string;
19398
+ };
18665
19399
  logistics_live_carriers: {
18666
19400
  Args: {
18667
19401
  p_order_ref: string;
@@ -19389,6 +20123,10 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
19389
20123
  Args: never;
19390
20124
  Returns: undefined;
19391
20125
  };
20126
+ run_logistics_tasks_dispatch: {
20127
+ Args: never;
20128
+ Returns: undefined;
20129
+ };
19392
20130
  run_twinfield_queue_tick: {
19393
20131
  Args: never;
19394
20132
  Returns: undefined;
@@ -19629,6 +20367,13 @@ export declare const listFloridayCustomerAssortment: import("@tanstack/start-cli
19629
20367
  };
19630
20368
  Returns: number;
19631
20369
  };
20370
+ schedule_floriday_stock_queue_process: {
20371
+ Args: {
20372
+ p_apikey: string;
20373
+ p_url: string;
20374
+ };
20375
+ Returns: number;
20376
+ };
19632
20377
  schedule_floriday_token_refresh: {
19633
20378
  Args: {
19634
20379
  p_apikey: string;