@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
|
@@ -871,6 +871,126 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
871
871
|
};
|
|
872
872
|
Relationships: [];
|
|
873
873
|
};
|
|
874
|
+
cao_holidays: {
|
|
875
|
+
Row: {
|
|
876
|
+
created_at: string;
|
|
877
|
+
description: string | null;
|
|
878
|
+
holiday_date: string;
|
|
879
|
+
id: string;
|
|
880
|
+
updated_at: string;
|
|
881
|
+
};
|
|
882
|
+
Insert: {
|
|
883
|
+
created_at?: string;
|
|
884
|
+
description?: string | null;
|
|
885
|
+
holiday_date: string;
|
|
886
|
+
id?: string;
|
|
887
|
+
updated_at?: string;
|
|
888
|
+
};
|
|
889
|
+
Update: {
|
|
890
|
+
created_at?: string;
|
|
891
|
+
description?: string | null;
|
|
892
|
+
holiday_date?: string;
|
|
893
|
+
id?: string;
|
|
894
|
+
updated_at?: string;
|
|
895
|
+
};
|
|
896
|
+
Relationships: [];
|
|
897
|
+
};
|
|
898
|
+
cao_settings: {
|
|
899
|
+
Row: {
|
|
900
|
+
auto_break_after_hours: number;
|
|
901
|
+
auto_break_minutes: number;
|
|
902
|
+
auto_break_unpaid: boolean;
|
|
903
|
+
auto_stop_after_hours: number;
|
|
904
|
+
callout_fee: number;
|
|
905
|
+
created_at: string;
|
|
906
|
+
daily_regular_hours: number;
|
|
907
|
+
default_hourly_rate: number;
|
|
908
|
+
id: string;
|
|
909
|
+
materials_markup_percent: number;
|
|
910
|
+
max_daily_hours: number;
|
|
911
|
+
max_weekly_hours: number;
|
|
912
|
+
meal_allowance_amount: number;
|
|
913
|
+
overtime_pct_178: number;
|
|
914
|
+
overtime_pct_189: number;
|
|
915
|
+
overtime_pct_212: number;
|
|
916
|
+
reminder_after_hours: number;
|
|
917
|
+
standby_evening_amount: number;
|
|
918
|
+
standby_weekend_amount: number;
|
|
919
|
+
travel_cost_per_km: number | null;
|
|
920
|
+
travel_cost_threshold_km: number | null;
|
|
921
|
+
travel_counts_as_work: boolean;
|
|
922
|
+
travel_hourly_rate: number;
|
|
923
|
+
travel_rate_per_hour: number;
|
|
924
|
+
travel_threshold_minutes: number;
|
|
925
|
+
updated_at: string;
|
|
926
|
+
weekend_always_212: boolean;
|
|
927
|
+
window_end: string;
|
|
928
|
+
window_start: string;
|
|
929
|
+
};
|
|
930
|
+
Insert: {
|
|
931
|
+
auto_break_after_hours?: number;
|
|
932
|
+
auto_break_minutes?: number;
|
|
933
|
+
auto_break_unpaid?: boolean;
|
|
934
|
+
auto_stop_after_hours?: number;
|
|
935
|
+
callout_fee?: number;
|
|
936
|
+
created_at?: string;
|
|
937
|
+
daily_regular_hours?: number;
|
|
938
|
+
default_hourly_rate?: number;
|
|
939
|
+
id?: string;
|
|
940
|
+
materials_markup_percent?: number;
|
|
941
|
+
max_daily_hours?: number;
|
|
942
|
+
max_weekly_hours?: number;
|
|
943
|
+
meal_allowance_amount?: number;
|
|
944
|
+
overtime_pct_178?: number;
|
|
945
|
+
overtime_pct_189?: number;
|
|
946
|
+
overtime_pct_212?: number;
|
|
947
|
+
reminder_after_hours?: number;
|
|
948
|
+
standby_evening_amount?: number;
|
|
949
|
+
standby_weekend_amount?: number;
|
|
950
|
+
travel_cost_per_km?: number | null;
|
|
951
|
+
travel_cost_threshold_km?: number | null;
|
|
952
|
+
travel_counts_as_work?: boolean;
|
|
953
|
+
travel_hourly_rate?: number;
|
|
954
|
+
travel_rate_per_hour?: number;
|
|
955
|
+
travel_threshold_minutes?: number;
|
|
956
|
+
updated_at?: string;
|
|
957
|
+
weekend_always_212?: boolean;
|
|
958
|
+
window_end?: string;
|
|
959
|
+
window_start?: string;
|
|
960
|
+
};
|
|
961
|
+
Update: {
|
|
962
|
+
auto_break_after_hours?: number;
|
|
963
|
+
auto_break_minutes?: number;
|
|
964
|
+
auto_break_unpaid?: boolean;
|
|
965
|
+
auto_stop_after_hours?: number;
|
|
966
|
+
callout_fee?: number;
|
|
967
|
+
created_at?: string;
|
|
968
|
+
daily_regular_hours?: number;
|
|
969
|
+
default_hourly_rate?: number;
|
|
970
|
+
id?: string;
|
|
971
|
+
materials_markup_percent?: number;
|
|
972
|
+
max_daily_hours?: number;
|
|
973
|
+
max_weekly_hours?: number;
|
|
974
|
+
meal_allowance_amount?: number;
|
|
975
|
+
overtime_pct_178?: number;
|
|
976
|
+
overtime_pct_189?: number;
|
|
977
|
+
overtime_pct_212?: number;
|
|
978
|
+
reminder_after_hours?: number;
|
|
979
|
+
standby_evening_amount?: number;
|
|
980
|
+
standby_weekend_amount?: number;
|
|
981
|
+
travel_cost_per_km?: number | null;
|
|
982
|
+
travel_cost_threshold_km?: number | null;
|
|
983
|
+
travel_counts_as_work?: boolean;
|
|
984
|
+
travel_hourly_rate?: number;
|
|
985
|
+
travel_rate_per_hour?: number;
|
|
986
|
+
travel_threshold_minutes?: number;
|
|
987
|
+
updated_at?: string;
|
|
988
|
+
weekend_always_212?: boolean;
|
|
989
|
+
window_end?: string;
|
|
990
|
+
window_start?: string;
|
|
991
|
+
};
|
|
992
|
+
Relationships: [];
|
|
993
|
+
};
|
|
874
994
|
carrier_shipping_rates: {
|
|
875
995
|
Row: {
|
|
876
996
|
carrier_id: string;
|
|
@@ -1683,7 +1803,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
1683
1803
|
city: string | null;
|
|
1684
1804
|
country: string | null;
|
|
1685
1805
|
created_at: string;
|
|
1686
|
-
customer_id: string
|
|
1806
|
+
customer_id: string;
|
|
1687
1807
|
external_key: string | null;
|
|
1688
1808
|
external_provider: string | null;
|
|
1689
1809
|
floriday_location_id: string | null;
|
|
@@ -1707,7 +1827,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
1707
1827
|
city?: string | null;
|
|
1708
1828
|
country?: string | null;
|
|
1709
1829
|
created_at?: string;
|
|
1710
|
-
customer_id
|
|
1830
|
+
customer_id: string;
|
|
1711
1831
|
external_key?: string | null;
|
|
1712
1832
|
external_provider?: string | null;
|
|
1713
1833
|
floriday_location_id?: string | null;
|
|
@@ -1731,7 +1851,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
1731
1851
|
city?: string | null;
|
|
1732
1852
|
country?: string | null;
|
|
1733
1853
|
created_at?: string;
|
|
1734
|
-
customer_id?: string
|
|
1854
|
+
customer_id?: string;
|
|
1735
1855
|
external_key?: string | null;
|
|
1736
1856
|
external_provider?: string | null;
|
|
1737
1857
|
floriday_location_id?: string | null;
|
|
@@ -3535,153 +3655,588 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
3535
3655
|
referencedColumns: ["id"];
|
|
3536
3656
|
}];
|
|
3537
3657
|
};
|
|
3538
|
-
|
|
3658
|
+
exact_auth_call_budget: {
|
|
3539
3659
|
Row: {
|
|
3540
3660
|
account_key: string;
|
|
3541
|
-
|
|
3661
|
+
day_count: number;
|
|
3662
|
+
day_date: string;
|
|
3663
|
+
division_code: number;
|
|
3664
|
+
environment: string;
|
|
3665
|
+
minute_count: number;
|
|
3666
|
+
minute_window: string;
|
|
3667
|
+
updated_at: string;
|
|
3668
|
+
};
|
|
3669
|
+
Insert: {
|
|
3670
|
+
account_key?: string;
|
|
3671
|
+
day_count?: number;
|
|
3672
|
+
day_date?: string;
|
|
3673
|
+
division_code?: number;
|
|
3674
|
+
environment: string;
|
|
3675
|
+
minute_count?: number;
|
|
3676
|
+
minute_window?: string;
|
|
3677
|
+
updated_at?: string;
|
|
3678
|
+
};
|
|
3679
|
+
Update: {
|
|
3680
|
+
account_key?: string;
|
|
3681
|
+
day_count?: number;
|
|
3682
|
+
day_date?: string;
|
|
3683
|
+
division_code?: number;
|
|
3684
|
+
environment?: string;
|
|
3685
|
+
minute_count?: number;
|
|
3686
|
+
minute_window?: string;
|
|
3687
|
+
updated_at?: string;
|
|
3688
|
+
};
|
|
3689
|
+
Relationships: [];
|
|
3690
|
+
};
|
|
3691
|
+
exact_auth_customers: {
|
|
3692
|
+
Row: {
|
|
3693
|
+
account_key: string;
|
|
3694
|
+
address_line1: string | null;
|
|
3695
|
+
chamber_of_commerce: string | null;
|
|
3696
|
+
city: string | null;
|
|
3697
|
+
code: string | null;
|
|
3698
|
+
country: string | null;
|
|
3542
3699
|
created_at: string;
|
|
3700
|
+
currency: string | null;
|
|
3543
3701
|
division_code: number | null;
|
|
3702
|
+
email: string | null;
|
|
3544
3703
|
environment: Database["public"]["Enums"]["exact_env"];
|
|
3704
|
+
exact_id: string;
|
|
3705
|
+
exact_modified: string | null;
|
|
3706
|
+
exact_timestamp: number | null;
|
|
3545
3707
|
id: string;
|
|
3546
|
-
|
|
3708
|
+
is_active: boolean;
|
|
3709
|
+
name: string | null;
|
|
3710
|
+
phone: string | null;
|
|
3711
|
+
postcode: string | null;
|
|
3712
|
+
raw: import("./types").Json | null;
|
|
3713
|
+
status: string | null;
|
|
3547
3714
|
updated_at: string;
|
|
3715
|
+
vat_number: string | null;
|
|
3716
|
+
website: string | null;
|
|
3548
3717
|
};
|
|
3549
3718
|
Insert: {
|
|
3550
3719
|
account_key?: string;
|
|
3551
|
-
|
|
3720
|
+
address_line1?: string | null;
|
|
3721
|
+
chamber_of_commerce?: string | null;
|
|
3722
|
+
city?: string | null;
|
|
3723
|
+
code?: string | null;
|
|
3724
|
+
country?: string | null;
|
|
3552
3725
|
created_at?: string;
|
|
3726
|
+
currency?: string | null;
|
|
3553
3727
|
division_code?: number | null;
|
|
3728
|
+
email?: string | null;
|
|
3554
3729
|
environment: Database["public"]["Enums"]["exact_env"];
|
|
3730
|
+
exact_id: string;
|
|
3731
|
+
exact_modified?: string | null;
|
|
3732
|
+
exact_timestamp?: number | null;
|
|
3555
3733
|
id?: string;
|
|
3556
|
-
|
|
3734
|
+
is_active?: boolean;
|
|
3735
|
+
name?: string | null;
|
|
3736
|
+
phone?: string | null;
|
|
3737
|
+
postcode?: string | null;
|
|
3738
|
+
raw?: import("./types").Json | null;
|
|
3739
|
+
status?: string | null;
|
|
3557
3740
|
updated_at?: string;
|
|
3741
|
+
vat_number?: string | null;
|
|
3742
|
+
website?: string | null;
|
|
3558
3743
|
};
|
|
3559
3744
|
Update: {
|
|
3560
3745
|
account_key?: string;
|
|
3561
|
-
|
|
3746
|
+
address_line1?: string | null;
|
|
3747
|
+
chamber_of_commerce?: string | null;
|
|
3748
|
+
city?: string | null;
|
|
3749
|
+
code?: string | null;
|
|
3750
|
+
country?: string | null;
|
|
3562
3751
|
created_at?: string;
|
|
3752
|
+
currency?: string | null;
|
|
3563
3753
|
division_code?: number | null;
|
|
3754
|
+
email?: string | null;
|
|
3564
3755
|
environment?: Database["public"]["Enums"]["exact_env"];
|
|
3756
|
+
exact_id?: string;
|
|
3757
|
+
exact_modified?: string | null;
|
|
3758
|
+
exact_timestamp?: number | null;
|
|
3565
3759
|
id?: string;
|
|
3566
|
-
|
|
3760
|
+
is_active?: boolean;
|
|
3761
|
+
name?: string | null;
|
|
3762
|
+
phone?: string | null;
|
|
3763
|
+
postcode?: string | null;
|
|
3764
|
+
raw?: import("./types").Json | null;
|
|
3765
|
+
status?: string | null;
|
|
3567
3766
|
updated_at?: string;
|
|
3767
|
+
vat_number?: string | null;
|
|
3768
|
+
website?: string | null;
|
|
3568
3769
|
};
|
|
3569
3770
|
Relationships: [];
|
|
3570
3771
|
};
|
|
3571
|
-
|
|
3772
|
+
exact_auth_divisions: {
|
|
3572
3773
|
Row: {
|
|
3573
|
-
|
|
3574
|
-
|
|
3774
|
+
account_key: string;
|
|
3775
|
+
company_name: string | null;
|
|
3575
3776
|
created_at: string;
|
|
3576
|
-
|
|
3777
|
+
division_code: number | null;
|
|
3778
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3577
3779
|
id: string;
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
processed_at: string | null;
|
|
3581
|
-
result_data: import("./types").Json | null;
|
|
3582
|
-
status: string;
|
|
3780
|
+
last_synced_at: string | null;
|
|
3781
|
+
updated_at: string;
|
|
3583
3782
|
};
|
|
3584
3783
|
Insert: {
|
|
3585
|
-
|
|
3586
|
-
|
|
3784
|
+
account_key?: string;
|
|
3785
|
+
company_name?: string | null;
|
|
3587
3786
|
created_at?: string;
|
|
3588
|
-
|
|
3787
|
+
division_code?: number | null;
|
|
3788
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3589
3789
|
id?: string;
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
processed_at?: string | null;
|
|
3593
|
-
result_data?: import("./types").Json | null;
|
|
3594
|
-
status?: string;
|
|
3790
|
+
last_synced_at?: string | null;
|
|
3791
|
+
updated_at?: string;
|
|
3595
3792
|
};
|
|
3596
3793
|
Update: {
|
|
3597
|
-
|
|
3598
|
-
|
|
3794
|
+
account_key?: string;
|
|
3795
|
+
company_name?: string | null;
|
|
3599
3796
|
created_at?: string;
|
|
3600
|
-
|
|
3797
|
+
division_code?: number | null;
|
|
3798
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
3601
3799
|
id?: string;
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
processed_at?: string | null;
|
|
3605
|
-
result_data?: import("./types").Json | null;
|
|
3606
|
-
status?: string;
|
|
3800
|
+
last_synced_at?: string | null;
|
|
3801
|
+
updated_at?: string;
|
|
3607
3802
|
};
|
|
3608
|
-
Relationships: [
|
|
3609
|
-
foreignKeyName: "exact_bulk_operation_items_bulk_operation_id_fkey";
|
|
3610
|
-
columns: ["bulk_operation_id"];
|
|
3611
|
-
isOneToOne: false;
|
|
3612
|
-
referencedRelation: "exact_bulk_operations";
|
|
3613
|
-
referencedColumns: ["id"];
|
|
3614
|
-
}, {
|
|
3615
|
-
foreignKeyName: "exact_bulk_operation_items_invoice_cache_id_fkey";
|
|
3616
|
-
columns: ["invoice_cache_id"];
|
|
3617
|
-
isOneToOne: false;
|
|
3618
|
-
referencedRelation: "exact_invoices_cache";
|
|
3619
|
-
referencedColumns: ["id"];
|
|
3620
|
-
}];
|
|
3803
|
+
Relationships: [];
|
|
3621
3804
|
};
|
|
3622
|
-
|
|
3805
|
+
exact_auth_invoice_lines: {
|
|
3623
3806
|
Row: {
|
|
3624
|
-
|
|
3625
|
-
|
|
3807
|
+
account_key: string;
|
|
3808
|
+
amount_excl: number | null;
|
|
3626
3809
|
created_at: string;
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3810
|
+
description: string | null;
|
|
3811
|
+
discount: number | null;
|
|
3812
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3813
|
+
exact_id: string;
|
|
3814
|
+
exact_timestamp: number | null;
|
|
3630
3815
|
id: string;
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3816
|
+
invoice_exact_id: string;
|
|
3817
|
+
item_code: string | null;
|
|
3818
|
+
item_exact_id: string | null;
|
|
3819
|
+
line_number: number | null;
|
|
3820
|
+
quantity: number | null;
|
|
3821
|
+
raw: import("./types").Json | null;
|
|
3822
|
+
unit_price: number | null;
|
|
3637
3823
|
updated_at: string;
|
|
3824
|
+
vat_amount: number | null;
|
|
3825
|
+
vat_code: string | null;
|
|
3638
3826
|
};
|
|
3639
3827
|
Insert: {
|
|
3640
|
-
|
|
3641
|
-
|
|
3828
|
+
account_key?: string;
|
|
3829
|
+
amount_excl?: number | null;
|
|
3642
3830
|
created_at?: string;
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3831
|
+
description?: string | null;
|
|
3832
|
+
discount?: number | null;
|
|
3833
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3834
|
+
exact_id: string;
|
|
3835
|
+
exact_timestamp?: number | null;
|
|
3646
3836
|
id?: string;
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3837
|
+
invoice_exact_id: string;
|
|
3838
|
+
item_code?: string | null;
|
|
3839
|
+
item_exact_id?: string | null;
|
|
3840
|
+
line_number?: number | null;
|
|
3841
|
+
quantity?: number | null;
|
|
3842
|
+
raw?: import("./types").Json | null;
|
|
3843
|
+
unit_price?: number | null;
|
|
3653
3844
|
updated_at?: string;
|
|
3845
|
+
vat_amount?: number | null;
|
|
3846
|
+
vat_code?: string | null;
|
|
3654
3847
|
};
|
|
3655
3848
|
Update: {
|
|
3656
|
-
|
|
3657
|
-
|
|
3849
|
+
account_key?: string;
|
|
3850
|
+
amount_excl?: number | null;
|
|
3658
3851
|
created_at?: string;
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3852
|
+
description?: string | null;
|
|
3853
|
+
discount?: number | null;
|
|
3854
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
3855
|
+
exact_id?: string;
|
|
3856
|
+
exact_timestamp?: number | null;
|
|
3662
3857
|
id?: string;
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3858
|
+
invoice_exact_id?: string;
|
|
3859
|
+
item_code?: string | null;
|
|
3860
|
+
item_exact_id?: string | null;
|
|
3861
|
+
line_number?: number | null;
|
|
3862
|
+
quantity?: number | null;
|
|
3863
|
+
raw?: import("./types").Json | null;
|
|
3864
|
+
unit_price?: number | null;
|
|
3669
3865
|
updated_at?: string;
|
|
3866
|
+
vat_amount?: number | null;
|
|
3867
|
+
vat_code?: string | null;
|
|
3670
3868
|
};
|
|
3671
|
-
Relationships: [
|
|
3672
|
-
foreignKeyName: "exact_bulk_operations_connection_id_fkey";
|
|
3673
|
-
columns: ["connection_id"];
|
|
3674
|
-
isOneToOne: false;
|
|
3675
|
-
referencedRelation: "exact_connections";
|
|
3676
|
-
referencedColumns: ["id"];
|
|
3677
|
-
}];
|
|
3869
|
+
Relationships: [];
|
|
3678
3870
|
};
|
|
3679
|
-
|
|
3871
|
+
exact_auth_invoices: {
|
|
3680
3872
|
Row: {
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3873
|
+
account_key: string;
|
|
3874
|
+
amount_excl: number | null;
|
|
3875
|
+
amount_incl: number | null;
|
|
3876
|
+
amount_open: number | null;
|
|
3877
|
+
created_at: string;
|
|
3878
|
+
currency: string | null;
|
|
3879
|
+
customer_code: string | null;
|
|
3880
|
+
customer_exact_id: string | null;
|
|
3881
|
+
customer_name: string | null;
|
|
3882
|
+
description: string | null;
|
|
3883
|
+
division_code: number | null;
|
|
3884
|
+
due_date: string | null;
|
|
3885
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3886
|
+
exact_id: string;
|
|
3887
|
+
exact_modified: string | null;
|
|
3888
|
+
exact_timestamp: number | null;
|
|
3889
|
+
id: string;
|
|
3890
|
+
invoice_date: string | null;
|
|
3891
|
+
invoice_number: string | null;
|
|
3892
|
+
order_number: string | null;
|
|
3893
|
+
paid_at: string | null;
|
|
3894
|
+
payment_status: string;
|
|
3895
|
+
raw: import("./types").Json | null;
|
|
3896
|
+
receivable_synced_at: string | null;
|
|
3897
|
+
status_code: number | null;
|
|
3898
|
+
updated_at: string;
|
|
3899
|
+
};
|
|
3900
|
+
Insert: {
|
|
3901
|
+
account_key?: string;
|
|
3902
|
+
amount_excl?: number | null;
|
|
3903
|
+
amount_incl?: number | null;
|
|
3904
|
+
amount_open?: number | null;
|
|
3905
|
+
created_at?: string;
|
|
3906
|
+
currency?: string | null;
|
|
3907
|
+
customer_code?: string | null;
|
|
3908
|
+
customer_exact_id?: string | null;
|
|
3909
|
+
customer_name?: string | null;
|
|
3910
|
+
description?: string | null;
|
|
3911
|
+
division_code?: number | null;
|
|
3912
|
+
due_date?: string | null;
|
|
3913
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3914
|
+
exact_id: string;
|
|
3915
|
+
exact_modified?: string | null;
|
|
3916
|
+
exact_timestamp?: number | null;
|
|
3917
|
+
id?: string;
|
|
3918
|
+
invoice_date?: string | null;
|
|
3919
|
+
invoice_number?: string | null;
|
|
3920
|
+
order_number?: string | null;
|
|
3921
|
+
paid_at?: string | null;
|
|
3922
|
+
payment_status?: string;
|
|
3923
|
+
raw?: import("./types").Json | null;
|
|
3924
|
+
receivable_synced_at?: string | null;
|
|
3925
|
+
status_code?: number | null;
|
|
3926
|
+
updated_at?: string;
|
|
3927
|
+
};
|
|
3928
|
+
Update: {
|
|
3929
|
+
account_key?: string;
|
|
3930
|
+
amount_excl?: number | null;
|
|
3931
|
+
amount_incl?: number | null;
|
|
3932
|
+
amount_open?: number | null;
|
|
3933
|
+
created_at?: string;
|
|
3934
|
+
currency?: string | null;
|
|
3935
|
+
customer_code?: string | null;
|
|
3936
|
+
customer_exact_id?: string | null;
|
|
3937
|
+
customer_name?: string | null;
|
|
3938
|
+
description?: string | null;
|
|
3939
|
+
division_code?: number | null;
|
|
3940
|
+
due_date?: string | null;
|
|
3941
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
3942
|
+
exact_id?: string;
|
|
3943
|
+
exact_modified?: string | null;
|
|
3944
|
+
exact_timestamp?: number | null;
|
|
3945
|
+
id?: string;
|
|
3946
|
+
invoice_date?: string | null;
|
|
3947
|
+
invoice_number?: string | null;
|
|
3948
|
+
order_number?: string | null;
|
|
3949
|
+
paid_at?: string | null;
|
|
3950
|
+
payment_status?: string;
|
|
3951
|
+
raw?: import("./types").Json | null;
|
|
3952
|
+
receivable_synced_at?: string | null;
|
|
3953
|
+
status_code?: number | null;
|
|
3954
|
+
updated_at?: string;
|
|
3955
|
+
};
|
|
3956
|
+
Relationships: [];
|
|
3957
|
+
};
|
|
3958
|
+
exact_auth_items: {
|
|
3959
|
+
Row: {
|
|
3960
|
+
account_key: string;
|
|
3961
|
+
barcode: string | null;
|
|
3962
|
+
code: string | null;
|
|
3963
|
+
cost_price: number | null;
|
|
3964
|
+
created_at: string;
|
|
3965
|
+
description: string | null;
|
|
3966
|
+
division_code: number | null;
|
|
3967
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3968
|
+
exact_id: string;
|
|
3969
|
+
exact_modified: string | null;
|
|
3970
|
+
exact_timestamp: number | null;
|
|
3971
|
+
gl_account_code: string | null;
|
|
3972
|
+
id: string;
|
|
3973
|
+
is_active: boolean;
|
|
3974
|
+
is_sales_item: boolean | null;
|
|
3975
|
+
item_type: string | null;
|
|
3976
|
+
raw: import("./types").Json | null;
|
|
3977
|
+
sales_price: number | null;
|
|
3978
|
+
unit: string | null;
|
|
3979
|
+
updated_at: string;
|
|
3980
|
+
vat_code: string | null;
|
|
3981
|
+
};
|
|
3982
|
+
Insert: {
|
|
3983
|
+
account_key?: string;
|
|
3984
|
+
barcode?: string | null;
|
|
3985
|
+
code?: string | null;
|
|
3986
|
+
cost_price?: number | null;
|
|
3987
|
+
created_at?: string;
|
|
3988
|
+
description?: string | null;
|
|
3989
|
+
division_code?: number | null;
|
|
3990
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3991
|
+
exact_id: string;
|
|
3992
|
+
exact_modified?: string | null;
|
|
3993
|
+
exact_timestamp?: number | null;
|
|
3994
|
+
gl_account_code?: string | null;
|
|
3995
|
+
id?: string;
|
|
3996
|
+
is_active?: boolean;
|
|
3997
|
+
is_sales_item?: boolean | null;
|
|
3998
|
+
item_type?: string | null;
|
|
3999
|
+
raw?: import("./types").Json | null;
|
|
4000
|
+
sales_price?: number | null;
|
|
4001
|
+
unit?: string | null;
|
|
4002
|
+
updated_at?: string;
|
|
4003
|
+
vat_code?: string | null;
|
|
4004
|
+
};
|
|
4005
|
+
Update: {
|
|
4006
|
+
account_key?: string;
|
|
4007
|
+
barcode?: string | null;
|
|
4008
|
+
code?: string | null;
|
|
4009
|
+
cost_price?: number | null;
|
|
4010
|
+
created_at?: string;
|
|
4011
|
+
description?: string | null;
|
|
4012
|
+
division_code?: number | null;
|
|
4013
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
4014
|
+
exact_id?: string;
|
|
4015
|
+
exact_modified?: string | null;
|
|
4016
|
+
exact_timestamp?: number | null;
|
|
4017
|
+
gl_account_code?: string | null;
|
|
4018
|
+
id?: string;
|
|
4019
|
+
is_active?: boolean;
|
|
4020
|
+
is_sales_item?: boolean | null;
|
|
4021
|
+
item_type?: string | null;
|
|
4022
|
+
raw?: import("./types").Json | null;
|
|
4023
|
+
sales_price?: number | null;
|
|
4024
|
+
unit?: string | null;
|
|
4025
|
+
updated_at?: string;
|
|
4026
|
+
vat_code?: string | null;
|
|
4027
|
+
};
|
|
4028
|
+
Relationships: [];
|
|
4029
|
+
};
|
|
4030
|
+
exact_auth_sync_log: {
|
|
4031
|
+
Row: {
|
|
4032
|
+
account_key: string;
|
|
4033
|
+
calls_used: number;
|
|
4034
|
+
created_at: string;
|
|
4035
|
+
domain: string;
|
|
4036
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
4037
|
+
error: string | null;
|
|
4038
|
+
finished_at: string | null;
|
|
4039
|
+
id: string;
|
|
4040
|
+
ok: boolean;
|
|
4041
|
+
records: number;
|
|
4042
|
+
started_at: string;
|
|
4043
|
+
};
|
|
4044
|
+
Insert: {
|
|
4045
|
+
account_key?: string;
|
|
4046
|
+
calls_used?: number;
|
|
4047
|
+
created_at?: string;
|
|
4048
|
+
domain: string;
|
|
4049
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
4050
|
+
error?: string | null;
|
|
4051
|
+
finished_at?: string | null;
|
|
4052
|
+
id?: string;
|
|
4053
|
+
ok?: boolean;
|
|
4054
|
+
records?: number;
|
|
4055
|
+
started_at?: string;
|
|
4056
|
+
};
|
|
4057
|
+
Update: {
|
|
4058
|
+
account_key?: string;
|
|
4059
|
+
calls_used?: number;
|
|
4060
|
+
created_at?: string;
|
|
4061
|
+
domain?: string;
|
|
4062
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
4063
|
+
error?: string | null;
|
|
4064
|
+
finished_at?: string | null;
|
|
4065
|
+
id?: string;
|
|
4066
|
+
ok?: boolean;
|
|
4067
|
+
records?: number;
|
|
4068
|
+
started_at?: string;
|
|
4069
|
+
};
|
|
4070
|
+
Relationships: [];
|
|
4071
|
+
};
|
|
4072
|
+
exact_auth_sync_state: {
|
|
4073
|
+
Row: {
|
|
4074
|
+
account_key: string;
|
|
4075
|
+
created_at: string;
|
|
4076
|
+
cursor_timestamp: number;
|
|
4077
|
+
division_code: number | null;
|
|
4078
|
+
domain: string;
|
|
4079
|
+
duration_ms: number | null;
|
|
4080
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
4081
|
+
initial_sync_done: boolean;
|
|
4082
|
+
last_error: string | null;
|
|
4083
|
+
last_run_at: string | null;
|
|
4084
|
+
last_success_at: string | null;
|
|
4085
|
+
locked_at: string | null;
|
|
4086
|
+
needs_initial_sync: boolean;
|
|
4087
|
+
record_count: number;
|
|
4088
|
+
updated_at: string;
|
|
4089
|
+
};
|
|
4090
|
+
Insert: {
|
|
4091
|
+
account_key?: string;
|
|
4092
|
+
created_at?: string;
|
|
4093
|
+
cursor_timestamp?: number;
|
|
4094
|
+
division_code?: number | null;
|
|
4095
|
+
domain: string;
|
|
4096
|
+
duration_ms?: number | null;
|
|
4097
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
4098
|
+
initial_sync_done?: boolean;
|
|
4099
|
+
last_error?: string | null;
|
|
4100
|
+
last_run_at?: string | null;
|
|
4101
|
+
last_success_at?: string | null;
|
|
4102
|
+
locked_at?: string | null;
|
|
4103
|
+
needs_initial_sync?: boolean;
|
|
4104
|
+
record_count?: number;
|
|
4105
|
+
updated_at?: string;
|
|
4106
|
+
};
|
|
4107
|
+
Update: {
|
|
4108
|
+
account_key?: string;
|
|
4109
|
+
created_at?: string;
|
|
4110
|
+
cursor_timestamp?: number;
|
|
4111
|
+
division_code?: number | null;
|
|
4112
|
+
domain?: string;
|
|
4113
|
+
duration_ms?: number | null;
|
|
4114
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
4115
|
+
initial_sync_done?: boolean;
|
|
4116
|
+
last_error?: string | null;
|
|
4117
|
+
last_run_at?: string | null;
|
|
4118
|
+
last_success_at?: string | null;
|
|
4119
|
+
locked_at?: string | null;
|
|
4120
|
+
needs_initial_sync?: boolean;
|
|
4121
|
+
record_count?: number;
|
|
4122
|
+
updated_at?: string;
|
|
4123
|
+
};
|
|
4124
|
+
Relationships: [];
|
|
4125
|
+
};
|
|
4126
|
+
exact_bulk_operation_items: {
|
|
4127
|
+
Row: {
|
|
4128
|
+
attempts: number;
|
|
4129
|
+
bulk_operation_id: string;
|
|
4130
|
+
created_at: string;
|
|
4131
|
+
error_message: string | null;
|
|
4132
|
+
id: string;
|
|
4133
|
+
invoice_cache_id: string | null;
|
|
4134
|
+
invoice_exact_id: string | null;
|
|
4135
|
+
processed_at: string | null;
|
|
4136
|
+
result_data: import("./types").Json | null;
|
|
4137
|
+
status: string;
|
|
4138
|
+
};
|
|
4139
|
+
Insert: {
|
|
4140
|
+
attempts?: number;
|
|
4141
|
+
bulk_operation_id: string;
|
|
4142
|
+
created_at?: string;
|
|
4143
|
+
error_message?: string | null;
|
|
4144
|
+
id?: string;
|
|
4145
|
+
invoice_cache_id?: string | null;
|
|
4146
|
+
invoice_exact_id?: string | null;
|
|
4147
|
+
processed_at?: string | null;
|
|
4148
|
+
result_data?: import("./types").Json | null;
|
|
4149
|
+
status?: string;
|
|
4150
|
+
};
|
|
4151
|
+
Update: {
|
|
4152
|
+
attempts?: number;
|
|
4153
|
+
bulk_operation_id?: string;
|
|
4154
|
+
created_at?: string;
|
|
4155
|
+
error_message?: string | null;
|
|
4156
|
+
id?: string;
|
|
4157
|
+
invoice_cache_id?: string | null;
|
|
4158
|
+
invoice_exact_id?: string | null;
|
|
4159
|
+
processed_at?: string | null;
|
|
4160
|
+
result_data?: import("./types").Json | null;
|
|
4161
|
+
status?: string;
|
|
4162
|
+
};
|
|
4163
|
+
Relationships: [{
|
|
4164
|
+
foreignKeyName: "exact_bulk_operation_items_bulk_operation_id_fkey";
|
|
4165
|
+
columns: ["bulk_operation_id"];
|
|
4166
|
+
isOneToOne: false;
|
|
4167
|
+
referencedRelation: "exact_bulk_operations";
|
|
4168
|
+
referencedColumns: ["id"];
|
|
4169
|
+
}, {
|
|
4170
|
+
foreignKeyName: "exact_bulk_operation_items_invoice_cache_id_fkey";
|
|
4171
|
+
columns: ["invoice_cache_id"];
|
|
4172
|
+
isOneToOne: false;
|
|
4173
|
+
referencedRelation: "exact_invoices_cache";
|
|
4174
|
+
referencedColumns: ["id"];
|
|
4175
|
+
}];
|
|
4176
|
+
};
|
|
4177
|
+
exact_bulk_operations: {
|
|
4178
|
+
Row: {
|
|
4179
|
+
completed_at: string | null;
|
|
4180
|
+
connection_id: string;
|
|
4181
|
+
created_at: string;
|
|
4182
|
+
created_by: string | null;
|
|
4183
|
+
error_message: string | null;
|
|
4184
|
+
failed_count: number | null;
|
|
4185
|
+
id: string;
|
|
4186
|
+
operation_type: string;
|
|
4187
|
+
processed_count: number | null;
|
|
4188
|
+
result_data: import("./types").Json | null;
|
|
4189
|
+
started_at: string | null;
|
|
4190
|
+
status: string;
|
|
4191
|
+
total_count: number | null;
|
|
4192
|
+
updated_at: string;
|
|
4193
|
+
};
|
|
4194
|
+
Insert: {
|
|
4195
|
+
completed_at?: string | null;
|
|
4196
|
+
connection_id: string;
|
|
4197
|
+
created_at?: string;
|
|
4198
|
+
created_by?: string | null;
|
|
4199
|
+
error_message?: string | null;
|
|
4200
|
+
failed_count?: number | null;
|
|
4201
|
+
id?: string;
|
|
4202
|
+
operation_type: string;
|
|
4203
|
+
processed_count?: number | null;
|
|
4204
|
+
result_data?: import("./types").Json | null;
|
|
4205
|
+
started_at?: string | null;
|
|
4206
|
+
status?: string;
|
|
4207
|
+
total_count?: number | null;
|
|
4208
|
+
updated_at?: string;
|
|
4209
|
+
};
|
|
4210
|
+
Update: {
|
|
4211
|
+
completed_at?: string | null;
|
|
4212
|
+
connection_id?: string;
|
|
4213
|
+
created_at?: string;
|
|
4214
|
+
created_by?: string | null;
|
|
4215
|
+
error_message?: string | null;
|
|
4216
|
+
failed_count?: number | null;
|
|
4217
|
+
id?: string;
|
|
4218
|
+
operation_type?: string;
|
|
4219
|
+
processed_count?: number | null;
|
|
4220
|
+
result_data?: import("./types").Json | null;
|
|
4221
|
+
started_at?: string | null;
|
|
4222
|
+
status?: string;
|
|
4223
|
+
total_count?: number | null;
|
|
4224
|
+
updated_at?: string;
|
|
4225
|
+
};
|
|
4226
|
+
Relationships: [{
|
|
4227
|
+
foreignKeyName: "exact_bulk_operations_connection_id_fkey";
|
|
4228
|
+
columns: ["connection_id"];
|
|
4229
|
+
isOneToOne: false;
|
|
4230
|
+
referencedRelation: "exact_connections";
|
|
4231
|
+
referencedColumns: ["id"];
|
|
4232
|
+
}];
|
|
4233
|
+
};
|
|
4234
|
+
exact_connections: {
|
|
4235
|
+
Row: {
|
|
4236
|
+
access_token_encrypted: string;
|
|
4237
|
+
company_name: string | null;
|
|
4238
|
+
connected_at: string;
|
|
4239
|
+
connected_by: string | null;
|
|
3685
4240
|
division_code: number | null;
|
|
3686
4241
|
environment: Database["public"]["Enums"]["exact_env"];
|
|
3687
4242
|
expires_at: string;
|
|
@@ -5259,12 +5814,17 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
5259
5814
|
attempts: number;
|
|
5260
5815
|
connection_id: string;
|
|
5261
5816
|
created_at: string;
|
|
5817
|
+
desired_available: boolean | null;
|
|
5262
5818
|
gateway_attempt_id: string | null;
|
|
5263
5819
|
id: string;
|
|
5264
5820
|
last_error: string | null;
|
|
5821
|
+
locked_at: string | null;
|
|
5822
|
+
locked_by: string | null;
|
|
5823
|
+
next_attempt_at: string;
|
|
5265
5824
|
number_of_pieces: number;
|
|
5266
5825
|
sent_at: string | null;
|
|
5267
5826
|
status: string;
|
|
5827
|
+
superseded_by: string | null;
|
|
5268
5828
|
trade_item_id: string;
|
|
5269
5829
|
updated_at: string;
|
|
5270
5830
|
user_id: string;
|
|
@@ -5273,12 +5833,17 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
5273
5833
|
attempts?: number;
|
|
5274
5834
|
connection_id: string;
|
|
5275
5835
|
created_at?: string;
|
|
5836
|
+
desired_available?: boolean | null;
|
|
5276
5837
|
gateway_attempt_id?: string | null;
|
|
5277
5838
|
id?: string;
|
|
5278
5839
|
last_error?: string | null;
|
|
5840
|
+
locked_at?: string | null;
|
|
5841
|
+
locked_by?: string | null;
|
|
5842
|
+
next_attempt_at?: string;
|
|
5279
5843
|
number_of_pieces?: number;
|
|
5280
5844
|
sent_at?: string | null;
|
|
5281
5845
|
status?: string;
|
|
5846
|
+
superseded_by?: string | null;
|
|
5282
5847
|
trade_item_id: string;
|
|
5283
5848
|
updated_at?: string;
|
|
5284
5849
|
user_id: string;
|
|
@@ -5287,12 +5852,17 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
5287
5852
|
attempts?: number;
|
|
5288
5853
|
connection_id?: string;
|
|
5289
5854
|
created_at?: string;
|
|
5855
|
+
desired_available?: boolean | null;
|
|
5290
5856
|
gateway_attempt_id?: string | null;
|
|
5291
5857
|
id?: string;
|
|
5292
5858
|
last_error?: string | null;
|
|
5859
|
+
locked_at?: string | null;
|
|
5860
|
+
locked_by?: string | null;
|
|
5861
|
+
next_attempt_at?: string;
|
|
5293
5862
|
number_of_pieces?: number;
|
|
5294
5863
|
sent_at?: string | null;
|
|
5295
5864
|
status?: string;
|
|
5865
|
+
superseded_by?: string | null;
|
|
5296
5866
|
trade_item_id?: string;
|
|
5297
5867
|
updated_at?: string;
|
|
5298
5868
|
user_id?: string;
|
|
@@ -6029,6 +6599,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
6029
6599
|
Row: {
|
|
6030
6600
|
buyer_organization_id: string | null;
|
|
6031
6601
|
connection_id: string;
|
|
6602
|
+
controlled_at: string | null;
|
|
6032
6603
|
created_at: string;
|
|
6033
6604
|
data: import("./types").Json;
|
|
6034
6605
|
floriday_id: string;
|
|
@@ -6040,6 +6611,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
6040
6611
|
Insert: {
|
|
6041
6612
|
buyer_organization_id?: string | null;
|
|
6042
6613
|
connection_id: string;
|
|
6614
|
+
controlled_at?: string | null;
|
|
6043
6615
|
created_at?: string;
|
|
6044
6616
|
data: import("./types").Json;
|
|
6045
6617
|
floriday_id: string;
|
|
@@ -6051,6 +6623,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
6051
6623
|
Update: {
|
|
6052
6624
|
buyer_organization_id?: string | null;
|
|
6053
6625
|
connection_id?: string;
|
|
6626
|
+
controlled_at?: string | null;
|
|
6054
6627
|
created_at?: string;
|
|
6055
6628
|
data?: import("./types").Json;
|
|
6056
6629
|
floriday_id?: string;
|
|
@@ -6952,6 +7525,54 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
6952
7525
|
};
|
|
6953
7526
|
Relationships: [];
|
|
6954
7527
|
};
|
|
7528
|
+
invoice_timing_settings: {
|
|
7529
|
+
Row: {
|
|
7530
|
+
anchor: string;
|
|
7531
|
+
business_days_only: boolean;
|
|
7532
|
+
created_at: string;
|
|
7533
|
+
enabled: boolean;
|
|
7534
|
+
id: string;
|
|
7535
|
+
offset_days: number;
|
|
7536
|
+
pickup_anchor: string;
|
|
7537
|
+
pickup_business_days_only: boolean;
|
|
7538
|
+
pickup_offset_days: number;
|
|
7539
|
+
pickup_time_of_day: string;
|
|
7540
|
+
singleton: boolean;
|
|
7541
|
+
time_of_day: string;
|
|
7542
|
+
updated_at: string;
|
|
7543
|
+
};
|
|
7544
|
+
Insert: {
|
|
7545
|
+
anchor?: string;
|
|
7546
|
+
business_days_only?: boolean;
|
|
7547
|
+
created_at?: string;
|
|
7548
|
+
enabled?: boolean;
|
|
7549
|
+
id?: string;
|
|
7550
|
+
offset_days?: number;
|
|
7551
|
+
pickup_anchor?: string;
|
|
7552
|
+
pickup_business_days_only?: boolean;
|
|
7553
|
+
pickup_offset_days?: number;
|
|
7554
|
+
pickup_time_of_day?: string;
|
|
7555
|
+
singleton?: boolean;
|
|
7556
|
+
time_of_day?: string;
|
|
7557
|
+
updated_at?: string;
|
|
7558
|
+
};
|
|
7559
|
+
Update: {
|
|
7560
|
+
anchor?: string;
|
|
7561
|
+
business_days_only?: boolean;
|
|
7562
|
+
created_at?: string;
|
|
7563
|
+
enabled?: boolean;
|
|
7564
|
+
id?: string;
|
|
7565
|
+
offset_days?: number;
|
|
7566
|
+
pickup_anchor?: string;
|
|
7567
|
+
pickup_business_days_only?: boolean;
|
|
7568
|
+
pickup_offset_days?: number;
|
|
7569
|
+
pickup_time_of_day?: string;
|
|
7570
|
+
singleton?: boolean;
|
|
7571
|
+
time_of_day?: string;
|
|
7572
|
+
updated_at?: string;
|
|
7573
|
+
};
|
|
7574
|
+
Relationships: [];
|
|
7575
|
+
};
|
|
6955
7576
|
itk_contact_persons: {
|
|
6956
7577
|
Row: {
|
|
6957
7578
|
created_at: string;
|
|
@@ -7017,135 +7638,378 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7017
7638
|
value?: string | null;
|
|
7018
7639
|
};
|
|
7019
7640
|
Relationships: [{
|
|
7020
|
-
foreignKeyName: "itk_customer_dynamic_values_customer_id_fkey";
|
|
7021
|
-
columns: ["customer_id"];
|
|
7022
|
-
isOneToOne: false;
|
|
7023
|
-
referencedRelation: "itk_customers";
|
|
7024
|
-
referencedColumns: ["id"];
|
|
7025
|
-
}, {
|
|
7026
|
-
foreignKeyName: "itk_customer_dynamic_values_field_id_fkey";
|
|
7027
|
-
columns: ["field_id"];
|
|
7641
|
+
foreignKeyName: "itk_customer_dynamic_values_customer_id_fkey";
|
|
7642
|
+
columns: ["customer_id"];
|
|
7643
|
+
isOneToOne: false;
|
|
7644
|
+
referencedRelation: "itk_customers";
|
|
7645
|
+
referencedColumns: ["id"];
|
|
7646
|
+
}, {
|
|
7647
|
+
foreignKeyName: "itk_customer_dynamic_values_field_id_fkey";
|
|
7648
|
+
columns: ["field_id"];
|
|
7649
|
+
isOneToOne: false;
|
|
7650
|
+
referencedRelation: "itk_dynamic_fields";
|
|
7651
|
+
referencedColumns: ["id"];
|
|
7652
|
+
}];
|
|
7653
|
+
};
|
|
7654
|
+
itk_customer_notes: {
|
|
7655
|
+
Row: {
|
|
7656
|
+
body: string;
|
|
7657
|
+
created_at: string;
|
|
7658
|
+
created_by: string | null;
|
|
7659
|
+
customer_id: string;
|
|
7660
|
+
id: string;
|
|
7661
|
+
note_type: string;
|
|
7662
|
+
updated_at: string;
|
|
7663
|
+
};
|
|
7664
|
+
Insert: {
|
|
7665
|
+
body: string;
|
|
7666
|
+
created_at?: string;
|
|
7667
|
+
created_by?: string | null;
|
|
7668
|
+
customer_id: string;
|
|
7669
|
+
id?: string;
|
|
7670
|
+
note_type?: string;
|
|
7671
|
+
updated_at?: string;
|
|
7672
|
+
};
|
|
7673
|
+
Update: {
|
|
7674
|
+
body?: string;
|
|
7675
|
+
created_at?: string;
|
|
7676
|
+
created_by?: string | null;
|
|
7677
|
+
customer_id?: string;
|
|
7678
|
+
id?: string;
|
|
7679
|
+
note_type?: string;
|
|
7680
|
+
updated_at?: string;
|
|
7681
|
+
};
|
|
7682
|
+
Relationships: [{
|
|
7683
|
+
foreignKeyName: "itk_customer_notes_customer_id_fkey";
|
|
7684
|
+
columns: ["customer_id"];
|
|
7685
|
+
isOneToOne: false;
|
|
7686
|
+
referencedRelation: "itk_customers";
|
|
7687
|
+
referencedColumns: ["id"];
|
|
7688
|
+
}];
|
|
7689
|
+
};
|
|
7690
|
+
itk_customers: {
|
|
7691
|
+
Row: {
|
|
7692
|
+
billing_city: string | null;
|
|
7693
|
+
billing_postcode: string | null;
|
|
7694
|
+
billing_street: string | null;
|
|
7695
|
+
created_at: string;
|
|
7696
|
+
customer_number: string | null;
|
|
7697
|
+
general_email: string | null;
|
|
7698
|
+
general_phone: string | null;
|
|
7699
|
+
id: string;
|
|
7700
|
+
legacy_customer_id: string | null;
|
|
7701
|
+
name: string;
|
|
7702
|
+
segment: Database["public"]["Enums"]["itk_customer_segment"];
|
|
7703
|
+
updated_at: string;
|
|
7704
|
+
};
|
|
7705
|
+
Insert: {
|
|
7706
|
+
billing_city?: string | null;
|
|
7707
|
+
billing_postcode?: string | null;
|
|
7708
|
+
billing_street?: string | null;
|
|
7709
|
+
created_at?: string;
|
|
7710
|
+
customer_number?: string | null;
|
|
7711
|
+
general_email?: string | null;
|
|
7712
|
+
general_phone?: string | null;
|
|
7713
|
+
id?: string;
|
|
7714
|
+
legacy_customer_id?: string | null;
|
|
7715
|
+
name: string;
|
|
7716
|
+
segment?: Database["public"]["Enums"]["itk_customer_segment"];
|
|
7717
|
+
updated_at?: string;
|
|
7718
|
+
};
|
|
7719
|
+
Update: {
|
|
7720
|
+
billing_city?: string | null;
|
|
7721
|
+
billing_postcode?: string | null;
|
|
7722
|
+
billing_street?: string | null;
|
|
7723
|
+
created_at?: string;
|
|
7724
|
+
customer_number?: string | null;
|
|
7725
|
+
general_email?: string | null;
|
|
7726
|
+
general_phone?: string | null;
|
|
7727
|
+
id?: string;
|
|
7728
|
+
legacy_customer_id?: string | null;
|
|
7729
|
+
name?: string;
|
|
7730
|
+
segment?: Database["public"]["Enums"]["itk_customer_segment"];
|
|
7731
|
+
updated_at?: string;
|
|
7732
|
+
};
|
|
7733
|
+
Relationships: [{
|
|
7734
|
+
foreignKeyName: "itk_customers_legacy_customer_id_fkey";
|
|
7735
|
+
columns: ["legacy_customer_id"];
|
|
7736
|
+
isOneToOne: false;
|
|
7737
|
+
referencedRelation: "customers";
|
|
7738
|
+
referencedColumns: ["id"];
|
|
7739
|
+
}];
|
|
7740
|
+
};
|
|
7741
|
+
itk_dynamic_fields: {
|
|
7742
|
+
Row: {
|
|
7743
|
+
created_at: string;
|
|
7744
|
+
field_name: string;
|
|
7745
|
+
field_type: Database["public"]["Enums"]["itk_dynamic_field_type"];
|
|
7746
|
+
id: string;
|
|
7747
|
+
options: import("./types").Json;
|
|
7748
|
+
sort_order: number;
|
|
7749
|
+
updated_at: string;
|
|
7750
|
+
};
|
|
7751
|
+
Insert: {
|
|
7752
|
+
created_at?: string;
|
|
7753
|
+
field_name: string;
|
|
7754
|
+
field_type?: Database["public"]["Enums"]["itk_dynamic_field_type"];
|
|
7755
|
+
id?: string;
|
|
7756
|
+
options?: import("./types").Json;
|
|
7757
|
+
sort_order?: number;
|
|
7758
|
+
updated_at?: string;
|
|
7759
|
+
};
|
|
7760
|
+
Update: {
|
|
7761
|
+
created_at?: string;
|
|
7762
|
+
field_name?: string;
|
|
7763
|
+
field_type?: Database["public"]["Enums"]["itk_dynamic_field_type"];
|
|
7764
|
+
id?: string;
|
|
7765
|
+
options?: import("./types").Json;
|
|
7766
|
+
sort_order?: number;
|
|
7767
|
+
updated_at?: string;
|
|
7768
|
+
};
|
|
7769
|
+
Relationships: [];
|
|
7770
|
+
};
|
|
7771
|
+
itk_offerte_events: {
|
|
7772
|
+
Row: {
|
|
7773
|
+
created_at: string;
|
|
7774
|
+
event_type: string;
|
|
7775
|
+
id: string;
|
|
7776
|
+
metadata: import("./types").Json;
|
|
7777
|
+
offerte_id: string;
|
|
7778
|
+
omschrijving: string | null;
|
|
7779
|
+
user_id: string | null;
|
|
7780
|
+
};
|
|
7781
|
+
Insert: {
|
|
7782
|
+
created_at?: string;
|
|
7783
|
+
event_type: string;
|
|
7784
|
+
id?: string;
|
|
7785
|
+
metadata?: import("./types").Json;
|
|
7786
|
+
offerte_id: string;
|
|
7787
|
+
omschrijving?: string | null;
|
|
7788
|
+
user_id?: string | null;
|
|
7789
|
+
};
|
|
7790
|
+
Update: {
|
|
7791
|
+
created_at?: string;
|
|
7792
|
+
event_type?: string;
|
|
7793
|
+
id?: string;
|
|
7794
|
+
metadata?: import("./types").Json;
|
|
7795
|
+
offerte_id?: string;
|
|
7796
|
+
omschrijving?: string | null;
|
|
7797
|
+
user_id?: string | null;
|
|
7798
|
+
};
|
|
7799
|
+
Relationships: [{
|
|
7800
|
+
foreignKeyName: "itk_offerte_events_offerte_id_fkey";
|
|
7801
|
+
columns: ["offerte_id"];
|
|
7028
7802
|
isOneToOne: false;
|
|
7029
|
-
referencedRelation: "
|
|
7803
|
+
referencedRelation: "itk_offertes";
|
|
7030
7804
|
referencedColumns: ["id"];
|
|
7031
7805
|
}];
|
|
7032
7806
|
};
|
|
7033
|
-
|
|
7807
|
+
itk_offerte_regels: {
|
|
7034
7808
|
Row: {
|
|
7035
|
-
body: string;
|
|
7036
7809
|
created_at: string;
|
|
7037
|
-
created_by: string | null;
|
|
7038
|
-
customer_id: string;
|
|
7039
7810
|
id: string;
|
|
7040
|
-
|
|
7811
|
+
line_total_cents: number;
|
|
7812
|
+
offerte_id: string;
|
|
7813
|
+
omschrijving: string;
|
|
7814
|
+
package_id: string | null;
|
|
7815
|
+
quantity: number;
|
|
7816
|
+
sort_order: number;
|
|
7817
|
+
source: string;
|
|
7818
|
+
unit_price_cents: number;
|
|
7041
7819
|
updated_at: string;
|
|
7042
7820
|
};
|
|
7043
7821
|
Insert: {
|
|
7044
|
-
body: string;
|
|
7045
7822
|
created_at?: string;
|
|
7046
|
-
created_by?: string | null;
|
|
7047
|
-
customer_id: string;
|
|
7048
7823
|
id?: string;
|
|
7049
|
-
|
|
7824
|
+
line_total_cents?: number;
|
|
7825
|
+
offerte_id: string;
|
|
7826
|
+
omschrijving?: string;
|
|
7827
|
+
package_id?: string | null;
|
|
7828
|
+
quantity?: number;
|
|
7829
|
+
sort_order?: number;
|
|
7830
|
+
source?: string;
|
|
7831
|
+
unit_price_cents?: number;
|
|
7050
7832
|
updated_at?: string;
|
|
7051
7833
|
};
|
|
7052
7834
|
Update: {
|
|
7053
|
-
body?: string;
|
|
7054
7835
|
created_at?: string;
|
|
7055
|
-
created_by?: string | null;
|
|
7056
|
-
customer_id?: string;
|
|
7057
7836
|
id?: string;
|
|
7058
|
-
|
|
7837
|
+
line_total_cents?: number;
|
|
7838
|
+
offerte_id?: string;
|
|
7839
|
+
omschrijving?: string;
|
|
7840
|
+
package_id?: string | null;
|
|
7841
|
+
quantity?: number;
|
|
7842
|
+
sort_order?: number;
|
|
7843
|
+
source?: string;
|
|
7844
|
+
unit_price_cents?: number;
|
|
7059
7845
|
updated_at?: string;
|
|
7060
7846
|
};
|
|
7061
7847
|
Relationships: [{
|
|
7062
|
-
foreignKeyName: "
|
|
7063
|
-
columns: ["
|
|
7848
|
+
foreignKeyName: "itk_offerte_regels_offerte_id_fkey";
|
|
7849
|
+
columns: ["offerte_id"];
|
|
7064
7850
|
isOneToOne: false;
|
|
7065
|
-
referencedRelation: "
|
|
7851
|
+
referencedRelation: "itk_offertes";
|
|
7852
|
+
referencedColumns: ["id"];
|
|
7853
|
+
}, {
|
|
7854
|
+
foreignKeyName: "itk_offerte_regels_package_id_fkey";
|
|
7855
|
+
columns: ["package_id"];
|
|
7856
|
+
isOneToOne: false;
|
|
7857
|
+
referencedRelation: "werkbon_packages";
|
|
7066
7858
|
referencedColumns: ["id"];
|
|
7067
7859
|
}];
|
|
7068
7860
|
};
|
|
7069
|
-
|
|
7861
|
+
itk_offerte_settings: {
|
|
7070
7862
|
Row: {
|
|
7071
|
-
|
|
7072
|
-
billing_postcode: string | null;
|
|
7073
|
-
billing_street: string | null;
|
|
7863
|
+
auto_convert_binnen_mandaat: boolean;
|
|
7074
7864
|
created_at: string;
|
|
7075
|
-
|
|
7076
|
-
|
|
7077
|
-
general_phone: string | null;
|
|
7865
|
+
default_geldigheid_dagen: number;
|
|
7866
|
+
default_vat_rate: number;
|
|
7078
7867
|
id: string;
|
|
7079
|
-
|
|
7080
|
-
name: string;
|
|
7081
|
-
segment: Database["public"]["Enums"]["itk_customer_segment"];
|
|
7868
|
+
singleton: boolean;
|
|
7082
7869
|
updated_at: string;
|
|
7083
7870
|
};
|
|
7084
7871
|
Insert: {
|
|
7085
|
-
|
|
7086
|
-
billing_postcode?: string | null;
|
|
7087
|
-
billing_street?: string | null;
|
|
7872
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
7088
7873
|
created_at?: string;
|
|
7089
|
-
|
|
7090
|
-
|
|
7091
|
-
general_phone?: string | null;
|
|
7874
|
+
default_geldigheid_dagen?: number;
|
|
7875
|
+
default_vat_rate?: number;
|
|
7092
7876
|
id?: string;
|
|
7093
|
-
|
|
7094
|
-
name: string;
|
|
7095
|
-
segment?: Database["public"]["Enums"]["itk_customer_segment"];
|
|
7877
|
+
singleton?: boolean;
|
|
7096
7878
|
updated_at?: string;
|
|
7097
7879
|
};
|
|
7098
7880
|
Update: {
|
|
7099
|
-
|
|
7100
|
-
billing_postcode?: string | null;
|
|
7101
|
-
billing_street?: string | null;
|
|
7881
|
+
auto_convert_binnen_mandaat?: boolean;
|
|
7102
7882
|
created_at?: string;
|
|
7103
|
-
|
|
7104
|
-
|
|
7105
|
-
general_phone?: string | null;
|
|
7883
|
+
default_geldigheid_dagen?: number;
|
|
7884
|
+
default_vat_rate?: number;
|
|
7106
7885
|
id?: string;
|
|
7107
|
-
|
|
7108
|
-
name?: string;
|
|
7109
|
-
segment?: Database["public"]["Enums"]["itk_customer_segment"];
|
|
7886
|
+
singleton?: boolean;
|
|
7110
7887
|
updated_at?: string;
|
|
7111
7888
|
};
|
|
7112
|
-
Relationships: [
|
|
7113
|
-
foreignKeyName: "itk_customers_legacy_customer_id_fkey";
|
|
7114
|
-
columns: ["legacy_customer_id"];
|
|
7115
|
-
isOneToOne: false;
|
|
7116
|
-
referencedRelation: "customers";
|
|
7117
|
-
referencedColumns: ["id"];
|
|
7118
|
-
}];
|
|
7889
|
+
Relationships: [];
|
|
7119
7890
|
};
|
|
7120
|
-
|
|
7891
|
+
itk_offertes: {
|
|
7121
7892
|
Row: {
|
|
7893
|
+
ai_generated: boolean;
|
|
7894
|
+
approved_at: string | null;
|
|
7895
|
+
binnen_mandaat: boolean;
|
|
7896
|
+
contact_id: string | null;
|
|
7897
|
+
converted_at: string | null;
|
|
7122
7898
|
created_at: string;
|
|
7123
|
-
|
|
7124
|
-
|
|
7899
|
+
created_by: string | null;
|
|
7900
|
+
customer_id: string | null;
|
|
7901
|
+
follow_up_werkbon_id: string | null;
|
|
7125
7902
|
id: string;
|
|
7126
|
-
|
|
7127
|
-
|
|
7903
|
+
jaar: number;
|
|
7904
|
+
mandaat_restant_cents: number;
|
|
7905
|
+
notities: string | null;
|
|
7906
|
+
offerte_number: string | null;
|
|
7907
|
+
omschrijving: string;
|
|
7908
|
+
rejected_at: string | null;
|
|
7909
|
+
sent_at: string | null;
|
|
7910
|
+
status: string;
|
|
7911
|
+
subtotal_cents: number;
|
|
7912
|
+
total_cents: number;
|
|
7128
7913
|
updated_at: string;
|
|
7914
|
+
valid_until: string | null;
|
|
7915
|
+
vat_cents: number;
|
|
7916
|
+
vat_rate: number;
|
|
7917
|
+
viewed_at: string | null;
|
|
7918
|
+
volgnummer: number | null;
|
|
7919
|
+
werkbon_id: string | null;
|
|
7920
|
+
work_location_id: string | null;
|
|
7129
7921
|
};
|
|
7130
7922
|
Insert: {
|
|
7923
|
+
ai_generated?: boolean;
|
|
7924
|
+
approved_at?: string | null;
|
|
7925
|
+
binnen_mandaat?: boolean;
|
|
7926
|
+
contact_id?: string | null;
|
|
7927
|
+
converted_at?: string | null;
|
|
7131
7928
|
created_at?: string;
|
|
7132
|
-
|
|
7133
|
-
|
|
7929
|
+
created_by?: string | null;
|
|
7930
|
+
customer_id?: string | null;
|
|
7931
|
+
follow_up_werkbon_id?: string | null;
|
|
7134
7932
|
id?: string;
|
|
7135
|
-
|
|
7136
|
-
|
|
7933
|
+
jaar?: number;
|
|
7934
|
+
mandaat_restant_cents?: number;
|
|
7935
|
+
notities?: string | null;
|
|
7936
|
+
offerte_number?: string | null;
|
|
7937
|
+
omschrijving?: string;
|
|
7938
|
+
rejected_at?: string | null;
|
|
7939
|
+
sent_at?: string | null;
|
|
7940
|
+
status?: string;
|
|
7941
|
+
subtotal_cents?: number;
|
|
7942
|
+
total_cents?: number;
|
|
7137
7943
|
updated_at?: string;
|
|
7944
|
+
valid_until?: string | null;
|
|
7945
|
+
vat_cents?: number;
|
|
7946
|
+
vat_rate?: number;
|
|
7947
|
+
viewed_at?: string | null;
|
|
7948
|
+
volgnummer?: number | null;
|
|
7949
|
+
werkbon_id?: string | null;
|
|
7950
|
+
work_location_id?: string | null;
|
|
7138
7951
|
};
|
|
7139
7952
|
Update: {
|
|
7953
|
+
ai_generated?: boolean;
|
|
7954
|
+
approved_at?: string | null;
|
|
7955
|
+
binnen_mandaat?: boolean;
|
|
7956
|
+
contact_id?: string | null;
|
|
7957
|
+
converted_at?: string | null;
|
|
7140
7958
|
created_at?: string;
|
|
7141
|
-
|
|
7142
|
-
|
|
7959
|
+
created_by?: string | null;
|
|
7960
|
+
customer_id?: string | null;
|
|
7961
|
+
follow_up_werkbon_id?: string | null;
|
|
7143
7962
|
id?: string;
|
|
7144
|
-
|
|
7145
|
-
|
|
7963
|
+
jaar?: number;
|
|
7964
|
+
mandaat_restant_cents?: number;
|
|
7965
|
+
notities?: string | null;
|
|
7966
|
+
offerte_number?: string | null;
|
|
7967
|
+
omschrijving?: string;
|
|
7968
|
+
rejected_at?: string | null;
|
|
7969
|
+
sent_at?: string | null;
|
|
7970
|
+
status?: string;
|
|
7971
|
+
subtotal_cents?: number;
|
|
7972
|
+
total_cents?: number;
|
|
7146
7973
|
updated_at?: string;
|
|
7974
|
+
valid_until?: string | null;
|
|
7975
|
+
vat_cents?: number;
|
|
7976
|
+
vat_rate?: number;
|
|
7977
|
+
viewed_at?: string | null;
|
|
7978
|
+
volgnummer?: number | null;
|
|
7979
|
+
werkbon_id?: string | null;
|
|
7980
|
+
work_location_id?: string | null;
|
|
7147
7981
|
};
|
|
7148
|
-
Relationships: [
|
|
7982
|
+
Relationships: [{
|
|
7983
|
+
foreignKeyName: "itk_offertes_contact_id_fkey";
|
|
7984
|
+
columns: ["contact_id"];
|
|
7985
|
+
isOneToOne: false;
|
|
7986
|
+
referencedRelation: "itk_contact_persons";
|
|
7987
|
+
referencedColumns: ["id"];
|
|
7988
|
+
}, {
|
|
7989
|
+
foreignKeyName: "itk_offertes_customer_id_fkey";
|
|
7990
|
+
columns: ["customer_id"];
|
|
7991
|
+
isOneToOne: false;
|
|
7992
|
+
referencedRelation: "itk_customers";
|
|
7993
|
+
referencedColumns: ["id"];
|
|
7994
|
+
}, {
|
|
7995
|
+
foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
|
|
7996
|
+
columns: ["follow_up_werkbon_id"];
|
|
7997
|
+
isOneToOne: false;
|
|
7998
|
+
referencedRelation: "werkbonnen";
|
|
7999
|
+
referencedColumns: ["id"];
|
|
8000
|
+
}, {
|
|
8001
|
+
foreignKeyName: "itk_offertes_werkbon_id_fkey";
|
|
8002
|
+
columns: ["werkbon_id"];
|
|
8003
|
+
isOneToOne: false;
|
|
8004
|
+
referencedRelation: "werkbonnen";
|
|
8005
|
+
referencedColumns: ["id"];
|
|
8006
|
+
}, {
|
|
8007
|
+
foreignKeyName: "itk_offertes_work_location_id_fkey";
|
|
8008
|
+
columns: ["work_location_id"];
|
|
8009
|
+
isOneToOne: false;
|
|
8010
|
+
referencedRelation: "itk_work_locations";
|
|
8011
|
+
referencedColumns: ["id"];
|
|
8012
|
+
}];
|
|
7149
8013
|
};
|
|
7150
8014
|
itk_work_locations: {
|
|
7151
8015
|
Row: {
|
|
@@ -7264,7 +8128,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7264
8128
|
start_date: string;
|
|
7265
8129
|
start_time: string | null;
|
|
7266
8130
|
status: string;
|
|
7267
|
-
tenant_id: string;
|
|
7268
8131
|
updated_at: string;
|
|
7269
8132
|
user_id: string;
|
|
7270
8133
|
};
|
|
@@ -7282,7 +8145,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7282
8145
|
start_date: string;
|
|
7283
8146
|
start_time?: string | null;
|
|
7284
8147
|
status?: string;
|
|
7285
|
-
tenant_id?: string;
|
|
7286
8148
|
updated_at?: string;
|
|
7287
8149
|
user_id: string;
|
|
7288
8150
|
};
|
|
@@ -7300,7 +8162,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7300
8162
|
start_date?: string;
|
|
7301
8163
|
start_time?: string | null;
|
|
7302
8164
|
status?: string;
|
|
7303
|
-
tenant_id?: string;
|
|
7304
8165
|
updated_at?: string;
|
|
7305
8166
|
user_id?: string;
|
|
7306
8167
|
};
|
|
@@ -7308,13 +8169,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
7308
8169
|
foreignKeyName: "leave_requests_monteur_id_fkey";
|
|
7309
8170
|
columns: ["monteur_id"];
|
|
7310
8171
|
isOneToOne: false;
|
|
7311
|
-
referencedRelation: "
|
|
8172
|
+
referencedRelation: "profiles";
|
|
7312
8173
|
referencedColumns: ["id"];
|
|
7313
8174
|
}, {
|
|
7314
8175
|
foreignKeyName: "leave_requests_user_id_fkey";
|
|
7315
8176
|
columns: ["user_id"];
|
|
7316
8177
|
isOneToOne: false;
|
|
7317
|
-
referencedRelation: "
|
|
8178
|
+
referencedRelation: "profiles";
|
|
7318
8179
|
referencedColumns: ["id"];
|
|
7319
8180
|
}];
|
|
7320
8181
|
};
|
|
@@ -8041,6 +8902,69 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8041
8902
|
};
|
|
8042
8903
|
Relationships: [];
|
|
8043
8904
|
};
|
|
8905
|
+
logistics_floriday_pushes: {
|
|
8906
|
+
Row: {
|
|
8907
|
+
attempts: number;
|
|
8908
|
+
created_at: string;
|
|
8909
|
+
first_queued_at: string;
|
|
8910
|
+
fulfillment_order_id: string | null;
|
|
8911
|
+
id: string;
|
|
8912
|
+
last_error: string | null;
|
|
8913
|
+
last_error_at: string | null;
|
|
8914
|
+
last_sent_hash: string | null;
|
|
8915
|
+
locked_by: string | null;
|
|
8916
|
+
locked_until: string | null;
|
|
8917
|
+
next_attempt_at: string;
|
|
8918
|
+
order_ref: string;
|
|
8919
|
+
payload: import("./types").Json;
|
|
8920
|
+
payload_hash: string | null;
|
|
8921
|
+
revision: number;
|
|
8922
|
+
sent_at: string | null;
|
|
8923
|
+
status: string;
|
|
8924
|
+
updated_at: string;
|
|
8925
|
+
};
|
|
8926
|
+
Insert: {
|
|
8927
|
+
attempts?: number;
|
|
8928
|
+
created_at?: string;
|
|
8929
|
+
first_queued_at?: string;
|
|
8930
|
+
fulfillment_order_id?: string | null;
|
|
8931
|
+
id?: string;
|
|
8932
|
+
last_error?: string | null;
|
|
8933
|
+
last_error_at?: string | null;
|
|
8934
|
+
last_sent_hash?: string | null;
|
|
8935
|
+
locked_by?: string | null;
|
|
8936
|
+
locked_until?: string | null;
|
|
8937
|
+
next_attempt_at?: string;
|
|
8938
|
+
order_ref: string;
|
|
8939
|
+
payload?: import("./types").Json;
|
|
8940
|
+
payload_hash?: string | null;
|
|
8941
|
+
revision?: number;
|
|
8942
|
+
sent_at?: string | null;
|
|
8943
|
+
status?: string;
|
|
8944
|
+
updated_at?: string;
|
|
8945
|
+
};
|
|
8946
|
+
Update: {
|
|
8947
|
+
attempts?: number;
|
|
8948
|
+
created_at?: string;
|
|
8949
|
+
first_queued_at?: string;
|
|
8950
|
+
fulfillment_order_id?: string | null;
|
|
8951
|
+
id?: string;
|
|
8952
|
+
last_error?: string | null;
|
|
8953
|
+
last_error_at?: string | null;
|
|
8954
|
+
last_sent_hash?: string | null;
|
|
8955
|
+
locked_by?: string | null;
|
|
8956
|
+
locked_until?: string | null;
|
|
8957
|
+
next_attempt_at?: string;
|
|
8958
|
+
order_ref?: string;
|
|
8959
|
+
payload?: import("./types").Json;
|
|
8960
|
+
payload_hash?: string | null;
|
|
8961
|
+
revision?: number;
|
|
8962
|
+
sent_at?: string | null;
|
|
8963
|
+
status?: string;
|
|
8964
|
+
updated_at?: string;
|
|
8965
|
+
};
|
|
8966
|
+
Relationships: [];
|
|
8967
|
+
};
|
|
8044
8968
|
logistics_formulas: {
|
|
8045
8969
|
Row: {
|
|
8046
8970
|
created_at: string;
|
|
@@ -8104,18 +9028,57 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8104
9028
|
pickup_time: string;
|
|
8105
9029
|
sequence?: number;
|
|
8106
9030
|
updated_at?: string;
|
|
8107
|
-
user_id?: string;
|
|
9031
|
+
user_id?: string;
|
|
9032
|
+
};
|
|
9033
|
+
Update: {
|
|
9034
|
+
carrier_ref?: string | null;
|
|
9035
|
+
created_at?: string;
|
|
9036
|
+
id?: string;
|
|
9037
|
+
label?: string | null;
|
|
9038
|
+
moment_date?: string;
|
|
9039
|
+
pickup_time?: string;
|
|
9040
|
+
sequence?: number;
|
|
9041
|
+
updated_at?: string;
|
|
9042
|
+
user_id?: string;
|
|
9043
|
+
};
|
|
9044
|
+
Relationships: [];
|
|
9045
|
+
};
|
|
9046
|
+
logistics_plan_queue: {
|
|
9047
|
+
Row: {
|
|
9048
|
+
attempts: number;
|
|
9049
|
+
claimed_at: string | null;
|
|
9050
|
+
enqueued_at: string;
|
|
9051
|
+
error: string | null;
|
|
9052
|
+
id: string;
|
|
9053
|
+
next_attempt_at: string;
|
|
9054
|
+
order_id: string;
|
|
9055
|
+
reason: string;
|
|
9056
|
+
status: string;
|
|
9057
|
+
updated_at: string;
|
|
9058
|
+
};
|
|
9059
|
+
Insert: {
|
|
9060
|
+
attempts?: number;
|
|
9061
|
+
claimed_at?: string | null;
|
|
9062
|
+
enqueued_at?: string;
|
|
9063
|
+
error?: string | null;
|
|
9064
|
+
id?: string;
|
|
9065
|
+
next_attempt_at?: string;
|
|
9066
|
+
order_id: string;
|
|
9067
|
+
reason?: string;
|
|
9068
|
+
status?: string;
|
|
9069
|
+
updated_at?: string;
|
|
8108
9070
|
};
|
|
8109
9071
|
Update: {
|
|
8110
|
-
|
|
8111
|
-
|
|
9072
|
+
attempts?: number;
|
|
9073
|
+
claimed_at?: string | null;
|
|
9074
|
+
enqueued_at?: string;
|
|
9075
|
+
error?: string | null;
|
|
8112
9076
|
id?: string;
|
|
8113
|
-
|
|
8114
|
-
|
|
8115
|
-
|
|
8116
|
-
|
|
9077
|
+
next_attempt_at?: string;
|
|
9078
|
+
order_id?: string;
|
|
9079
|
+
reason?: string;
|
|
9080
|
+
status?: string;
|
|
8117
9081
|
updated_at?: string;
|
|
8118
|
-
user_id?: string;
|
|
8119
9082
|
};
|
|
8120
9083
|
Relationships: [];
|
|
8121
9084
|
};
|
|
@@ -8194,6 +9157,24 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8194
9157
|
referencedColumns: ["id"];
|
|
8195
9158
|
}];
|
|
8196
9159
|
};
|
|
9160
|
+
logistics_plan_settings: {
|
|
9161
|
+
Row: {
|
|
9162
|
+
key: string;
|
|
9163
|
+
updated_at: string;
|
|
9164
|
+
value: string;
|
|
9165
|
+
};
|
|
9166
|
+
Insert: {
|
|
9167
|
+
key: string;
|
|
9168
|
+
updated_at?: string;
|
|
9169
|
+
value: string;
|
|
9170
|
+
};
|
|
9171
|
+
Update: {
|
|
9172
|
+
key?: string;
|
|
9173
|
+
updated_at?: string;
|
|
9174
|
+
value?: string;
|
|
9175
|
+
};
|
|
9176
|
+
Relationships: [];
|
|
9177
|
+
};
|
|
8197
9178
|
logistics_rebuffer_state: {
|
|
8198
9179
|
Row: {
|
|
8199
9180
|
created_at: string;
|
|
@@ -8652,6 +9633,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8652
9633
|
};
|
|
8653
9634
|
logistics_tasks: {
|
|
8654
9635
|
Row: {
|
|
9636
|
+
attempt_log: import("./types").Json;
|
|
9637
|
+
attempts: number;
|
|
8655
9638
|
buffer_ref: string | null;
|
|
8656
9639
|
claimed_at: string | null;
|
|
8657
9640
|
claimed_by: string | null;
|
|
@@ -8661,6 +9644,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8661
9644
|
due_at: string | null;
|
|
8662
9645
|
error: string | null;
|
|
8663
9646
|
id: string;
|
|
9647
|
+
last_error: string | null;
|
|
9648
|
+
next_attempt_at: string | null;
|
|
8664
9649
|
order_ref: string;
|
|
8665
9650
|
owner_module: string;
|
|
8666
9651
|
payload: import("./types").Json;
|
|
@@ -8681,6 +9666,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8681
9666
|
user_id: string;
|
|
8682
9667
|
};
|
|
8683
9668
|
Insert: {
|
|
9669
|
+
attempt_log?: import("./types").Json;
|
|
9670
|
+
attempts?: number;
|
|
8684
9671
|
buffer_ref?: string | null;
|
|
8685
9672
|
claimed_at?: string | null;
|
|
8686
9673
|
claimed_by?: string | null;
|
|
@@ -8690,6 +9677,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8690
9677
|
due_at?: string | null;
|
|
8691
9678
|
error?: string | null;
|
|
8692
9679
|
id?: string;
|
|
9680
|
+
last_error?: string | null;
|
|
9681
|
+
next_attempt_at?: string | null;
|
|
8693
9682
|
order_ref: string;
|
|
8694
9683
|
owner_module: string;
|
|
8695
9684
|
payload?: import("./types").Json;
|
|
@@ -8710,6 +9699,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8710
9699
|
user_id?: string;
|
|
8711
9700
|
};
|
|
8712
9701
|
Update: {
|
|
9702
|
+
attempt_log?: import("./types").Json;
|
|
9703
|
+
attempts?: number;
|
|
8713
9704
|
buffer_ref?: string | null;
|
|
8714
9705
|
claimed_at?: string | null;
|
|
8715
9706
|
claimed_by?: string | null;
|
|
@@ -8719,6 +9710,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8719
9710
|
due_at?: string | null;
|
|
8720
9711
|
error?: string | null;
|
|
8721
9712
|
id?: string;
|
|
9713
|
+
last_error?: string | null;
|
|
9714
|
+
next_attempt_at?: string | null;
|
|
8722
9715
|
order_ref?: string;
|
|
8723
9716
|
owner_module?: string;
|
|
8724
9717
|
payload?: import("./types").Json;
|
|
@@ -8892,14 +9885,17 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8892
9885
|
};
|
|
8893
9886
|
mailbox_messages: {
|
|
8894
9887
|
Row: {
|
|
9888
|
+
attachments: import("./types").Json;
|
|
8895
9889
|
body_html: string | null;
|
|
8896
9890
|
body_text: string | null;
|
|
9891
|
+
cc_recipients: import("./types").Json;
|
|
8897
9892
|
connection_id: string | null;
|
|
8898
9893
|
created_at: string;
|
|
8899
9894
|
error_message: string | null;
|
|
8900
9895
|
external_id: string | null;
|
|
8901
9896
|
from_email: string | null;
|
|
8902
9897
|
from_name: string | null;
|
|
9898
|
+
has_attachments: boolean;
|
|
8903
9899
|
id: string;
|
|
8904
9900
|
message_id: string | null;
|
|
8905
9901
|
profile_id: string | null;
|
|
@@ -8907,18 +9903,22 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8907
9903
|
received_at: string | null;
|
|
8908
9904
|
status: string;
|
|
8909
9905
|
subject: string | null;
|
|
9906
|
+
to_recipients: import("./types").Json;
|
|
8910
9907
|
uid: number | null;
|
|
8911
9908
|
updated_at: string;
|
|
8912
9909
|
};
|
|
8913
9910
|
Insert: {
|
|
9911
|
+
attachments?: import("./types").Json;
|
|
8914
9912
|
body_html?: string | null;
|
|
8915
9913
|
body_text?: string | null;
|
|
9914
|
+
cc_recipients?: import("./types").Json;
|
|
8916
9915
|
connection_id?: string | null;
|
|
8917
9916
|
created_at?: string;
|
|
8918
9917
|
error_message?: string | null;
|
|
8919
9918
|
external_id?: string | null;
|
|
8920
9919
|
from_email?: string | null;
|
|
8921
9920
|
from_name?: string | null;
|
|
9921
|
+
has_attachments?: boolean;
|
|
8922
9922
|
id?: string;
|
|
8923
9923
|
message_id?: string | null;
|
|
8924
9924
|
profile_id?: string | null;
|
|
@@ -8926,18 +9926,22 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8926
9926
|
received_at?: string | null;
|
|
8927
9927
|
status?: string;
|
|
8928
9928
|
subject?: string | null;
|
|
9929
|
+
to_recipients?: import("./types").Json;
|
|
8929
9930
|
uid?: number | null;
|
|
8930
9931
|
updated_at?: string;
|
|
8931
9932
|
};
|
|
8932
9933
|
Update: {
|
|
9934
|
+
attachments?: import("./types").Json;
|
|
8933
9935
|
body_html?: string | null;
|
|
8934
9936
|
body_text?: string | null;
|
|
9937
|
+
cc_recipients?: import("./types").Json;
|
|
8935
9938
|
connection_id?: string | null;
|
|
8936
9939
|
created_at?: string;
|
|
8937
9940
|
error_message?: string | null;
|
|
8938
9941
|
external_id?: string | null;
|
|
8939
9942
|
from_email?: string | null;
|
|
8940
9943
|
from_name?: string | null;
|
|
9944
|
+
has_attachments?: boolean;
|
|
8941
9945
|
id?: string;
|
|
8942
9946
|
message_id?: string | null;
|
|
8943
9947
|
profile_id?: string | null;
|
|
@@ -8945,6 +9949,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
8945
9949
|
received_at?: string | null;
|
|
8946
9950
|
status?: string;
|
|
8947
9951
|
subject?: string | null;
|
|
9952
|
+
to_recipients?: import("./types").Json;
|
|
8948
9953
|
uid?: number | null;
|
|
8949
9954
|
updated_at?: string;
|
|
8950
9955
|
};
|
|
@@ -9325,6 +10330,147 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
9325
10330
|
};
|
|
9326
10331
|
Relationships: [];
|
|
9327
10332
|
};
|
|
10333
|
+
material_usage: {
|
|
10334
|
+
Row: {
|
|
10335
|
+
created_at: string;
|
|
10336
|
+
id: string;
|
|
10337
|
+
material_name: string;
|
|
10338
|
+
monteur_id: string | null;
|
|
10339
|
+
price_at_time: number;
|
|
10340
|
+
quantity_used: number;
|
|
10341
|
+
updated_at: string;
|
|
10342
|
+
van_inventory_id: string | null;
|
|
10343
|
+
work_order_id: string;
|
|
10344
|
+
};
|
|
10345
|
+
Insert: {
|
|
10346
|
+
created_at?: string;
|
|
10347
|
+
id?: string;
|
|
10348
|
+
material_name: string;
|
|
10349
|
+
monteur_id?: string | null;
|
|
10350
|
+
price_at_time?: number;
|
|
10351
|
+
quantity_used?: number;
|
|
10352
|
+
updated_at?: string;
|
|
10353
|
+
van_inventory_id?: string | null;
|
|
10354
|
+
work_order_id: string;
|
|
10355
|
+
};
|
|
10356
|
+
Update: {
|
|
10357
|
+
created_at?: string;
|
|
10358
|
+
id?: string;
|
|
10359
|
+
material_name?: string;
|
|
10360
|
+
monteur_id?: string | null;
|
|
10361
|
+
price_at_time?: number;
|
|
10362
|
+
quantity_used?: number;
|
|
10363
|
+
updated_at?: string;
|
|
10364
|
+
van_inventory_id?: string | null;
|
|
10365
|
+
work_order_id?: string;
|
|
10366
|
+
};
|
|
10367
|
+
Relationships: [{
|
|
10368
|
+
foreignKeyName: "material_usage_monteur_id_fkey";
|
|
10369
|
+
columns: ["monteur_id"];
|
|
10370
|
+
isOneToOne: false;
|
|
10371
|
+
referencedRelation: "profiles";
|
|
10372
|
+
referencedColumns: ["id"];
|
|
10373
|
+
}, {
|
|
10374
|
+
foreignKeyName: "material_usage_van_inventory_id_fkey";
|
|
10375
|
+
columns: ["van_inventory_id"];
|
|
10376
|
+
isOneToOne: false;
|
|
10377
|
+
referencedRelation: "van_inventories";
|
|
10378
|
+
referencedColumns: ["id"];
|
|
10379
|
+
}, {
|
|
10380
|
+
foreignKeyName: "material_usage_work_order_id_fkey";
|
|
10381
|
+
columns: ["work_order_id"];
|
|
10382
|
+
isOneToOne: false;
|
|
10383
|
+
referencedRelation: "work_orders";
|
|
10384
|
+
referencedColumns: ["id"];
|
|
10385
|
+
}];
|
|
10386
|
+
};
|
|
10387
|
+
medewerker_details: {
|
|
10388
|
+
Row: {
|
|
10389
|
+
color: string | null;
|
|
10390
|
+
created_at: string;
|
|
10391
|
+
hours_fri: number | null;
|
|
10392
|
+
hours_mon: number | null;
|
|
10393
|
+
hours_thu: number | null;
|
|
10394
|
+
hours_tue: number | null;
|
|
10395
|
+
hours_wed: number | null;
|
|
10396
|
+
id: string;
|
|
10397
|
+
is_active: boolean;
|
|
10398
|
+
leave_balance_hours: number;
|
|
10399
|
+
persnr: string | null;
|
|
10400
|
+
phone: string | null;
|
|
10401
|
+
profile_id: string;
|
|
10402
|
+
updated_at: string;
|
|
10403
|
+
};
|
|
10404
|
+
Insert: {
|
|
10405
|
+
color?: string | null;
|
|
10406
|
+
created_at?: string;
|
|
10407
|
+
hours_fri?: number | null;
|
|
10408
|
+
hours_mon?: number | null;
|
|
10409
|
+
hours_thu?: number | null;
|
|
10410
|
+
hours_tue?: number | null;
|
|
10411
|
+
hours_wed?: number | null;
|
|
10412
|
+
id?: string;
|
|
10413
|
+
is_active?: boolean;
|
|
10414
|
+
leave_balance_hours?: number;
|
|
10415
|
+
persnr?: string | null;
|
|
10416
|
+
phone?: string | null;
|
|
10417
|
+
profile_id: string;
|
|
10418
|
+
updated_at?: string;
|
|
10419
|
+
};
|
|
10420
|
+
Update: {
|
|
10421
|
+
color?: string | null;
|
|
10422
|
+
created_at?: string;
|
|
10423
|
+
hours_fri?: number | null;
|
|
10424
|
+
hours_mon?: number | null;
|
|
10425
|
+
hours_thu?: number | null;
|
|
10426
|
+
hours_tue?: number | null;
|
|
10427
|
+
hours_wed?: number | null;
|
|
10428
|
+
id?: string;
|
|
10429
|
+
is_active?: boolean;
|
|
10430
|
+
leave_balance_hours?: number;
|
|
10431
|
+
persnr?: string | null;
|
|
10432
|
+
phone?: string | null;
|
|
10433
|
+
profile_id?: string;
|
|
10434
|
+
updated_at?: string;
|
|
10435
|
+
};
|
|
10436
|
+
Relationships: [{
|
|
10437
|
+
foreignKeyName: "medewerker_details_profile_id_fkey";
|
|
10438
|
+
columns: ["profile_id"];
|
|
10439
|
+
isOneToOne: true;
|
|
10440
|
+
referencedRelation: "profiles";
|
|
10441
|
+
referencedColumns: ["id"];
|
|
10442
|
+
}];
|
|
10443
|
+
};
|
|
10444
|
+
module_features: {
|
|
10445
|
+
Row: {
|
|
10446
|
+
created_at: string;
|
|
10447
|
+
feature_id: string;
|
|
10448
|
+
id: string;
|
|
10449
|
+
is_active: boolean;
|
|
10450
|
+
last_seen_at: string;
|
|
10451
|
+
module_id: string;
|
|
10452
|
+
name: string;
|
|
10453
|
+
};
|
|
10454
|
+
Insert: {
|
|
10455
|
+
created_at?: string;
|
|
10456
|
+
feature_id: string;
|
|
10457
|
+
id?: string;
|
|
10458
|
+
is_active?: boolean;
|
|
10459
|
+
last_seen_at?: string;
|
|
10460
|
+
module_id: string;
|
|
10461
|
+
name: string;
|
|
10462
|
+
};
|
|
10463
|
+
Update: {
|
|
10464
|
+
created_at?: string;
|
|
10465
|
+
feature_id?: string;
|
|
10466
|
+
id?: string;
|
|
10467
|
+
is_active?: boolean;
|
|
10468
|
+
last_seen_at?: string;
|
|
10469
|
+
module_id?: string;
|
|
10470
|
+
name?: string;
|
|
10471
|
+
};
|
|
10472
|
+
Relationships: [];
|
|
10473
|
+
};
|
|
9328
10474
|
module_permissions: {
|
|
9329
10475
|
Row: {
|
|
9330
10476
|
created_at: string;
|
|
@@ -9352,6 +10498,39 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
9352
10498
|
};
|
|
9353
10499
|
Relationships: [];
|
|
9354
10500
|
};
|
|
10501
|
+
module_registry: {
|
|
10502
|
+
Row: {
|
|
10503
|
+
created_at: string;
|
|
10504
|
+
enforce: boolean;
|
|
10505
|
+
is_active: boolean;
|
|
10506
|
+
last_seen_at: string;
|
|
10507
|
+
module_id: string;
|
|
10508
|
+
name: string;
|
|
10509
|
+
shell_id: string | null;
|
|
10510
|
+
sort_order: number | null;
|
|
10511
|
+
};
|
|
10512
|
+
Insert: {
|
|
10513
|
+
created_at?: string;
|
|
10514
|
+
enforce?: boolean;
|
|
10515
|
+
is_active?: boolean;
|
|
10516
|
+
last_seen_at?: string;
|
|
10517
|
+
module_id: string;
|
|
10518
|
+
name: string;
|
|
10519
|
+
shell_id?: string | null;
|
|
10520
|
+
sort_order?: number | null;
|
|
10521
|
+
};
|
|
10522
|
+
Update: {
|
|
10523
|
+
created_at?: string;
|
|
10524
|
+
enforce?: boolean;
|
|
10525
|
+
is_active?: boolean;
|
|
10526
|
+
last_seen_at?: string;
|
|
10527
|
+
module_id?: string;
|
|
10528
|
+
name?: string;
|
|
10529
|
+
shell_id?: string | null;
|
|
10530
|
+
sort_order?: number | null;
|
|
10531
|
+
};
|
|
10532
|
+
Relationships: [];
|
|
10533
|
+
};
|
|
9355
10534
|
module_runtime_config: {
|
|
9356
10535
|
Row: {
|
|
9357
10536
|
key: string;
|
|
@@ -9403,63 +10582,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
9403
10582
|
};
|
|
9404
10583
|
Relationships: [];
|
|
9405
10584
|
};
|
|
9406
|
-
monteurs: {
|
|
9407
|
-
Row: {
|
|
9408
|
-
avatar_url: string | null;
|
|
9409
|
-
color: string | null;
|
|
9410
|
-
created_at: string;
|
|
9411
|
-
email: string | null;
|
|
9412
|
-
id: string;
|
|
9413
|
-
is_active: boolean;
|
|
9414
|
-
leave_balance_hours: number;
|
|
9415
|
-
name: string;
|
|
9416
|
-
persnr: number | null;
|
|
9417
|
-
phone: string | null;
|
|
9418
|
-
role: string;
|
|
9419
|
-
tenant_id: string;
|
|
9420
|
-
updated_at: string;
|
|
9421
|
-
user_id: string | null;
|
|
9422
|
-
};
|
|
9423
|
-
Insert: {
|
|
9424
|
-
avatar_url?: string | null;
|
|
9425
|
-
color?: string | null;
|
|
9426
|
-
created_at?: string;
|
|
9427
|
-
email?: string | null;
|
|
9428
|
-
id?: string;
|
|
9429
|
-
is_active?: boolean;
|
|
9430
|
-
leave_balance_hours?: number;
|
|
9431
|
-
name: string;
|
|
9432
|
-
persnr?: number | null;
|
|
9433
|
-
phone?: string | null;
|
|
9434
|
-
role?: string;
|
|
9435
|
-
tenant_id: string;
|
|
9436
|
-
updated_at?: string;
|
|
9437
|
-
user_id?: string | null;
|
|
9438
|
-
};
|
|
9439
|
-
Update: {
|
|
9440
|
-
avatar_url?: string | null;
|
|
9441
|
-
color?: string | null;
|
|
9442
|
-
created_at?: string;
|
|
9443
|
-
email?: string | null;
|
|
9444
|
-
id?: string;
|
|
9445
|
-
is_active?: boolean;
|
|
9446
|
-
leave_balance_hours?: number;
|
|
9447
|
-
name?: string;
|
|
9448
|
-
persnr?: number | null;
|
|
9449
|
-
phone?: string | null;
|
|
9450
|
-
role?: string;
|
|
9451
|
-
tenant_id?: string;
|
|
9452
|
-
updated_at?: string;
|
|
9453
|
-
user_id?: string | null;
|
|
9454
|
-
};
|
|
9455
|
-
Relationships: [{
|
|
9456
|
-
foreignKeyName: "monteurs_tenant_id_fkey";
|
|
9457
|
-
columns: ["tenant_id"];
|
|
9458
|
-
isOneToOne: false;
|
|
9459
|
-
referencedRelation: "tenants";
|
|
9460
|
-
referencedColumns: ["id"];
|
|
9461
|
-
}];
|
|
9462
|
-
};
|
|
9463
10585
|
nmbrs_component_mapping: {
|
|
9464
10586
|
Row: {
|
|
9465
10587
|
created_at: string;
|
|
@@ -9530,13 +10652,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
9530
10652
|
nmbrs_employee_number?: string;
|
|
9531
10653
|
updated_at?: string;
|
|
9532
10654
|
};
|
|
9533
|
-
Relationships: [
|
|
9534
|
-
foreignKeyName: "nmbrs_employee_mapping_monteur_id_fkey";
|
|
9535
|
-
columns: ["monteur_id"];
|
|
9536
|
-
isOneToOne: true;
|
|
9537
|
-
referencedRelation: "monteurs";
|
|
9538
|
-
referencedColumns: ["id"];
|
|
9539
|
-
}];
|
|
10655
|
+
Relationships: [];
|
|
9540
10656
|
};
|
|
9541
10657
|
nmbrs_export_lines: {
|
|
9542
10658
|
Row: {
|
|
@@ -9585,12 +10701,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
9585
10701
|
wage_code?: string;
|
|
9586
10702
|
};
|
|
9587
10703
|
Relationships: [{
|
|
9588
|
-
foreignKeyName: "nmbrs_export_lines_monteur_id_fkey";
|
|
9589
|
-
columns: ["monteur_id"];
|
|
9590
|
-
isOneToOne: false;
|
|
9591
|
-
referencedRelation: "monteurs";
|
|
9592
|
-
referencedColumns: ["id"];
|
|
9593
|
-
}, {
|
|
9594
10704
|
foreignKeyName: "nmbrs_export_lines_run_id_fkey";
|
|
9595
10705
|
columns: ["run_id"];
|
|
9596
10706
|
isOneToOne: false;
|
|
@@ -10068,6 +11178,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
10068
11178
|
};
|
|
10069
11179
|
offer_settings: {
|
|
10070
11180
|
Row: {
|
|
11181
|
+
brand_name: string | null;
|
|
10071
11182
|
button_color: string;
|
|
10072
11183
|
created_at: string;
|
|
10073
11184
|
default_countries: string[];
|
|
@@ -10089,6 +11200,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
10089
11200
|
updated_at: string;
|
|
10090
11201
|
};
|
|
10091
11202
|
Insert: {
|
|
11203
|
+
brand_name?: string | null;
|
|
10092
11204
|
button_color?: string;
|
|
10093
11205
|
created_at?: string;
|
|
10094
11206
|
default_countries?: string[];
|
|
@@ -10110,6 +11222,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
10110
11222
|
updated_at?: string;
|
|
10111
11223
|
};
|
|
10112
11224
|
Update: {
|
|
11225
|
+
brand_name?: string | null;
|
|
10113
11226
|
button_color?: string;
|
|
10114
11227
|
created_at?: string;
|
|
10115
11228
|
default_countries?: string[];
|
|
@@ -10408,6 +11521,45 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
10408
11521
|
};
|
|
10409
11522
|
Relationships: [];
|
|
10410
11523
|
};
|
|
11524
|
+
order_invoice_links: {
|
|
11525
|
+
Row: {
|
|
11526
|
+
attempts: number;
|
|
11527
|
+
created_at: string;
|
|
11528
|
+
error_message: string | null;
|
|
11529
|
+
id: string;
|
|
11530
|
+
invoice_number: string | null;
|
|
11531
|
+
next_attempt_at: string;
|
|
11532
|
+
order_id: string;
|
|
11533
|
+
processed_at: string | null;
|
|
11534
|
+
status: string;
|
|
11535
|
+
updated_at: string;
|
|
11536
|
+
};
|
|
11537
|
+
Insert: {
|
|
11538
|
+
attempts?: number;
|
|
11539
|
+
created_at?: string;
|
|
11540
|
+
error_message?: string | null;
|
|
11541
|
+
id?: string;
|
|
11542
|
+
invoice_number?: string | null;
|
|
11543
|
+
next_attempt_at?: string;
|
|
11544
|
+
order_id: string;
|
|
11545
|
+
processed_at?: string | null;
|
|
11546
|
+
status?: string;
|
|
11547
|
+
updated_at?: string;
|
|
11548
|
+
};
|
|
11549
|
+
Update: {
|
|
11550
|
+
attempts?: number;
|
|
11551
|
+
created_at?: string;
|
|
11552
|
+
error_message?: string | null;
|
|
11553
|
+
id?: string;
|
|
11554
|
+
invoice_number?: string | null;
|
|
11555
|
+
next_attempt_at?: string;
|
|
11556
|
+
order_id?: string;
|
|
11557
|
+
processed_at?: string | null;
|
|
11558
|
+
status?: string;
|
|
11559
|
+
updated_at?: string;
|
|
11560
|
+
};
|
|
11561
|
+
Relationships: [];
|
|
11562
|
+
};
|
|
10411
11563
|
order_items: {
|
|
10412
11564
|
Row: {
|
|
10413
11565
|
crates_per_layer: number | null;
|
|
@@ -10590,6 +11742,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
10590
11742
|
delivery_date: string | null;
|
|
10591
11743
|
floriday_sales_order_id: string | null;
|
|
10592
11744
|
id: string;
|
|
11745
|
+
invoice_due_at: string | null;
|
|
10593
11746
|
is_reservation: boolean;
|
|
10594
11747
|
notes: string | null;
|
|
10595
11748
|
order_date: string;
|
|
@@ -10611,6 +11764,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
10611
11764
|
delivery_date?: string | null;
|
|
10612
11765
|
floriday_sales_order_id?: string | null;
|
|
10613
11766
|
id?: string;
|
|
11767
|
+
invoice_due_at?: string | null;
|
|
10614
11768
|
is_reservation?: boolean;
|
|
10615
11769
|
notes?: string | null;
|
|
10616
11770
|
order_date?: string;
|
|
@@ -10632,6 +11786,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
10632
11786
|
delivery_date?: string | null;
|
|
10633
11787
|
floriday_sales_order_id?: string | null;
|
|
10634
11788
|
id?: string;
|
|
11789
|
+
invoice_due_at?: string | null;
|
|
10635
11790
|
is_reservation?: boolean;
|
|
10636
11791
|
notes?: string | null;
|
|
10637
11792
|
order_date?: string;
|
|
@@ -11828,22 +12983,27 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
11828
12983
|
created_at: string;
|
|
11829
12984
|
documentnaam: string;
|
|
11830
12985
|
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
12986
|
+
extern_job_id: string | null;
|
|
11831
12987
|
foutmelding: string | null;
|
|
11832
12988
|
gebruiker_id: string | null;
|
|
11833
12989
|
gebruiker_naam: string;
|
|
11834
12990
|
gestart_op: string | null;
|
|
11835
12991
|
id: string;
|
|
12992
|
+
idempotentie_sleutel: string | null;
|
|
11836
12993
|
is_herprint: boolean;
|
|
11837
12994
|
kopieen: number;
|
|
11838
12995
|
layout_id: string | null;
|
|
11839
12996
|
opgepakt_op: string | null;
|
|
11840
12997
|
paginas: number;
|
|
11841
12998
|
payload: import("./types").Json;
|
|
12999
|
+
pdf_base64: string | null;
|
|
13000
|
+
pdf_url: string | null;
|
|
11842
13001
|
pogingen: number;
|
|
11843
13002
|
printer_id: string | null;
|
|
11844
13003
|
render_html: string | null;
|
|
11845
13004
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
11846
13005
|
updated_at: string;
|
|
13006
|
+
volgende_poging: string | null;
|
|
11847
13007
|
voltooid_op: string | null;
|
|
11848
13008
|
};
|
|
11849
13009
|
Insert: {
|
|
@@ -11852,22 +13012,27 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
11852
13012
|
created_at?: string;
|
|
11853
13013
|
documentnaam?: string;
|
|
11854
13014
|
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
13015
|
+
extern_job_id?: string | null;
|
|
11855
13016
|
foutmelding?: string | null;
|
|
11856
13017
|
gebruiker_id?: string | null;
|
|
11857
13018
|
gebruiker_naam?: string;
|
|
11858
13019
|
gestart_op?: string | null;
|
|
11859
13020
|
id?: string;
|
|
13021
|
+
idempotentie_sleutel?: string | null;
|
|
11860
13022
|
is_herprint?: boolean;
|
|
11861
13023
|
kopieen?: number;
|
|
11862
13024
|
layout_id?: string | null;
|
|
11863
13025
|
opgepakt_op?: string | null;
|
|
11864
13026
|
paginas?: number;
|
|
11865
13027
|
payload?: import("./types").Json;
|
|
13028
|
+
pdf_base64?: string | null;
|
|
13029
|
+
pdf_url?: string | null;
|
|
11866
13030
|
pogingen?: number;
|
|
11867
13031
|
printer_id?: string | null;
|
|
11868
13032
|
render_html?: string | null;
|
|
11869
13033
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
11870
13034
|
updated_at?: string;
|
|
13035
|
+
volgende_poging?: string | null;
|
|
11871
13036
|
voltooid_op?: string | null;
|
|
11872
13037
|
};
|
|
11873
13038
|
Update: {
|
|
@@ -11876,22 +13041,27 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
11876
13041
|
created_at?: string;
|
|
11877
13042
|
documentnaam?: string;
|
|
11878
13043
|
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
13044
|
+
extern_job_id?: string | null;
|
|
11879
13045
|
foutmelding?: string | null;
|
|
11880
13046
|
gebruiker_id?: string | null;
|
|
11881
13047
|
gebruiker_naam?: string;
|
|
11882
13048
|
gestart_op?: string | null;
|
|
11883
13049
|
id?: string;
|
|
13050
|
+
idempotentie_sleutel?: string | null;
|
|
11884
13051
|
is_herprint?: boolean;
|
|
11885
13052
|
kopieen?: number;
|
|
11886
13053
|
layout_id?: string | null;
|
|
11887
13054
|
opgepakt_op?: string | null;
|
|
11888
13055
|
paginas?: number;
|
|
11889
13056
|
payload?: import("./types").Json;
|
|
13057
|
+
pdf_base64?: string | null;
|
|
13058
|
+
pdf_url?: string | null;
|
|
11890
13059
|
pogingen?: number;
|
|
11891
13060
|
printer_id?: string | null;
|
|
11892
13061
|
render_html?: string | null;
|
|
11893
13062
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
11894
13063
|
updated_at?: string;
|
|
13064
|
+
volgende_poging?: string | null;
|
|
11895
13065
|
voltooid_op?: string | null;
|
|
11896
13066
|
};
|
|
11897
13067
|
Relationships: [{
|
|
@@ -11914,6 +13084,72 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
11914
13084
|
referencedColumns: ["id"];
|
|
11915
13085
|
}];
|
|
11916
13086
|
};
|
|
13087
|
+
print_queue_runners: {
|
|
13088
|
+
Row: {
|
|
13089
|
+
actief: boolean;
|
|
13090
|
+
basis_url: string;
|
|
13091
|
+
created_at: string;
|
|
13092
|
+
id: string;
|
|
13093
|
+
laatst_gezien: string;
|
|
13094
|
+
laatste_fout: string | null;
|
|
13095
|
+
laatste_request_id: number | null;
|
|
13096
|
+
mislukte_posts: number;
|
|
13097
|
+
tick_sleutel: string;
|
|
13098
|
+
updated_at: string;
|
|
13099
|
+
};
|
|
13100
|
+
Insert: {
|
|
13101
|
+
actief?: boolean;
|
|
13102
|
+
basis_url: string;
|
|
13103
|
+
created_at?: string;
|
|
13104
|
+
id?: string;
|
|
13105
|
+
laatst_gezien?: string;
|
|
13106
|
+
laatste_fout?: string | null;
|
|
13107
|
+
laatste_request_id?: number | null;
|
|
13108
|
+
mislukte_posts?: number;
|
|
13109
|
+
tick_sleutel?: string;
|
|
13110
|
+
updated_at?: string;
|
|
13111
|
+
};
|
|
13112
|
+
Update: {
|
|
13113
|
+
actief?: boolean;
|
|
13114
|
+
basis_url?: string;
|
|
13115
|
+
created_at?: string;
|
|
13116
|
+
id?: string;
|
|
13117
|
+
laatst_gezien?: string;
|
|
13118
|
+
laatste_fout?: string | null;
|
|
13119
|
+
laatste_request_id?: number | null;
|
|
13120
|
+
mislukte_posts?: number;
|
|
13121
|
+
tick_sleutel?: string;
|
|
13122
|
+
updated_at?: string;
|
|
13123
|
+
};
|
|
13124
|
+
Relationships: [];
|
|
13125
|
+
};
|
|
13126
|
+
print_queue_settings: {
|
|
13127
|
+
Row: {
|
|
13128
|
+
bewaar_bestanden_dagen: number;
|
|
13129
|
+
bewaar_opdrachten_dagen: number;
|
|
13130
|
+
created_at: string;
|
|
13131
|
+
dubbel_venster_minuten: number;
|
|
13132
|
+
id: string;
|
|
13133
|
+
updated_at: string;
|
|
13134
|
+
};
|
|
13135
|
+
Insert: {
|
|
13136
|
+
bewaar_bestanden_dagen?: number;
|
|
13137
|
+
bewaar_opdrachten_dagen?: number;
|
|
13138
|
+
created_at?: string;
|
|
13139
|
+
dubbel_venster_minuten?: number;
|
|
13140
|
+
id?: string;
|
|
13141
|
+
updated_at?: string;
|
|
13142
|
+
};
|
|
13143
|
+
Update: {
|
|
13144
|
+
bewaar_bestanden_dagen?: number;
|
|
13145
|
+
bewaar_opdrachten_dagen?: number;
|
|
13146
|
+
created_at?: string;
|
|
13147
|
+
dubbel_venster_minuten?: number;
|
|
13148
|
+
id?: string;
|
|
13149
|
+
updated_at?: string;
|
|
13150
|
+
};
|
|
13151
|
+
Relationships: [];
|
|
13152
|
+
};
|
|
11917
13153
|
print_rules: {
|
|
11918
13154
|
Row: {
|
|
11919
13155
|
actief: boolean;
|
|
@@ -12074,6 +13310,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
12074
13310
|
agent_id: string | null;
|
|
12075
13311
|
created_at: string;
|
|
12076
13312
|
driver: string;
|
|
13313
|
+
extern_printer_id: string | null;
|
|
12077
13314
|
id: string;
|
|
12078
13315
|
ip_adres: string | null;
|
|
12079
13316
|
laatst_gezien: string | null;
|
|
@@ -12095,6 +13332,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
12095
13332
|
agent_id?: string | null;
|
|
12096
13333
|
created_at?: string;
|
|
12097
13334
|
driver?: string;
|
|
13335
|
+
extern_printer_id?: string | null;
|
|
12098
13336
|
id?: string;
|
|
12099
13337
|
ip_adres?: string | null;
|
|
12100
13338
|
laatst_gezien?: string | null;
|
|
@@ -12116,6 +13354,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
12116
13354
|
agent_id?: string | null;
|
|
12117
13355
|
created_at?: string;
|
|
12118
13356
|
driver?: string;
|
|
13357
|
+
extern_printer_id?: string | null;
|
|
12119
13358
|
id?: string;
|
|
12120
13359
|
ip_adres?: string | null;
|
|
12121
13360
|
laatst_gezien?: string | null;
|
|
@@ -13387,6 +14626,96 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
13387
14626
|
referencedColumns: ["id"];
|
|
13388
14627
|
}];
|
|
13389
14628
|
};
|
|
14629
|
+
role_assignments: {
|
|
14630
|
+
Row: {
|
|
14631
|
+
created_at: string;
|
|
14632
|
+
id: string;
|
|
14633
|
+
role_id: string;
|
|
14634
|
+
user_id: string;
|
|
14635
|
+
};
|
|
14636
|
+
Insert: {
|
|
14637
|
+
created_at?: string;
|
|
14638
|
+
id?: string;
|
|
14639
|
+
role_id: string;
|
|
14640
|
+
user_id: string;
|
|
14641
|
+
};
|
|
14642
|
+
Update: {
|
|
14643
|
+
created_at?: string;
|
|
14644
|
+
id?: string;
|
|
14645
|
+
role_id?: string;
|
|
14646
|
+
user_id?: string;
|
|
14647
|
+
};
|
|
14648
|
+
Relationships: [{
|
|
14649
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
14650
|
+
columns: ["role_id"];
|
|
14651
|
+
isOneToOne: false;
|
|
14652
|
+
referencedRelation: "roles";
|
|
14653
|
+
referencedColumns: ["id"];
|
|
14654
|
+
}];
|
|
14655
|
+
};
|
|
14656
|
+
role_permissions: {
|
|
14657
|
+
Row: {
|
|
14658
|
+
can_edit: boolean;
|
|
14659
|
+
can_view: boolean;
|
|
14660
|
+
feature_id: string;
|
|
14661
|
+
id: string;
|
|
14662
|
+
module_id: string;
|
|
14663
|
+
role_id: string;
|
|
14664
|
+
updated_at: string;
|
|
14665
|
+
};
|
|
14666
|
+
Insert: {
|
|
14667
|
+
can_edit?: boolean;
|
|
14668
|
+
can_view?: boolean;
|
|
14669
|
+
feature_id?: string;
|
|
14670
|
+
id?: string;
|
|
14671
|
+
module_id: string;
|
|
14672
|
+
role_id: string;
|
|
14673
|
+
updated_at?: string;
|
|
14674
|
+
};
|
|
14675
|
+
Update: {
|
|
14676
|
+
can_edit?: boolean;
|
|
14677
|
+
can_view?: boolean;
|
|
14678
|
+
feature_id?: string;
|
|
14679
|
+
id?: string;
|
|
14680
|
+
module_id?: string;
|
|
14681
|
+
role_id?: string;
|
|
14682
|
+
updated_at?: string;
|
|
14683
|
+
};
|
|
14684
|
+
Relationships: [{
|
|
14685
|
+
foreignKeyName: "role_permissions_role_id_fkey";
|
|
14686
|
+
columns: ["role_id"];
|
|
14687
|
+
isOneToOne: false;
|
|
14688
|
+
referencedRelation: "roles";
|
|
14689
|
+
referencedColumns: ["id"];
|
|
14690
|
+
}];
|
|
14691
|
+
};
|
|
14692
|
+
roles: {
|
|
14693
|
+
Row: {
|
|
14694
|
+
created_at: string;
|
|
14695
|
+
id: string;
|
|
14696
|
+
is_protected: boolean;
|
|
14697
|
+
key: string;
|
|
14698
|
+
name: string;
|
|
14699
|
+
updated_at: string;
|
|
14700
|
+
};
|
|
14701
|
+
Insert: {
|
|
14702
|
+
created_at?: string;
|
|
14703
|
+
id?: string;
|
|
14704
|
+
is_protected?: boolean;
|
|
14705
|
+
key: string;
|
|
14706
|
+
name: string;
|
|
14707
|
+
updated_at?: string;
|
|
14708
|
+
};
|
|
14709
|
+
Update: {
|
|
14710
|
+
created_at?: string;
|
|
14711
|
+
id?: string;
|
|
14712
|
+
is_protected?: boolean;
|
|
14713
|
+
key?: string;
|
|
14714
|
+
name?: string;
|
|
14715
|
+
updated_at?: string;
|
|
14716
|
+
};
|
|
14717
|
+
Relationships: [];
|
|
14718
|
+
};
|
|
13390
14719
|
rooms: {
|
|
13391
14720
|
Row: {
|
|
13392
14721
|
capacity: number;
|
|
@@ -13730,6 +15059,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
13730
15059
|
type: string;
|
|
13731
15060
|
updated_at: string;
|
|
13732
15061
|
vereist_medewerker: boolean;
|
|
15062
|
+
werkplek: string | null;
|
|
13733
15063
|
};
|
|
13734
15064
|
Insert: {
|
|
13735
15065
|
actief?: boolean;
|
|
@@ -13743,6 +15073,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
13743
15073
|
type?: string;
|
|
13744
15074
|
updated_at?: string;
|
|
13745
15075
|
vereist_medewerker?: boolean;
|
|
15076
|
+
werkplek?: string | null;
|
|
13746
15077
|
};
|
|
13747
15078
|
Update: {
|
|
13748
15079
|
actief?: boolean;
|
|
@@ -13756,9 +15087,46 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
13756
15087
|
type?: string;
|
|
13757
15088
|
updated_at?: string;
|
|
13758
15089
|
vereist_medewerker?: boolean;
|
|
15090
|
+
werkplek?: string | null;
|
|
13759
15091
|
};
|
|
13760
15092
|
Relationships: [];
|
|
13761
15093
|
};
|
|
15094
|
+
sick_periods: {
|
|
15095
|
+
Row: {
|
|
15096
|
+
created_at: string;
|
|
15097
|
+
employee_id: string;
|
|
15098
|
+
end_date: string | null;
|
|
15099
|
+
id: string;
|
|
15100
|
+
notes: string | null;
|
|
15101
|
+
start_date: string;
|
|
15102
|
+
updated_at: string;
|
|
15103
|
+
};
|
|
15104
|
+
Insert: {
|
|
15105
|
+
created_at?: string;
|
|
15106
|
+
employee_id: string;
|
|
15107
|
+
end_date?: string | null;
|
|
15108
|
+
id?: string;
|
|
15109
|
+
notes?: string | null;
|
|
15110
|
+
start_date: string;
|
|
15111
|
+
updated_at?: string;
|
|
15112
|
+
};
|
|
15113
|
+
Update: {
|
|
15114
|
+
created_at?: string;
|
|
15115
|
+
employee_id?: string;
|
|
15116
|
+
end_date?: string | null;
|
|
15117
|
+
id?: string;
|
|
15118
|
+
notes?: string | null;
|
|
15119
|
+
start_date?: string;
|
|
15120
|
+
updated_at?: string;
|
|
15121
|
+
};
|
|
15122
|
+
Relationships: [{
|
|
15123
|
+
foreignKeyName: "sick_periods_employee_id_fkey";
|
|
15124
|
+
columns: ["employee_id"];
|
|
15125
|
+
isOneToOne: false;
|
|
15126
|
+
referencedRelation: "profiles";
|
|
15127
|
+
referencedColumns: ["id"];
|
|
15128
|
+
}];
|
|
15129
|
+
};
|
|
13762
15130
|
sidebar_config: {
|
|
13763
15131
|
Row: {
|
|
13764
15132
|
id: string;
|
|
@@ -14056,6 +15424,54 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
14056
15424
|
};
|
|
14057
15425
|
Relationships: [];
|
|
14058
15426
|
};
|
|
15427
|
+
time_compensation_entries: {
|
|
15428
|
+
Row: {
|
|
15429
|
+
created_at: string;
|
|
15430
|
+
employee_id: string;
|
|
15431
|
+
entry_date: string;
|
|
15432
|
+
id: string;
|
|
15433
|
+
km: number;
|
|
15434
|
+
meal_allowance: number;
|
|
15435
|
+
notes: string | null;
|
|
15436
|
+
standby_evening: number;
|
|
15437
|
+
standby_weekend: number;
|
|
15438
|
+
tvt_change: number;
|
|
15439
|
+
updated_at: string;
|
|
15440
|
+
};
|
|
15441
|
+
Insert: {
|
|
15442
|
+
created_at?: string;
|
|
15443
|
+
employee_id: string;
|
|
15444
|
+
entry_date: string;
|
|
15445
|
+
id?: string;
|
|
15446
|
+
km?: number;
|
|
15447
|
+
meal_allowance?: number;
|
|
15448
|
+
notes?: string | null;
|
|
15449
|
+
standby_evening?: number;
|
|
15450
|
+
standby_weekend?: number;
|
|
15451
|
+
tvt_change?: number;
|
|
15452
|
+
updated_at?: string;
|
|
15453
|
+
};
|
|
15454
|
+
Update: {
|
|
15455
|
+
created_at?: string;
|
|
15456
|
+
employee_id?: string;
|
|
15457
|
+
entry_date?: string;
|
|
15458
|
+
id?: string;
|
|
15459
|
+
km?: number;
|
|
15460
|
+
meal_allowance?: number;
|
|
15461
|
+
notes?: string | null;
|
|
15462
|
+
standby_evening?: number;
|
|
15463
|
+
standby_weekend?: number;
|
|
15464
|
+
tvt_change?: number;
|
|
15465
|
+
updated_at?: string;
|
|
15466
|
+
};
|
|
15467
|
+
Relationships: [{
|
|
15468
|
+
foreignKeyName: "time_compensation_entries_employee_id_fkey";
|
|
15469
|
+
columns: ["employee_id"];
|
|
15470
|
+
isOneToOne: false;
|
|
15471
|
+
referencedRelation: "profiles";
|
|
15472
|
+
referencedColumns: ["id"];
|
|
15473
|
+
}];
|
|
15474
|
+
};
|
|
14059
15475
|
time_entries: {
|
|
14060
15476
|
Row: {
|
|
14061
15477
|
created_at: string;
|
|
@@ -14090,65 +15506,170 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
14090
15506
|
undertime?: number;
|
|
14091
15507
|
updated_at?: string;
|
|
14092
15508
|
};
|
|
15509
|
+
Relationships: [];
|
|
15510
|
+
};
|
|
15511
|
+
time_log_week_approvals: {
|
|
15512
|
+
Row: {
|
|
15513
|
+
approved_at: string | null;
|
|
15514
|
+
approved_by: string | null;
|
|
15515
|
+
created_at: string;
|
|
15516
|
+
employee_id: string;
|
|
15517
|
+
id: string;
|
|
15518
|
+
locked: boolean;
|
|
15519
|
+
notes: string | null;
|
|
15520
|
+
status: string;
|
|
15521
|
+
submitted_at: string | null;
|
|
15522
|
+
updated_at: string;
|
|
15523
|
+
week_start: string;
|
|
15524
|
+
};
|
|
15525
|
+
Insert: {
|
|
15526
|
+
approved_at?: string | null;
|
|
15527
|
+
approved_by?: string | null;
|
|
15528
|
+
created_at?: string;
|
|
15529
|
+
employee_id: string;
|
|
15530
|
+
id?: string;
|
|
15531
|
+
locked?: boolean;
|
|
15532
|
+
notes?: string | null;
|
|
15533
|
+
status?: string;
|
|
15534
|
+
submitted_at?: string | null;
|
|
15535
|
+
updated_at?: string;
|
|
15536
|
+
week_start: string;
|
|
15537
|
+
};
|
|
15538
|
+
Update: {
|
|
15539
|
+
approved_at?: string | null;
|
|
15540
|
+
approved_by?: string | null;
|
|
15541
|
+
created_at?: string;
|
|
15542
|
+
employee_id?: string;
|
|
15543
|
+
id?: string;
|
|
15544
|
+
locked?: boolean;
|
|
15545
|
+
notes?: string | null;
|
|
15546
|
+
status?: string;
|
|
15547
|
+
submitted_at?: string | null;
|
|
15548
|
+
updated_at?: string;
|
|
15549
|
+
week_start?: string;
|
|
15550
|
+
};
|
|
14093
15551
|
Relationships: [{
|
|
14094
|
-
foreignKeyName: "
|
|
15552
|
+
foreignKeyName: "time_log_week_approvals_employee_id_fkey";
|
|
14095
15553
|
columns: ["employee_id"];
|
|
14096
15554
|
isOneToOne: false;
|
|
14097
|
-
referencedRelation: "
|
|
15555
|
+
referencedRelation: "profiles";
|
|
14098
15556
|
referencedColumns: ["id"];
|
|
14099
15557
|
}];
|
|
14100
15558
|
};
|
|
14101
15559
|
time_logs: {
|
|
14102
15560
|
Row: {
|
|
15561
|
+
auto_stop_reason: string | null;
|
|
15562
|
+
auto_stopped: boolean;
|
|
14103
15563
|
created_at: string;
|
|
15564
|
+
current_latitude: number | null;
|
|
15565
|
+
current_longitude: number | null;
|
|
15566
|
+
current_position_updated_at: string | null;
|
|
14104
15567
|
employee_id: string;
|
|
15568
|
+
end_latitude: number | null;
|
|
15569
|
+
end_longitude: number | null;
|
|
14105
15570
|
end_time: string | null;
|
|
15571
|
+
eta_distance_km: number | null;
|
|
15572
|
+
eta_minutes: number | null;
|
|
15573
|
+
eta_updated_at: string | null;
|
|
15574
|
+
hour_category: string | null;
|
|
14106
15575
|
id: string;
|
|
15576
|
+
last_reminder_at: string | null;
|
|
14107
15577
|
notes: string | null;
|
|
14108
15578
|
overtime_hours: number;
|
|
14109
15579
|
overtime_type: string | null;
|
|
14110
15580
|
regular_hours: number;
|
|
15581
|
+
reminder_count: number;
|
|
15582
|
+
requires_review: boolean;
|
|
15583
|
+
start_latitude: number | null;
|
|
15584
|
+
start_longitude: number | null;
|
|
14111
15585
|
start_time: string;
|
|
14112
15586
|
travel_cost: number | null;
|
|
14113
15587
|
travel_distance_km: number | null;
|
|
15588
|
+
travel_duration_min: number | null;
|
|
15589
|
+
travel_time_minutes: number | null;
|
|
14114
15590
|
type: string;
|
|
14115
15591
|
updated_at: string;
|
|
15592
|
+
work_order_id: string | null;
|
|
14116
15593
|
};
|
|
14117
15594
|
Insert: {
|
|
15595
|
+
auto_stop_reason?: string | null;
|
|
15596
|
+
auto_stopped?: boolean;
|
|
14118
15597
|
created_at?: string;
|
|
15598
|
+
current_latitude?: number | null;
|
|
15599
|
+
current_longitude?: number | null;
|
|
15600
|
+
current_position_updated_at?: string | null;
|
|
14119
15601
|
employee_id: string;
|
|
15602
|
+
end_latitude?: number | null;
|
|
15603
|
+
end_longitude?: number | null;
|
|
14120
15604
|
end_time?: string | null;
|
|
15605
|
+
eta_distance_km?: number | null;
|
|
15606
|
+
eta_minutes?: number | null;
|
|
15607
|
+
eta_updated_at?: string | null;
|
|
15608
|
+
hour_category?: string | null;
|
|
14121
15609
|
id?: string;
|
|
15610
|
+
last_reminder_at?: string | null;
|
|
14122
15611
|
notes?: string | null;
|
|
14123
15612
|
overtime_hours?: number;
|
|
14124
15613
|
overtime_type?: string | null;
|
|
14125
15614
|
regular_hours?: number;
|
|
15615
|
+
reminder_count?: number;
|
|
15616
|
+
requires_review?: boolean;
|
|
15617
|
+
start_latitude?: number | null;
|
|
15618
|
+
start_longitude?: number | null;
|
|
14126
15619
|
start_time?: string;
|
|
14127
15620
|
travel_cost?: number | null;
|
|
14128
15621
|
travel_distance_km?: number | null;
|
|
15622
|
+
travel_duration_min?: number | null;
|
|
15623
|
+
travel_time_minutes?: number | null;
|
|
14129
15624
|
type: string;
|
|
14130
15625
|
updated_at?: string;
|
|
15626
|
+
work_order_id?: string | null;
|
|
14131
15627
|
};
|
|
14132
15628
|
Update: {
|
|
15629
|
+
auto_stop_reason?: string | null;
|
|
15630
|
+
auto_stopped?: boolean;
|
|
14133
15631
|
created_at?: string;
|
|
15632
|
+
current_latitude?: number | null;
|
|
15633
|
+
current_longitude?: number | null;
|
|
15634
|
+
current_position_updated_at?: string | null;
|
|
14134
15635
|
employee_id?: string;
|
|
15636
|
+
end_latitude?: number | null;
|
|
15637
|
+
end_longitude?: number | null;
|
|
14135
15638
|
end_time?: string | null;
|
|
15639
|
+
eta_distance_km?: number | null;
|
|
15640
|
+
eta_minutes?: number | null;
|
|
15641
|
+
eta_updated_at?: string | null;
|
|
15642
|
+
hour_category?: string | null;
|
|
14136
15643
|
id?: string;
|
|
15644
|
+
last_reminder_at?: string | null;
|
|
14137
15645
|
notes?: string | null;
|
|
14138
15646
|
overtime_hours?: number;
|
|
14139
15647
|
overtime_type?: string | null;
|
|
14140
15648
|
regular_hours?: number;
|
|
15649
|
+
reminder_count?: number;
|
|
15650
|
+
requires_review?: boolean;
|
|
15651
|
+
start_latitude?: number | null;
|
|
15652
|
+
start_longitude?: number | null;
|
|
14141
15653
|
start_time?: string;
|
|
14142
15654
|
travel_cost?: number | null;
|
|
14143
15655
|
travel_distance_km?: number | null;
|
|
15656
|
+
travel_duration_min?: number | null;
|
|
15657
|
+
travel_time_minutes?: number | null;
|
|
14144
15658
|
type?: string;
|
|
14145
15659
|
updated_at?: string;
|
|
15660
|
+
work_order_id?: string | null;
|
|
14146
15661
|
};
|
|
14147
15662
|
Relationships: [{
|
|
14148
15663
|
foreignKeyName: "time_logs_employee_id_fkey";
|
|
14149
15664
|
columns: ["employee_id"];
|
|
14150
15665
|
isOneToOne: false;
|
|
14151
|
-
referencedRelation: "
|
|
15666
|
+
referencedRelation: "profiles";
|
|
15667
|
+
referencedColumns: ["id"];
|
|
15668
|
+
}, {
|
|
15669
|
+
foreignKeyName: "time_logs_work_order_id_fkey";
|
|
15670
|
+
columns: ["work_order_id"];
|
|
15671
|
+
isOneToOne: false;
|
|
15672
|
+
referencedRelation: "work_orders";
|
|
14152
15673
|
referencedColumns: ["id"];
|
|
14153
15674
|
}];
|
|
14154
15675
|
};
|
|
@@ -14187,7 +15708,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
14187
15708
|
foreignKeyName: "time_off_entries_employee_id_fkey";
|
|
14188
15709
|
columns: ["employee_id"];
|
|
14189
15710
|
isOneToOne: false;
|
|
14190
|
-
referencedRelation: "
|
|
15711
|
+
referencedRelation: "profiles";
|
|
14191
15712
|
referencedColumns: ["id"];
|
|
14192
15713
|
}];
|
|
14193
15714
|
};
|
|
@@ -14497,6 +16018,39 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
14497
16018
|
};
|
|
14498
16019
|
Relationships: [];
|
|
14499
16020
|
};
|
|
16021
|
+
twinfield_cron_locks: {
|
|
16022
|
+
Row: {
|
|
16023
|
+
created_at: string;
|
|
16024
|
+
heartbeat_at: string;
|
|
16025
|
+
job_name: string;
|
|
16026
|
+
last_error: string | null;
|
|
16027
|
+
last_finished_at: string | null;
|
|
16028
|
+
locked_at: string;
|
|
16029
|
+
run_id: string;
|
|
16030
|
+
updated_at: string;
|
|
16031
|
+
};
|
|
16032
|
+
Insert: {
|
|
16033
|
+
created_at?: string;
|
|
16034
|
+
heartbeat_at?: string;
|
|
16035
|
+
job_name: string;
|
|
16036
|
+
last_error?: string | null;
|
|
16037
|
+
last_finished_at?: string | null;
|
|
16038
|
+
locked_at?: string;
|
|
16039
|
+
run_id?: string;
|
|
16040
|
+
updated_at?: string;
|
|
16041
|
+
};
|
|
16042
|
+
Update: {
|
|
16043
|
+
created_at?: string;
|
|
16044
|
+
heartbeat_at?: string;
|
|
16045
|
+
job_name?: string;
|
|
16046
|
+
last_error?: string | null;
|
|
16047
|
+
last_finished_at?: string | null;
|
|
16048
|
+
locked_at?: string;
|
|
16049
|
+
run_id?: string;
|
|
16050
|
+
updated_at?: string;
|
|
16051
|
+
};
|
|
16052
|
+
Relationships: [];
|
|
16053
|
+
};
|
|
14500
16054
|
twinfield_customers: {
|
|
14501
16055
|
Row: {
|
|
14502
16056
|
address: string | null;
|
|
@@ -14751,6 +16305,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
14751
16305
|
};
|
|
14752
16306
|
twinfield_invoice_settings: {
|
|
14753
16307
|
Row: {
|
|
16308
|
+
auto_invoice_enabled: boolean;
|
|
16309
|
+
auto_invoice_trigger_statuses: string[];
|
|
14754
16310
|
created_at: string;
|
|
14755
16311
|
debtor_gl_account: string;
|
|
14756
16312
|
default_credit_invoice_type: string | null;
|
|
@@ -14771,6 +16327,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
14771
16327
|
vat_code_export: string | null;
|
|
14772
16328
|
};
|
|
14773
16329
|
Insert: {
|
|
16330
|
+
auto_invoice_enabled?: boolean;
|
|
16331
|
+
auto_invoice_trigger_statuses?: string[];
|
|
14774
16332
|
created_at?: string;
|
|
14775
16333
|
debtor_gl_account?: string;
|
|
14776
16334
|
default_credit_invoice_type?: string | null;
|
|
@@ -14791,6 +16349,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
14791
16349
|
vat_code_export?: string | null;
|
|
14792
16350
|
};
|
|
14793
16351
|
Update: {
|
|
16352
|
+
auto_invoice_enabled?: boolean;
|
|
16353
|
+
auto_invoice_trigger_statuses?: string[];
|
|
14794
16354
|
created_at?: string;
|
|
14795
16355
|
debtor_gl_account?: string;
|
|
14796
16356
|
default_credit_invoice_type?: string | null;
|
|
@@ -15091,6 +16651,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
15091
16651
|
twinfield_push_queue: {
|
|
15092
16652
|
Row: {
|
|
15093
16653
|
action: string;
|
|
16654
|
+
attempt_started_at: string | null;
|
|
15094
16655
|
attempts: number;
|
|
15095
16656
|
connection_id: string | null;
|
|
15096
16657
|
created_at: string;
|
|
@@ -15107,6 +16668,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
15107
16668
|
};
|
|
15108
16669
|
Insert: {
|
|
15109
16670
|
action?: string;
|
|
16671
|
+
attempt_started_at?: string | null;
|
|
15110
16672
|
attempts?: number;
|
|
15111
16673
|
connection_id?: string | null;
|
|
15112
16674
|
created_at?: string;
|
|
@@ -15123,6 +16685,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
15123
16685
|
};
|
|
15124
16686
|
Update: {
|
|
15125
16687
|
action?: string;
|
|
16688
|
+
attempt_started_at?: string | null;
|
|
15126
16689
|
attempts?: number;
|
|
15127
16690
|
connection_id?: string | null;
|
|
15128
16691
|
created_at?: string;
|
|
@@ -15320,13 +16883,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
15320
16883
|
workday_end?: string | null;
|
|
15321
16884
|
workday_start?: string | null;
|
|
15322
16885
|
};
|
|
15323
|
-
Relationships: [
|
|
15324
|
-
foreignKeyName: "uren_cao_profiles_monteur_id_fkey";
|
|
15325
|
-
columns: ["monteur_id"];
|
|
15326
|
-
isOneToOne: true;
|
|
15327
|
-
referencedRelation: "monteurs";
|
|
15328
|
-
referencedColumns: ["id"];
|
|
15329
|
-
}];
|
|
16886
|
+
Relationships: [];
|
|
15330
16887
|
};
|
|
15331
16888
|
uren_entries: {
|
|
15332
16889
|
Row: {
|
|
@@ -15370,14 +16927,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
15370
16927
|
travel_km?: number;
|
|
15371
16928
|
updated_at?: string;
|
|
15372
16929
|
werkbon_id?: string | null;
|
|
15373
|
-
};
|
|
15374
|
-
Relationships: [{
|
|
15375
|
-
foreignKeyName: "uren_entries_monteur_id_fkey";
|
|
15376
|
-
columns: ["monteur_id"];
|
|
15377
|
-
isOneToOne: false;
|
|
15378
|
-
referencedRelation: "monteurs";
|
|
15379
|
-
referencedColumns: ["id"];
|
|
15380
|
-
}, {
|
|
16930
|
+
};
|
|
16931
|
+
Relationships: [{
|
|
15381
16932
|
foreignKeyName: "uren_entries_werkbon_id_fkey";
|
|
15382
16933
|
columns: ["werkbon_id"];
|
|
15383
16934
|
isOneToOne: false;
|
|
@@ -15845,13 +17396,37 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
15845
17396
|
submitted_at?: string | null;
|
|
15846
17397
|
updated_at?: string;
|
|
15847
17398
|
};
|
|
15848
|
-
Relationships: [
|
|
15849
|
-
|
|
15850
|
-
|
|
15851
|
-
|
|
15852
|
-
|
|
15853
|
-
|
|
15854
|
-
|
|
17399
|
+
Relationships: [];
|
|
17400
|
+
};
|
|
17401
|
+
user_module_permissions: {
|
|
17402
|
+
Row: {
|
|
17403
|
+
created_at: string;
|
|
17404
|
+
feature_id: string;
|
|
17405
|
+
id: string;
|
|
17406
|
+
module_id: string;
|
|
17407
|
+
permission: string;
|
|
17408
|
+
updated_at: string;
|
|
17409
|
+
user_id: string;
|
|
17410
|
+
};
|
|
17411
|
+
Insert: {
|
|
17412
|
+
created_at?: string;
|
|
17413
|
+
feature_id?: string;
|
|
17414
|
+
id?: string;
|
|
17415
|
+
module_id: string;
|
|
17416
|
+
permission: string;
|
|
17417
|
+
updated_at?: string;
|
|
17418
|
+
user_id: string;
|
|
17419
|
+
};
|
|
17420
|
+
Update: {
|
|
17421
|
+
created_at?: string;
|
|
17422
|
+
feature_id?: string;
|
|
17423
|
+
id?: string;
|
|
17424
|
+
module_id?: string;
|
|
17425
|
+
permission?: string;
|
|
17426
|
+
updated_at?: string;
|
|
17427
|
+
user_id?: string;
|
|
17428
|
+
};
|
|
17429
|
+
Relationships: [];
|
|
15855
17430
|
};
|
|
15856
17431
|
user_roles: {
|
|
15857
17432
|
Row: {
|
|
@@ -15880,6 +17455,51 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
15880
17455
|
referencedColumns: ["id"];
|
|
15881
17456
|
}];
|
|
15882
17457
|
};
|
|
17458
|
+
van_inventories: {
|
|
17459
|
+
Row: {
|
|
17460
|
+
barcode: string | null;
|
|
17461
|
+
created_at: string;
|
|
17462
|
+
id: string;
|
|
17463
|
+
monteur_id: string | null;
|
|
17464
|
+
price_per_unit: number;
|
|
17465
|
+
product_name: string;
|
|
17466
|
+
quantity_current: number;
|
|
17467
|
+
quantity_min: number;
|
|
17468
|
+
unit: string;
|
|
17469
|
+
updated_at: string;
|
|
17470
|
+
};
|
|
17471
|
+
Insert: {
|
|
17472
|
+
barcode?: string | null;
|
|
17473
|
+
created_at?: string;
|
|
17474
|
+
id?: string;
|
|
17475
|
+
monteur_id?: string | null;
|
|
17476
|
+
price_per_unit?: number;
|
|
17477
|
+
product_name: string;
|
|
17478
|
+
quantity_current?: number;
|
|
17479
|
+
quantity_min?: number;
|
|
17480
|
+
unit?: string;
|
|
17481
|
+
updated_at?: string;
|
|
17482
|
+
};
|
|
17483
|
+
Update: {
|
|
17484
|
+
barcode?: string | null;
|
|
17485
|
+
created_at?: string;
|
|
17486
|
+
id?: string;
|
|
17487
|
+
monteur_id?: string | null;
|
|
17488
|
+
price_per_unit?: number;
|
|
17489
|
+
product_name?: string;
|
|
17490
|
+
quantity_current?: number;
|
|
17491
|
+
quantity_min?: number;
|
|
17492
|
+
unit?: string;
|
|
17493
|
+
updated_at?: string;
|
|
17494
|
+
};
|
|
17495
|
+
Relationships: [{
|
|
17496
|
+
foreignKeyName: "van_inventories_monteur_id_fkey";
|
|
17497
|
+
columns: ["monteur_id"];
|
|
17498
|
+
isOneToOne: false;
|
|
17499
|
+
referencedRelation: "profiles";
|
|
17500
|
+
referencedColumns: ["id"];
|
|
17501
|
+
}];
|
|
17502
|
+
};
|
|
15883
17503
|
voorraad_custom_fields: {
|
|
15884
17504
|
Row: {
|
|
15885
17505
|
created_at: string;
|
|
@@ -16830,7 +18450,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
16830
18450
|
foreignKeyName: "work_order_monteurs_monteur_id_fkey";
|
|
16831
18451
|
columns: ["monteur_id"];
|
|
16832
18452
|
isOneToOne: false;
|
|
16833
|
-
referencedRelation: "
|
|
18453
|
+
referencedRelation: "profiles";
|
|
16834
18454
|
referencedColumns: ["id"];
|
|
16835
18455
|
}, {
|
|
16836
18456
|
foreignKeyName: "work_order_monteurs_work_order_id_fkey";
|
|
@@ -16840,6 +18460,60 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
16840
18460
|
referencedColumns: ["id"];
|
|
16841
18461
|
}];
|
|
16842
18462
|
};
|
|
18463
|
+
work_order_photos: {
|
|
18464
|
+
Row: {
|
|
18465
|
+
ai_caption: string | null;
|
|
18466
|
+
ai_categorized_at: string | null;
|
|
18467
|
+
ai_labels: import("./types").Json | null;
|
|
18468
|
+
caption: string | null;
|
|
18469
|
+
created_at: string;
|
|
18470
|
+
id: string;
|
|
18471
|
+
monteur_id: string | null;
|
|
18472
|
+
photo_type: string;
|
|
18473
|
+
storage_path: string;
|
|
18474
|
+
updated_at: string;
|
|
18475
|
+
work_order_id: string;
|
|
18476
|
+
};
|
|
18477
|
+
Insert: {
|
|
18478
|
+
ai_caption?: string | null;
|
|
18479
|
+
ai_categorized_at?: string | null;
|
|
18480
|
+
ai_labels?: import("./types").Json | null;
|
|
18481
|
+
caption?: string | null;
|
|
18482
|
+
created_at?: string;
|
|
18483
|
+
id?: string;
|
|
18484
|
+
monteur_id?: string | null;
|
|
18485
|
+
photo_type?: string;
|
|
18486
|
+
storage_path: string;
|
|
18487
|
+
updated_at?: string;
|
|
18488
|
+
work_order_id: string;
|
|
18489
|
+
};
|
|
18490
|
+
Update: {
|
|
18491
|
+
ai_caption?: string | null;
|
|
18492
|
+
ai_categorized_at?: string | null;
|
|
18493
|
+
ai_labels?: import("./types").Json | null;
|
|
18494
|
+
caption?: string | null;
|
|
18495
|
+
created_at?: string;
|
|
18496
|
+
id?: string;
|
|
18497
|
+
monteur_id?: string | null;
|
|
18498
|
+
photo_type?: string;
|
|
18499
|
+
storage_path?: string;
|
|
18500
|
+
updated_at?: string;
|
|
18501
|
+
work_order_id?: string;
|
|
18502
|
+
};
|
|
18503
|
+
Relationships: [{
|
|
18504
|
+
foreignKeyName: "work_order_photos_monteur_id_fkey";
|
|
18505
|
+
columns: ["monteur_id"];
|
|
18506
|
+
isOneToOne: false;
|
|
18507
|
+
referencedRelation: "profiles";
|
|
18508
|
+
referencedColumns: ["id"];
|
|
18509
|
+
}, {
|
|
18510
|
+
foreignKeyName: "work_order_photos_work_order_id_fkey";
|
|
18511
|
+
columns: ["work_order_id"];
|
|
18512
|
+
isOneToOne: false;
|
|
18513
|
+
referencedRelation: "work_orders";
|
|
18514
|
+
referencedColumns: ["id"];
|
|
18515
|
+
}];
|
|
18516
|
+
};
|
|
16843
18517
|
work_orders: {
|
|
16844
18518
|
Row: {
|
|
16845
18519
|
assigned_to: string | null;
|
|
@@ -16871,7 +18545,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
16871
18545
|
scheduled_end_time: string | null;
|
|
16872
18546
|
scheduled_start_time: string | null;
|
|
16873
18547
|
status: string;
|
|
16874
|
-
tenant_id: string;
|
|
16875
18548
|
total_hours_worked: number | null;
|
|
16876
18549
|
total_price: number | null;
|
|
16877
18550
|
travel_time_minutes: number | null;
|
|
@@ -16909,7 +18582,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
16909
18582
|
scheduled_end_time?: string | null;
|
|
16910
18583
|
scheduled_start_time?: string | null;
|
|
16911
18584
|
status?: string;
|
|
16912
|
-
tenant_id: string;
|
|
16913
18585
|
total_hours_worked?: number | null;
|
|
16914
18586
|
total_price?: number | null;
|
|
16915
18587
|
travel_time_minutes?: number | null;
|
|
@@ -16947,7 +18619,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
16947
18619
|
scheduled_end_time?: string | null;
|
|
16948
18620
|
scheduled_start_time?: string | null;
|
|
16949
18621
|
status?: string;
|
|
16950
|
-
tenant_id?: string;
|
|
16951
18622
|
total_hours_worked?: number | null;
|
|
16952
18623
|
total_price?: number | null;
|
|
16953
18624
|
travel_time_minutes?: number | null;
|
|
@@ -16961,12 +18632,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
16961
18632
|
isOneToOne: false;
|
|
16962
18633
|
referencedRelation: "work_orders";
|
|
16963
18634
|
referencedColumns: ["id"];
|
|
16964
|
-
}, {
|
|
16965
|
-
foreignKeyName: "work_orders_tenant_id_fkey";
|
|
16966
|
-
columns: ["tenant_id"];
|
|
16967
|
-
isOneToOne: false;
|
|
16968
|
-
referencedRelation: "tenants";
|
|
16969
|
-
referencedColumns: ["id"];
|
|
16970
18635
|
}];
|
|
16971
18636
|
};
|
|
16972
18637
|
};
|
|
@@ -17651,6 +19316,19 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
17651
19316
|
};
|
|
17652
19317
|
Returns: undefined;
|
|
17653
19318
|
};
|
|
19319
|
+
approve_mailbox_order_proposal: {
|
|
19320
|
+
Args: {
|
|
19321
|
+
p_custom_fields: import("./types").Json;
|
|
19322
|
+
p_customer_id: string;
|
|
19323
|
+
p_delivery_date: string;
|
|
19324
|
+
p_field_values?: import("./types").Json;
|
|
19325
|
+
p_lines: import("./types").Json;
|
|
19326
|
+
p_notes: string;
|
|
19327
|
+
p_proposal_id: string;
|
|
19328
|
+
p_reviewed_by: string;
|
|
19329
|
+
};
|
|
19330
|
+
Returns: import("./types").Json;
|
|
19331
|
+
};
|
|
17654
19332
|
assign_cart_numbers: {
|
|
17655
19333
|
Args: {
|
|
17656
19334
|
p_carts: import("./types").Json;
|
|
@@ -17686,6 +19364,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
17686
19364
|
processed_items: number;
|
|
17687
19365
|
}[];
|
|
17688
19366
|
};
|
|
19367
|
+
backfill_order_auto_invoice_queue: {
|
|
19368
|
+
Args: never;
|
|
19369
|
+
Returns: number;
|
|
19370
|
+
};
|
|
17689
19371
|
calculate_layer_stock: {
|
|
17690
19372
|
Args: {
|
|
17691
19373
|
p_product_id: string;
|
|
@@ -17698,6 +19380,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
17698
19380
|
};
|
|
17699
19381
|
Returns: number;
|
|
17700
19382
|
};
|
|
19383
|
+
can_manage_hours: {
|
|
19384
|
+
Args: never;
|
|
19385
|
+
Returns: boolean;
|
|
19386
|
+
};
|
|
17701
19387
|
check_offer_product_available_stock: {
|
|
17702
19388
|
Args: {
|
|
17703
19389
|
p_campaign_product_id: string;
|
|
@@ -17720,6 +19406,125 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
17720
19406
|
};
|
|
17721
19407
|
Returns: import("./types").Json;
|
|
17722
19408
|
};
|
|
19409
|
+
claim_cloud_print_jobs: {
|
|
19410
|
+
Args: {
|
|
19411
|
+
_max?: number;
|
|
19412
|
+
};
|
|
19413
|
+
Returns: {
|
|
19414
|
+
agent_id: string | null;
|
|
19415
|
+
bron_job_id: string | null;
|
|
19416
|
+
created_at: string;
|
|
19417
|
+
documentnaam: string;
|
|
19418
|
+
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
19419
|
+
extern_job_id: string | null;
|
|
19420
|
+
foutmelding: string | null;
|
|
19421
|
+
gebruiker_id: string | null;
|
|
19422
|
+
gebruiker_naam: string;
|
|
19423
|
+
gestart_op: string | null;
|
|
19424
|
+
id: string;
|
|
19425
|
+
idempotentie_sleutel: string | null;
|
|
19426
|
+
is_herprint: boolean;
|
|
19427
|
+
kopieen: number;
|
|
19428
|
+
layout_id: string | null;
|
|
19429
|
+
opgepakt_op: string | null;
|
|
19430
|
+
paginas: number;
|
|
19431
|
+
payload: import("./types").Json;
|
|
19432
|
+
pdf_base64: string | null;
|
|
19433
|
+
pdf_url: string | null;
|
|
19434
|
+
pogingen: number;
|
|
19435
|
+
printer_id: string | null;
|
|
19436
|
+
render_html: string | null;
|
|
19437
|
+
status: Database["public"]["Enums"]["print_job_status"];
|
|
19438
|
+
updated_at: string;
|
|
19439
|
+
volgende_poging: string | null;
|
|
19440
|
+
voltooid_op: string | null;
|
|
19441
|
+
}[];
|
|
19442
|
+
SetofOptions: {
|
|
19443
|
+
from: "*";
|
|
19444
|
+
to: "print_jobs";
|
|
19445
|
+
isOneToOne: false;
|
|
19446
|
+
isSetofReturn: true;
|
|
19447
|
+
};
|
|
19448
|
+
};
|
|
19449
|
+
claim_floriday_stock_queue: {
|
|
19450
|
+
Args: {
|
|
19451
|
+
p_limit?: number;
|
|
19452
|
+
p_worker?: string;
|
|
19453
|
+
};
|
|
19454
|
+
Returns: {
|
|
19455
|
+
attempts: number;
|
|
19456
|
+
connection_id: string;
|
|
19457
|
+
created_at: string;
|
|
19458
|
+
desired_available: boolean | null;
|
|
19459
|
+
gateway_attempt_id: string | null;
|
|
19460
|
+
id: string;
|
|
19461
|
+
last_error: string | null;
|
|
19462
|
+
locked_at: string | null;
|
|
19463
|
+
locked_by: string | null;
|
|
19464
|
+
next_attempt_at: string;
|
|
19465
|
+
number_of_pieces: number;
|
|
19466
|
+
sent_at: string | null;
|
|
19467
|
+
status: string;
|
|
19468
|
+
superseded_by: string | null;
|
|
19469
|
+
trade_item_id: string;
|
|
19470
|
+
updated_at: string;
|
|
19471
|
+
user_id: string;
|
|
19472
|
+
}[];
|
|
19473
|
+
SetofOptions: {
|
|
19474
|
+
from: "*";
|
|
19475
|
+
to: "floriday_continuous_stock_queue";
|
|
19476
|
+
isOneToOne: false;
|
|
19477
|
+
isSetofReturn: true;
|
|
19478
|
+
};
|
|
19479
|
+
};
|
|
19480
|
+
claim_logistics_tasks: {
|
|
19481
|
+
Args: {
|
|
19482
|
+
_limit?: number;
|
|
19483
|
+
_owner_module: string;
|
|
19484
|
+
_stale_minutes?: number;
|
|
19485
|
+
_task_type: string;
|
|
19486
|
+
_worker: string;
|
|
19487
|
+
};
|
|
19488
|
+
Returns: {
|
|
19489
|
+
attempt_log: import("./types").Json;
|
|
19490
|
+
attempts: number;
|
|
19491
|
+
buffer_ref: string | null;
|
|
19492
|
+
claimed_at: string | null;
|
|
19493
|
+
claimed_by: string | null;
|
|
19494
|
+
completed_at: string | null;
|
|
19495
|
+
created_at: string;
|
|
19496
|
+
depends_on: string[];
|
|
19497
|
+
due_at: string | null;
|
|
19498
|
+
error: string | null;
|
|
19499
|
+
id: string;
|
|
19500
|
+
last_error: string | null;
|
|
19501
|
+
next_attempt_at: string | null;
|
|
19502
|
+
order_ref: string;
|
|
19503
|
+
owner_module: string;
|
|
19504
|
+
payload: import("./types").Json;
|
|
19505
|
+
plan_run_id: string | null;
|
|
19506
|
+
planned_end: string | null;
|
|
19507
|
+
planned_start: string | null;
|
|
19508
|
+
priority: number;
|
|
19509
|
+
result: import("./types").Json | null;
|
|
19510
|
+
rule_config_id: string | null;
|
|
19511
|
+
rule_version: number | null;
|
|
19512
|
+
sequence: number;
|
|
19513
|
+
shadow: boolean;
|
|
19514
|
+
started_at: string | null;
|
|
19515
|
+
status: string;
|
|
19516
|
+
strategy_id: string | null;
|
|
19517
|
+
task_type: string;
|
|
19518
|
+
updated_at: string;
|
|
19519
|
+
user_id: string;
|
|
19520
|
+
}[];
|
|
19521
|
+
SetofOptions: {
|
|
19522
|
+
from: "*";
|
|
19523
|
+
to: "logistics_tasks";
|
|
19524
|
+
isOneToOne: false;
|
|
19525
|
+
isSetofReturn: true;
|
|
19526
|
+
};
|
|
19527
|
+
};
|
|
17723
19528
|
claim_print_jobs: {
|
|
17724
19529
|
Args: {
|
|
17725
19530
|
_agent_id: string;
|
|
@@ -17731,22 +19536,27 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
17731
19536
|
created_at: string;
|
|
17732
19537
|
documentnaam: string;
|
|
17733
19538
|
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
19539
|
+
extern_job_id: string | null;
|
|
17734
19540
|
foutmelding: string | null;
|
|
17735
19541
|
gebruiker_id: string | null;
|
|
17736
19542
|
gebruiker_naam: string;
|
|
17737
19543
|
gestart_op: string | null;
|
|
17738
19544
|
id: string;
|
|
19545
|
+
idempotentie_sleutel: string | null;
|
|
17739
19546
|
is_herprint: boolean;
|
|
17740
19547
|
kopieen: number;
|
|
17741
19548
|
layout_id: string | null;
|
|
17742
19549
|
opgepakt_op: string | null;
|
|
17743
19550
|
paginas: number;
|
|
17744
19551
|
payload: import("./types").Json;
|
|
19552
|
+
pdf_base64: string | null;
|
|
19553
|
+
pdf_url: string | null;
|
|
17745
19554
|
pogingen: number;
|
|
17746
19555
|
printer_id: string | null;
|
|
17747
19556
|
render_html: string | null;
|
|
17748
19557
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
17749
19558
|
updated_at: string;
|
|
19559
|
+
volgende_poging: string | null;
|
|
17750
19560
|
voltooid_op: string | null;
|
|
17751
19561
|
}[];
|
|
17752
19562
|
SetofOptions: {
|
|
@@ -17763,6 +19573,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
17763
19573
|
};
|
|
17764
19574
|
Returns: {
|
|
17765
19575
|
action: string;
|
|
19576
|
+
attempt_started_at: string | null;
|
|
17766
19577
|
attempts: number;
|
|
17767
19578
|
connection_id: string | null;
|
|
17768
19579
|
created_at: string;
|
|
@@ -17784,10 +19595,28 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
17784
19595
|
isSetofReturn: true;
|
|
17785
19596
|
};
|
|
17786
19597
|
};
|
|
19598
|
+
cleanup_floriday_stock_queue: {
|
|
19599
|
+
Args: never;
|
|
19600
|
+
Returns: undefined;
|
|
19601
|
+
};
|
|
17787
19602
|
cleanup_old_bookings: {
|
|
17788
19603
|
Args: never;
|
|
17789
19604
|
Returns: undefined;
|
|
17790
19605
|
};
|
|
19606
|
+
cleanup_voorraad_module_history: {
|
|
19607
|
+
Args: never;
|
|
19608
|
+
Returns: undefined;
|
|
19609
|
+
};
|
|
19610
|
+
complete_floriday_stock_queue: {
|
|
19611
|
+
Args: {
|
|
19612
|
+
p_attempt_id?: string;
|
|
19613
|
+
p_error?: string;
|
|
19614
|
+
p_id: string;
|
|
19615
|
+
p_ok: boolean;
|
|
19616
|
+
p_permanent?: boolean;
|
|
19617
|
+
};
|
|
19618
|
+
Returns: undefined;
|
|
19619
|
+
};
|
|
17791
19620
|
consume_bom_for_production: {
|
|
17792
19621
|
Args: {
|
|
17793
19622
|
p_connection_id: string;
|
|
@@ -17827,10 +19656,34 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
17827
19656
|
_pairing_hash: string;
|
|
17828
19657
|
_token_hash: string;
|
|
17829
19658
|
};
|
|
17830
|
-
Returns: {
|
|
17831
|
-
agent_id: string;
|
|
17832
|
-
agent_naam: string;
|
|
17833
|
-
}[];
|
|
19659
|
+
Returns: {
|
|
19660
|
+
agent_id: string;
|
|
19661
|
+
agent_naam: string;
|
|
19662
|
+
}[];
|
|
19663
|
+
};
|
|
19664
|
+
consume_van_inventory: {
|
|
19665
|
+
Args: {
|
|
19666
|
+
p_inventory_id: string;
|
|
19667
|
+
p_quantity: number;
|
|
19668
|
+
};
|
|
19669
|
+
Returns: {
|
|
19670
|
+
barcode: string | null;
|
|
19671
|
+
created_at: string;
|
|
19672
|
+
id: string;
|
|
19673
|
+
monteur_id: string | null;
|
|
19674
|
+
price_per_unit: number;
|
|
19675
|
+
product_name: string;
|
|
19676
|
+
quantity_current: number;
|
|
19677
|
+
quantity_min: number;
|
|
19678
|
+
unit: string;
|
|
19679
|
+
updated_at: string;
|
|
19680
|
+
};
|
|
19681
|
+
SetofOptions: {
|
|
19682
|
+
from: "*";
|
|
19683
|
+
to: "van_inventories";
|
|
19684
|
+
isOneToOne: true;
|
|
19685
|
+
isSetofReturn: false;
|
|
19686
|
+
};
|
|
17834
19687
|
};
|
|
17835
19688
|
control_get_todays_carts: {
|
|
17836
19689
|
Args: never;
|
|
@@ -17899,6 +19752,20 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
17899
19752
|
};
|
|
17900
19753
|
Returns: import("./types").Json;
|
|
17901
19754
|
};
|
|
19755
|
+
effective_module_permission: {
|
|
19756
|
+
Args: {
|
|
19757
|
+
_module_id: string;
|
|
19758
|
+
_user_id: string;
|
|
19759
|
+
};
|
|
19760
|
+
Returns: string;
|
|
19761
|
+
} | {
|
|
19762
|
+
Args: {
|
|
19763
|
+
_feature_id: string;
|
|
19764
|
+
_module_id: string;
|
|
19765
|
+
_user_id: string;
|
|
19766
|
+
};
|
|
19767
|
+
Returns: string;
|
|
19768
|
+
};
|
|
17902
19769
|
email_auth_decrypt: {
|
|
17903
19770
|
Args: {
|
|
17904
19771
|
cipher: string;
|
|
@@ -17944,6 +19811,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
17944
19811
|
};
|
|
17945
19812
|
Returns: string;
|
|
17946
19813
|
};
|
|
19814
|
+
employee_day_hours: {
|
|
19815
|
+
Args: {
|
|
19816
|
+
_day: string;
|
|
19817
|
+
_employee_id: string;
|
|
19818
|
+
};
|
|
19819
|
+
Returns: number;
|
|
19820
|
+
};
|
|
17947
19821
|
enqueue_cart_replan_if_unlocked: {
|
|
17948
19822
|
Args: {
|
|
17949
19823
|
p_order_id: string;
|
|
@@ -17960,6 +19834,21 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
17960
19834
|
Args: never;
|
|
17961
19835
|
Returns: string;
|
|
17962
19836
|
};
|
|
19837
|
+
exact_auth_consume_calls: {
|
|
19838
|
+
Args: {
|
|
19839
|
+
_account_key: string;
|
|
19840
|
+
_calls?: number;
|
|
19841
|
+
_day_limit?: number;
|
|
19842
|
+
_division_code: number;
|
|
19843
|
+
_environment: string;
|
|
19844
|
+
_minute_limit?: number;
|
|
19845
|
+
};
|
|
19846
|
+
Returns: import("./types").Json;
|
|
19847
|
+
};
|
|
19848
|
+
exact_auth_prune_sync_log: {
|
|
19849
|
+
Args: never;
|
|
19850
|
+
Returns: undefined;
|
|
19851
|
+
};
|
|
17963
19852
|
exact_decrypt: {
|
|
17964
19853
|
Args: {
|
|
17965
19854
|
cipher: string;
|
|
@@ -18169,6 +20058,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
18169
20058
|
};
|
|
18170
20059
|
Returns: number;
|
|
18171
20060
|
};
|
|
20061
|
+
get_offer_branding: {
|
|
20062
|
+
Args: never;
|
|
20063
|
+
Returns: import("./types").Json;
|
|
20064
|
+
};
|
|
18172
20065
|
get_offer_by_link_code: {
|
|
18173
20066
|
Args: {
|
|
18174
20067
|
p_code: string;
|
|
@@ -18230,12 +20123,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
18230
20123
|
Args: never;
|
|
18231
20124
|
Returns: string;
|
|
18232
20125
|
};
|
|
18233
|
-
get_work_order_tenant_id: {
|
|
18234
|
-
Args: {
|
|
18235
|
-
wo_id: string;
|
|
18236
|
-
};
|
|
18237
|
-
Returns: string;
|
|
18238
|
-
};
|
|
18239
20126
|
has_module_permission: {
|
|
18240
20127
|
Args: {
|
|
18241
20128
|
_min: string;
|
|
@@ -18269,6 +20156,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
18269
20156
|
};
|
|
18270
20157
|
Returns: boolean;
|
|
18271
20158
|
};
|
|
20159
|
+
is_time_log_week_locked: {
|
|
20160
|
+
Args: {
|
|
20161
|
+
p_employee_id: string;
|
|
20162
|
+
p_start_time: string;
|
|
20163
|
+
};
|
|
20164
|
+
Returns: boolean;
|
|
20165
|
+
};
|
|
18272
20166
|
is_user_admin: {
|
|
18273
20167
|
Args: never;
|
|
18274
20168
|
Returns: boolean;
|
|
@@ -18277,19 +20171,43 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
18277
20171
|
Args: never;
|
|
18278
20172
|
Returns: boolean;
|
|
18279
20173
|
};
|
|
20174
|
+
itk_offerte_naar_werkbon: {
|
|
20175
|
+
Args: {
|
|
20176
|
+
_offerte_id: string;
|
|
20177
|
+
};
|
|
20178
|
+
Returns: string;
|
|
20179
|
+
};
|
|
20180
|
+
itk_offerte_restant_mandaat: {
|
|
20181
|
+
Args: {
|
|
20182
|
+
_exclude_offerte_id?: string;
|
|
20183
|
+
_werkbon_id: string;
|
|
20184
|
+
};
|
|
20185
|
+
Returns: number;
|
|
20186
|
+
};
|
|
18280
20187
|
jwt_has_role: {
|
|
18281
20188
|
Args: {
|
|
18282
20189
|
_role: Database["public"]["Enums"]["app_role"];
|
|
18283
20190
|
};
|
|
18284
20191
|
Returns: boolean;
|
|
18285
20192
|
};
|
|
18286
|
-
|
|
20193
|
+
list_medewerkers: {
|
|
18287
20194
|
Args: never;
|
|
18288
20195
|
Returns: {
|
|
18289
20196
|
avatar_url: string;
|
|
20197
|
+
color: string;
|
|
18290
20198
|
display_name: string;
|
|
18291
20199
|
email: string;
|
|
20200
|
+
hours_fri: number;
|
|
20201
|
+
hours_mon: number;
|
|
20202
|
+
hours_thu: number;
|
|
20203
|
+
hours_tue: number;
|
|
20204
|
+
hours_wed: number;
|
|
18292
20205
|
id: string;
|
|
20206
|
+
is_active: boolean;
|
|
20207
|
+
leave_balance_hours: number;
|
|
20208
|
+
persnr: string;
|
|
20209
|
+
phone: string;
|
|
20210
|
+
roles: string[];
|
|
18293
20211
|
}[];
|
|
18294
20212
|
};
|
|
18295
20213
|
list_my_planning_items: {
|
|
@@ -18460,6 +20378,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
18460
20378
|
p_worker?: string;
|
|
18461
20379
|
};
|
|
18462
20380
|
Returns: {
|
|
20381
|
+
attempt_log: import("./types").Json;
|
|
20382
|
+
attempts: number;
|
|
18463
20383
|
buffer_ref: string | null;
|
|
18464
20384
|
claimed_at: string | null;
|
|
18465
20385
|
claimed_by: string | null;
|
|
@@ -18469,6 +20389,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
18469
20389
|
due_at: string | null;
|
|
18470
20390
|
error: string | null;
|
|
18471
20391
|
id: string;
|
|
20392
|
+
last_error: string | null;
|
|
20393
|
+
next_attempt_at: string | null;
|
|
18472
20394
|
order_ref: string;
|
|
18473
20395
|
owner_module: string;
|
|
18474
20396
|
payload: import("./types").Json;
|
|
@@ -18501,6 +20423,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
18501
20423
|
p_worker?: string;
|
|
18502
20424
|
};
|
|
18503
20425
|
Returns: {
|
|
20426
|
+
attempt_log: import("./types").Json;
|
|
20427
|
+
attempts: number;
|
|
18504
20428
|
buffer_ref: string | null;
|
|
18505
20429
|
claimed_at: string | null;
|
|
18506
20430
|
claimed_by: string | null;
|
|
@@ -18510,6 +20434,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
18510
20434
|
due_at: string | null;
|
|
18511
20435
|
error: string | null;
|
|
18512
20436
|
id: string;
|
|
20437
|
+
last_error: string | null;
|
|
20438
|
+
next_attempt_at: string | null;
|
|
18513
20439
|
order_ref: string;
|
|
18514
20440
|
owner_module: string;
|
|
18515
20441
|
payload: import("./types").Json;
|
|
@@ -18542,6 +20468,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
18542
20468
|
p_task_id: string;
|
|
18543
20469
|
};
|
|
18544
20470
|
Returns: {
|
|
20471
|
+
attempt_log: import("./types").Json;
|
|
20472
|
+
attempts: number;
|
|
18545
20473
|
buffer_ref: string | null;
|
|
18546
20474
|
claimed_at: string | null;
|
|
18547
20475
|
claimed_by: string | null;
|
|
@@ -18551,6 +20479,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
18551
20479
|
due_at: string | null;
|
|
18552
20480
|
error: string | null;
|
|
18553
20481
|
id: string;
|
|
20482
|
+
last_error: string | null;
|
|
20483
|
+
next_attempt_at: string | null;
|
|
18554
20484
|
order_ref: string;
|
|
18555
20485
|
owner_module: string;
|
|
18556
20486
|
payload: import("./types").Json;
|
|
@@ -18603,17 +20533,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
18603
20533
|
Returns: string;
|
|
18604
20534
|
};
|
|
18605
20535
|
logistics_emit_event: {
|
|
18606
|
-
Args: {
|
|
18607
|
-
p_event_type: string;
|
|
18608
|
-
p_idempotency_key?: string;
|
|
18609
|
-
p_order_ref: string;
|
|
18610
|
-
p_payload?: import("./types").Json;
|
|
18611
|
-
p_shadow?: boolean;
|
|
18612
|
-
p_source_module: string;
|
|
18613
|
-
p_strategy_id?: string;
|
|
18614
|
-
};
|
|
18615
|
-
Returns: import("./types").Json;
|
|
18616
|
-
} | {
|
|
18617
20536
|
Args: {
|
|
18618
20537
|
p_event_type: string;
|
|
18619
20538
|
p_idempotency_key?: string;
|
|
@@ -18632,6 +20551,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
18632
20551
|
p_task_id: string;
|
|
18633
20552
|
};
|
|
18634
20553
|
Returns: {
|
|
20554
|
+
attempt_log: import("./types").Json;
|
|
20555
|
+
attempts: number;
|
|
18635
20556
|
buffer_ref: string | null;
|
|
18636
20557
|
claimed_at: string | null;
|
|
18637
20558
|
claimed_by: string | null;
|
|
@@ -18641,6 +20562,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
18641
20562
|
due_at: string | null;
|
|
18642
20563
|
error: string | null;
|
|
18643
20564
|
id: string;
|
|
20565
|
+
last_error: string | null;
|
|
20566
|
+
next_attempt_at: string | null;
|
|
18644
20567
|
order_ref: string;
|
|
18645
20568
|
owner_module: string;
|
|
18646
20569
|
payload: import("./types").Json;
|
|
@@ -18667,6 +20590,51 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
18667
20590
|
isSetofReturn: false;
|
|
18668
20591
|
};
|
|
18669
20592
|
};
|
|
20593
|
+
logistics_floriday_claim_pushes: {
|
|
20594
|
+
Args: {
|
|
20595
|
+
_lease_seconds?: number;
|
|
20596
|
+
_limit?: number;
|
|
20597
|
+
_worker?: string;
|
|
20598
|
+
};
|
|
20599
|
+
Returns: {
|
|
20600
|
+
attempts: number;
|
|
20601
|
+
fulfillment_order_id: string;
|
|
20602
|
+
id: string;
|
|
20603
|
+
last_sent_hash: string;
|
|
20604
|
+
order_ref: string;
|
|
20605
|
+
payload: import("./types").Json;
|
|
20606
|
+
payload_hash: string;
|
|
20607
|
+
revision: number;
|
|
20608
|
+
}[];
|
|
20609
|
+
};
|
|
20610
|
+
logistics_floriday_finish_push: {
|
|
20611
|
+
Args: {
|
|
20612
|
+
_error?: string;
|
|
20613
|
+
_fulfillment_order_id?: string;
|
|
20614
|
+
_id: string;
|
|
20615
|
+
_max_age_hours?: number;
|
|
20616
|
+
_max_attempts?: number;
|
|
20617
|
+
_ok: boolean;
|
|
20618
|
+
_permanent?: boolean;
|
|
20619
|
+
_revision: number;
|
|
20620
|
+
_sent_hash?: string;
|
|
20621
|
+
};
|
|
20622
|
+
Returns: string;
|
|
20623
|
+
};
|
|
20624
|
+
logistics_floriday_prune_pushes: {
|
|
20625
|
+
Args: {
|
|
20626
|
+
_days?: number;
|
|
20627
|
+
};
|
|
20628
|
+
Returns: number;
|
|
20629
|
+
};
|
|
20630
|
+
logistics_floriday_queue_push: {
|
|
20631
|
+
Args: {
|
|
20632
|
+
_order_ref: string;
|
|
20633
|
+
_payload?: import("./types").Json;
|
|
20634
|
+
_payload_hash?: string;
|
|
20635
|
+
};
|
|
20636
|
+
Returns: string;
|
|
20637
|
+
};
|
|
18670
20638
|
logistics_live_carriers: {
|
|
18671
20639
|
Args: {
|
|
18672
20640
|
p_order_ref: string;
|
|
@@ -18719,6 +20687,65 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
18719
20687
|
};
|
|
18720
20688
|
Returns: number;
|
|
18721
20689
|
};
|
|
20690
|
+
logistics_plan_claim: {
|
|
20691
|
+
Args: {
|
|
20692
|
+
p_limit?: number;
|
|
20693
|
+
};
|
|
20694
|
+
Returns: {
|
|
20695
|
+
attempts: number;
|
|
20696
|
+
id: string;
|
|
20697
|
+
order_id: string;
|
|
20698
|
+
}[];
|
|
20699
|
+
};
|
|
20700
|
+
logistics_plan_enqueue: {
|
|
20701
|
+
Args: {
|
|
20702
|
+
p_order_id: string;
|
|
20703
|
+
p_reason?: string;
|
|
20704
|
+
};
|
|
20705
|
+
Returns: undefined;
|
|
20706
|
+
};
|
|
20707
|
+
logistics_plan_ensure_event: {
|
|
20708
|
+
Args: {
|
|
20709
|
+
p_order_id: string;
|
|
20710
|
+
};
|
|
20711
|
+
Returns: boolean;
|
|
20712
|
+
};
|
|
20713
|
+
logistics_plan_finish: {
|
|
20714
|
+
Args: {
|
|
20715
|
+
p_error?: string;
|
|
20716
|
+
p_id: string;
|
|
20717
|
+
};
|
|
20718
|
+
Returns: undefined;
|
|
20719
|
+
};
|
|
20720
|
+
logistics_plan_impact_orders: {
|
|
20721
|
+
Args: {
|
|
20722
|
+
p_order_id: string;
|
|
20723
|
+
};
|
|
20724
|
+
Returns: {
|
|
20725
|
+
buffer_id: string;
|
|
20726
|
+
order_id: string;
|
|
20727
|
+
plan_date: string;
|
|
20728
|
+
}[];
|
|
20729
|
+
};
|
|
20730
|
+
logistics_plan_kick: {
|
|
20731
|
+
Args: never;
|
|
20732
|
+
Returns: undefined;
|
|
20733
|
+
};
|
|
20734
|
+
logistics_plan_prune: {
|
|
20735
|
+
Args: never;
|
|
20736
|
+
Returns: number;
|
|
20737
|
+
};
|
|
20738
|
+
logistics_plan_release_stale: {
|
|
20739
|
+
Args: never;
|
|
20740
|
+
Returns: number;
|
|
20741
|
+
};
|
|
20742
|
+
logistics_plan_setting: {
|
|
20743
|
+
Args: {
|
|
20744
|
+
p_default: number;
|
|
20745
|
+
p_key: string;
|
|
20746
|
+
};
|
|
20747
|
+
Returns: number;
|
|
20748
|
+
};
|
|
18722
20749
|
logistics_queue_capacity_email: {
|
|
18723
20750
|
Args: {
|
|
18724
20751
|
p_alert_id: string;
|
|
@@ -18957,6 +20984,14 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
18957
20984
|
};
|
|
18958
20985
|
Returns: undefined;
|
|
18959
20986
|
};
|
|
20987
|
+
my_module_permissions: {
|
|
20988
|
+
Args: never;
|
|
20989
|
+
Returns: {
|
|
20990
|
+
feature_id: string;
|
|
20991
|
+
module_id: string;
|
|
20992
|
+
permission: string;
|
|
20993
|
+
}[];
|
|
20994
|
+
};
|
|
18960
20995
|
next_manufacture_partij: {
|
|
18961
20996
|
Args: {
|
|
18962
20997
|
_tenant_id: string;
|
|
@@ -19007,6 +21042,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19007
21042
|
};
|
|
19008
21043
|
Returns: boolean;
|
|
19009
21044
|
};
|
|
21045
|
+
opruim_print_historie: {
|
|
21046
|
+
Args: never;
|
|
21047
|
+
Returns: {
|
|
21048
|
+
ontdaan: number;
|
|
21049
|
+
verwijderd: number;
|
|
21050
|
+
}[];
|
|
21051
|
+
};
|
|
19010
21052
|
order_number_prefix: {
|
|
19011
21053
|
Args: {
|
|
19012
21054
|
p_custom_fields?: import("./types").Json;
|
|
@@ -19014,6 +21056,15 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19014
21056
|
};
|
|
19015
21057
|
Returns: string;
|
|
19016
21058
|
};
|
|
21059
|
+
pick_active_printers: {
|
|
21060
|
+
Args: never;
|
|
21061
|
+
Returns: {
|
|
21062
|
+
id: string;
|
|
21063
|
+
locatie: string;
|
|
21064
|
+
naam: string;
|
|
21065
|
+
online: boolean;
|
|
21066
|
+
}[];
|
|
21067
|
+
};
|
|
19017
21068
|
pick_claim_document: {
|
|
19018
21069
|
Args: {
|
|
19019
21070
|
_queue_item_id: string;
|
|
@@ -19200,6 +21251,52 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19200
21251
|
};
|
|
19201
21252
|
Returns: undefined;
|
|
19202
21253
|
};
|
|
21254
|
+
pick_reset_print: {
|
|
21255
|
+
Args: {
|
|
21256
|
+
_queue_item_id: string;
|
|
21257
|
+
_session_id: string;
|
|
21258
|
+
};
|
|
21259
|
+
Returns: {
|
|
21260
|
+
announced_at: string;
|
|
21261
|
+
assigned_user_id: string | null;
|
|
21262
|
+
barcode: string | null;
|
|
21263
|
+
cancelled_at: string | null;
|
|
21264
|
+
cart_count: number;
|
|
21265
|
+
completed_at: string | null;
|
|
21266
|
+
country_code: string | null;
|
|
21267
|
+
created_at: string;
|
|
21268
|
+
customer_name: string | null;
|
|
21269
|
+
delivery_address: string | null;
|
|
21270
|
+
document_number: string | null;
|
|
21271
|
+
document_type_id: string | null;
|
|
21272
|
+
due_at: string | null;
|
|
21273
|
+
id: string;
|
|
21274
|
+
is_urgent: boolean;
|
|
21275
|
+
line_count: number;
|
|
21276
|
+
order_number: string | null;
|
|
21277
|
+
order_type: string | null;
|
|
21278
|
+
payload: import("./types").Json;
|
|
21279
|
+
print_count: number;
|
|
21280
|
+
print_job_id: string | null;
|
|
21281
|
+
printed_at: string | null;
|
|
21282
|
+
printed_by: string | null;
|
|
21283
|
+
printer_id: string | null;
|
|
21284
|
+
priority: number;
|
|
21285
|
+
reference: string | null;
|
|
21286
|
+
route: string | null;
|
|
21287
|
+
screen_id: string | null;
|
|
21288
|
+
station_id: string | null;
|
|
21289
|
+
status_id: string | null;
|
|
21290
|
+
updated_at: string;
|
|
21291
|
+
warnings: import("./types").Json;
|
|
21292
|
+
};
|
|
21293
|
+
SetofOptions: {
|
|
21294
|
+
from: "*";
|
|
21295
|
+
to: "pick_queue";
|
|
21296
|
+
isOneToOne: true;
|
|
21297
|
+
isSetofReturn: false;
|
|
21298
|
+
};
|
|
21299
|
+
};
|
|
19203
21300
|
pick_station_dashboard: {
|
|
19204
21301
|
Args: never;
|
|
19205
21302
|
Returns: {
|
|
@@ -19346,6 +21443,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19346
21443
|
};
|
|
19347
21444
|
Returns: undefined;
|
|
19348
21445
|
};
|
|
21446
|
+
reset_stalled_floriday_stock_queue: {
|
|
21447
|
+
Args: {
|
|
21448
|
+
p_include_failed?: boolean;
|
|
21449
|
+
};
|
|
21450
|
+
Returns: number;
|
|
21451
|
+
};
|
|
19349
21452
|
resolve_group_allocation: {
|
|
19350
21453
|
Args: {
|
|
19351
21454
|
_needed: number;
|
|
@@ -19390,10 +21493,28 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19390
21493
|
};
|
|
19391
21494
|
Returns: import("./types").Json;
|
|
19392
21495
|
};
|
|
21496
|
+
ruim_print_jobs_op: {
|
|
21497
|
+
Args: {
|
|
21498
|
+
_bewaar_dagen?: number;
|
|
21499
|
+
};
|
|
21500
|
+
Returns: number;
|
|
21501
|
+
};
|
|
19393
21502
|
run_floriday_continuous_stock_sync: {
|
|
19394
21503
|
Args: never;
|
|
19395
21504
|
Returns: undefined;
|
|
19396
21505
|
};
|
|
21506
|
+
run_floriday_stock_queue_process: {
|
|
21507
|
+
Args: never;
|
|
21508
|
+
Returns: undefined;
|
|
21509
|
+
};
|
|
21510
|
+
run_logistics_tasks_dispatch: {
|
|
21511
|
+
Args: never;
|
|
21512
|
+
Returns: undefined;
|
|
21513
|
+
};
|
|
21514
|
+
run_print_queue_ticks: {
|
|
21515
|
+
Args: never;
|
|
21516
|
+
Returns: number;
|
|
21517
|
+
};
|
|
19397
21518
|
run_twinfield_queue_tick: {
|
|
19398
21519
|
Args: never;
|
|
19399
21520
|
Returns: undefined;
|
|
@@ -19634,6 +21755,13 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19634
21755
|
};
|
|
19635
21756
|
Returns: number;
|
|
19636
21757
|
};
|
|
21758
|
+
schedule_floriday_stock_queue_process: {
|
|
21759
|
+
Args: {
|
|
21760
|
+
p_apikey: string;
|
|
21761
|
+
p_url: string;
|
|
21762
|
+
};
|
|
21763
|
+
Returns: number;
|
|
21764
|
+
};
|
|
19637
21765
|
schedule_floriday_token_refresh: {
|
|
19638
21766
|
Args: {
|
|
19639
21767
|
p_apikey: string;
|
|
@@ -19740,6 +21868,16 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19740
21868
|
};
|
|
19741
21869
|
Returns: string[];
|
|
19742
21870
|
};
|
|
21871
|
+
switch_time_log: {
|
|
21872
|
+
Args: {
|
|
21873
|
+
p_employee_id: string;
|
|
21874
|
+
p_start_lat?: number;
|
|
21875
|
+
p_start_lng?: number;
|
|
21876
|
+
p_type: string;
|
|
21877
|
+
p_work_order_id?: string;
|
|
21878
|
+
};
|
|
21879
|
+
Returns: import("./types").Json;
|
|
21880
|
+
};
|
|
19743
21881
|
sync_all_layer_stocks: {
|
|
19744
21882
|
Args: never;
|
|
19745
21883
|
Returns: undefined;
|
|
@@ -19774,6 +21912,21 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19774
21912
|
};
|
|
19775
21913
|
Returns: undefined;
|
|
19776
21914
|
};
|
|
21915
|
+
sync_sick_time_off: {
|
|
21916
|
+
Args: {
|
|
21917
|
+
_period_id: string;
|
|
21918
|
+
};
|
|
21919
|
+
Returns: number;
|
|
21920
|
+
};
|
|
21921
|
+
trade_item_stock_duplicates: {
|
|
21922
|
+
Args: never;
|
|
21923
|
+
Returns: {
|
|
21924
|
+
keys: string[];
|
|
21925
|
+
product_id: string;
|
|
21926
|
+
product_name: string;
|
|
21927
|
+
row_count: number;
|
|
21928
|
+
}[];
|
|
21929
|
+
};
|
|
19777
21930
|
try_debtor_lock: {
|
|
19778
21931
|
Args: {
|
|
19779
21932
|
_group_key: string;
|
|
@@ -19781,6 +21934,24 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19781
21934
|
};
|
|
19782
21935
|
Returns: boolean;
|
|
19783
21936
|
};
|
|
21937
|
+
twinfield_cron_lock_acquire: {
|
|
21938
|
+
Args: {
|
|
21939
|
+
_job_name: string;
|
|
21940
|
+
_stale_seconds?: number;
|
|
21941
|
+
};
|
|
21942
|
+
Returns: boolean;
|
|
21943
|
+
};
|
|
21944
|
+
twinfield_cron_lock_release: {
|
|
21945
|
+
Args: {
|
|
21946
|
+
_error?: string;
|
|
21947
|
+
_job_name: string;
|
|
21948
|
+
};
|
|
21949
|
+
Returns: undefined;
|
|
21950
|
+
};
|
|
21951
|
+
twinfield_prune_push_queue: {
|
|
21952
|
+
Args: never;
|
|
21953
|
+
Returns: number;
|
|
21954
|
+
};
|
|
19784
21955
|
twinfield_register_cron: {
|
|
19785
21956
|
Args: {
|
|
19786
21957
|
apikey?: string;
|
|
@@ -19823,8 +21994,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
|
|
|
19823
21994
|
};
|
|
19824
21995
|
Enums: {
|
|
19825
21996
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
19826
|
-
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
19827
|
-
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
21997
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
21998
|
+
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
|
|
19828
21999
|
doc_orientation: "portrait" | "landscape";
|
|
19829
22000
|
exact_env: "staging" | "live";
|
|
19830
22001
|
exact_push_status: "pending" | "sent" | "error";
|