@flowselections/floriday-afhandeling-module 1.0.28 → 1.0.30

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.
@@ -3559,6 +3559,474 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
3559
3559
  referencedColumns: ["id"];
3560
3560
  }];
3561
3561
  };
3562
+ exact_auth_call_budget: {
3563
+ Row: {
3564
+ account_key: string;
3565
+ day_count: number;
3566
+ day_date: string;
3567
+ division_code: number;
3568
+ environment: string;
3569
+ minute_count: number;
3570
+ minute_window: string;
3571
+ updated_at: string;
3572
+ };
3573
+ Insert: {
3574
+ account_key?: string;
3575
+ day_count?: number;
3576
+ day_date?: string;
3577
+ division_code?: number;
3578
+ environment: string;
3579
+ minute_count?: number;
3580
+ minute_window?: string;
3581
+ updated_at?: string;
3582
+ };
3583
+ Update: {
3584
+ account_key?: string;
3585
+ day_count?: number;
3586
+ day_date?: string;
3587
+ division_code?: number;
3588
+ environment?: string;
3589
+ minute_count?: number;
3590
+ minute_window?: string;
3591
+ updated_at?: string;
3592
+ };
3593
+ Relationships: [];
3594
+ };
3595
+ exact_auth_customers: {
3596
+ Row: {
3597
+ account_key: string;
3598
+ address_line1: string | null;
3599
+ chamber_of_commerce: string | null;
3600
+ city: string | null;
3601
+ code: string | null;
3602
+ country: string | null;
3603
+ created_at: string;
3604
+ currency: string | null;
3605
+ division_code: number | null;
3606
+ email: string | null;
3607
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3608
+ exact_id: string;
3609
+ exact_modified: string | null;
3610
+ exact_timestamp: number | null;
3611
+ id: string;
3612
+ is_active: boolean;
3613
+ name: string | null;
3614
+ phone: string | null;
3615
+ postcode: string | null;
3616
+ raw: import("../integrations/supabase/types").Json | null;
3617
+ status: string | null;
3618
+ updated_at: string;
3619
+ vat_number: string | null;
3620
+ website: string | null;
3621
+ };
3622
+ Insert: {
3623
+ account_key?: string;
3624
+ address_line1?: string | null;
3625
+ chamber_of_commerce?: string | null;
3626
+ city?: string | null;
3627
+ code?: string | null;
3628
+ country?: string | null;
3629
+ created_at?: string;
3630
+ currency?: string | null;
3631
+ division_code?: number | null;
3632
+ email?: string | null;
3633
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3634
+ exact_id: string;
3635
+ exact_modified?: string | null;
3636
+ exact_timestamp?: number | null;
3637
+ id?: string;
3638
+ is_active?: boolean;
3639
+ name?: string | null;
3640
+ phone?: string | null;
3641
+ postcode?: string | null;
3642
+ raw?: import("../integrations/supabase/types").Json | null;
3643
+ status?: string | null;
3644
+ updated_at?: string;
3645
+ vat_number?: string | null;
3646
+ website?: string | null;
3647
+ };
3648
+ Update: {
3649
+ account_key?: string;
3650
+ address_line1?: string | null;
3651
+ chamber_of_commerce?: string | null;
3652
+ city?: string | null;
3653
+ code?: string | null;
3654
+ country?: string | null;
3655
+ created_at?: string;
3656
+ currency?: string | null;
3657
+ division_code?: number | null;
3658
+ email?: string | null;
3659
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3660
+ exact_id?: string;
3661
+ exact_modified?: string | null;
3662
+ exact_timestamp?: number | null;
3663
+ id?: string;
3664
+ is_active?: boolean;
3665
+ name?: string | null;
3666
+ phone?: string | null;
3667
+ postcode?: string | null;
3668
+ raw?: import("../integrations/supabase/types").Json | null;
3669
+ status?: string | null;
3670
+ updated_at?: string;
3671
+ vat_number?: string | null;
3672
+ website?: string | null;
3673
+ };
3674
+ Relationships: [];
3675
+ };
3676
+ exact_auth_divisions: {
3677
+ Row: {
3678
+ account_key: string;
3679
+ company_name: string | null;
3680
+ created_at: string;
3681
+ division_code: number | null;
3682
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3683
+ id: string;
3684
+ last_synced_at: string | null;
3685
+ updated_at: string;
3686
+ };
3687
+ Insert: {
3688
+ account_key?: string;
3689
+ company_name?: string | null;
3690
+ created_at?: string;
3691
+ division_code?: number | null;
3692
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3693
+ id?: string;
3694
+ last_synced_at?: string | null;
3695
+ updated_at?: string;
3696
+ };
3697
+ Update: {
3698
+ account_key?: string;
3699
+ company_name?: string | null;
3700
+ created_at?: string;
3701
+ division_code?: number | null;
3702
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3703
+ id?: string;
3704
+ last_synced_at?: string | null;
3705
+ updated_at?: string;
3706
+ };
3707
+ Relationships: [];
3708
+ };
3709
+ exact_auth_invoice_lines: {
3710
+ Row: {
3711
+ account_key: string;
3712
+ amount_excl: number | null;
3713
+ created_at: string;
3714
+ description: string | null;
3715
+ discount: number | null;
3716
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3717
+ exact_id: string;
3718
+ exact_timestamp: number | null;
3719
+ id: string;
3720
+ invoice_exact_id: string;
3721
+ item_code: string | null;
3722
+ item_exact_id: string | null;
3723
+ line_number: number | null;
3724
+ quantity: number | null;
3725
+ raw: import("../integrations/supabase/types").Json | null;
3726
+ unit_price: number | null;
3727
+ updated_at: string;
3728
+ vat_amount: number | null;
3729
+ vat_code: string | null;
3730
+ };
3731
+ Insert: {
3732
+ account_key?: string;
3733
+ amount_excl?: number | null;
3734
+ created_at?: string;
3735
+ description?: string | null;
3736
+ discount?: number | null;
3737
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3738
+ exact_id: string;
3739
+ exact_timestamp?: number | null;
3740
+ id?: string;
3741
+ invoice_exact_id: string;
3742
+ item_code?: string | null;
3743
+ item_exact_id?: string | null;
3744
+ line_number?: number | null;
3745
+ quantity?: number | null;
3746
+ raw?: import("../integrations/supabase/types").Json | null;
3747
+ unit_price?: number | null;
3748
+ updated_at?: string;
3749
+ vat_amount?: number | null;
3750
+ vat_code?: string | null;
3751
+ };
3752
+ Update: {
3753
+ account_key?: string;
3754
+ amount_excl?: number | null;
3755
+ created_at?: string;
3756
+ description?: string | null;
3757
+ discount?: number | null;
3758
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3759
+ exact_id?: string;
3760
+ exact_timestamp?: number | null;
3761
+ id?: string;
3762
+ invoice_exact_id?: string;
3763
+ item_code?: string | null;
3764
+ item_exact_id?: string | null;
3765
+ line_number?: number | null;
3766
+ quantity?: number | null;
3767
+ raw?: import("../integrations/supabase/types").Json | null;
3768
+ unit_price?: number | null;
3769
+ updated_at?: string;
3770
+ vat_amount?: number | null;
3771
+ vat_code?: string | null;
3772
+ };
3773
+ Relationships: [];
3774
+ };
3775
+ exact_auth_invoices: {
3776
+ Row: {
3777
+ account_key: string;
3778
+ amount_excl: number | null;
3779
+ amount_incl: number | null;
3780
+ amount_open: number | null;
3781
+ created_at: string;
3782
+ currency: string | null;
3783
+ customer_code: string | null;
3784
+ customer_exact_id: string | null;
3785
+ customer_name: string | null;
3786
+ description: string | null;
3787
+ division_code: number | null;
3788
+ due_date: string | null;
3789
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3790
+ exact_id: string;
3791
+ exact_modified: string | null;
3792
+ exact_timestamp: number | null;
3793
+ id: string;
3794
+ invoice_date: string | null;
3795
+ invoice_number: string | null;
3796
+ order_number: string | null;
3797
+ paid_at: string | null;
3798
+ payment_status: string;
3799
+ raw: import("../integrations/supabase/types").Json | null;
3800
+ receivable_synced_at: string | null;
3801
+ status_code: number | null;
3802
+ updated_at: string;
3803
+ };
3804
+ Insert: {
3805
+ account_key?: string;
3806
+ amount_excl?: number | null;
3807
+ amount_incl?: number | null;
3808
+ amount_open?: number | null;
3809
+ created_at?: string;
3810
+ currency?: string | null;
3811
+ customer_code?: string | null;
3812
+ customer_exact_id?: string | null;
3813
+ customer_name?: string | null;
3814
+ description?: string | null;
3815
+ division_code?: number | null;
3816
+ due_date?: string | null;
3817
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3818
+ exact_id: string;
3819
+ exact_modified?: string | null;
3820
+ exact_timestamp?: number | null;
3821
+ id?: string;
3822
+ invoice_date?: string | null;
3823
+ invoice_number?: string | null;
3824
+ order_number?: string | null;
3825
+ paid_at?: string | null;
3826
+ payment_status?: string;
3827
+ raw?: import("../integrations/supabase/types").Json | null;
3828
+ receivable_synced_at?: string | null;
3829
+ status_code?: number | null;
3830
+ updated_at?: string;
3831
+ };
3832
+ Update: {
3833
+ account_key?: string;
3834
+ amount_excl?: number | null;
3835
+ amount_incl?: number | null;
3836
+ amount_open?: number | null;
3837
+ created_at?: string;
3838
+ currency?: string | null;
3839
+ customer_code?: string | null;
3840
+ customer_exact_id?: string | null;
3841
+ customer_name?: string | null;
3842
+ description?: string | null;
3843
+ division_code?: number | null;
3844
+ due_date?: string | null;
3845
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3846
+ exact_id?: string;
3847
+ exact_modified?: string | null;
3848
+ exact_timestamp?: number | null;
3849
+ id?: string;
3850
+ invoice_date?: string | null;
3851
+ invoice_number?: string | null;
3852
+ order_number?: string | null;
3853
+ paid_at?: string | null;
3854
+ payment_status?: string;
3855
+ raw?: import("../integrations/supabase/types").Json | null;
3856
+ receivable_synced_at?: string | null;
3857
+ status_code?: number | null;
3858
+ updated_at?: string;
3859
+ };
3860
+ Relationships: [];
3861
+ };
3862
+ exact_auth_items: {
3863
+ Row: {
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: import("../integrations/supabase/types").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("../integrations/supabase/types").Json | null;
3881
+ sales_price: number | null;
3882
+ unit: string | null;
3883
+ updated_at: string;
3884
+ vat_code: string | null;
3885
+ };
3886
+ Insert: {
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: import("../integrations/supabase/types").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("../integrations/supabase/types").Json | null;
3904
+ sales_price?: number | null;
3905
+ unit?: string | null;
3906
+ updated_at?: string;
3907
+ vat_code?: string | null;
3908
+ };
3909
+ Update: {
3910
+ account_key?: string;
3911
+ barcode?: string | null;
3912
+ code?: string | null;
3913
+ cost_price?: number | null;
3914
+ created_at?: string;
3915
+ description?: string | null;
3916
+ division_code?: number | null;
3917
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3918
+ exact_id?: string;
3919
+ exact_modified?: string | null;
3920
+ exact_timestamp?: number | null;
3921
+ gl_account_code?: string | null;
3922
+ id?: string;
3923
+ is_active?: boolean;
3924
+ is_sales_item?: boolean | null;
3925
+ item_type?: string | null;
3926
+ raw?: import("../integrations/supabase/types").Json | null;
3927
+ sales_price?: number | null;
3928
+ unit?: string | null;
3929
+ updated_at?: string;
3930
+ vat_code?: string | null;
3931
+ };
3932
+ Relationships: [];
3933
+ };
3934
+ exact_auth_sync_log: {
3935
+ Row: {
3936
+ account_key: string;
3937
+ calls_used: number;
3938
+ created_at: string;
3939
+ domain: string;
3940
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3941
+ error: string | null;
3942
+ finished_at: string | null;
3943
+ id: string;
3944
+ ok: boolean;
3945
+ records: number;
3946
+ started_at: string;
3947
+ };
3948
+ Insert: {
3949
+ account_key?: string;
3950
+ calls_used?: number;
3951
+ created_at?: string;
3952
+ domain: string;
3953
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3954
+ error?: string | null;
3955
+ finished_at?: string | null;
3956
+ id?: string;
3957
+ ok?: boolean;
3958
+ records?: number;
3959
+ started_at?: string;
3960
+ };
3961
+ Update: {
3962
+ account_key?: string;
3963
+ calls_used?: number;
3964
+ created_at?: string;
3965
+ domain?: string;
3966
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3967
+ error?: string | null;
3968
+ finished_at?: string | null;
3969
+ id?: string;
3970
+ ok?: boolean;
3971
+ records?: number;
3972
+ started_at?: string;
3973
+ };
3974
+ Relationships: [];
3975
+ };
3976
+ exact_auth_sync_state: {
3977
+ Row: {
3978
+ account_key: string;
3979
+ created_at: string;
3980
+ cursor_timestamp: number;
3981
+ division_code: number | null;
3982
+ domain: string;
3983
+ duration_ms: number | null;
3984
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
3985
+ initial_sync_done: boolean;
3986
+ last_error: string | null;
3987
+ last_run_at: string | null;
3988
+ last_success_at: string | null;
3989
+ locked_at: string | null;
3990
+ needs_initial_sync: boolean;
3991
+ record_count: number;
3992
+ updated_at: string;
3993
+ };
3994
+ Insert: {
3995
+ account_key?: string;
3996
+ created_at?: string;
3997
+ cursor_timestamp?: number;
3998
+ division_code?: number | null;
3999
+ domain: string;
4000
+ duration_ms?: number | null;
4001
+ environment: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
4002
+ initial_sync_done?: boolean;
4003
+ last_error?: string | null;
4004
+ last_run_at?: string | null;
4005
+ last_success_at?: string | null;
4006
+ locked_at?: string | null;
4007
+ needs_initial_sync?: boolean;
4008
+ record_count?: number;
4009
+ updated_at?: string;
4010
+ };
4011
+ Update: {
4012
+ account_key?: string;
4013
+ created_at?: string;
4014
+ cursor_timestamp?: number;
4015
+ division_code?: number | null;
4016
+ domain?: string;
4017
+ duration_ms?: number | null;
4018
+ environment?: import("../integrations/supabase/types").Database["public"]["Enums"]["exact_env"];
4019
+ initial_sync_done?: boolean;
4020
+ last_error?: string | null;
4021
+ last_run_at?: string | null;
4022
+ last_success_at?: string | null;
4023
+ locked_at?: string | null;
4024
+ needs_initial_sync?: boolean;
4025
+ record_count?: number;
4026
+ updated_at?: string;
4027
+ };
4028
+ Relationships: [];
4029
+ };
3562
4030
  exact_bulk_operation_items: {
3563
4031
  Row: {
3564
4032
  attempts: number;
@@ -5250,12 +5718,17 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
5250
5718
  attempts: number;
5251
5719
  connection_id: string;
5252
5720
  created_at: string;
5721
+ desired_available: boolean | null;
5253
5722
  gateway_attempt_id: string | null;
5254
5723
  id: string;
5255
5724
  last_error: string | null;
5725
+ locked_at: string | null;
5726
+ locked_by: string | null;
5727
+ next_attempt_at: string;
5256
5728
  number_of_pieces: number;
5257
5729
  sent_at: string | null;
5258
5730
  status: string;
5731
+ superseded_by: string | null;
5259
5732
  trade_item_id: string;
5260
5733
  updated_at: string;
5261
5734
  user_id: string;
@@ -5264,12 +5737,17 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
5264
5737
  attempts?: number;
5265
5738
  connection_id: string;
5266
5739
  created_at?: string;
5740
+ desired_available?: boolean | null;
5267
5741
  gateway_attempt_id?: string | null;
5268
5742
  id?: string;
5269
5743
  last_error?: string | null;
5744
+ locked_at?: string | null;
5745
+ locked_by?: string | null;
5746
+ next_attempt_at?: string;
5270
5747
  number_of_pieces?: number;
5271
5748
  sent_at?: string | null;
5272
5749
  status?: string;
5750
+ superseded_by?: string | null;
5273
5751
  trade_item_id: string;
5274
5752
  updated_at?: string;
5275
5753
  user_id: string;
@@ -5278,12 +5756,17 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
5278
5756
  attempts?: number;
5279
5757
  connection_id?: string;
5280
5758
  created_at?: string;
5759
+ desired_available?: boolean | null;
5281
5760
  gateway_attempt_id?: string | null;
5282
5761
  id?: string;
5283
5762
  last_error?: string | null;
5763
+ locked_at?: string | null;
5764
+ locked_by?: string | null;
5765
+ next_attempt_at?: string;
5284
5766
  number_of_pieces?: number;
5285
5767
  sent_at?: string | null;
5286
5768
  status?: string;
5769
+ superseded_by?: string | null;
5287
5770
  trade_item_id?: string;
5288
5771
  updated_at?: string;
5289
5772
  user_id?: string;
@@ -8643,6 +9126,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
8643
9126
  };
8644
9127
  logistics_tasks: {
8645
9128
  Row: {
9129
+ attempt_log: import("../integrations/supabase/types").Json;
9130
+ attempts: number;
8646
9131
  buffer_ref: string | null;
8647
9132
  claimed_at: string | null;
8648
9133
  claimed_by: string | null;
@@ -8652,6 +9137,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
8652
9137
  due_at: string | null;
8653
9138
  error: string | null;
8654
9139
  id: string;
9140
+ last_error: string | null;
9141
+ next_attempt_at: string | null;
8655
9142
  order_ref: string;
8656
9143
  owner_module: string;
8657
9144
  payload: import("../integrations/supabase/types").Json;
@@ -8672,6 +9159,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
8672
9159
  user_id: string;
8673
9160
  };
8674
9161
  Insert: {
9162
+ attempt_log?: import("../integrations/supabase/types").Json;
9163
+ attempts?: number;
8675
9164
  buffer_ref?: string | null;
8676
9165
  claimed_at?: string | null;
8677
9166
  claimed_by?: string | null;
@@ -8681,6 +9170,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
8681
9170
  due_at?: string | null;
8682
9171
  error?: string | null;
8683
9172
  id?: string;
9173
+ last_error?: string | null;
9174
+ next_attempt_at?: string | null;
8684
9175
  order_ref: string;
8685
9176
  owner_module: string;
8686
9177
  payload?: import("../integrations/supabase/types").Json;
@@ -8701,6 +9192,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
8701
9192
  user_id?: string;
8702
9193
  };
8703
9194
  Update: {
9195
+ attempt_log?: import("../integrations/supabase/types").Json;
9196
+ attempts?: number;
8704
9197
  buffer_ref?: string | null;
8705
9198
  claimed_at?: string | null;
8706
9199
  claimed_by?: string | null;
@@ -8710,6 +9203,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
8710
9203
  due_at?: string | null;
8711
9204
  error?: string | null;
8712
9205
  id?: string;
9206
+ last_error?: string | null;
9207
+ next_attempt_at?: string | null;
8713
9208
  order_ref?: string;
8714
9209
  owner_module?: string;
8715
9210
  payload?: import("../integrations/supabase/types").Json;
@@ -10059,6 +10554,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
10059
10554
  };
10060
10555
  offer_settings: {
10061
10556
  Row: {
10557
+ brand_name: string | null;
10062
10558
  button_color: string;
10063
10559
  created_at: string;
10064
10560
  default_countries: string[];
@@ -10080,6 +10576,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
10080
10576
  updated_at: string;
10081
10577
  };
10082
10578
  Insert: {
10579
+ brand_name?: string | null;
10083
10580
  button_color?: string;
10084
10581
  created_at?: string;
10085
10582
  default_countries?: string[];
@@ -10101,6 +10598,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
10101
10598
  updated_at?: string;
10102
10599
  };
10103
10600
  Update: {
10601
+ brand_name?: string | null;
10104
10602
  button_color?: string;
10105
10603
  created_at?: string;
10106
10604
  default_countries?: string[];
@@ -17711,6 +18209,85 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
17711
18209
  };
17712
18210
  Returns: import("../integrations/supabase/types").Json;
17713
18211
  };
18212
+ claim_floriday_stock_queue: {
18213
+ Args: {
18214
+ p_limit?: number;
18215
+ p_worker?: string;
18216
+ };
18217
+ Returns: {
18218
+ attempts: number;
18219
+ connection_id: string;
18220
+ created_at: string;
18221
+ desired_available: boolean | null;
18222
+ gateway_attempt_id: string | null;
18223
+ id: string;
18224
+ last_error: string | null;
18225
+ locked_at: string | null;
18226
+ locked_by: string | null;
18227
+ next_attempt_at: string;
18228
+ number_of_pieces: number;
18229
+ sent_at: string | null;
18230
+ status: string;
18231
+ superseded_by: string | null;
18232
+ trade_item_id: string;
18233
+ updated_at: string;
18234
+ user_id: string;
18235
+ }[];
18236
+ SetofOptions: {
18237
+ from: "*";
18238
+ to: "floriday_continuous_stock_queue";
18239
+ isOneToOne: false;
18240
+ isSetofReturn: true;
18241
+ };
18242
+ };
18243
+ claim_logistics_tasks: {
18244
+ Args: {
18245
+ _limit?: number;
18246
+ _owner_module: string;
18247
+ _stale_minutes?: number;
18248
+ _task_type: string;
18249
+ _worker: string;
18250
+ };
18251
+ Returns: {
18252
+ attempt_log: import("../integrations/supabase/types").Json;
18253
+ attempts: number;
18254
+ buffer_ref: string | null;
18255
+ claimed_at: string | null;
18256
+ claimed_by: string | null;
18257
+ completed_at: string | null;
18258
+ created_at: string;
18259
+ depends_on: string[];
18260
+ due_at: string | null;
18261
+ error: string | null;
18262
+ id: string;
18263
+ last_error: string | null;
18264
+ next_attempt_at: string | null;
18265
+ order_ref: string;
18266
+ owner_module: string;
18267
+ payload: import("../integrations/supabase/types").Json;
18268
+ plan_run_id: string | null;
18269
+ planned_end: string | null;
18270
+ planned_start: string | null;
18271
+ priority: number;
18272
+ result: import("../integrations/supabase/types").Json | null;
18273
+ rule_config_id: string | null;
18274
+ rule_version: number | null;
18275
+ sequence: number;
18276
+ shadow: boolean;
18277
+ started_at: string | null;
18278
+ status: string;
18279
+ strategy_id: string | null;
18280
+ task_type: string;
18281
+ updated_at: string;
18282
+ user_id: string;
18283
+ }[];
18284
+ SetofOptions: {
18285
+ from: "*";
18286
+ to: "logistics_tasks";
18287
+ isOneToOne: false;
18288
+ isSetofReturn: true;
18289
+ };
18290
+ };
17714
18291
  claim_print_jobs: {
17715
18292
  Args: {
17716
18293
  _agent_id: string;
@@ -17775,10 +18352,24 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
17775
18352
  isSetofReturn: true;
17776
18353
  };
17777
18354
  };
18355
+ cleanup_floriday_stock_queue: {
18356
+ Args: never;
18357
+ Returns: undefined;
18358
+ };
17778
18359
  cleanup_old_bookings: {
17779
18360
  Args: never;
17780
18361
  Returns: undefined;
17781
18362
  };
18363
+ complete_floriday_stock_queue: {
18364
+ Args: {
18365
+ p_attempt_id?: string;
18366
+ p_error?: string;
18367
+ p_id: string;
18368
+ p_ok: boolean;
18369
+ p_permanent?: boolean;
18370
+ };
18371
+ Returns: undefined;
18372
+ };
17782
18373
  consume_bom_for_production: {
17783
18374
  Args: {
17784
18375
  p_connection_id: string;
@@ -17951,6 +18542,21 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
17951
18542
  Args: never;
17952
18543
  Returns: string;
17953
18544
  };
18545
+ exact_auth_consume_calls: {
18546
+ Args: {
18547
+ _account_key: string;
18548
+ _calls?: number;
18549
+ _day_limit?: number;
18550
+ _division_code: number;
18551
+ _environment: string;
18552
+ _minute_limit?: number;
18553
+ };
18554
+ Returns: import("../integrations/supabase/types").Json;
18555
+ };
18556
+ exact_auth_prune_sync_log: {
18557
+ Args: never;
18558
+ Returns: undefined;
18559
+ };
17954
18560
  exact_decrypt: {
17955
18561
  Args: {
17956
18562
  cipher: string;
@@ -18160,6 +18766,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
18160
18766
  };
18161
18767
  Returns: number;
18162
18768
  };
18769
+ get_offer_branding: {
18770
+ Args: never;
18771
+ Returns: import("../integrations/supabase/types").Json;
18772
+ };
18163
18773
  get_offer_by_link_code: {
18164
18774
  Args: {
18165
18775
  p_code: string;
@@ -18451,6 +19061,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
18451
19061
  p_worker?: string;
18452
19062
  };
18453
19063
  Returns: {
19064
+ attempt_log: import("../integrations/supabase/types").Json;
19065
+ attempts: number;
18454
19066
  buffer_ref: string | null;
18455
19067
  claimed_at: string | null;
18456
19068
  claimed_by: string | null;
@@ -18460,6 +19072,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
18460
19072
  due_at: string | null;
18461
19073
  error: string | null;
18462
19074
  id: string;
19075
+ last_error: string | null;
19076
+ next_attempt_at: string | null;
18463
19077
  order_ref: string;
18464
19078
  owner_module: string;
18465
19079
  payload: import("../integrations/supabase/types").Json;
@@ -18492,6 +19106,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
18492
19106
  p_worker?: string;
18493
19107
  };
18494
19108
  Returns: {
19109
+ attempt_log: import("../integrations/supabase/types").Json;
19110
+ attempts: number;
18495
19111
  buffer_ref: string | null;
18496
19112
  claimed_at: string | null;
18497
19113
  claimed_by: string | null;
@@ -18501,6 +19117,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
18501
19117
  due_at: string | null;
18502
19118
  error: string | null;
18503
19119
  id: string;
19120
+ last_error: string | null;
19121
+ next_attempt_at: string | null;
18504
19122
  order_ref: string;
18505
19123
  owner_module: string;
18506
19124
  payload: import("../integrations/supabase/types").Json;
@@ -18533,6 +19151,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
18533
19151
  p_task_id: string;
18534
19152
  };
18535
19153
  Returns: {
19154
+ attempt_log: import("../integrations/supabase/types").Json;
19155
+ attempts: number;
18536
19156
  buffer_ref: string | null;
18537
19157
  claimed_at: string | null;
18538
19158
  claimed_by: string | null;
@@ -18542,6 +19162,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
18542
19162
  due_at: string | null;
18543
19163
  error: string | null;
18544
19164
  id: string;
19165
+ last_error: string | null;
19166
+ next_attempt_at: string | null;
18545
19167
  order_ref: string;
18546
19168
  owner_module: string;
18547
19169
  payload: import("../integrations/supabase/types").Json;
@@ -18623,6 +19245,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
18623
19245
  p_task_id: string;
18624
19246
  };
18625
19247
  Returns: {
19248
+ attempt_log: import("../integrations/supabase/types").Json;
19249
+ attempts: number;
18626
19250
  buffer_ref: string | null;
18627
19251
  claimed_at: string | null;
18628
19252
  claimed_by: string | null;
@@ -18632,6 +19256,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
18632
19256
  due_at: string | null;
18633
19257
  error: string | null;
18634
19258
  id: string;
19259
+ last_error: string | null;
19260
+ next_attempt_at: string | null;
18635
19261
  order_ref: string;
18636
19262
  owner_module: string;
18637
19263
  payload: import("../integrations/supabase/types").Json;
@@ -19385,6 +20011,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
19385
20011
  Args: never;
19386
20012
  Returns: undefined;
19387
20013
  };
20014
+ run_logistics_tasks_dispatch: {
20015
+ Args: never;
20016
+ Returns: undefined;
20017
+ };
19388
20018
  run_twinfield_queue_tick: {
19389
20019
  Args: never;
19390
20020
  Returns: undefined;
@@ -19625,6 +20255,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
19625
20255
  };
19626
20256
  Returns: number;
19627
20257
  };
20258
+ schedule_floriday_stock_queue_process: {
20259
+ Args: {
20260
+ p_apikey: string;
20261
+ p_url: string;
20262
+ };
20263
+ Returns: number;
20264
+ };
19628
20265
  schedule_floriday_token_refresh: {
19629
20266
  Args: {
19630
20267
  p_apikey: string;