@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
@@ -3539,6 +3539,474 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
3539
3539
  referencedColumns: ["id"];
3540
3540
  }];
3541
3541
  };
3542
+ exact_auth_call_budget: {
3543
+ Row: {
3544
+ account_key: string;
3545
+ day_count: number;
3546
+ day_date: string;
3547
+ division_code: number;
3548
+ environment: string;
3549
+ minute_count: number;
3550
+ minute_window: string;
3551
+ updated_at: string;
3552
+ };
3553
+ Insert: {
3554
+ account_key?: string;
3555
+ day_count?: number;
3556
+ day_date?: string;
3557
+ division_code?: number;
3558
+ environment: string;
3559
+ minute_count?: number;
3560
+ minute_window?: string;
3561
+ updated_at?: string;
3562
+ };
3563
+ Update: {
3564
+ account_key?: string;
3565
+ day_count?: number;
3566
+ day_date?: string;
3567
+ division_code?: number;
3568
+ environment?: string;
3569
+ minute_count?: number;
3570
+ minute_window?: string;
3571
+ updated_at?: string;
3572
+ };
3573
+ Relationships: [];
3574
+ };
3575
+ exact_auth_customers: {
3576
+ Row: {
3577
+ account_key: string;
3578
+ address_line1: string | null;
3579
+ chamber_of_commerce: string | null;
3580
+ city: string | null;
3581
+ code: string | null;
3582
+ country: string | null;
3583
+ created_at: string;
3584
+ currency: string | null;
3585
+ division_code: number | null;
3586
+ email: string | null;
3587
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3588
+ exact_id: string;
3589
+ exact_modified: string | null;
3590
+ exact_timestamp: number | null;
3591
+ id: string;
3592
+ is_active: boolean;
3593
+ name: string | null;
3594
+ phone: string | null;
3595
+ postcode: string | null;
3596
+ raw: import("../integrations/supabase/types").Json | null;
3597
+ status: string | null;
3598
+ updated_at: string;
3599
+ vat_number: string | null;
3600
+ website: string | null;
3601
+ };
3602
+ Insert: {
3603
+ account_key?: string;
3604
+ address_line1?: string | null;
3605
+ chamber_of_commerce?: string | null;
3606
+ city?: string | null;
3607
+ code?: string | null;
3608
+ country?: string | null;
3609
+ created_at?: string;
3610
+ currency?: string | null;
3611
+ division_code?: number | null;
3612
+ email?: string | null;
3613
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3614
+ exact_id: string;
3615
+ exact_modified?: string | null;
3616
+ exact_timestamp?: number | null;
3617
+ id?: string;
3618
+ is_active?: boolean;
3619
+ name?: string | null;
3620
+ phone?: string | null;
3621
+ postcode?: string | null;
3622
+ raw?: import("../integrations/supabase/types").Json | null;
3623
+ status?: string | null;
3624
+ updated_at?: string;
3625
+ vat_number?: string | null;
3626
+ website?: string | null;
3627
+ };
3628
+ Update: {
3629
+ account_key?: string;
3630
+ address_line1?: string | null;
3631
+ chamber_of_commerce?: string | null;
3632
+ city?: string | null;
3633
+ code?: string | null;
3634
+ country?: string | null;
3635
+ created_at?: string;
3636
+ currency?: string | null;
3637
+ division_code?: number | null;
3638
+ email?: string | null;
3639
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3640
+ exact_id?: string;
3641
+ exact_modified?: string | null;
3642
+ exact_timestamp?: number | null;
3643
+ id?: string;
3644
+ is_active?: boolean;
3645
+ name?: string | null;
3646
+ phone?: string | null;
3647
+ postcode?: string | null;
3648
+ raw?: import("../integrations/supabase/types").Json | null;
3649
+ status?: string | null;
3650
+ updated_at?: string;
3651
+ vat_number?: string | null;
3652
+ website?: string | null;
3653
+ };
3654
+ Relationships: [];
3655
+ };
3656
+ exact_auth_divisions: {
3657
+ Row: {
3658
+ account_key: string;
3659
+ company_name: string | null;
3660
+ created_at: string;
3661
+ division_code: number | null;
3662
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3663
+ id: string;
3664
+ last_synced_at: string | null;
3665
+ updated_at: string;
3666
+ };
3667
+ Insert: {
3668
+ account_key?: string;
3669
+ company_name?: string | null;
3670
+ created_at?: string;
3671
+ division_code?: number | null;
3672
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3673
+ id?: string;
3674
+ last_synced_at?: string | null;
3675
+ updated_at?: string;
3676
+ };
3677
+ Update: {
3678
+ account_key?: string;
3679
+ company_name?: string | null;
3680
+ created_at?: string;
3681
+ division_code?: number | null;
3682
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3683
+ id?: string;
3684
+ last_synced_at?: string | null;
3685
+ updated_at?: string;
3686
+ };
3687
+ Relationships: [];
3688
+ };
3689
+ exact_auth_invoice_lines: {
3690
+ Row: {
3691
+ account_key: string;
3692
+ amount_excl: number | null;
3693
+ created_at: string;
3694
+ description: string | null;
3695
+ discount: number | null;
3696
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3697
+ exact_id: string;
3698
+ exact_timestamp: number | null;
3699
+ id: string;
3700
+ invoice_exact_id: string;
3701
+ item_code: string | null;
3702
+ item_exact_id: string | null;
3703
+ line_number: number | null;
3704
+ quantity: number | null;
3705
+ raw: import("../integrations/supabase/types").Json | null;
3706
+ unit_price: number | null;
3707
+ updated_at: string;
3708
+ vat_amount: number | null;
3709
+ vat_code: string | null;
3710
+ };
3711
+ Insert: {
3712
+ account_key?: string;
3713
+ amount_excl?: number | null;
3714
+ created_at?: string;
3715
+ description?: string | null;
3716
+ discount?: number | null;
3717
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3718
+ exact_id: string;
3719
+ exact_timestamp?: number | null;
3720
+ id?: string;
3721
+ invoice_exact_id: string;
3722
+ item_code?: string | null;
3723
+ item_exact_id?: string | null;
3724
+ line_number?: number | null;
3725
+ quantity?: number | null;
3726
+ raw?: import("../integrations/supabase/types").Json | null;
3727
+ unit_price?: number | null;
3728
+ updated_at?: string;
3729
+ vat_amount?: number | null;
3730
+ vat_code?: string | null;
3731
+ };
3732
+ Update: {
3733
+ account_key?: string;
3734
+ amount_excl?: number | null;
3735
+ created_at?: string;
3736
+ description?: string | null;
3737
+ discount?: number | null;
3738
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3739
+ exact_id?: string;
3740
+ exact_timestamp?: number | null;
3741
+ id?: string;
3742
+ invoice_exact_id?: string;
3743
+ item_code?: string | null;
3744
+ item_exact_id?: string | null;
3745
+ line_number?: number | null;
3746
+ quantity?: number | null;
3747
+ raw?: import("../integrations/supabase/types").Json | null;
3748
+ unit_price?: number | null;
3749
+ updated_at?: string;
3750
+ vat_amount?: number | null;
3751
+ vat_code?: string | null;
3752
+ };
3753
+ Relationships: [];
3754
+ };
3755
+ exact_auth_invoices: {
3756
+ Row: {
3757
+ account_key: string;
3758
+ amount_excl: number | null;
3759
+ amount_incl: number | null;
3760
+ amount_open: number | null;
3761
+ created_at: string;
3762
+ currency: string | null;
3763
+ customer_code: string | null;
3764
+ customer_exact_id: string | null;
3765
+ customer_name: string | null;
3766
+ description: string | null;
3767
+ division_code: number | null;
3768
+ due_date: string | null;
3769
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3770
+ exact_id: string;
3771
+ exact_modified: string | null;
3772
+ exact_timestamp: number | null;
3773
+ id: string;
3774
+ invoice_date: string | null;
3775
+ invoice_number: string | null;
3776
+ order_number: string | null;
3777
+ paid_at: string | null;
3778
+ payment_status: string;
3779
+ raw: import("../integrations/supabase/types").Json | null;
3780
+ receivable_synced_at: string | null;
3781
+ status_code: number | null;
3782
+ updated_at: string;
3783
+ };
3784
+ Insert: {
3785
+ account_key?: string;
3786
+ amount_excl?: number | null;
3787
+ amount_incl?: number | null;
3788
+ amount_open?: number | null;
3789
+ created_at?: string;
3790
+ currency?: string | null;
3791
+ customer_code?: string | null;
3792
+ customer_exact_id?: string | null;
3793
+ customer_name?: string | null;
3794
+ description?: string | null;
3795
+ division_code?: number | null;
3796
+ due_date?: string | null;
3797
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3798
+ exact_id: string;
3799
+ exact_modified?: string | null;
3800
+ exact_timestamp?: number | null;
3801
+ id?: string;
3802
+ invoice_date?: string | null;
3803
+ invoice_number?: string | null;
3804
+ order_number?: string | null;
3805
+ paid_at?: string | null;
3806
+ payment_status?: string;
3807
+ raw?: import("../integrations/supabase/types").Json | null;
3808
+ receivable_synced_at?: string | null;
3809
+ status_code?: number | null;
3810
+ updated_at?: string;
3811
+ };
3812
+ Update: {
3813
+ account_key?: string;
3814
+ amount_excl?: number | null;
3815
+ amount_incl?: number | null;
3816
+ amount_open?: number | null;
3817
+ created_at?: string;
3818
+ currency?: string | null;
3819
+ customer_code?: string | null;
3820
+ customer_exact_id?: string | null;
3821
+ customer_name?: string | null;
3822
+ description?: string | null;
3823
+ division_code?: number | null;
3824
+ due_date?: string | null;
3825
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3826
+ exact_id?: string;
3827
+ exact_modified?: string | null;
3828
+ exact_timestamp?: number | null;
3829
+ id?: string;
3830
+ invoice_date?: string | null;
3831
+ invoice_number?: string | null;
3832
+ order_number?: string | null;
3833
+ paid_at?: string | null;
3834
+ payment_status?: string;
3835
+ raw?: import("../integrations/supabase/types").Json | null;
3836
+ receivable_synced_at?: string | null;
3837
+ status_code?: number | null;
3838
+ updated_at?: string;
3839
+ };
3840
+ Relationships: [];
3841
+ };
3842
+ exact_auth_items: {
3843
+ Row: {
3844
+ account_key: string;
3845
+ barcode: string | null;
3846
+ code: string | null;
3847
+ cost_price: number | null;
3848
+ created_at: string;
3849
+ description: string | null;
3850
+ division_code: number | null;
3851
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3852
+ exact_id: string;
3853
+ exact_modified: string | null;
3854
+ exact_timestamp: number | null;
3855
+ gl_account_code: string | null;
3856
+ id: string;
3857
+ is_active: boolean;
3858
+ is_sales_item: boolean | null;
3859
+ item_type: string | null;
3860
+ raw: import("../integrations/supabase/types").Json | null;
3861
+ sales_price: number | null;
3862
+ unit: string | null;
3863
+ updated_at: string;
3864
+ vat_code: string | null;
3865
+ };
3866
+ Insert: {
3867
+ account_key?: string;
3868
+ barcode?: string | null;
3869
+ code?: string | null;
3870
+ cost_price?: number | null;
3871
+ created_at?: string;
3872
+ description?: string | null;
3873
+ division_code?: number | null;
3874
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3875
+ exact_id: string;
3876
+ exact_modified?: string | null;
3877
+ exact_timestamp?: number | null;
3878
+ gl_account_code?: string | null;
3879
+ id?: string;
3880
+ is_active?: boolean;
3881
+ is_sales_item?: boolean | null;
3882
+ item_type?: string | null;
3883
+ raw?: import("../integrations/supabase/types").Json | null;
3884
+ sales_price?: number | null;
3885
+ unit?: string | null;
3886
+ updated_at?: string;
3887
+ vat_code?: string | null;
3888
+ };
3889
+ Update: {
3890
+ account_key?: string;
3891
+ barcode?: string | null;
3892
+ code?: string | null;
3893
+ cost_price?: number | null;
3894
+ created_at?: string;
3895
+ description?: string | null;
3896
+ division_code?: number | null;
3897
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3898
+ exact_id?: string;
3899
+ exact_modified?: string | null;
3900
+ exact_timestamp?: number | null;
3901
+ gl_account_code?: string | null;
3902
+ id?: string;
3903
+ is_active?: boolean;
3904
+ is_sales_item?: boolean | null;
3905
+ item_type?: string | null;
3906
+ raw?: import("../integrations/supabase/types").Json | null;
3907
+ sales_price?: number | null;
3908
+ unit?: string | null;
3909
+ updated_at?: string;
3910
+ vat_code?: string | null;
3911
+ };
3912
+ Relationships: [];
3913
+ };
3914
+ exact_auth_sync_log: {
3915
+ Row: {
3916
+ account_key: string;
3917
+ calls_used: number;
3918
+ created_at: string;
3919
+ domain: string;
3920
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3921
+ error: string | null;
3922
+ finished_at: string | null;
3923
+ id: string;
3924
+ ok: boolean;
3925
+ records: number;
3926
+ started_at: string;
3927
+ };
3928
+ Insert: {
3929
+ account_key?: string;
3930
+ calls_used?: number;
3931
+ created_at?: string;
3932
+ domain: string;
3933
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3934
+ error?: string | null;
3935
+ finished_at?: string | null;
3936
+ id?: string;
3937
+ ok?: boolean;
3938
+ records?: number;
3939
+ started_at?: string;
3940
+ };
3941
+ Update: {
3942
+ account_key?: string;
3943
+ calls_used?: number;
3944
+ created_at?: string;
3945
+ domain?: string;
3946
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3947
+ error?: string | null;
3948
+ finished_at?: string | null;
3949
+ id?: string;
3950
+ ok?: boolean;
3951
+ records?: number;
3952
+ started_at?: string;
3953
+ };
3954
+ Relationships: [];
3955
+ };
3956
+ exact_auth_sync_state: {
3957
+ Row: {
3958
+ account_key: string;
3959
+ created_at: string;
3960
+ cursor_timestamp: number;
3961
+ division_code: number | null;
3962
+ domain: string;
3963
+ duration_ms: number | null;
3964
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3965
+ initial_sync_done: boolean;
3966
+ last_error: string | null;
3967
+ last_run_at: string | null;
3968
+ last_success_at: string | null;
3969
+ locked_at: string | null;
3970
+ needs_initial_sync: boolean;
3971
+ record_count: number;
3972
+ updated_at: string;
3973
+ };
3974
+ Insert: {
3975
+ account_key?: string;
3976
+ created_at?: string;
3977
+ cursor_timestamp?: number;
3978
+ division_code?: number | null;
3979
+ domain: string;
3980
+ duration_ms?: number | null;
3981
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3982
+ initial_sync_done?: boolean;
3983
+ last_error?: string | null;
3984
+ last_run_at?: string | null;
3985
+ last_success_at?: string | null;
3986
+ locked_at?: string | null;
3987
+ needs_initial_sync?: boolean;
3988
+ record_count?: number;
3989
+ updated_at?: string;
3990
+ };
3991
+ Update: {
3992
+ account_key?: string;
3993
+ created_at?: string;
3994
+ cursor_timestamp?: number;
3995
+ division_code?: number | null;
3996
+ domain?: string;
3997
+ duration_ms?: number | null;
3998
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3999
+ initial_sync_done?: boolean;
4000
+ last_error?: string | null;
4001
+ last_run_at?: string | null;
4002
+ last_success_at?: string | null;
4003
+ locked_at?: string | null;
4004
+ needs_initial_sync?: boolean;
4005
+ record_count?: number;
4006
+ updated_at?: string;
4007
+ };
4008
+ Relationships: [];
4009
+ };
3542
4010
  exact_bulk_operation_items: {
3543
4011
  Row: {
3544
4012
  attempts: number;
@@ -5230,12 +5698,17 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
5230
5698
  attempts: number;
5231
5699
  connection_id: string;
5232
5700
  created_at: string;
5701
+ desired_available: boolean | null;
5233
5702
  gateway_attempt_id: string | null;
5234
5703
  id: string;
5235
5704
  last_error: string | null;
5705
+ locked_at: string | null;
5706
+ locked_by: string | null;
5707
+ next_attempt_at: string;
5236
5708
  number_of_pieces: number;
5237
5709
  sent_at: string | null;
5238
5710
  status: string;
5711
+ superseded_by: string | null;
5239
5712
  trade_item_id: string;
5240
5713
  updated_at: string;
5241
5714
  user_id: string;
@@ -5244,12 +5717,17 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
5244
5717
  attempts?: number;
5245
5718
  connection_id: string;
5246
5719
  created_at?: string;
5720
+ desired_available?: boolean | null;
5247
5721
  gateway_attempt_id?: string | null;
5248
5722
  id?: string;
5249
5723
  last_error?: string | null;
5724
+ locked_at?: string | null;
5725
+ locked_by?: string | null;
5726
+ next_attempt_at?: string;
5250
5727
  number_of_pieces?: number;
5251
5728
  sent_at?: string | null;
5252
5729
  status?: string;
5730
+ superseded_by?: string | null;
5253
5731
  trade_item_id: string;
5254
5732
  updated_at?: string;
5255
5733
  user_id: string;
@@ -5258,12 +5736,17 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
5258
5736
  attempts?: number;
5259
5737
  connection_id?: string;
5260
5738
  created_at?: string;
5739
+ desired_available?: boolean | null;
5261
5740
  gateway_attempt_id?: string | null;
5262
5741
  id?: string;
5263
5742
  last_error?: string | null;
5743
+ locked_at?: string | null;
5744
+ locked_by?: string | null;
5745
+ next_attempt_at?: string;
5264
5746
  number_of_pieces?: number;
5265
5747
  sent_at?: string | null;
5266
5748
  status?: string;
5749
+ superseded_by?: string | null;
5267
5750
  trade_item_id?: string;
5268
5751
  updated_at?: string;
5269
5752
  user_id?: string;
@@ -8012,6 +8495,69 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
8012
8495
  };
8013
8496
  Relationships: [];
8014
8497
  };
8498
+ logistics_floriday_pushes: {
8499
+ Row: {
8500
+ attempts: number;
8501
+ created_at: string;
8502
+ first_queued_at: string;
8503
+ fulfillment_order_id: string | null;
8504
+ id: string;
8505
+ last_error: string | null;
8506
+ last_error_at: string | null;
8507
+ last_sent_hash: string | null;
8508
+ locked_by: string | null;
8509
+ locked_until: string | null;
8510
+ next_attempt_at: string;
8511
+ order_ref: string;
8512
+ payload: import("../integrations/supabase/types").Json;
8513
+ payload_hash: string | null;
8514
+ revision: number;
8515
+ sent_at: string | null;
8516
+ status: string;
8517
+ updated_at: string;
8518
+ };
8519
+ Insert: {
8520
+ attempts?: number;
8521
+ created_at?: string;
8522
+ first_queued_at?: string;
8523
+ fulfillment_order_id?: string | null;
8524
+ id?: string;
8525
+ last_error?: string | null;
8526
+ last_error_at?: string | null;
8527
+ last_sent_hash?: string | null;
8528
+ locked_by?: string | null;
8529
+ locked_until?: string | null;
8530
+ next_attempt_at?: string;
8531
+ order_ref: string;
8532
+ payload?: import("../integrations/supabase/types").Json;
8533
+ payload_hash?: string | null;
8534
+ revision?: number;
8535
+ sent_at?: string | null;
8536
+ status?: string;
8537
+ updated_at?: string;
8538
+ };
8539
+ Update: {
8540
+ attempts?: number;
8541
+ created_at?: string;
8542
+ first_queued_at?: string;
8543
+ fulfillment_order_id?: string | null;
8544
+ id?: string;
8545
+ last_error?: string | null;
8546
+ last_error_at?: string | null;
8547
+ last_sent_hash?: string | null;
8548
+ locked_by?: string | null;
8549
+ locked_until?: string | null;
8550
+ next_attempt_at?: string;
8551
+ order_ref?: string;
8552
+ payload?: import("../integrations/supabase/types").Json;
8553
+ payload_hash?: string | null;
8554
+ revision?: number;
8555
+ sent_at?: string | null;
8556
+ status?: string;
8557
+ updated_at?: string;
8558
+ };
8559
+ Relationships: [];
8560
+ };
8015
8561
  logistics_formulas: {
8016
8562
  Row: {
8017
8563
  created_at: string;
@@ -8623,6 +9169,8 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
8623
9169
  };
8624
9170
  logistics_tasks: {
8625
9171
  Row: {
9172
+ attempt_log: import("../integrations/supabase/types").Json;
9173
+ attempts: number;
8626
9174
  buffer_ref: string | null;
8627
9175
  claimed_at: string | null;
8628
9176
  claimed_by: string | null;
@@ -8632,6 +9180,8 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
8632
9180
  due_at: string | null;
8633
9181
  error: string | null;
8634
9182
  id: string;
9183
+ last_error: string | null;
9184
+ next_attempt_at: string | null;
8635
9185
  order_ref: string;
8636
9186
  owner_module: string;
8637
9187
  payload: import("../integrations/supabase/types").Json;
@@ -8652,6 +9202,8 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
8652
9202
  user_id: string;
8653
9203
  };
8654
9204
  Insert: {
9205
+ attempt_log?: import("../integrations/supabase/types").Json;
9206
+ attempts?: number;
8655
9207
  buffer_ref?: string | null;
8656
9208
  claimed_at?: string | null;
8657
9209
  claimed_by?: string | null;
@@ -8661,6 +9213,8 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
8661
9213
  due_at?: string | null;
8662
9214
  error?: string | null;
8663
9215
  id?: string;
9216
+ last_error?: string | null;
9217
+ next_attempt_at?: string | null;
8664
9218
  order_ref: string;
8665
9219
  owner_module: string;
8666
9220
  payload?: import("../integrations/supabase/types").Json;
@@ -8681,6 +9235,8 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
8681
9235
  user_id?: string;
8682
9236
  };
8683
9237
  Update: {
9238
+ attempt_log?: import("../integrations/supabase/types").Json;
9239
+ attempts?: number;
8684
9240
  buffer_ref?: string | null;
8685
9241
  claimed_at?: string | null;
8686
9242
  claimed_by?: string | null;
@@ -8690,6 +9246,8 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
8690
9246
  due_at?: string | null;
8691
9247
  error?: string | null;
8692
9248
  id?: string;
9249
+ last_error?: string | null;
9250
+ next_attempt_at?: string | null;
8693
9251
  order_ref?: string;
8694
9252
  owner_module?: string;
8695
9253
  payload?: import("../integrations/supabase/types").Json;
@@ -10039,6 +10597,7 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
10039
10597
  };
10040
10598
  offer_settings: {
10041
10599
  Row: {
10600
+ brand_name: string | null;
10042
10601
  button_color: string;
10043
10602
  created_at: string;
10044
10603
  default_countries: string[];
@@ -10060,6 +10619,7 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
10060
10619
  updated_at: string;
10061
10620
  };
10062
10621
  Insert: {
10622
+ brand_name?: string | null;
10063
10623
  button_color?: string;
10064
10624
  created_at?: string;
10065
10625
  default_countries?: string[];
@@ -10081,6 +10641,7 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
10081
10641
  updated_at?: string;
10082
10642
  };
10083
10643
  Update: {
10644
+ brand_name?: string | null;
10084
10645
  button_color?: string;
10085
10646
  created_at?: string;
10086
10647
  default_countries?: string[];
@@ -17691,6 +18252,85 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
17691
18252
  };
17692
18253
  Returns: import("../integrations/supabase/types").Json;
17693
18254
  };
18255
+ claim_floriday_stock_queue: {
18256
+ Args: {
18257
+ p_limit?: number;
18258
+ p_worker?: string;
18259
+ };
18260
+ Returns: {
18261
+ attempts: number;
18262
+ connection_id: string;
18263
+ created_at: string;
18264
+ desired_available: boolean | null;
18265
+ gateway_attempt_id: string | null;
18266
+ id: string;
18267
+ last_error: string | null;
18268
+ locked_at: string | null;
18269
+ locked_by: string | null;
18270
+ next_attempt_at: string;
18271
+ number_of_pieces: number;
18272
+ sent_at: string | null;
18273
+ status: string;
18274
+ superseded_by: string | null;
18275
+ trade_item_id: string;
18276
+ updated_at: string;
18277
+ user_id: string;
18278
+ }[];
18279
+ SetofOptions: {
18280
+ from: "*";
18281
+ to: "floriday_continuous_stock_queue";
18282
+ isOneToOne: false;
18283
+ isSetofReturn: true;
18284
+ };
18285
+ };
18286
+ claim_logistics_tasks: {
18287
+ Args: {
18288
+ _limit?: number;
18289
+ _owner_module: string;
18290
+ _stale_minutes?: number;
18291
+ _task_type: string;
18292
+ _worker: string;
18293
+ };
18294
+ Returns: {
18295
+ attempt_log: import("../integrations/supabase/types").Json;
18296
+ attempts: number;
18297
+ buffer_ref: string | null;
18298
+ claimed_at: string | null;
18299
+ claimed_by: string | null;
18300
+ completed_at: string | null;
18301
+ created_at: string;
18302
+ depends_on: string[];
18303
+ due_at: string | null;
18304
+ error: string | null;
18305
+ id: string;
18306
+ last_error: string | null;
18307
+ next_attempt_at: string | null;
18308
+ order_ref: string;
18309
+ owner_module: string;
18310
+ payload: import("../integrations/supabase/types").Json;
18311
+ plan_run_id: string | null;
18312
+ planned_end: string | null;
18313
+ planned_start: string | null;
18314
+ priority: number;
18315
+ result: import("../integrations/supabase/types").Json | null;
18316
+ rule_config_id: string | null;
18317
+ rule_version: number | null;
18318
+ sequence: number;
18319
+ shadow: boolean;
18320
+ started_at: string | null;
18321
+ status: string;
18322
+ strategy_id: string | null;
18323
+ task_type: string;
18324
+ updated_at: string;
18325
+ user_id: string;
18326
+ }[];
18327
+ SetofOptions: {
18328
+ from: "*";
18329
+ to: "logistics_tasks";
18330
+ isOneToOne: false;
18331
+ isSetofReturn: true;
18332
+ };
18333
+ };
17694
18334
  claim_print_jobs: {
17695
18335
  Args: {
17696
18336
  _agent_id: string;
@@ -17755,10 +18395,24 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
17755
18395
  isSetofReturn: true;
17756
18396
  };
17757
18397
  };
18398
+ cleanup_floriday_stock_queue: {
18399
+ Args: never;
18400
+ Returns: undefined;
18401
+ };
17758
18402
  cleanup_old_bookings: {
17759
18403
  Args: never;
17760
18404
  Returns: undefined;
17761
18405
  };
18406
+ complete_floriday_stock_queue: {
18407
+ Args: {
18408
+ p_attempt_id?: string;
18409
+ p_error?: string;
18410
+ p_id: string;
18411
+ p_ok: boolean;
18412
+ p_permanent?: boolean;
18413
+ };
18414
+ Returns: undefined;
18415
+ };
17762
18416
  consume_bom_for_production: {
17763
18417
  Args: {
17764
18418
  p_connection_id: string;
@@ -17931,6 +18585,21 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
17931
18585
  Args: never;
17932
18586
  Returns: string;
17933
18587
  };
18588
+ exact_auth_consume_calls: {
18589
+ Args: {
18590
+ _account_key: string;
18591
+ _calls?: number;
18592
+ _day_limit?: number;
18593
+ _division_code: number;
18594
+ _environment: string;
18595
+ _minute_limit?: number;
18596
+ };
18597
+ Returns: import("../integrations/supabase/types").Json;
18598
+ };
18599
+ exact_auth_prune_sync_log: {
18600
+ Args: never;
18601
+ Returns: undefined;
18602
+ };
17934
18603
  exact_decrypt: {
17935
18604
  Args: {
17936
18605
  cipher: string;
@@ -18140,6 +18809,10 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
18140
18809
  };
18141
18810
  Returns: number;
18142
18811
  };
18812
+ get_offer_branding: {
18813
+ Args: never;
18814
+ Returns: import("../integrations/supabase/types").Json;
18815
+ };
18143
18816
  get_offer_by_link_code: {
18144
18817
  Args: {
18145
18818
  p_code: string;
@@ -18431,6 +19104,8 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
18431
19104
  p_worker?: string;
18432
19105
  };
18433
19106
  Returns: {
19107
+ attempt_log: import("../integrations/supabase/types").Json;
19108
+ attempts: number;
18434
19109
  buffer_ref: string | null;
18435
19110
  claimed_at: string | null;
18436
19111
  claimed_by: string | null;
@@ -18440,6 +19115,8 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
18440
19115
  due_at: string | null;
18441
19116
  error: string | null;
18442
19117
  id: string;
19118
+ last_error: string | null;
19119
+ next_attempt_at: string | null;
18443
19120
  order_ref: string;
18444
19121
  owner_module: string;
18445
19122
  payload: import("../integrations/supabase/types").Json;
@@ -18472,6 +19149,8 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
18472
19149
  p_worker?: string;
18473
19150
  };
18474
19151
  Returns: {
19152
+ attempt_log: import("../integrations/supabase/types").Json;
19153
+ attempts: number;
18475
19154
  buffer_ref: string | null;
18476
19155
  claimed_at: string | null;
18477
19156
  claimed_by: string | null;
@@ -18481,6 +19160,8 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
18481
19160
  due_at: string | null;
18482
19161
  error: string | null;
18483
19162
  id: string;
19163
+ last_error: string | null;
19164
+ next_attempt_at: string | null;
18484
19165
  order_ref: string;
18485
19166
  owner_module: string;
18486
19167
  payload: import("../integrations/supabase/types").Json;
@@ -18513,6 +19194,8 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
18513
19194
  p_task_id: string;
18514
19195
  };
18515
19196
  Returns: {
19197
+ attempt_log: import("../integrations/supabase/types").Json;
19198
+ attempts: number;
18516
19199
  buffer_ref: string | null;
18517
19200
  claimed_at: string | null;
18518
19201
  claimed_by: string | null;
@@ -18522,6 +19205,8 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
18522
19205
  due_at: string | null;
18523
19206
  error: string | null;
18524
19207
  id: string;
19208
+ last_error: string | null;
19209
+ next_attempt_at: string | null;
18525
19210
  order_ref: string;
18526
19211
  owner_module: string;
18527
19212
  payload: import("../integrations/supabase/types").Json;
@@ -18603,6 +19288,8 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
18603
19288
  p_task_id: string;
18604
19289
  };
18605
19290
  Returns: {
19291
+ attempt_log: import("../integrations/supabase/types").Json;
19292
+ attempts: number;
18606
19293
  buffer_ref: string | null;
18607
19294
  claimed_at: string | null;
18608
19295
  claimed_by: string | null;
@@ -18612,6 +19299,8 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
18612
19299
  due_at: string | null;
18613
19300
  error: string | null;
18614
19301
  id: string;
19302
+ last_error: string | null;
19303
+ next_attempt_at: string | null;
18615
19304
  order_ref: string;
18616
19305
  owner_module: string;
18617
19306
  payload: import("../integrations/supabase/types").Json;
@@ -18638,6 +19327,51 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
18638
19327
  isSetofReturn: false;
18639
19328
  };
18640
19329
  };
19330
+ logistics_floriday_claim_pushes: {
19331
+ Args: {
19332
+ _lease_seconds?: number;
19333
+ _limit?: number;
19334
+ _worker?: string;
19335
+ };
19336
+ Returns: {
19337
+ attempts: number;
19338
+ fulfillment_order_id: string;
19339
+ id: string;
19340
+ last_sent_hash: string;
19341
+ order_ref: string;
19342
+ payload: import("../integrations/supabase/types").Json;
19343
+ payload_hash: string;
19344
+ revision: number;
19345
+ }[];
19346
+ };
19347
+ logistics_floriday_finish_push: {
19348
+ Args: {
19349
+ _error?: string;
19350
+ _fulfillment_order_id?: string;
19351
+ _id: string;
19352
+ _max_age_hours?: number;
19353
+ _max_attempts?: number;
19354
+ _ok: boolean;
19355
+ _permanent?: boolean;
19356
+ _revision: number;
19357
+ _sent_hash?: string;
19358
+ };
19359
+ Returns: string;
19360
+ };
19361
+ logistics_floriday_prune_pushes: {
19362
+ Args: {
19363
+ _days?: number;
19364
+ };
19365
+ Returns: number;
19366
+ };
19367
+ logistics_floriday_queue_push: {
19368
+ Args: {
19369
+ _order_ref: string;
19370
+ _payload?: import("../integrations/supabase/types").Json;
19371
+ _payload_hash?: string;
19372
+ };
19373
+ Returns: string;
19374
+ };
18641
19375
  logistics_live_carriers: {
18642
19376
  Args: {
18643
19377
  p_order_ref: string;
@@ -19365,6 +20099,10 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
19365
20099
  Args: never;
19366
20100
  Returns: undefined;
19367
20101
  };
20102
+ run_logistics_tasks_dispatch: {
20103
+ Args: never;
20104
+ Returns: undefined;
20105
+ };
19368
20106
  run_twinfield_queue_tick: {
19369
20107
  Args: never;
19370
20108
  Returns: undefined;
@@ -19605,6 +20343,13 @@ export declare const listTwinfieldLedgerAccounts: import("@tanstack/start-client
19605
20343
  };
19606
20344
  Returns: number;
19607
20345
  };
20346
+ schedule_floriday_stock_queue_process: {
20347
+ Args: {
20348
+ p_apikey: string;
20349
+ p_url: string;
20350
+ };
20351
+ Returns: number;
20352
+ };
19608
20353
  schedule_floriday_token_refresh: {
19609
20354
  Args: {
19610
20355
  p_apikey: string;