@flowselections/logistiek-engine 1.0.2 → 1.0.4
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.
- package/README.md +24 -24
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +516 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +516 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +516 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +518 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/bulkLoadCarrierPlanning.server.d.ts +4 -3
- package/dist-lib/lib/bulkLoadCarrierPlanning.server.d.ts.map +1 -1
- package/dist-lib/lib/bulkLoadCarrierPlanning.server.js +13 -15
- package/dist-lib/lib/floridayDocuments.functions.d.ts +1548 -0
- package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
- package/dist-lib/lib/handlers/index.d.ts +2 -0
- package/dist-lib/lib/handlers/index.d.ts.map +1 -0
- package/dist-lib/lib/handlers/index.js +4 -0
- package/dist-lib/lib/handlers/logistics-tick.server.d.ts +3 -0
- package/dist-lib/lib/handlers/logistics-tick.server.d.ts.map +1 -0
- package/dist-lib/lib/handlers/logistics-tick.server.js +54 -0
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +2615 -50
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierPlanning.functions.js +13 -8
- package/dist-lib/lib/loadCarrierPlanning.server.d.ts +7 -6
- package/dist-lib/lib/loadCarrierPlanning.server.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierPlanning.server.js +31 -33
- package/dist-lib/lib/loadCarrierTaskSync.server.d.ts +2 -1
- package/dist-lib/lib/loadCarrierTaskSync.server.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierTaskSync.server.js +4 -6
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +1032 -0
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalcJob.functions.js +4 -2
- package/dist-lib/lib/logisticsRecalcJob.server.d.ts +6 -5
- package/dist-lib/lib/logisticsRecalcJob.server.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalcJob.server.js +17 -19
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts +516 -0
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
- package/dist-lib/lib/modulePrompts.js +911 -911
- package/package.json +18 -3
|
@@ -1901,6 +1901,41 @@ export type Database = {
|
|
|
1901
1901
|
}
|
|
1902
1902
|
];
|
|
1903
1903
|
};
|
|
1904
|
+
customer_notes: {
|
|
1905
|
+
Row: {
|
|
1906
|
+
created_at: string;
|
|
1907
|
+
customer_id: string | null;
|
|
1908
|
+
group_key: string | null;
|
|
1909
|
+
id: string;
|
|
1910
|
+
notes: string | null;
|
|
1911
|
+
updated_at: string;
|
|
1912
|
+
};
|
|
1913
|
+
Insert: {
|
|
1914
|
+
created_at?: string;
|
|
1915
|
+
customer_id?: string | null;
|
|
1916
|
+
group_key?: string | null;
|
|
1917
|
+
id?: string;
|
|
1918
|
+
notes?: string | null;
|
|
1919
|
+
updated_at?: string;
|
|
1920
|
+
};
|
|
1921
|
+
Update: {
|
|
1922
|
+
created_at?: string;
|
|
1923
|
+
customer_id?: string | null;
|
|
1924
|
+
group_key?: string | null;
|
|
1925
|
+
id?: string;
|
|
1926
|
+
notes?: string | null;
|
|
1927
|
+
updated_at?: string;
|
|
1928
|
+
};
|
|
1929
|
+
Relationships: [
|
|
1930
|
+
{
|
|
1931
|
+
foreignKeyName: "customer_notes_customer_id_fkey";
|
|
1932
|
+
columns: ["customer_id"];
|
|
1933
|
+
isOneToOne: true;
|
|
1934
|
+
referencedRelation: "customers";
|
|
1935
|
+
referencedColumns: ["id"];
|
|
1936
|
+
}
|
|
1937
|
+
];
|
|
1938
|
+
};
|
|
1904
1939
|
customer_price_group_members: {
|
|
1905
1940
|
Row: {
|
|
1906
1941
|
created_at: string;
|
|
@@ -3592,6 +3627,474 @@ export type Database = {
|
|
|
3592
3627
|
}
|
|
3593
3628
|
];
|
|
3594
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
|
+
};
|
|
3595
4098
|
exact_bulk_operation_items: {
|
|
3596
4099
|
Row: {
|
|
3597
4100
|
attempts: number;
|
|
@@ -18402,6 +18905,21 @@ export type Database = {
|
|
|
18402
18905
|
Args: never;
|
|
18403
18906
|
Returns: string;
|
|
18404
18907
|
};
|
|
18908
|
+
exact_auth_consume_calls: {
|
|
18909
|
+
Args: {
|
|
18910
|
+
_account_key: string;
|
|
18911
|
+
_calls?: number;
|
|
18912
|
+
_day_limit?: number;
|
|
18913
|
+
_division_code: number;
|
|
18914
|
+
_environment: string;
|
|
18915
|
+
_minute_limit?: number;
|
|
18916
|
+
};
|
|
18917
|
+
Returns: Json;
|
|
18918
|
+
};
|
|
18919
|
+
exact_auth_prune_sync_log: {
|
|
18920
|
+
Args: never;
|
|
18921
|
+
Returns: undefined;
|
|
18922
|
+
};
|
|
18405
18923
|
exact_decrypt: {
|
|
18406
18924
|
Args: {
|
|
18407
18925
|
cipher: string;
|