@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
@@ -3546,6 +3546,474 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
3546
3546
  referencedColumns: ["id"];
3547
3547
  }];
3548
3548
  };
3549
+ exact_auth_call_budget: {
3550
+ Row: {
3551
+ account_key: string;
3552
+ day_count: number;
3553
+ day_date: string;
3554
+ division_code: number;
3555
+ environment: string;
3556
+ minute_count: number;
3557
+ minute_window: string;
3558
+ updated_at: string;
3559
+ };
3560
+ Insert: {
3561
+ account_key?: string;
3562
+ day_count?: number;
3563
+ day_date?: string;
3564
+ division_code?: number;
3565
+ environment: string;
3566
+ minute_count?: number;
3567
+ minute_window?: string;
3568
+ updated_at?: string;
3569
+ };
3570
+ Update: {
3571
+ account_key?: string;
3572
+ day_count?: number;
3573
+ day_date?: string;
3574
+ division_code?: number;
3575
+ environment?: string;
3576
+ minute_count?: number;
3577
+ minute_window?: string;
3578
+ updated_at?: string;
3579
+ };
3580
+ Relationships: [];
3581
+ };
3582
+ exact_auth_customers: {
3583
+ Row: {
3584
+ account_key: string;
3585
+ address_line1: string | null;
3586
+ chamber_of_commerce: string | null;
3587
+ city: string | null;
3588
+ code: string | null;
3589
+ country: string | null;
3590
+ created_at: string;
3591
+ currency: string | null;
3592
+ division_code: number | null;
3593
+ email: string | null;
3594
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3595
+ exact_id: string;
3596
+ exact_modified: string | null;
3597
+ exact_timestamp: number | null;
3598
+ id: string;
3599
+ is_active: boolean;
3600
+ name: string | null;
3601
+ phone: string | null;
3602
+ postcode: string | null;
3603
+ raw: import("../integrations/supabase/types").Json | null;
3604
+ status: string | null;
3605
+ updated_at: string;
3606
+ vat_number: string | null;
3607
+ website: string | null;
3608
+ };
3609
+ Insert: {
3610
+ account_key?: string;
3611
+ address_line1?: string | null;
3612
+ chamber_of_commerce?: string | null;
3613
+ city?: string | null;
3614
+ code?: string | null;
3615
+ country?: string | null;
3616
+ created_at?: string;
3617
+ currency?: string | null;
3618
+ division_code?: number | null;
3619
+ email?: string | null;
3620
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3621
+ exact_id: string;
3622
+ exact_modified?: string | null;
3623
+ exact_timestamp?: number | null;
3624
+ id?: string;
3625
+ is_active?: boolean;
3626
+ name?: string | null;
3627
+ phone?: string | null;
3628
+ postcode?: string | null;
3629
+ raw?: import("../integrations/supabase/types").Json | null;
3630
+ status?: string | null;
3631
+ updated_at?: string;
3632
+ vat_number?: string | null;
3633
+ website?: string | null;
3634
+ };
3635
+ Update: {
3636
+ account_key?: string;
3637
+ address_line1?: string | null;
3638
+ chamber_of_commerce?: string | null;
3639
+ city?: string | null;
3640
+ code?: string | null;
3641
+ country?: string | null;
3642
+ created_at?: string;
3643
+ currency?: string | null;
3644
+ division_code?: number | null;
3645
+ email?: string | null;
3646
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3647
+ exact_id?: string;
3648
+ exact_modified?: string | null;
3649
+ exact_timestamp?: number | null;
3650
+ id?: string;
3651
+ is_active?: boolean;
3652
+ name?: string | null;
3653
+ phone?: string | null;
3654
+ postcode?: string | null;
3655
+ raw?: import("../integrations/supabase/types").Json | null;
3656
+ status?: string | null;
3657
+ updated_at?: string;
3658
+ vat_number?: string | null;
3659
+ website?: string | null;
3660
+ };
3661
+ Relationships: [];
3662
+ };
3663
+ exact_auth_divisions: {
3664
+ Row: {
3665
+ account_key: string;
3666
+ company_name: string | null;
3667
+ created_at: string;
3668
+ division_code: number | null;
3669
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3670
+ id: string;
3671
+ last_synced_at: string | null;
3672
+ updated_at: string;
3673
+ };
3674
+ Insert: {
3675
+ account_key?: string;
3676
+ company_name?: string | null;
3677
+ created_at?: string;
3678
+ division_code?: number | null;
3679
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3680
+ id?: string;
3681
+ last_synced_at?: string | null;
3682
+ updated_at?: string;
3683
+ };
3684
+ Update: {
3685
+ account_key?: string;
3686
+ company_name?: string | null;
3687
+ created_at?: string;
3688
+ division_code?: number | null;
3689
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3690
+ id?: string;
3691
+ last_synced_at?: string | null;
3692
+ updated_at?: string;
3693
+ };
3694
+ Relationships: [];
3695
+ };
3696
+ exact_auth_invoice_lines: {
3697
+ Row: {
3698
+ account_key: string;
3699
+ amount_excl: number | null;
3700
+ created_at: string;
3701
+ description: string | null;
3702
+ discount: number | null;
3703
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3704
+ exact_id: string;
3705
+ exact_timestamp: number | null;
3706
+ id: string;
3707
+ invoice_exact_id: string;
3708
+ item_code: string | null;
3709
+ item_exact_id: string | null;
3710
+ line_number: number | null;
3711
+ quantity: number | null;
3712
+ raw: import("../integrations/supabase/types").Json | null;
3713
+ unit_price: number | null;
3714
+ updated_at: string;
3715
+ vat_amount: number | null;
3716
+ vat_code: string | null;
3717
+ };
3718
+ Insert: {
3719
+ account_key?: string;
3720
+ amount_excl?: number | null;
3721
+ created_at?: string;
3722
+ description?: string | null;
3723
+ discount?: number | null;
3724
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3725
+ exact_id: string;
3726
+ exact_timestamp?: number | null;
3727
+ id?: string;
3728
+ invoice_exact_id: string;
3729
+ item_code?: string | null;
3730
+ item_exact_id?: string | null;
3731
+ line_number?: number | null;
3732
+ quantity?: number | null;
3733
+ raw?: import("../integrations/supabase/types").Json | null;
3734
+ unit_price?: number | null;
3735
+ updated_at?: string;
3736
+ vat_amount?: number | null;
3737
+ vat_code?: string | null;
3738
+ };
3739
+ Update: {
3740
+ account_key?: string;
3741
+ amount_excl?: number | null;
3742
+ created_at?: string;
3743
+ description?: string | null;
3744
+ discount?: number | null;
3745
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3746
+ exact_id?: string;
3747
+ exact_timestamp?: number | null;
3748
+ id?: string;
3749
+ invoice_exact_id?: string;
3750
+ item_code?: string | null;
3751
+ item_exact_id?: string | null;
3752
+ line_number?: number | null;
3753
+ quantity?: number | null;
3754
+ raw?: import("../integrations/supabase/types").Json | null;
3755
+ unit_price?: number | null;
3756
+ updated_at?: string;
3757
+ vat_amount?: number | null;
3758
+ vat_code?: string | null;
3759
+ };
3760
+ Relationships: [];
3761
+ };
3762
+ exact_auth_invoices: {
3763
+ Row: {
3764
+ account_key: string;
3765
+ amount_excl: number | null;
3766
+ amount_incl: number | null;
3767
+ amount_open: number | null;
3768
+ created_at: string;
3769
+ currency: string | null;
3770
+ customer_code: string | null;
3771
+ customer_exact_id: string | null;
3772
+ customer_name: string | null;
3773
+ description: string | null;
3774
+ division_code: number | null;
3775
+ due_date: string | null;
3776
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3777
+ exact_id: string;
3778
+ exact_modified: string | null;
3779
+ exact_timestamp: number | null;
3780
+ id: string;
3781
+ invoice_date: string | null;
3782
+ invoice_number: string | null;
3783
+ order_number: string | null;
3784
+ paid_at: string | null;
3785
+ payment_status: string;
3786
+ raw: import("../integrations/supabase/types").Json | null;
3787
+ receivable_synced_at: string | null;
3788
+ status_code: number | null;
3789
+ updated_at: string;
3790
+ };
3791
+ Insert: {
3792
+ account_key?: string;
3793
+ amount_excl?: number | null;
3794
+ amount_incl?: number | null;
3795
+ amount_open?: number | null;
3796
+ created_at?: string;
3797
+ currency?: string | null;
3798
+ customer_code?: string | null;
3799
+ customer_exact_id?: string | null;
3800
+ customer_name?: string | null;
3801
+ description?: string | null;
3802
+ division_code?: number | null;
3803
+ due_date?: string | null;
3804
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3805
+ exact_id: string;
3806
+ exact_modified?: string | null;
3807
+ exact_timestamp?: number | null;
3808
+ id?: string;
3809
+ invoice_date?: string | null;
3810
+ invoice_number?: string | null;
3811
+ order_number?: string | null;
3812
+ paid_at?: string | null;
3813
+ payment_status?: string;
3814
+ raw?: import("../integrations/supabase/types").Json | null;
3815
+ receivable_synced_at?: string | null;
3816
+ status_code?: number | null;
3817
+ updated_at?: string;
3818
+ };
3819
+ Update: {
3820
+ account_key?: string;
3821
+ amount_excl?: number | null;
3822
+ amount_incl?: number | null;
3823
+ amount_open?: number | null;
3824
+ created_at?: string;
3825
+ currency?: string | null;
3826
+ customer_code?: string | null;
3827
+ customer_exact_id?: string | null;
3828
+ customer_name?: string | null;
3829
+ description?: string | null;
3830
+ division_code?: number | null;
3831
+ due_date?: string | null;
3832
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3833
+ exact_id?: string;
3834
+ exact_modified?: string | null;
3835
+ exact_timestamp?: number | null;
3836
+ id?: string;
3837
+ invoice_date?: string | null;
3838
+ invoice_number?: string | null;
3839
+ order_number?: string | null;
3840
+ paid_at?: string | null;
3841
+ payment_status?: string;
3842
+ raw?: import("../integrations/supabase/types").Json | null;
3843
+ receivable_synced_at?: string | null;
3844
+ status_code?: number | null;
3845
+ updated_at?: string;
3846
+ };
3847
+ Relationships: [];
3848
+ };
3849
+ exact_auth_items: {
3850
+ Row: {
3851
+ account_key: string;
3852
+ barcode: string | null;
3853
+ code: string | null;
3854
+ cost_price: number | null;
3855
+ created_at: string;
3856
+ description: string | null;
3857
+ division_code: number | null;
3858
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3859
+ exact_id: string;
3860
+ exact_modified: string | null;
3861
+ exact_timestamp: number | null;
3862
+ gl_account_code: string | null;
3863
+ id: string;
3864
+ is_active: boolean;
3865
+ is_sales_item: boolean | null;
3866
+ item_type: string | null;
3867
+ raw: import("../integrations/supabase/types").Json | null;
3868
+ sales_price: number | null;
3869
+ unit: string | null;
3870
+ updated_at: string;
3871
+ vat_code: string | null;
3872
+ };
3873
+ Insert: {
3874
+ account_key?: string;
3875
+ barcode?: string | null;
3876
+ code?: string | null;
3877
+ cost_price?: number | null;
3878
+ created_at?: string;
3879
+ description?: string | null;
3880
+ division_code?: number | null;
3881
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3882
+ exact_id: string;
3883
+ exact_modified?: string | null;
3884
+ exact_timestamp?: number | null;
3885
+ gl_account_code?: string | null;
3886
+ id?: string;
3887
+ is_active?: boolean;
3888
+ is_sales_item?: boolean | null;
3889
+ item_type?: string | null;
3890
+ raw?: import("../integrations/supabase/types").Json | null;
3891
+ sales_price?: number | null;
3892
+ unit?: string | null;
3893
+ updated_at?: string;
3894
+ vat_code?: string | null;
3895
+ };
3896
+ Update: {
3897
+ account_key?: string;
3898
+ barcode?: string | null;
3899
+ code?: string | null;
3900
+ cost_price?: number | null;
3901
+ created_at?: string;
3902
+ description?: string | null;
3903
+ division_code?: number | null;
3904
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3905
+ exact_id?: string;
3906
+ exact_modified?: string | null;
3907
+ exact_timestamp?: number | null;
3908
+ gl_account_code?: string | null;
3909
+ id?: string;
3910
+ is_active?: boolean;
3911
+ is_sales_item?: boolean | null;
3912
+ item_type?: string | null;
3913
+ raw?: import("../integrations/supabase/types").Json | null;
3914
+ sales_price?: number | null;
3915
+ unit?: string | null;
3916
+ updated_at?: string;
3917
+ vat_code?: string | null;
3918
+ };
3919
+ Relationships: [];
3920
+ };
3921
+ exact_auth_sync_log: {
3922
+ Row: {
3923
+ account_key: string;
3924
+ calls_used: number;
3925
+ created_at: string;
3926
+ domain: string;
3927
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3928
+ error: string | null;
3929
+ finished_at: string | null;
3930
+ id: string;
3931
+ ok: boolean;
3932
+ records: number;
3933
+ started_at: string;
3934
+ };
3935
+ Insert: {
3936
+ account_key?: string;
3937
+ calls_used?: number;
3938
+ created_at?: string;
3939
+ domain: string;
3940
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3941
+ error?: string | null;
3942
+ finished_at?: string | null;
3943
+ id?: string;
3944
+ ok?: boolean;
3945
+ records?: number;
3946
+ started_at?: string;
3947
+ };
3948
+ Update: {
3949
+ account_key?: string;
3950
+ calls_used?: number;
3951
+ created_at?: string;
3952
+ domain?: string;
3953
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3954
+ error?: string | null;
3955
+ finished_at?: string | null;
3956
+ id?: string;
3957
+ ok?: boolean;
3958
+ records?: number;
3959
+ started_at?: string;
3960
+ };
3961
+ Relationships: [];
3962
+ };
3963
+ exact_auth_sync_state: {
3964
+ Row: {
3965
+ account_key: string;
3966
+ created_at: string;
3967
+ cursor_timestamp: number;
3968
+ division_code: number | null;
3969
+ domain: string;
3970
+ duration_ms: number | null;
3971
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3972
+ initial_sync_done: boolean;
3973
+ last_error: string | null;
3974
+ last_run_at: string | null;
3975
+ last_success_at: string | null;
3976
+ locked_at: string | null;
3977
+ needs_initial_sync: boolean;
3978
+ record_count: number;
3979
+ updated_at: string;
3980
+ };
3981
+ Insert: {
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
+ Update: {
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
+ Relationships: [];
4016
+ };
3549
4017
  exact_bulk_operation_items: {
3550
4018
  Row: {
3551
4019
  attempts: number;
@@ -5237,12 +5705,17 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
5237
5705
  attempts: number;
5238
5706
  connection_id: string;
5239
5707
  created_at: string;
5708
+ desired_available: boolean | null;
5240
5709
  gateway_attempt_id: string | null;
5241
5710
  id: string;
5242
5711
  last_error: string | null;
5712
+ locked_at: string | null;
5713
+ locked_by: string | null;
5714
+ next_attempt_at: string;
5243
5715
  number_of_pieces: number;
5244
5716
  sent_at: string | null;
5245
5717
  status: string;
5718
+ superseded_by: string | null;
5246
5719
  trade_item_id: string;
5247
5720
  updated_at: string;
5248
5721
  user_id: string;
@@ -5251,12 +5724,17 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
5251
5724
  attempts?: number;
5252
5725
  connection_id: string;
5253
5726
  created_at?: string;
5727
+ desired_available?: boolean | null;
5254
5728
  gateway_attempt_id?: string | null;
5255
5729
  id?: string;
5256
5730
  last_error?: string | null;
5731
+ locked_at?: string | null;
5732
+ locked_by?: string | null;
5733
+ next_attempt_at?: string;
5257
5734
  number_of_pieces?: number;
5258
5735
  sent_at?: string | null;
5259
5736
  status?: string;
5737
+ superseded_by?: string | null;
5260
5738
  trade_item_id: string;
5261
5739
  updated_at?: string;
5262
5740
  user_id: string;
@@ -5265,12 +5743,17 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
5265
5743
  attempts?: number;
5266
5744
  connection_id?: string;
5267
5745
  created_at?: string;
5746
+ desired_available?: boolean | null;
5268
5747
  gateway_attempt_id?: string | null;
5269
5748
  id?: string;
5270
5749
  last_error?: string | null;
5750
+ locked_at?: string | null;
5751
+ locked_by?: string | null;
5752
+ next_attempt_at?: string;
5271
5753
  number_of_pieces?: number;
5272
5754
  sent_at?: string | null;
5273
5755
  status?: string;
5756
+ superseded_by?: string | null;
5274
5757
  trade_item_id?: string;
5275
5758
  updated_at?: string;
5276
5759
  user_id?: string;
@@ -8019,6 +8502,69 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
8019
8502
  };
8020
8503
  Relationships: [];
8021
8504
  };
8505
+ logistics_floriday_pushes: {
8506
+ Row: {
8507
+ attempts: number;
8508
+ created_at: string;
8509
+ first_queued_at: string;
8510
+ fulfillment_order_id: string | null;
8511
+ id: string;
8512
+ last_error: string | null;
8513
+ last_error_at: string | null;
8514
+ last_sent_hash: string | null;
8515
+ locked_by: string | null;
8516
+ locked_until: string | null;
8517
+ next_attempt_at: string;
8518
+ order_ref: string;
8519
+ payload: import("../integrations/supabase/types").Json;
8520
+ payload_hash: string | null;
8521
+ revision: number;
8522
+ sent_at: string | null;
8523
+ status: string;
8524
+ updated_at: string;
8525
+ };
8526
+ Insert: {
8527
+ attempts?: number;
8528
+ created_at?: string;
8529
+ first_queued_at?: string;
8530
+ fulfillment_order_id?: string | null;
8531
+ id?: string;
8532
+ last_error?: string | null;
8533
+ last_error_at?: string | null;
8534
+ last_sent_hash?: string | null;
8535
+ locked_by?: string | null;
8536
+ locked_until?: string | null;
8537
+ next_attempt_at?: string;
8538
+ order_ref: string;
8539
+ payload?: import("../integrations/supabase/types").Json;
8540
+ payload_hash?: string | null;
8541
+ revision?: number;
8542
+ sent_at?: string | null;
8543
+ status?: string;
8544
+ updated_at?: string;
8545
+ };
8546
+ Update: {
8547
+ attempts?: number;
8548
+ created_at?: string;
8549
+ first_queued_at?: string;
8550
+ fulfillment_order_id?: string | null;
8551
+ id?: string;
8552
+ last_error?: string | null;
8553
+ last_error_at?: string | null;
8554
+ last_sent_hash?: string | null;
8555
+ locked_by?: string | null;
8556
+ locked_until?: string | null;
8557
+ next_attempt_at?: string;
8558
+ order_ref?: string;
8559
+ payload?: import("../integrations/supabase/types").Json;
8560
+ payload_hash?: string | null;
8561
+ revision?: number;
8562
+ sent_at?: string | null;
8563
+ status?: string;
8564
+ updated_at?: string;
8565
+ };
8566
+ Relationships: [];
8567
+ };
8022
8568
  logistics_formulas: {
8023
8569
  Row: {
8024
8570
  created_at: string;
@@ -8630,6 +9176,8 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
8630
9176
  };
8631
9177
  logistics_tasks: {
8632
9178
  Row: {
9179
+ attempt_log: import("../integrations/supabase/types").Json;
9180
+ attempts: number;
8633
9181
  buffer_ref: string | null;
8634
9182
  claimed_at: string | null;
8635
9183
  claimed_by: string | null;
@@ -8639,6 +9187,8 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
8639
9187
  due_at: string | null;
8640
9188
  error: string | null;
8641
9189
  id: string;
9190
+ last_error: string | null;
9191
+ next_attempt_at: string | null;
8642
9192
  order_ref: string;
8643
9193
  owner_module: string;
8644
9194
  payload: import("../integrations/supabase/types").Json;
@@ -8659,6 +9209,8 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
8659
9209
  user_id: string;
8660
9210
  };
8661
9211
  Insert: {
9212
+ attempt_log?: import("../integrations/supabase/types").Json;
9213
+ attempts?: number;
8662
9214
  buffer_ref?: string | null;
8663
9215
  claimed_at?: string | null;
8664
9216
  claimed_by?: string | null;
@@ -8668,6 +9220,8 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
8668
9220
  due_at?: string | null;
8669
9221
  error?: string | null;
8670
9222
  id?: string;
9223
+ last_error?: string | null;
9224
+ next_attempt_at?: string | null;
8671
9225
  order_ref: string;
8672
9226
  owner_module: string;
8673
9227
  payload?: import("../integrations/supabase/types").Json;
@@ -8688,6 +9242,8 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
8688
9242
  user_id?: string;
8689
9243
  };
8690
9244
  Update: {
9245
+ attempt_log?: import("../integrations/supabase/types").Json;
9246
+ attempts?: number;
8691
9247
  buffer_ref?: string | null;
8692
9248
  claimed_at?: string | null;
8693
9249
  claimed_by?: string | null;
@@ -8697,6 +9253,8 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
8697
9253
  due_at?: string | null;
8698
9254
  error?: string | null;
8699
9255
  id?: string;
9256
+ last_error?: string | null;
9257
+ next_attempt_at?: string | null;
8700
9258
  order_ref?: string;
8701
9259
  owner_module?: string;
8702
9260
  payload?: import("../integrations/supabase/types").Json;
@@ -10046,6 +10604,7 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
10046
10604
  };
10047
10605
  offer_settings: {
10048
10606
  Row: {
10607
+ brand_name: string | null;
10049
10608
  button_color: string;
10050
10609
  created_at: string;
10051
10610
  default_countries: string[];
@@ -10067,6 +10626,7 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
10067
10626
  updated_at: string;
10068
10627
  };
10069
10628
  Insert: {
10629
+ brand_name?: string | null;
10070
10630
  button_color?: string;
10071
10631
  created_at?: string;
10072
10632
  default_countries?: string[];
@@ -10088,6 +10648,7 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
10088
10648
  updated_at?: string;
10089
10649
  };
10090
10650
  Update: {
10651
+ brand_name?: string | null;
10091
10652
  button_color?: string;
10092
10653
  created_at?: string;
10093
10654
  default_countries?: string[];
@@ -17698,6 +18259,85 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
17698
18259
  };
17699
18260
  Returns: import("../integrations/supabase/types").Json;
17700
18261
  };
18262
+ claim_floriday_stock_queue: {
18263
+ Args: {
18264
+ p_limit?: number;
18265
+ p_worker?: string;
18266
+ };
18267
+ Returns: {
18268
+ attempts: number;
18269
+ connection_id: string;
18270
+ created_at: string;
18271
+ desired_available: boolean | null;
18272
+ gateway_attempt_id: string | null;
18273
+ id: string;
18274
+ last_error: string | null;
18275
+ locked_at: string | null;
18276
+ locked_by: string | null;
18277
+ next_attempt_at: string;
18278
+ number_of_pieces: number;
18279
+ sent_at: string | null;
18280
+ status: string;
18281
+ superseded_by: string | null;
18282
+ trade_item_id: string;
18283
+ updated_at: string;
18284
+ user_id: string;
18285
+ }[];
18286
+ SetofOptions: {
18287
+ from: "*";
18288
+ to: "floriday_continuous_stock_queue";
18289
+ isOneToOne: false;
18290
+ isSetofReturn: true;
18291
+ };
18292
+ };
18293
+ claim_logistics_tasks: {
18294
+ Args: {
18295
+ _limit?: number;
18296
+ _owner_module: string;
18297
+ _stale_minutes?: number;
18298
+ _task_type: string;
18299
+ _worker: string;
18300
+ };
18301
+ Returns: {
18302
+ attempt_log: import("../integrations/supabase/types").Json;
18303
+ attempts: number;
18304
+ buffer_ref: string | null;
18305
+ claimed_at: string | null;
18306
+ claimed_by: string | null;
18307
+ completed_at: string | null;
18308
+ created_at: string;
18309
+ depends_on: string[];
18310
+ due_at: string | null;
18311
+ error: string | null;
18312
+ id: string;
18313
+ last_error: string | null;
18314
+ next_attempt_at: string | null;
18315
+ order_ref: string;
18316
+ owner_module: string;
18317
+ payload: import("../integrations/supabase/types").Json;
18318
+ plan_run_id: string | null;
18319
+ planned_end: string | null;
18320
+ planned_start: string | null;
18321
+ priority: number;
18322
+ result: import("../integrations/supabase/types").Json | null;
18323
+ rule_config_id: string | null;
18324
+ rule_version: number | null;
18325
+ sequence: number;
18326
+ shadow: boolean;
18327
+ started_at: string | null;
18328
+ status: string;
18329
+ strategy_id: string | null;
18330
+ task_type: string;
18331
+ updated_at: string;
18332
+ user_id: string;
18333
+ }[];
18334
+ SetofOptions: {
18335
+ from: "*";
18336
+ to: "logistics_tasks";
18337
+ isOneToOne: false;
18338
+ isSetofReturn: true;
18339
+ };
18340
+ };
17701
18341
  claim_print_jobs: {
17702
18342
  Args: {
17703
18343
  _agent_id: string;
@@ -17762,10 +18402,24 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
17762
18402
  isSetofReturn: true;
17763
18403
  };
17764
18404
  };
18405
+ cleanup_floriday_stock_queue: {
18406
+ Args: never;
18407
+ Returns: undefined;
18408
+ };
17765
18409
  cleanup_old_bookings: {
17766
18410
  Args: never;
17767
18411
  Returns: undefined;
17768
18412
  };
18413
+ complete_floriday_stock_queue: {
18414
+ Args: {
18415
+ p_attempt_id?: string;
18416
+ p_error?: string;
18417
+ p_id: string;
18418
+ p_ok: boolean;
18419
+ p_permanent?: boolean;
18420
+ };
18421
+ Returns: undefined;
18422
+ };
17769
18423
  consume_bom_for_production: {
17770
18424
  Args: {
17771
18425
  p_connection_id: string;
@@ -17938,6 +18592,21 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
17938
18592
  Args: never;
17939
18593
  Returns: string;
17940
18594
  };
18595
+ exact_auth_consume_calls: {
18596
+ Args: {
18597
+ _account_key: string;
18598
+ _calls?: number;
18599
+ _day_limit?: number;
18600
+ _division_code: number;
18601
+ _environment: string;
18602
+ _minute_limit?: number;
18603
+ };
18604
+ Returns: import("../integrations/supabase/types").Json;
18605
+ };
18606
+ exact_auth_prune_sync_log: {
18607
+ Args: never;
18608
+ Returns: undefined;
18609
+ };
17941
18610
  exact_decrypt: {
17942
18611
  Args: {
17943
18612
  cipher: string;
@@ -18147,6 +18816,10 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
18147
18816
  };
18148
18817
  Returns: number;
18149
18818
  };
18819
+ get_offer_branding: {
18820
+ Args: never;
18821
+ Returns: import("../integrations/supabase/types").Json;
18822
+ };
18150
18823
  get_offer_by_link_code: {
18151
18824
  Args: {
18152
18825
  p_code: string;
@@ -18438,6 +19111,8 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
18438
19111
  p_worker?: string;
18439
19112
  };
18440
19113
  Returns: {
19114
+ attempt_log: import("../integrations/supabase/types").Json;
19115
+ attempts: number;
18441
19116
  buffer_ref: string | null;
18442
19117
  claimed_at: string | null;
18443
19118
  claimed_by: string | null;
@@ -18447,6 +19122,8 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
18447
19122
  due_at: string | null;
18448
19123
  error: string | null;
18449
19124
  id: string;
19125
+ last_error: string | null;
19126
+ next_attempt_at: string | null;
18450
19127
  order_ref: string;
18451
19128
  owner_module: string;
18452
19129
  payload: import("../integrations/supabase/types").Json;
@@ -18479,6 +19156,8 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
18479
19156
  p_worker?: string;
18480
19157
  };
18481
19158
  Returns: {
19159
+ attempt_log: import("../integrations/supabase/types").Json;
19160
+ attempts: number;
18482
19161
  buffer_ref: string | null;
18483
19162
  claimed_at: string | null;
18484
19163
  claimed_by: string | null;
@@ -18488,6 +19167,8 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
18488
19167
  due_at: string | null;
18489
19168
  error: string | null;
18490
19169
  id: string;
19170
+ last_error: string | null;
19171
+ next_attempt_at: string | null;
18491
19172
  order_ref: string;
18492
19173
  owner_module: string;
18493
19174
  payload: import("../integrations/supabase/types").Json;
@@ -18520,6 +19201,8 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
18520
19201
  p_task_id: string;
18521
19202
  };
18522
19203
  Returns: {
19204
+ attempt_log: import("../integrations/supabase/types").Json;
19205
+ attempts: number;
18523
19206
  buffer_ref: string | null;
18524
19207
  claimed_at: string | null;
18525
19208
  claimed_by: string | null;
@@ -18529,6 +19212,8 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
18529
19212
  due_at: string | null;
18530
19213
  error: string | null;
18531
19214
  id: string;
19215
+ last_error: string | null;
19216
+ next_attempt_at: string | null;
18532
19217
  order_ref: string;
18533
19218
  owner_module: string;
18534
19219
  payload: import("../integrations/supabase/types").Json;
@@ -18610,6 +19295,8 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
18610
19295
  p_task_id: string;
18611
19296
  };
18612
19297
  Returns: {
19298
+ attempt_log: import("../integrations/supabase/types").Json;
19299
+ attempts: number;
18613
19300
  buffer_ref: string | null;
18614
19301
  claimed_at: string | null;
18615
19302
  claimed_by: string | null;
@@ -18619,6 +19306,8 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
18619
19306
  due_at: string | null;
18620
19307
  error: string | null;
18621
19308
  id: string;
19309
+ last_error: string | null;
19310
+ next_attempt_at: string | null;
18622
19311
  order_ref: string;
18623
19312
  owner_module: string;
18624
19313
  payload: import("../integrations/supabase/types").Json;
@@ -18645,6 +19334,51 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
18645
19334
  isSetofReturn: false;
18646
19335
  };
18647
19336
  };
19337
+ logistics_floriday_claim_pushes: {
19338
+ Args: {
19339
+ _lease_seconds?: number;
19340
+ _limit?: number;
19341
+ _worker?: string;
19342
+ };
19343
+ Returns: {
19344
+ attempts: number;
19345
+ fulfillment_order_id: string;
19346
+ id: string;
19347
+ last_sent_hash: string;
19348
+ order_ref: string;
19349
+ payload: import("../integrations/supabase/types").Json;
19350
+ payload_hash: string;
19351
+ revision: number;
19352
+ }[];
19353
+ };
19354
+ logistics_floriday_finish_push: {
19355
+ Args: {
19356
+ _error?: string;
19357
+ _fulfillment_order_id?: string;
19358
+ _id: string;
19359
+ _max_age_hours?: number;
19360
+ _max_attempts?: number;
19361
+ _ok: boolean;
19362
+ _permanent?: boolean;
19363
+ _revision: number;
19364
+ _sent_hash?: string;
19365
+ };
19366
+ Returns: string;
19367
+ };
19368
+ logistics_floriday_prune_pushes: {
19369
+ Args: {
19370
+ _days?: number;
19371
+ };
19372
+ Returns: number;
19373
+ };
19374
+ logistics_floriday_queue_push: {
19375
+ Args: {
19376
+ _order_ref: string;
19377
+ _payload?: import("../integrations/supabase/types").Json;
19378
+ _payload_hash?: string;
19379
+ };
19380
+ Returns: string;
19381
+ };
18648
19382
  logistics_live_carriers: {
18649
19383
  Args: {
18650
19384
  p_order_ref: string;
@@ -19372,6 +20106,10 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
19372
20106
  Args: never;
19373
20107
  Returns: undefined;
19374
20108
  };
20109
+ run_logistics_tasks_dispatch: {
20110
+ Args: never;
20111
+ Returns: undefined;
20112
+ };
19375
20113
  run_twinfield_queue_tick: {
19376
20114
  Args: never;
19377
20115
  Returns: undefined;
@@ -19612,6 +20350,13 @@ export declare const listTradeItemsForPreview: import("@tanstack/start-client-co
19612
20350
  };
19613
20351
  Returns: number;
19614
20352
  };
20353
+ schedule_floriday_stock_queue_process: {
20354
+ Args: {
20355
+ p_apikey: string;
20356
+ p_url: string;
20357
+ };
20358
+ Returns: number;
20359
+ };
19615
20360
  schedule_floriday_token_refresh: {
19616
20361
  Args: {
19617
20362
  p_apikey: string;