@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
@@ -345,7 +345,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
345
345
  active: boolean;
346
346
  api_key: string;
347
347
  created_at: string;
348
- created_by: string | null;
349
348
  id: string;
350
349
  label: string;
351
350
  provider_id: string;
@@ -355,7 +354,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
355
354
  active?: boolean;
356
355
  api_key: string;
357
356
  created_at?: string;
358
- created_by?: string | null;
359
357
  id?: string;
360
358
  label: string;
361
359
  provider_id: string;
@@ -365,7 +363,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
365
363
  active?: boolean;
366
364
  api_key?: string;
367
365
  created_at?: string;
368
- created_by?: string | null;
369
366
  id?: string;
370
367
  label?: string;
371
368
  provider_id?: string;
@@ -1637,13 +1634,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
1637
1634
  id?: string;
1638
1635
  user_id?: string | null;
1639
1636
  };
1640
- Relationships: [{
1641
- foreignKeyName: "customer_audit_log_customer_id_fkey";
1642
- columns: ["customer_id"];
1643
- isOneToOne: false;
1644
- referencedRelation: "customers";
1645
- referencedColumns: ["id"];
1646
- }];
1637
+ Relationships: [];
1647
1638
  };
1648
1639
  customer_contacts: {
1649
1640
  Row: {
@@ -1704,7 +1695,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
1704
1695
  city: string | null;
1705
1696
  country: string | null;
1706
1697
  created_at: string;
1707
- customer_id: string;
1698
+ customer_id: string | null;
1708
1699
  external_key: string | null;
1709
1700
  external_provider: string | null;
1710
1701
  floriday_location_id: string | null;
@@ -1728,7 +1719,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
1728
1719
  city?: string | null;
1729
1720
  country?: string | null;
1730
1721
  created_at?: string;
1731
- customer_id: string;
1722
+ customer_id?: string | null;
1732
1723
  external_key?: string | null;
1733
1724
  external_provider?: string | null;
1734
1725
  floriday_location_id?: string | null;
@@ -1752,7 +1743,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
1752
1743
  city?: string | null;
1753
1744
  country?: string | null;
1754
1745
  created_at?: string;
1755
- customer_id?: string;
1746
+ customer_id?: string | null;
1756
1747
  external_key?: string | null;
1757
1748
  external_provider?: string | null;
1758
1749
  floriday_location_id?: string | null;
@@ -3556,6 +3547,474 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
3556
3547
  referencedColumns: ["id"];
3557
3548
  }];
3558
3549
  };
3550
+ exact_auth_call_budget: {
3551
+ Row: {
3552
+ account_key: string;
3553
+ day_count: number;
3554
+ day_date: string;
3555
+ division_code: number;
3556
+ environment: string;
3557
+ minute_count: number;
3558
+ minute_window: string;
3559
+ updated_at: string;
3560
+ };
3561
+ Insert: {
3562
+ account_key?: string;
3563
+ day_count?: number;
3564
+ day_date?: string;
3565
+ division_code?: number;
3566
+ environment: string;
3567
+ minute_count?: number;
3568
+ minute_window?: string;
3569
+ updated_at?: string;
3570
+ };
3571
+ Update: {
3572
+ account_key?: string;
3573
+ day_count?: number;
3574
+ day_date?: string;
3575
+ division_code?: number;
3576
+ environment?: string;
3577
+ minute_count?: number;
3578
+ minute_window?: string;
3579
+ updated_at?: string;
3580
+ };
3581
+ Relationships: [];
3582
+ };
3583
+ exact_auth_customers: {
3584
+ Row: {
3585
+ account_key: string;
3586
+ address_line1: string | null;
3587
+ chamber_of_commerce: string | null;
3588
+ city: string | null;
3589
+ code: string | null;
3590
+ country: string | null;
3591
+ created_at: string;
3592
+ currency: string | null;
3593
+ division_code: number | null;
3594
+ email: string | null;
3595
+ environment: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3596
+ exact_id: string;
3597
+ exact_modified: string | null;
3598
+ exact_timestamp: number | null;
3599
+ id: string;
3600
+ is_active: boolean;
3601
+ name: string | null;
3602
+ phone: string | null;
3603
+ postcode: string | null;
3604
+ raw: import("../integrations/supabase/types.js").Json | null;
3605
+ status: string | null;
3606
+ updated_at: string;
3607
+ vat_number: string | null;
3608
+ website: string | null;
3609
+ };
3610
+ Insert: {
3611
+ account_key?: string;
3612
+ address_line1?: string | null;
3613
+ chamber_of_commerce?: string | null;
3614
+ city?: string | null;
3615
+ code?: string | null;
3616
+ country?: string | null;
3617
+ created_at?: string;
3618
+ currency?: string | null;
3619
+ division_code?: number | null;
3620
+ email?: string | null;
3621
+ environment: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3622
+ exact_id: string;
3623
+ exact_modified?: string | null;
3624
+ exact_timestamp?: number | null;
3625
+ id?: string;
3626
+ is_active?: boolean;
3627
+ name?: string | null;
3628
+ phone?: string | null;
3629
+ postcode?: string | null;
3630
+ raw?: import("../integrations/supabase/types.js").Json | null;
3631
+ status?: string | null;
3632
+ updated_at?: string;
3633
+ vat_number?: string | null;
3634
+ website?: string | null;
3635
+ };
3636
+ Update: {
3637
+ account_key?: string;
3638
+ address_line1?: string | null;
3639
+ chamber_of_commerce?: string | null;
3640
+ city?: string | null;
3641
+ code?: string | null;
3642
+ country?: string | null;
3643
+ created_at?: string;
3644
+ currency?: string | null;
3645
+ division_code?: number | null;
3646
+ email?: string | null;
3647
+ environment?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3648
+ exact_id?: string;
3649
+ exact_modified?: string | null;
3650
+ exact_timestamp?: number | null;
3651
+ id?: string;
3652
+ is_active?: boolean;
3653
+ name?: string | null;
3654
+ phone?: string | null;
3655
+ postcode?: string | null;
3656
+ raw?: import("../integrations/supabase/types.js").Json | null;
3657
+ status?: string | null;
3658
+ updated_at?: string;
3659
+ vat_number?: string | null;
3660
+ website?: string | null;
3661
+ };
3662
+ Relationships: [];
3663
+ };
3664
+ exact_auth_divisions: {
3665
+ Row: {
3666
+ account_key: string;
3667
+ company_name: string | null;
3668
+ created_at: string;
3669
+ division_code: number | null;
3670
+ environment: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3671
+ id: string;
3672
+ last_synced_at: string | null;
3673
+ updated_at: string;
3674
+ };
3675
+ Insert: {
3676
+ account_key?: string;
3677
+ company_name?: string | null;
3678
+ created_at?: string;
3679
+ division_code?: number | null;
3680
+ environment: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3681
+ id?: string;
3682
+ last_synced_at?: string | null;
3683
+ updated_at?: string;
3684
+ };
3685
+ Update: {
3686
+ account_key?: string;
3687
+ company_name?: string | null;
3688
+ created_at?: string;
3689
+ division_code?: number | null;
3690
+ environment?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3691
+ id?: string;
3692
+ last_synced_at?: string | null;
3693
+ updated_at?: string;
3694
+ };
3695
+ Relationships: [];
3696
+ };
3697
+ exact_auth_invoice_lines: {
3698
+ Row: {
3699
+ account_key: string;
3700
+ amount_excl: number | null;
3701
+ created_at: string;
3702
+ description: string | null;
3703
+ discount: number | null;
3704
+ environment: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3705
+ exact_id: string;
3706
+ exact_timestamp: number | null;
3707
+ id: string;
3708
+ invoice_exact_id: string;
3709
+ item_code: string | null;
3710
+ item_exact_id: string | null;
3711
+ line_number: number | null;
3712
+ quantity: number | null;
3713
+ raw: import("../integrations/supabase/types.js").Json | null;
3714
+ unit_price: number | null;
3715
+ updated_at: string;
3716
+ vat_amount: number | null;
3717
+ vat_code: string | null;
3718
+ };
3719
+ Insert: {
3720
+ account_key?: string;
3721
+ amount_excl?: number | null;
3722
+ created_at?: string;
3723
+ description?: string | null;
3724
+ discount?: number | null;
3725
+ environment: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3726
+ exact_id: string;
3727
+ exact_timestamp?: number | null;
3728
+ id?: string;
3729
+ invoice_exact_id: string;
3730
+ item_code?: string | null;
3731
+ item_exact_id?: string | null;
3732
+ line_number?: number | null;
3733
+ quantity?: number | null;
3734
+ raw?: import("../integrations/supabase/types.js").Json | null;
3735
+ unit_price?: number | null;
3736
+ updated_at?: string;
3737
+ vat_amount?: number | null;
3738
+ vat_code?: string | null;
3739
+ };
3740
+ Update: {
3741
+ account_key?: string;
3742
+ amount_excl?: number | null;
3743
+ created_at?: string;
3744
+ description?: string | null;
3745
+ discount?: number | null;
3746
+ environment?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3747
+ exact_id?: string;
3748
+ exact_timestamp?: number | null;
3749
+ id?: string;
3750
+ invoice_exact_id?: string;
3751
+ item_code?: string | null;
3752
+ item_exact_id?: string | null;
3753
+ line_number?: number | null;
3754
+ quantity?: number | null;
3755
+ raw?: import("../integrations/supabase/types.js").Json | null;
3756
+ unit_price?: number | null;
3757
+ updated_at?: string;
3758
+ vat_amount?: number | null;
3759
+ vat_code?: string | null;
3760
+ };
3761
+ Relationships: [];
3762
+ };
3763
+ exact_auth_invoices: {
3764
+ Row: {
3765
+ account_key: string;
3766
+ amount_excl: number | null;
3767
+ amount_incl: number | null;
3768
+ amount_open: number | null;
3769
+ created_at: string;
3770
+ currency: string | null;
3771
+ customer_code: string | null;
3772
+ customer_exact_id: string | null;
3773
+ customer_name: string | null;
3774
+ description: string | null;
3775
+ division_code: number | null;
3776
+ due_date: string | null;
3777
+ environment: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3778
+ exact_id: string;
3779
+ exact_modified: string | null;
3780
+ exact_timestamp: number | null;
3781
+ id: string;
3782
+ invoice_date: string | null;
3783
+ invoice_number: string | null;
3784
+ order_number: string | null;
3785
+ paid_at: string | null;
3786
+ payment_status: string;
3787
+ raw: import("../integrations/supabase/types.js").Json | null;
3788
+ receivable_synced_at: string | null;
3789
+ status_code: number | null;
3790
+ updated_at: string;
3791
+ };
3792
+ Insert: {
3793
+ account_key?: string;
3794
+ amount_excl?: number | null;
3795
+ amount_incl?: number | null;
3796
+ amount_open?: number | null;
3797
+ created_at?: string;
3798
+ currency?: string | null;
3799
+ customer_code?: string | null;
3800
+ customer_exact_id?: string | null;
3801
+ customer_name?: string | null;
3802
+ description?: string | null;
3803
+ division_code?: number | null;
3804
+ due_date?: string | null;
3805
+ environment: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3806
+ exact_id: string;
3807
+ exact_modified?: string | null;
3808
+ exact_timestamp?: number | null;
3809
+ id?: string;
3810
+ invoice_date?: string | null;
3811
+ invoice_number?: string | null;
3812
+ order_number?: string | null;
3813
+ paid_at?: string | null;
3814
+ payment_status?: string;
3815
+ raw?: import("../integrations/supabase/types.js").Json | null;
3816
+ receivable_synced_at?: string | null;
3817
+ status_code?: number | null;
3818
+ updated_at?: string;
3819
+ };
3820
+ Update: {
3821
+ account_key?: string;
3822
+ amount_excl?: number | null;
3823
+ amount_incl?: number | null;
3824
+ amount_open?: number | null;
3825
+ created_at?: string;
3826
+ currency?: string | null;
3827
+ customer_code?: string | null;
3828
+ customer_exact_id?: string | null;
3829
+ customer_name?: string | null;
3830
+ description?: string | null;
3831
+ division_code?: number | null;
3832
+ due_date?: string | null;
3833
+ environment?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3834
+ exact_id?: string;
3835
+ exact_modified?: string | null;
3836
+ exact_timestamp?: number | null;
3837
+ id?: string;
3838
+ invoice_date?: string | null;
3839
+ invoice_number?: string | null;
3840
+ order_number?: string | null;
3841
+ paid_at?: string | null;
3842
+ payment_status?: string;
3843
+ raw?: import("../integrations/supabase/types.js").Json | null;
3844
+ receivable_synced_at?: string | null;
3845
+ status_code?: number | null;
3846
+ updated_at?: string;
3847
+ };
3848
+ Relationships: [];
3849
+ };
3850
+ exact_auth_items: {
3851
+ Row: {
3852
+ account_key: string;
3853
+ barcode: string | null;
3854
+ code: string | null;
3855
+ cost_price: number | null;
3856
+ created_at: string;
3857
+ description: string | null;
3858
+ division_code: number | null;
3859
+ environment: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3860
+ exact_id: string;
3861
+ exact_modified: string | null;
3862
+ exact_timestamp: number | null;
3863
+ gl_account_code: string | null;
3864
+ id: string;
3865
+ is_active: boolean;
3866
+ is_sales_item: boolean | null;
3867
+ item_type: string | null;
3868
+ raw: import("../integrations/supabase/types.js").Json | null;
3869
+ sales_price: number | null;
3870
+ unit: string | null;
3871
+ updated_at: string;
3872
+ vat_code: string | null;
3873
+ };
3874
+ Insert: {
3875
+ account_key?: string;
3876
+ barcode?: string | null;
3877
+ code?: string | null;
3878
+ cost_price?: number | null;
3879
+ created_at?: string;
3880
+ description?: string | null;
3881
+ division_code?: number | null;
3882
+ environment: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3883
+ exact_id: string;
3884
+ exact_modified?: string | null;
3885
+ exact_timestamp?: number | null;
3886
+ gl_account_code?: string | null;
3887
+ id?: string;
3888
+ is_active?: boolean;
3889
+ is_sales_item?: boolean | null;
3890
+ item_type?: string | null;
3891
+ raw?: import("../integrations/supabase/types.js").Json | null;
3892
+ sales_price?: number | null;
3893
+ unit?: string | null;
3894
+ updated_at?: string;
3895
+ vat_code?: string | null;
3896
+ };
3897
+ Update: {
3898
+ account_key?: string;
3899
+ barcode?: string | null;
3900
+ code?: string | null;
3901
+ cost_price?: number | null;
3902
+ created_at?: string;
3903
+ description?: string | null;
3904
+ division_code?: number | null;
3905
+ environment?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3906
+ exact_id?: string;
3907
+ exact_modified?: string | null;
3908
+ exact_timestamp?: number | null;
3909
+ gl_account_code?: string | null;
3910
+ id?: string;
3911
+ is_active?: boolean;
3912
+ is_sales_item?: boolean | null;
3913
+ item_type?: string | null;
3914
+ raw?: import("../integrations/supabase/types.js").Json | null;
3915
+ sales_price?: number | null;
3916
+ unit?: string | null;
3917
+ updated_at?: string;
3918
+ vat_code?: string | null;
3919
+ };
3920
+ Relationships: [];
3921
+ };
3922
+ exact_auth_sync_log: {
3923
+ Row: {
3924
+ account_key: string;
3925
+ calls_used: number;
3926
+ created_at: string;
3927
+ domain: string;
3928
+ environment: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3929
+ error: string | null;
3930
+ finished_at: string | null;
3931
+ id: string;
3932
+ ok: boolean;
3933
+ records: number;
3934
+ started_at: string;
3935
+ };
3936
+ Insert: {
3937
+ account_key?: string;
3938
+ calls_used?: number;
3939
+ created_at?: string;
3940
+ domain: string;
3941
+ environment: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3942
+ error?: string | null;
3943
+ finished_at?: string | null;
3944
+ id?: string;
3945
+ ok?: boolean;
3946
+ records?: number;
3947
+ started_at?: string;
3948
+ };
3949
+ Update: {
3950
+ account_key?: string;
3951
+ calls_used?: number;
3952
+ created_at?: string;
3953
+ domain?: string;
3954
+ environment?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3955
+ error?: string | null;
3956
+ finished_at?: string | null;
3957
+ id?: string;
3958
+ ok?: boolean;
3959
+ records?: number;
3960
+ started_at?: string;
3961
+ };
3962
+ Relationships: [];
3963
+ };
3964
+ exact_auth_sync_state: {
3965
+ Row: {
3966
+ account_key: string;
3967
+ created_at: string;
3968
+ cursor_timestamp: number;
3969
+ division_code: number | null;
3970
+ domain: string;
3971
+ duration_ms: number | null;
3972
+ environment: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3973
+ initial_sync_done: boolean;
3974
+ last_error: string | null;
3975
+ last_run_at: string | null;
3976
+ last_success_at: string | null;
3977
+ locked_at: string | null;
3978
+ needs_initial_sync: boolean;
3979
+ record_count: number;
3980
+ updated_at: string;
3981
+ };
3982
+ Insert: {
3983
+ account_key?: string;
3984
+ created_at?: string;
3985
+ cursor_timestamp?: number;
3986
+ division_code?: number | null;
3987
+ domain: string;
3988
+ duration_ms?: number | null;
3989
+ environment: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
3990
+ initial_sync_done?: boolean;
3991
+ last_error?: string | null;
3992
+ last_run_at?: string | null;
3993
+ last_success_at?: string | null;
3994
+ locked_at?: string | null;
3995
+ needs_initial_sync?: boolean;
3996
+ record_count?: number;
3997
+ updated_at?: string;
3998
+ };
3999
+ Update: {
4000
+ account_key?: string;
4001
+ created_at?: string;
4002
+ cursor_timestamp?: number;
4003
+ division_code?: number | null;
4004
+ domain?: string;
4005
+ duration_ms?: number | null;
4006
+ environment?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["exact_env"];
4007
+ initial_sync_done?: boolean;
4008
+ last_error?: string | null;
4009
+ last_run_at?: string | null;
4010
+ last_success_at?: string | null;
4011
+ locked_at?: string | null;
4012
+ needs_initial_sync?: boolean;
4013
+ record_count?: number;
4014
+ updated_at?: string;
4015
+ };
4016
+ Relationships: [];
4017
+ };
3559
4018
  exact_bulk_operation_items: {
3560
4019
  Row: {
3561
4020
  attempts: number;
@@ -5247,12 +5706,17 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
5247
5706
  attempts: number;
5248
5707
  connection_id: string;
5249
5708
  created_at: string;
5709
+ desired_available: boolean | null;
5250
5710
  gateway_attempt_id: string | null;
5251
5711
  id: string;
5252
5712
  last_error: string | null;
5713
+ locked_at: string | null;
5714
+ locked_by: string | null;
5715
+ next_attempt_at: string;
5253
5716
  number_of_pieces: number;
5254
5717
  sent_at: string | null;
5255
5718
  status: string;
5719
+ superseded_by: string | null;
5256
5720
  trade_item_id: string;
5257
5721
  updated_at: string;
5258
5722
  user_id: string;
@@ -5261,12 +5725,17 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
5261
5725
  attempts?: number;
5262
5726
  connection_id: string;
5263
5727
  created_at?: string;
5728
+ desired_available?: boolean | null;
5264
5729
  gateway_attempt_id?: string | null;
5265
5730
  id?: string;
5266
5731
  last_error?: string | null;
5732
+ locked_at?: string | null;
5733
+ locked_by?: string | null;
5734
+ next_attempt_at?: string;
5267
5735
  number_of_pieces?: number;
5268
5736
  sent_at?: string | null;
5269
5737
  status?: string;
5738
+ superseded_by?: string | null;
5270
5739
  trade_item_id: string;
5271
5740
  updated_at?: string;
5272
5741
  user_id: string;
@@ -5275,12 +5744,17 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
5275
5744
  attempts?: number;
5276
5745
  connection_id?: string;
5277
5746
  created_at?: string;
5747
+ desired_available?: boolean | null;
5278
5748
  gateway_attempt_id?: string | null;
5279
5749
  id?: string;
5280
5750
  last_error?: string | null;
5751
+ locked_at?: string | null;
5752
+ locked_by?: string | null;
5753
+ next_attempt_at?: string;
5281
5754
  number_of_pieces?: number;
5282
5755
  sent_at?: string | null;
5283
5756
  status?: string;
5757
+ superseded_by?: string | null;
5284
5758
  trade_item_id?: string;
5285
5759
  updated_at?: string;
5286
5760
  user_id?: string;
@@ -6017,8 +6491,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
6017
6491
  Row: {
6018
6492
  buyer_organization_id: string | null;
6019
6493
  connection_id: string;
6020
- controlled_at: string | null;
6021
- controlled_by: string | null;
6022
6494
  created_at: string;
6023
6495
  data: import("../integrations/supabase/types.js").Json;
6024
6496
  floriday_id: string;
@@ -6030,8 +6502,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
6030
6502
  Insert: {
6031
6503
  buyer_organization_id?: string | null;
6032
6504
  connection_id: string;
6033
- controlled_at?: string | null;
6034
- controlled_by?: string | null;
6035
6505
  created_at?: string;
6036
6506
  data: import("../integrations/supabase/types.js").Json;
6037
6507
  floriday_id: string;
@@ -6043,8 +6513,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
6043
6513
  Update: {
6044
6514
  buyer_organization_id?: string | null;
6045
6515
  connection_id?: string;
6046
- controlled_at?: string | null;
6047
- controlled_by?: string | null;
6048
6516
  created_at?: string;
6049
6517
  data?: import("../integrations/supabase/types.js").Json;
6050
6518
  floriday_id?: string;
@@ -8646,6 +9114,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
8646
9114
  };
8647
9115
  logistics_tasks: {
8648
9116
  Row: {
9117
+ attempt_log: import("../integrations/supabase/types.js").Json;
9118
+ attempts: number;
8649
9119
  buffer_ref: string | null;
8650
9120
  claimed_at: string | null;
8651
9121
  claimed_by: string | null;
@@ -8655,6 +9125,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
8655
9125
  due_at: string | null;
8656
9126
  error: string | null;
8657
9127
  id: string;
9128
+ last_error: string | null;
9129
+ next_attempt_at: string | null;
8658
9130
  order_ref: string;
8659
9131
  owner_module: string;
8660
9132
  payload: import("../integrations/supabase/types.js").Json;
@@ -8675,6 +9147,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
8675
9147
  user_id: string;
8676
9148
  };
8677
9149
  Insert: {
9150
+ attempt_log?: import("../integrations/supabase/types.js").Json;
9151
+ attempts?: number;
8678
9152
  buffer_ref?: string | null;
8679
9153
  claimed_at?: string | null;
8680
9154
  claimed_by?: string | null;
@@ -8684,6 +9158,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
8684
9158
  due_at?: string | null;
8685
9159
  error?: string | null;
8686
9160
  id?: string;
9161
+ last_error?: string | null;
9162
+ next_attempt_at?: string | null;
8687
9163
  order_ref: string;
8688
9164
  owner_module: string;
8689
9165
  payload?: import("../integrations/supabase/types.js").Json;
@@ -8704,6 +9180,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
8704
9180
  user_id?: string;
8705
9181
  };
8706
9182
  Update: {
9183
+ attempt_log?: import("../integrations/supabase/types.js").Json;
9184
+ attempts?: number;
8707
9185
  buffer_ref?: string | null;
8708
9186
  claimed_at?: string | null;
8709
9187
  claimed_by?: string | null;
@@ -8713,6 +9191,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
8713
9191
  due_at?: string | null;
8714
9192
  error?: string | null;
8715
9193
  id?: string;
9194
+ last_error?: string | null;
9195
+ next_attempt_at?: string | null;
8716
9196
  order_ref?: string;
8717
9197
  owner_module?: string;
8718
9198
  payload?: import("../integrations/supabase/types.js").Json;
@@ -9285,60 +9765,39 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
9285
9765
  };
9286
9766
  manufacture_products: {
9287
9767
  Row: {
9288
- aantal_te_produceren: number;
9289
9768
  created_at: string;
9290
9769
  description: string | null;
9291
9770
  id: string;
9292
9771
  is_active: boolean;
9293
- location_id: string | null;
9294
9772
  name: string;
9295
- partij_nummer: string | null;
9296
- photos: import("../integrations/supabase/types.js").Json;
9297
9773
  produced_stock: number;
9298
9774
  product_code: string;
9299
9775
  tenant_id: string;
9300
- unit: string;
9301
9776
  updated_at: string;
9302
9777
  };
9303
9778
  Insert: {
9304
- aantal_te_produceren?: number;
9305
9779
  created_at?: string;
9306
9780
  description?: string | null;
9307
9781
  id?: string;
9308
9782
  is_active?: boolean;
9309
- location_id?: string | null;
9310
9783
  name: string;
9311
- partij_nummer?: string | null;
9312
- photos?: import("../integrations/supabase/types.js").Json;
9313
9784
  produced_stock?: number;
9314
9785
  product_code: string;
9315
9786
  tenant_id: string;
9316
- unit?: string;
9317
9787
  updated_at?: string;
9318
9788
  };
9319
9789
  Update: {
9320
- aantal_te_produceren?: number;
9321
9790
  created_at?: string;
9322
9791
  description?: string | null;
9323
9792
  id?: string;
9324
9793
  is_active?: boolean;
9325
- location_id?: string | null;
9326
9794
  name?: string;
9327
- partij_nummer?: string | null;
9328
- photos?: import("../integrations/supabase/types.js").Json;
9329
9795
  produced_stock?: number;
9330
9796
  product_code?: string;
9331
9797
  tenant_id?: string;
9332
- unit?: string;
9333
9798
  updated_at?: string;
9334
9799
  };
9335
- Relationships: [{
9336
- foreignKeyName: "manufacture_products_location_id_fkey";
9337
- columns: ["location_id"];
9338
- isOneToOne: false;
9339
- referencedRelation: "locations";
9340
- referencedColumns: ["id"];
9341
- }];
9800
+ Relationships: [];
9342
9801
  };
9343
9802
  module_permissions: {
9344
9803
  Row: {
@@ -10083,6 +10542,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
10083
10542
  };
10084
10543
  offer_settings: {
10085
10544
  Row: {
10545
+ brand_name: string | null;
10086
10546
  button_color: string;
10087
10547
  created_at: string;
10088
10548
  default_countries: string[];
@@ -10104,6 +10564,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
10104
10564
  updated_at: string;
10105
10565
  };
10106
10566
  Insert: {
10567
+ brand_name?: string | null;
10107
10568
  button_color?: string;
10108
10569
  created_at?: string;
10109
10570
  default_countries?: string[];
@@ -10125,6 +10586,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
10125
10586
  updated_at?: string;
10126
10587
  };
10127
10588
  Update: {
10589
+ brand_name?: string | null;
10128
10590
  button_color?: string;
10129
10591
  created_at?: string;
10130
10592
  default_countries?: string[];
@@ -12543,8 +13005,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
12543
13005
  crates_per_layer: number;
12544
13006
  created_at: string;
12545
13007
  custom_fields: import("../integrations/supabase/types.js").Json;
12546
- floriday_active: boolean;
12547
- floriday_payload: import("../integrations/supabase/types.js").Json;
12548
13008
  floriday_trade_item_id: string | null;
12549
13009
  id: string;
12550
13010
  image_url: string | null;
@@ -12562,8 +13022,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
12562
13022
  trade_item_key: string | null;
12563
13023
  unit: string;
12564
13024
  updated_at: string;
12565
- vat_code: string | null;
12566
- vat_rate: number | null;
12567
13025
  weight: string | null;
12568
13026
  };
12569
13027
  Insert: {
@@ -12573,8 +13031,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
12573
13031
  crates_per_layer?: number;
12574
13032
  created_at?: string;
12575
13033
  custom_fields?: import("../integrations/supabase/types.js").Json;
12576
- floriday_active?: boolean;
12577
- floriday_payload?: import("../integrations/supabase/types.js").Json;
12578
13034
  floriday_trade_item_id?: string | null;
12579
13035
  id?: string;
12580
13036
  image_url?: string | null;
@@ -12592,8 +13048,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
12592
13048
  trade_item_key?: string | null;
12593
13049
  unit?: string;
12594
13050
  updated_at?: string;
12595
- vat_code?: string | null;
12596
- vat_rate?: number | null;
12597
13051
  weight?: string | null;
12598
13052
  };
12599
13053
  Update: {
@@ -12603,8 +13057,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
12603
13057
  crates_per_layer?: number;
12604
13058
  created_at?: string;
12605
13059
  custom_fields?: import("../integrations/supabase/types.js").Json;
12606
- floriday_active?: boolean;
12607
- floriday_payload?: import("../integrations/supabase/types.js").Json;
12608
13060
  floriday_trade_item_id?: string | null;
12609
13061
  id?: string;
12610
13062
  image_url?: string | null;
@@ -12622,8 +13074,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
12622
13074
  trade_item_key?: string | null;
12623
13075
  unit?: string;
12624
13076
  updated_at?: string;
12625
- vat_code?: string | null;
12626
- vat_rate?: number | null;
12627
13077
  weight?: string | null;
12628
13078
  };
12629
13079
  Relationships: [];
@@ -13856,7 +14306,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
13856
14306
  order_id: string | null;
13857
14307
  order_item_id: string | null;
13858
14308
  order_source: string | null;
13859
- parent_trade_item_key: string | null;
13860
14309
  physical_after: number | null;
13861
14310
  physical_before: number | null;
13862
14311
  production_batch_id: string | null;
@@ -13875,7 +14324,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
13875
14324
  order_id?: string | null;
13876
14325
  order_item_id?: string | null;
13877
14326
  order_source?: string | null;
13878
- parent_trade_item_key?: string | null;
13879
14327
  physical_after?: number | null;
13880
14328
  physical_before?: number | null;
13881
14329
  production_batch_id?: string | null;
@@ -13894,7 +14342,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
13894
14342
  order_id?: string | null;
13895
14343
  order_item_id?: string | null;
13896
14344
  order_source?: string | null;
13897
- parent_trade_item_key?: string | null;
13898
14345
  physical_after?: number | null;
13899
14346
  physical_before?: number | null;
13900
14347
  production_batch_id?: string | null;
@@ -14460,10 +14907,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
14460
14907
  };
14461
14908
  twinfield_connections: {
14462
14909
  Row: {
14463
- access_token: string | null;
14464
- account_key: string | null;
14465
- client_id: string | null;
14466
- client_secret: string | null;
14910
+ account_key: string | null;
14467
14911
  cluster_uri: string | null;
14468
14912
  company_code: string | null;
14469
14913
  company_name: string | null;
@@ -14475,16 +14919,11 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
14475
14919
  label: string | null;
14476
14920
  office_code: string | null;
14477
14921
  redirect_uri: string | null;
14478
- refresh_token: string | null;
14479
- token_expires_at: string | null;
14480
14922
  updated_at: string;
14481
14923
  user_id: string;
14482
14924
  };
14483
14925
  Insert: {
14484
- access_token?: string | null;
14485
14926
  account_key?: string | null;
14486
- client_id?: string | null;
14487
- client_secret?: string | null;
14488
14927
  cluster_uri?: string | null;
14489
14928
  company_code?: string | null;
14490
14929
  company_name?: string | null;
@@ -14496,16 +14935,11 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
14496
14935
  label?: string | null;
14497
14936
  office_code?: string | null;
14498
14937
  redirect_uri?: string | null;
14499
- refresh_token?: string | null;
14500
- token_expires_at?: string | null;
14501
14938
  updated_at?: string;
14502
14939
  user_id: string;
14503
14940
  };
14504
14941
  Update: {
14505
- access_token?: string | null;
14506
14942
  account_key?: string | null;
14507
- client_id?: string | null;
14508
- client_secret?: string | null;
14509
14943
  cluster_uri?: string | null;
14510
14944
  company_code?: string | null;
14511
14945
  company_name?: string | null;
@@ -14517,53 +14951,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
14517
14951
  label?: string | null;
14518
14952
  office_code?: string | null;
14519
14953
  redirect_uri?: string | null;
14520
- refresh_token?: string | null;
14521
- token_expires_at?: string | null;
14522
- updated_at?: string;
14523
- user_id?: string;
14524
- };
14525
- Relationships: [];
14526
- };
14527
- twinfield_credentials: {
14528
- Row: {
14529
- administration_code: string | null;
14530
- client_id: string | null;
14531
- client_secret: string | null;
14532
- cluster: string | null;
14533
- connected_at: string | null;
14534
- created_at: string;
14535
- environment: string | null;
14536
- id: string;
14537
- redirect_uri: string | null;
14538
- refresh_token: string | null;
14539
- updated_at: string;
14540
- user_id: string;
14541
- };
14542
- Insert: {
14543
- administration_code?: string | null;
14544
- client_id?: string | null;
14545
- client_secret?: string | null;
14546
- cluster?: string | null;
14547
- connected_at?: string | null;
14548
- created_at?: string;
14549
- environment?: string | null;
14550
- id?: string;
14551
- redirect_uri?: string | null;
14552
- refresh_token?: string | null;
14553
- updated_at?: string;
14554
- user_id: string;
14555
- };
14556
- Update: {
14557
- administration_code?: string | null;
14558
- client_id?: string | null;
14559
- client_secret?: string | null;
14560
- cluster?: string | null;
14561
- connected_at?: string | null;
14562
- created_at?: string;
14563
- environment?: string | null;
14564
- id?: string;
14565
- redirect_uri?: string | null;
14566
- refresh_token?: string | null;
14567
14954
  updated_at?: string;
14568
14955
  user_id?: string;
14569
14956
  };
@@ -15139,30 +15526,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
15139
15526
  };
15140
15527
  Relationships: [];
15141
15528
  };
15142
- twinfield_oauth_state: {
15143
- Row: {
15144
- created_at: string;
15145
- environment: string;
15146
- nonce: string | null;
15147
- state: string;
15148
- user_id: string;
15149
- };
15150
- Insert: {
15151
- created_at?: string;
15152
- environment: string;
15153
- nonce?: string | null;
15154
- state: string;
15155
- user_id: string;
15156
- };
15157
- Update: {
15158
- created_at?: string;
15159
- environment?: string;
15160
- nonce?: string | null;
15161
- state?: string;
15162
- user_id?: string;
15163
- };
15164
- Relationships: [];
15165
- };
15166
15529
  twinfield_push_log: {
15167
15530
  Row: {
15168
15531
  created_at: string;
@@ -15206,7 +15569,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
15206
15569
  Row: {
15207
15570
  action: string;
15208
15571
  attempts: number;
15209
- connection_id: string;
15572
+ connection_id: string | null;
15210
15573
  created_at: string;
15211
15574
  customer_id: string | null;
15212
15575
  external_id: string | null;
@@ -15214,7 +15577,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
15214
15577
  idempotency_key: string;
15215
15578
  last_error: string | null;
15216
15579
  next_attempt_at: string;
15217
- office_code: string;
15580
+ office_code: string | null;
15218
15581
  payload: import("../integrations/supabase/types.js").Json;
15219
15582
  status: string;
15220
15583
  updated_at: string;
@@ -15222,7 +15585,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
15222
15585
  Insert: {
15223
15586
  action?: string;
15224
15587
  attempts?: number;
15225
- connection_id: string;
15588
+ connection_id?: string | null;
15226
15589
  created_at?: string;
15227
15590
  customer_id?: string | null;
15228
15591
  external_id?: string | null;
@@ -15230,7 +15593,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
15230
15593
  idempotency_key: string;
15231
15594
  last_error?: string | null;
15232
15595
  next_attempt_at?: string;
15233
- office_code: string;
15596
+ office_code?: string | null;
15234
15597
  payload: import("../integrations/supabase/types.js").Json;
15235
15598
  status?: string;
15236
15599
  updated_at?: string;
@@ -15238,7 +15601,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
15238
15601
  Update: {
15239
15602
  action?: string;
15240
15603
  attempts?: number;
15241
- connection_id?: string;
15604
+ connection_id?: string | null;
15242
15605
  created_at?: string;
15243
15606
  customer_id?: string | null;
15244
15607
  external_id?: string | null;
@@ -15246,7 +15609,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
15246
15609
  idempotency_key?: string;
15247
15610
  last_error?: string | null;
15248
15611
  next_attempt_at?: string;
15249
- office_code?: string;
15612
+ office_code?: string | null;
15250
15613
  payload?: import("../integrations/supabase/types.js").Json;
15251
15614
  status?: string;
15252
15615
  updated_at?: string;
@@ -15388,39 +15751,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
15388
15751
  referencedColumns: ["id"];
15389
15752
  }];
15390
15753
  };
15391
- twinfield_token_refresh_log: {
15392
- Row: {
15393
- attempted_at: string;
15394
- connection_id: string;
15395
- error: string | null;
15396
- expires_at: string | null;
15397
- id: string;
15398
- ok: boolean;
15399
- };
15400
- Insert: {
15401
- attempted_at?: string;
15402
- connection_id: string;
15403
- error?: string | null;
15404
- expires_at?: string | null;
15405
- id?: string;
15406
- ok: boolean;
15407
- };
15408
- Update: {
15409
- attempted_at?: string;
15410
- connection_id?: string;
15411
- error?: string | null;
15412
- expires_at?: string | null;
15413
- id?: string;
15414
- ok?: boolean;
15415
- };
15416
- Relationships: [{
15417
- foreignKeyName: "twinfield_token_refresh_log_connection_id_fkey";
15418
- columns: ["connection_id"];
15419
- isOneToOne: false;
15420
- referencedRelation: "twinfield_connections";
15421
- referencedColumns: ["id"];
15422
- }];
15423
- };
15424
15754
  uren_cao_profiles: {
15425
15755
  Row: {
15426
15756
  break_minutes: number | null;
@@ -17867,6 +18197,85 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
17867
18197
  };
17868
18198
  Returns: import("../integrations/supabase/types.js").Json;
17869
18199
  };
18200
+ claim_floriday_stock_queue: {
18201
+ Args: {
18202
+ p_limit?: number;
18203
+ p_worker?: string;
18204
+ };
18205
+ Returns: {
18206
+ attempts: number;
18207
+ connection_id: string;
18208
+ created_at: string;
18209
+ desired_available: boolean | null;
18210
+ gateway_attempt_id: string | null;
18211
+ id: string;
18212
+ last_error: string | null;
18213
+ locked_at: string | null;
18214
+ locked_by: string | null;
18215
+ next_attempt_at: string;
18216
+ number_of_pieces: number;
18217
+ sent_at: string | null;
18218
+ status: string;
18219
+ superseded_by: string | null;
18220
+ trade_item_id: string;
18221
+ updated_at: string;
18222
+ user_id: string;
18223
+ }[];
18224
+ SetofOptions: {
18225
+ from: "*";
18226
+ to: "floriday_continuous_stock_queue";
18227
+ isOneToOne: false;
18228
+ isSetofReturn: true;
18229
+ };
18230
+ };
18231
+ claim_logistics_tasks: {
18232
+ Args: {
18233
+ _limit?: number;
18234
+ _owner_module: string;
18235
+ _stale_minutes?: number;
18236
+ _task_type: string;
18237
+ _worker: string;
18238
+ };
18239
+ Returns: {
18240
+ attempt_log: import("../integrations/supabase/types.js").Json;
18241
+ attempts: number;
18242
+ buffer_ref: string | null;
18243
+ claimed_at: string | null;
18244
+ claimed_by: string | null;
18245
+ completed_at: string | null;
18246
+ created_at: string;
18247
+ depends_on: string[];
18248
+ due_at: string | null;
18249
+ error: string | null;
18250
+ id: string;
18251
+ last_error: string | null;
18252
+ next_attempt_at: string | null;
18253
+ order_ref: string;
18254
+ owner_module: string;
18255
+ payload: import("../integrations/supabase/types.js").Json;
18256
+ plan_run_id: string | null;
18257
+ planned_end: string | null;
18258
+ planned_start: string | null;
18259
+ priority: number;
18260
+ result: import("../integrations/supabase/types.js").Json | null;
18261
+ rule_config_id: string | null;
18262
+ rule_version: number | null;
18263
+ sequence: number;
18264
+ shadow: boolean;
18265
+ started_at: string | null;
18266
+ status: string;
18267
+ strategy_id: string | null;
18268
+ task_type: string;
18269
+ updated_at: string;
18270
+ user_id: string;
18271
+ }[];
18272
+ SetofOptions: {
18273
+ from: "*";
18274
+ to: "logistics_tasks";
18275
+ isOneToOne: false;
18276
+ isSetofReturn: true;
18277
+ };
18278
+ };
17870
18279
  claim_print_jobs: {
17871
18280
  Args: {
17872
18281
  _agent_id: string;
@@ -17904,32 +18313,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
17904
18313
  };
17905
18314
  };
17906
18315
  claim_twinfield_push_batch: {
17907
- Args: {
17908
- _limit?: number;
17909
- };
17910
- Returns: {
17911
- action: string;
17912
- attempts: number;
17913
- connection_id: string;
17914
- created_at: string;
17915
- customer_id: string | null;
17916
- external_id: string | null;
17917
- id: string;
17918
- idempotency_key: string;
17919
- last_error: string | null;
17920
- next_attempt_at: string;
17921
- office_code: string;
17922
- payload: import("../integrations/supabase/types.js").Json;
17923
- status: string;
17924
- updated_at: string;
17925
- }[];
17926
- SetofOptions: {
17927
- from: "*";
17928
- to: "twinfield_push_queue";
17929
- isOneToOne: false;
17930
- isSetofReturn: true;
17931
- };
17932
- } | {
17933
18316
  Args: {
17934
18317
  _customer_id?: string;
17935
18318
  _limit?: number;
@@ -17937,7 +18320,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
17937
18320
  Returns: {
17938
18321
  action: string;
17939
18322
  attempts: number;
17940
- connection_id: string;
18323
+ connection_id: string | null;
17941
18324
  created_at: string;
17942
18325
  customer_id: string | null;
17943
18326
  external_id: string | null;
@@ -17945,7 +18328,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
17945
18328
  idempotency_key: string;
17946
18329
  last_error: string | null;
17947
18330
  next_attempt_at: string;
17948
- office_code: string;
18331
+ office_code: string | null;
17949
18332
  payload: import("../integrations/supabase/types.js").Json;
17950
18333
  status: string;
17951
18334
  updated_at: string;
@@ -17957,10 +18340,24 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
17957
18340
  isSetofReturn: true;
17958
18341
  };
17959
18342
  };
18343
+ cleanup_floriday_stock_queue: {
18344
+ Args: never;
18345
+ Returns: undefined;
18346
+ };
17960
18347
  cleanup_old_bookings: {
17961
18348
  Args: never;
17962
18349
  Returns: undefined;
17963
18350
  };
18351
+ complete_floriday_stock_queue: {
18352
+ Args: {
18353
+ p_attempt_id?: string;
18354
+ p_error?: string;
18355
+ p_id: string;
18356
+ p_ok: boolean;
18357
+ p_permanent?: boolean;
18358
+ };
18359
+ Returns: undefined;
18360
+ };
17964
18361
  consume_bom_for_production: {
17965
18362
  Args: {
17966
18363
  p_connection_id: string;
@@ -18133,6 +18530,21 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
18133
18530
  Args: never;
18134
18531
  Returns: string;
18135
18532
  };
18533
+ exact_auth_consume_calls: {
18534
+ Args: {
18535
+ _account_key: string;
18536
+ _calls?: number;
18537
+ _day_limit?: number;
18538
+ _division_code: number;
18539
+ _environment: string;
18540
+ _minute_limit?: number;
18541
+ };
18542
+ Returns: import("../integrations/supabase/types.js").Json;
18543
+ };
18544
+ exact_auth_prune_sync_log: {
18545
+ Args: never;
18546
+ Returns: undefined;
18547
+ };
18136
18548
  exact_decrypt: {
18137
18549
  Args: {
18138
18550
  cipher: string;
@@ -18342,6 +18754,10 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
18342
18754
  };
18343
18755
  Returns: number;
18344
18756
  };
18757
+ get_offer_branding: {
18758
+ Args: never;
18759
+ Returns: import("../integrations/supabase/types.js").Json;
18760
+ };
18345
18761
  get_offer_by_link_code: {
18346
18762
  Args: {
18347
18763
  p_code: string;
@@ -18633,6 +19049,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
18633
19049
  p_worker?: string;
18634
19050
  };
18635
19051
  Returns: {
19052
+ attempt_log: import("../integrations/supabase/types.js").Json;
19053
+ attempts: number;
18636
19054
  buffer_ref: string | null;
18637
19055
  claimed_at: string | null;
18638
19056
  claimed_by: string | null;
@@ -18642,6 +19060,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
18642
19060
  due_at: string | null;
18643
19061
  error: string | null;
18644
19062
  id: string;
19063
+ last_error: string | null;
19064
+ next_attempt_at: string | null;
18645
19065
  order_ref: string;
18646
19066
  owner_module: string;
18647
19067
  payload: import("../integrations/supabase/types.js").Json;
@@ -18674,6 +19094,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
18674
19094
  p_worker?: string;
18675
19095
  };
18676
19096
  Returns: {
19097
+ attempt_log: import("../integrations/supabase/types.js").Json;
19098
+ attempts: number;
18677
19099
  buffer_ref: string | null;
18678
19100
  claimed_at: string | null;
18679
19101
  claimed_by: string | null;
@@ -18683,6 +19105,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
18683
19105
  due_at: string | null;
18684
19106
  error: string | null;
18685
19107
  id: string;
19108
+ last_error: string | null;
19109
+ next_attempt_at: string | null;
18686
19110
  order_ref: string;
18687
19111
  owner_module: string;
18688
19112
  payload: import("../integrations/supabase/types.js").Json;
@@ -18715,6 +19139,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
18715
19139
  p_task_id: string;
18716
19140
  };
18717
19141
  Returns: {
19142
+ attempt_log: import("../integrations/supabase/types.js").Json;
19143
+ attempts: number;
18718
19144
  buffer_ref: string | null;
18719
19145
  claimed_at: string | null;
18720
19146
  claimed_by: string | null;
@@ -18724,6 +19150,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
18724
19150
  due_at: string | null;
18725
19151
  error: string | null;
18726
19152
  id: string;
19153
+ last_error: string | null;
19154
+ next_attempt_at: string | null;
18727
19155
  order_ref: string;
18728
19156
  owner_module: string;
18729
19157
  payload: import("../integrations/supabase/types.js").Json;
@@ -18805,6 +19233,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
18805
19233
  p_task_id: string;
18806
19234
  };
18807
19235
  Returns: {
19236
+ attempt_log: import("../integrations/supabase/types.js").Json;
19237
+ attempts: number;
18808
19238
  buffer_ref: string | null;
18809
19239
  claimed_at: string | null;
18810
19240
  claimed_by: string | null;
@@ -18814,6 +19244,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
18814
19244
  due_at: string | null;
18815
19245
  error: string | null;
18816
19246
  id: string;
19247
+ last_error: string | null;
19248
+ next_attempt_at: string | null;
18817
19249
  order_ref: string;
18818
19250
  owner_module: string;
18819
19251
  payload: import("../integrations/supabase/types.js").Json;
@@ -19567,6 +19999,10 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
19567
19999
  Args: never;
19568
20000
  Returns: undefined;
19569
20001
  };
20002
+ run_logistics_tasks_dispatch: {
20003
+ Args: never;
20004
+ Returns: undefined;
20005
+ };
19570
20006
  run_twinfield_queue_tick: {
19571
20007
  Args: never;
19572
20008
  Returns: undefined;
@@ -19807,6 +20243,13 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
19807
20243
  };
19808
20244
  Returns: number;
19809
20245
  };
20246
+ schedule_floriday_stock_queue_process: {
20247
+ Args: {
20248
+ p_apikey: string;
20249
+ p_url: string;
20250
+ };
20251
+ Returns: number;
20252
+ };
19810
20253
  schedule_floriday_token_refresh: {
19811
20254
  Args: {
19812
20255
  p_apikey: string;
@@ -19954,18 +20397,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
19954
20397
  };
19955
20398
  Returns: boolean;
19956
20399
  };
19957
- twinfield_decrypt: {
19958
- Args: {
19959
- cipher: string;
19960
- };
19961
- Returns: string;
19962
- };
19963
- twinfield_encrypt: {
19964
- Args: {
19965
- plain: string;
19966
- };
19967
- Returns: string;
19968
- };
19969
20400
  twinfield_register_cron: {
19970
20401
  Args: {
19971
20402
  apikey?: string;
@@ -20008,7 +20439,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
20008
20439
  };
20009
20440
  Enums: {
20010
20441
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
20011
- app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur" | "planner" | "administratie" | "ai_admin";
20442
+ app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
20012
20443
  doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
20013
20444
  doc_orientation: "portrait" | "landscape";
20014
20445
  exact_env: "staging" | "live";