@flowselections/floriday-afhandeling-module 1.0.27 → 1.0.29

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 (31) hide show
  1. package/dist-lib/index.d.ts +0 -2
  2. package/dist-lib/index.d.ts.map +1 -1
  3. package/dist-lib/index.js +0 -2
  4. package/dist-lib/integrations/supabase/auth-middleware.d.ts +637 -0
  5. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  6. package/dist-lib/integrations/supabase/client.d.ts +637 -0
  7. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  8. package/dist-lib/integrations/supabase/client.server.d.ts +637 -0
  9. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  10. package/dist-lib/integrations/supabase/types.d.ts +637 -0
  11. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  12. package/dist-lib/lib/afhandelingSettings.functions.d.ts +1274 -0
  13. package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
  14. package/dist-lib/lib/carriers.functions.d.ts +3185 -0
  15. package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
  16. package/dist-lib/lib/cartAssignments.functions.d.ts +3185 -0
  17. package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
  18. package/dist-lib/lib/cartControl.functions.d.ts +6370 -0
  19. package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
  20. package/dist-lib/lib/floriday.functions.d.ts +637 -0
  21. package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
  22. package/package.json +2 -16
  23. package/dist-lib/components/pickstation/KioskControle.d.ts +0 -2
  24. package/dist-lib/components/pickstation/KioskControle.d.ts.map +0 -1
  25. package/dist-lib/components/pickstation/KioskControle.js +0 -7
  26. package/dist-lib/components/pickstation/LanguagePicker.d.ts +0 -5
  27. package/dist-lib/components/pickstation/LanguagePicker.d.ts.map +0 -1
  28. package/dist-lib/components/pickstation/LanguagePicker.js +0 -5
  29. package/dist-lib/components/pickstation/PickstationPage.d.ts +0 -2
  30. package/dist-lib/components/pickstation/PickstationPage.d.ts.map +0 -1
  31. package/dist-lib/components/pickstation/PickstationPage.js +0 -279
@@ -3627,6 +3627,474 @@ export type Database = {
3627
3627
  }
3628
3628
  ];
3629
3629
  };
3630
+ exact_auth_call_budget: {
3631
+ Row: {
3632
+ account_key: string;
3633
+ day_count: number;
3634
+ day_date: string;
3635
+ division_code: number;
3636
+ environment: string;
3637
+ minute_count: number;
3638
+ minute_window: string;
3639
+ updated_at: string;
3640
+ };
3641
+ Insert: {
3642
+ account_key?: string;
3643
+ day_count?: number;
3644
+ day_date?: string;
3645
+ division_code?: number;
3646
+ environment: string;
3647
+ minute_count?: number;
3648
+ minute_window?: string;
3649
+ updated_at?: string;
3650
+ };
3651
+ Update: {
3652
+ account_key?: string;
3653
+ day_count?: number;
3654
+ day_date?: string;
3655
+ division_code?: number;
3656
+ environment?: string;
3657
+ minute_count?: number;
3658
+ minute_window?: string;
3659
+ updated_at?: string;
3660
+ };
3661
+ Relationships: [];
3662
+ };
3663
+ exact_auth_customers: {
3664
+ Row: {
3665
+ account_key: string;
3666
+ address_line1: string | null;
3667
+ chamber_of_commerce: string | null;
3668
+ city: string | null;
3669
+ code: string | null;
3670
+ country: string | null;
3671
+ created_at: string;
3672
+ currency: string | null;
3673
+ division_code: number | null;
3674
+ email: string | null;
3675
+ environment: Database["public"]["Enums"]["exact_env"];
3676
+ exact_id: string;
3677
+ exact_modified: string | null;
3678
+ exact_timestamp: number | null;
3679
+ id: string;
3680
+ is_active: boolean;
3681
+ name: string | null;
3682
+ phone: string | null;
3683
+ postcode: string | null;
3684
+ raw: Json | null;
3685
+ status: string | null;
3686
+ updated_at: string;
3687
+ vat_number: string | null;
3688
+ website: string | null;
3689
+ };
3690
+ Insert: {
3691
+ account_key?: string;
3692
+ address_line1?: string | null;
3693
+ chamber_of_commerce?: string | null;
3694
+ city?: string | null;
3695
+ code?: string | null;
3696
+ country?: string | null;
3697
+ created_at?: string;
3698
+ currency?: string | null;
3699
+ division_code?: number | null;
3700
+ email?: string | null;
3701
+ environment: Database["public"]["Enums"]["exact_env"];
3702
+ exact_id: string;
3703
+ exact_modified?: string | null;
3704
+ exact_timestamp?: number | null;
3705
+ id?: string;
3706
+ is_active?: boolean;
3707
+ name?: string | null;
3708
+ phone?: string | null;
3709
+ postcode?: string | null;
3710
+ raw?: Json | null;
3711
+ status?: string | null;
3712
+ updated_at?: string;
3713
+ vat_number?: string | null;
3714
+ website?: string | null;
3715
+ };
3716
+ Update: {
3717
+ account_key?: string;
3718
+ address_line1?: string | null;
3719
+ chamber_of_commerce?: string | null;
3720
+ city?: string | null;
3721
+ code?: string | null;
3722
+ country?: string | null;
3723
+ created_at?: string;
3724
+ currency?: string | null;
3725
+ division_code?: number | null;
3726
+ email?: string | null;
3727
+ environment?: Database["public"]["Enums"]["exact_env"];
3728
+ exact_id?: string;
3729
+ exact_modified?: string | null;
3730
+ exact_timestamp?: number | null;
3731
+ id?: string;
3732
+ is_active?: boolean;
3733
+ name?: string | null;
3734
+ phone?: string | null;
3735
+ postcode?: string | null;
3736
+ raw?: Json | null;
3737
+ status?: string | null;
3738
+ updated_at?: string;
3739
+ vat_number?: string | null;
3740
+ website?: string | null;
3741
+ };
3742
+ Relationships: [];
3743
+ };
3744
+ exact_auth_divisions: {
3745
+ Row: {
3746
+ account_key: string;
3747
+ company_name: string | null;
3748
+ created_at: string;
3749
+ division_code: number | null;
3750
+ environment: Database["public"]["Enums"]["exact_env"];
3751
+ id: string;
3752
+ last_synced_at: string | null;
3753
+ updated_at: string;
3754
+ };
3755
+ Insert: {
3756
+ account_key?: string;
3757
+ company_name?: string | null;
3758
+ created_at?: string;
3759
+ division_code?: number | null;
3760
+ environment: Database["public"]["Enums"]["exact_env"];
3761
+ id?: string;
3762
+ last_synced_at?: string | null;
3763
+ updated_at?: string;
3764
+ };
3765
+ Update: {
3766
+ account_key?: string;
3767
+ company_name?: string | null;
3768
+ created_at?: string;
3769
+ division_code?: number | null;
3770
+ environment?: Database["public"]["Enums"]["exact_env"];
3771
+ id?: string;
3772
+ last_synced_at?: string | null;
3773
+ updated_at?: string;
3774
+ };
3775
+ Relationships: [];
3776
+ };
3777
+ exact_auth_invoice_lines: {
3778
+ Row: {
3779
+ account_key: string;
3780
+ amount_excl: number | null;
3781
+ created_at: string;
3782
+ description: string | null;
3783
+ discount: number | null;
3784
+ environment: Database["public"]["Enums"]["exact_env"];
3785
+ exact_id: string;
3786
+ exact_timestamp: number | null;
3787
+ id: string;
3788
+ invoice_exact_id: string;
3789
+ item_code: string | null;
3790
+ item_exact_id: string | null;
3791
+ line_number: number | null;
3792
+ quantity: number | null;
3793
+ raw: Json | null;
3794
+ unit_price: number | null;
3795
+ updated_at: string;
3796
+ vat_amount: number | null;
3797
+ vat_code: string | null;
3798
+ };
3799
+ Insert: {
3800
+ account_key?: string;
3801
+ amount_excl?: number | null;
3802
+ created_at?: string;
3803
+ description?: string | null;
3804
+ discount?: number | null;
3805
+ environment: Database["public"]["Enums"]["exact_env"];
3806
+ exact_id: string;
3807
+ exact_timestamp?: number | null;
3808
+ id?: string;
3809
+ invoice_exact_id: string;
3810
+ item_code?: string | null;
3811
+ item_exact_id?: string | null;
3812
+ line_number?: number | null;
3813
+ quantity?: number | null;
3814
+ raw?: Json | null;
3815
+ unit_price?: number | null;
3816
+ updated_at?: string;
3817
+ vat_amount?: number | null;
3818
+ vat_code?: string | null;
3819
+ };
3820
+ Update: {
3821
+ account_key?: string;
3822
+ amount_excl?: number | null;
3823
+ created_at?: string;
3824
+ description?: string | null;
3825
+ discount?: number | null;
3826
+ environment?: Database["public"]["Enums"]["exact_env"];
3827
+ exact_id?: string;
3828
+ exact_timestamp?: number | null;
3829
+ id?: string;
3830
+ invoice_exact_id?: string;
3831
+ item_code?: string | null;
3832
+ item_exact_id?: string | null;
3833
+ line_number?: number | null;
3834
+ quantity?: number | null;
3835
+ raw?: Json | null;
3836
+ unit_price?: number | null;
3837
+ updated_at?: string;
3838
+ vat_amount?: number | null;
3839
+ vat_code?: string | null;
3840
+ };
3841
+ Relationships: [];
3842
+ };
3843
+ exact_auth_invoices: {
3844
+ Row: {
3845
+ account_key: string;
3846
+ amount_excl: number | null;
3847
+ amount_incl: number | null;
3848
+ amount_open: number | null;
3849
+ created_at: string;
3850
+ currency: string | null;
3851
+ customer_code: string | null;
3852
+ customer_exact_id: string | null;
3853
+ customer_name: string | null;
3854
+ description: string | null;
3855
+ division_code: number | null;
3856
+ due_date: string | null;
3857
+ environment: Database["public"]["Enums"]["exact_env"];
3858
+ exact_id: string;
3859
+ exact_modified: string | null;
3860
+ exact_timestamp: number | null;
3861
+ id: string;
3862
+ invoice_date: string | null;
3863
+ invoice_number: string | null;
3864
+ order_number: string | null;
3865
+ paid_at: string | null;
3866
+ payment_status: string;
3867
+ raw: Json | null;
3868
+ receivable_synced_at: string | null;
3869
+ status_code: number | null;
3870
+ updated_at: string;
3871
+ };
3872
+ Insert: {
3873
+ account_key?: string;
3874
+ amount_excl?: number | null;
3875
+ amount_incl?: number | null;
3876
+ amount_open?: number | null;
3877
+ created_at?: string;
3878
+ currency?: string | null;
3879
+ customer_code?: string | null;
3880
+ customer_exact_id?: string | null;
3881
+ customer_name?: string | null;
3882
+ description?: string | null;
3883
+ division_code?: number | null;
3884
+ due_date?: string | null;
3885
+ environment: Database["public"]["Enums"]["exact_env"];
3886
+ exact_id: string;
3887
+ exact_modified?: string | null;
3888
+ exact_timestamp?: number | null;
3889
+ id?: string;
3890
+ invoice_date?: string | null;
3891
+ invoice_number?: string | null;
3892
+ order_number?: string | null;
3893
+ paid_at?: string | null;
3894
+ payment_status?: string;
3895
+ raw?: Json | null;
3896
+ receivable_synced_at?: string | null;
3897
+ status_code?: number | null;
3898
+ updated_at?: string;
3899
+ };
3900
+ Update: {
3901
+ account_key?: string;
3902
+ amount_excl?: number | null;
3903
+ amount_incl?: number | null;
3904
+ amount_open?: number | null;
3905
+ created_at?: string;
3906
+ currency?: string | null;
3907
+ customer_code?: string | null;
3908
+ customer_exact_id?: string | null;
3909
+ customer_name?: string | null;
3910
+ description?: string | null;
3911
+ division_code?: number | null;
3912
+ due_date?: string | null;
3913
+ environment?: Database["public"]["Enums"]["exact_env"];
3914
+ exact_id?: string;
3915
+ exact_modified?: string | null;
3916
+ exact_timestamp?: number | null;
3917
+ id?: string;
3918
+ invoice_date?: string | null;
3919
+ invoice_number?: string | null;
3920
+ order_number?: string | null;
3921
+ paid_at?: string | null;
3922
+ payment_status?: string;
3923
+ raw?: Json | null;
3924
+ receivable_synced_at?: string | null;
3925
+ status_code?: number | null;
3926
+ updated_at?: string;
3927
+ };
3928
+ Relationships: [];
3929
+ };
3930
+ exact_auth_items: {
3931
+ Row: {
3932
+ account_key: string;
3933
+ barcode: string | null;
3934
+ code: string | null;
3935
+ cost_price: number | null;
3936
+ created_at: string;
3937
+ description: string | null;
3938
+ division_code: number | null;
3939
+ environment: Database["public"]["Enums"]["exact_env"];
3940
+ exact_id: string;
3941
+ exact_modified: string | null;
3942
+ exact_timestamp: number | null;
3943
+ gl_account_code: string | null;
3944
+ id: string;
3945
+ is_active: boolean;
3946
+ is_sales_item: boolean | null;
3947
+ item_type: string | null;
3948
+ raw: Json | null;
3949
+ sales_price: number | null;
3950
+ unit: string | null;
3951
+ updated_at: string;
3952
+ vat_code: string | null;
3953
+ };
3954
+ Insert: {
3955
+ account_key?: string;
3956
+ barcode?: string | null;
3957
+ code?: string | null;
3958
+ cost_price?: number | null;
3959
+ created_at?: string;
3960
+ description?: string | null;
3961
+ division_code?: number | null;
3962
+ environment: Database["public"]["Enums"]["exact_env"];
3963
+ exact_id: string;
3964
+ exact_modified?: string | null;
3965
+ exact_timestamp?: number | null;
3966
+ gl_account_code?: string | null;
3967
+ id?: string;
3968
+ is_active?: boolean;
3969
+ is_sales_item?: boolean | null;
3970
+ item_type?: string | null;
3971
+ raw?: Json | null;
3972
+ sales_price?: number | null;
3973
+ unit?: string | null;
3974
+ updated_at?: string;
3975
+ vat_code?: string | null;
3976
+ };
3977
+ Update: {
3978
+ account_key?: string;
3979
+ barcode?: string | null;
3980
+ code?: string | null;
3981
+ cost_price?: number | null;
3982
+ created_at?: string;
3983
+ description?: string | null;
3984
+ division_code?: number | null;
3985
+ environment?: Database["public"]["Enums"]["exact_env"];
3986
+ exact_id?: string;
3987
+ exact_modified?: string | null;
3988
+ exact_timestamp?: number | null;
3989
+ gl_account_code?: string | null;
3990
+ id?: string;
3991
+ is_active?: boolean;
3992
+ is_sales_item?: boolean | null;
3993
+ item_type?: string | null;
3994
+ raw?: Json | null;
3995
+ sales_price?: number | null;
3996
+ unit?: string | null;
3997
+ updated_at?: string;
3998
+ vat_code?: string | null;
3999
+ };
4000
+ Relationships: [];
4001
+ };
4002
+ exact_auth_sync_log: {
4003
+ Row: {
4004
+ account_key: string;
4005
+ calls_used: number;
4006
+ created_at: string;
4007
+ domain: string;
4008
+ environment: Database["public"]["Enums"]["exact_env"];
4009
+ error: string | null;
4010
+ finished_at: string | null;
4011
+ id: string;
4012
+ ok: boolean;
4013
+ records: number;
4014
+ started_at: string;
4015
+ };
4016
+ Insert: {
4017
+ account_key?: string;
4018
+ calls_used?: number;
4019
+ created_at?: string;
4020
+ domain: string;
4021
+ environment: Database["public"]["Enums"]["exact_env"];
4022
+ error?: string | null;
4023
+ finished_at?: string | null;
4024
+ id?: string;
4025
+ ok?: boolean;
4026
+ records?: number;
4027
+ started_at?: string;
4028
+ };
4029
+ Update: {
4030
+ account_key?: string;
4031
+ calls_used?: number;
4032
+ created_at?: string;
4033
+ domain?: string;
4034
+ environment?: Database["public"]["Enums"]["exact_env"];
4035
+ error?: string | null;
4036
+ finished_at?: string | null;
4037
+ id?: string;
4038
+ ok?: boolean;
4039
+ records?: number;
4040
+ started_at?: string;
4041
+ };
4042
+ Relationships: [];
4043
+ };
4044
+ exact_auth_sync_state: {
4045
+ Row: {
4046
+ account_key: string;
4047
+ created_at: string;
4048
+ cursor_timestamp: number;
4049
+ division_code: number | null;
4050
+ domain: string;
4051
+ duration_ms: number | null;
4052
+ environment: Database["public"]["Enums"]["exact_env"];
4053
+ initial_sync_done: boolean;
4054
+ last_error: string | null;
4055
+ last_run_at: string | null;
4056
+ last_success_at: string | null;
4057
+ locked_at: string | null;
4058
+ needs_initial_sync: boolean;
4059
+ record_count: number;
4060
+ updated_at: string;
4061
+ };
4062
+ Insert: {
4063
+ account_key?: string;
4064
+ created_at?: string;
4065
+ cursor_timestamp?: number;
4066
+ division_code?: number | null;
4067
+ domain: string;
4068
+ duration_ms?: number | null;
4069
+ environment: Database["public"]["Enums"]["exact_env"];
4070
+ initial_sync_done?: boolean;
4071
+ last_error?: string | null;
4072
+ last_run_at?: string | null;
4073
+ last_success_at?: string | null;
4074
+ locked_at?: string | null;
4075
+ needs_initial_sync?: boolean;
4076
+ record_count?: number;
4077
+ updated_at?: string;
4078
+ };
4079
+ Update: {
4080
+ account_key?: string;
4081
+ created_at?: string;
4082
+ cursor_timestamp?: number;
4083
+ division_code?: number | null;
4084
+ domain?: string;
4085
+ duration_ms?: number | null;
4086
+ environment?: Database["public"]["Enums"]["exact_env"];
4087
+ initial_sync_done?: boolean;
4088
+ last_error?: string | null;
4089
+ last_run_at?: string | null;
4090
+ last_success_at?: string | null;
4091
+ locked_at?: string | null;
4092
+ needs_initial_sync?: boolean;
4093
+ record_count?: number;
4094
+ updated_at?: string;
4095
+ };
4096
+ Relationships: [];
4097
+ };
3630
4098
  exact_bulk_operation_items: {
3631
4099
  Row: {
3632
4100
  attempts: number;
@@ -5365,12 +5833,17 @@ export type Database = {
5365
5833
  attempts: number;
5366
5834
  connection_id: string;
5367
5835
  created_at: string;
5836
+ desired_available: boolean | null;
5368
5837
  gateway_attempt_id: string | null;
5369
5838
  id: string;
5370
5839
  last_error: string | null;
5840
+ locked_at: string | null;
5841
+ locked_by: string | null;
5842
+ next_attempt_at: string;
5371
5843
  number_of_pieces: number;
5372
5844
  sent_at: string | null;
5373
5845
  status: string;
5846
+ superseded_by: string | null;
5374
5847
  trade_item_id: string;
5375
5848
  updated_at: string;
5376
5849
  user_id: string;
@@ -5379,12 +5852,17 @@ export type Database = {
5379
5852
  attempts?: number;
5380
5853
  connection_id: string;
5381
5854
  created_at?: string;
5855
+ desired_available?: boolean | null;
5382
5856
  gateway_attempt_id?: string | null;
5383
5857
  id?: string;
5384
5858
  last_error?: string | null;
5859
+ locked_at?: string | null;
5860
+ locked_by?: string | null;
5861
+ next_attempt_at?: string;
5385
5862
  number_of_pieces?: number;
5386
5863
  sent_at?: string | null;
5387
5864
  status?: string;
5865
+ superseded_by?: string | null;
5388
5866
  trade_item_id: string;
5389
5867
  updated_at?: string;
5390
5868
  user_id: string;
@@ -5393,12 +5871,17 @@ export type Database = {
5393
5871
  attempts?: number;
5394
5872
  connection_id?: string;
5395
5873
  created_at?: string;
5874
+ desired_available?: boolean | null;
5396
5875
  gateway_attempt_id?: string | null;
5397
5876
  id?: string;
5398
5877
  last_error?: string | null;
5878
+ locked_at?: string | null;
5879
+ locked_by?: string | null;
5880
+ next_attempt_at?: string;
5399
5881
  number_of_pieces?: number;
5400
5882
  sent_at?: string | null;
5401
5883
  status?: string;
5884
+ superseded_by?: string | null;
5402
5885
  trade_item_id?: string;
5403
5886
  updated_at?: string;
5404
5887
  user_id?: string;
@@ -8863,6 +9346,8 @@ export type Database = {
8863
9346
  };
8864
9347
  logistics_tasks: {
8865
9348
  Row: {
9349
+ attempt_log: Json;
9350
+ attempts: number;
8866
9351
  buffer_ref: string | null;
8867
9352
  claimed_at: string | null;
8868
9353
  claimed_by: string | null;
@@ -8872,6 +9357,8 @@ export type Database = {
8872
9357
  due_at: string | null;
8873
9358
  error: string | null;
8874
9359
  id: string;
9360
+ last_error: string | null;
9361
+ next_attempt_at: string | null;
8875
9362
  order_ref: string;
8876
9363
  owner_module: string;
8877
9364
  payload: Json;
@@ -8892,6 +9379,8 @@ export type Database = {
8892
9379
  user_id: string;
8893
9380
  };
8894
9381
  Insert: {
9382
+ attempt_log?: Json;
9383
+ attempts?: number;
8895
9384
  buffer_ref?: string | null;
8896
9385
  claimed_at?: string | null;
8897
9386
  claimed_by?: string | null;
@@ -8901,6 +9390,8 @@ export type Database = {
8901
9390
  due_at?: string | null;
8902
9391
  error?: string | null;
8903
9392
  id?: string;
9393
+ last_error?: string | null;
9394
+ next_attempt_at?: string | null;
8904
9395
  order_ref: string;
8905
9396
  owner_module: string;
8906
9397
  payload?: Json;
@@ -8921,6 +9412,8 @@ export type Database = {
8921
9412
  user_id?: string;
8922
9413
  };
8923
9414
  Update: {
9415
+ attempt_log?: Json;
9416
+ attempts?: number;
8924
9417
  buffer_ref?: string | null;
8925
9418
  claimed_at?: string | null;
8926
9419
  claimed_by?: string | null;
@@ -8930,6 +9423,8 @@ export type Database = {
8930
9423
  due_at?: string | null;
8931
9424
  error?: string | null;
8932
9425
  id?: string;
9426
+ last_error?: string | null;
9427
+ next_attempt_at?: string | null;
8933
9428
  order_ref?: string;
8934
9429
  owner_module?: string;
8935
9430
  payload?: Json;
@@ -10325,6 +10820,7 @@ export type Database = {
10325
10820
  };
10326
10821
  offer_settings: {
10327
10822
  Row: {
10823
+ brand_name: string | null;
10328
10824
  button_color: string;
10329
10825
  created_at: string;
10330
10826
  default_countries: string[];
@@ -10346,6 +10842,7 @@ export type Database = {
10346
10842
  updated_at: string;
10347
10843
  };
10348
10844
  Insert: {
10845
+ brand_name?: string | null;
10349
10846
  button_color?: string;
10350
10847
  created_at?: string;
10351
10848
  default_countries?: string[];
@@ -10367,6 +10864,7 @@ export type Database = {
10367
10864
  updated_at?: string;
10368
10865
  };
10369
10866
  Update: {
10867
+ brand_name?: string | null;
10370
10868
  button_color?: string;
10371
10869
  created_at?: string;
10372
10870
  default_countries?: string[];
@@ -18197,6 +18695,85 @@ export type Database = {
18197
18695
  };
18198
18696
  Returns: Json;
18199
18697
  };
18698
+ claim_floriday_stock_queue: {
18699
+ Args: {
18700
+ p_limit?: number;
18701
+ p_worker?: string;
18702
+ };
18703
+ Returns: {
18704
+ attempts: number;
18705
+ connection_id: string;
18706
+ created_at: string;
18707
+ desired_available: boolean | null;
18708
+ gateway_attempt_id: string | null;
18709
+ id: string;
18710
+ last_error: string | null;
18711
+ locked_at: string | null;
18712
+ locked_by: string | null;
18713
+ next_attempt_at: string;
18714
+ number_of_pieces: number;
18715
+ sent_at: string | null;
18716
+ status: string;
18717
+ superseded_by: string | null;
18718
+ trade_item_id: string;
18719
+ updated_at: string;
18720
+ user_id: string;
18721
+ }[];
18722
+ SetofOptions: {
18723
+ from: "*";
18724
+ to: "floriday_continuous_stock_queue";
18725
+ isOneToOne: false;
18726
+ isSetofReturn: true;
18727
+ };
18728
+ };
18729
+ claim_logistics_tasks: {
18730
+ Args: {
18731
+ _limit?: number;
18732
+ _owner_module: string;
18733
+ _stale_minutes?: number;
18734
+ _task_type: string;
18735
+ _worker: string;
18736
+ };
18737
+ Returns: {
18738
+ attempt_log: Json;
18739
+ attempts: number;
18740
+ buffer_ref: string | null;
18741
+ claimed_at: string | null;
18742
+ claimed_by: string | null;
18743
+ completed_at: string | null;
18744
+ created_at: string;
18745
+ depends_on: string[];
18746
+ due_at: string | null;
18747
+ error: string | null;
18748
+ id: string;
18749
+ last_error: string | null;
18750
+ next_attempt_at: string | null;
18751
+ order_ref: string;
18752
+ owner_module: string;
18753
+ payload: Json;
18754
+ plan_run_id: string | null;
18755
+ planned_end: string | null;
18756
+ planned_start: string | null;
18757
+ priority: number;
18758
+ result: Json | null;
18759
+ rule_config_id: string | null;
18760
+ rule_version: number | null;
18761
+ sequence: number;
18762
+ shadow: boolean;
18763
+ started_at: string | null;
18764
+ status: string;
18765
+ strategy_id: string | null;
18766
+ task_type: string;
18767
+ updated_at: string;
18768
+ user_id: string;
18769
+ }[];
18770
+ SetofOptions: {
18771
+ from: "*";
18772
+ to: "logistics_tasks";
18773
+ isOneToOne: false;
18774
+ isSetofReturn: true;
18775
+ };
18776
+ };
18200
18777
  claim_print_jobs: {
18201
18778
  Args: {
18202
18779
  _agent_id: string;
@@ -18261,10 +18838,24 @@ export type Database = {
18261
18838
  isSetofReturn: true;
18262
18839
  };
18263
18840
  };
18841
+ cleanup_floriday_stock_queue: {
18842
+ Args: never;
18843
+ Returns: undefined;
18844
+ };
18264
18845
  cleanup_old_bookings: {
18265
18846
  Args: never;
18266
18847
  Returns: undefined;
18267
18848
  };
18849
+ complete_floriday_stock_queue: {
18850
+ Args: {
18851
+ p_attempt_id?: string;
18852
+ p_error?: string;
18853
+ p_id: string;
18854
+ p_ok: boolean;
18855
+ p_permanent?: boolean;
18856
+ };
18857
+ Returns: undefined;
18858
+ };
18268
18859
  consume_bom_for_production: {
18269
18860
  Args: {
18270
18861
  p_connection_id: string;
@@ -18437,6 +19028,21 @@ export type Database = {
18437
19028
  Args: never;
18438
19029
  Returns: string;
18439
19030
  };
19031
+ exact_auth_consume_calls: {
19032
+ Args: {
19033
+ _account_key: string;
19034
+ _calls?: number;
19035
+ _day_limit?: number;
19036
+ _division_code: number;
19037
+ _environment: string;
19038
+ _minute_limit?: number;
19039
+ };
19040
+ Returns: Json;
19041
+ };
19042
+ exact_auth_prune_sync_log: {
19043
+ Args: never;
19044
+ Returns: undefined;
19045
+ };
18440
19046
  exact_decrypt: {
18441
19047
  Args: {
18442
19048
  cipher: string;
@@ -18646,6 +19252,10 @@ export type Database = {
18646
19252
  };
18647
19253
  Returns: number;
18648
19254
  };
19255
+ get_offer_branding: {
19256
+ Args: never;
19257
+ Returns: Json;
19258
+ };
18649
19259
  get_offer_by_link_code: {
18650
19260
  Args: {
18651
19261
  p_code: string;
@@ -18937,6 +19547,8 @@ export type Database = {
18937
19547
  p_worker?: string;
18938
19548
  };
18939
19549
  Returns: {
19550
+ attempt_log: Json;
19551
+ attempts: number;
18940
19552
  buffer_ref: string | null;
18941
19553
  claimed_at: string | null;
18942
19554
  claimed_by: string | null;
@@ -18946,6 +19558,8 @@ export type Database = {
18946
19558
  due_at: string | null;
18947
19559
  error: string | null;
18948
19560
  id: string;
19561
+ last_error: string | null;
19562
+ next_attempt_at: string | null;
18949
19563
  order_ref: string;
18950
19564
  owner_module: string;
18951
19565
  payload: Json;
@@ -18978,6 +19592,8 @@ export type Database = {
18978
19592
  p_worker?: string;
18979
19593
  };
18980
19594
  Returns: {
19595
+ attempt_log: Json;
19596
+ attempts: number;
18981
19597
  buffer_ref: string | null;
18982
19598
  claimed_at: string | null;
18983
19599
  claimed_by: string | null;
@@ -18987,6 +19603,8 @@ export type Database = {
18987
19603
  due_at: string | null;
18988
19604
  error: string | null;
18989
19605
  id: string;
19606
+ last_error: string | null;
19607
+ next_attempt_at: string | null;
18990
19608
  order_ref: string;
18991
19609
  owner_module: string;
18992
19610
  payload: Json;
@@ -19019,6 +19637,8 @@ export type Database = {
19019
19637
  p_task_id: string;
19020
19638
  };
19021
19639
  Returns: {
19640
+ attempt_log: Json;
19641
+ attempts: number;
19022
19642
  buffer_ref: string | null;
19023
19643
  claimed_at: string | null;
19024
19644
  claimed_by: string | null;
@@ -19028,6 +19648,8 @@ export type Database = {
19028
19648
  due_at: string | null;
19029
19649
  error: string | null;
19030
19650
  id: string;
19651
+ last_error: string | null;
19652
+ next_attempt_at: string | null;
19031
19653
  order_ref: string;
19032
19654
  owner_module: string;
19033
19655
  payload: Json;
@@ -19109,6 +19731,8 @@ export type Database = {
19109
19731
  p_task_id: string;
19110
19732
  };
19111
19733
  Returns: {
19734
+ attempt_log: Json;
19735
+ attempts: number;
19112
19736
  buffer_ref: string | null;
19113
19737
  claimed_at: string | null;
19114
19738
  claimed_by: string | null;
@@ -19118,6 +19742,8 @@ export type Database = {
19118
19742
  due_at: string | null;
19119
19743
  error: string | null;
19120
19744
  id: string;
19745
+ last_error: string | null;
19746
+ next_attempt_at: string | null;
19121
19747
  order_ref: string;
19122
19748
  owner_module: string;
19123
19749
  payload: Json;
@@ -19871,6 +20497,10 @@ export type Database = {
19871
20497
  Args: never;
19872
20498
  Returns: undefined;
19873
20499
  };
20500
+ run_logistics_tasks_dispatch: {
20501
+ Args: never;
20502
+ Returns: undefined;
20503
+ };
19874
20504
  run_twinfield_queue_tick: {
19875
20505
  Args: never;
19876
20506
  Returns: undefined;
@@ -20111,6 +20741,13 @@ export type Database = {
20111
20741
  };
20112
20742
  Returns: number;
20113
20743
  };
20744
+ schedule_floriday_stock_queue_process: {
20745
+ Args: {
20746
+ p_apikey: string;
20747
+ p_url: string;
20748
+ };
20749
+ Returns: number;
20750
+ };
20114
20751
  schedule_floriday_token_refresh: {
20115
20752
  Args: {
20116
20753
  p_apikey: string;