@flowselections/scan-module 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/dist-lib/components/ScanModulePage.d.ts.map +1 -1
- package/dist-lib/components/ScanModulePage.js +71 -16
- package/dist-lib/components/scanners/KarScannerPage.d.ts +3 -1
- package/dist-lib/components/scanners/KarScannerPage.d.ts.map +1 -1
- package/dist-lib/components/scanners/KarScannerPage.js +87 -8
- package/dist-lib/components/scanners/PublicScannerPage.d.ts +2 -1
- package/dist-lib/components/scanners/PublicScannerPage.d.ts.map +1 -1
- package/dist-lib/components/scanners/PublicScannerPage.js +2 -2
- package/dist-lib/components/scanners/ScannerBySlug.d.ts.map +1 -1
- package/dist-lib/components/scanners/ScannerBySlug.js +3 -2
- package/dist-lib/hooks/useScanners.d.ts +3 -1
- package/dist-lib/hooks/useScanners.d.ts.map +1 -1
- package/dist-lib/hooks/useScanners.js +1 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +2482 -311
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +2482 -311
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +2482 -311
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +2557 -366
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +15 -1
- package/dist-lib/lib/scanI18n.d.ts +1 -1
- package/dist-lib/lib/scanI18n.d.ts.map +1 -1
- package/dist-lib/lib/scanI18n.js +139 -1
- package/dist-lib/lib/shellHost.functions.d.ts +3 -0
- package/dist-lib/lib/shellHost.functions.d.ts.map +1 -0
- package/dist-lib/lib/shellHost.functions.js +5 -0
- package/dist-lib/lib/shellHost.server.d.ts +12 -0
- package/dist-lib/lib/shellHost.server.d.ts.map +1 -0
- package/dist-lib/lib/shellHost.server.js +91 -0
- package/dist-lib/lib/veilingbonPrint.d.ts +43 -0
- package/dist-lib/lib/veilingbonPrint.d.ts.map +1 -0
- package/dist-lib/lib/veilingbonPrint.js +124 -0
- package/package.json +105 -103
|
@@ -895,6 +895,126 @@ export type Database = {
|
|
|
895
895
|
};
|
|
896
896
|
Relationships: [];
|
|
897
897
|
};
|
|
898
|
+
cao_holidays: {
|
|
899
|
+
Row: {
|
|
900
|
+
created_at: string;
|
|
901
|
+
description: string | null;
|
|
902
|
+
holiday_date: string;
|
|
903
|
+
id: string;
|
|
904
|
+
updated_at: string;
|
|
905
|
+
};
|
|
906
|
+
Insert: {
|
|
907
|
+
created_at?: string;
|
|
908
|
+
description?: string | null;
|
|
909
|
+
holiday_date: string;
|
|
910
|
+
id?: string;
|
|
911
|
+
updated_at?: string;
|
|
912
|
+
};
|
|
913
|
+
Update: {
|
|
914
|
+
created_at?: string;
|
|
915
|
+
description?: string | null;
|
|
916
|
+
holiday_date?: string;
|
|
917
|
+
id?: string;
|
|
918
|
+
updated_at?: string;
|
|
919
|
+
};
|
|
920
|
+
Relationships: [];
|
|
921
|
+
};
|
|
922
|
+
cao_settings: {
|
|
923
|
+
Row: {
|
|
924
|
+
auto_break_after_hours: number;
|
|
925
|
+
auto_break_minutes: number;
|
|
926
|
+
auto_break_unpaid: boolean;
|
|
927
|
+
auto_stop_after_hours: number;
|
|
928
|
+
callout_fee: number;
|
|
929
|
+
created_at: string;
|
|
930
|
+
daily_regular_hours: number;
|
|
931
|
+
default_hourly_rate: number;
|
|
932
|
+
id: string;
|
|
933
|
+
materials_markup_percent: number;
|
|
934
|
+
max_daily_hours: number;
|
|
935
|
+
max_weekly_hours: number;
|
|
936
|
+
meal_allowance_amount: number;
|
|
937
|
+
overtime_pct_178: number;
|
|
938
|
+
overtime_pct_189: number;
|
|
939
|
+
overtime_pct_212: number;
|
|
940
|
+
reminder_after_hours: number;
|
|
941
|
+
standby_evening_amount: number;
|
|
942
|
+
standby_weekend_amount: number;
|
|
943
|
+
travel_cost_per_km: number | null;
|
|
944
|
+
travel_cost_threshold_km: number | null;
|
|
945
|
+
travel_counts_as_work: boolean;
|
|
946
|
+
travel_hourly_rate: number;
|
|
947
|
+
travel_rate_per_hour: number;
|
|
948
|
+
travel_threshold_minutes: number;
|
|
949
|
+
updated_at: string;
|
|
950
|
+
weekend_always_212: boolean;
|
|
951
|
+
window_end: string;
|
|
952
|
+
window_start: string;
|
|
953
|
+
};
|
|
954
|
+
Insert: {
|
|
955
|
+
auto_break_after_hours?: number;
|
|
956
|
+
auto_break_minutes?: number;
|
|
957
|
+
auto_break_unpaid?: boolean;
|
|
958
|
+
auto_stop_after_hours?: number;
|
|
959
|
+
callout_fee?: number;
|
|
960
|
+
created_at?: string;
|
|
961
|
+
daily_regular_hours?: number;
|
|
962
|
+
default_hourly_rate?: number;
|
|
963
|
+
id?: string;
|
|
964
|
+
materials_markup_percent?: number;
|
|
965
|
+
max_daily_hours?: number;
|
|
966
|
+
max_weekly_hours?: number;
|
|
967
|
+
meal_allowance_amount?: number;
|
|
968
|
+
overtime_pct_178?: number;
|
|
969
|
+
overtime_pct_189?: number;
|
|
970
|
+
overtime_pct_212?: number;
|
|
971
|
+
reminder_after_hours?: number;
|
|
972
|
+
standby_evening_amount?: number;
|
|
973
|
+
standby_weekend_amount?: number;
|
|
974
|
+
travel_cost_per_km?: number | null;
|
|
975
|
+
travel_cost_threshold_km?: number | null;
|
|
976
|
+
travel_counts_as_work?: boolean;
|
|
977
|
+
travel_hourly_rate?: number;
|
|
978
|
+
travel_rate_per_hour?: number;
|
|
979
|
+
travel_threshold_minutes?: number;
|
|
980
|
+
updated_at?: string;
|
|
981
|
+
weekend_always_212?: boolean;
|
|
982
|
+
window_end?: string;
|
|
983
|
+
window_start?: string;
|
|
984
|
+
};
|
|
985
|
+
Update: {
|
|
986
|
+
auto_break_after_hours?: number;
|
|
987
|
+
auto_break_minutes?: number;
|
|
988
|
+
auto_break_unpaid?: boolean;
|
|
989
|
+
auto_stop_after_hours?: number;
|
|
990
|
+
callout_fee?: number;
|
|
991
|
+
created_at?: string;
|
|
992
|
+
daily_regular_hours?: number;
|
|
993
|
+
default_hourly_rate?: number;
|
|
994
|
+
id?: string;
|
|
995
|
+
materials_markup_percent?: number;
|
|
996
|
+
max_daily_hours?: number;
|
|
997
|
+
max_weekly_hours?: number;
|
|
998
|
+
meal_allowance_amount?: number;
|
|
999
|
+
overtime_pct_178?: number;
|
|
1000
|
+
overtime_pct_189?: number;
|
|
1001
|
+
overtime_pct_212?: number;
|
|
1002
|
+
reminder_after_hours?: number;
|
|
1003
|
+
standby_evening_amount?: number;
|
|
1004
|
+
standby_weekend_amount?: number;
|
|
1005
|
+
travel_cost_per_km?: number | null;
|
|
1006
|
+
travel_cost_threshold_km?: number | null;
|
|
1007
|
+
travel_counts_as_work?: boolean;
|
|
1008
|
+
travel_hourly_rate?: number;
|
|
1009
|
+
travel_rate_per_hour?: number;
|
|
1010
|
+
travel_threshold_minutes?: number;
|
|
1011
|
+
updated_at?: string;
|
|
1012
|
+
weekend_always_212?: boolean;
|
|
1013
|
+
window_end?: string;
|
|
1014
|
+
window_start?: string;
|
|
1015
|
+
};
|
|
1016
|
+
Relationships: [];
|
|
1017
|
+
};
|
|
898
1018
|
carrier_shipping_rates: {
|
|
899
1019
|
Row: {
|
|
900
1020
|
carrier_id: string;
|
|
@@ -1719,7 +1839,7 @@ export type Database = {
|
|
|
1719
1839
|
city: string | null;
|
|
1720
1840
|
country: string | null;
|
|
1721
1841
|
created_at: string;
|
|
1722
|
-
customer_id: string
|
|
1842
|
+
customer_id: string;
|
|
1723
1843
|
external_key: string | null;
|
|
1724
1844
|
external_provider: string | null;
|
|
1725
1845
|
floriday_location_id: string | null;
|
|
@@ -1743,7 +1863,7 @@ export type Database = {
|
|
|
1743
1863
|
city?: string | null;
|
|
1744
1864
|
country?: string | null;
|
|
1745
1865
|
created_at?: string;
|
|
1746
|
-
customer_id
|
|
1866
|
+
customer_id: string;
|
|
1747
1867
|
external_key?: string | null;
|
|
1748
1868
|
external_provider?: string | null;
|
|
1749
1869
|
floriday_location_id?: string | null;
|
|
@@ -1767,7 +1887,7 @@ export type Database = {
|
|
|
1767
1887
|
city?: string | null;
|
|
1768
1888
|
country?: string | null;
|
|
1769
1889
|
created_at?: string;
|
|
1770
|
-
customer_id?: string
|
|
1890
|
+
customer_id?: string;
|
|
1771
1891
|
external_key?: string | null;
|
|
1772
1892
|
external_provider?: string | null;
|
|
1773
1893
|
floriday_location_id?: string | null;
|
|
@@ -3627,207 +3747,642 @@ export type Database = {
|
|
|
3627
3747
|
}
|
|
3628
3748
|
];
|
|
3629
3749
|
};
|
|
3630
|
-
|
|
3750
|
+
exact_auth_call_budget: {
|
|
3631
3751
|
Row: {
|
|
3632
3752
|
account_key: string;
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
division_code: number
|
|
3636
|
-
environment:
|
|
3637
|
-
|
|
3638
|
-
|
|
3753
|
+
day_count: number;
|
|
3754
|
+
day_date: string;
|
|
3755
|
+
division_code: number;
|
|
3756
|
+
environment: string;
|
|
3757
|
+
minute_count: number;
|
|
3758
|
+
minute_window: string;
|
|
3639
3759
|
updated_at: string;
|
|
3640
3760
|
};
|
|
3641
3761
|
Insert: {
|
|
3642
3762
|
account_key?: string;
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
division_code?: number
|
|
3646
|
-
environment:
|
|
3647
|
-
|
|
3648
|
-
|
|
3763
|
+
day_count?: number;
|
|
3764
|
+
day_date?: string;
|
|
3765
|
+
division_code?: number;
|
|
3766
|
+
environment: string;
|
|
3767
|
+
minute_count?: number;
|
|
3768
|
+
minute_window?: string;
|
|
3649
3769
|
updated_at?: string;
|
|
3650
3770
|
};
|
|
3651
3771
|
Update: {
|
|
3652
3772
|
account_key?: string;
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
division_code?: number
|
|
3656
|
-
environment?:
|
|
3657
|
-
|
|
3658
|
-
|
|
3773
|
+
day_count?: number;
|
|
3774
|
+
day_date?: string;
|
|
3775
|
+
division_code?: number;
|
|
3776
|
+
environment?: string;
|
|
3777
|
+
minute_count?: number;
|
|
3778
|
+
minute_window?: string;
|
|
3659
3779
|
updated_at?: string;
|
|
3660
3780
|
};
|
|
3661
3781
|
Relationships: [];
|
|
3662
3782
|
};
|
|
3663
|
-
|
|
3664
|
-
Row: {
|
|
3665
|
-
attempts: number;
|
|
3666
|
-
bulk_operation_id: string;
|
|
3667
|
-
created_at: string;
|
|
3668
|
-
error_message: string | null;
|
|
3669
|
-
id: string;
|
|
3670
|
-
invoice_cache_id: string | null;
|
|
3671
|
-
invoice_exact_id: string | null;
|
|
3672
|
-
processed_at: string | null;
|
|
3673
|
-
result_data: Json | null;
|
|
3674
|
-
status: string;
|
|
3675
|
-
};
|
|
3676
|
-
Insert: {
|
|
3677
|
-
attempts?: number;
|
|
3678
|
-
bulk_operation_id: string;
|
|
3679
|
-
created_at?: string;
|
|
3680
|
-
error_message?: string | null;
|
|
3681
|
-
id?: string;
|
|
3682
|
-
invoice_cache_id?: string | null;
|
|
3683
|
-
invoice_exact_id?: string | null;
|
|
3684
|
-
processed_at?: string | null;
|
|
3685
|
-
result_data?: Json | null;
|
|
3686
|
-
status?: string;
|
|
3687
|
-
};
|
|
3688
|
-
Update: {
|
|
3689
|
-
attempts?: number;
|
|
3690
|
-
bulk_operation_id?: string;
|
|
3691
|
-
created_at?: string;
|
|
3692
|
-
error_message?: string | null;
|
|
3693
|
-
id?: string;
|
|
3694
|
-
invoice_cache_id?: string | null;
|
|
3695
|
-
invoice_exact_id?: string | null;
|
|
3696
|
-
processed_at?: string | null;
|
|
3697
|
-
result_data?: Json | null;
|
|
3698
|
-
status?: string;
|
|
3699
|
-
};
|
|
3700
|
-
Relationships: [
|
|
3701
|
-
{
|
|
3702
|
-
foreignKeyName: "exact_bulk_operation_items_bulk_operation_id_fkey";
|
|
3703
|
-
columns: ["bulk_operation_id"];
|
|
3704
|
-
isOneToOne: false;
|
|
3705
|
-
referencedRelation: "exact_bulk_operations";
|
|
3706
|
-
referencedColumns: ["id"];
|
|
3707
|
-
},
|
|
3708
|
-
{
|
|
3709
|
-
foreignKeyName: "exact_bulk_operation_items_invoice_cache_id_fkey";
|
|
3710
|
-
columns: ["invoice_cache_id"];
|
|
3711
|
-
isOneToOne: false;
|
|
3712
|
-
referencedRelation: "exact_invoices_cache";
|
|
3713
|
-
referencedColumns: ["id"];
|
|
3714
|
-
}
|
|
3715
|
-
];
|
|
3716
|
-
};
|
|
3717
|
-
exact_bulk_operations: {
|
|
3783
|
+
exact_auth_customers: {
|
|
3718
3784
|
Row: {
|
|
3719
|
-
|
|
3720
|
-
|
|
3785
|
+
account_key: string;
|
|
3786
|
+
address_line1: string | null;
|
|
3787
|
+
chamber_of_commerce: string | null;
|
|
3788
|
+
city: string | null;
|
|
3789
|
+
code: string | null;
|
|
3790
|
+
country: string | null;
|
|
3721
3791
|
created_at: string;
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3792
|
+
currency: string | null;
|
|
3793
|
+
division_code: number | null;
|
|
3794
|
+
email: string | null;
|
|
3795
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3796
|
+
exact_id: string;
|
|
3797
|
+
exact_modified: string | null;
|
|
3798
|
+
exact_timestamp: number | null;
|
|
3725
3799
|
id: string;
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3800
|
+
is_active: boolean;
|
|
3801
|
+
name: string | null;
|
|
3802
|
+
phone: string | null;
|
|
3803
|
+
postcode: string | null;
|
|
3804
|
+
raw: Json | null;
|
|
3805
|
+
status: string | null;
|
|
3732
3806
|
updated_at: string;
|
|
3807
|
+
vat_number: string | null;
|
|
3808
|
+
website: string | null;
|
|
3733
3809
|
};
|
|
3734
3810
|
Insert: {
|
|
3735
|
-
|
|
3736
|
-
|
|
3811
|
+
account_key?: string;
|
|
3812
|
+
address_line1?: string | null;
|
|
3813
|
+
chamber_of_commerce?: string | null;
|
|
3814
|
+
city?: string | null;
|
|
3815
|
+
code?: string | null;
|
|
3816
|
+
country?: string | null;
|
|
3737
3817
|
created_at?: string;
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3818
|
+
currency?: string | null;
|
|
3819
|
+
division_code?: number | null;
|
|
3820
|
+
email?: string | null;
|
|
3821
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3822
|
+
exact_id: string;
|
|
3823
|
+
exact_modified?: string | null;
|
|
3824
|
+
exact_timestamp?: number | null;
|
|
3741
3825
|
id?: string;
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3826
|
+
is_active?: boolean;
|
|
3827
|
+
name?: string | null;
|
|
3828
|
+
phone?: string | null;
|
|
3829
|
+
postcode?: string | null;
|
|
3830
|
+
raw?: Json | null;
|
|
3831
|
+
status?: string | null;
|
|
3748
3832
|
updated_at?: string;
|
|
3833
|
+
vat_number?: string | null;
|
|
3834
|
+
website?: string | null;
|
|
3749
3835
|
};
|
|
3750
3836
|
Update: {
|
|
3751
|
-
|
|
3752
|
-
|
|
3837
|
+
account_key?: string;
|
|
3838
|
+
address_line1?: string | null;
|
|
3839
|
+
chamber_of_commerce?: string | null;
|
|
3840
|
+
city?: string | null;
|
|
3841
|
+
code?: string | null;
|
|
3842
|
+
country?: string | null;
|
|
3753
3843
|
created_at?: string;
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3844
|
+
currency?: string | null;
|
|
3845
|
+
division_code?: number | null;
|
|
3846
|
+
email?: string | null;
|
|
3847
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
3848
|
+
exact_id?: string;
|
|
3849
|
+
exact_modified?: string | null;
|
|
3850
|
+
exact_timestamp?: number | null;
|
|
3757
3851
|
id?: string;
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
|
|
3761
|
-
|
|
3762
|
-
|
|
3763
|
-
|
|
3852
|
+
is_active?: boolean;
|
|
3853
|
+
name?: string | null;
|
|
3854
|
+
phone?: string | null;
|
|
3855
|
+
postcode?: string | null;
|
|
3856
|
+
raw?: Json | null;
|
|
3857
|
+
status?: string | null;
|
|
3764
3858
|
updated_at?: string;
|
|
3859
|
+
vat_number?: string | null;
|
|
3860
|
+
website?: string | null;
|
|
3765
3861
|
};
|
|
3766
|
-
Relationships: [
|
|
3767
|
-
{
|
|
3768
|
-
foreignKeyName: "exact_bulk_operations_connection_id_fkey";
|
|
3769
|
-
columns: ["connection_id"];
|
|
3770
|
-
isOneToOne: false;
|
|
3771
|
-
referencedRelation: "exact_connections";
|
|
3772
|
-
referencedColumns: ["id"];
|
|
3773
|
-
}
|
|
3774
|
-
];
|
|
3862
|
+
Relationships: [];
|
|
3775
3863
|
};
|
|
3776
|
-
|
|
3864
|
+
exact_auth_divisions: {
|
|
3777
3865
|
Row: {
|
|
3778
|
-
|
|
3866
|
+
account_key: string;
|
|
3779
3867
|
company_name: string | null;
|
|
3780
|
-
|
|
3781
|
-
connected_by: string | null;
|
|
3868
|
+
created_at: string;
|
|
3782
3869
|
division_code: number | null;
|
|
3783
3870
|
environment: Database["public"]["Enums"]["exact_env"];
|
|
3784
|
-
expires_at: string;
|
|
3785
3871
|
id: string;
|
|
3786
|
-
|
|
3787
|
-
last_refreshed_at: string | null;
|
|
3788
|
-
last_tested_at: string | null;
|
|
3789
|
-
refresh_token_encrypted: string;
|
|
3790
|
-
status: string;
|
|
3872
|
+
last_synced_at: string | null;
|
|
3791
3873
|
updated_at: string;
|
|
3792
3874
|
};
|
|
3793
3875
|
Insert: {
|
|
3794
|
-
|
|
3876
|
+
account_key?: string;
|
|
3795
3877
|
company_name?: string | null;
|
|
3796
|
-
|
|
3797
|
-
connected_by?: string | null;
|
|
3878
|
+
created_at?: string;
|
|
3798
3879
|
division_code?: number | null;
|
|
3799
3880
|
environment: Database["public"]["Enums"]["exact_env"];
|
|
3800
|
-
expires_at: string;
|
|
3801
3881
|
id?: string;
|
|
3802
|
-
|
|
3803
|
-
last_refreshed_at?: string | null;
|
|
3804
|
-
last_tested_at?: string | null;
|
|
3805
|
-
refresh_token_encrypted: string;
|
|
3806
|
-
status?: string;
|
|
3882
|
+
last_synced_at?: string | null;
|
|
3807
3883
|
updated_at?: string;
|
|
3808
3884
|
};
|
|
3809
3885
|
Update: {
|
|
3810
|
-
|
|
3886
|
+
account_key?: string;
|
|
3811
3887
|
company_name?: string | null;
|
|
3812
|
-
|
|
3813
|
-
connected_by?: string | null;
|
|
3888
|
+
created_at?: string;
|
|
3814
3889
|
division_code?: number | null;
|
|
3815
3890
|
environment?: Database["public"]["Enums"]["exact_env"];
|
|
3816
|
-
expires_at?: string;
|
|
3817
3891
|
id?: string;
|
|
3818
|
-
|
|
3819
|
-
last_refreshed_at?: string | null;
|
|
3820
|
-
last_tested_at?: string | null;
|
|
3821
|
-
refresh_token_encrypted?: string;
|
|
3822
|
-
status?: string;
|
|
3892
|
+
last_synced_at?: string | null;
|
|
3823
3893
|
updated_at?: string;
|
|
3824
3894
|
};
|
|
3825
3895
|
Relationships: [];
|
|
3826
3896
|
};
|
|
3827
|
-
|
|
3897
|
+
exact_auth_invoice_lines: {
|
|
3828
3898
|
Row: {
|
|
3829
|
-
|
|
3830
|
-
|
|
3899
|
+
account_key: string;
|
|
3900
|
+
amount_excl: number | null;
|
|
3901
|
+
created_at: string;
|
|
3902
|
+
description: string | null;
|
|
3903
|
+
discount: number | null;
|
|
3904
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3905
|
+
exact_id: string;
|
|
3906
|
+
exact_timestamp: number | null;
|
|
3907
|
+
id: string;
|
|
3908
|
+
invoice_exact_id: string;
|
|
3909
|
+
item_code: string | null;
|
|
3910
|
+
item_exact_id: string | null;
|
|
3911
|
+
line_number: number | null;
|
|
3912
|
+
quantity: number | null;
|
|
3913
|
+
raw: Json | null;
|
|
3914
|
+
unit_price: number | null;
|
|
3915
|
+
updated_at: string;
|
|
3916
|
+
vat_amount: number | null;
|
|
3917
|
+
vat_code: string | null;
|
|
3918
|
+
};
|
|
3919
|
+
Insert: {
|
|
3920
|
+
account_key?: string;
|
|
3921
|
+
amount_excl?: number | null;
|
|
3922
|
+
created_at?: string;
|
|
3923
|
+
description?: string | null;
|
|
3924
|
+
discount?: number | null;
|
|
3925
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3926
|
+
exact_id: string;
|
|
3927
|
+
exact_timestamp?: number | null;
|
|
3928
|
+
id?: string;
|
|
3929
|
+
invoice_exact_id: string;
|
|
3930
|
+
item_code?: string | null;
|
|
3931
|
+
item_exact_id?: string | null;
|
|
3932
|
+
line_number?: number | null;
|
|
3933
|
+
quantity?: number | null;
|
|
3934
|
+
raw?: Json | null;
|
|
3935
|
+
unit_price?: number | null;
|
|
3936
|
+
updated_at?: string;
|
|
3937
|
+
vat_amount?: number | null;
|
|
3938
|
+
vat_code?: string | null;
|
|
3939
|
+
};
|
|
3940
|
+
Update: {
|
|
3941
|
+
account_key?: string;
|
|
3942
|
+
amount_excl?: number | null;
|
|
3943
|
+
created_at?: string;
|
|
3944
|
+
description?: string | null;
|
|
3945
|
+
discount?: number | null;
|
|
3946
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
3947
|
+
exact_id?: string;
|
|
3948
|
+
exact_timestamp?: number | null;
|
|
3949
|
+
id?: string;
|
|
3950
|
+
invoice_exact_id?: string;
|
|
3951
|
+
item_code?: string | null;
|
|
3952
|
+
item_exact_id?: string | null;
|
|
3953
|
+
line_number?: number | null;
|
|
3954
|
+
quantity?: number | null;
|
|
3955
|
+
raw?: Json | null;
|
|
3956
|
+
unit_price?: number | null;
|
|
3957
|
+
updated_at?: string;
|
|
3958
|
+
vat_amount?: number | null;
|
|
3959
|
+
vat_code?: string | null;
|
|
3960
|
+
};
|
|
3961
|
+
Relationships: [];
|
|
3962
|
+
};
|
|
3963
|
+
exact_auth_invoices: {
|
|
3964
|
+
Row: {
|
|
3965
|
+
account_key: string;
|
|
3966
|
+
amount_excl: number | null;
|
|
3967
|
+
amount_incl: number | null;
|
|
3968
|
+
amount_open: number | null;
|
|
3969
|
+
created_at: string;
|
|
3970
|
+
currency: string | null;
|
|
3971
|
+
customer_code: string | null;
|
|
3972
|
+
customer_exact_id: string | null;
|
|
3973
|
+
customer_name: string | null;
|
|
3974
|
+
description: string | null;
|
|
3975
|
+
division_code: number | null;
|
|
3976
|
+
due_date: string | null;
|
|
3977
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3978
|
+
exact_id: string;
|
|
3979
|
+
exact_modified: string | null;
|
|
3980
|
+
exact_timestamp: number | null;
|
|
3981
|
+
id: string;
|
|
3982
|
+
invoice_date: string | null;
|
|
3983
|
+
invoice_number: string | null;
|
|
3984
|
+
order_number: string | null;
|
|
3985
|
+
paid_at: string | null;
|
|
3986
|
+
payment_status: string;
|
|
3987
|
+
raw: Json | null;
|
|
3988
|
+
receivable_synced_at: string | null;
|
|
3989
|
+
status_code: number | null;
|
|
3990
|
+
updated_at: string;
|
|
3991
|
+
};
|
|
3992
|
+
Insert: {
|
|
3993
|
+
account_key?: string;
|
|
3994
|
+
amount_excl?: number | null;
|
|
3995
|
+
amount_incl?: number | null;
|
|
3996
|
+
amount_open?: number | null;
|
|
3997
|
+
created_at?: string;
|
|
3998
|
+
currency?: string | null;
|
|
3999
|
+
customer_code?: string | null;
|
|
4000
|
+
customer_exact_id?: string | null;
|
|
4001
|
+
customer_name?: string | null;
|
|
4002
|
+
description?: string | null;
|
|
4003
|
+
division_code?: number | null;
|
|
4004
|
+
due_date?: string | null;
|
|
4005
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
4006
|
+
exact_id: string;
|
|
4007
|
+
exact_modified?: string | null;
|
|
4008
|
+
exact_timestamp?: number | null;
|
|
4009
|
+
id?: string;
|
|
4010
|
+
invoice_date?: string | null;
|
|
4011
|
+
invoice_number?: string | null;
|
|
4012
|
+
order_number?: string | null;
|
|
4013
|
+
paid_at?: string | null;
|
|
4014
|
+
payment_status?: string;
|
|
4015
|
+
raw?: Json | null;
|
|
4016
|
+
receivable_synced_at?: string | null;
|
|
4017
|
+
status_code?: number | null;
|
|
4018
|
+
updated_at?: string;
|
|
4019
|
+
};
|
|
4020
|
+
Update: {
|
|
4021
|
+
account_key?: string;
|
|
4022
|
+
amount_excl?: number | null;
|
|
4023
|
+
amount_incl?: number | null;
|
|
4024
|
+
amount_open?: number | null;
|
|
4025
|
+
created_at?: string;
|
|
4026
|
+
currency?: string | null;
|
|
4027
|
+
customer_code?: string | null;
|
|
4028
|
+
customer_exact_id?: string | null;
|
|
4029
|
+
customer_name?: string | null;
|
|
4030
|
+
description?: string | null;
|
|
4031
|
+
division_code?: number | null;
|
|
4032
|
+
due_date?: string | null;
|
|
4033
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
4034
|
+
exact_id?: string;
|
|
4035
|
+
exact_modified?: string | null;
|
|
4036
|
+
exact_timestamp?: number | null;
|
|
4037
|
+
id?: string;
|
|
4038
|
+
invoice_date?: string | null;
|
|
4039
|
+
invoice_number?: string | null;
|
|
4040
|
+
order_number?: string | null;
|
|
4041
|
+
paid_at?: string | null;
|
|
4042
|
+
payment_status?: string;
|
|
4043
|
+
raw?: Json | null;
|
|
4044
|
+
receivable_synced_at?: string | null;
|
|
4045
|
+
status_code?: number | null;
|
|
4046
|
+
updated_at?: string;
|
|
4047
|
+
};
|
|
4048
|
+
Relationships: [];
|
|
4049
|
+
};
|
|
4050
|
+
exact_auth_items: {
|
|
4051
|
+
Row: {
|
|
4052
|
+
account_key: string;
|
|
4053
|
+
barcode: string | null;
|
|
4054
|
+
code: string | null;
|
|
4055
|
+
cost_price: number | null;
|
|
4056
|
+
created_at: string;
|
|
4057
|
+
description: string | null;
|
|
4058
|
+
division_code: number | null;
|
|
4059
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
4060
|
+
exact_id: string;
|
|
4061
|
+
exact_modified: string | null;
|
|
4062
|
+
exact_timestamp: number | null;
|
|
4063
|
+
gl_account_code: string | null;
|
|
4064
|
+
id: string;
|
|
4065
|
+
is_active: boolean;
|
|
4066
|
+
is_sales_item: boolean | null;
|
|
4067
|
+
item_type: string | null;
|
|
4068
|
+
raw: Json | null;
|
|
4069
|
+
sales_price: number | null;
|
|
4070
|
+
unit: string | null;
|
|
4071
|
+
updated_at: string;
|
|
4072
|
+
vat_code: string | null;
|
|
4073
|
+
};
|
|
4074
|
+
Insert: {
|
|
4075
|
+
account_key?: string;
|
|
4076
|
+
barcode?: string | null;
|
|
4077
|
+
code?: string | null;
|
|
4078
|
+
cost_price?: number | null;
|
|
4079
|
+
created_at?: string;
|
|
4080
|
+
description?: string | null;
|
|
4081
|
+
division_code?: number | null;
|
|
4082
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
4083
|
+
exact_id: string;
|
|
4084
|
+
exact_modified?: string | null;
|
|
4085
|
+
exact_timestamp?: number | null;
|
|
4086
|
+
gl_account_code?: string | null;
|
|
4087
|
+
id?: string;
|
|
4088
|
+
is_active?: boolean;
|
|
4089
|
+
is_sales_item?: boolean | null;
|
|
4090
|
+
item_type?: string | null;
|
|
4091
|
+
raw?: Json | null;
|
|
4092
|
+
sales_price?: number | null;
|
|
4093
|
+
unit?: string | null;
|
|
4094
|
+
updated_at?: string;
|
|
4095
|
+
vat_code?: string | null;
|
|
4096
|
+
};
|
|
4097
|
+
Update: {
|
|
4098
|
+
account_key?: string;
|
|
4099
|
+
barcode?: string | null;
|
|
4100
|
+
code?: string | null;
|
|
4101
|
+
cost_price?: number | null;
|
|
4102
|
+
created_at?: string;
|
|
4103
|
+
description?: string | null;
|
|
4104
|
+
division_code?: number | null;
|
|
4105
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
4106
|
+
exact_id?: string;
|
|
4107
|
+
exact_modified?: string | null;
|
|
4108
|
+
exact_timestamp?: number | null;
|
|
4109
|
+
gl_account_code?: string | null;
|
|
4110
|
+
id?: string;
|
|
4111
|
+
is_active?: boolean;
|
|
4112
|
+
is_sales_item?: boolean | null;
|
|
4113
|
+
item_type?: string | null;
|
|
4114
|
+
raw?: Json | null;
|
|
4115
|
+
sales_price?: number | null;
|
|
4116
|
+
unit?: string | null;
|
|
4117
|
+
updated_at?: string;
|
|
4118
|
+
vat_code?: string | null;
|
|
4119
|
+
};
|
|
4120
|
+
Relationships: [];
|
|
4121
|
+
};
|
|
4122
|
+
exact_auth_sync_log: {
|
|
4123
|
+
Row: {
|
|
4124
|
+
account_key: string;
|
|
4125
|
+
calls_used: number;
|
|
4126
|
+
created_at: string;
|
|
4127
|
+
domain: string;
|
|
4128
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
4129
|
+
error: string | null;
|
|
4130
|
+
finished_at: string | null;
|
|
4131
|
+
id: string;
|
|
4132
|
+
ok: boolean;
|
|
4133
|
+
records: number;
|
|
4134
|
+
started_at: string;
|
|
4135
|
+
};
|
|
4136
|
+
Insert: {
|
|
4137
|
+
account_key?: string;
|
|
4138
|
+
calls_used?: number;
|
|
4139
|
+
created_at?: string;
|
|
4140
|
+
domain: string;
|
|
4141
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
4142
|
+
error?: string | null;
|
|
4143
|
+
finished_at?: string | null;
|
|
4144
|
+
id?: string;
|
|
4145
|
+
ok?: boolean;
|
|
4146
|
+
records?: number;
|
|
4147
|
+
started_at?: string;
|
|
4148
|
+
};
|
|
4149
|
+
Update: {
|
|
4150
|
+
account_key?: string;
|
|
4151
|
+
calls_used?: number;
|
|
4152
|
+
created_at?: string;
|
|
4153
|
+
domain?: string;
|
|
4154
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
4155
|
+
error?: string | null;
|
|
4156
|
+
finished_at?: string | null;
|
|
4157
|
+
id?: string;
|
|
4158
|
+
ok?: boolean;
|
|
4159
|
+
records?: number;
|
|
4160
|
+
started_at?: string;
|
|
4161
|
+
};
|
|
4162
|
+
Relationships: [];
|
|
4163
|
+
};
|
|
4164
|
+
exact_auth_sync_state: {
|
|
4165
|
+
Row: {
|
|
4166
|
+
account_key: string;
|
|
4167
|
+
created_at: string;
|
|
4168
|
+
cursor_timestamp: number;
|
|
4169
|
+
division_code: number | null;
|
|
4170
|
+
domain: string;
|
|
4171
|
+
duration_ms: number | null;
|
|
4172
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
4173
|
+
initial_sync_done: boolean;
|
|
4174
|
+
last_error: string | null;
|
|
4175
|
+
last_run_at: string | null;
|
|
4176
|
+
last_success_at: string | null;
|
|
4177
|
+
locked_at: string | null;
|
|
4178
|
+
needs_initial_sync: boolean;
|
|
4179
|
+
record_count: number;
|
|
4180
|
+
updated_at: string;
|
|
4181
|
+
};
|
|
4182
|
+
Insert: {
|
|
4183
|
+
account_key?: string;
|
|
4184
|
+
created_at?: string;
|
|
4185
|
+
cursor_timestamp?: number;
|
|
4186
|
+
division_code?: number | null;
|
|
4187
|
+
domain: string;
|
|
4188
|
+
duration_ms?: number | null;
|
|
4189
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
4190
|
+
initial_sync_done?: boolean;
|
|
4191
|
+
last_error?: string | null;
|
|
4192
|
+
last_run_at?: string | null;
|
|
4193
|
+
last_success_at?: string | null;
|
|
4194
|
+
locked_at?: string | null;
|
|
4195
|
+
needs_initial_sync?: boolean;
|
|
4196
|
+
record_count?: number;
|
|
4197
|
+
updated_at?: string;
|
|
4198
|
+
};
|
|
4199
|
+
Update: {
|
|
4200
|
+
account_key?: string;
|
|
4201
|
+
created_at?: string;
|
|
4202
|
+
cursor_timestamp?: number;
|
|
4203
|
+
division_code?: number | null;
|
|
4204
|
+
domain?: string;
|
|
4205
|
+
duration_ms?: number | null;
|
|
4206
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
4207
|
+
initial_sync_done?: boolean;
|
|
4208
|
+
last_error?: string | null;
|
|
4209
|
+
last_run_at?: string | null;
|
|
4210
|
+
last_success_at?: string | null;
|
|
4211
|
+
locked_at?: string | null;
|
|
4212
|
+
needs_initial_sync?: boolean;
|
|
4213
|
+
record_count?: number;
|
|
4214
|
+
updated_at?: string;
|
|
4215
|
+
};
|
|
4216
|
+
Relationships: [];
|
|
4217
|
+
};
|
|
4218
|
+
exact_bulk_operation_items: {
|
|
4219
|
+
Row: {
|
|
4220
|
+
attempts: number;
|
|
4221
|
+
bulk_operation_id: string;
|
|
4222
|
+
created_at: string;
|
|
4223
|
+
error_message: string | null;
|
|
4224
|
+
id: string;
|
|
4225
|
+
invoice_cache_id: string | null;
|
|
4226
|
+
invoice_exact_id: string | null;
|
|
4227
|
+
processed_at: string | null;
|
|
4228
|
+
result_data: Json | null;
|
|
4229
|
+
status: string;
|
|
4230
|
+
};
|
|
4231
|
+
Insert: {
|
|
4232
|
+
attempts?: number;
|
|
4233
|
+
bulk_operation_id: string;
|
|
4234
|
+
created_at?: string;
|
|
4235
|
+
error_message?: string | null;
|
|
4236
|
+
id?: string;
|
|
4237
|
+
invoice_cache_id?: string | null;
|
|
4238
|
+
invoice_exact_id?: string | null;
|
|
4239
|
+
processed_at?: string | null;
|
|
4240
|
+
result_data?: Json | null;
|
|
4241
|
+
status?: string;
|
|
4242
|
+
};
|
|
4243
|
+
Update: {
|
|
4244
|
+
attempts?: number;
|
|
4245
|
+
bulk_operation_id?: string;
|
|
4246
|
+
created_at?: string;
|
|
4247
|
+
error_message?: string | null;
|
|
4248
|
+
id?: string;
|
|
4249
|
+
invoice_cache_id?: string | null;
|
|
4250
|
+
invoice_exact_id?: string | null;
|
|
4251
|
+
processed_at?: string | null;
|
|
4252
|
+
result_data?: Json | null;
|
|
4253
|
+
status?: string;
|
|
4254
|
+
};
|
|
4255
|
+
Relationships: [
|
|
4256
|
+
{
|
|
4257
|
+
foreignKeyName: "exact_bulk_operation_items_bulk_operation_id_fkey";
|
|
4258
|
+
columns: ["bulk_operation_id"];
|
|
4259
|
+
isOneToOne: false;
|
|
4260
|
+
referencedRelation: "exact_bulk_operations";
|
|
4261
|
+
referencedColumns: ["id"];
|
|
4262
|
+
},
|
|
4263
|
+
{
|
|
4264
|
+
foreignKeyName: "exact_bulk_operation_items_invoice_cache_id_fkey";
|
|
4265
|
+
columns: ["invoice_cache_id"];
|
|
4266
|
+
isOneToOne: false;
|
|
4267
|
+
referencedRelation: "exact_invoices_cache";
|
|
4268
|
+
referencedColumns: ["id"];
|
|
4269
|
+
}
|
|
4270
|
+
];
|
|
4271
|
+
};
|
|
4272
|
+
exact_bulk_operations: {
|
|
4273
|
+
Row: {
|
|
4274
|
+
completed_at: string | null;
|
|
4275
|
+
connection_id: string;
|
|
4276
|
+
created_at: string;
|
|
4277
|
+
created_by: string | null;
|
|
4278
|
+
error_message: string | null;
|
|
4279
|
+
failed_count: number | null;
|
|
4280
|
+
id: string;
|
|
4281
|
+
operation_type: string;
|
|
4282
|
+
processed_count: number | null;
|
|
4283
|
+
result_data: Json | null;
|
|
4284
|
+
started_at: string | null;
|
|
4285
|
+
status: string;
|
|
4286
|
+
total_count: number | null;
|
|
4287
|
+
updated_at: string;
|
|
4288
|
+
};
|
|
4289
|
+
Insert: {
|
|
4290
|
+
completed_at?: string | null;
|
|
4291
|
+
connection_id: string;
|
|
4292
|
+
created_at?: string;
|
|
4293
|
+
created_by?: string | null;
|
|
4294
|
+
error_message?: string | null;
|
|
4295
|
+
failed_count?: number | null;
|
|
4296
|
+
id?: string;
|
|
4297
|
+
operation_type: string;
|
|
4298
|
+
processed_count?: number | null;
|
|
4299
|
+
result_data?: Json | null;
|
|
4300
|
+
started_at?: string | null;
|
|
4301
|
+
status?: string;
|
|
4302
|
+
total_count?: number | null;
|
|
4303
|
+
updated_at?: string;
|
|
4304
|
+
};
|
|
4305
|
+
Update: {
|
|
4306
|
+
completed_at?: string | null;
|
|
4307
|
+
connection_id?: string;
|
|
4308
|
+
created_at?: string;
|
|
4309
|
+
created_by?: string | null;
|
|
4310
|
+
error_message?: string | null;
|
|
4311
|
+
failed_count?: number | null;
|
|
4312
|
+
id?: string;
|
|
4313
|
+
operation_type?: string;
|
|
4314
|
+
processed_count?: number | null;
|
|
4315
|
+
result_data?: Json | null;
|
|
4316
|
+
started_at?: string | null;
|
|
4317
|
+
status?: string;
|
|
4318
|
+
total_count?: number | null;
|
|
4319
|
+
updated_at?: string;
|
|
4320
|
+
};
|
|
4321
|
+
Relationships: [
|
|
4322
|
+
{
|
|
4323
|
+
foreignKeyName: "exact_bulk_operations_connection_id_fkey";
|
|
4324
|
+
columns: ["connection_id"];
|
|
4325
|
+
isOneToOne: false;
|
|
4326
|
+
referencedRelation: "exact_connections";
|
|
4327
|
+
referencedColumns: ["id"];
|
|
4328
|
+
}
|
|
4329
|
+
];
|
|
4330
|
+
};
|
|
4331
|
+
exact_connections: {
|
|
4332
|
+
Row: {
|
|
4333
|
+
access_token_encrypted: string;
|
|
4334
|
+
company_name: string | null;
|
|
4335
|
+
connected_at: string;
|
|
4336
|
+
connected_by: string | null;
|
|
4337
|
+
division_code: number | null;
|
|
4338
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
4339
|
+
expires_at: string;
|
|
4340
|
+
id: string;
|
|
4341
|
+
last_error: string | null;
|
|
4342
|
+
last_refreshed_at: string | null;
|
|
4343
|
+
last_tested_at: string | null;
|
|
4344
|
+
refresh_token_encrypted: string;
|
|
4345
|
+
status: string;
|
|
4346
|
+
updated_at: string;
|
|
4347
|
+
};
|
|
4348
|
+
Insert: {
|
|
4349
|
+
access_token_encrypted: string;
|
|
4350
|
+
company_name?: string | null;
|
|
4351
|
+
connected_at?: string;
|
|
4352
|
+
connected_by?: string | null;
|
|
4353
|
+
division_code?: number | null;
|
|
4354
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
4355
|
+
expires_at: string;
|
|
4356
|
+
id?: string;
|
|
4357
|
+
last_error?: string | null;
|
|
4358
|
+
last_refreshed_at?: string | null;
|
|
4359
|
+
last_tested_at?: string | null;
|
|
4360
|
+
refresh_token_encrypted: string;
|
|
4361
|
+
status?: string;
|
|
4362
|
+
updated_at?: string;
|
|
4363
|
+
};
|
|
4364
|
+
Update: {
|
|
4365
|
+
access_token_encrypted?: string;
|
|
4366
|
+
company_name?: string | null;
|
|
4367
|
+
connected_at?: string;
|
|
4368
|
+
connected_by?: string | null;
|
|
4369
|
+
division_code?: number | null;
|
|
4370
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
4371
|
+
expires_at?: string;
|
|
4372
|
+
id?: string;
|
|
4373
|
+
last_error?: string | null;
|
|
4374
|
+
last_refreshed_at?: string | null;
|
|
4375
|
+
last_tested_at?: string | null;
|
|
4376
|
+
refresh_token_encrypted?: string;
|
|
4377
|
+
status?: string;
|
|
4378
|
+
updated_at?: string;
|
|
4379
|
+
};
|
|
4380
|
+
Relationships: [];
|
|
4381
|
+
};
|
|
4382
|
+
exact_credentials: {
|
|
4383
|
+
Row: {
|
|
4384
|
+
client_id: string;
|
|
4385
|
+
client_secret_encrypted: string;
|
|
3831
4386
|
created_at: string;
|
|
3832
4387
|
environment: Database["public"]["Enums"]["exact_env"];
|
|
3833
4388
|
id: string;
|
|
@@ -5398,12 +5953,17 @@ export type Database = {
|
|
|
5398
5953
|
attempts: number;
|
|
5399
5954
|
connection_id: string;
|
|
5400
5955
|
created_at: string;
|
|
5956
|
+
desired_available: boolean | null;
|
|
5401
5957
|
gateway_attempt_id: string | null;
|
|
5402
5958
|
id: string;
|
|
5403
5959
|
last_error: string | null;
|
|
5960
|
+
locked_at: string | null;
|
|
5961
|
+
locked_by: string | null;
|
|
5962
|
+
next_attempt_at: string;
|
|
5404
5963
|
number_of_pieces: number;
|
|
5405
5964
|
sent_at: string | null;
|
|
5406
5965
|
status: string;
|
|
5966
|
+
superseded_by: string | null;
|
|
5407
5967
|
trade_item_id: string;
|
|
5408
5968
|
updated_at: string;
|
|
5409
5969
|
user_id: string;
|
|
@@ -5412,12 +5972,17 @@ export type Database = {
|
|
|
5412
5972
|
attempts?: number;
|
|
5413
5973
|
connection_id: string;
|
|
5414
5974
|
created_at?: string;
|
|
5975
|
+
desired_available?: boolean | null;
|
|
5415
5976
|
gateway_attempt_id?: string | null;
|
|
5416
5977
|
id?: string;
|
|
5417
5978
|
last_error?: string | null;
|
|
5979
|
+
locked_at?: string | null;
|
|
5980
|
+
locked_by?: string | null;
|
|
5981
|
+
next_attempt_at?: string;
|
|
5418
5982
|
number_of_pieces?: number;
|
|
5419
5983
|
sent_at?: string | null;
|
|
5420
5984
|
status?: string;
|
|
5985
|
+
superseded_by?: string | null;
|
|
5421
5986
|
trade_item_id: string;
|
|
5422
5987
|
updated_at?: string;
|
|
5423
5988
|
user_id: string;
|
|
@@ -5426,12 +5991,17 @@ export type Database = {
|
|
|
5426
5991
|
attempts?: number;
|
|
5427
5992
|
connection_id?: string;
|
|
5428
5993
|
created_at?: string;
|
|
5994
|
+
desired_available?: boolean | null;
|
|
5429
5995
|
gateway_attempt_id?: string | null;
|
|
5430
5996
|
id?: string;
|
|
5431
5997
|
last_error?: string | null;
|
|
5998
|
+
locked_at?: string | null;
|
|
5999
|
+
locked_by?: string | null;
|
|
6000
|
+
next_attempt_at?: string;
|
|
5432
6001
|
number_of_pieces?: number;
|
|
5433
6002
|
sent_at?: string | null;
|
|
5434
6003
|
status?: string;
|
|
6004
|
+
superseded_by?: string | null;
|
|
5435
6005
|
trade_item_id?: string;
|
|
5436
6006
|
updated_at?: string;
|
|
5437
6007
|
user_id?: string;
|
|
@@ -6196,6 +6766,7 @@ export type Database = {
|
|
|
6196
6766
|
Row: {
|
|
6197
6767
|
buyer_organization_id: string | null;
|
|
6198
6768
|
connection_id: string;
|
|
6769
|
+
controlled_at: string | null;
|
|
6199
6770
|
created_at: string;
|
|
6200
6771
|
data: Json;
|
|
6201
6772
|
floriday_id: string;
|
|
@@ -6207,6 +6778,7 @@ export type Database = {
|
|
|
6207
6778
|
Insert: {
|
|
6208
6779
|
buyer_organization_id?: string | null;
|
|
6209
6780
|
connection_id: string;
|
|
6781
|
+
controlled_at?: string | null;
|
|
6210
6782
|
created_at?: string;
|
|
6211
6783
|
data: Json;
|
|
6212
6784
|
floriday_id: string;
|
|
@@ -6218,6 +6790,7 @@ export type Database = {
|
|
|
6218
6790
|
Update: {
|
|
6219
6791
|
buyer_organization_id?: string | null;
|
|
6220
6792
|
connection_id?: string;
|
|
6793
|
+
controlled_at?: string | null;
|
|
6221
6794
|
created_at?: string;
|
|
6222
6795
|
data?: Json;
|
|
6223
6796
|
floriday_id?: string;
|
|
@@ -7151,6 +7724,54 @@ export type Database = {
|
|
|
7151
7724
|
};
|
|
7152
7725
|
Relationships: [];
|
|
7153
7726
|
};
|
|
7727
|
+
invoice_timing_settings: {
|
|
7728
|
+
Row: {
|
|
7729
|
+
anchor: string;
|
|
7730
|
+
business_days_only: boolean;
|
|
7731
|
+
created_at: string;
|
|
7732
|
+
enabled: boolean;
|
|
7733
|
+
id: string;
|
|
7734
|
+
offset_days: number;
|
|
7735
|
+
pickup_anchor: string;
|
|
7736
|
+
pickup_business_days_only: boolean;
|
|
7737
|
+
pickup_offset_days: number;
|
|
7738
|
+
pickup_time_of_day: string;
|
|
7739
|
+
singleton: boolean;
|
|
7740
|
+
time_of_day: string;
|
|
7741
|
+
updated_at: string;
|
|
7742
|
+
};
|
|
7743
|
+
Insert: {
|
|
7744
|
+
anchor?: string;
|
|
7745
|
+
business_days_only?: boolean;
|
|
7746
|
+
created_at?: string;
|
|
7747
|
+
enabled?: boolean;
|
|
7748
|
+
id?: string;
|
|
7749
|
+
offset_days?: number;
|
|
7750
|
+
pickup_anchor?: string;
|
|
7751
|
+
pickup_business_days_only?: boolean;
|
|
7752
|
+
pickup_offset_days?: number;
|
|
7753
|
+
pickup_time_of_day?: string;
|
|
7754
|
+
singleton?: boolean;
|
|
7755
|
+
time_of_day?: string;
|
|
7756
|
+
updated_at?: string;
|
|
7757
|
+
};
|
|
7758
|
+
Update: {
|
|
7759
|
+
anchor?: string;
|
|
7760
|
+
business_days_only?: boolean;
|
|
7761
|
+
created_at?: string;
|
|
7762
|
+
enabled?: boolean;
|
|
7763
|
+
id?: string;
|
|
7764
|
+
offset_days?: number;
|
|
7765
|
+
pickup_anchor?: string;
|
|
7766
|
+
pickup_business_days_only?: boolean;
|
|
7767
|
+
pickup_offset_days?: number;
|
|
7768
|
+
pickup_time_of_day?: string;
|
|
7769
|
+
singleton?: boolean;
|
|
7770
|
+
time_of_day?: string;
|
|
7771
|
+
updated_at?: string;
|
|
7772
|
+
};
|
|
7773
|
+
Relationships: [];
|
|
7774
|
+
};
|
|
7154
7775
|
itk_contact_persons: {
|
|
7155
7776
|
Row: {
|
|
7156
7777
|
created_at: string;
|
|
@@ -7355,6 +7976,260 @@ export type Database = {
|
|
|
7355
7976
|
};
|
|
7356
7977
|
Relationships: [];
|
|
7357
7978
|
};
|
|
7979
|
+
itk_offerte_events: {
|
|
7980
|
+
Row: {
|
|
7981
|
+
created_at: string;
|
|
7982
|
+
event_type: string;
|
|
7983
|
+
id: string;
|
|
7984
|
+
metadata: Json;
|
|
7985
|
+
offerte_id: string;
|
|
7986
|
+
omschrijving: string | null;
|
|
7987
|
+
user_id: string | null;
|
|
7988
|
+
};
|
|
7989
|
+
Insert: {
|
|
7990
|
+
created_at?: string;
|
|
7991
|
+
event_type: string;
|
|
7992
|
+
id?: string;
|
|
7993
|
+
metadata?: Json;
|
|
7994
|
+
offerte_id: string;
|
|
7995
|
+
omschrijving?: string | null;
|
|
7996
|
+
user_id?: string | null;
|
|
7997
|
+
};
|
|
7998
|
+
Update: {
|
|
7999
|
+
created_at?: string;
|
|
8000
|
+
event_type?: string;
|
|
8001
|
+
id?: string;
|
|
8002
|
+
metadata?: Json;
|
|
8003
|
+
offerte_id?: string;
|
|
8004
|
+
omschrijving?: string | null;
|
|
8005
|
+
user_id?: string | null;
|
|
8006
|
+
};
|
|
8007
|
+
Relationships: [
|
|
8008
|
+
{
|
|
8009
|
+
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
8010
|
+
columns: ["offerte_id"];
|
|
8011
|
+
isOneToOne: false;
|
|
8012
|
+
referencedRelation: "itk_offertes";
|
|
8013
|
+
referencedColumns: ["id"];
|
|
8014
|
+
}
|
|
8015
|
+
];
|
|
8016
|
+
};
|
|
8017
|
+
itk_offerte_regels: {
|
|
8018
|
+
Row: {
|
|
8019
|
+
created_at: string;
|
|
8020
|
+
id: string;
|
|
8021
|
+
line_total_cents: number;
|
|
8022
|
+
offerte_id: string;
|
|
8023
|
+
omschrijving: string;
|
|
8024
|
+
package_id: string | null;
|
|
8025
|
+
quantity: number;
|
|
8026
|
+
sort_order: number;
|
|
8027
|
+
source: string;
|
|
8028
|
+
unit_price_cents: number;
|
|
8029
|
+
updated_at: string;
|
|
8030
|
+
};
|
|
8031
|
+
Insert: {
|
|
8032
|
+
created_at?: string;
|
|
8033
|
+
id?: string;
|
|
8034
|
+
line_total_cents?: number;
|
|
8035
|
+
offerte_id: string;
|
|
8036
|
+
omschrijving?: string;
|
|
8037
|
+
package_id?: string | null;
|
|
8038
|
+
quantity?: number;
|
|
8039
|
+
sort_order?: number;
|
|
8040
|
+
source?: string;
|
|
8041
|
+
unit_price_cents?: number;
|
|
8042
|
+
updated_at?: string;
|
|
8043
|
+
};
|
|
8044
|
+
Update: {
|
|
8045
|
+
created_at?: string;
|
|
8046
|
+
id?: string;
|
|
8047
|
+
line_total_cents?: number;
|
|
8048
|
+
offerte_id?: string;
|
|
8049
|
+
omschrijving?: string;
|
|
8050
|
+
package_id?: string | null;
|
|
8051
|
+
quantity?: number;
|
|
8052
|
+
sort_order?: number;
|
|
8053
|
+
source?: string;
|
|
8054
|
+
unit_price_cents?: number;
|
|
8055
|
+
updated_at?: string;
|
|
8056
|
+
};
|
|
8057
|
+
Relationships: [
|
|
8058
|
+
{
|
|
8059
|
+
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
8060
|
+
columns: ["offerte_id"];
|
|
8061
|
+
isOneToOne: false;
|
|
8062
|
+
referencedRelation: "itk_offertes";
|
|
8063
|
+
referencedColumns: ["id"];
|
|
8064
|
+
},
|
|
8065
|
+
{
|
|
8066
|
+
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
8067
|
+
columns: ["package_id"];
|
|
8068
|
+
isOneToOne: false;
|
|
8069
|
+
referencedRelation: "werkbon_packages";
|
|
8070
|
+
referencedColumns: ["id"];
|
|
8071
|
+
}
|
|
8072
|
+
];
|
|
8073
|
+
};
|
|
8074
|
+
itk_offerte_settings: {
|
|
8075
|
+
Row: {
|
|
8076
|
+
auto_convert_binnen_mandaat: boolean;
|
|
8077
|
+
created_at: string;
|
|
8078
|
+
default_geldigheid_dagen: number;
|
|
8079
|
+
default_vat_rate: number;
|
|
8080
|
+
id: string;
|
|
8081
|
+
singleton: boolean;
|
|
8082
|
+
updated_at: string;
|
|
8083
|
+
};
|
|
8084
|
+
Insert: {
|
|
8085
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
8086
|
+
created_at?: string;
|
|
8087
|
+
default_geldigheid_dagen?: number;
|
|
8088
|
+
default_vat_rate?: number;
|
|
8089
|
+
id?: string;
|
|
8090
|
+
singleton?: boolean;
|
|
8091
|
+
updated_at?: string;
|
|
8092
|
+
};
|
|
8093
|
+
Update: {
|
|
8094
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
8095
|
+
created_at?: string;
|
|
8096
|
+
default_geldigheid_dagen?: number;
|
|
8097
|
+
default_vat_rate?: number;
|
|
8098
|
+
id?: string;
|
|
8099
|
+
singleton?: boolean;
|
|
8100
|
+
updated_at?: string;
|
|
8101
|
+
};
|
|
8102
|
+
Relationships: [];
|
|
8103
|
+
};
|
|
8104
|
+
itk_offertes: {
|
|
8105
|
+
Row: {
|
|
8106
|
+
ai_generated: boolean;
|
|
8107
|
+
approved_at: string | null;
|
|
8108
|
+
binnen_mandaat: boolean;
|
|
8109
|
+
contact_id: string | null;
|
|
8110
|
+
converted_at: string | null;
|
|
8111
|
+
created_at: string;
|
|
8112
|
+
created_by: string | null;
|
|
8113
|
+
customer_id: string | null;
|
|
8114
|
+
follow_up_werkbon_id: string | null;
|
|
8115
|
+
id: string;
|
|
8116
|
+
jaar: number;
|
|
8117
|
+
mandaat_restant_cents: number;
|
|
8118
|
+
notities: string | null;
|
|
8119
|
+
offerte_number: string | null;
|
|
8120
|
+
omschrijving: string;
|
|
8121
|
+
rejected_at: string | null;
|
|
8122
|
+
sent_at: string | null;
|
|
8123
|
+
status: string;
|
|
8124
|
+
subtotal_cents: number;
|
|
8125
|
+
total_cents: number;
|
|
8126
|
+
updated_at: string;
|
|
8127
|
+
valid_until: string | null;
|
|
8128
|
+
vat_cents: number;
|
|
8129
|
+
vat_rate: number;
|
|
8130
|
+
viewed_at: string | null;
|
|
8131
|
+
volgnummer: number | null;
|
|
8132
|
+
werkbon_id: string | null;
|
|
8133
|
+
work_location_id: string | null;
|
|
8134
|
+
};
|
|
8135
|
+
Insert: {
|
|
8136
|
+
ai_generated?: boolean;
|
|
8137
|
+
approved_at?: string | null;
|
|
8138
|
+
binnen_mandaat?: boolean;
|
|
8139
|
+
contact_id?: string | null;
|
|
8140
|
+
converted_at?: string | null;
|
|
8141
|
+
created_at?: string;
|
|
8142
|
+
created_by?: string | null;
|
|
8143
|
+
customer_id?: string | null;
|
|
8144
|
+
follow_up_werkbon_id?: string | null;
|
|
8145
|
+
id?: string;
|
|
8146
|
+
jaar?: number;
|
|
8147
|
+
mandaat_restant_cents?: number;
|
|
8148
|
+
notities?: string | null;
|
|
8149
|
+
offerte_number?: string | null;
|
|
8150
|
+
omschrijving?: string;
|
|
8151
|
+
rejected_at?: string | null;
|
|
8152
|
+
sent_at?: string | null;
|
|
8153
|
+
status?: string;
|
|
8154
|
+
subtotal_cents?: number;
|
|
8155
|
+
total_cents?: number;
|
|
8156
|
+
updated_at?: string;
|
|
8157
|
+
valid_until?: string | null;
|
|
8158
|
+
vat_cents?: number;
|
|
8159
|
+
vat_rate?: number;
|
|
8160
|
+
viewed_at?: string | null;
|
|
8161
|
+
volgnummer?: number | null;
|
|
8162
|
+
werkbon_id?: string | null;
|
|
8163
|
+
work_location_id?: string | null;
|
|
8164
|
+
};
|
|
8165
|
+
Update: {
|
|
8166
|
+
ai_generated?: boolean;
|
|
8167
|
+
approved_at?: string | null;
|
|
8168
|
+
binnen_mandaat?: boolean;
|
|
8169
|
+
contact_id?: string | null;
|
|
8170
|
+
converted_at?: string | null;
|
|
8171
|
+
created_at?: string;
|
|
8172
|
+
created_by?: string | null;
|
|
8173
|
+
customer_id?: string | null;
|
|
8174
|
+
follow_up_werkbon_id?: string | null;
|
|
8175
|
+
id?: string;
|
|
8176
|
+
jaar?: number;
|
|
8177
|
+
mandaat_restant_cents?: number;
|
|
8178
|
+
notities?: string | null;
|
|
8179
|
+
offerte_number?: string | null;
|
|
8180
|
+
omschrijving?: string;
|
|
8181
|
+
rejected_at?: string | null;
|
|
8182
|
+
sent_at?: string | null;
|
|
8183
|
+
status?: string;
|
|
8184
|
+
subtotal_cents?: number;
|
|
8185
|
+
total_cents?: number;
|
|
8186
|
+
updated_at?: string;
|
|
8187
|
+
valid_until?: string | null;
|
|
8188
|
+
vat_cents?: number;
|
|
8189
|
+
vat_rate?: number;
|
|
8190
|
+
viewed_at?: string | null;
|
|
8191
|
+
volgnummer?: number | null;
|
|
8192
|
+
werkbon_id?: string | null;
|
|
8193
|
+
work_location_id?: string | null;
|
|
8194
|
+
};
|
|
8195
|
+
Relationships: [
|
|
8196
|
+
{
|
|
8197
|
+
foreignKeyName: "itk_offertes_contact_id_fkey";
|
|
8198
|
+
columns: ["contact_id"];
|
|
8199
|
+
isOneToOne: false;
|
|
8200
|
+
referencedRelation: "itk_contact_persons";
|
|
8201
|
+
referencedColumns: ["id"];
|
|
8202
|
+
},
|
|
8203
|
+
{
|
|
8204
|
+
foreignKeyName: "itk_offertes_customer_id_fkey";
|
|
8205
|
+
columns: ["customer_id"];
|
|
8206
|
+
isOneToOne: false;
|
|
8207
|
+
referencedRelation: "itk_customers";
|
|
8208
|
+
referencedColumns: ["id"];
|
|
8209
|
+
},
|
|
8210
|
+
{
|
|
8211
|
+
foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
|
|
8212
|
+
columns: ["follow_up_werkbon_id"];
|
|
8213
|
+
isOneToOne: false;
|
|
8214
|
+
referencedRelation: "werkbonnen";
|
|
8215
|
+
referencedColumns: ["id"];
|
|
8216
|
+
},
|
|
8217
|
+
{
|
|
8218
|
+
foreignKeyName: "itk_offertes_werkbon_id_fkey";
|
|
8219
|
+
columns: ["werkbon_id"];
|
|
8220
|
+
isOneToOne: false;
|
|
8221
|
+
referencedRelation: "werkbonnen";
|
|
8222
|
+
referencedColumns: ["id"];
|
|
8223
|
+
},
|
|
8224
|
+
{
|
|
8225
|
+
foreignKeyName: "itk_offertes_work_location_id_fkey";
|
|
8226
|
+
columns: ["work_location_id"];
|
|
8227
|
+
isOneToOne: false;
|
|
8228
|
+
referencedRelation: "itk_work_locations";
|
|
8229
|
+
referencedColumns: ["id"];
|
|
8230
|
+
}
|
|
8231
|
+
];
|
|
8232
|
+
};
|
|
7358
8233
|
itk_work_locations: {
|
|
7359
8234
|
Row: {
|
|
7360
8235
|
city: string | null;
|
|
@@ -7474,7 +8349,6 @@ export type Database = {
|
|
|
7474
8349
|
start_date: string;
|
|
7475
8350
|
start_time: string | null;
|
|
7476
8351
|
status: string;
|
|
7477
|
-
tenant_id: string;
|
|
7478
8352
|
updated_at: string;
|
|
7479
8353
|
user_id: string;
|
|
7480
8354
|
};
|
|
@@ -7492,7 +8366,6 @@ export type Database = {
|
|
|
7492
8366
|
start_date: string;
|
|
7493
8367
|
start_time?: string | null;
|
|
7494
8368
|
status?: string;
|
|
7495
|
-
tenant_id?: string;
|
|
7496
8369
|
updated_at?: string;
|
|
7497
8370
|
user_id: string;
|
|
7498
8371
|
};
|
|
@@ -7510,7 +8383,6 @@ export type Database = {
|
|
|
7510
8383
|
start_date?: string;
|
|
7511
8384
|
start_time?: string | null;
|
|
7512
8385
|
status?: string;
|
|
7513
|
-
tenant_id?: string;
|
|
7514
8386
|
updated_at?: string;
|
|
7515
8387
|
user_id?: string;
|
|
7516
8388
|
};
|
|
@@ -7519,14 +8391,14 @@ export type Database = {
|
|
|
7519
8391
|
foreignKeyName: "leave_requests_monteur_id_fkey";
|
|
7520
8392
|
columns: ["monteur_id"];
|
|
7521
8393
|
isOneToOne: false;
|
|
7522
|
-
referencedRelation: "
|
|
8394
|
+
referencedRelation: "profiles";
|
|
7523
8395
|
referencedColumns: ["id"];
|
|
7524
8396
|
},
|
|
7525
8397
|
{
|
|
7526
8398
|
foreignKeyName: "leave_requests_user_id_fkey";
|
|
7527
8399
|
columns: ["user_id"];
|
|
7528
8400
|
isOneToOne: false;
|
|
7529
|
-
referencedRelation: "
|
|
8401
|
+
referencedRelation: "profiles";
|
|
7530
8402
|
referencedColumns: ["id"];
|
|
7531
8403
|
}
|
|
7532
8404
|
];
|
|
@@ -8274,6 +9146,69 @@ export type Database = {
|
|
|
8274
9146
|
};
|
|
8275
9147
|
Relationships: [];
|
|
8276
9148
|
};
|
|
9149
|
+
logistics_floriday_pushes: {
|
|
9150
|
+
Row: {
|
|
9151
|
+
attempts: number;
|
|
9152
|
+
created_at: string;
|
|
9153
|
+
first_queued_at: string;
|
|
9154
|
+
fulfillment_order_id: string | null;
|
|
9155
|
+
id: string;
|
|
9156
|
+
last_error: string | null;
|
|
9157
|
+
last_error_at: string | null;
|
|
9158
|
+
last_sent_hash: string | null;
|
|
9159
|
+
locked_by: string | null;
|
|
9160
|
+
locked_until: string | null;
|
|
9161
|
+
next_attempt_at: string;
|
|
9162
|
+
order_ref: string;
|
|
9163
|
+
payload: Json;
|
|
9164
|
+
payload_hash: string | null;
|
|
9165
|
+
revision: number;
|
|
9166
|
+
sent_at: string | null;
|
|
9167
|
+
status: string;
|
|
9168
|
+
updated_at: string;
|
|
9169
|
+
};
|
|
9170
|
+
Insert: {
|
|
9171
|
+
attempts?: number;
|
|
9172
|
+
created_at?: string;
|
|
9173
|
+
first_queued_at?: string;
|
|
9174
|
+
fulfillment_order_id?: string | null;
|
|
9175
|
+
id?: string;
|
|
9176
|
+
last_error?: string | null;
|
|
9177
|
+
last_error_at?: string | null;
|
|
9178
|
+
last_sent_hash?: string | null;
|
|
9179
|
+
locked_by?: string | null;
|
|
9180
|
+
locked_until?: string | null;
|
|
9181
|
+
next_attempt_at?: string;
|
|
9182
|
+
order_ref: string;
|
|
9183
|
+
payload?: Json;
|
|
9184
|
+
payload_hash?: string | null;
|
|
9185
|
+
revision?: number;
|
|
9186
|
+
sent_at?: string | null;
|
|
9187
|
+
status?: string;
|
|
9188
|
+
updated_at?: string;
|
|
9189
|
+
};
|
|
9190
|
+
Update: {
|
|
9191
|
+
attempts?: number;
|
|
9192
|
+
created_at?: string;
|
|
9193
|
+
first_queued_at?: string;
|
|
9194
|
+
fulfillment_order_id?: string | null;
|
|
9195
|
+
id?: string;
|
|
9196
|
+
last_error?: string | null;
|
|
9197
|
+
last_error_at?: string | null;
|
|
9198
|
+
last_sent_hash?: string | null;
|
|
9199
|
+
locked_by?: string | null;
|
|
9200
|
+
locked_until?: string | null;
|
|
9201
|
+
next_attempt_at?: string;
|
|
9202
|
+
order_ref?: string;
|
|
9203
|
+
payload?: Json;
|
|
9204
|
+
payload_hash?: string | null;
|
|
9205
|
+
revision?: number;
|
|
9206
|
+
sent_at?: string | null;
|
|
9207
|
+
status?: string;
|
|
9208
|
+
updated_at?: string;
|
|
9209
|
+
};
|
|
9210
|
+
Relationships: [];
|
|
9211
|
+
};
|
|
8277
9212
|
logistics_formulas: {
|
|
8278
9213
|
Row: {
|
|
8279
9214
|
created_at: string;
|
|
@@ -8354,6 +9289,45 @@ export type Database = {
|
|
|
8354
9289
|
};
|
|
8355
9290
|
Relationships: [];
|
|
8356
9291
|
};
|
|
9292
|
+
logistics_plan_queue: {
|
|
9293
|
+
Row: {
|
|
9294
|
+
attempts: number;
|
|
9295
|
+
claimed_at: string | null;
|
|
9296
|
+
enqueued_at: string;
|
|
9297
|
+
error: string | null;
|
|
9298
|
+
id: string;
|
|
9299
|
+
next_attempt_at: string;
|
|
9300
|
+
order_id: string;
|
|
9301
|
+
reason: string;
|
|
9302
|
+
status: string;
|
|
9303
|
+
updated_at: string;
|
|
9304
|
+
};
|
|
9305
|
+
Insert: {
|
|
9306
|
+
attempts?: number;
|
|
9307
|
+
claimed_at?: string | null;
|
|
9308
|
+
enqueued_at?: string;
|
|
9309
|
+
error?: string | null;
|
|
9310
|
+
id?: string;
|
|
9311
|
+
next_attempt_at?: string;
|
|
9312
|
+
order_id: string;
|
|
9313
|
+
reason?: string;
|
|
9314
|
+
status?: string;
|
|
9315
|
+
updated_at?: string;
|
|
9316
|
+
};
|
|
9317
|
+
Update: {
|
|
9318
|
+
attempts?: number;
|
|
9319
|
+
claimed_at?: string | null;
|
|
9320
|
+
enqueued_at?: string;
|
|
9321
|
+
error?: string | null;
|
|
9322
|
+
id?: string;
|
|
9323
|
+
next_attempt_at?: string;
|
|
9324
|
+
order_id?: string;
|
|
9325
|
+
reason?: string;
|
|
9326
|
+
status?: string;
|
|
9327
|
+
updated_at?: string;
|
|
9328
|
+
};
|
|
9329
|
+
Relationships: [];
|
|
9330
|
+
};
|
|
8357
9331
|
logistics_plan_runs: {
|
|
8358
9332
|
Row: {
|
|
8359
9333
|
created_at: string;
|
|
@@ -8432,6 +9406,24 @@ export type Database = {
|
|
|
8432
9406
|
}
|
|
8433
9407
|
];
|
|
8434
9408
|
};
|
|
9409
|
+
logistics_plan_settings: {
|
|
9410
|
+
Row: {
|
|
9411
|
+
key: string;
|
|
9412
|
+
updated_at: string;
|
|
9413
|
+
value: string;
|
|
9414
|
+
};
|
|
9415
|
+
Insert: {
|
|
9416
|
+
key: string;
|
|
9417
|
+
updated_at?: string;
|
|
9418
|
+
value: string;
|
|
9419
|
+
};
|
|
9420
|
+
Update: {
|
|
9421
|
+
key?: string;
|
|
9422
|
+
updated_at?: string;
|
|
9423
|
+
value?: string;
|
|
9424
|
+
};
|
|
9425
|
+
Relationships: [];
|
|
9426
|
+
};
|
|
8435
9427
|
logistics_rebuffer_state: {
|
|
8436
9428
|
Row: {
|
|
8437
9429
|
created_at: string;
|
|
@@ -8896,6 +9888,8 @@ export type Database = {
|
|
|
8896
9888
|
};
|
|
8897
9889
|
logistics_tasks: {
|
|
8898
9890
|
Row: {
|
|
9891
|
+
attempt_log: Json;
|
|
9892
|
+
attempts: number;
|
|
8899
9893
|
buffer_ref: string | null;
|
|
8900
9894
|
claimed_at: string | null;
|
|
8901
9895
|
claimed_by: string | null;
|
|
@@ -8905,6 +9899,8 @@ export type Database = {
|
|
|
8905
9899
|
due_at: string | null;
|
|
8906
9900
|
error: string | null;
|
|
8907
9901
|
id: string;
|
|
9902
|
+
last_error: string | null;
|
|
9903
|
+
next_attempt_at: string | null;
|
|
8908
9904
|
order_ref: string;
|
|
8909
9905
|
owner_module: string;
|
|
8910
9906
|
payload: Json;
|
|
@@ -8925,6 +9921,8 @@ export type Database = {
|
|
|
8925
9921
|
user_id: string;
|
|
8926
9922
|
};
|
|
8927
9923
|
Insert: {
|
|
9924
|
+
attempt_log?: Json;
|
|
9925
|
+
attempts?: number;
|
|
8928
9926
|
buffer_ref?: string | null;
|
|
8929
9927
|
claimed_at?: string | null;
|
|
8930
9928
|
claimed_by?: string | null;
|
|
@@ -8934,6 +9932,8 @@ export type Database = {
|
|
|
8934
9932
|
due_at?: string | null;
|
|
8935
9933
|
error?: string | null;
|
|
8936
9934
|
id?: string;
|
|
9935
|
+
last_error?: string | null;
|
|
9936
|
+
next_attempt_at?: string | null;
|
|
8937
9937
|
order_ref: string;
|
|
8938
9938
|
owner_module: string;
|
|
8939
9939
|
payload?: Json;
|
|
@@ -8954,6 +9954,8 @@ export type Database = {
|
|
|
8954
9954
|
user_id?: string;
|
|
8955
9955
|
};
|
|
8956
9956
|
Update: {
|
|
9957
|
+
attempt_log?: Json;
|
|
9958
|
+
attempts?: number;
|
|
8957
9959
|
buffer_ref?: string | null;
|
|
8958
9960
|
claimed_at?: string | null;
|
|
8959
9961
|
claimed_by?: string | null;
|
|
@@ -8963,6 +9965,8 @@ export type Database = {
|
|
|
8963
9965
|
due_at?: string | null;
|
|
8964
9966
|
error?: string | null;
|
|
8965
9967
|
id?: string;
|
|
9968
|
+
last_error?: string | null;
|
|
9969
|
+
next_attempt_at?: string | null;
|
|
8966
9970
|
order_ref?: string;
|
|
8967
9971
|
owner_module?: string;
|
|
8968
9972
|
payload?: Json;
|
|
@@ -9140,14 +10144,17 @@ export type Database = {
|
|
|
9140
10144
|
};
|
|
9141
10145
|
mailbox_messages: {
|
|
9142
10146
|
Row: {
|
|
10147
|
+
attachments: Json;
|
|
9143
10148
|
body_html: string | null;
|
|
9144
10149
|
body_text: string | null;
|
|
10150
|
+
cc_recipients: Json;
|
|
9145
10151
|
connection_id: string | null;
|
|
9146
10152
|
created_at: string;
|
|
9147
10153
|
error_message: string | null;
|
|
9148
10154
|
external_id: string | null;
|
|
9149
10155
|
from_email: string | null;
|
|
9150
10156
|
from_name: string | null;
|
|
10157
|
+
has_attachments: boolean;
|
|
9151
10158
|
id: string;
|
|
9152
10159
|
message_id: string | null;
|
|
9153
10160
|
profile_id: string | null;
|
|
@@ -9155,18 +10162,22 @@ export type Database = {
|
|
|
9155
10162
|
received_at: string | null;
|
|
9156
10163
|
status: string;
|
|
9157
10164
|
subject: string | null;
|
|
10165
|
+
to_recipients: Json;
|
|
9158
10166
|
uid: number | null;
|
|
9159
10167
|
updated_at: string;
|
|
9160
10168
|
};
|
|
9161
10169
|
Insert: {
|
|
10170
|
+
attachments?: Json;
|
|
9162
10171
|
body_html?: string | null;
|
|
9163
10172
|
body_text?: string | null;
|
|
10173
|
+
cc_recipients?: Json;
|
|
9164
10174
|
connection_id?: string | null;
|
|
9165
10175
|
created_at?: string;
|
|
9166
10176
|
error_message?: string | null;
|
|
9167
10177
|
external_id?: string | null;
|
|
9168
10178
|
from_email?: string | null;
|
|
9169
10179
|
from_name?: string | null;
|
|
10180
|
+
has_attachments?: boolean;
|
|
9170
10181
|
id?: string;
|
|
9171
10182
|
message_id?: string | null;
|
|
9172
10183
|
profile_id?: string | null;
|
|
@@ -9174,18 +10185,22 @@ export type Database = {
|
|
|
9174
10185
|
received_at?: string | null;
|
|
9175
10186
|
status?: string;
|
|
9176
10187
|
subject?: string | null;
|
|
10188
|
+
to_recipients?: Json;
|
|
9177
10189
|
uid?: number | null;
|
|
9178
10190
|
updated_at?: string;
|
|
9179
10191
|
};
|
|
9180
10192
|
Update: {
|
|
10193
|
+
attachments?: Json;
|
|
9181
10194
|
body_html?: string | null;
|
|
9182
10195
|
body_text?: string | null;
|
|
10196
|
+
cc_recipients?: Json;
|
|
9183
10197
|
connection_id?: string | null;
|
|
9184
10198
|
created_at?: string;
|
|
9185
10199
|
error_message?: string | null;
|
|
9186
10200
|
external_id?: string | null;
|
|
9187
10201
|
from_email?: string | null;
|
|
9188
10202
|
from_name?: string | null;
|
|
10203
|
+
has_attachments?: boolean;
|
|
9189
10204
|
id?: string;
|
|
9190
10205
|
message_id?: string | null;
|
|
9191
10206
|
profile_id?: string | null;
|
|
@@ -9193,6 +10208,7 @@ export type Database = {
|
|
|
9193
10208
|
received_at?: string | null;
|
|
9194
10209
|
status?: string;
|
|
9195
10210
|
subject?: string | null;
|
|
10211
|
+
to_recipients?: Json;
|
|
9196
10212
|
uid?: number | null;
|
|
9197
10213
|
updated_at?: string;
|
|
9198
10214
|
};
|
|
@@ -9590,30 +10606,210 @@ export type Database = {
|
|
|
9590
10606
|
};
|
|
9591
10607
|
Relationships: [];
|
|
9592
10608
|
};
|
|
9593
|
-
|
|
10609
|
+
material_usage: {
|
|
10610
|
+
Row: {
|
|
10611
|
+
created_at: string;
|
|
10612
|
+
id: string;
|
|
10613
|
+
material_name: string;
|
|
10614
|
+
monteur_id: string | null;
|
|
10615
|
+
price_at_time: number;
|
|
10616
|
+
quantity_used: number;
|
|
10617
|
+
updated_at: string;
|
|
10618
|
+
van_inventory_id: string | null;
|
|
10619
|
+
work_order_id: string;
|
|
10620
|
+
};
|
|
10621
|
+
Insert: {
|
|
10622
|
+
created_at?: string;
|
|
10623
|
+
id?: string;
|
|
10624
|
+
material_name: string;
|
|
10625
|
+
monteur_id?: string | null;
|
|
10626
|
+
price_at_time?: number;
|
|
10627
|
+
quantity_used?: number;
|
|
10628
|
+
updated_at?: string;
|
|
10629
|
+
van_inventory_id?: string | null;
|
|
10630
|
+
work_order_id: string;
|
|
10631
|
+
};
|
|
10632
|
+
Update: {
|
|
10633
|
+
created_at?: string;
|
|
10634
|
+
id?: string;
|
|
10635
|
+
material_name?: string;
|
|
10636
|
+
monteur_id?: string | null;
|
|
10637
|
+
price_at_time?: number;
|
|
10638
|
+
quantity_used?: number;
|
|
10639
|
+
updated_at?: string;
|
|
10640
|
+
van_inventory_id?: string | null;
|
|
10641
|
+
work_order_id?: string;
|
|
10642
|
+
};
|
|
10643
|
+
Relationships: [
|
|
10644
|
+
{
|
|
10645
|
+
foreignKeyName: "material_usage_monteur_id_fkey";
|
|
10646
|
+
columns: ["monteur_id"];
|
|
10647
|
+
isOneToOne: false;
|
|
10648
|
+
referencedRelation: "profiles";
|
|
10649
|
+
referencedColumns: ["id"];
|
|
10650
|
+
},
|
|
10651
|
+
{
|
|
10652
|
+
foreignKeyName: "material_usage_van_inventory_id_fkey";
|
|
10653
|
+
columns: ["van_inventory_id"];
|
|
10654
|
+
isOneToOne: false;
|
|
10655
|
+
referencedRelation: "van_inventories";
|
|
10656
|
+
referencedColumns: ["id"];
|
|
10657
|
+
},
|
|
10658
|
+
{
|
|
10659
|
+
foreignKeyName: "material_usage_work_order_id_fkey";
|
|
10660
|
+
columns: ["work_order_id"];
|
|
10661
|
+
isOneToOne: false;
|
|
10662
|
+
referencedRelation: "work_orders";
|
|
10663
|
+
referencedColumns: ["id"];
|
|
10664
|
+
}
|
|
10665
|
+
];
|
|
10666
|
+
};
|
|
10667
|
+
medewerker_details: {
|
|
10668
|
+
Row: {
|
|
10669
|
+
color: string | null;
|
|
10670
|
+
created_at: string;
|
|
10671
|
+
hours_fri: number | null;
|
|
10672
|
+
hours_mon: number | null;
|
|
10673
|
+
hours_thu: number | null;
|
|
10674
|
+
hours_tue: number | null;
|
|
10675
|
+
hours_wed: number | null;
|
|
10676
|
+
id: string;
|
|
10677
|
+
is_active: boolean;
|
|
10678
|
+
leave_balance_hours: number;
|
|
10679
|
+
persnr: string | null;
|
|
10680
|
+
phone: string | null;
|
|
10681
|
+
profile_id: string;
|
|
10682
|
+
updated_at: string;
|
|
10683
|
+
};
|
|
10684
|
+
Insert: {
|
|
10685
|
+
color?: string | null;
|
|
10686
|
+
created_at?: string;
|
|
10687
|
+
hours_fri?: number | null;
|
|
10688
|
+
hours_mon?: number | null;
|
|
10689
|
+
hours_thu?: number | null;
|
|
10690
|
+
hours_tue?: number | null;
|
|
10691
|
+
hours_wed?: number | null;
|
|
10692
|
+
id?: string;
|
|
10693
|
+
is_active?: boolean;
|
|
10694
|
+
leave_balance_hours?: number;
|
|
10695
|
+
persnr?: string | null;
|
|
10696
|
+
phone?: string | null;
|
|
10697
|
+
profile_id: string;
|
|
10698
|
+
updated_at?: string;
|
|
10699
|
+
};
|
|
10700
|
+
Update: {
|
|
10701
|
+
color?: string | null;
|
|
10702
|
+
created_at?: string;
|
|
10703
|
+
hours_fri?: number | null;
|
|
10704
|
+
hours_mon?: number | null;
|
|
10705
|
+
hours_thu?: number | null;
|
|
10706
|
+
hours_tue?: number | null;
|
|
10707
|
+
hours_wed?: number | null;
|
|
10708
|
+
id?: string;
|
|
10709
|
+
is_active?: boolean;
|
|
10710
|
+
leave_balance_hours?: number;
|
|
10711
|
+
persnr?: string | null;
|
|
10712
|
+
phone?: string | null;
|
|
10713
|
+
profile_id?: string;
|
|
10714
|
+
updated_at?: string;
|
|
10715
|
+
};
|
|
10716
|
+
Relationships: [
|
|
10717
|
+
{
|
|
10718
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
10719
|
+
columns: ["profile_id"];
|
|
10720
|
+
isOneToOne: true;
|
|
10721
|
+
referencedRelation: "profiles";
|
|
10722
|
+
referencedColumns: ["id"];
|
|
10723
|
+
}
|
|
10724
|
+
];
|
|
10725
|
+
};
|
|
10726
|
+
module_features: {
|
|
10727
|
+
Row: {
|
|
10728
|
+
created_at: string;
|
|
10729
|
+
feature_id: string;
|
|
10730
|
+
id: string;
|
|
10731
|
+
is_active: boolean;
|
|
10732
|
+
last_seen_at: string;
|
|
10733
|
+
module_id: string;
|
|
10734
|
+
name: string;
|
|
10735
|
+
};
|
|
10736
|
+
Insert: {
|
|
10737
|
+
created_at?: string;
|
|
10738
|
+
feature_id: string;
|
|
10739
|
+
id?: string;
|
|
10740
|
+
is_active?: boolean;
|
|
10741
|
+
last_seen_at?: string;
|
|
10742
|
+
module_id: string;
|
|
10743
|
+
name: string;
|
|
10744
|
+
};
|
|
10745
|
+
Update: {
|
|
10746
|
+
created_at?: string;
|
|
10747
|
+
feature_id?: string;
|
|
10748
|
+
id?: string;
|
|
10749
|
+
is_active?: boolean;
|
|
10750
|
+
last_seen_at?: string;
|
|
10751
|
+
module_id?: string;
|
|
10752
|
+
name?: string;
|
|
10753
|
+
};
|
|
10754
|
+
Relationships: [];
|
|
10755
|
+
};
|
|
10756
|
+
module_permissions: {
|
|
10757
|
+
Row: {
|
|
10758
|
+
created_at: string;
|
|
10759
|
+
id: string;
|
|
10760
|
+
module_id: string;
|
|
10761
|
+
permission: string;
|
|
10762
|
+
role: Database["public"]["Enums"]["app_role"];
|
|
10763
|
+
updated_at: string;
|
|
10764
|
+
};
|
|
10765
|
+
Insert: {
|
|
10766
|
+
created_at?: string;
|
|
10767
|
+
id?: string;
|
|
10768
|
+
module_id: string;
|
|
10769
|
+
permission: string;
|
|
10770
|
+
role: Database["public"]["Enums"]["app_role"];
|
|
10771
|
+
updated_at?: string;
|
|
10772
|
+
};
|
|
10773
|
+
Update: {
|
|
10774
|
+
created_at?: string;
|
|
10775
|
+
id?: string;
|
|
10776
|
+
module_id?: string;
|
|
10777
|
+
permission?: string;
|
|
10778
|
+
role?: Database["public"]["Enums"]["app_role"];
|
|
10779
|
+
updated_at?: string;
|
|
10780
|
+
};
|
|
10781
|
+
Relationships: [];
|
|
10782
|
+
};
|
|
10783
|
+
module_registry: {
|
|
9594
10784
|
Row: {
|
|
9595
10785
|
created_at: string;
|
|
9596
|
-
|
|
10786
|
+
enforce: boolean;
|
|
10787
|
+
is_active: boolean;
|
|
10788
|
+
last_seen_at: string;
|
|
9597
10789
|
module_id: string;
|
|
9598
|
-
|
|
9599
|
-
|
|
9600
|
-
|
|
10790
|
+
name: string;
|
|
10791
|
+
shell_id: string | null;
|
|
10792
|
+
sort_order: number | null;
|
|
9601
10793
|
};
|
|
9602
10794
|
Insert: {
|
|
9603
10795
|
created_at?: string;
|
|
9604
|
-
|
|
10796
|
+
enforce?: boolean;
|
|
10797
|
+
is_active?: boolean;
|
|
10798
|
+
last_seen_at?: string;
|
|
9605
10799
|
module_id: string;
|
|
9606
|
-
|
|
9607
|
-
|
|
9608
|
-
|
|
10800
|
+
name: string;
|
|
10801
|
+
shell_id?: string | null;
|
|
10802
|
+
sort_order?: number | null;
|
|
9609
10803
|
};
|
|
9610
10804
|
Update: {
|
|
9611
10805
|
created_at?: string;
|
|
9612
|
-
|
|
10806
|
+
enforce?: boolean;
|
|
10807
|
+
is_active?: boolean;
|
|
10808
|
+
last_seen_at?: string;
|
|
9613
10809
|
module_id?: string;
|
|
9614
|
-
|
|
9615
|
-
|
|
9616
|
-
|
|
10810
|
+
name?: string;
|
|
10811
|
+
shell_id?: string | null;
|
|
10812
|
+
sort_order?: number | null;
|
|
9617
10813
|
};
|
|
9618
10814
|
Relationships: [];
|
|
9619
10815
|
};
|
|
@@ -9668,65 +10864,6 @@ export type Database = {
|
|
|
9668
10864
|
};
|
|
9669
10865
|
Relationships: [];
|
|
9670
10866
|
};
|
|
9671
|
-
monteurs: {
|
|
9672
|
-
Row: {
|
|
9673
|
-
avatar_url: string | null;
|
|
9674
|
-
color: string | null;
|
|
9675
|
-
created_at: string;
|
|
9676
|
-
email: string | null;
|
|
9677
|
-
id: string;
|
|
9678
|
-
is_active: boolean;
|
|
9679
|
-
leave_balance_hours: number;
|
|
9680
|
-
name: string;
|
|
9681
|
-
persnr: number | null;
|
|
9682
|
-
phone: string | null;
|
|
9683
|
-
role: string;
|
|
9684
|
-
tenant_id: string;
|
|
9685
|
-
updated_at: string;
|
|
9686
|
-
user_id: string | null;
|
|
9687
|
-
};
|
|
9688
|
-
Insert: {
|
|
9689
|
-
avatar_url?: string | null;
|
|
9690
|
-
color?: string | null;
|
|
9691
|
-
created_at?: string;
|
|
9692
|
-
email?: string | null;
|
|
9693
|
-
id?: string;
|
|
9694
|
-
is_active?: boolean;
|
|
9695
|
-
leave_balance_hours?: number;
|
|
9696
|
-
name: string;
|
|
9697
|
-
persnr?: number | null;
|
|
9698
|
-
phone?: string | null;
|
|
9699
|
-
role?: string;
|
|
9700
|
-
tenant_id: string;
|
|
9701
|
-
updated_at?: string;
|
|
9702
|
-
user_id?: string | null;
|
|
9703
|
-
};
|
|
9704
|
-
Update: {
|
|
9705
|
-
avatar_url?: string | null;
|
|
9706
|
-
color?: string | null;
|
|
9707
|
-
created_at?: string;
|
|
9708
|
-
email?: string | null;
|
|
9709
|
-
id?: string;
|
|
9710
|
-
is_active?: boolean;
|
|
9711
|
-
leave_balance_hours?: number;
|
|
9712
|
-
name?: string;
|
|
9713
|
-
persnr?: number | null;
|
|
9714
|
-
phone?: string | null;
|
|
9715
|
-
role?: string;
|
|
9716
|
-
tenant_id?: string;
|
|
9717
|
-
updated_at?: string;
|
|
9718
|
-
user_id?: string | null;
|
|
9719
|
-
};
|
|
9720
|
-
Relationships: [
|
|
9721
|
-
{
|
|
9722
|
-
foreignKeyName: "monteurs_tenant_id_fkey";
|
|
9723
|
-
columns: ["tenant_id"];
|
|
9724
|
-
isOneToOne: false;
|
|
9725
|
-
referencedRelation: "tenants";
|
|
9726
|
-
referencedColumns: ["id"];
|
|
9727
|
-
}
|
|
9728
|
-
];
|
|
9729
|
-
};
|
|
9730
10867
|
nmbrs_component_mapping: {
|
|
9731
10868
|
Row: {
|
|
9732
10869
|
created_at: string;
|
|
@@ -9799,15 +10936,7 @@ export type Database = {
|
|
|
9799
10936
|
nmbrs_employee_number?: string;
|
|
9800
10937
|
updated_at?: string;
|
|
9801
10938
|
};
|
|
9802
|
-
Relationships: [
|
|
9803
|
-
{
|
|
9804
|
-
foreignKeyName: "nmbrs_employee_mapping_monteur_id_fkey";
|
|
9805
|
-
columns: ["monteur_id"];
|
|
9806
|
-
isOneToOne: true;
|
|
9807
|
-
referencedRelation: "monteurs";
|
|
9808
|
-
referencedColumns: ["id"];
|
|
9809
|
-
}
|
|
9810
|
-
];
|
|
10939
|
+
Relationships: [];
|
|
9811
10940
|
};
|
|
9812
10941
|
nmbrs_export_lines: {
|
|
9813
10942
|
Row: {
|
|
@@ -9856,13 +10985,6 @@ export type Database = {
|
|
|
9856
10985
|
wage_code?: string;
|
|
9857
10986
|
};
|
|
9858
10987
|
Relationships: [
|
|
9859
|
-
{
|
|
9860
|
-
foreignKeyName: "nmbrs_export_lines_monteur_id_fkey";
|
|
9861
|
-
columns: ["monteur_id"];
|
|
9862
|
-
isOneToOne: false;
|
|
9863
|
-
referencedRelation: "monteurs";
|
|
9864
|
-
referencedColumns: ["id"];
|
|
9865
|
-
},
|
|
9866
10988
|
{
|
|
9867
10989
|
foreignKeyName: "nmbrs_export_lines_run_id_fkey";
|
|
9868
10990
|
columns: ["run_id"];
|
|
@@ -10358,6 +11480,7 @@ export type Database = {
|
|
|
10358
11480
|
};
|
|
10359
11481
|
offer_settings: {
|
|
10360
11482
|
Row: {
|
|
11483
|
+
brand_name: string | null;
|
|
10361
11484
|
button_color: string;
|
|
10362
11485
|
created_at: string;
|
|
10363
11486
|
default_countries: string[];
|
|
@@ -10379,6 +11502,7 @@ export type Database = {
|
|
|
10379
11502
|
updated_at: string;
|
|
10380
11503
|
};
|
|
10381
11504
|
Insert: {
|
|
11505
|
+
brand_name?: string | null;
|
|
10382
11506
|
button_color?: string;
|
|
10383
11507
|
created_at?: string;
|
|
10384
11508
|
default_countries?: string[];
|
|
@@ -10400,6 +11524,7 @@ export type Database = {
|
|
|
10400
11524
|
updated_at?: string;
|
|
10401
11525
|
};
|
|
10402
11526
|
Update: {
|
|
11527
|
+
brand_name?: string | null;
|
|
10403
11528
|
button_color?: string;
|
|
10404
11529
|
created_at?: string;
|
|
10405
11530
|
default_countries?: string[];
|
|
@@ -10710,6 +11835,45 @@ export type Database = {
|
|
|
10710
11835
|
};
|
|
10711
11836
|
Relationships: [];
|
|
10712
11837
|
};
|
|
11838
|
+
order_invoice_links: {
|
|
11839
|
+
Row: {
|
|
11840
|
+
attempts: number;
|
|
11841
|
+
created_at: string;
|
|
11842
|
+
error_message: string | null;
|
|
11843
|
+
id: string;
|
|
11844
|
+
invoice_number: string | null;
|
|
11845
|
+
next_attempt_at: string;
|
|
11846
|
+
order_id: string;
|
|
11847
|
+
processed_at: string | null;
|
|
11848
|
+
status: string;
|
|
11849
|
+
updated_at: string;
|
|
11850
|
+
};
|
|
11851
|
+
Insert: {
|
|
11852
|
+
attempts?: number;
|
|
11853
|
+
created_at?: string;
|
|
11854
|
+
error_message?: string | null;
|
|
11855
|
+
id?: string;
|
|
11856
|
+
invoice_number?: string | null;
|
|
11857
|
+
next_attempt_at?: string;
|
|
11858
|
+
order_id: string;
|
|
11859
|
+
processed_at?: string | null;
|
|
11860
|
+
status?: string;
|
|
11861
|
+
updated_at?: string;
|
|
11862
|
+
};
|
|
11863
|
+
Update: {
|
|
11864
|
+
attempts?: number;
|
|
11865
|
+
created_at?: string;
|
|
11866
|
+
error_message?: string | null;
|
|
11867
|
+
id?: string;
|
|
11868
|
+
invoice_number?: string | null;
|
|
11869
|
+
next_attempt_at?: string;
|
|
11870
|
+
order_id?: string;
|
|
11871
|
+
processed_at?: string | null;
|
|
11872
|
+
status?: string;
|
|
11873
|
+
updated_at?: string;
|
|
11874
|
+
};
|
|
11875
|
+
Relationships: [];
|
|
11876
|
+
};
|
|
10713
11877
|
order_items: {
|
|
10714
11878
|
Row: {
|
|
10715
11879
|
crates_per_layer: number | null;
|
|
@@ -10901,6 +12065,7 @@ export type Database = {
|
|
|
10901
12065
|
delivery_date: string | null;
|
|
10902
12066
|
floriday_sales_order_id: string | null;
|
|
10903
12067
|
id: string;
|
|
12068
|
+
invoice_due_at: string | null;
|
|
10904
12069
|
is_reservation: boolean;
|
|
10905
12070
|
notes: string | null;
|
|
10906
12071
|
order_date: string;
|
|
@@ -10922,6 +12087,7 @@ export type Database = {
|
|
|
10922
12087
|
delivery_date?: string | null;
|
|
10923
12088
|
floriday_sales_order_id?: string | null;
|
|
10924
12089
|
id?: string;
|
|
12090
|
+
invoice_due_at?: string | null;
|
|
10925
12091
|
is_reservation?: boolean;
|
|
10926
12092
|
notes?: string | null;
|
|
10927
12093
|
order_date?: string;
|
|
@@ -10943,6 +12109,7 @@ export type Database = {
|
|
|
10943
12109
|
delivery_date?: string | null;
|
|
10944
12110
|
floriday_sales_order_id?: string | null;
|
|
10945
12111
|
id?: string;
|
|
12112
|
+
invoice_due_at?: string | null;
|
|
10946
12113
|
is_reservation?: boolean;
|
|
10947
12114
|
notes?: string | null;
|
|
10948
12115
|
order_date?: string;
|
|
@@ -12183,22 +13350,27 @@ export type Database = {
|
|
|
12183
13350
|
created_at: string;
|
|
12184
13351
|
documentnaam: string;
|
|
12185
13352
|
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
13353
|
+
extern_job_id: string | null;
|
|
12186
13354
|
foutmelding: string | null;
|
|
12187
13355
|
gebruiker_id: string | null;
|
|
12188
13356
|
gebruiker_naam: string;
|
|
12189
13357
|
gestart_op: string | null;
|
|
12190
13358
|
id: string;
|
|
13359
|
+
idempotentie_sleutel: string | null;
|
|
12191
13360
|
is_herprint: boolean;
|
|
12192
13361
|
kopieen: number;
|
|
12193
13362
|
layout_id: string | null;
|
|
12194
13363
|
opgepakt_op: string | null;
|
|
12195
13364
|
paginas: number;
|
|
12196
13365
|
payload: Json;
|
|
13366
|
+
pdf_base64: string | null;
|
|
13367
|
+
pdf_url: string | null;
|
|
12197
13368
|
pogingen: number;
|
|
12198
13369
|
printer_id: string | null;
|
|
12199
13370
|
render_html: string | null;
|
|
12200
13371
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
12201
13372
|
updated_at: string;
|
|
13373
|
+
volgende_poging: string | null;
|
|
12202
13374
|
voltooid_op: string | null;
|
|
12203
13375
|
};
|
|
12204
13376
|
Insert: {
|
|
@@ -12207,22 +13379,27 @@ export type Database = {
|
|
|
12207
13379
|
created_at?: string;
|
|
12208
13380
|
documentnaam?: string;
|
|
12209
13381
|
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
13382
|
+
extern_job_id?: string | null;
|
|
12210
13383
|
foutmelding?: string | null;
|
|
12211
13384
|
gebruiker_id?: string | null;
|
|
12212
13385
|
gebruiker_naam?: string;
|
|
12213
13386
|
gestart_op?: string | null;
|
|
12214
13387
|
id?: string;
|
|
13388
|
+
idempotentie_sleutel?: string | null;
|
|
12215
13389
|
is_herprint?: boolean;
|
|
12216
13390
|
kopieen?: number;
|
|
12217
13391
|
layout_id?: string | null;
|
|
12218
13392
|
opgepakt_op?: string | null;
|
|
12219
13393
|
paginas?: number;
|
|
12220
13394
|
payload?: Json;
|
|
13395
|
+
pdf_base64?: string | null;
|
|
13396
|
+
pdf_url?: string | null;
|
|
12221
13397
|
pogingen?: number;
|
|
12222
13398
|
printer_id?: string | null;
|
|
12223
13399
|
render_html?: string | null;
|
|
12224
13400
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
12225
13401
|
updated_at?: string;
|
|
13402
|
+
volgende_poging?: string | null;
|
|
12226
13403
|
voltooid_op?: string | null;
|
|
12227
13404
|
};
|
|
12228
13405
|
Update: {
|
|
@@ -12231,22 +13408,27 @@ export type Database = {
|
|
|
12231
13408
|
created_at?: string;
|
|
12232
13409
|
documentnaam?: string;
|
|
12233
13410
|
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
13411
|
+
extern_job_id?: string | null;
|
|
12234
13412
|
foutmelding?: string | null;
|
|
12235
13413
|
gebruiker_id?: string | null;
|
|
12236
13414
|
gebruiker_naam?: string;
|
|
12237
13415
|
gestart_op?: string | null;
|
|
12238
13416
|
id?: string;
|
|
13417
|
+
idempotentie_sleutel?: string | null;
|
|
12239
13418
|
is_herprint?: boolean;
|
|
12240
13419
|
kopieen?: number;
|
|
12241
13420
|
layout_id?: string | null;
|
|
12242
13421
|
opgepakt_op?: string | null;
|
|
12243
13422
|
paginas?: number;
|
|
12244
13423
|
payload?: Json;
|
|
13424
|
+
pdf_base64?: string | null;
|
|
13425
|
+
pdf_url?: string | null;
|
|
12245
13426
|
pogingen?: number;
|
|
12246
13427
|
printer_id?: string | null;
|
|
12247
13428
|
render_html?: string | null;
|
|
12248
13429
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
12249
13430
|
updated_at?: string;
|
|
13431
|
+
volgende_poging?: string | null;
|
|
12250
13432
|
voltooid_op?: string | null;
|
|
12251
13433
|
};
|
|
12252
13434
|
Relationships: [
|
|
@@ -12273,6 +13455,72 @@ export type Database = {
|
|
|
12273
13455
|
}
|
|
12274
13456
|
];
|
|
12275
13457
|
};
|
|
13458
|
+
print_queue_runners: {
|
|
13459
|
+
Row: {
|
|
13460
|
+
actief: boolean;
|
|
13461
|
+
basis_url: string;
|
|
13462
|
+
created_at: string;
|
|
13463
|
+
id: string;
|
|
13464
|
+
laatst_gezien: string;
|
|
13465
|
+
laatste_fout: string | null;
|
|
13466
|
+
laatste_request_id: number | null;
|
|
13467
|
+
mislukte_posts: number;
|
|
13468
|
+
tick_sleutel: string;
|
|
13469
|
+
updated_at: string;
|
|
13470
|
+
};
|
|
13471
|
+
Insert: {
|
|
13472
|
+
actief?: boolean;
|
|
13473
|
+
basis_url: string;
|
|
13474
|
+
created_at?: string;
|
|
13475
|
+
id?: string;
|
|
13476
|
+
laatst_gezien?: string;
|
|
13477
|
+
laatste_fout?: string | null;
|
|
13478
|
+
laatste_request_id?: number | null;
|
|
13479
|
+
mislukte_posts?: number;
|
|
13480
|
+
tick_sleutel?: string;
|
|
13481
|
+
updated_at?: string;
|
|
13482
|
+
};
|
|
13483
|
+
Update: {
|
|
13484
|
+
actief?: boolean;
|
|
13485
|
+
basis_url?: string;
|
|
13486
|
+
created_at?: string;
|
|
13487
|
+
id?: string;
|
|
13488
|
+
laatst_gezien?: string;
|
|
13489
|
+
laatste_fout?: string | null;
|
|
13490
|
+
laatste_request_id?: number | null;
|
|
13491
|
+
mislukte_posts?: number;
|
|
13492
|
+
tick_sleutel?: string;
|
|
13493
|
+
updated_at?: string;
|
|
13494
|
+
};
|
|
13495
|
+
Relationships: [];
|
|
13496
|
+
};
|
|
13497
|
+
print_queue_settings: {
|
|
13498
|
+
Row: {
|
|
13499
|
+
bewaar_bestanden_dagen: number;
|
|
13500
|
+
bewaar_opdrachten_dagen: number;
|
|
13501
|
+
created_at: string;
|
|
13502
|
+
dubbel_venster_minuten: number;
|
|
13503
|
+
id: string;
|
|
13504
|
+
updated_at: string;
|
|
13505
|
+
};
|
|
13506
|
+
Insert: {
|
|
13507
|
+
bewaar_bestanden_dagen?: number;
|
|
13508
|
+
bewaar_opdrachten_dagen?: number;
|
|
13509
|
+
created_at?: string;
|
|
13510
|
+
dubbel_venster_minuten?: number;
|
|
13511
|
+
id?: string;
|
|
13512
|
+
updated_at?: string;
|
|
13513
|
+
};
|
|
13514
|
+
Update: {
|
|
13515
|
+
bewaar_bestanden_dagen?: number;
|
|
13516
|
+
bewaar_opdrachten_dagen?: number;
|
|
13517
|
+
created_at?: string;
|
|
13518
|
+
dubbel_venster_minuten?: number;
|
|
13519
|
+
id?: string;
|
|
13520
|
+
updated_at?: string;
|
|
13521
|
+
};
|
|
13522
|
+
Relationships: [];
|
|
13523
|
+
};
|
|
12276
13524
|
print_rules: {
|
|
12277
13525
|
Row: {
|
|
12278
13526
|
actief: boolean;
|
|
@@ -12441,6 +13689,7 @@ export type Database = {
|
|
|
12441
13689
|
agent_id: string | null;
|
|
12442
13690
|
created_at: string;
|
|
12443
13691
|
driver: string;
|
|
13692
|
+
extern_printer_id: string | null;
|
|
12444
13693
|
id: string;
|
|
12445
13694
|
ip_adres: string | null;
|
|
12446
13695
|
laatst_gezien: string | null;
|
|
@@ -12462,6 +13711,7 @@ export type Database = {
|
|
|
12462
13711
|
agent_id?: string | null;
|
|
12463
13712
|
created_at?: string;
|
|
12464
13713
|
driver?: string;
|
|
13714
|
+
extern_printer_id?: string | null;
|
|
12465
13715
|
id?: string;
|
|
12466
13716
|
ip_adres?: string | null;
|
|
12467
13717
|
laatst_gezien?: string | null;
|
|
@@ -12483,6 +13733,7 @@ export type Database = {
|
|
|
12483
13733
|
agent_id?: string | null;
|
|
12484
13734
|
created_at?: string;
|
|
12485
13735
|
driver?: string;
|
|
13736
|
+
extern_printer_id?: string | null;
|
|
12486
13737
|
id?: string;
|
|
12487
13738
|
ip_adres?: string | null;
|
|
12488
13739
|
laatst_gezien?: string | null;
|
|
@@ -13766,41 +15017,135 @@ export type Database = {
|
|
|
13766
15017
|
booking_id: string | null;
|
|
13767
15018
|
created_at: string;
|
|
13768
15019
|
id: string;
|
|
13769
|
-
is_read: boolean;
|
|
13770
|
-
message: string;
|
|
13771
|
-
recipient_email: string | null;
|
|
13772
|
-
title: string;
|
|
13773
|
-
type: string;
|
|
15020
|
+
is_read: boolean;
|
|
15021
|
+
message: string;
|
|
15022
|
+
recipient_email: string | null;
|
|
15023
|
+
title: string;
|
|
15024
|
+
type: string;
|
|
15025
|
+
};
|
|
15026
|
+
Insert: {
|
|
15027
|
+
booking_id?: string | null;
|
|
15028
|
+
created_at?: string;
|
|
15029
|
+
id?: string;
|
|
15030
|
+
is_read?: boolean;
|
|
15031
|
+
message: string;
|
|
15032
|
+
recipient_email?: string | null;
|
|
15033
|
+
title: string;
|
|
15034
|
+
type: string;
|
|
15035
|
+
};
|
|
15036
|
+
Update: {
|
|
15037
|
+
booking_id?: string | null;
|
|
15038
|
+
created_at?: string;
|
|
15039
|
+
id?: string;
|
|
15040
|
+
is_read?: boolean;
|
|
15041
|
+
message?: string;
|
|
15042
|
+
recipient_email?: string | null;
|
|
15043
|
+
title?: string;
|
|
15044
|
+
type?: string;
|
|
15045
|
+
};
|
|
15046
|
+
Relationships: [
|
|
15047
|
+
{
|
|
15048
|
+
foreignKeyName: "reception_notifications_booking_id_fkey";
|
|
15049
|
+
columns: ["booking_id"];
|
|
15050
|
+
isOneToOne: false;
|
|
15051
|
+
referencedRelation: "bookings";
|
|
15052
|
+
referencedColumns: ["id"];
|
|
15053
|
+
}
|
|
15054
|
+
];
|
|
15055
|
+
};
|
|
15056
|
+
role_assignments: {
|
|
15057
|
+
Row: {
|
|
15058
|
+
created_at: string;
|
|
15059
|
+
id: string;
|
|
15060
|
+
role_id: string;
|
|
15061
|
+
user_id: string;
|
|
15062
|
+
};
|
|
15063
|
+
Insert: {
|
|
15064
|
+
created_at?: string;
|
|
15065
|
+
id?: string;
|
|
15066
|
+
role_id: string;
|
|
15067
|
+
user_id: string;
|
|
15068
|
+
};
|
|
15069
|
+
Update: {
|
|
15070
|
+
created_at?: string;
|
|
15071
|
+
id?: string;
|
|
15072
|
+
role_id?: string;
|
|
15073
|
+
user_id?: string;
|
|
15074
|
+
};
|
|
15075
|
+
Relationships: [
|
|
15076
|
+
{
|
|
15077
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
15078
|
+
columns: ["role_id"];
|
|
15079
|
+
isOneToOne: false;
|
|
15080
|
+
referencedRelation: "roles";
|
|
15081
|
+
referencedColumns: ["id"];
|
|
15082
|
+
}
|
|
15083
|
+
];
|
|
15084
|
+
};
|
|
15085
|
+
role_permissions: {
|
|
15086
|
+
Row: {
|
|
15087
|
+
can_edit: boolean;
|
|
15088
|
+
can_view: boolean;
|
|
15089
|
+
feature_id: string;
|
|
15090
|
+
id: string;
|
|
15091
|
+
module_id: string;
|
|
15092
|
+
role_id: string;
|
|
15093
|
+
updated_at: string;
|
|
15094
|
+
};
|
|
15095
|
+
Insert: {
|
|
15096
|
+
can_edit?: boolean;
|
|
15097
|
+
can_view?: boolean;
|
|
15098
|
+
feature_id?: string;
|
|
15099
|
+
id?: string;
|
|
15100
|
+
module_id: string;
|
|
15101
|
+
role_id: string;
|
|
15102
|
+
updated_at?: string;
|
|
15103
|
+
};
|
|
15104
|
+
Update: {
|
|
15105
|
+
can_edit?: boolean;
|
|
15106
|
+
can_view?: boolean;
|
|
15107
|
+
feature_id?: string;
|
|
15108
|
+
id?: string;
|
|
15109
|
+
module_id?: string;
|
|
15110
|
+
role_id?: string;
|
|
15111
|
+
updated_at?: string;
|
|
15112
|
+
};
|
|
15113
|
+
Relationships: [
|
|
15114
|
+
{
|
|
15115
|
+
foreignKeyName: "role_permissions_role_id_fkey";
|
|
15116
|
+
columns: ["role_id"];
|
|
15117
|
+
isOneToOne: false;
|
|
15118
|
+
referencedRelation: "roles";
|
|
15119
|
+
referencedColumns: ["id"];
|
|
15120
|
+
}
|
|
15121
|
+
];
|
|
15122
|
+
};
|
|
15123
|
+
roles: {
|
|
15124
|
+
Row: {
|
|
15125
|
+
created_at: string;
|
|
15126
|
+
id: string;
|
|
15127
|
+
is_protected: boolean;
|
|
15128
|
+
key: string;
|
|
15129
|
+
name: string;
|
|
15130
|
+
updated_at: string;
|
|
13774
15131
|
};
|
|
13775
15132
|
Insert: {
|
|
13776
|
-
booking_id?: string | null;
|
|
13777
15133
|
created_at?: string;
|
|
13778
15134
|
id?: string;
|
|
13779
|
-
|
|
13780
|
-
|
|
13781
|
-
|
|
13782
|
-
|
|
13783
|
-
type: string;
|
|
15135
|
+
is_protected?: boolean;
|
|
15136
|
+
key: string;
|
|
15137
|
+
name: string;
|
|
15138
|
+
updated_at?: string;
|
|
13784
15139
|
};
|
|
13785
15140
|
Update: {
|
|
13786
|
-
booking_id?: string | null;
|
|
13787
15141
|
created_at?: string;
|
|
13788
15142
|
id?: string;
|
|
13789
|
-
|
|
13790
|
-
|
|
13791
|
-
|
|
13792
|
-
|
|
13793
|
-
type?: string;
|
|
15143
|
+
is_protected?: boolean;
|
|
15144
|
+
key?: string;
|
|
15145
|
+
name?: string;
|
|
15146
|
+
updated_at?: string;
|
|
13794
15147
|
};
|
|
13795
|
-
Relationships: [
|
|
13796
|
-
{
|
|
13797
|
-
foreignKeyName: "reception_notifications_booking_id_fkey";
|
|
13798
|
-
columns: ["booking_id"];
|
|
13799
|
-
isOneToOne: false;
|
|
13800
|
-
referencedRelation: "bookings";
|
|
13801
|
-
referencedColumns: ["id"];
|
|
13802
|
-
}
|
|
13803
|
-
];
|
|
15148
|
+
Relationships: [];
|
|
13804
15149
|
};
|
|
13805
15150
|
rooms: {
|
|
13806
15151
|
Row: {
|
|
@@ -14154,6 +15499,7 @@ export type Database = {
|
|
|
14154
15499
|
type: string;
|
|
14155
15500
|
updated_at: string;
|
|
14156
15501
|
vereist_medewerker: boolean;
|
|
15502
|
+
werkplek: string | null;
|
|
14157
15503
|
};
|
|
14158
15504
|
Insert: {
|
|
14159
15505
|
actief?: boolean;
|
|
@@ -14167,6 +15513,7 @@ export type Database = {
|
|
|
14167
15513
|
type?: string;
|
|
14168
15514
|
updated_at?: string;
|
|
14169
15515
|
vereist_medewerker?: boolean;
|
|
15516
|
+
werkplek?: string | null;
|
|
14170
15517
|
};
|
|
14171
15518
|
Update: {
|
|
14172
15519
|
actief?: boolean;
|
|
@@ -14180,9 +15527,48 @@ export type Database = {
|
|
|
14180
15527
|
type?: string;
|
|
14181
15528
|
updated_at?: string;
|
|
14182
15529
|
vereist_medewerker?: boolean;
|
|
15530
|
+
werkplek?: string | null;
|
|
14183
15531
|
};
|
|
14184
15532
|
Relationships: [];
|
|
14185
15533
|
};
|
|
15534
|
+
sick_periods: {
|
|
15535
|
+
Row: {
|
|
15536
|
+
created_at: string;
|
|
15537
|
+
employee_id: string;
|
|
15538
|
+
end_date: string | null;
|
|
15539
|
+
id: string;
|
|
15540
|
+
notes: string | null;
|
|
15541
|
+
start_date: string;
|
|
15542
|
+
updated_at: string;
|
|
15543
|
+
};
|
|
15544
|
+
Insert: {
|
|
15545
|
+
created_at?: string;
|
|
15546
|
+
employee_id: string;
|
|
15547
|
+
end_date?: string | null;
|
|
15548
|
+
id?: string;
|
|
15549
|
+
notes?: string | null;
|
|
15550
|
+
start_date: string;
|
|
15551
|
+
updated_at?: string;
|
|
15552
|
+
};
|
|
15553
|
+
Update: {
|
|
15554
|
+
created_at?: string;
|
|
15555
|
+
employee_id?: string;
|
|
15556
|
+
end_date?: string | null;
|
|
15557
|
+
id?: string;
|
|
15558
|
+
notes?: string | null;
|
|
15559
|
+
start_date?: string;
|
|
15560
|
+
updated_at?: string;
|
|
15561
|
+
};
|
|
15562
|
+
Relationships: [
|
|
15563
|
+
{
|
|
15564
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
15565
|
+
columns: ["employee_id"];
|
|
15566
|
+
isOneToOne: false;
|
|
15567
|
+
referencedRelation: "profiles";
|
|
15568
|
+
referencedColumns: ["id"];
|
|
15569
|
+
}
|
|
15570
|
+
];
|
|
15571
|
+
};
|
|
14186
15572
|
sidebar_config: {
|
|
14187
15573
|
Row: {
|
|
14188
15574
|
id: string;
|
|
@@ -14482,6 +15868,56 @@ export type Database = {
|
|
|
14482
15868
|
};
|
|
14483
15869
|
Relationships: [];
|
|
14484
15870
|
};
|
|
15871
|
+
time_compensation_entries: {
|
|
15872
|
+
Row: {
|
|
15873
|
+
created_at: string;
|
|
15874
|
+
employee_id: string;
|
|
15875
|
+
entry_date: string;
|
|
15876
|
+
id: string;
|
|
15877
|
+
km: number;
|
|
15878
|
+
meal_allowance: number;
|
|
15879
|
+
notes: string | null;
|
|
15880
|
+
standby_evening: number;
|
|
15881
|
+
standby_weekend: number;
|
|
15882
|
+
tvt_change: number;
|
|
15883
|
+
updated_at: string;
|
|
15884
|
+
};
|
|
15885
|
+
Insert: {
|
|
15886
|
+
created_at?: string;
|
|
15887
|
+
employee_id: string;
|
|
15888
|
+
entry_date: string;
|
|
15889
|
+
id?: string;
|
|
15890
|
+
km?: number;
|
|
15891
|
+
meal_allowance?: number;
|
|
15892
|
+
notes?: string | null;
|
|
15893
|
+
standby_evening?: number;
|
|
15894
|
+
standby_weekend?: number;
|
|
15895
|
+
tvt_change?: number;
|
|
15896
|
+
updated_at?: string;
|
|
15897
|
+
};
|
|
15898
|
+
Update: {
|
|
15899
|
+
created_at?: string;
|
|
15900
|
+
employee_id?: string;
|
|
15901
|
+
entry_date?: string;
|
|
15902
|
+
id?: string;
|
|
15903
|
+
km?: number;
|
|
15904
|
+
meal_allowance?: number;
|
|
15905
|
+
notes?: string | null;
|
|
15906
|
+
standby_evening?: number;
|
|
15907
|
+
standby_weekend?: number;
|
|
15908
|
+
tvt_change?: number;
|
|
15909
|
+
updated_at?: string;
|
|
15910
|
+
};
|
|
15911
|
+
Relationships: [
|
|
15912
|
+
{
|
|
15913
|
+
foreignKeyName: "time_compensation_entries_employee_id_fkey";
|
|
15914
|
+
columns: ["employee_id"];
|
|
15915
|
+
isOneToOne: false;
|
|
15916
|
+
referencedRelation: "profiles";
|
|
15917
|
+
referencedColumns: ["id"];
|
|
15918
|
+
}
|
|
15919
|
+
];
|
|
15920
|
+
};
|
|
14485
15921
|
time_entries: {
|
|
14486
15922
|
Row: {
|
|
14487
15923
|
created_at: string;
|
|
@@ -14516,68 +15952,174 @@ export type Database = {
|
|
|
14516
15952
|
undertime?: number;
|
|
14517
15953
|
updated_at?: string;
|
|
14518
15954
|
};
|
|
15955
|
+
Relationships: [];
|
|
15956
|
+
};
|
|
15957
|
+
time_log_week_approvals: {
|
|
15958
|
+
Row: {
|
|
15959
|
+
approved_at: string | null;
|
|
15960
|
+
approved_by: string | null;
|
|
15961
|
+
created_at: string;
|
|
15962
|
+
employee_id: string;
|
|
15963
|
+
id: string;
|
|
15964
|
+
locked: boolean;
|
|
15965
|
+
notes: string | null;
|
|
15966
|
+
status: string;
|
|
15967
|
+
submitted_at: string | null;
|
|
15968
|
+
updated_at: string;
|
|
15969
|
+
week_start: string;
|
|
15970
|
+
};
|
|
15971
|
+
Insert: {
|
|
15972
|
+
approved_at?: string | null;
|
|
15973
|
+
approved_by?: string | null;
|
|
15974
|
+
created_at?: string;
|
|
15975
|
+
employee_id: string;
|
|
15976
|
+
id?: string;
|
|
15977
|
+
locked?: boolean;
|
|
15978
|
+
notes?: string | null;
|
|
15979
|
+
status?: string;
|
|
15980
|
+
submitted_at?: string | null;
|
|
15981
|
+
updated_at?: string;
|
|
15982
|
+
week_start: string;
|
|
15983
|
+
};
|
|
15984
|
+
Update: {
|
|
15985
|
+
approved_at?: string | null;
|
|
15986
|
+
approved_by?: string | null;
|
|
15987
|
+
created_at?: string;
|
|
15988
|
+
employee_id?: string;
|
|
15989
|
+
id?: string;
|
|
15990
|
+
locked?: boolean;
|
|
15991
|
+
notes?: string | null;
|
|
15992
|
+
status?: string;
|
|
15993
|
+
submitted_at?: string | null;
|
|
15994
|
+
updated_at?: string;
|
|
15995
|
+
week_start?: string;
|
|
15996
|
+
};
|
|
14519
15997
|
Relationships: [
|
|
14520
15998
|
{
|
|
14521
|
-
foreignKeyName: "
|
|
15999
|
+
foreignKeyName: "time_log_week_approvals_employee_id_fkey";
|
|
14522
16000
|
columns: ["employee_id"];
|
|
14523
16001
|
isOneToOne: false;
|
|
14524
|
-
referencedRelation: "
|
|
16002
|
+
referencedRelation: "profiles";
|
|
14525
16003
|
referencedColumns: ["id"];
|
|
14526
16004
|
}
|
|
14527
16005
|
];
|
|
14528
16006
|
};
|
|
14529
16007
|
time_logs: {
|
|
14530
16008
|
Row: {
|
|
16009
|
+
auto_stop_reason: string | null;
|
|
16010
|
+
auto_stopped: boolean;
|
|
14531
16011
|
created_at: string;
|
|
16012
|
+
current_latitude: number | null;
|
|
16013
|
+
current_longitude: number | null;
|
|
16014
|
+
current_position_updated_at: string | null;
|
|
14532
16015
|
employee_id: string;
|
|
16016
|
+
end_latitude: number | null;
|
|
16017
|
+
end_longitude: number | null;
|
|
14533
16018
|
end_time: string | null;
|
|
16019
|
+
eta_distance_km: number | null;
|
|
16020
|
+
eta_minutes: number | null;
|
|
16021
|
+
eta_updated_at: string | null;
|
|
16022
|
+
hour_category: string | null;
|
|
14534
16023
|
id: string;
|
|
16024
|
+
last_reminder_at: string | null;
|
|
14535
16025
|
notes: string | null;
|
|
14536
16026
|
overtime_hours: number;
|
|
14537
16027
|
overtime_type: string | null;
|
|
14538
16028
|
regular_hours: number;
|
|
16029
|
+
reminder_count: number;
|
|
16030
|
+
requires_review: boolean;
|
|
16031
|
+
start_latitude: number | null;
|
|
16032
|
+
start_longitude: number | null;
|
|
14539
16033
|
start_time: string;
|
|
14540
16034
|
travel_cost: number | null;
|
|
14541
16035
|
travel_distance_km: number | null;
|
|
16036
|
+
travel_duration_min: number | null;
|
|
16037
|
+
travel_time_minutes: number | null;
|
|
14542
16038
|
type: string;
|
|
14543
16039
|
updated_at: string;
|
|
16040
|
+
work_order_id: string | null;
|
|
14544
16041
|
};
|
|
14545
16042
|
Insert: {
|
|
16043
|
+
auto_stop_reason?: string | null;
|
|
16044
|
+
auto_stopped?: boolean;
|
|
14546
16045
|
created_at?: string;
|
|
16046
|
+
current_latitude?: number | null;
|
|
16047
|
+
current_longitude?: number | null;
|
|
16048
|
+
current_position_updated_at?: string | null;
|
|
14547
16049
|
employee_id: string;
|
|
16050
|
+
end_latitude?: number | null;
|
|
16051
|
+
end_longitude?: number | null;
|
|
14548
16052
|
end_time?: string | null;
|
|
16053
|
+
eta_distance_km?: number | null;
|
|
16054
|
+
eta_minutes?: number | null;
|
|
16055
|
+
eta_updated_at?: string | null;
|
|
16056
|
+
hour_category?: string | null;
|
|
14549
16057
|
id?: string;
|
|
16058
|
+
last_reminder_at?: string | null;
|
|
14550
16059
|
notes?: string | null;
|
|
14551
16060
|
overtime_hours?: number;
|
|
14552
16061
|
overtime_type?: string | null;
|
|
14553
16062
|
regular_hours?: number;
|
|
16063
|
+
reminder_count?: number;
|
|
16064
|
+
requires_review?: boolean;
|
|
16065
|
+
start_latitude?: number | null;
|
|
16066
|
+
start_longitude?: number | null;
|
|
14554
16067
|
start_time?: string;
|
|
14555
16068
|
travel_cost?: number | null;
|
|
14556
16069
|
travel_distance_km?: number | null;
|
|
16070
|
+
travel_duration_min?: number | null;
|
|
16071
|
+
travel_time_minutes?: number | null;
|
|
14557
16072
|
type: string;
|
|
14558
16073
|
updated_at?: string;
|
|
16074
|
+
work_order_id?: string | null;
|
|
14559
16075
|
};
|
|
14560
16076
|
Update: {
|
|
16077
|
+
auto_stop_reason?: string | null;
|
|
16078
|
+
auto_stopped?: boolean;
|
|
14561
16079
|
created_at?: string;
|
|
16080
|
+
current_latitude?: number | null;
|
|
16081
|
+
current_longitude?: number | null;
|
|
16082
|
+
current_position_updated_at?: string | null;
|
|
14562
16083
|
employee_id?: string;
|
|
16084
|
+
end_latitude?: number | null;
|
|
16085
|
+
end_longitude?: number | null;
|
|
14563
16086
|
end_time?: string | null;
|
|
16087
|
+
eta_distance_km?: number | null;
|
|
16088
|
+
eta_minutes?: number | null;
|
|
16089
|
+
eta_updated_at?: string | null;
|
|
16090
|
+
hour_category?: string | null;
|
|
14564
16091
|
id?: string;
|
|
16092
|
+
last_reminder_at?: string | null;
|
|
14565
16093
|
notes?: string | null;
|
|
14566
16094
|
overtime_hours?: number;
|
|
14567
16095
|
overtime_type?: string | null;
|
|
14568
16096
|
regular_hours?: number;
|
|
16097
|
+
reminder_count?: number;
|
|
16098
|
+
requires_review?: boolean;
|
|
16099
|
+
start_latitude?: number | null;
|
|
16100
|
+
start_longitude?: number | null;
|
|
14569
16101
|
start_time?: string;
|
|
14570
16102
|
travel_cost?: number | null;
|
|
14571
16103
|
travel_distance_km?: number | null;
|
|
16104
|
+
travel_duration_min?: number | null;
|
|
16105
|
+
travel_time_minutes?: number | null;
|
|
14572
16106
|
type?: string;
|
|
14573
16107
|
updated_at?: string;
|
|
16108
|
+
work_order_id?: string | null;
|
|
14574
16109
|
};
|
|
14575
16110
|
Relationships: [
|
|
14576
16111
|
{
|
|
14577
16112
|
foreignKeyName: "time_logs_employee_id_fkey";
|
|
14578
16113
|
columns: ["employee_id"];
|
|
14579
16114
|
isOneToOne: false;
|
|
14580
|
-
referencedRelation: "
|
|
16115
|
+
referencedRelation: "profiles";
|
|
16116
|
+
referencedColumns: ["id"];
|
|
16117
|
+
},
|
|
16118
|
+
{
|
|
16119
|
+
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
16120
|
+
columns: ["work_order_id"];
|
|
16121
|
+
isOneToOne: false;
|
|
16122
|
+
referencedRelation: "work_orders";
|
|
14581
16123
|
referencedColumns: ["id"];
|
|
14582
16124
|
}
|
|
14583
16125
|
];
|
|
@@ -14618,7 +16160,7 @@ export type Database = {
|
|
|
14618
16160
|
foreignKeyName: "time_off_entries_employee_id_fkey";
|
|
14619
16161
|
columns: ["employee_id"];
|
|
14620
16162
|
isOneToOne: false;
|
|
14621
|
-
referencedRelation: "
|
|
16163
|
+
referencedRelation: "profiles";
|
|
14622
16164
|
referencedColumns: ["id"];
|
|
14623
16165
|
}
|
|
14624
16166
|
];
|
|
@@ -14931,6 +16473,39 @@ export type Database = {
|
|
|
14931
16473
|
};
|
|
14932
16474
|
Relationships: [];
|
|
14933
16475
|
};
|
|
16476
|
+
twinfield_cron_locks: {
|
|
16477
|
+
Row: {
|
|
16478
|
+
created_at: string;
|
|
16479
|
+
heartbeat_at: string;
|
|
16480
|
+
job_name: string;
|
|
16481
|
+
last_error: string | null;
|
|
16482
|
+
last_finished_at: string | null;
|
|
16483
|
+
locked_at: string;
|
|
16484
|
+
run_id: string;
|
|
16485
|
+
updated_at: string;
|
|
16486
|
+
};
|
|
16487
|
+
Insert: {
|
|
16488
|
+
created_at?: string;
|
|
16489
|
+
heartbeat_at?: string;
|
|
16490
|
+
job_name: string;
|
|
16491
|
+
last_error?: string | null;
|
|
16492
|
+
last_finished_at?: string | null;
|
|
16493
|
+
locked_at?: string;
|
|
16494
|
+
run_id?: string;
|
|
16495
|
+
updated_at?: string;
|
|
16496
|
+
};
|
|
16497
|
+
Update: {
|
|
16498
|
+
created_at?: string;
|
|
16499
|
+
heartbeat_at?: string;
|
|
16500
|
+
job_name?: string;
|
|
16501
|
+
last_error?: string | null;
|
|
16502
|
+
last_finished_at?: string | null;
|
|
16503
|
+
locked_at?: string;
|
|
16504
|
+
run_id?: string;
|
|
16505
|
+
updated_at?: string;
|
|
16506
|
+
};
|
|
16507
|
+
Relationships: [];
|
|
16508
|
+
};
|
|
14934
16509
|
twinfield_customers: {
|
|
14935
16510
|
Row: {
|
|
14936
16511
|
address: string | null;
|
|
@@ -15193,6 +16768,8 @@ export type Database = {
|
|
|
15193
16768
|
};
|
|
15194
16769
|
twinfield_invoice_settings: {
|
|
15195
16770
|
Row: {
|
|
16771
|
+
auto_invoice_enabled: boolean;
|
|
16772
|
+
auto_invoice_trigger_statuses: string[];
|
|
15196
16773
|
created_at: string;
|
|
15197
16774
|
debtor_gl_account: string;
|
|
15198
16775
|
default_credit_invoice_type: string | null;
|
|
@@ -15213,6 +16790,8 @@ export type Database = {
|
|
|
15213
16790
|
vat_code_export: string | null;
|
|
15214
16791
|
};
|
|
15215
16792
|
Insert: {
|
|
16793
|
+
auto_invoice_enabled?: boolean;
|
|
16794
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15216
16795
|
created_at?: string;
|
|
15217
16796
|
debtor_gl_account?: string;
|
|
15218
16797
|
default_credit_invoice_type?: string | null;
|
|
@@ -15233,6 +16812,8 @@ export type Database = {
|
|
|
15233
16812
|
vat_code_export?: string | null;
|
|
15234
16813
|
};
|
|
15235
16814
|
Update: {
|
|
16815
|
+
auto_invoice_enabled?: boolean;
|
|
16816
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15236
16817
|
created_at?: string;
|
|
15237
16818
|
debtor_gl_account?: string;
|
|
15238
16819
|
default_credit_invoice_type?: string | null;
|
|
@@ -15535,6 +17116,7 @@ export type Database = {
|
|
|
15535
17116
|
twinfield_push_queue: {
|
|
15536
17117
|
Row: {
|
|
15537
17118
|
action: string;
|
|
17119
|
+
attempt_started_at: string | null;
|
|
15538
17120
|
attempts: number;
|
|
15539
17121
|
connection_id: string | null;
|
|
15540
17122
|
created_at: string;
|
|
@@ -15551,6 +17133,7 @@ export type Database = {
|
|
|
15551
17133
|
};
|
|
15552
17134
|
Insert: {
|
|
15553
17135
|
action?: string;
|
|
17136
|
+
attempt_started_at?: string | null;
|
|
15554
17137
|
attempts?: number;
|
|
15555
17138
|
connection_id?: string | null;
|
|
15556
17139
|
created_at?: string;
|
|
@@ -15567,6 +17150,7 @@ export type Database = {
|
|
|
15567
17150
|
};
|
|
15568
17151
|
Update: {
|
|
15569
17152
|
action?: string;
|
|
17153
|
+
attempt_started_at?: string | null;
|
|
15570
17154
|
attempts?: number;
|
|
15571
17155
|
connection_id?: string | null;
|
|
15572
17156
|
created_at?: string;
|
|
@@ -15769,15 +17353,7 @@ export type Database = {
|
|
|
15769
17353
|
workday_end?: string | null;
|
|
15770
17354
|
workday_start?: string | null;
|
|
15771
17355
|
};
|
|
15772
|
-
Relationships: [
|
|
15773
|
-
{
|
|
15774
|
-
foreignKeyName: "uren_cao_profiles_monteur_id_fkey";
|
|
15775
|
-
columns: ["monteur_id"];
|
|
15776
|
-
isOneToOne: true;
|
|
15777
|
-
referencedRelation: "monteurs";
|
|
15778
|
-
referencedColumns: ["id"];
|
|
15779
|
-
}
|
|
15780
|
-
];
|
|
17356
|
+
Relationships: [];
|
|
15781
17357
|
};
|
|
15782
17358
|
uren_entries: {
|
|
15783
17359
|
Row: {
|
|
@@ -15823,13 +17399,6 @@ export type Database = {
|
|
|
15823
17399
|
werkbon_id?: string | null;
|
|
15824
17400
|
};
|
|
15825
17401
|
Relationships: [
|
|
15826
|
-
{
|
|
15827
|
-
foreignKeyName: "uren_entries_monteur_id_fkey";
|
|
15828
|
-
columns: ["monteur_id"];
|
|
15829
|
-
isOneToOne: false;
|
|
15830
|
-
referencedRelation: "monteurs";
|
|
15831
|
-
referencedColumns: ["id"];
|
|
15832
|
-
},
|
|
15833
17402
|
{
|
|
15834
17403
|
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
15835
17404
|
columns: ["werkbon_id"];
|
|
@@ -16271,79 +17840,148 @@ export type Database = {
|
|
|
16271
17840
|
};
|
|
16272
17841
|
Relationships: [];
|
|
16273
17842
|
};
|
|
16274
|
-
uren_weekstaten: {
|
|
17843
|
+
uren_weekstaten: {
|
|
17844
|
+
Row: {
|
|
17845
|
+
approved_at: string | null;
|
|
17846
|
+
approved_by: string | null;
|
|
17847
|
+
created_at: string;
|
|
17848
|
+
id: string;
|
|
17849
|
+
iso_week: number;
|
|
17850
|
+
iso_year: number;
|
|
17851
|
+
monteur_id: string;
|
|
17852
|
+
remark: string | null;
|
|
17853
|
+
status: string;
|
|
17854
|
+
submitted_at: string | null;
|
|
17855
|
+
updated_at: string;
|
|
17856
|
+
};
|
|
17857
|
+
Insert: {
|
|
17858
|
+
approved_at?: string | null;
|
|
17859
|
+
approved_by?: string | null;
|
|
17860
|
+
created_at?: string;
|
|
17861
|
+
id?: string;
|
|
17862
|
+
iso_week: number;
|
|
17863
|
+
iso_year: number;
|
|
17864
|
+
monteur_id: string;
|
|
17865
|
+
remark?: string | null;
|
|
17866
|
+
status?: string;
|
|
17867
|
+
submitted_at?: string | null;
|
|
17868
|
+
updated_at?: string;
|
|
17869
|
+
};
|
|
17870
|
+
Update: {
|
|
17871
|
+
approved_at?: string | null;
|
|
17872
|
+
approved_by?: string | null;
|
|
17873
|
+
created_at?: string;
|
|
17874
|
+
id?: string;
|
|
17875
|
+
iso_week?: number;
|
|
17876
|
+
iso_year?: number;
|
|
17877
|
+
monteur_id?: string;
|
|
17878
|
+
remark?: string | null;
|
|
17879
|
+
status?: string;
|
|
17880
|
+
submitted_at?: string | null;
|
|
17881
|
+
updated_at?: string;
|
|
17882
|
+
};
|
|
17883
|
+
Relationships: [];
|
|
17884
|
+
};
|
|
17885
|
+
user_module_permissions: {
|
|
17886
|
+
Row: {
|
|
17887
|
+
created_at: string;
|
|
17888
|
+
feature_id: string;
|
|
17889
|
+
id: string;
|
|
17890
|
+
module_id: string;
|
|
17891
|
+
permission: string;
|
|
17892
|
+
updated_at: string;
|
|
17893
|
+
user_id: string;
|
|
17894
|
+
};
|
|
17895
|
+
Insert: {
|
|
17896
|
+
created_at?: string;
|
|
17897
|
+
feature_id?: string;
|
|
17898
|
+
id?: string;
|
|
17899
|
+
module_id: string;
|
|
17900
|
+
permission: string;
|
|
17901
|
+
updated_at?: string;
|
|
17902
|
+
user_id: string;
|
|
17903
|
+
};
|
|
17904
|
+
Update: {
|
|
17905
|
+
created_at?: string;
|
|
17906
|
+
feature_id?: string;
|
|
17907
|
+
id?: string;
|
|
17908
|
+
module_id?: string;
|
|
17909
|
+
permission?: string;
|
|
17910
|
+
updated_at?: string;
|
|
17911
|
+
user_id?: string;
|
|
17912
|
+
};
|
|
17913
|
+
Relationships: [];
|
|
17914
|
+
};
|
|
17915
|
+
user_roles: {
|
|
16275
17916
|
Row: {
|
|
16276
|
-
approved_at: string | null;
|
|
16277
|
-
approved_by: string | null;
|
|
16278
17917
|
created_at: string;
|
|
16279
17918
|
id: string;
|
|
16280
|
-
|
|
16281
|
-
|
|
16282
|
-
monteur_id: string;
|
|
16283
|
-
remark: string | null;
|
|
16284
|
-
status: string;
|
|
16285
|
-
submitted_at: string | null;
|
|
16286
|
-
updated_at: string;
|
|
17919
|
+
role: Database["public"]["Enums"]["app_role"];
|
|
17920
|
+
user_id: string;
|
|
16287
17921
|
};
|
|
16288
17922
|
Insert: {
|
|
16289
|
-
approved_at?: string | null;
|
|
16290
|
-
approved_by?: string | null;
|
|
16291
17923
|
created_at?: string;
|
|
16292
17924
|
id?: string;
|
|
16293
|
-
|
|
16294
|
-
|
|
16295
|
-
monteur_id: string;
|
|
16296
|
-
remark?: string | null;
|
|
16297
|
-
status?: string;
|
|
16298
|
-
submitted_at?: string | null;
|
|
16299
|
-
updated_at?: string;
|
|
17925
|
+
role: Database["public"]["Enums"]["app_role"];
|
|
17926
|
+
user_id: string;
|
|
16300
17927
|
};
|
|
16301
17928
|
Update: {
|
|
16302
|
-
approved_at?: string | null;
|
|
16303
|
-
approved_by?: string | null;
|
|
16304
17929
|
created_at?: string;
|
|
16305
17930
|
id?: string;
|
|
16306
|
-
|
|
16307
|
-
|
|
16308
|
-
monteur_id?: string;
|
|
16309
|
-
remark?: string | null;
|
|
16310
|
-
status?: string;
|
|
16311
|
-
submitted_at?: string | null;
|
|
16312
|
-
updated_at?: string;
|
|
17931
|
+
role?: Database["public"]["Enums"]["app_role"];
|
|
17932
|
+
user_id?: string;
|
|
16313
17933
|
};
|
|
16314
17934
|
Relationships: [
|
|
16315
17935
|
{
|
|
16316
|
-
foreignKeyName: "
|
|
16317
|
-
columns: ["
|
|
17936
|
+
foreignKeyName: "user_roles_user_id_fkey";
|
|
17937
|
+
columns: ["user_id"];
|
|
16318
17938
|
isOneToOne: false;
|
|
16319
|
-
referencedRelation: "
|
|
17939
|
+
referencedRelation: "profiles";
|
|
16320
17940
|
referencedColumns: ["id"];
|
|
16321
17941
|
}
|
|
16322
17942
|
];
|
|
16323
17943
|
};
|
|
16324
|
-
|
|
17944
|
+
van_inventories: {
|
|
16325
17945
|
Row: {
|
|
17946
|
+
barcode: string | null;
|
|
16326
17947
|
created_at: string;
|
|
16327
17948
|
id: string;
|
|
16328
|
-
|
|
16329
|
-
|
|
17949
|
+
monteur_id: string | null;
|
|
17950
|
+
price_per_unit: number;
|
|
17951
|
+
product_name: string;
|
|
17952
|
+
quantity_current: number;
|
|
17953
|
+
quantity_min: number;
|
|
17954
|
+
unit: string;
|
|
17955
|
+
updated_at: string;
|
|
16330
17956
|
};
|
|
16331
17957
|
Insert: {
|
|
17958
|
+
barcode?: string | null;
|
|
16332
17959
|
created_at?: string;
|
|
16333
17960
|
id?: string;
|
|
16334
|
-
|
|
16335
|
-
|
|
17961
|
+
monteur_id?: string | null;
|
|
17962
|
+
price_per_unit?: number;
|
|
17963
|
+
product_name: string;
|
|
17964
|
+
quantity_current?: number;
|
|
17965
|
+
quantity_min?: number;
|
|
17966
|
+
unit?: string;
|
|
17967
|
+
updated_at?: string;
|
|
16336
17968
|
};
|
|
16337
17969
|
Update: {
|
|
17970
|
+
barcode?: string | null;
|
|
16338
17971
|
created_at?: string;
|
|
16339
17972
|
id?: string;
|
|
16340
|
-
|
|
16341
|
-
|
|
17973
|
+
monteur_id?: string | null;
|
|
17974
|
+
price_per_unit?: number;
|
|
17975
|
+
product_name?: string;
|
|
17976
|
+
quantity_current?: number;
|
|
17977
|
+
quantity_min?: number;
|
|
17978
|
+
unit?: string;
|
|
17979
|
+
updated_at?: string;
|
|
16342
17980
|
};
|
|
16343
17981
|
Relationships: [
|
|
16344
17982
|
{
|
|
16345
|
-
foreignKeyName: "
|
|
16346
|
-
columns: ["
|
|
17983
|
+
foreignKeyName: "van_inventories_monteur_id_fkey";
|
|
17984
|
+
columns: ["monteur_id"];
|
|
16347
17985
|
isOneToOne: false;
|
|
16348
17986
|
referencedRelation: "profiles";
|
|
16349
17987
|
referencedColumns: ["id"];
|
|
@@ -17323,7 +18961,7 @@ export type Database = {
|
|
|
17323
18961
|
foreignKeyName: "work_order_monteurs_monteur_id_fkey";
|
|
17324
18962
|
columns: ["monteur_id"];
|
|
17325
18963
|
isOneToOne: false;
|
|
17326
|
-
referencedRelation: "
|
|
18964
|
+
referencedRelation: "profiles";
|
|
17327
18965
|
referencedColumns: ["id"];
|
|
17328
18966
|
},
|
|
17329
18967
|
{
|
|
@@ -17335,6 +18973,63 @@ export type Database = {
|
|
|
17335
18973
|
}
|
|
17336
18974
|
];
|
|
17337
18975
|
};
|
|
18976
|
+
work_order_photos: {
|
|
18977
|
+
Row: {
|
|
18978
|
+
ai_caption: string | null;
|
|
18979
|
+
ai_categorized_at: string | null;
|
|
18980
|
+
ai_labels: Json | null;
|
|
18981
|
+
caption: string | null;
|
|
18982
|
+
created_at: string;
|
|
18983
|
+
id: string;
|
|
18984
|
+
monteur_id: string | null;
|
|
18985
|
+
photo_type: string;
|
|
18986
|
+
storage_path: string;
|
|
18987
|
+
updated_at: string;
|
|
18988
|
+
work_order_id: string;
|
|
18989
|
+
};
|
|
18990
|
+
Insert: {
|
|
18991
|
+
ai_caption?: string | null;
|
|
18992
|
+
ai_categorized_at?: string | null;
|
|
18993
|
+
ai_labels?: Json | null;
|
|
18994
|
+
caption?: string | null;
|
|
18995
|
+
created_at?: string;
|
|
18996
|
+
id?: string;
|
|
18997
|
+
monteur_id?: string | null;
|
|
18998
|
+
photo_type?: string;
|
|
18999
|
+
storage_path: string;
|
|
19000
|
+
updated_at?: string;
|
|
19001
|
+
work_order_id: string;
|
|
19002
|
+
};
|
|
19003
|
+
Update: {
|
|
19004
|
+
ai_caption?: string | null;
|
|
19005
|
+
ai_categorized_at?: string | null;
|
|
19006
|
+
ai_labels?: Json | null;
|
|
19007
|
+
caption?: string | null;
|
|
19008
|
+
created_at?: string;
|
|
19009
|
+
id?: string;
|
|
19010
|
+
monteur_id?: string | null;
|
|
19011
|
+
photo_type?: string;
|
|
19012
|
+
storage_path?: string;
|
|
19013
|
+
updated_at?: string;
|
|
19014
|
+
work_order_id?: string;
|
|
19015
|
+
};
|
|
19016
|
+
Relationships: [
|
|
19017
|
+
{
|
|
19018
|
+
foreignKeyName: "work_order_photos_monteur_id_fkey";
|
|
19019
|
+
columns: ["monteur_id"];
|
|
19020
|
+
isOneToOne: false;
|
|
19021
|
+
referencedRelation: "profiles";
|
|
19022
|
+
referencedColumns: ["id"];
|
|
19023
|
+
},
|
|
19024
|
+
{
|
|
19025
|
+
foreignKeyName: "work_order_photos_work_order_id_fkey";
|
|
19026
|
+
columns: ["work_order_id"];
|
|
19027
|
+
isOneToOne: false;
|
|
19028
|
+
referencedRelation: "work_orders";
|
|
19029
|
+
referencedColumns: ["id"];
|
|
19030
|
+
}
|
|
19031
|
+
];
|
|
19032
|
+
};
|
|
17338
19033
|
work_orders: {
|
|
17339
19034
|
Row: {
|
|
17340
19035
|
assigned_to: string | null;
|
|
@@ -17366,7 +19061,6 @@ export type Database = {
|
|
|
17366
19061
|
scheduled_end_time: string | null;
|
|
17367
19062
|
scheduled_start_time: string | null;
|
|
17368
19063
|
status: string;
|
|
17369
|
-
tenant_id: string;
|
|
17370
19064
|
total_hours_worked: number | null;
|
|
17371
19065
|
total_price: number | null;
|
|
17372
19066
|
travel_time_minutes: number | null;
|
|
@@ -17404,7 +19098,6 @@ export type Database = {
|
|
|
17404
19098
|
scheduled_end_time?: string | null;
|
|
17405
19099
|
scheduled_start_time?: string | null;
|
|
17406
19100
|
status?: string;
|
|
17407
|
-
tenant_id: string;
|
|
17408
19101
|
total_hours_worked?: number | null;
|
|
17409
19102
|
total_price?: number | null;
|
|
17410
19103
|
travel_time_minutes?: number | null;
|
|
@@ -17442,7 +19135,6 @@ export type Database = {
|
|
|
17442
19135
|
scheduled_end_time?: string | null;
|
|
17443
19136
|
scheduled_start_time?: string | null;
|
|
17444
19137
|
status?: string;
|
|
17445
|
-
tenant_id?: string;
|
|
17446
19138
|
total_hours_worked?: number | null;
|
|
17447
19139
|
total_price?: number | null;
|
|
17448
19140
|
travel_time_minutes?: number | null;
|
|
@@ -17457,13 +19149,6 @@ export type Database = {
|
|
|
17457
19149
|
isOneToOne: false;
|
|
17458
19150
|
referencedRelation: "work_orders";
|
|
17459
19151
|
referencedColumns: ["id"];
|
|
17460
|
-
},
|
|
17461
|
-
{
|
|
17462
|
-
foreignKeyName: "work_orders_tenant_id_fkey";
|
|
17463
|
-
columns: ["tenant_id"];
|
|
17464
|
-
isOneToOne: false;
|
|
17465
|
-
referencedRelation: "tenants";
|
|
17466
|
-
referencedColumns: ["id"];
|
|
17467
19152
|
}
|
|
17468
19153
|
];
|
|
17469
19154
|
};
|
|
@@ -18161,6 +19846,19 @@ export type Database = {
|
|
|
18161
19846
|
};
|
|
18162
19847
|
Returns: undefined;
|
|
18163
19848
|
};
|
|
19849
|
+
approve_mailbox_order_proposal: {
|
|
19850
|
+
Args: {
|
|
19851
|
+
p_custom_fields: Json;
|
|
19852
|
+
p_customer_id: string;
|
|
19853
|
+
p_delivery_date: string;
|
|
19854
|
+
p_field_values?: Json;
|
|
19855
|
+
p_lines: Json;
|
|
19856
|
+
p_notes: string;
|
|
19857
|
+
p_proposal_id: string;
|
|
19858
|
+
p_reviewed_by: string;
|
|
19859
|
+
};
|
|
19860
|
+
Returns: Json;
|
|
19861
|
+
};
|
|
18164
19862
|
assign_cart_numbers: {
|
|
18165
19863
|
Args: {
|
|
18166
19864
|
p_carts: Json;
|
|
@@ -18196,6 +19894,10 @@ export type Database = {
|
|
|
18196
19894
|
processed_items: number;
|
|
18197
19895
|
}[];
|
|
18198
19896
|
};
|
|
19897
|
+
backfill_order_auto_invoice_queue: {
|
|
19898
|
+
Args: never;
|
|
19899
|
+
Returns: number;
|
|
19900
|
+
};
|
|
18199
19901
|
calculate_layer_stock: {
|
|
18200
19902
|
Args: {
|
|
18201
19903
|
p_product_id: string;
|
|
@@ -18208,6 +19910,10 @@ export type Database = {
|
|
|
18208
19910
|
};
|
|
18209
19911
|
Returns: number;
|
|
18210
19912
|
};
|
|
19913
|
+
can_manage_hours: {
|
|
19914
|
+
Args: never;
|
|
19915
|
+
Returns: boolean;
|
|
19916
|
+
};
|
|
18211
19917
|
check_offer_product_available_stock: {
|
|
18212
19918
|
Args: {
|
|
18213
19919
|
p_campaign_product_id: string;
|
|
@@ -18230,6 +19936,125 @@ export type Database = {
|
|
|
18230
19936
|
};
|
|
18231
19937
|
Returns: Json;
|
|
18232
19938
|
};
|
|
19939
|
+
claim_cloud_print_jobs: {
|
|
19940
|
+
Args: {
|
|
19941
|
+
_max?: number;
|
|
19942
|
+
};
|
|
19943
|
+
Returns: {
|
|
19944
|
+
agent_id: string | null;
|
|
19945
|
+
bron_job_id: string | null;
|
|
19946
|
+
created_at: string;
|
|
19947
|
+
documentnaam: string;
|
|
19948
|
+
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
19949
|
+
extern_job_id: string | null;
|
|
19950
|
+
foutmelding: string | null;
|
|
19951
|
+
gebruiker_id: string | null;
|
|
19952
|
+
gebruiker_naam: string;
|
|
19953
|
+
gestart_op: string | null;
|
|
19954
|
+
id: string;
|
|
19955
|
+
idempotentie_sleutel: string | null;
|
|
19956
|
+
is_herprint: boolean;
|
|
19957
|
+
kopieen: number;
|
|
19958
|
+
layout_id: string | null;
|
|
19959
|
+
opgepakt_op: string | null;
|
|
19960
|
+
paginas: number;
|
|
19961
|
+
payload: Json;
|
|
19962
|
+
pdf_base64: string | null;
|
|
19963
|
+
pdf_url: string | null;
|
|
19964
|
+
pogingen: number;
|
|
19965
|
+
printer_id: string | null;
|
|
19966
|
+
render_html: string | null;
|
|
19967
|
+
status: Database["public"]["Enums"]["print_job_status"];
|
|
19968
|
+
updated_at: string;
|
|
19969
|
+
volgende_poging: string | null;
|
|
19970
|
+
voltooid_op: string | null;
|
|
19971
|
+
}[];
|
|
19972
|
+
SetofOptions: {
|
|
19973
|
+
from: "*";
|
|
19974
|
+
to: "print_jobs";
|
|
19975
|
+
isOneToOne: false;
|
|
19976
|
+
isSetofReturn: true;
|
|
19977
|
+
};
|
|
19978
|
+
};
|
|
19979
|
+
claim_floriday_stock_queue: {
|
|
19980
|
+
Args: {
|
|
19981
|
+
p_limit?: number;
|
|
19982
|
+
p_worker?: string;
|
|
19983
|
+
};
|
|
19984
|
+
Returns: {
|
|
19985
|
+
attempts: number;
|
|
19986
|
+
connection_id: string;
|
|
19987
|
+
created_at: string;
|
|
19988
|
+
desired_available: boolean | null;
|
|
19989
|
+
gateway_attempt_id: string | null;
|
|
19990
|
+
id: string;
|
|
19991
|
+
last_error: string | null;
|
|
19992
|
+
locked_at: string | null;
|
|
19993
|
+
locked_by: string | null;
|
|
19994
|
+
next_attempt_at: string;
|
|
19995
|
+
number_of_pieces: number;
|
|
19996
|
+
sent_at: string | null;
|
|
19997
|
+
status: string;
|
|
19998
|
+
superseded_by: string | null;
|
|
19999
|
+
trade_item_id: string;
|
|
20000
|
+
updated_at: string;
|
|
20001
|
+
user_id: string;
|
|
20002
|
+
}[];
|
|
20003
|
+
SetofOptions: {
|
|
20004
|
+
from: "*";
|
|
20005
|
+
to: "floriday_continuous_stock_queue";
|
|
20006
|
+
isOneToOne: false;
|
|
20007
|
+
isSetofReturn: true;
|
|
20008
|
+
};
|
|
20009
|
+
};
|
|
20010
|
+
claim_logistics_tasks: {
|
|
20011
|
+
Args: {
|
|
20012
|
+
_limit?: number;
|
|
20013
|
+
_owner_module: string;
|
|
20014
|
+
_stale_minutes?: number;
|
|
20015
|
+
_task_type: string;
|
|
20016
|
+
_worker: string;
|
|
20017
|
+
};
|
|
20018
|
+
Returns: {
|
|
20019
|
+
attempt_log: Json;
|
|
20020
|
+
attempts: number;
|
|
20021
|
+
buffer_ref: string | null;
|
|
20022
|
+
claimed_at: string | null;
|
|
20023
|
+
claimed_by: string | null;
|
|
20024
|
+
completed_at: string | null;
|
|
20025
|
+
created_at: string;
|
|
20026
|
+
depends_on: string[];
|
|
20027
|
+
due_at: string | null;
|
|
20028
|
+
error: string | null;
|
|
20029
|
+
id: string;
|
|
20030
|
+
last_error: string | null;
|
|
20031
|
+
next_attempt_at: string | null;
|
|
20032
|
+
order_ref: string;
|
|
20033
|
+
owner_module: string;
|
|
20034
|
+
payload: Json;
|
|
20035
|
+
plan_run_id: string | null;
|
|
20036
|
+
planned_end: string | null;
|
|
20037
|
+
planned_start: string | null;
|
|
20038
|
+
priority: number;
|
|
20039
|
+
result: Json | null;
|
|
20040
|
+
rule_config_id: string | null;
|
|
20041
|
+
rule_version: number | null;
|
|
20042
|
+
sequence: number;
|
|
20043
|
+
shadow: boolean;
|
|
20044
|
+
started_at: string | null;
|
|
20045
|
+
status: string;
|
|
20046
|
+
strategy_id: string | null;
|
|
20047
|
+
task_type: string;
|
|
20048
|
+
updated_at: string;
|
|
20049
|
+
user_id: string;
|
|
20050
|
+
}[];
|
|
20051
|
+
SetofOptions: {
|
|
20052
|
+
from: "*";
|
|
20053
|
+
to: "logistics_tasks";
|
|
20054
|
+
isOneToOne: false;
|
|
20055
|
+
isSetofReturn: true;
|
|
20056
|
+
};
|
|
20057
|
+
};
|
|
18233
20058
|
claim_print_jobs: {
|
|
18234
20059
|
Args: {
|
|
18235
20060
|
_agent_id: string;
|
|
@@ -18241,22 +20066,27 @@ export type Database = {
|
|
|
18241
20066
|
created_at: string;
|
|
18242
20067
|
documentnaam: string;
|
|
18243
20068
|
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
20069
|
+
extern_job_id: string | null;
|
|
18244
20070
|
foutmelding: string | null;
|
|
18245
20071
|
gebruiker_id: string | null;
|
|
18246
20072
|
gebruiker_naam: string;
|
|
18247
20073
|
gestart_op: string | null;
|
|
18248
20074
|
id: string;
|
|
20075
|
+
idempotentie_sleutel: string | null;
|
|
18249
20076
|
is_herprint: boolean;
|
|
18250
20077
|
kopieen: number;
|
|
18251
20078
|
layout_id: string | null;
|
|
18252
20079
|
opgepakt_op: string | null;
|
|
18253
20080
|
paginas: number;
|
|
18254
20081
|
payload: Json;
|
|
20082
|
+
pdf_base64: string | null;
|
|
20083
|
+
pdf_url: string | null;
|
|
18255
20084
|
pogingen: number;
|
|
18256
20085
|
printer_id: string | null;
|
|
18257
20086
|
render_html: string | null;
|
|
18258
20087
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
18259
20088
|
updated_at: string;
|
|
20089
|
+
volgende_poging: string | null;
|
|
18260
20090
|
voltooid_op: string | null;
|
|
18261
20091
|
}[];
|
|
18262
20092
|
SetofOptions: {
|
|
@@ -18273,6 +20103,7 @@ export type Database = {
|
|
|
18273
20103
|
};
|
|
18274
20104
|
Returns: {
|
|
18275
20105
|
action: string;
|
|
20106
|
+
attempt_started_at: string | null;
|
|
18276
20107
|
attempts: number;
|
|
18277
20108
|
connection_id: string | null;
|
|
18278
20109
|
created_at: string;
|
|
@@ -18294,10 +20125,28 @@ export type Database = {
|
|
|
18294
20125
|
isSetofReturn: true;
|
|
18295
20126
|
};
|
|
18296
20127
|
};
|
|
20128
|
+
cleanup_floriday_stock_queue: {
|
|
20129
|
+
Args: never;
|
|
20130
|
+
Returns: undefined;
|
|
20131
|
+
};
|
|
18297
20132
|
cleanup_old_bookings: {
|
|
18298
20133
|
Args: never;
|
|
18299
20134
|
Returns: undefined;
|
|
18300
20135
|
};
|
|
20136
|
+
cleanup_voorraad_module_history: {
|
|
20137
|
+
Args: never;
|
|
20138
|
+
Returns: undefined;
|
|
20139
|
+
};
|
|
20140
|
+
complete_floriday_stock_queue: {
|
|
20141
|
+
Args: {
|
|
20142
|
+
p_attempt_id?: string;
|
|
20143
|
+
p_error?: string;
|
|
20144
|
+
p_id: string;
|
|
20145
|
+
p_ok: boolean;
|
|
20146
|
+
p_permanent?: boolean;
|
|
20147
|
+
};
|
|
20148
|
+
Returns: undefined;
|
|
20149
|
+
};
|
|
18301
20150
|
consume_bom_for_production: {
|
|
18302
20151
|
Args: {
|
|
18303
20152
|
p_connection_id: string;
|
|
@@ -18337,10 +20186,34 @@ export type Database = {
|
|
|
18337
20186
|
_pairing_hash: string;
|
|
18338
20187
|
_token_hash: string;
|
|
18339
20188
|
};
|
|
18340
|
-
Returns: {
|
|
18341
|
-
agent_id: string;
|
|
18342
|
-
agent_naam: string;
|
|
18343
|
-
}[];
|
|
20189
|
+
Returns: {
|
|
20190
|
+
agent_id: string;
|
|
20191
|
+
agent_naam: string;
|
|
20192
|
+
}[];
|
|
20193
|
+
};
|
|
20194
|
+
consume_van_inventory: {
|
|
20195
|
+
Args: {
|
|
20196
|
+
p_inventory_id: string;
|
|
20197
|
+
p_quantity: number;
|
|
20198
|
+
};
|
|
20199
|
+
Returns: {
|
|
20200
|
+
barcode: string | null;
|
|
20201
|
+
created_at: string;
|
|
20202
|
+
id: string;
|
|
20203
|
+
monteur_id: string | null;
|
|
20204
|
+
price_per_unit: number;
|
|
20205
|
+
product_name: string;
|
|
20206
|
+
quantity_current: number;
|
|
20207
|
+
quantity_min: number;
|
|
20208
|
+
unit: string;
|
|
20209
|
+
updated_at: string;
|
|
20210
|
+
};
|
|
20211
|
+
SetofOptions: {
|
|
20212
|
+
from: "*";
|
|
20213
|
+
to: "van_inventories";
|
|
20214
|
+
isOneToOne: true;
|
|
20215
|
+
isSetofReturn: false;
|
|
20216
|
+
};
|
|
18344
20217
|
};
|
|
18345
20218
|
control_get_todays_carts: {
|
|
18346
20219
|
Args: never;
|
|
@@ -18409,6 +20282,20 @@ export type Database = {
|
|
|
18409
20282
|
};
|
|
18410
20283
|
Returns: Json;
|
|
18411
20284
|
};
|
|
20285
|
+
effective_module_permission: {
|
|
20286
|
+
Args: {
|
|
20287
|
+
_module_id: string;
|
|
20288
|
+
_user_id: string;
|
|
20289
|
+
};
|
|
20290
|
+
Returns: string;
|
|
20291
|
+
} | {
|
|
20292
|
+
Args: {
|
|
20293
|
+
_feature_id: string;
|
|
20294
|
+
_module_id: string;
|
|
20295
|
+
_user_id: string;
|
|
20296
|
+
};
|
|
20297
|
+
Returns: string;
|
|
20298
|
+
};
|
|
18412
20299
|
email_auth_decrypt: {
|
|
18413
20300
|
Args: {
|
|
18414
20301
|
cipher: string;
|
|
@@ -18454,6 +20341,13 @@ export type Database = {
|
|
|
18454
20341
|
};
|
|
18455
20342
|
Returns: string;
|
|
18456
20343
|
};
|
|
20344
|
+
employee_day_hours: {
|
|
20345
|
+
Args: {
|
|
20346
|
+
_day: string;
|
|
20347
|
+
_employee_id: string;
|
|
20348
|
+
};
|
|
20349
|
+
Returns: number;
|
|
20350
|
+
};
|
|
18457
20351
|
enqueue_cart_replan_if_unlocked: {
|
|
18458
20352
|
Args: {
|
|
18459
20353
|
p_order_id: string;
|
|
@@ -18470,6 +20364,21 @@ export type Database = {
|
|
|
18470
20364
|
Args: never;
|
|
18471
20365
|
Returns: string;
|
|
18472
20366
|
};
|
|
20367
|
+
exact_auth_consume_calls: {
|
|
20368
|
+
Args: {
|
|
20369
|
+
_account_key: string;
|
|
20370
|
+
_calls?: number;
|
|
20371
|
+
_day_limit?: number;
|
|
20372
|
+
_division_code: number;
|
|
20373
|
+
_environment: string;
|
|
20374
|
+
_minute_limit?: number;
|
|
20375
|
+
};
|
|
20376
|
+
Returns: Json;
|
|
20377
|
+
};
|
|
20378
|
+
exact_auth_prune_sync_log: {
|
|
20379
|
+
Args: never;
|
|
20380
|
+
Returns: undefined;
|
|
20381
|
+
};
|
|
18473
20382
|
exact_decrypt: {
|
|
18474
20383
|
Args: {
|
|
18475
20384
|
cipher: string;
|
|
@@ -18679,6 +20588,10 @@ export type Database = {
|
|
|
18679
20588
|
};
|
|
18680
20589
|
Returns: number;
|
|
18681
20590
|
};
|
|
20591
|
+
get_offer_branding: {
|
|
20592
|
+
Args: never;
|
|
20593
|
+
Returns: Json;
|
|
20594
|
+
};
|
|
18682
20595
|
get_offer_by_link_code: {
|
|
18683
20596
|
Args: {
|
|
18684
20597
|
p_code: string;
|
|
@@ -18740,12 +20653,6 @@ export type Database = {
|
|
|
18740
20653
|
Args: never;
|
|
18741
20654
|
Returns: string;
|
|
18742
20655
|
};
|
|
18743
|
-
get_work_order_tenant_id: {
|
|
18744
|
-
Args: {
|
|
18745
|
-
wo_id: string;
|
|
18746
|
-
};
|
|
18747
|
-
Returns: string;
|
|
18748
|
-
};
|
|
18749
20656
|
has_module_permission: {
|
|
18750
20657
|
Args: {
|
|
18751
20658
|
_min: string;
|
|
@@ -18779,6 +20686,13 @@ export type Database = {
|
|
|
18779
20686
|
};
|
|
18780
20687
|
Returns: boolean;
|
|
18781
20688
|
};
|
|
20689
|
+
is_time_log_week_locked: {
|
|
20690
|
+
Args: {
|
|
20691
|
+
p_employee_id: string;
|
|
20692
|
+
p_start_time: string;
|
|
20693
|
+
};
|
|
20694
|
+
Returns: boolean;
|
|
20695
|
+
};
|
|
18782
20696
|
is_user_admin: {
|
|
18783
20697
|
Args: never;
|
|
18784
20698
|
Returns: boolean;
|
|
@@ -18787,19 +20701,43 @@ export type Database = {
|
|
|
18787
20701
|
Args: never;
|
|
18788
20702
|
Returns: boolean;
|
|
18789
20703
|
};
|
|
20704
|
+
itk_offerte_naar_werkbon: {
|
|
20705
|
+
Args: {
|
|
20706
|
+
_offerte_id: string;
|
|
20707
|
+
};
|
|
20708
|
+
Returns: string;
|
|
20709
|
+
};
|
|
20710
|
+
itk_offerte_restant_mandaat: {
|
|
20711
|
+
Args: {
|
|
20712
|
+
_exclude_offerte_id?: string;
|
|
20713
|
+
_werkbon_id: string;
|
|
20714
|
+
};
|
|
20715
|
+
Returns: number;
|
|
20716
|
+
};
|
|
18790
20717
|
jwt_has_role: {
|
|
18791
20718
|
Args: {
|
|
18792
20719
|
_role: Database["public"]["Enums"]["app_role"];
|
|
18793
20720
|
};
|
|
18794
20721
|
Returns: boolean;
|
|
18795
20722
|
};
|
|
18796
|
-
|
|
20723
|
+
list_medewerkers: {
|
|
18797
20724
|
Args: never;
|
|
18798
20725
|
Returns: {
|
|
18799
20726
|
avatar_url: string;
|
|
20727
|
+
color: string;
|
|
18800
20728
|
display_name: string;
|
|
18801
20729
|
email: string;
|
|
20730
|
+
hours_fri: number;
|
|
20731
|
+
hours_mon: number;
|
|
20732
|
+
hours_thu: number;
|
|
20733
|
+
hours_tue: number;
|
|
20734
|
+
hours_wed: number;
|
|
18802
20735
|
id: string;
|
|
20736
|
+
is_active: boolean;
|
|
20737
|
+
leave_balance_hours: number;
|
|
20738
|
+
persnr: string;
|
|
20739
|
+
phone: string;
|
|
20740
|
+
roles: string[];
|
|
18803
20741
|
}[];
|
|
18804
20742
|
};
|
|
18805
20743
|
list_my_planning_items: {
|
|
@@ -18970,6 +20908,8 @@ export type Database = {
|
|
|
18970
20908
|
p_worker?: string;
|
|
18971
20909
|
};
|
|
18972
20910
|
Returns: {
|
|
20911
|
+
attempt_log: Json;
|
|
20912
|
+
attempts: number;
|
|
18973
20913
|
buffer_ref: string | null;
|
|
18974
20914
|
claimed_at: string | null;
|
|
18975
20915
|
claimed_by: string | null;
|
|
@@ -18979,6 +20919,8 @@ export type Database = {
|
|
|
18979
20919
|
due_at: string | null;
|
|
18980
20920
|
error: string | null;
|
|
18981
20921
|
id: string;
|
|
20922
|
+
last_error: string | null;
|
|
20923
|
+
next_attempt_at: string | null;
|
|
18982
20924
|
order_ref: string;
|
|
18983
20925
|
owner_module: string;
|
|
18984
20926
|
payload: Json;
|
|
@@ -19011,6 +20953,8 @@ export type Database = {
|
|
|
19011
20953
|
p_worker?: string;
|
|
19012
20954
|
};
|
|
19013
20955
|
Returns: {
|
|
20956
|
+
attempt_log: Json;
|
|
20957
|
+
attempts: number;
|
|
19014
20958
|
buffer_ref: string | null;
|
|
19015
20959
|
claimed_at: string | null;
|
|
19016
20960
|
claimed_by: string | null;
|
|
@@ -19020,6 +20964,8 @@ export type Database = {
|
|
|
19020
20964
|
due_at: string | null;
|
|
19021
20965
|
error: string | null;
|
|
19022
20966
|
id: string;
|
|
20967
|
+
last_error: string | null;
|
|
20968
|
+
next_attempt_at: string | null;
|
|
19023
20969
|
order_ref: string;
|
|
19024
20970
|
owner_module: string;
|
|
19025
20971
|
payload: Json;
|
|
@@ -19052,6 +20998,8 @@ export type Database = {
|
|
|
19052
20998
|
p_task_id: string;
|
|
19053
20999
|
};
|
|
19054
21000
|
Returns: {
|
|
21001
|
+
attempt_log: Json;
|
|
21002
|
+
attempts: number;
|
|
19055
21003
|
buffer_ref: string | null;
|
|
19056
21004
|
claimed_at: string | null;
|
|
19057
21005
|
claimed_by: string | null;
|
|
@@ -19061,6 +21009,8 @@ export type Database = {
|
|
|
19061
21009
|
due_at: string | null;
|
|
19062
21010
|
error: string | null;
|
|
19063
21011
|
id: string;
|
|
21012
|
+
last_error: string | null;
|
|
21013
|
+
next_attempt_at: string | null;
|
|
19064
21014
|
order_ref: string;
|
|
19065
21015
|
owner_module: string;
|
|
19066
21016
|
payload: Json;
|
|
@@ -19113,17 +21063,6 @@ export type Database = {
|
|
|
19113
21063
|
Returns: string;
|
|
19114
21064
|
};
|
|
19115
21065
|
logistics_emit_event: {
|
|
19116
|
-
Args: {
|
|
19117
|
-
p_event_type: string;
|
|
19118
|
-
p_idempotency_key?: string;
|
|
19119
|
-
p_order_ref: string;
|
|
19120
|
-
p_payload?: Json;
|
|
19121
|
-
p_shadow?: boolean;
|
|
19122
|
-
p_source_module: string;
|
|
19123
|
-
p_strategy_id?: string;
|
|
19124
|
-
};
|
|
19125
|
-
Returns: Json;
|
|
19126
|
-
} | {
|
|
19127
21066
|
Args: {
|
|
19128
21067
|
p_event_type: string;
|
|
19129
21068
|
p_idempotency_key?: string;
|
|
@@ -19142,6 +21081,8 @@ export type Database = {
|
|
|
19142
21081
|
p_task_id: string;
|
|
19143
21082
|
};
|
|
19144
21083
|
Returns: {
|
|
21084
|
+
attempt_log: Json;
|
|
21085
|
+
attempts: number;
|
|
19145
21086
|
buffer_ref: string | null;
|
|
19146
21087
|
claimed_at: string | null;
|
|
19147
21088
|
claimed_by: string | null;
|
|
@@ -19151,6 +21092,8 @@ export type Database = {
|
|
|
19151
21092
|
due_at: string | null;
|
|
19152
21093
|
error: string | null;
|
|
19153
21094
|
id: string;
|
|
21095
|
+
last_error: string | null;
|
|
21096
|
+
next_attempt_at: string | null;
|
|
19154
21097
|
order_ref: string;
|
|
19155
21098
|
owner_module: string;
|
|
19156
21099
|
payload: Json;
|
|
@@ -19177,6 +21120,51 @@ export type Database = {
|
|
|
19177
21120
|
isSetofReturn: false;
|
|
19178
21121
|
};
|
|
19179
21122
|
};
|
|
21123
|
+
logistics_floriday_claim_pushes: {
|
|
21124
|
+
Args: {
|
|
21125
|
+
_lease_seconds?: number;
|
|
21126
|
+
_limit?: number;
|
|
21127
|
+
_worker?: string;
|
|
21128
|
+
};
|
|
21129
|
+
Returns: {
|
|
21130
|
+
attempts: number;
|
|
21131
|
+
fulfillment_order_id: string;
|
|
21132
|
+
id: string;
|
|
21133
|
+
last_sent_hash: string;
|
|
21134
|
+
order_ref: string;
|
|
21135
|
+
payload: Json;
|
|
21136
|
+
payload_hash: string;
|
|
21137
|
+
revision: number;
|
|
21138
|
+
}[];
|
|
21139
|
+
};
|
|
21140
|
+
logistics_floriday_finish_push: {
|
|
21141
|
+
Args: {
|
|
21142
|
+
_error?: string;
|
|
21143
|
+
_fulfillment_order_id?: string;
|
|
21144
|
+
_id: string;
|
|
21145
|
+
_max_age_hours?: number;
|
|
21146
|
+
_max_attempts?: number;
|
|
21147
|
+
_ok: boolean;
|
|
21148
|
+
_permanent?: boolean;
|
|
21149
|
+
_revision: number;
|
|
21150
|
+
_sent_hash?: string;
|
|
21151
|
+
};
|
|
21152
|
+
Returns: string;
|
|
21153
|
+
};
|
|
21154
|
+
logistics_floriday_prune_pushes: {
|
|
21155
|
+
Args: {
|
|
21156
|
+
_days?: number;
|
|
21157
|
+
};
|
|
21158
|
+
Returns: number;
|
|
21159
|
+
};
|
|
21160
|
+
logistics_floriday_queue_push: {
|
|
21161
|
+
Args: {
|
|
21162
|
+
_order_ref: string;
|
|
21163
|
+
_payload?: Json;
|
|
21164
|
+
_payload_hash?: string;
|
|
21165
|
+
};
|
|
21166
|
+
Returns: string;
|
|
21167
|
+
};
|
|
19180
21168
|
logistics_live_carriers: {
|
|
19181
21169
|
Args: {
|
|
19182
21170
|
p_order_ref: string;
|
|
@@ -19229,6 +21217,65 @@ export type Database = {
|
|
|
19229
21217
|
};
|
|
19230
21218
|
Returns: number;
|
|
19231
21219
|
};
|
|
21220
|
+
logistics_plan_claim: {
|
|
21221
|
+
Args: {
|
|
21222
|
+
p_limit?: number;
|
|
21223
|
+
};
|
|
21224
|
+
Returns: {
|
|
21225
|
+
attempts: number;
|
|
21226
|
+
id: string;
|
|
21227
|
+
order_id: string;
|
|
21228
|
+
}[];
|
|
21229
|
+
};
|
|
21230
|
+
logistics_plan_enqueue: {
|
|
21231
|
+
Args: {
|
|
21232
|
+
p_order_id: string;
|
|
21233
|
+
p_reason?: string;
|
|
21234
|
+
};
|
|
21235
|
+
Returns: undefined;
|
|
21236
|
+
};
|
|
21237
|
+
logistics_plan_ensure_event: {
|
|
21238
|
+
Args: {
|
|
21239
|
+
p_order_id: string;
|
|
21240
|
+
};
|
|
21241
|
+
Returns: boolean;
|
|
21242
|
+
};
|
|
21243
|
+
logistics_plan_finish: {
|
|
21244
|
+
Args: {
|
|
21245
|
+
p_error?: string;
|
|
21246
|
+
p_id: string;
|
|
21247
|
+
};
|
|
21248
|
+
Returns: undefined;
|
|
21249
|
+
};
|
|
21250
|
+
logistics_plan_impact_orders: {
|
|
21251
|
+
Args: {
|
|
21252
|
+
p_order_id: string;
|
|
21253
|
+
};
|
|
21254
|
+
Returns: {
|
|
21255
|
+
buffer_id: string;
|
|
21256
|
+
order_id: string;
|
|
21257
|
+
plan_date: string;
|
|
21258
|
+
}[];
|
|
21259
|
+
};
|
|
21260
|
+
logistics_plan_kick: {
|
|
21261
|
+
Args: never;
|
|
21262
|
+
Returns: undefined;
|
|
21263
|
+
};
|
|
21264
|
+
logistics_plan_prune: {
|
|
21265
|
+
Args: never;
|
|
21266
|
+
Returns: number;
|
|
21267
|
+
};
|
|
21268
|
+
logistics_plan_release_stale: {
|
|
21269
|
+
Args: never;
|
|
21270
|
+
Returns: number;
|
|
21271
|
+
};
|
|
21272
|
+
logistics_plan_setting: {
|
|
21273
|
+
Args: {
|
|
21274
|
+
p_default: number;
|
|
21275
|
+
p_key: string;
|
|
21276
|
+
};
|
|
21277
|
+
Returns: number;
|
|
21278
|
+
};
|
|
19232
21279
|
logistics_queue_capacity_email: {
|
|
19233
21280
|
Args: {
|
|
19234
21281
|
p_alert_id: string;
|
|
@@ -19467,6 +21514,14 @@ export type Database = {
|
|
|
19467
21514
|
};
|
|
19468
21515
|
Returns: undefined;
|
|
19469
21516
|
};
|
|
21517
|
+
my_module_permissions: {
|
|
21518
|
+
Args: never;
|
|
21519
|
+
Returns: {
|
|
21520
|
+
feature_id: string;
|
|
21521
|
+
module_id: string;
|
|
21522
|
+
permission: string;
|
|
21523
|
+
}[];
|
|
21524
|
+
};
|
|
19470
21525
|
next_manufacture_partij: {
|
|
19471
21526
|
Args: {
|
|
19472
21527
|
_tenant_id: string;
|
|
@@ -19517,6 +21572,13 @@ export type Database = {
|
|
|
19517
21572
|
};
|
|
19518
21573
|
Returns: boolean;
|
|
19519
21574
|
};
|
|
21575
|
+
opruim_print_historie: {
|
|
21576
|
+
Args: never;
|
|
21577
|
+
Returns: {
|
|
21578
|
+
ontdaan: number;
|
|
21579
|
+
verwijderd: number;
|
|
21580
|
+
}[];
|
|
21581
|
+
};
|
|
19520
21582
|
order_number_prefix: {
|
|
19521
21583
|
Args: {
|
|
19522
21584
|
p_custom_fields?: Json;
|
|
@@ -19524,6 +21586,15 @@ export type Database = {
|
|
|
19524
21586
|
};
|
|
19525
21587
|
Returns: string;
|
|
19526
21588
|
};
|
|
21589
|
+
pick_active_printers: {
|
|
21590
|
+
Args: never;
|
|
21591
|
+
Returns: {
|
|
21592
|
+
id: string;
|
|
21593
|
+
locatie: string;
|
|
21594
|
+
naam: string;
|
|
21595
|
+
online: boolean;
|
|
21596
|
+
}[];
|
|
21597
|
+
};
|
|
19527
21598
|
pick_claim_document: {
|
|
19528
21599
|
Args: {
|
|
19529
21600
|
_queue_item_id: string;
|
|
@@ -19710,6 +21781,52 @@ export type Database = {
|
|
|
19710
21781
|
};
|
|
19711
21782
|
Returns: undefined;
|
|
19712
21783
|
};
|
|
21784
|
+
pick_reset_print: {
|
|
21785
|
+
Args: {
|
|
21786
|
+
_queue_item_id: string;
|
|
21787
|
+
_session_id: string;
|
|
21788
|
+
};
|
|
21789
|
+
Returns: {
|
|
21790
|
+
announced_at: string;
|
|
21791
|
+
assigned_user_id: string | null;
|
|
21792
|
+
barcode: string | null;
|
|
21793
|
+
cancelled_at: string | null;
|
|
21794
|
+
cart_count: number;
|
|
21795
|
+
completed_at: string | null;
|
|
21796
|
+
country_code: string | null;
|
|
21797
|
+
created_at: string;
|
|
21798
|
+
customer_name: string | null;
|
|
21799
|
+
delivery_address: string | null;
|
|
21800
|
+
document_number: string | null;
|
|
21801
|
+
document_type_id: string | null;
|
|
21802
|
+
due_at: string | null;
|
|
21803
|
+
id: string;
|
|
21804
|
+
is_urgent: boolean;
|
|
21805
|
+
line_count: number;
|
|
21806
|
+
order_number: string | null;
|
|
21807
|
+
order_type: string | null;
|
|
21808
|
+
payload: Json;
|
|
21809
|
+
print_count: number;
|
|
21810
|
+
print_job_id: string | null;
|
|
21811
|
+
printed_at: string | null;
|
|
21812
|
+
printed_by: string | null;
|
|
21813
|
+
printer_id: string | null;
|
|
21814
|
+
priority: number;
|
|
21815
|
+
reference: string | null;
|
|
21816
|
+
route: string | null;
|
|
21817
|
+
screen_id: string | null;
|
|
21818
|
+
station_id: string | null;
|
|
21819
|
+
status_id: string | null;
|
|
21820
|
+
updated_at: string;
|
|
21821
|
+
warnings: Json;
|
|
21822
|
+
};
|
|
21823
|
+
SetofOptions: {
|
|
21824
|
+
from: "*";
|
|
21825
|
+
to: "pick_queue";
|
|
21826
|
+
isOneToOne: true;
|
|
21827
|
+
isSetofReturn: false;
|
|
21828
|
+
};
|
|
21829
|
+
};
|
|
19713
21830
|
pick_station_dashboard: {
|
|
19714
21831
|
Args: never;
|
|
19715
21832
|
Returns: {
|
|
@@ -19856,6 +21973,12 @@ export type Database = {
|
|
|
19856
21973
|
};
|
|
19857
21974
|
Returns: undefined;
|
|
19858
21975
|
};
|
|
21976
|
+
reset_stalled_floriday_stock_queue: {
|
|
21977
|
+
Args: {
|
|
21978
|
+
p_include_failed?: boolean;
|
|
21979
|
+
};
|
|
21980
|
+
Returns: number;
|
|
21981
|
+
};
|
|
19859
21982
|
resolve_group_allocation: {
|
|
19860
21983
|
Args: {
|
|
19861
21984
|
_needed: number;
|
|
@@ -19900,10 +22023,28 @@ export type Database = {
|
|
|
19900
22023
|
};
|
|
19901
22024
|
Returns: Json;
|
|
19902
22025
|
};
|
|
22026
|
+
ruim_print_jobs_op: {
|
|
22027
|
+
Args: {
|
|
22028
|
+
_bewaar_dagen?: number;
|
|
22029
|
+
};
|
|
22030
|
+
Returns: number;
|
|
22031
|
+
};
|
|
19903
22032
|
run_floriday_continuous_stock_sync: {
|
|
19904
22033
|
Args: never;
|
|
19905
22034
|
Returns: undefined;
|
|
19906
22035
|
};
|
|
22036
|
+
run_floriday_stock_queue_process: {
|
|
22037
|
+
Args: never;
|
|
22038
|
+
Returns: undefined;
|
|
22039
|
+
};
|
|
22040
|
+
run_logistics_tasks_dispatch: {
|
|
22041
|
+
Args: never;
|
|
22042
|
+
Returns: undefined;
|
|
22043
|
+
};
|
|
22044
|
+
run_print_queue_ticks: {
|
|
22045
|
+
Args: never;
|
|
22046
|
+
Returns: number;
|
|
22047
|
+
};
|
|
19907
22048
|
run_twinfield_queue_tick: {
|
|
19908
22049
|
Args: never;
|
|
19909
22050
|
Returns: undefined;
|
|
@@ -20144,6 +22285,13 @@ export type Database = {
|
|
|
20144
22285
|
};
|
|
20145
22286
|
Returns: number;
|
|
20146
22287
|
};
|
|
22288
|
+
schedule_floriday_stock_queue_process: {
|
|
22289
|
+
Args: {
|
|
22290
|
+
p_apikey: string;
|
|
22291
|
+
p_url: string;
|
|
22292
|
+
};
|
|
22293
|
+
Returns: number;
|
|
22294
|
+
};
|
|
20147
22295
|
schedule_floriday_token_refresh: {
|
|
20148
22296
|
Args: {
|
|
20149
22297
|
p_apikey: string;
|
|
@@ -20250,6 +22398,16 @@ export type Database = {
|
|
|
20250
22398
|
};
|
|
20251
22399
|
Returns: string[];
|
|
20252
22400
|
};
|
|
22401
|
+
switch_time_log: {
|
|
22402
|
+
Args: {
|
|
22403
|
+
p_employee_id: string;
|
|
22404
|
+
p_start_lat?: number;
|
|
22405
|
+
p_start_lng?: number;
|
|
22406
|
+
p_type: string;
|
|
22407
|
+
p_work_order_id?: string;
|
|
22408
|
+
};
|
|
22409
|
+
Returns: Json;
|
|
22410
|
+
};
|
|
20253
22411
|
sync_all_layer_stocks: {
|
|
20254
22412
|
Args: never;
|
|
20255
22413
|
Returns: undefined;
|
|
@@ -20284,6 +22442,21 @@ export type Database = {
|
|
|
20284
22442
|
};
|
|
20285
22443
|
Returns: undefined;
|
|
20286
22444
|
};
|
|
22445
|
+
sync_sick_time_off: {
|
|
22446
|
+
Args: {
|
|
22447
|
+
_period_id: string;
|
|
22448
|
+
};
|
|
22449
|
+
Returns: number;
|
|
22450
|
+
};
|
|
22451
|
+
trade_item_stock_duplicates: {
|
|
22452
|
+
Args: never;
|
|
22453
|
+
Returns: {
|
|
22454
|
+
keys: string[];
|
|
22455
|
+
product_id: string;
|
|
22456
|
+
product_name: string;
|
|
22457
|
+
row_count: number;
|
|
22458
|
+
}[];
|
|
22459
|
+
};
|
|
20287
22460
|
try_debtor_lock: {
|
|
20288
22461
|
Args: {
|
|
20289
22462
|
_group_key: string;
|
|
@@ -20291,6 +22464,24 @@ export type Database = {
|
|
|
20291
22464
|
};
|
|
20292
22465
|
Returns: boolean;
|
|
20293
22466
|
};
|
|
22467
|
+
twinfield_cron_lock_acquire: {
|
|
22468
|
+
Args: {
|
|
22469
|
+
_job_name: string;
|
|
22470
|
+
_stale_seconds?: number;
|
|
22471
|
+
};
|
|
22472
|
+
Returns: boolean;
|
|
22473
|
+
};
|
|
22474
|
+
twinfield_cron_lock_release: {
|
|
22475
|
+
Args: {
|
|
22476
|
+
_error?: string;
|
|
22477
|
+
_job_name: string;
|
|
22478
|
+
};
|
|
22479
|
+
Returns: undefined;
|
|
22480
|
+
};
|
|
22481
|
+
twinfield_prune_push_queue: {
|
|
22482
|
+
Args: never;
|
|
22483
|
+
Returns: number;
|
|
22484
|
+
};
|
|
20294
22485
|
twinfield_register_cron: {
|
|
20295
22486
|
Args: {
|
|
20296
22487
|
apikey?: string;
|
|
@@ -20333,8 +22524,8 @@ export type Database = {
|
|
|
20333
22524
|
};
|
|
20334
22525
|
Enums: {
|
|
20335
22526
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
20336
|
-
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
20337
|
-
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
22527
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
22528
|
+
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
|
|
20338
22529
|
doc_orientation: "portrait" | "landscape";
|
|
20339
22530
|
exact_env: "staging" | "live";
|
|
20340
22531
|
exact_push_status: "pending" | "sent" | "error";
|
|
@@ -20404,8 +22595,8 @@ export declare const Constants: {
|
|
|
20404
22595
|
readonly public: {
|
|
20405
22596
|
readonly Enums: {
|
|
20406
22597
|
readonly ai_import_status: readonly ["nieuw", "verwerken", "bevestigen", "klaar", "mislukt"];
|
|
20407
|
-
readonly app_role: readonly ["admin", "planner", "monteur", "administratie", "ai_admin"];
|
|
20408
|
-
readonly doc_layout_type: readonly ["pakbon", "factuur", "offerte", "orderbevestiging", "etiket", "verzendlabel", "productlabel", "barcode_label", "magazijnlijst", "controlelijst", "transportdocument", "vrij", "sticker", "productiebon"];
|
|
22598
|
+
readonly app_role: readonly ["admin", "planner", "monteur", "administratie", "ai_admin", "manager", "warehouse", "sales", "developer", "receptie"];
|
|
22599
|
+
readonly doc_layout_type: readonly ["pakbon", "factuur", "offerte", "orderbevestiging", "etiket", "verzendlabel", "productlabel", "barcode_label", "magazijnlijst", "controlelijst", "transportdocument", "vrij", "sticker", "productiebon", "veilingbon", "afleverbrief", "veilingbrief"];
|
|
20409
22600
|
readonly doc_orientation: readonly ["portrait", "landscape"];
|
|
20410
22601
|
readonly exact_env: readonly ["staging", "live"];
|
|
20411
22602
|
readonly exact_push_status: readonly ["pending", "sent", "error"];
|