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