@flowselections/floriday-authenticatie-module 1.0.31 → 1.0.35

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 (54) hide show
  1. package/dist-lib/components/TemplatePage.d.ts +1 -1
  2. package/dist-lib/components/TemplatePage.d.ts.map +1 -1
  3. package/dist-lib/components/floriday/FlorydayConnectionPage.d.ts +1 -1
  4. package/dist-lib/components/floriday/FlorydayConnectionPage.d.ts.map +1 -1
  5. package/dist-lib/components/floriday/FlorydaySyncHealthBanner.d.ts +1 -1
  6. package/dist-lib/components/floriday/FlorydaySyncHealthBanner.d.ts.map +1 -1
  7. package/dist-lib/components/floriday/FlorydaySyncJobsCard.d.ts +1 -1
  8. package/dist-lib/components/floriday/FlorydaySyncJobsCard.d.ts.map +1 -1
  9. package/dist-lib/components/floriday/TokenHealthCard.d.ts +1 -1
  10. package/dist-lib/components/floriday/TokenHealthCard.d.ts.map +1 -1
  11. package/dist-lib/components/settings/FloricodeSettingsCard.d.ts +1 -1
  12. package/dist-lib/components/settings/FloricodeSettingsCard.d.ts.map +1 -1
  13. package/dist-lib/components/settings/FlorydaySettingsCard.d.ts +1 -1
  14. package/dist-lib/components/settings/FlorydaySettingsCard.d.ts.map +1 -1
  15. package/dist-lib/integrations/supabase/auth-middleware.d.ts +652 -221
  16. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  17. package/dist-lib/integrations/supabase/client.d.ts +652 -221
  18. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  19. package/dist-lib/integrations/supabase/client.server.d.ts +652 -221
  20. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  21. package/dist-lib/integrations/supabase/types.d.ts +653 -228
  22. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  23. package/dist-lib/integrations/supabase/types.js +1 -12
  24. package/dist-lib/lib/central-auth.server.d.ts +26 -1
  25. package/dist-lib/lib/central-auth.server.d.ts.map +1 -1
  26. package/dist-lib/lib/central-auth.server.js +69 -3
  27. package/dist-lib/lib/cron/index.d.ts +1 -0
  28. package/dist-lib/lib/cron/index.d.ts.map +1 -1
  29. package/dist-lib/lib/cron/index.js +1 -0
  30. package/dist-lib/lib/cron/process-stock-queue.d.ts +43 -0
  31. package/dist-lib/lib/cron/process-stock-queue.d.ts.map +1 -0
  32. package/dist-lib/lib/cron/process-stock-queue.js +218 -0
  33. package/dist-lib/lib/cron/refresh-floriday-tokens.d.ts.map +1 -1
  34. package/dist-lib/lib/cron/refresh-floriday-tokens.js +27 -148
  35. package/dist-lib/lib/error-page.js +30 -30
  36. package/dist-lib/lib/floricode.functions.d.ts +4557 -1540
  37. package/dist-lib/lib/floricode.functions.d.ts.map +1 -1
  38. package/dist-lib/lib/floriday-auction-letters.functions.d.ts +652 -221
  39. package/dist-lib/lib/floriday-auction-letters.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/floriday-labels.functions.d.ts +652 -221
  41. package/dist-lib/lib/floriday-labels.functions.d.ts.map +1 -1
  42. package/dist-lib/lib/floriday-public.functions.d.ts +3912 -1362
  43. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  44. package/dist-lib/lib/floriday-stickers.functions.d.ts +652 -221
  45. package/dist-lib/lib/floriday-stickers.functions.d.ts.map +1 -1
  46. package/dist-lib/lib/floriday-sync.functions.d.ts +20181 -6820
  47. package/dist-lib/lib/floriday-sync.functions.d.ts.map +1 -1
  48. package/dist-lib/lib/floriday-writes.functions.d.ts +3906 -1320
  49. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  50. package/dist-lib/lib/floriday.functions.d.ts +32289 -4066
  51. package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
  52. package/dist-lib/lib/floriday.functions.js +111 -45
  53. package/package.json +483 -475
  54. package/dist-lib/assets/floriday-logo.png.asset.json +0 -11
@@ -347,7 +347,6 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
347
347
  active: boolean;
348
348
  api_key: string;
349
349
  created_at: string;
350
- created_by: string | null;
351
350
  id: string;
352
351
  label: string;
353
352
  provider_id: string;
@@ -357,7 +356,6 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
357
356
  active?: boolean;
358
357
  api_key: string;
359
358
  created_at?: string;
360
- created_by?: string | null;
361
359
  id?: string;
362
360
  label: string;
363
361
  provider_id: string;
@@ -367,7 +365,6 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
367
365
  active?: boolean;
368
366
  api_key?: string;
369
367
  created_at?: string;
370
- created_by?: string | null;
371
368
  id?: string;
372
369
  label?: string;
373
370
  provider_id?: string;
@@ -1639,13 +1636,7 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
1639
1636
  id?: string;
1640
1637
  user_id?: string | null;
1641
1638
  };
1642
- Relationships: [{
1643
- foreignKeyName: "customer_audit_log_customer_id_fkey";
1644
- columns: ["customer_id"];
1645
- isOneToOne: false;
1646
- referencedRelation: "customers";
1647
- referencedColumns: ["id"];
1648
- }];
1639
+ Relationships: [];
1649
1640
  };
1650
1641
  customer_contacts: {
1651
1642
  Row: {
@@ -1706,7 +1697,7 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
1706
1697
  city: string | null;
1707
1698
  country: string | null;
1708
1699
  created_at: string;
1709
- customer_id: string;
1700
+ customer_id: string | null;
1710
1701
  external_key: string | null;
1711
1702
  external_provider: string | null;
1712
1703
  floriday_location_id: string | null;
@@ -1730,7 +1721,7 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
1730
1721
  city?: string | null;
1731
1722
  country?: string | null;
1732
1723
  created_at?: string;
1733
- customer_id: string;
1724
+ customer_id?: string | null;
1734
1725
  external_key?: string | null;
1735
1726
  external_provider?: string | null;
1736
1727
  floriday_location_id?: string | null;
@@ -1754,7 +1745,7 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
1754
1745
  city?: string | null;
1755
1746
  country?: string | null;
1756
1747
  created_at?: string;
1757
- customer_id?: string;
1748
+ customer_id?: string | null;
1758
1749
  external_key?: string | null;
1759
1750
  external_provider?: string | null;
1760
1751
  floriday_location_id?: string | null;
@@ -3558,6 +3549,474 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
3558
3549
  referencedColumns: ["id"];
3559
3550
  }];
3560
3551
  };
3552
+ exact_auth_call_budget: {
3553
+ Row: {
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
+ Insert: {
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
+ Update: {
3574
+ account_key?: string;
3575
+ day_count?: number;
3576
+ day_date?: string;
3577
+ division_code?: number;
3578
+ environment?: string;
3579
+ minute_count?: number;
3580
+ minute_window?: string;
3581
+ updated_at?: string;
3582
+ };
3583
+ Relationships: [];
3584
+ };
3585
+ exact_auth_customers: {
3586
+ Row: {
3587
+ account_key: string;
3588
+ address_line1: string | null;
3589
+ chamber_of_commerce: string | null;
3590
+ city: string | null;
3591
+ code: string | null;
3592
+ country: string | null;
3593
+ created_at: string;
3594
+ currency: string | null;
3595
+ division_code: number | null;
3596
+ email: string | null;
3597
+ environment: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3598
+ exact_id: string;
3599
+ exact_modified: string | null;
3600
+ exact_timestamp: number | null;
3601
+ id: string;
3602
+ is_active: boolean;
3603
+ name: string | null;
3604
+ phone: string | null;
3605
+ postcode: string | null;
3606
+ raw: import("../integrations/supabase/types.js").Json | null;
3607
+ status: string | null;
3608
+ updated_at: string;
3609
+ vat_number: string | null;
3610
+ website: string | null;
3611
+ };
3612
+ Insert: {
3613
+ account_key?: string;
3614
+ address_line1?: string | null;
3615
+ chamber_of_commerce?: string | null;
3616
+ city?: string | null;
3617
+ code?: string | null;
3618
+ country?: string | null;
3619
+ created_at?: string;
3620
+ currency?: string | null;
3621
+ division_code?: number | null;
3622
+ email?: string | null;
3623
+ environment: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3624
+ exact_id: string;
3625
+ exact_modified?: string | null;
3626
+ exact_timestamp?: number | null;
3627
+ id?: string;
3628
+ is_active?: boolean;
3629
+ name?: string | null;
3630
+ phone?: string | null;
3631
+ postcode?: string | null;
3632
+ raw?: import("../integrations/supabase/types.js").Json | null;
3633
+ status?: string | null;
3634
+ updated_at?: string;
3635
+ vat_number?: string | null;
3636
+ website?: string | null;
3637
+ };
3638
+ Update: {
3639
+ account_key?: string;
3640
+ address_line1?: string | null;
3641
+ chamber_of_commerce?: string | null;
3642
+ city?: string | null;
3643
+ code?: string | null;
3644
+ country?: string | null;
3645
+ created_at?: string;
3646
+ currency?: string | null;
3647
+ division_code?: number | null;
3648
+ email?: string | null;
3649
+ environment?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3650
+ exact_id?: string;
3651
+ exact_modified?: string | null;
3652
+ exact_timestamp?: number | null;
3653
+ id?: string;
3654
+ is_active?: boolean;
3655
+ name?: string | null;
3656
+ phone?: string | null;
3657
+ postcode?: string | null;
3658
+ raw?: import("../integrations/supabase/types.js").Json | null;
3659
+ status?: string | null;
3660
+ updated_at?: string;
3661
+ vat_number?: string | null;
3662
+ website?: string | null;
3663
+ };
3664
+ Relationships: [];
3665
+ };
3666
+ exact_auth_divisions: {
3667
+ Row: {
3668
+ account_key: string;
3669
+ company_name: string | null;
3670
+ created_at: string;
3671
+ division_code: number | null;
3672
+ environment: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3673
+ id: string;
3674
+ last_synced_at: string | null;
3675
+ updated_at: string;
3676
+ };
3677
+ Insert: {
3678
+ account_key?: string;
3679
+ company_name?: string | null;
3680
+ created_at?: string;
3681
+ division_code?: number | null;
3682
+ environment: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3683
+ id?: string;
3684
+ last_synced_at?: string | null;
3685
+ updated_at?: string;
3686
+ };
3687
+ Update: {
3688
+ account_key?: string;
3689
+ company_name?: string | null;
3690
+ created_at?: string;
3691
+ division_code?: number | null;
3692
+ environment?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3693
+ id?: string;
3694
+ last_synced_at?: string | null;
3695
+ updated_at?: string;
3696
+ };
3697
+ Relationships: [];
3698
+ };
3699
+ exact_auth_invoice_lines: {
3700
+ Row: {
3701
+ account_key: string;
3702
+ amount_excl: number | null;
3703
+ created_at: string;
3704
+ description: string | null;
3705
+ discount: number | null;
3706
+ environment: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3707
+ exact_id: string;
3708
+ exact_timestamp: number | null;
3709
+ id: string;
3710
+ invoice_exact_id: string;
3711
+ item_code: string | null;
3712
+ item_exact_id: string | null;
3713
+ line_number: number | null;
3714
+ quantity: number | null;
3715
+ raw: import("../integrations/supabase/types.js").Json | null;
3716
+ unit_price: number | null;
3717
+ updated_at: string;
3718
+ vat_amount: number | null;
3719
+ vat_code: string | null;
3720
+ };
3721
+ Insert: {
3722
+ account_key?: string;
3723
+ amount_excl?: number | null;
3724
+ created_at?: string;
3725
+ description?: string | null;
3726
+ discount?: number | null;
3727
+ environment: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3728
+ exact_id: string;
3729
+ exact_timestamp?: number | null;
3730
+ id?: string;
3731
+ invoice_exact_id: string;
3732
+ item_code?: string | null;
3733
+ item_exact_id?: string | null;
3734
+ line_number?: number | null;
3735
+ quantity?: number | null;
3736
+ raw?: import("../integrations/supabase/types.js").Json | null;
3737
+ unit_price?: number | null;
3738
+ updated_at?: string;
3739
+ vat_amount?: number | null;
3740
+ vat_code?: string | null;
3741
+ };
3742
+ Update: {
3743
+ account_key?: string;
3744
+ amount_excl?: number | null;
3745
+ created_at?: string;
3746
+ description?: string | null;
3747
+ discount?: number | null;
3748
+ environment?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3749
+ exact_id?: string;
3750
+ exact_timestamp?: number | null;
3751
+ id?: string;
3752
+ invoice_exact_id?: string;
3753
+ item_code?: string | null;
3754
+ item_exact_id?: string | null;
3755
+ line_number?: number | null;
3756
+ quantity?: number | null;
3757
+ raw?: import("../integrations/supabase/types.js").Json | null;
3758
+ unit_price?: number | null;
3759
+ updated_at?: string;
3760
+ vat_amount?: number | null;
3761
+ vat_code?: string | null;
3762
+ };
3763
+ Relationships: [];
3764
+ };
3765
+ exact_auth_invoices: {
3766
+ Row: {
3767
+ account_key: string;
3768
+ amount_excl: number | null;
3769
+ amount_incl: number | null;
3770
+ amount_open: number | null;
3771
+ created_at: string;
3772
+ currency: string | null;
3773
+ customer_code: string | null;
3774
+ customer_exact_id: string | null;
3775
+ customer_name: string | null;
3776
+ description: string | null;
3777
+ division_code: number | null;
3778
+ due_date: string | null;
3779
+ environment: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3780
+ exact_id: string;
3781
+ exact_modified: string | null;
3782
+ exact_timestamp: number | null;
3783
+ id: string;
3784
+ invoice_date: string | null;
3785
+ invoice_number: string | null;
3786
+ order_number: string | null;
3787
+ paid_at: string | null;
3788
+ payment_status: string;
3789
+ raw: import("../integrations/supabase/types.js").Json | null;
3790
+ receivable_synced_at: string | null;
3791
+ status_code: number | null;
3792
+ updated_at: string;
3793
+ };
3794
+ Insert: {
3795
+ account_key?: string;
3796
+ amount_excl?: number | null;
3797
+ amount_incl?: number | null;
3798
+ amount_open?: number | null;
3799
+ created_at?: string;
3800
+ currency?: string | null;
3801
+ customer_code?: string | null;
3802
+ customer_exact_id?: string | null;
3803
+ customer_name?: string | null;
3804
+ description?: string | null;
3805
+ division_code?: number | null;
3806
+ due_date?: string | null;
3807
+ environment: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3808
+ exact_id: string;
3809
+ exact_modified?: string | null;
3810
+ exact_timestamp?: number | null;
3811
+ id?: string;
3812
+ invoice_date?: string | null;
3813
+ invoice_number?: string | null;
3814
+ order_number?: string | null;
3815
+ paid_at?: string | null;
3816
+ payment_status?: string;
3817
+ raw?: import("../integrations/supabase/types.js").Json | null;
3818
+ receivable_synced_at?: string | null;
3819
+ status_code?: number | null;
3820
+ updated_at?: string;
3821
+ };
3822
+ Update: {
3823
+ account_key?: string;
3824
+ amount_excl?: number | null;
3825
+ amount_incl?: number | null;
3826
+ amount_open?: number | null;
3827
+ created_at?: string;
3828
+ currency?: string | null;
3829
+ customer_code?: string | null;
3830
+ customer_exact_id?: string | null;
3831
+ customer_name?: string | null;
3832
+ description?: string | null;
3833
+ division_code?: number | null;
3834
+ due_date?: string | null;
3835
+ environment?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3836
+ exact_id?: string;
3837
+ exact_modified?: string | null;
3838
+ exact_timestamp?: number | null;
3839
+ id?: string;
3840
+ invoice_date?: string | null;
3841
+ invoice_number?: string | null;
3842
+ order_number?: string | null;
3843
+ paid_at?: string | null;
3844
+ payment_status?: string;
3845
+ raw?: import("../integrations/supabase/types.js").Json | null;
3846
+ receivable_synced_at?: string | null;
3847
+ status_code?: number | null;
3848
+ updated_at?: string;
3849
+ };
3850
+ Relationships: [];
3851
+ };
3852
+ exact_auth_items: {
3853
+ Row: {
3854
+ account_key: string;
3855
+ barcode: string | null;
3856
+ code: string | null;
3857
+ cost_price: number | null;
3858
+ created_at: string;
3859
+ description: string | null;
3860
+ division_code: number | null;
3861
+ environment: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3862
+ exact_id: string;
3863
+ exact_modified: string | null;
3864
+ exact_timestamp: number | null;
3865
+ gl_account_code: string | null;
3866
+ id: string;
3867
+ is_active: boolean;
3868
+ is_sales_item: boolean | null;
3869
+ item_type: string | null;
3870
+ raw: import("../integrations/supabase/types.js").Json | null;
3871
+ sales_price: number | null;
3872
+ unit: string | null;
3873
+ updated_at: string;
3874
+ vat_code: string | null;
3875
+ };
3876
+ Insert: {
3877
+ account_key?: string;
3878
+ barcode?: string | null;
3879
+ code?: string | null;
3880
+ cost_price?: number | null;
3881
+ created_at?: string;
3882
+ description?: string | null;
3883
+ division_code?: number | null;
3884
+ environment: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3885
+ exact_id: string;
3886
+ exact_modified?: string | null;
3887
+ exact_timestamp?: number | null;
3888
+ gl_account_code?: string | null;
3889
+ id?: string;
3890
+ is_active?: boolean;
3891
+ is_sales_item?: boolean | null;
3892
+ item_type?: string | null;
3893
+ raw?: import("../integrations/supabase/types.js").Json | null;
3894
+ sales_price?: number | null;
3895
+ unit?: string | null;
3896
+ updated_at?: string;
3897
+ vat_code?: string | null;
3898
+ };
3899
+ Update: {
3900
+ account_key?: string;
3901
+ barcode?: string | null;
3902
+ code?: string | null;
3903
+ cost_price?: number | null;
3904
+ created_at?: string;
3905
+ description?: string | null;
3906
+ division_code?: number | null;
3907
+ environment?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3908
+ exact_id?: string;
3909
+ exact_modified?: string | null;
3910
+ exact_timestamp?: number | null;
3911
+ gl_account_code?: string | null;
3912
+ id?: string;
3913
+ is_active?: boolean;
3914
+ is_sales_item?: boolean | null;
3915
+ item_type?: string | null;
3916
+ raw?: import("../integrations/supabase/types.js").Json | null;
3917
+ sales_price?: number | null;
3918
+ unit?: string | null;
3919
+ updated_at?: string;
3920
+ vat_code?: string | null;
3921
+ };
3922
+ Relationships: [];
3923
+ };
3924
+ exact_auth_sync_log: {
3925
+ Row: {
3926
+ account_key: string;
3927
+ calls_used: number;
3928
+ created_at: string;
3929
+ domain: string;
3930
+ environment: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3931
+ error: string | null;
3932
+ finished_at: string | null;
3933
+ id: string;
3934
+ ok: boolean;
3935
+ records: number;
3936
+ started_at: string;
3937
+ };
3938
+ Insert: {
3939
+ account_key?: string;
3940
+ calls_used?: number;
3941
+ created_at?: string;
3942
+ domain: string;
3943
+ environment: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3944
+ error?: string | null;
3945
+ finished_at?: string | null;
3946
+ id?: string;
3947
+ ok?: boolean;
3948
+ records?: number;
3949
+ started_at?: string;
3950
+ };
3951
+ Update: {
3952
+ account_key?: string;
3953
+ calls_used?: number;
3954
+ created_at?: string;
3955
+ domain?: string;
3956
+ environment?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3957
+ error?: string | null;
3958
+ finished_at?: string | null;
3959
+ id?: string;
3960
+ ok?: boolean;
3961
+ records?: number;
3962
+ started_at?: string;
3963
+ };
3964
+ Relationships: [];
3965
+ };
3966
+ exact_auth_sync_state: {
3967
+ Row: {
3968
+ account_key: string;
3969
+ created_at: string;
3970
+ cursor_timestamp: number;
3971
+ division_code: number | null;
3972
+ domain: string;
3973
+ duration_ms: number | null;
3974
+ environment: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3975
+ initial_sync_done: boolean;
3976
+ last_error: string | null;
3977
+ last_run_at: string | null;
3978
+ last_success_at: string | null;
3979
+ locked_at: string | null;
3980
+ needs_initial_sync: boolean;
3981
+ record_count: number;
3982
+ updated_at: string;
3983
+ };
3984
+ Insert: {
3985
+ account_key?: string;
3986
+ created_at?: string;
3987
+ cursor_timestamp?: number;
3988
+ division_code?: number | null;
3989
+ domain: string;
3990
+ duration_ms?: number | null;
3991
+ environment: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3992
+ initial_sync_done?: boolean;
3993
+ last_error?: string | null;
3994
+ last_run_at?: string | null;
3995
+ last_success_at?: string | null;
3996
+ locked_at?: string | null;
3997
+ needs_initial_sync?: boolean;
3998
+ record_count?: number;
3999
+ updated_at?: string;
4000
+ };
4001
+ Update: {
4002
+ account_key?: string;
4003
+ created_at?: string;
4004
+ cursor_timestamp?: number;
4005
+ division_code?: number | null;
4006
+ domain?: string;
4007
+ duration_ms?: number | null;
4008
+ environment?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
4009
+ initial_sync_done?: boolean;
4010
+ last_error?: string | null;
4011
+ last_run_at?: string | null;
4012
+ last_success_at?: string | null;
4013
+ locked_at?: string | null;
4014
+ needs_initial_sync?: boolean;
4015
+ record_count?: number;
4016
+ updated_at?: string;
4017
+ };
4018
+ Relationships: [];
4019
+ };
3561
4020
  exact_bulk_operation_items: {
3562
4021
  Row: {
3563
4022
  attempts: number;
@@ -5249,12 +5708,17 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
5249
5708
  attempts: number;
5250
5709
  connection_id: string;
5251
5710
  created_at: string;
5711
+ desired_available: boolean | null;
5252
5712
  gateway_attempt_id: string | null;
5253
5713
  id: string;
5254
5714
  last_error: string | null;
5715
+ locked_at: string | null;
5716
+ locked_by: string | null;
5717
+ next_attempt_at: string;
5255
5718
  number_of_pieces: number;
5256
5719
  sent_at: string | null;
5257
5720
  status: string;
5721
+ superseded_by: string | null;
5258
5722
  trade_item_id: string;
5259
5723
  updated_at: string;
5260
5724
  user_id: string;
@@ -5263,12 +5727,17 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
5263
5727
  attempts?: number;
5264
5728
  connection_id: string;
5265
5729
  created_at?: string;
5730
+ desired_available?: boolean | null;
5266
5731
  gateway_attempt_id?: string | null;
5267
5732
  id?: string;
5268
5733
  last_error?: string | null;
5734
+ locked_at?: string | null;
5735
+ locked_by?: string | null;
5736
+ next_attempt_at?: string;
5269
5737
  number_of_pieces?: number;
5270
5738
  sent_at?: string | null;
5271
5739
  status?: string;
5740
+ superseded_by?: string | null;
5272
5741
  trade_item_id: string;
5273
5742
  updated_at?: string;
5274
5743
  user_id: string;
@@ -5277,12 +5746,17 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
5277
5746
  attempts?: number;
5278
5747
  connection_id?: string;
5279
5748
  created_at?: string;
5749
+ desired_available?: boolean | null;
5280
5750
  gateway_attempt_id?: string | null;
5281
5751
  id?: string;
5282
5752
  last_error?: string | null;
5753
+ locked_at?: string | null;
5754
+ locked_by?: string | null;
5755
+ next_attempt_at?: string;
5283
5756
  number_of_pieces?: number;
5284
5757
  sent_at?: string | null;
5285
5758
  status?: string;
5759
+ superseded_by?: string | null;
5286
5760
  trade_item_id?: string;
5287
5761
  updated_at?: string;
5288
5762
  user_id?: string;
@@ -6019,8 +6493,6 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
6019
6493
  Row: {
6020
6494
  buyer_organization_id: string | null;
6021
6495
  connection_id: string;
6022
- controlled_at: string | null;
6023
- controlled_by: string | null;
6024
6496
  created_at: string;
6025
6497
  data: import("../integrations/supabase/types.js").Json;
6026
6498
  floriday_id: string;
@@ -6032,8 +6504,6 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
6032
6504
  Insert: {
6033
6505
  buyer_organization_id?: string | null;
6034
6506
  connection_id: string;
6035
- controlled_at?: string | null;
6036
- controlled_by?: string | null;
6037
6507
  created_at?: string;
6038
6508
  data: import("../integrations/supabase/types.js").Json;
6039
6509
  floriday_id: string;
@@ -6045,8 +6515,6 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
6045
6515
  Update: {
6046
6516
  buyer_organization_id?: string | null;
6047
6517
  connection_id?: string;
6048
- controlled_at?: string | null;
6049
- controlled_by?: string | null;
6050
6518
  created_at?: string;
6051
6519
  data?: import("../integrations/supabase/types.js").Json;
6052
6520
  floriday_id?: string;
@@ -8648,6 +9116,8 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
8648
9116
  };
8649
9117
  logistics_tasks: {
8650
9118
  Row: {
9119
+ attempt_log: import("../integrations/supabase/types.js").Json;
9120
+ attempts: number;
8651
9121
  buffer_ref: string | null;
8652
9122
  claimed_at: string | null;
8653
9123
  claimed_by: string | null;
@@ -8657,6 +9127,8 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
8657
9127
  due_at: string | null;
8658
9128
  error: string | null;
8659
9129
  id: string;
9130
+ last_error: string | null;
9131
+ next_attempt_at: string | null;
8660
9132
  order_ref: string;
8661
9133
  owner_module: string;
8662
9134
  payload: import("../integrations/supabase/types.js").Json;
@@ -8677,6 +9149,8 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
8677
9149
  user_id: string;
8678
9150
  };
8679
9151
  Insert: {
9152
+ attempt_log?: import("../integrations/supabase/types.js").Json;
9153
+ attempts?: number;
8680
9154
  buffer_ref?: string | null;
8681
9155
  claimed_at?: string | null;
8682
9156
  claimed_by?: string | null;
@@ -8686,6 +9160,8 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
8686
9160
  due_at?: string | null;
8687
9161
  error?: string | null;
8688
9162
  id?: string;
9163
+ last_error?: string | null;
9164
+ next_attempt_at?: string | null;
8689
9165
  order_ref: string;
8690
9166
  owner_module: string;
8691
9167
  payload?: import("../integrations/supabase/types.js").Json;
@@ -8706,6 +9182,8 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
8706
9182
  user_id?: string;
8707
9183
  };
8708
9184
  Update: {
9185
+ attempt_log?: import("../integrations/supabase/types.js").Json;
9186
+ attempts?: number;
8709
9187
  buffer_ref?: string | null;
8710
9188
  claimed_at?: string | null;
8711
9189
  claimed_by?: string | null;
@@ -8715,6 +9193,8 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
8715
9193
  due_at?: string | null;
8716
9194
  error?: string | null;
8717
9195
  id?: string;
9196
+ last_error?: string | null;
9197
+ next_attempt_at?: string | null;
8718
9198
  order_ref?: string;
8719
9199
  owner_module?: string;
8720
9200
  payload?: import("../integrations/supabase/types.js").Json;
@@ -9287,60 +9767,39 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
9287
9767
  };
9288
9768
  manufacture_products: {
9289
9769
  Row: {
9290
- aantal_te_produceren: number;
9291
9770
  created_at: string;
9292
9771
  description: string | null;
9293
9772
  id: string;
9294
9773
  is_active: boolean;
9295
- location_id: string | null;
9296
9774
  name: string;
9297
- partij_nummer: string | null;
9298
- photos: import("../integrations/supabase/types.js").Json;
9299
9775
  produced_stock: number;
9300
9776
  product_code: string;
9301
9777
  tenant_id: string;
9302
- unit: string;
9303
9778
  updated_at: string;
9304
9779
  };
9305
9780
  Insert: {
9306
- aantal_te_produceren?: number;
9307
9781
  created_at?: string;
9308
9782
  description?: string | null;
9309
9783
  id?: string;
9310
9784
  is_active?: boolean;
9311
- location_id?: string | null;
9312
9785
  name: string;
9313
- partij_nummer?: string | null;
9314
- photos?: import("../integrations/supabase/types.js").Json;
9315
9786
  produced_stock?: number;
9316
9787
  product_code: string;
9317
9788
  tenant_id: string;
9318
- unit?: string;
9319
9789
  updated_at?: string;
9320
9790
  };
9321
9791
  Update: {
9322
- aantal_te_produceren?: number;
9323
9792
  created_at?: string;
9324
9793
  description?: string | null;
9325
9794
  id?: string;
9326
9795
  is_active?: boolean;
9327
- location_id?: string | null;
9328
9796
  name?: string;
9329
- partij_nummer?: string | null;
9330
- photos?: import("../integrations/supabase/types.js").Json;
9331
9797
  produced_stock?: number;
9332
9798
  product_code?: string;
9333
9799
  tenant_id?: string;
9334
- unit?: string;
9335
9800
  updated_at?: string;
9336
9801
  };
9337
- Relationships: [{
9338
- foreignKeyName: "manufacture_products_location_id_fkey";
9339
- columns: ["location_id"];
9340
- isOneToOne: false;
9341
- referencedRelation: "locations";
9342
- referencedColumns: ["id"];
9343
- }];
9802
+ Relationships: [];
9344
9803
  };
9345
9804
  module_permissions: {
9346
9805
  Row: {
@@ -10085,6 +10544,7 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
10085
10544
  };
10086
10545
  offer_settings: {
10087
10546
  Row: {
10547
+ brand_name: string | null;
10088
10548
  button_color: string;
10089
10549
  created_at: string;
10090
10550
  default_countries: string[];
@@ -10106,6 +10566,7 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
10106
10566
  updated_at: string;
10107
10567
  };
10108
10568
  Insert: {
10569
+ brand_name?: string | null;
10109
10570
  button_color?: string;
10110
10571
  created_at?: string;
10111
10572
  default_countries?: string[];
@@ -10127,6 +10588,7 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
10127
10588
  updated_at?: string;
10128
10589
  };
10129
10590
  Update: {
10591
+ brand_name?: string | null;
10130
10592
  button_color?: string;
10131
10593
  created_at?: string;
10132
10594
  default_countries?: string[];
@@ -12545,8 +13007,6 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
12545
13007
  crates_per_layer: number;
12546
13008
  created_at: string;
12547
13009
  custom_fields: import("../integrations/supabase/types.js").Json;
12548
- floriday_active: boolean;
12549
- floriday_payload: import("../integrations/supabase/types.js").Json;
12550
13010
  floriday_trade_item_id: string | null;
12551
13011
  id: string;
12552
13012
  image_url: string | null;
@@ -12564,8 +13024,6 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
12564
13024
  trade_item_key: string | null;
12565
13025
  unit: string;
12566
13026
  updated_at: string;
12567
- vat_code: string | null;
12568
- vat_rate: number | null;
12569
13027
  weight: string | null;
12570
13028
  };
12571
13029
  Insert: {
@@ -12575,8 +13033,6 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
12575
13033
  crates_per_layer?: number;
12576
13034
  created_at?: string;
12577
13035
  custom_fields?: import("../integrations/supabase/types.js").Json;
12578
- floriday_active?: boolean;
12579
- floriday_payload?: import("../integrations/supabase/types.js").Json;
12580
13036
  floriday_trade_item_id?: string | null;
12581
13037
  id?: string;
12582
13038
  image_url?: string | null;
@@ -12594,8 +13050,6 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
12594
13050
  trade_item_key?: string | null;
12595
13051
  unit?: string;
12596
13052
  updated_at?: string;
12597
- vat_code?: string | null;
12598
- vat_rate?: number | null;
12599
13053
  weight?: string | null;
12600
13054
  };
12601
13055
  Update: {
@@ -12605,8 +13059,6 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
12605
13059
  crates_per_layer?: number;
12606
13060
  created_at?: string;
12607
13061
  custom_fields?: import("../integrations/supabase/types.js").Json;
12608
- floriday_active?: boolean;
12609
- floriday_payload?: import("../integrations/supabase/types.js").Json;
12610
13062
  floriday_trade_item_id?: string | null;
12611
13063
  id?: string;
12612
13064
  image_url?: string | null;
@@ -12624,8 +13076,6 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
12624
13076
  trade_item_key?: string | null;
12625
13077
  unit?: string;
12626
13078
  updated_at?: string;
12627
- vat_code?: string | null;
12628
- vat_rate?: number | null;
12629
13079
  weight?: string | null;
12630
13080
  };
12631
13081
  Relationships: [];
@@ -13858,7 +14308,6 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
13858
14308
  order_id: string | null;
13859
14309
  order_item_id: string | null;
13860
14310
  order_source: string | null;
13861
- parent_trade_item_key: string | null;
13862
14311
  physical_after: number | null;
13863
14312
  physical_before: number | null;
13864
14313
  production_batch_id: string | null;
@@ -13877,7 +14326,6 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
13877
14326
  order_id?: string | null;
13878
14327
  order_item_id?: string | null;
13879
14328
  order_source?: string | null;
13880
- parent_trade_item_key?: string | null;
13881
14329
  physical_after?: number | null;
13882
14330
  physical_before?: number | null;
13883
14331
  production_batch_id?: string | null;
@@ -13896,7 +14344,6 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
13896
14344
  order_id?: string | null;
13897
14345
  order_item_id?: string | null;
13898
14346
  order_source?: string | null;
13899
- parent_trade_item_key?: string | null;
13900
14347
  physical_after?: number | null;
13901
14348
  physical_before?: number | null;
13902
14349
  production_batch_id?: string | null;
@@ -14462,10 +14909,7 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
14462
14909
  };
14463
14910
  twinfield_connections: {
14464
14911
  Row: {
14465
- access_token: string | null;
14466
- account_key: string | null;
14467
- client_id: string | null;
14468
- client_secret: string | null;
14912
+ account_key: string | null;
14469
14913
  cluster_uri: string | null;
14470
14914
  company_code: string | null;
14471
14915
  company_name: string | null;
@@ -14477,16 +14921,11 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
14477
14921
  label: string | null;
14478
14922
  office_code: string | null;
14479
14923
  redirect_uri: string | null;
14480
- refresh_token: string | null;
14481
- token_expires_at: string | null;
14482
14924
  updated_at: string;
14483
14925
  user_id: string;
14484
14926
  };
14485
14927
  Insert: {
14486
- access_token?: string | null;
14487
14928
  account_key?: string | null;
14488
- client_id?: string | null;
14489
- client_secret?: string | null;
14490
14929
  cluster_uri?: string | null;
14491
14930
  company_code?: string | null;
14492
14931
  company_name?: string | null;
@@ -14498,16 +14937,11 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
14498
14937
  label?: string | null;
14499
14938
  office_code?: string | null;
14500
14939
  redirect_uri?: string | null;
14501
- refresh_token?: string | null;
14502
- token_expires_at?: string | null;
14503
14940
  updated_at?: string;
14504
14941
  user_id: string;
14505
14942
  };
14506
14943
  Update: {
14507
- access_token?: string | null;
14508
14944
  account_key?: string | null;
14509
- client_id?: string | null;
14510
- client_secret?: string | null;
14511
14945
  cluster_uri?: string | null;
14512
14946
  company_code?: string | null;
14513
14947
  company_name?: string | null;
@@ -14519,53 +14953,6 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
14519
14953
  label?: string | null;
14520
14954
  office_code?: string | null;
14521
14955
  redirect_uri?: string | null;
14522
- refresh_token?: string | null;
14523
- token_expires_at?: string | null;
14524
- updated_at?: string;
14525
- user_id?: string;
14526
- };
14527
- Relationships: [];
14528
- };
14529
- twinfield_credentials: {
14530
- Row: {
14531
- administration_code: string | null;
14532
- client_id: string | null;
14533
- client_secret: string | null;
14534
- cluster: string | null;
14535
- connected_at: string | null;
14536
- created_at: string;
14537
- environment: string | null;
14538
- id: string;
14539
- redirect_uri: string | null;
14540
- refresh_token: string | null;
14541
- updated_at: string;
14542
- user_id: string;
14543
- };
14544
- Insert: {
14545
- administration_code?: string | null;
14546
- client_id?: string | null;
14547
- client_secret?: string | null;
14548
- cluster?: string | null;
14549
- connected_at?: string | null;
14550
- created_at?: string;
14551
- environment?: string | null;
14552
- id?: string;
14553
- redirect_uri?: string | null;
14554
- refresh_token?: string | null;
14555
- updated_at?: string;
14556
- user_id: string;
14557
- };
14558
- Update: {
14559
- administration_code?: string | null;
14560
- client_id?: string | null;
14561
- client_secret?: string | null;
14562
- cluster?: string | null;
14563
- connected_at?: string | null;
14564
- created_at?: string;
14565
- environment?: string | null;
14566
- id?: string;
14567
- redirect_uri?: string | null;
14568
- refresh_token?: string | null;
14569
14956
  updated_at?: string;
14570
14957
  user_id?: string;
14571
14958
  };
@@ -15141,30 +15528,6 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
15141
15528
  };
15142
15529
  Relationships: [];
15143
15530
  };
15144
- twinfield_oauth_state: {
15145
- Row: {
15146
- created_at: string;
15147
- environment: string;
15148
- nonce: string | null;
15149
- state: string;
15150
- user_id: string;
15151
- };
15152
- Insert: {
15153
- created_at?: string;
15154
- environment: string;
15155
- nonce?: string | null;
15156
- state: string;
15157
- user_id: string;
15158
- };
15159
- Update: {
15160
- created_at?: string;
15161
- environment?: string;
15162
- nonce?: string | null;
15163
- state?: string;
15164
- user_id?: string;
15165
- };
15166
- Relationships: [];
15167
- };
15168
15531
  twinfield_push_log: {
15169
15532
  Row: {
15170
15533
  created_at: string;
@@ -15208,7 +15571,7 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
15208
15571
  Row: {
15209
15572
  action: string;
15210
15573
  attempts: number;
15211
- connection_id: string;
15574
+ connection_id: string | null;
15212
15575
  created_at: string;
15213
15576
  customer_id: string | null;
15214
15577
  external_id: string | null;
@@ -15216,7 +15579,7 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
15216
15579
  idempotency_key: string;
15217
15580
  last_error: string | null;
15218
15581
  next_attempt_at: string;
15219
- office_code: string;
15582
+ office_code: string | null;
15220
15583
  payload: import("../integrations/supabase/types.js").Json;
15221
15584
  status: string;
15222
15585
  updated_at: string;
@@ -15224,7 +15587,7 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
15224
15587
  Insert: {
15225
15588
  action?: string;
15226
15589
  attempts?: number;
15227
- connection_id: string;
15590
+ connection_id?: string | null;
15228
15591
  created_at?: string;
15229
15592
  customer_id?: string | null;
15230
15593
  external_id?: string | null;
@@ -15232,7 +15595,7 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
15232
15595
  idempotency_key: string;
15233
15596
  last_error?: string | null;
15234
15597
  next_attempt_at?: string;
15235
- office_code: string;
15598
+ office_code?: string | null;
15236
15599
  payload: import("../integrations/supabase/types.js").Json;
15237
15600
  status?: string;
15238
15601
  updated_at?: string;
@@ -15240,7 +15603,7 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
15240
15603
  Update: {
15241
15604
  action?: string;
15242
15605
  attempts?: number;
15243
- connection_id?: string;
15606
+ connection_id?: string | null;
15244
15607
  created_at?: string;
15245
15608
  customer_id?: string | null;
15246
15609
  external_id?: string | null;
@@ -15248,7 +15611,7 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
15248
15611
  idempotency_key?: string;
15249
15612
  last_error?: string | null;
15250
15613
  next_attempt_at?: string;
15251
- office_code?: string;
15614
+ office_code?: string | null;
15252
15615
  payload?: import("../integrations/supabase/types.js").Json;
15253
15616
  status?: string;
15254
15617
  updated_at?: string;
@@ -15390,39 +15753,6 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
15390
15753
  referencedColumns: ["id"];
15391
15754
  }];
15392
15755
  };
15393
- twinfield_token_refresh_log: {
15394
- Row: {
15395
- attempted_at: string;
15396
- connection_id: string;
15397
- error: string | null;
15398
- expires_at: string | null;
15399
- id: string;
15400
- ok: boolean;
15401
- };
15402
- Insert: {
15403
- attempted_at?: string;
15404
- connection_id: string;
15405
- error?: string | null;
15406
- expires_at?: string | null;
15407
- id?: string;
15408
- ok: boolean;
15409
- };
15410
- Update: {
15411
- attempted_at?: string;
15412
- connection_id?: string;
15413
- error?: string | null;
15414
- expires_at?: string | null;
15415
- id?: string;
15416
- ok?: boolean;
15417
- };
15418
- Relationships: [{
15419
- foreignKeyName: "twinfield_token_refresh_log_connection_id_fkey";
15420
- columns: ["connection_id"];
15421
- isOneToOne: false;
15422
- referencedRelation: "twinfield_connections";
15423
- referencedColumns: ["id"];
15424
- }];
15425
- };
15426
15756
  uren_cao_profiles: {
15427
15757
  Row: {
15428
15758
  break_minutes: number | null;
@@ -17869,6 +18199,85 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
17869
18199
  };
17870
18200
  Returns: import("../integrations/supabase/types.js").Json;
17871
18201
  };
18202
+ claim_floriday_stock_queue: {
18203
+ Args: {
18204
+ p_limit?: number;
18205
+ p_worker?: string;
18206
+ };
18207
+ Returns: {
18208
+ attempts: number;
18209
+ connection_id: string;
18210
+ created_at: string;
18211
+ desired_available: boolean | null;
18212
+ gateway_attempt_id: string | null;
18213
+ id: string;
18214
+ last_error: string | null;
18215
+ locked_at: string | null;
18216
+ locked_by: string | null;
18217
+ next_attempt_at: string;
18218
+ number_of_pieces: number;
18219
+ sent_at: string | null;
18220
+ status: string;
18221
+ superseded_by: string | null;
18222
+ trade_item_id: string;
18223
+ updated_at: string;
18224
+ user_id: string;
18225
+ }[];
18226
+ SetofOptions: {
18227
+ from: "*";
18228
+ to: "floriday_continuous_stock_queue";
18229
+ isOneToOne: false;
18230
+ isSetofReturn: true;
18231
+ };
18232
+ };
18233
+ claim_logistics_tasks: {
18234
+ Args: {
18235
+ _limit?: number;
18236
+ _owner_module: string;
18237
+ _stale_minutes?: number;
18238
+ _task_type: string;
18239
+ _worker: string;
18240
+ };
18241
+ Returns: {
18242
+ attempt_log: import("../integrations/supabase/types.js").Json;
18243
+ attempts: number;
18244
+ buffer_ref: string | null;
18245
+ claimed_at: string | null;
18246
+ claimed_by: string | null;
18247
+ completed_at: string | null;
18248
+ created_at: string;
18249
+ depends_on: string[];
18250
+ due_at: string | null;
18251
+ error: string | null;
18252
+ id: string;
18253
+ last_error: string | null;
18254
+ next_attempt_at: string | null;
18255
+ order_ref: string;
18256
+ owner_module: string;
18257
+ payload: import("../integrations/supabase/types.js").Json;
18258
+ plan_run_id: string | null;
18259
+ planned_end: string | null;
18260
+ planned_start: string | null;
18261
+ priority: number;
18262
+ result: import("../integrations/supabase/types.js").Json | null;
18263
+ rule_config_id: string | null;
18264
+ rule_version: number | null;
18265
+ sequence: number;
18266
+ shadow: boolean;
18267
+ started_at: string | null;
18268
+ status: string;
18269
+ strategy_id: string | null;
18270
+ task_type: string;
18271
+ updated_at: string;
18272
+ user_id: string;
18273
+ }[];
18274
+ SetofOptions: {
18275
+ from: "*";
18276
+ to: "logistics_tasks";
18277
+ isOneToOne: false;
18278
+ isSetofReturn: true;
18279
+ };
18280
+ };
17872
18281
  claim_print_jobs: {
17873
18282
  Args: {
17874
18283
  _agent_id: string;
@@ -17906,32 +18315,6 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
17906
18315
  };
17907
18316
  };
17908
18317
  claim_twinfield_push_batch: {
17909
- Args: {
17910
- _limit?: number;
17911
- };
17912
- Returns: {
17913
- action: string;
17914
- attempts: number;
17915
- connection_id: string;
17916
- created_at: string;
17917
- customer_id: string | null;
17918
- external_id: string | null;
17919
- id: string;
17920
- idempotency_key: string;
17921
- last_error: string | null;
17922
- next_attempt_at: string;
17923
- office_code: string;
17924
- payload: import("../integrations/supabase/types.js").Json;
17925
- status: string;
17926
- updated_at: string;
17927
- }[];
17928
- SetofOptions: {
17929
- from: "*";
17930
- to: "twinfield_push_queue";
17931
- isOneToOne: false;
17932
- isSetofReturn: true;
17933
- };
17934
- } | {
17935
18318
  Args: {
17936
18319
  _customer_id?: string;
17937
18320
  _limit?: number;
@@ -17939,7 +18322,7 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
17939
18322
  Returns: {
17940
18323
  action: string;
17941
18324
  attempts: number;
17942
- connection_id: string;
18325
+ connection_id: string | null;
17943
18326
  created_at: string;
17944
18327
  customer_id: string | null;
17945
18328
  external_id: string | null;
@@ -17947,7 +18330,7 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
17947
18330
  idempotency_key: string;
17948
18331
  last_error: string | null;
17949
18332
  next_attempt_at: string;
17950
- office_code: string;
18333
+ office_code: string | null;
17951
18334
  payload: import("../integrations/supabase/types.js").Json;
17952
18335
  status: string;
17953
18336
  updated_at: string;
@@ -17959,10 +18342,24 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
17959
18342
  isSetofReturn: true;
17960
18343
  };
17961
18344
  };
18345
+ cleanup_floriday_stock_queue: {
18346
+ Args: never;
18347
+ Returns: undefined;
18348
+ };
17962
18349
  cleanup_old_bookings: {
17963
18350
  Args: never;
17964
18351
  Returns: undefined;
17965
18352
  };
18353
+ complete_floriday_stock_queue: {
18354
+ Args: {
18355
+ p_attempt_id?: string;
18356
+ p_error?: string;
18357
+ p_id: string;
18358
+ p_ok: boolean;
18359
+ p_permanent?: boolean;
18360
+ };
18361
+ Returns: undefined;
18362
+ };
17966
18363
  consume_bom_for_production: {
17967
18364
  Args: {
17968
18365
  p_connection_id: string;
@@ -18135,6 +18532,21 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
18135
18532
  Args: never;
18136
18533
  Returns: string;
18137
18534
  };
18535
+ exact_auth_consume_calls: {
18536
+ Args: {
18537
+ _account_key: string;
18538
+ _calls?: number;
18539
+ _day_limit?: number;
18540
+ _division_code: number;
18541
+ _environment: string;
18542
+ _minute_limit?: number;
18543
+ };
18544
+ Returns: import("../integrations/supabase/types.js").Json;
18545
+ };
18546
+ exact_auth_prune_sync_log: {
18547
+ Args: never;
18548
+ Returns: undefined;
18549
+ };
18138
18550
  exact_decrypt: {
18139
18551
  Args: {
18140
18552
  cipher: string;
@@ -18344,6 +18756,10 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
18344
18756
  };
18345
18757
  Returns: number;
18346
18758
  };
18759
+ get_offer_branding: {
18760
+ Args: never;
18761
+ Returns: import("../integrations/supabase/types.js").Json;
18762
+ };
18347
18763
  get_offer_by_link_code: {
18348
18764
  Args: {
18349
18765
  p_code: string;
@@ -18635,6 +19051,8 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
18635
19051
  p_worker?: string;
18636
19052
  };
18637
19053
  Returns: {
19054
+ attempt_log: import("../integrations/supabase/types.js").Json;
19055
+ attempts: number;
18638
19056
  buffer_ref: string | null;
18639
19057
  claimed_at: string | null;
18640
19058
  claimed_by: string | null;
@@ -18644,6 +19062,8 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
18644
19062
  due_at: string | null;
18645
19063
  error: string | null;
18646
19064
  id: string;
19065
+ last_error: string | null;
19066
+ next_attempt_at: string | null;
18647
19067
  order_ref: string;
18648
19068
  owner_module: string;
18649
19069
  payload: import("../integrations/supabase/types.js").Json;
@@ -18676,6 +19096,8 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
18676
19096
  p_worker?: string;
18677
19097
  };
18678
19098
  Returns: {
19099
+ attempt_log: import("../integrations/supabase/types.js").Json;
19100
+ attempts: number;
18679
19101
  buffer_ref: string | null;
18680
19102
  claimed_at: string | null;
18681
19103
  claimed_by: string | null;
@@ -18685,6 +19107,8 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
18685
19107
  due_at: string | null;
18686
19108
  error: string | null;
18687
19109
  id: string;
19110
+ last_error: string | null;
19111
+ next_attempt_at: string | null;
18688
19112
  order_ref: string;
18689
19113
  owner_module: string;
18690
19114
  payload: import("../integrations/supabase/types.js").Json;
@@ -18717,6 +19141,8 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
18717
19141
  p_task_id: string;
18718
19142
  };
18719
19143
  Returns: {
19144
+ attempt_log: import("../integrations/supabase/types.js").Json;
19145
+ attempts: number;
18720
19146
  buffer_ref: string | null;
18721
19147
  claimed_at: string | null;
18722
19148
  claimed_by: string | null;
@@ -18726,6 +19152,8 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
18726
19152
  due_at: string | null;
18727
19153
  error: string | null;
18728
19154
  id: string;
19155
+ last_error: string | null;
19156
+ next_attempt_at: string | null;
18729
19157
  order_ref: string;
18730
19158
  owner_module: string;
18731
19159
  payload: import("../integrations/supabase/types.js").Json;
@@ -18807,6 +19235,8 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
18807
19235
  p_task_id: string;
18808
19236
  };
18809
19237
  Returns: {
19238
+ attempt_log: import("../integrations/supabase/types.js").Json;
19239
+ attempts: number;
18810
19240
  buffer_ref: string | null;
18811
19241
  claimed_at: string | null;
18812
19242
  claimed_by: string | null;
@@ -18816,6 +19246,8 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
18816
19246
  due_at: string | null;
18817
19247
  error: string | null;
18818
19248
  id: string;
19249
+ last_error: string | null;
19250
+ next_attempt_at: string | null;
18819
19251
  order_ref: string;
18820
19252
  owner_module: string;
18821
19253
  payload: import("../integrations/supabase/types.js").Json;
@@ -19569,6 +20001,10 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
19569
20001
  Args: never;
19570
20002
  Returns: undefined;
19571
20003
  };
20004
+ run_logistics_tasks_dispatch: {
20005
+ Args: never;
20006
+ Returns: undefined;
20007
+ };
19572
20008
  run_twinfield_queue_tick: {
19573
20009
  Args: never;
19574
20010
  Returns: undefined;
@@ -19809,6 +20245,13 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
19809
20245
  };
19810
20246
  Returns: number;
19811
20247
  };
20248
+ schedule_floriday_stock_queue_process: {
20249
+ Args: {
20250
+ p_apikey: string;
20251
+ p_url: string;
20252
+ };
20253
+ Returns: number;
20254
+ };
19812
20255
  schedule_floriday_token_refresh: {
19813
20256
  Args: {
19814
20257
  p_apikey: string;
@@ -19956,18 +20399,6 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
19956
20399
  };
19957
20400
  Returns: boolean;
19958
20401
  };
19959
- twinfield_decrypt: {
19960
- Args: {
19961
- cipher: string;
19962
- };
19963
- Returns: string;
19964
- };
19965
- twinfield_encrypt: {
19966
- Args: {
19967
- plain: string;
19968
- };
19969
- Returns: string;
19970
- };
19971
20402
  twinfield_register_cron: {
19972
20403
  Args: {
19973
20404
  apikey?: string;
@@ -20010,7 +20441,7 @@ export declare const getFlorydayAuctionLetter: import("@tanstack/start-client-co
20010
20441
  };
20011
20442
  Enums: {
20012
20443
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
20013
- app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur" | "planner" | "administratie" | "ai_admin";
20444
+ app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
20014
20445
  doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
20015
20446
  doc_orientation: "portrait" | "landscape";
20016
20447
  exact_env: "staging" | "live";