@flowselections/layout-maker 1.3.3 → 1.6.5

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 (112) hide show
  1. package/README.md +24 -24
  2. package/dist-lib/components/AfdrukKnop.d.ts +3 -1
  3. package/dist-lib/components/AfdrukKnop.d.ts.map +1 -1
  4. package/dist-lib/components/AfdrukKnop.js +24 -3
  5. package/dist-lib/components/ComputersLijst.d.ts +23 -0
  6. package/dist-lib/components/ComputersLijst.d.ts.map +1 -0
  7. package/dist-lib/components/ComputersLijst.js +75 -0
  8. package/dist-lib/components/LayoutsPage.d.ts.map +1 -1
  9. package/dist-lib/components/LayoutsPage.js +2 -0
  10. package/dist-lib/components/LogosPage.d.ts.map +1 -1
  11. package/dist-lib/components/LogosPage.js +2 -0
  12. package/dist-lib/components/NetwerkPrintersDialog.d.ts +8 -0
  13. package/dist-lib/components/NetwerkPrintersDialog.d.ts.map +1 -0
  14. package/dist-lib/components/NetwerkPrintersDialog.js +79 -0
  15. package/dist-lib/components/PrintProgrammaUitleg.d.ts +5 -0
  16. package/dist-lib/components/PrintProgrammaUitleg.d.ts.map +1 -0
  17. package/dist-lib/components/PrintProgrammaUitleg.js +19 -0
  18. package/dist-lib/components/PrintQueuePage.d.ts.map +1 -1
  19. package/dist-lib/components/PrintQueuePage.js +37 -3
  20. package/dist-lib/components/PrinterKaart.d.ts +17 -0
  21. package/dist-lib/components/PrinterKaart.d.ts.map +1 -0
  22. package/dist-lib/components/PrinterKaart.js +14 -0
  23. package/dist-lib/components/PrinterSetupWizard.d.ts +11 -1
  24. package/dist-lib/components/PrinterSetupWizard.d.ts.map +1 -1
  25. package/dist-lib/components/PrinterSetupWizard.js +134 -64
  26. package/dist-lib/components/PrinterStatsKaarten.d.ts +11 -0
  27. package/dist-lib/components/PrinterStatsKaarten.d.ts.map +1 -0
  28. package/dist-lib/components/PrinterStatsKaarten.js +8 -0
  29. package/dist-lib/components/PrintersPage.d.ts.map +1 -1
  30. package/dist-lib/components/PrintersPage.js +120 -49
  31. package/dist-lib/components/WerkplekConfiguratiePage.d.ts +2 -0
  32. package/dist-lib/components/WerkplekConfiguratiePage.d.ts.map +1 -0
  33. package/dist-lib/components/WerkplekConfiguratiePage.js +101 -0
  34. package/dist-lib/components/WerkplekkenTabel.d.ts +14 -0
  35. package/dist-lib/components/WerkplekkenTabel.d.ts.map +1 -0
  36. package/dist-lib/components/WerkplekkenTabel.js +16 -0
  37. package/dist-lib/index.d.ts +11 -0
  38. package/dist-lib/index.d.ts.map +1 -1
  39. package/dist-lib/index.js +11 -0
  40. package/dist-lib/integrations/supabase/auth-middleware.d.ts +925 -34
  41. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  42. package/dist-lib/integrations/supabase/client.server.d.ts +925 -34
  43. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  44. package/dist-lib/integrations/supabase/types.d.ts +920 -29
  45. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  46. package/dist-lib/integrations/supabase/types.js +12 -1
  47. package/dist-lib/lib/aiLayout.functions.d.ts +925 -34
  48. package/dist-lib/lib/aiLayout.functions.d.ts.map +1 -1
  49. package/dist-lib/lib/aiLayout.server.js +9 -9
  50. package/dist-lib/lib/browserPrint.d.ts +1 -0
  51. package/dist-lib/lib/browserPrint.d.ts.map +1 -1
  52. package/dist-lib/lib/browserPrint.js +6 -6
  53. package/dist-lib/lib/centralAuth.server.d.ts +13 -0
  54. package/dist-lib/lib/centralAuth.server.d.ts.map +1 -0
  55. package/dist-lib/lib/centralAuth.server.js +60 -0
  56. package/dist-lib/lib/directPrint.d.ts +26 -0
  57. package/dist-lib/lib/directPrint.d.ts.map +1 -0
  58. package/dist-lib/lib/directPrint.js +65 -0
  59. package/dist-lib/lib/documentPdf.d.ts +11 -0
  60. package/dist-lib/lib/documentPdf.d.ts.map +1 -0
  61. package/dist-lib/lib/documentPdf.js +62 -0
  62. package/dist-lib/lib/htmlNaarPdf.server.d.ts +14 -0
  63. package/dist-lib/lib/htmlNaarPdf.server.d.ts.map +1 -0
  64. package/dist-lib/lib/htmlNaarPdf.server.js +34 -0
  65. package/dist-lib/lib/htmlPdf.server.d.ts +29 -0
  66. package/dist-lib/lib/htmlPdf.server.d.ts.map +1 -0
  67. package/dist-lib/lib/htmlPdf.server.js +1009 -0
  68. package/dist-lib/lib/layoutPreview.d.ts +1 -1
  69. package/dist-lib/lib/layoutPreview.d.ts.map +1 -1
  70. package/dist-lib/lib/layoutPreview.js +9 -9
  71. package/dist-lib/lib/logoLibrary.d.ts +1 -1
  72. package/dist-lib/lib/logoLibrary.js +5 -3
  73. package/dist-lib/lib/orderData.server.d.ts +15 -0
  74. package/dist-lib/lib/orderData.server.d.ts.map +1 -0
  75. package/dist-lib/lib/orderData.server.js +194 -0
  76. package/dist-lib/lib/pakbonBuilder.d.ts.map +1 -1
  77. package/dist-lib/lib/pakbonBuilder.js +22 -2
  78. package/dist-lib/lib/pakbonHtml.js +50 -50
  79. package/dist-lib/lib/printQueue.server.d.ts +31 -0
  80. package/dist-lib/lib/printQueue.server.d.ts.map +1 -0
  81. package/dist-lib/lib/printQueue.server.js +435 -0
  82. package/dist-lib/lib/printService.functions.d.ts +103742 -0
  83. package/dist-lib/lib/printService.functions.d.ts.map +1 -0
  84. package/dist-lib/lib/printService.functions.js +94 -0
  85. package/dist-lib/lib/printService.server.d.ts +31 -0
  86. package/dist-lib/lib/printService.server.d.ts.map +1 -0
  87. package/dist-lib/lib/printService.server.js +110 -0
  88. package/dist-lib/lib/productiebonHtml.d.ts +18 -0
  89. package/dist-lib/lib/productiebonHtml.d.ts.map +1 -0
  90. package/dist-lib/lib/productiebonHtml.js +166 -0
  91. package/dist-lib/lib/profielHtml.d.ts +14 -0
  92. package/dist-lib/lib/profielHtml.d.ts.map +1 -0
  93. package/dist-lib/lib/profielHtml.js +256 -0
  94. package/dist-lib/lib/runnerRegistry.server.d.ts +10 -0
  95. package/dist-lib/lib/runnerRegistry.server.d.ts.map +1 -0
  96. package/dist-lib/lib/runnerRegistry.server.js +79 -0
  97. package/dist-lib/lib/supabaseAdmin.server.d.ts +6 -0
  98. package/dist-lib/lib/supabaseAdmin.server.d.ts.map +1 -0
  99. package/dist-lib/lib/supabaseAdmin.server.js +43 -0
  100. package/dist-lib/lib/testpagina.d.ts +2 -0
  101. package/dist-lib/lib/testpagina.d.ts.map +1 -0
  102. package/dist-lib/lib/testpagina.js +31 -0
  103. package/dist-lib/lib/useAutoRefresh.d.ts +8 -0
  104. package/dist-lib/lib/useAutoRefresh.d.ts.map +1 -0
  105. package/dist-lib/lib/useAutoRefresh.js +44 -0
  106. package/dist-lib/lib/useDocumentData.d.ts +4 -3
  107. package/dist-lib/lib/useDocumentData.d.ts.map +1 -1
  108. package/dist-lib/lib/useDocumentData.js +10 -7
  109. package/dist-lib/lib/useNetwerkPrinters.d.ts +12 -0
  110. package/dist-lib/lib/useNetwerkPrinters.d.ts.map +1 -0
  111. package/dist-lib/lib/useNetwerkPrinters.js +26 -0
  112. package/package.json +11 -3
@@ -1684,7 +1684,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
1684
1684
  city: string | null;
1685
1685
  country: string | null;
1686
1686
  created_at: string;
1687
- customer_id: string | null;
1687
+ customer_id: string;
1688
1688
  external_key: string | null;
1689
1689
  external_provider: string | null;
1690
1690
  floriday_location_id: string | null;
@@ -1708,7 +1708,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
1708
1708
  city?: string | null;
1709
1709
  country?: string | null;
1710
1710
  created_at?: string;
1711
- customer_id?: string | null;
1711
+ customer_id: string;
1712
1712
  external_key?: string | null;
1713
1713
  external_provider?: string | null;
1714
1714
  floriday_location_id?: string | null;
@@ -1732,7 +1732,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
1732
1732
  city?: string | null;
1733
1733
  country?: string | null;
1734
1734
  created_at?: string;
1735
- customer_id?: string | null;
1735
+ customer_id?: string;
1736
1736
  external_key?: string | null;
1737
1737
  external_provider?: string | null;
1738
1738
  floriday_location_id?: string | null;
@@ -3536,6 +3536,120 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3536
3536
  referencedColumns: ["id"];
3537
3537
  }];
3538
3538
  };
3539
+ exact_auth_call_budget: {
3540
+ Row: {
3541
+ account_key: string;
3542
+ day_count: number;
3543
+ day_date: string;
3544
+ division_code: number;
3545
+ environment: string;
3546
+ minute_count: number;
3547
+ minute_window: string;
3548
+ updated_at: string;
3549
+ };
3550
+ Insert: {
3551
+ account_key?: string;
3552
+ day_count?: number;
3553
+ day_date?: string;
3554
+ division_code?: number;
3555
+ environment: string;
3556
+ minute_count?: number;
3557
+ minute_window?: string;
3558
+ updated_at?: string;
3559
+ };
3560
+ Update: {
3561
+ account_key?: string;
3562
+ day_count?: number;
3563
+ day_date?: string;
3564
+ division_code?: number;
3565
+ environment?: string;
3566
+ minute_count?: number;
3567
+ minute_window?: string;
3568
+ updated_at?: string;
3569
+ };
3570
+ Relationships: [];
3571
+ };
3572
+ exact_auth_customers: {
3573
+ Row: {
3574
+ account_key: string;
3575
+ address_line1: string | null;
3576
+ chamber_of_commerce: string | null;
3577
+ city: string | null;
3578
+ code: string | null;
3579
+ country: string | null;
3580
+ created_at: string;
3581
+ currency: string | null;
3582
+ division_code: number | null;
3583
+ email: string | null;
3584
+ environment: Database["public"]["Enums"]["exact_env"];
3585
+ exact_id: string;
3586
+ exact_modified: string | null;
3587
+ exact_timestamp: number | null;
3588
+ id: string;
3589
+ is_active: boolean;
3590
+ name: string | null;
3591
+ phone: string | null;
3592
+ postcode: string | null;
3593
+ raw: import("./types").Json | null;
3594
+ status: string | null;
3595
+ updated_at: string;
3596
+ vat_number: string | null;
3597
+ website: string | null;
3598
+ };
3599
+ Insert: {
3600
+ account_key?: string;
3601
+ address_line1?: string | null;
3602
+ chamber_of_commerce?: string | null;
3603
+ city?: string | null;
3604
+ code?: string | null;
3605
+ country?: string | null;
3606
+ created_at?: string;
3607
+ currency?: string | null;
3608
+ division_code?: number | null;
3609
+ email?: string | null;
3610
+ environment: Database["public"]["Enums"]["exact_env"];
3611
+ exact_id: string;
3612
+ exact_modified?: string | null;
3613
+ exact_timestamp?: number | null;
3614
+ id?: string;
3615
+ is_active?: boolean;
3616
+ name?: string | null;
3617
+ phone?: string | null;
3618
+ postcode?: string | null;
3619
+ raw?: import("./types").Json | null;
3620
+ status?: string | null;
3621
+ updated_at?: string;
3622
+ vat_number?: string | null;
3623
+ website?: string | null;
3624
+ };
3625
+ Update: {
3626
+ account_key?: string;
3627
+ address_line1?: string | null;
3628
+ chamber_of_commerce?: string | null;
3629
+ city?: string | null;
3630
+ code?: string | null;
3631
+ country?: string | null;
3632
+ created_at?: string;
3633
+ currency?: string | null;
3634
+ division_code?: number | null;
3635
+ email?: string | null;
3636
+ environment?: Database["public"]["Enums"]["exact_env"];
3637
+ exact_id?: string;
3638
+ exact_modified?: string | null;
3639
+ exact_timestamp?: number | null;
3640
+ id?: string;
3641
+ is_active?: boolean;
3642
+ name?: string | null;
3643
+ phone?: string | null;
3644
+ postcode?: string | null;
3645
+ raw?: import("./types").Json | null;
3646
+ status?: string | null;
3647
+ updated_at?: string;
3648
+ vat_number?: string | null;
3649
+ website?: string | null;
3650
+ };
3651
+ Relationships: [];
3652
+ };
3539
3653
  exact_auth_divisions: {
3540
3654
  Row: {
3541
3655
  account_key: string;
@@ -3569,6 +3683,327 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
3569
3683
  };
3570
3684
  Relationships: [];
3571
3685
  };
3686
+ exact_auth_invoice_lines: {
3687
+ Row: {
3688
+ account_key: string;
3689
+ amount_excl: number | null;
3690
+ created_at: string;
3691
+ description: string | null;
3692
+ discount: number | null;
3693
+ environment: Database["public"]["Enums"]["exact_env"];
3694
+ exact_id: string;
3695
+ exact_timestamp: number | null;
3696
+ id: string;
3697
+ invoice_exact_id: string;
3698
+ item_code: string | null;
3699
+ item_exact_id: string | null;
3700
+ line_number: number | null;
3701
+ quantity: number | null;
3702
+ raw: import("./types").Json | null;
3703
+ unit_price: number | null;
3704
+ updated_at: string;
3705
+ vat_amount: number | null;
3706
+ vat_code: string | null;
3707
+ };
3708
+ Insert: {
3709
+ account_key?: string;
3710
+ amount_excl?: number | null;
3711
+ created_at?: string;
3712
+ description?: string | null;
3713
+ discount?: number | null;
3714
+ environment: Database["public"]["Enums"]["exact_env"];
3715
+ exact_id: string;
3716
+ exact_timestamp?: number | null;
3717
+ id?: string;
3718
+ invoice_exact_id: string;
3719
+ item_code?: string | null;
3720
+ item_exact_id?: string | null;
3721
+ line_number?: number | null;
3722
+ quantity?: number | null;
3723
+ raw?: import("./types").Json | null;
3724
+ unit_price?: number | null;
3725
+ updated_at?: string;
3726
+ vat_amount?: number | null;
3727
+ vat_code?: string | null;
3728
+ };
3729
+ Update: {
3730
+ account_key?: string;
3731
+ amount_excl?: number | null;
3732
+ created_at?: string;
3733
+ description?: string | null;
3734
+ discount?: number | null;
3735
+ environment?: Database["public"]["Enums"]["exact_env"];
3736
+ exact_id?: string;
3737
+ exact_timestamp?: number | null;
3738
+ id?: string;
3739
+ invoice_exact_id?: string;
3740
+ item_code?: string | null;
3741
+ item_exact_id?: string | null;
3742
+ line_number?: number | null;
3743
+ quantity?: number | null;
3744
+ raw?: import("./types").Json | null;
3745
+ unit_price?: number | null;
3746
+ updated_at?: string;
3747
+ vat_amount?: number | null;
3748
+ vat_code?: string | null;
3749
+ };
3750
+ Relationships: [];
3751
+ };
3752
+ exact_auth_invoices: {
3753
+ Row: {
3754
+ account_key: string;
3755
+ amount_excl: number | null;
3756
+ amount_incl: number | null;
3757
+ amount_open: number | null;
3758
+ created_at: string;
3759
+ currency: string | null;
3760
+ customer_code: string | null;
3761
+ customer_exact_id: string | null;
3762
+ customer_name: string | null;
3763
+ description: string | null;
3764
+ division_code: number | null;
3765
+ due_date: string | null;
3766
+ environment: Database["public"]["Enums"]["exact_env"];
3767
+ exact_id: string;
3768
+ exact_modified: string | null;
3769
+ exact_timestamp: number | null;
3770
+ id: string;
3771
+ invoice_date: string | null;
3772
+ invoice_number: string | null;
3773
+ order_number: string | null;
3774
+ paid_at: string | null;
3775
+ payment_status: string;
3776
+ raw: import("./types").Json | null;
3777
+ receivable_synced_at: string | null;
3778
+ status_code: number | null;
3779
+ updated_at: string;
3780
+ };
3781
+ Insert: {
3782
+ account_key?: string;
3783
+ amount_excl?: number | null;
3784
+ amount_incl?: number | null;
3785
+ amount_open?: number | null;
3786
+ created_at?: string;
3787
+ currency?: string | null;
3788
+ customer_code?: string | null;
3789
+ customer_exact_id?: string | null;
3790
+ customer_name?: string | null;
3791
+ description?: string | null;
3792
+ division_code?: number | null;
3793
+ due_date?: string | null;
3794
+ environment: Database["public"]["Enums"]["exact_env"];
3795
+ exact_id: string;
3796
+ exact_modified?: string | null;
3797
+ exact_timestamp?: number | null;
3798
+ id?: string;
3799
+ invoice_date?: string | null;
3800
+ invoice_number?: string | null;
3801
+ order_number?: string | null;
3802
+ paid_at?: string | null;
3803
+ payment_status?: string;
3804
+ raw?: import("./types").Json | null;
3805
+ receivable_synced_at?: string | null;
3806
+ status_code?: number | null;
3807
+ updated_at?: string;
3808
+ };
3809
+ Update: {
3810
+ account_key?: string;
3811
+ amount_excl?: number | null;
3812
+ amount_incl?: number | null;
3813
+ amount_open?: number | null;
3814
+ created_at?: string;
3815
+ currency?: string | null;
3816
+ customer_code?: string | null;
3817
+ customer_exact_id?: string | null;
3818
+ customer_name?: string | null;
3819
+ description?: string | null;
3820
+ division_code?: number | null;
3821
+ due_date?: string | null;
3822
+ environment?: Database["public"]["Enums"]["exact_env"];
3823
+ exact_id?: string;
3824
+ exact_modified?: string | null;
3825
+ exact_timestamp?: number | null;
3826
+ id?: string;
3827
+ invoice_date?: string | null;
3828
+ invoice_number?: string | null;
3829
+ order_number?: string | null;
3830
+ paid_at?: string | null;
3831
+ payment_status?: string;
3832
+ raw?: import("./types").Json | null;
3833
+ receivable_synced_at?: string | null;
3834
+ status_code?: number | null;
3835
+ updated_at?: string;
3836
+ };
3837
+ Relationships: [];
3838
+ };
3839
+ exact_auth_items: {
3840
+ Row: {
3841
+ account_key: string;
3842
+ barcode: string | null;
3843
+ code: string | null;
3844
+ cost_price: number | null;
3845
+ created_at: string;
3846
+ description: string | null;
3847
+ division_code: number | null;
3848
+ environment: Database["public"]["Enums"]["exact_env"];
3849
+ exact_id: string;
3850
+ exact_modified: string | null;
3851
+ exact_timestamp: number | null;
3852
+ gl_account_code: string | null;
3853
+ id: string;
3854
+ is_active: boolean;
3855
+ is_sales_item: boolean | null;
3856
+ item_type: string | null;
3857
+ raw: import("./types").Json | null;
3858
+ sales_price: number | null;
3859
+ unit: string | null;
3860
+ updated_at: string;
3861
+ vat_code: string | null;
3862
+ };
3863
+ Insert: {
3864
+ account_key?: string;
3865
+ barcode?: string | null;
3866
+ code?: string | null;
3867
+ cost_price?: number | null;
3868
+ created_at?: string;
3869
+ description?: string | null;
3870
+ division_code?: number | null;
3871
+ environment: Database["public"]["Enums"]["exact_env"];
3872
+ exact_id: string;
3873
+ exact_modified?: string | null;
3874
+ exact_timestamp?: number | null;
3875
+ gl_account_code?: string | null;
3876
+ id?: string;
3877
+ is_active?: boolean;
3878
+ is_sales_item?: boolean | null;
3879
+ item_type?: string | null;
3880
+ raw?: import("./types").Json | null;
3881
+ sales_price?: number | null;
3882
+ unit?: string | null;
3883
+ updated_at?: string;
3884
+ vat_code?: string | null;
3885
+ };
3886
+ Update: {
3887
+ account_key?: string;
3888
+ barcode?: string | null;
3889
+ code?: string | null;
3890
+ cost_price?: number | null;
3891
+ created_at?: string;
3892
+ description?: string | null;
3893
+ division_code?: number | null;
3894
+ environment?: Database["public"]["Enums"]["exact_env"];
3895
+ exact_id?: string;
3896
+ exact_modified?: string | null;
3897
+ exact_timestamp?: number | null;
3898
+ gl_account_code?: string | null;
3899
+ id?: string;
3900
+ is_active?: boolean;
3901
+ is_sales_item?: boolean | null;
3902
+ item_type?: string | null;
3903
+ raw?: import("./types").Json | null;
3904
+ sales_price?: number | null;
3905
+ unit?: string | null;
3906
+ updated_at?: string;
3907
+ vat_code?: string | null;
3908
+ };
3909
+ Relationships: [];
3910
+ };
3911
+ exact_auth_sync_log: {
3912
+ Row: {
3913
+ account_key: string;
3914
+ calls_used: number;
3915
+ created_at: string;
3916
+ domain: string;
3917
+ environment: Database["public"]["Enums"]["exact_env"];
3918
+ error: string | null;
3919
+ finished_at: string | null;
3920
+ id: string;
3921
+ ok: boolean;
3922
+ records: number;
3923
+ started_at: string;
3924
+ };
3925
+ Insert: {
3926
+ account_key?: string;
3927
+ calls_used?: number;
3928
+ created_at?: string;
3929
+ domain: string;
3930
+ environment: 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
+ Update: {
3939
+ account_key?: string;
3940
+ calls_used?: number;
3941
+ created_at?: string;
3942
+ domain?: string;
3943
+ environment?: 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
+ Relationships: [];
3952
+ };
3953
+ exact_auth_sync_state: {
3954
+ Row: {
3955
+ account_key: string;
3956
+ created_at: string;
3957
+ cursor_timestamp: number;
3958
+ division_code: number | null;
3959
+ domain: string;
3960
+ duration_ms: number | null;
3961
+ environment: Database["public"]["Enums"]["exact_env"];
3962
+ initial_sync_done: boolean;
3963
+ last_error: string | null;
3964
+ last_run_at: string | null;
3965
+ last_success_at: string | null;
3966
+ locked_at: string | null;
3967
+ needs_initial_sync: boolean;
3968
+ record_count: number;
3969
+ updated_at: string;
3970
+ };
3971
+ Insert: {
3972
+ account_key?: string;
3973
+ created_at?: string;
3974
+ cursor_timestamp?: number;
3975
+ division_code?: number | null;
3976
+ domain: string;
3977
+ duration_ms?: number | null;
3978
+ environment: Database["public"]["Enums"]["exact_env"];
3979
+ initial_sync_done?: boolean;
3980
+ last_error?: string | null;
3981
+ last_run_at?: string | null;
3982
+ last_success_at?: string | null;
3983
+ locked_at?: string | null;
3984
+ needs_initial_sync?: boolean;
3985
+ record_count?: number;
3986
+ updated_at?: string;
3987
+ };
3988
+ Update: {
3989
+ account_key?: string;
3990
+ created_at?: string;
3991
+ cursor_timestamp?: number;
3992
+ division_code?: number | null;
3993
+ domain?: string;
3994
+ duration_ms?: number | null;
3995
+ environment?: Database["public"]["Enums"]["exact_env"];
3996
+ initial_sync_done?: boolean;
3997
+ last_error?: string | null;
3998
+ last_run_at?: string | null;
3999
+ last_success_at?: string | null;
4000
+ locked_at?: string | null;
4001
+ needs_initial_sync?: boolean;
4002
+ record_count?: number;
4003
+ updated_at?: string;
4004
+ };
4005
+ Relationships: [];
4006
+ };
3572
4007
  exact_bulk_operation_items: {
3573
4008
  Row: {
3574
4009
  attempts: number;
@@ -5260,12 +5695,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
5260
5695
  attempts: number;
5261
5696
  connection_id: string;
5262
5697
  created_at: string;
5698
+ desired_available: boolean | null;
5263
5699
  gateway_attempt_id: string | null;
5264
5700
  id: string;
5265
5701
  last_error: string | null;
5702
+ locked_at: string | null;
5703
+ locked_by: string | null;
5704
+ next_attempt_at: string;
5266
5705
  number_of_pieces: number;
5267
5706
  sent_at: string | null;
5268
5707
  status: string;
5708
+ superseded_by: string | null;
5269
5709
  trade_item_id: string;
5270
5710
  updated_at: string;
5271
5711
  user_id: string;
@@ -5274,12 +5714,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
5274
5714
  attempts?: number;
5275
5715
  connection_id: string;
5276
5716
  created_at?: string;
5717
+ desired_available?: boolean | null;
5277
5718
  gateway_attempt_id?: string | null;
5278
5719
  id?: string;
5279
5720
  last_error?: string | null;
5721
+ locked_at?: string | null;
5722
+ locked_by?: string | null;
5723
+ next_attempt_at?: string;
5280
5724
  number_of_pieces?: number;
5281
5725
  sent_at?: string | null;
5282
5726
  status?: string;
5727
+ superseded_by?: string | null;
5283
5728
  trade_item_id: string;
5284
5729
  updated_at?: string;
5285
5730
  user_id: string;
@@ -5288,12 +5733,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
5288
5733
  attempts?: number;
5289
5734
  connection_id?: string;
5290
5735
  created_at?: string;
5736
+ desired_available?: boolean | null;
5291
5737
  gateway_attempt_id?: string | null;
5292
5738
  id?: string;
5293
5739
  last_error?: string | null;
5740
+ locked_at?: string | null;
5741
+ locked_by?: string | null;
5742
+ next_attempt_at?: string;
5294
5743
  number_of_pieces?: number;
5295
5744
  sent_at?: string | null;
5296
5745
  status?: string;
5746
+ superseded_by?: string | null;
5297
5747
  trade_item_id?: string;
5298
5748
  updated_at?: string;
5299
5749
  user_id?: string;
@@ -8042,6 +8492,69 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8042
8492
  };
8043
8493
  Relationships: [];
8044
8494
  };
8495
+ logistics_floriday_pushes: {
8496
+ Row: {
8497
+ attempts: number;
8498
+ created_at: string;
8499
+ first_queued_at: string;
8500
+ fulfillment_order_id: string | null;
8501
+ id: string;
8502
+ last_error: string | null;
8503
+ last_error_at: string | null;
8504
+ last_sent_hash: string | null;
8505
+ locked_by: string | null;
8506
+ locked_until: string | null;
8507
+ next_attempt_at: string;
8508
+ order_ref: string;
8509
+ payload: import("./types").Json;
8510
+ payload_hash: string | null;
8511
+ revision: number;
8512
+ sent_at: string | null;
8513
+ status: string;
8514
+ updated_at: string;
8515
+ };
8516
+ Insert: {
8517
+ attempts?: number;
8518
+ created_at?: string;
8519
+ first_queued_at?: string;
8520
+ fulfillment_order_id?: string | null;
8521
+ id?: string;
8522
+ last_error?: string | null;
8523
+ last_error_at?: string | null;
8524
+ last_sent_hash?: string | null;
8525
+ locked_by?: string | null;
8526
+ locked_until?: string | null;
8527
+ next_attempt_at?: string;
8528
+ order_ref: string;
8529
+ payload?: import("./types").Json;
8530
+ payload_hash?: string | null;
8531
+ revision?: number;
8532
+ sent_at?: string | null;
8533
+ status?: string;
8534
+ updated_at?: string;
8535
+ };
8536
+ Update: {
8537
+ attempts?: number;
8538
+ created_at?: string;
8539
+ first_queued_at?: string;
8540
+ fulfillment_order_id?: string | null;
8541
+ id?: string;
8542
+ last_error?: string | null;
8543
+ last_error_at?: string | null;
8544
+ last_sent_hash?: string | null;
8545
+ locked_by?: string | null;
8546
+ locked_until?: string | null;
8547
+ next_attempt_at?: string;
8548
+ order_ref?: string;
8549
+ payload?: import("./types").Json;
8550
+ payload_hash?: string | null;
8551
+ revision?: number;
8552
+ sent_at?: string | null;
8553
+ status?: string;
8554
+ updated_at?: string;
8555
+ };
8556
+ Relationships: [];
8557
+ };
8045
8558
  logistics_formulas: {
8046
8559
  Row: {
8047
8560
  created_at: string;
@@ -8653,6 +9166,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8653
9166
  };
8654
9167
  logistics_tasks: {
8655
9168
  Row: {
9169
+ attempt_log: import("./types").Json;
9170
+ attempts: number;
8656
9171
  buffer_ref: string | null;
8657
9172
  claimed_at: string | null;
8658
9173
  claimed_by: string | null;
@@ -8662,6 +9177,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8662
9177
  due_at: string | null;
8663
9178
  error: string | null;
8664
9179
  id: string;
9180
+ last_error: string | null;
9181
+ next_attempt_at: string | null;
8665
9182
  order_ref: string;
8666
9183
  owner_module: string;
8667
9184
  payload: import("./types").Json;
@@ -8682,6 +9199,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8682
9199
  user_id: string;
8683
9200
  };
8684
9201
  Insert: {
9202
+ attempt_log?: import("./types").Json;
9203
+ attempts?: number;
8685
9204
  buffer_ref?: string | null;
8686
9205
  claimed_at?: string | null;
8687
9206
  claimed_by?: string | null;
@@ -8691,6 +9210,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8691
9210
  due_at?: string | null;
8692
9211
  error?: string | null;
8693
9212
  id?: string;
9213
+ last_error?: string | null;
9214
+ next_attempt_at?: string | null;
8694
9215
  order_ref: string;
8695
9216
  owner_module: string;
8696
9217
  payload?: import("./types").Json;
@@ -8711,6 +9232,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8711
9232
  user_id?: string;
8712
9233
  };
8713
9234
  Update: {
9235
+ attempt_log?: import("./types").Json;
9236
+ attempts?: number;
8714
9237
  buffer_ref?: string | null;
8715
9238
  claimed_at?: string | null;
8716
9239
  claimed_by?: string | null;
@@ -8720,6 +9243,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8720
9243
  due_at?: string | null;
8721
9244
  error?: string | null;
8722
9245
  id?: string;
9246
+ last_error?: string | null;
9247
+ next_attempt_at?: string | null;
8723
9248
  order_ref?: string;
8724
9249
  owner_module?: string;
8725
9250
  payload?: import("./types").Json;
@@ -10069,6 +10594,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10069
10594
  };
10070
10595
  offer_settings: {
10071
10596
  Row: {
10597
+ brand_name: string | null;
10072
10598
  button_color: string;
10073
10599
  created_at: string;
10074
10600
  default_countries: string[];
@@ -10090,6 +10616,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10090
10616
  updated_at: string;
10091
10617
  };
10092
10618
  Insert: {
10619
+ brand_name?: string | null;
10093
10620
  button_color?: string;
10094
10621
  created_at?: string;
10095
10622
  default_countries?: string[];
@@ -10111,6 +10638,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10111
10638
  updated_at?: string;
10112
10639
  };
10113
10640
  Update: {
10641
+ brand_name?: string | null;
10114
10642
  button_color?: string;
10115
10643
  created_at?: string;
10116
10644
  default_countries?: string[];
@@ -11829,22 +12357,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
11829
12357
  created_at: string;
11830
12358
  documentnaam: string;
11831
12359
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
12360
+ extern_job_id: string | null;
11832
12361
  foutmelding: string | null;
11833
12362
  gebruiker_id: string | null;
11834
12363
  gebruiker_naam: string;
11835
12364
  gestart_op: string | null;
11836
12365
  id: string;
12366
+ idempotentie_sleutel: string | null;
11837
12367
  is_herprint: boolean;
11838
12368
  kopieen: number;
11839
12369
  layout_id: string | null;
11840
12370
  opgepakt_op: string | null;
11841
12371
  paginas: number;
11842
12372
  payload: import("./types").Json;
12373
+ pdf_base64: string | null;
12374
+ pdf_url: string | null;
11843
12375
  pogingen: number;
11844
12376
  printer_id: string | null;
11845
12377
  render_html: string | null;
11846
12378
  status: Database["public"]["Enums"]["print_job_status"];
11847
12379
  updated_at: string;
12380
+ volgende_poging: string | null;
11848
12381
  voltooid_op: string | null;
11849
12382
  };
11850
12383
  Insert: {
@@ -11853,22 +12386,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
11853
12386
  created_at?: string;
11854
12387
  documentnaam?: string;
11855
12388
  documenttype?: Database["public"]["Enums"]["doc_layout_type"];
12389
+ extern_job_id?: string | null;
11856
12390
  foutmelding?: string | null;
11857
12391
  gebruiker_id?: string | null;
11858
12392
  gebruiker_naam?: string;
11859
12393
  gestart_op?: string | null;
11860
12394
  id?: string;
12395
+ idempotentie_sleutel?: string | null;
11861
12396
  is_herprint?: boolean;
11862
12397
  kopieen?: number;
11863
12398
  layout_id?: string | null;
11864
12399
  opgepakt_op?: string | null;
11865
12400
  paginas?: number;
11866
12401
  payload?: import("./types").Json;
12402
+ pdf_base64?: string | null;
12403
+ pdf_url?: string | null;
11867
12404
  pogingen?: number;
11868
12405
  printer_id?: string | null;
11869
12406
  render_html?: string | null;
11870
12407
  status?: Database["public"]["Enums"]["print_job_status"];
11871
12408
  updated_at?: string;
12409
+ volgende_poging?: string | null;
11872
12410
  voltooid_op?: string | null;
11873
12411
  };
11874
12412
  Update: {
@@ -11877,43 +12415,99 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
11877
12415
  created_at?: string;
11878
12416
  documentnaam?: string;
11879
12417
  documenttype?: Database["public"]["Enums"]["doc_layout_type"];
12418
+ extern_job_id?: string | null;
11880
12419
  foutmelding?: string | null;
11881
12420
  gebruiker_id?: string | null;
11882
12421
  gebruiker_naam?: string;
11883
12422
  gestart_op?: string | null;
11884
12423
  id?: string;
11885
- is_herprint?: boolean;
11886
- kopieen?: number;
11887
- layout_id?: string | null;
11888
- opgepakt_op?: string | null;
11889
- paginas?: number;
11890
- payload?: import("./types").Json;
11891
- pogingen?: number;
11892
- printer_id?: string | null;
11893
- render_html?: string | null;
11894
- status?: Database["public"]["Enums"]["print_job_status"];
12424
+ idempotentie_sleutel?: string | null;
12425
+ is_herprint?: boolean;
12426
+ kopieen?: number;
12427
+ layout_id?: string | null;
12428
+ opgepakt_op?: string | null;
12429
+ paginas?: number;
12430
+ payload?: import("./types").Json;
12431
+ pdf_base64?: string | null;
12432
+ pdf_url?: string | null;
12433
+ pogingen?: number;
12434
+ printer_id?: string | null;
12435
+ render_html?: string | null;
12436
+ status?: Database["public"]["Enums"]["print_job_status"];
12437
+ updated_at?: string;
12438
+ volgende_poging?: string | null;
12439
+ voltooid_op?: string | null;
12440
+ };
12441
+ Relationships: [{
12442
+ foreignKeyName: "print_jobs_agent_id_fkey";
12443
+ columns: ["agent_id"];
12444
+ isOneToOne: false;
12445
+ referencedRelation: "print_agents";
12446
+ referencedColumns: ["id"];
12447
+ }, {
12448
+ foreignKeyName: "print_jobs_layout_id_fkey";
12449
+ columns: ["layout_id"];
12450
+ isOneToOne: false;
12451
+ referencedRelation: "document_layouts";
12452
+ referencedColumns: ["id"];
12453
+ }, {
12454
+ foreignKeyName: "print_jobs_printer_id_fkey";
12455
+ columns: ["printer_id"];
12456
+ isOneToOne: false;
12457
+ referencedRelation: "printers";
12458
+ referencedColumns: ["id"];
12459
+ }];
12460
+ };
12461
+ print_queue_runners: {
12462
+ Row: {
12463
+ actief: boolean;
12464
+ basis_url: string;
12465
+ created_at: string;
12466
+ id: string;
12467
+ laatst_gezien: string;
12468
+ tick_sleutel: string;
12469
+ updated_at: string;
12470
+ };
12471
+ Insert: {
12472
+ actief?: boolean;
12473
+ basis_url: string;
12474
+ created_at?: string;
12475
+ id?: string;
12476
+ laatst_gezien?: string;
12477
+ tick_sleutel?: string;
12478
+ updated_at?: string;
12479
+ };
12480
+ Update: {
12481
+ actief?: boolean;
12482
+ basis_url?: string;
12483
+ created_at?: string;
12484
+ id?: string;
12485
+ laatst_gezien?: string;
12486
+ tick_sleutel?: string;
12487
+ updated_at?: string;
12488
+ };
12489
+ Relationships: [];
12490
+ };
12491
+ print_queue_settings: {
12492
+ Row: {
12493
+ created_at: string;
12494
+ dubbel_venster_minuten: number;
12495
+ id: string;
12496
+ updated_at: string;
12497
+ };
12498
+ Insert: {
12499
+ created_at?: string;
12500
+ dubbel_venster_minuten?: number;
12501
+ id?: string;
12502
+ updated_at?: string;
12503
+ };
12504
+ Update: {
12505
+ created_at?: string;
12506
+ dubbel_venster_minuten?: number;
12507
+ id?: string;
11895
12508
  updated_at?: string;
11896
- voltooid_op?: string | null;
11897
12509
  };
11898
- Relationships: [{
11899
- foreignKeyName: "print_jobs_agent_id_fkey";
11900
- columns: ["agent_id"];
11901
- isOneToOne: false;
11902
- referencedRelation: "print_agents";
11903
- referencedColumns: ["id"];
11904
- }, {
11905
- foreignKeyName: "print_jobs_layout_id_fkey";
11906
- columns: ["layout_id"];
11907
- isOneToOne: false;
11908
- referencedRelation: "document_layouts";
11909
- referencedColumns: ["id"];
11910
- }, {
11911
- foreignKeyName: "print_jobs_printer_id_fkey";
11912
- columns: ["printer_id"];
11913
- isOneToOne: false;
11914
- referencedRelation: "printers";
11915
- referencedColumns: ["id"];
11916
- }];
12510
+ Relationships: [];
11917
12511
  };
11918
12512
  print_rules: {
11919
12513
  Row: {
@@ -12075,6 +12669,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12075
12669
  agent_id: string | null;
12076
12670
  created_at: string;
12077
12671
  driver: string;
12672
+ extern_printer_id: string | null;
12078
12673
  id: string;
12079
12674
  ip_adres: string | null;
12080
12675
  laatst_gezien: string | null;
@@ -12096,6 +12691,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12096
12691
  agent_id?: string | null;
12097
12692
  created_at?: string;
12098
12693
  driver?: string;
12694
+ extern_printer_id?: string | null;
12099
12695
  id?: string;
12100
12696
  ip_adres?: string | null;
12101
12697
  laatst_gezien?: string | null;
@@ -12117,6 +12713,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12117
12713
  agent_id?: string | null;
12118
12714
  created_at?: string;
12119
12715
  driver?: string;
12716
+ extern_printer_id?: string | null;
12120
12717
  id?: string;
12121
12718
  ip_adres?: string | null;
12122
12719
  laatst_gezien?: string | null;
@@ -17721,6 +18318,125 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
17721
18318
  };
17722
18319
  Returns: import("./types").Json;
17723
18320
  };
18321
+ claim_cloud_print_jobs: {
18322
+ Args: {
18323
+ _max?: number;
18324
+ };
18325
+ Returns: {
18326
+ agent_id: string | null;
18327
+ bron_job_id: string | null;
18328
+ created_at: string;
18329
+ documentnaam: string;
18330
+ documenttype: Database["public"]["Enums"]["doc_layout_type"];
18331
+ extern_job_id: string | null;
18332
+ foutmelding: string | null;
18333
+ gebruiker_id: string | null;
18334
+ gebruiker_naam: string;
18335
+ gestart_op: string | null;
18336
+ id: string;
18337
+ idempotentie_sleutel: string | null;
18338
+ is_herprint: boolean;
18339
+ kopieen: number;
18340
+ layout_id: string | null;
18341
+ opgepakt_op: string | null;
18342
+ paginas: number;
18343
+ payload: import("./types").Json;
18344
+ pdf_base64: string | null;
18345
+ pdf_url: string | null;
18346
+ pogingen: number;
18347
+ printer_id: string | null;
18348
+ render_html: string | null;
18349
+ status: Database["public"]["Enums"]["print_job_status"];
18350
+ updated_at: string;
18351
+ volgende_poging: string | null;
18352
+ voltooid_op: string | null;
18353
+ }[];
18354
+ SetofOptions: {
18355
+ from: "*";
18356
+ to: "print_jobs";
18357
+ isOneToOne: false;
18358
+ isSetofReturn: true;
18359
+ };
18360
+ };
18361
+ claim_floriday_stock_queue: {
18362
+ Args: {
18363
+ p_limit?: number;
18364
+ p_worker?: string;
18365
+ };
18366
+ Returns: {
18367
+ attempts: number;
18368
+ connection_id: string;
18369
+ created_at: string;
18370
+ desired_available: boolean | null;
18371
+ gateway_attempt_id: string | null;
18372
+ id: string;
18373
+ last_error: string | null;
18374
+ locked_at: string | null;
18375
+ locked_by: string | null;
18376
+ next_attempt_at: string;
18377
+ number_of_pieces: number;
18378
+ sent_at: string | null;
18379
+ status: string;
18380
+ superseded_by: string | null;
18381
+ trade_item_id: string;
18382
+ updated_at: string;
18383
+ user_id: string;
18384
+ }[];
18385
+ SetofOptions: {
18386
+ from: "*";
18387
+ to: "floriday_continuous_stock_queue";
18388
+ isOneToOne: false;
18389
+ isSetofReturn: true;
18390
+ };
18391
+ };
18392
+ claim_logistics_tasks: {
18393
+ Args: {
18394
+ _limit?: number;
18395
+ _owner_module: string;
18396
+ _stale_minutes?: number;
18397
+ _task_type: string;
18398
+ _worker: string;
18399
+ };
18400
+ Returns: {
18401
+ attempt_log: import("./types").Json;
18402
+ attempts: number;
18403
+ buffer_ref: string | null;
18404
+ claimed_at: string | null;
18405
+ claimed_by: string | null;
18406
+ completed_at: string | null;
18407
+ created_at: string;
18408
+ depends_on: string[];
18409
+ due_at: string | null;
18410
+ error: string | null;
18411
+ id: string;
18412
+ last_error: string | null;
18413
+ next_attempt_at: string | null;
18414
+ order_ref: string;
18415
+ owner_module: string;
18416
+ payload: import("./types").Json;
18417
+ plan_run_id: string | null;
18418
+ planned_end: string | null;
18419
+ planned_start: string | null;
18420
+ priority: number;
18421
+ result: import("./types").Json | null;
18422
+ rule_config_id: string | null;
18423
+ rule_version: number | null;
18424
+ sequence: number;
18425
+ shadow: boolean;
18426
+ started_at: string | null;
18427
+ status: string;
18428
+ strategy_id: string | null;
18429
+ task_type: string;
18430
+ updated_at: string;
18431
+ user_id: string;
18432
+ }[];
18433
+ SetofOptions: {
18434
+ from: "*";
18435
+ to: "logistics_tasks";
18436
+ isOneToOne: false;
18437
+ isSetofReturn: true;
18438
+ };
18439
+ };
17724
18440
  claim_print_jobs: {
17725
18441
  Args: {
17726
18442
  _agent_id: string;
@@ -17732,22 +18448,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
17732
18448
  created_at: string;
17733
18449
  documentnaam: string;
17734
18450
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
18451
+ extern_job_id: string | null;
17735
18452
  foutmelding: string | null;
17736
18453
  gebruiker_id: string | null;
17737
18454
  gebruiker_naam: string;
17738
18455
  gestart_op: string | null;
17739
18456
  id: string;
18457
+ idempotentie_sleutel: string | null;
17740
18458
  is_herprint: boolean;
17741
18459
  kopieen: number;
17742
18460
  layout_id: string | null;
17743
18461
  opgepakt_op: string | null;
17744
18462
  paginas: number;
17745
18463
  payload: import("./types").Json;
18464
+ pdf_base64: string | null;
18465
+ pdf_url: string | null;
17746
18466
  pogingen: number;
17747
18467
  printer_id: string | null;
17748
18468
  render_html: string | null;
17749
18469
  status: Database["public"]["Enums"]["print_job_status"];
17750
18470
  updated_at: string;
18471
+ volgende_poging: string | null;
17751
18472
  voltooid_op: string | null;
17752
18473
  }[];
17753
18474
  SetofOptions: {
@@ -17785,10 +18506,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
17785
18506
  isSetofReturn: true;
17786
18507
  };
17787
18508
  };
18509
+ cleanup_floriday_stock_queue: {
18510
+ Args: never;
18511
+ Returns: undefined;
18512
+ };
17788
18513
  cleanup_old_bookings: {
17789
18514
  Args: never;
17790
18515
  Returns: undefined;
17791
18516
  };
18517
+ complete_floriday_stock_queue: {
18518
+ Args: {
18519
+ p_attempt_id?: string;
18520
+ p_error?: string;
18521
+ p_id: string;
18522
+ p_ok: boolean;
18523
+ p_permanent?: boolean;
18524
+ };
18525
+ Returns: undefined;
18526
+ };
17792
18527
  consume_bom_for_production: {
17793
18528
  Args: {
17794
18529
  p_connection_id: string;
@@ -17961,6 +18696,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
17961
18696
  Args: never;
17962
18697
  Returns: string;
17963
18698
  };
18699
+ exact_auth_consume_calls: {
18700
+ Args: {
18701
+ _account_key: string;
18702
+ _calls?: number;
18703
+ _day_limit?: number;
18704
+ _division_code: number;
18705
+ _environment: string;
18706
+ _minute_limit?: number;
18707
+ };
18708
+ Returns: import("./types").Json;
18709
+ };
18710
+ exact_auth_prune_sync_log: {
18711
+ Args: never;
18712
+ Returns: undefined;
18713
+ };
17964
18714
  exact_decrypt: {
17965
18715
  Args: {
17966
18716
  cipher: string;
@@ -18170,6 +18920,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18170
18920
  };
18171
18921
  Returns: number;
18172
18922
  };
18923
+ get_offer_branding: {
18924
+ Args: never;
18925
+ Returns: import("./types").Json;
18926
+ };
18173
18927
  get_offer_by_link_code: {
18174
18928
  Args: {
18175
18929
  p_code: string;
@@ -18461,6 +19215,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18461
19215
  p_worker?: string;
18462
19216
  };
18463
19217
  Returns: {
19218
+ attempt_log: import("./types").Json;
19219
+ attempts: number;
18464
19220
  buffer_ref: string | null;
18465
19221
  claimed_at: string | null;
18466
19222
  claimed_by: string | null;
@@ -18470,6 +19226,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18470
19226
  due_at: string | null;
18471
19227
  error: string | null;
18472
19228
  id: string;
19229
+ last_error: string | null;
19230
+ next_attempt_at: string | null;
18473
19231
  order_ref: string;
18474
19232
  owner_module: string;
18475
19233
  payload: import("./types").Json;
@@ -18502,6 +19260,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18502
19260
  p_worker?: string;
18503
19261
  };
18504
19262
  Returns: {
19263
+ attempt_log: import("./types").Json;
19264
+ attempts: number;
18505
19265
  buffer_ref: string | null;
18506
19266
  claimed_at: string | null;
18507
19267
  claimed_by: string | null;
@@ -18511,6 +19271,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18511
19271
  due_at: string | null;
18512
19272
  error: string | null;
18513
19273
  id: string;
19274
+ last_error: string | null;
19275
+ next_attempt_at: string | null;
18514
19276
  order_ref: string;
18515
19277
  owner_module: string;
18516
19278
  payload: import("./types").Json;
@@ -18543,6 +19305,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18543
19305
  p_task_id: string;
18544
19306
  };
18545
19307
  Returns: {
19308
+ attempt_log: import("./types").Json;
19309
+ attempts: number;
18546
19310
  buffer_ref: string | null;
18547
19311
  claimed_at: string | null;
18548
19312
  claimed_by: string | null;
@@ -18552,6 +19316,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18552
19316
  due_at: string | null;
18553
19317
  error: string | null;
18554
19318
  id: string;
19319
+ last_error: string | null;
19320
+ next_attempt_at: string | null;
18555
19321
  order_ref: string;
18556
19322
  owner_module: string;
18557
19323
  payload: import("./types").Json;
@@ -18633,6 +19399,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18633
19399
  p_task_id: string;
18634
19400
  };
18635
19401
  Returns: {
19402
+ attempt_log: import("./types").Json;
19403
+ attempts: number;
18636
19404
  buffer_ref: string | null;
18637
19405
  claimed_at: string | null;
18638
19406
  claimed_by: string | null;
@@ -18642,6 +19410,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18642
19410
  due_at: string | null;
18643
19411
  error: string | null;
18644
19412
  id: string;
19413
+ last_error: string | null;
19414
+ next_attempt_at: string | null;
18645
19415
  order_ref: string;
18646
19416
  owner_module: string;
18647
19417
  payload: import("./types").Json;
@@ -18668,6 +19438,51 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18668
19438
  isSetofReturn: false;
18669
19439
  };
18670
19440
  };
19441
+ logistics_floriday_claim_pushes: {
19442
+ Args: {
19443
+ _lease_seconds?: number;
19444
+ _limit?: number;
19445
+ _worker?: string;
19446
+ };
19447
+ Returns: {
19448
+ attempts: number;
19449
+ fulfillment_order_id: string;
19450
+ id: string;
19451
+ last_sent_hash: string;
19452
+ order_ref: string;
19453
+ payload: import("./types").Json;
19454
+ payload_hash: string;
19455
+ revision: number;
19456
+ }[];
19457
+ };
19458
+ logistics_floriday_finish_push: {
19459
+ Args: {
19460
+ _error?: string;
19461
+ _fulfillment_order_id?: string;
19462
+ _id: string;
19463
+ _max_age_hours?: number;
19464
+ _max_attempts?: number;
19465
+ _ok: boolean;
19466
+ _permanent?: boolean;
19467
+ _revision: number;
19468
+ _sent_hash?: string;
19469
+ };
19470
+ Returns: string;
19471
+ };
19472
+ logistics_floriday_prune_pushes: {
19473
+ Args: {
19474
+ _days?: number;
19475
+ };
19476
+ Returns: number;
19477
+ };
19478
+ logistics_floriday_queue_push: {
19479
+ Args: {
19480
+ _order_ref: string;
19481
+ _payload?: import("./types").Json;
19482
+ _payload_hash?: string;
19483
+ };
19484
+ Returns: string;
19485
+ };
18671
19486
  logistics_live_carriers: {
18672
19487
  Args: {
18673
19488
  p_order_ref: string;
@@ -19015,6 +19830,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19015
19830
  };
19016
19831
  Returns: string;
19017
19832
  };
19833
+ pick_active_printers: {
19834
+ Args: never;
19835
+ Returns: {
19836
+ id: string;
19837
+ locatie: string;
19838
+ naam: string;
19839
+ online: boolean;
19840
+ }[];
19841
+ };
19018
19842
  pick_claim_document: {
19019
19843
  Args: {
19020
19844
  _queue_item_id: string;
@@ -19201,6 +20025,52 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19201
20025
  };
19202
20026
  Returns: undefined;
19203
20027
  };
20028
+ pick_reset_print: {
20029
+ Args: {
20030
+ _queue_item_id: string;
20031
+ _session_id: string;
20032
+ };
20033
+ Returns: {
20034
+ announced_at: string;
20035
+ assigned_user_id: string | null;
20036
+ barcode: string | null;
20037
+ cancelled_at: string | null;
20038
+ cart_count: number;
20039
+ completed_at: string | null;
20040
+ country_code: string | null;
20041
+ created_at: string;
20042
+ customer_name: string | null;
20043
+ delivery_address: string | null;
20044
+ document_number: string | null;
20045
+ document_type_id: string | null;
20046
+ due_at: string | null;
20047
+ id: string;
20048
+ is_urgent: boolean;
20049
+ line_count: number;
20050
+ order_number: string | null;
20051
+ order_type: string | null;
20052
+ payload: import("./types").Json;
20053
+ print_count: number;
20054
+ print_job_id: string | null;
20055
+ printed_at: string | null;
20056
+ printed_by: string | null;
20057
+ printer_id: string | null;
20058
+ priority: number;
20059
+ reference: string | null;
20060
+ route: string | null;
20061
+ screen_id: string | null;
20062
+ station_id: string | null;
20063
+ status_id: string | null;
20064
+ updated_at: string;
20065
+ warnings: import("./types").Json;
20066
+ };
20067
+ SetofOptions: {
20068
+ from: "*";
20069
+ to: "pick_queue";
20070
+ isOneToOne: true;
20071
+ isSetofReturn: false;
20072
+ };
20073
+ };
19204
20074
  pick_station_dashboard: {
19205
20075
  Args: never;
19206
20076
  Returns: {
@@ -19391,10 +20261,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19391
20261
  };
19392
20262
  Returns: import("./types").Json;
19393
20263
  };
20264
+ ruim_print_jobs_op: {
20265
+ Args: {
20266
+ _bewaar_dagen?: number;
20267
+ };
20268
+ Returns: number;
20269
+ };
19394
20270
  run_floriday_continuous_stock_sync: {
19395
20271
  Args: never;
19396
20272
  Returns: undefined;
19397
20273
  };
20274
+ run_logistics_tasks_dispatch: {
20275
+ Args: never;
20276
+ Returns: undefined;
20277
+ };
20278
+ run_print_queue_ticks: {
20279
+ Args: never;
20280
+ Returns: number;
20281
+ };
19398
20282
  run_twinfield_queue_tick: {
19399
20283
  Args: never;
19400
20284
  Returns: undefined;
@@ -19635,6 +20519,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19635
20519
  };
19636
20520
  Returns: number;
19637
20521
  };
20522
+ schedule_floriday_stock_queue_process: {
20523
+ Args: {
20524
+ p_apikey: string;
20525
+ p_url: string;
20526
+ };
20527
+ Returns: number;
20528
+ };
19638
20529
  schedule_floriday_token_refresh: {
19639
20530
  Args: {
19640
20531
  p_apikey: string;
@@ -19824,7 +20715,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19824
20715
  };
19825
20716
  Enums: {
19826
20717
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
19827
- app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
20718
+ app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
19828
20719
  doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
19829
20720
  doc_orientation: "portrait" | "landscape";
19830
20721
  exact_env: "staging" | "live";