@flowselections/pick-schermen-kwekers 1.0.6 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -24
- package/dist-lib/components/TemplateModulePage.d.ts +2 -0
- package/dist-lib/components/TemplateModulePage.d.ts.map +1 -0
- package/dist-lib/components/TemplateModulePage.js +44 -0
- package/dist-lib/components/pick/PickScherm.d.ts.map +1 -1
- package/dist-lib/components/pick/PickScherm.js +70 -29
- package/dist-lib/hooks/usePrintJob.d.ts +22 -0
- package/dist-lib/hooks/usePrintJob.d.ts.map +1 -0
- package/dist-lib/hooks/usePrintJob.js +48 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +890 -21
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +890 -21
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +890 -21
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +891 -22
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +12 -1
- package/dist-lib/lib/layoutMaker/pakbonHtml.js +49 -49
- package/dist-lib/lib/layoutRenderer.js +17 -17
- package/dist-lib/lib/pickApi.d.ts +11 -2
- package/dist-lib/lib/pickApi.d.ts.map +1 -1
- package/dist-lib/lib/pickApi.js +38 -2
- package/dist-lib/lib/pickPrint.d.ts +3 -15
- package/dist-lib/lib/pickPrint.d.ts.map +1 -1
- package/dist-lib/lib/pickPrint.js +9 -161
- package/dist-lib/lib/pickPrintJobText.d.ts +17 -0
- package/dist-lib/lib/pickPrintJobText.d.ts.map +1 -0
- package/dist-lib/lib/pickPrintJobText.js +49 -0
- package/dist-lib/lib/pickTypes.d.ts +17 -0
- package/dist-lib/lib/pickTypes.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1719,7 +1719,7 @@ export type Database = {
|
|
|
1719
1719
|
city: string | null;
|
|
1720
1720
|
country: string | null;
|
|
1721
1721
|
created_at: string;
|
|
1722
|
-
customer_id: string
|
|
1722
|
+
customer_id: string;
|
|
1723
1723
|
external_key: string | null;
|
|
1724
1724
|
external_provider: string | null;
|
|
1725
1725
|
floriday_location_id: string | null;
|
|
@@ -1743,7 +1743,7 @@ export type Database = {
|
|
|
1743
1743
|
city?: string | null;
|
|
1744
1744
|
country?: string | null;
|
|
1745
1745
|
created_at?: string;
|
|
1746
|
-
customer_id
|
|
1746
|
+
customer_id: string;
|
|
1747
1747
|
external_key?: string | null;
|
|
1748
1748
|
external_provider?: string | null;
|
|
1749
1749
|
floriday_location_id?: string | null;
|
|
@@ -1767,7 +1767,7 @@ export type Database = {
|
|
|
1767
1767
|
city?: string | null;
|
|
1768
1768
|
country?: string | null;
|
|
1769
1769
|
created_at?: string;
|
|
1770
|
-
customer_id?: string
|
|
1770
|
+
customer_id?: string;
|
|
1771
1771
|
external_key?: string | null;
|
|
1772
1772
|
external_provider?: string | null;
|
|
1773
1773
|
floriday_location_id?: string | null;
|
|
@@ -3627,6 +3627,474 @@ export type Database = {
|
|
|
3627
3627
|
}
|
|
3628
3628
|
];
|
|
3629
3629
|
};
|
|
3630
|
+
exact_auth_call_budget: {
|
|
3631
|
+
Row: {
|
|
3632
|
+
account_key: string;
|
|
3633
|
+
day_count: number;
|
|
3634
|
+
day_date: string;
|
|
3635
|
+
division_code: number;
|
|
3636
|
+
environment: string;
|
|
3637
|
+
minute_count: number;
|
|
3638
|
+
minute_window: string;
|
|
3639
|
+
updated_at: string;
|
|
3640
|
+
};
|
|
3641
|
+
Insert: {
|
|
3642
|
+
account_key?: string;
|
|
3643
|
+
day_count?: number;
|
|
3644
|
+
day_date?: string;
|
|
3645
|
+
division_code?: number;
|
|
3646
|
+
environment: string;
|
|
3647
|
+
minute_count?: number;
|
|
3648
|
+
minute_window?: string;
|
|
3649
|
+
updated_at?: string;
|
|
3650
|
+
};
|
|
3651
|
+
Update: {
|
|
3652
|
+
account_key?: string;
|
|
3653
|
+
day_count?: number;
|
|
3654
|
+
day_date?: string;
|
|
3655
|
+
division_code?: number;
|
|
3656
|
+
environment?: string;
|
|
3657
|
+
minute_count?: number;
|
|
3658
|
+
minute_window?: string;
|
|
3659
|
+
updated_at?: string;
|
|
3660
|
+
};
|
|
3661
|
+
Relationships: [];
|
|
3662
|
+
};
|
|
3663
|
+
exact_auth_customers: {
|
|
3664
|
+
Row: {
|
|
3665
|
+
account_key: string;
|
|
3666
|
+
address_line1: string | null;
|
|
3667
|
+
chamber_of_commerce: string | null;
|
|
3668
|
+
city: string | null;
|
|
3669
|
+
code: string | null;
|
|
3670
|
+
country: string | null;
|
|
3671
|
+
created_at: string;
|
|
3672
|
+
currency: string | null;
|
|
3673
|
+
division_code: number | null;
|
|
3674
|
+
email: string | null;
|
|
3675
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3676
|
+
exact_id: string;
|
|
3677
|
+
exact_modified: string | null;
|
|
3678
|
+
exact_timestamp: number | null;
|
|
3679
|
+
id: string;
|
|
3680
|
+
is_active: boolean;
|
|
3681
|
+
name: string | null;
|
|
3682
|
+
phone: string | null;
|
|
3683
|
+
postcode: string | null;
|
|
3684
|
+
raw: Json | null;
|
|
3685
|
+
status: string | null;
|
|
3686
|
+
updated_at: string;
|
|
3687
|
+
vat_number: string | null;
|
|
3688
|
+
website: string | null;
|
|
3689
|
+
};
|
|
3690
|
+
Insert: {
|
|
3691
|
+
account_key?: string;
|
|
3692
|
+
address_line1?: string | null;
|
|
3693
|
+
chamber_of_commerce?: string | null;
|
|
3694
|
+
city?: string | null;
|
|
3695
|
+
code?: string | null;
|
|
3696
|
+
country?: string | null;
|
|
3697
|
+
created_at?: string;
|
|
3698
|
+
currency?: string | null;
|
|
3699
|
+
division_code?: number | null;
|
|
3700
|
+
email?: string | null;
|
|
3701
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3702
|
+
exact_id: string;
|
|
3703
|
+
exact_modified?: string | null;
|
|
3704
|
+
exact_timestamp?: number | null;
|
|
3705
|
+
id?: string;
|
|
3706
|
+
is_active?: boolean;
|
|
3707
|
+
name?: string | null;
|
|
3708
|
+
phone?: string | null;
|
|
3709
|
+
postcode?: string | null;
|
|
3710
|
+
raw?: Json | null;
|
|
3711
|
+
status?: string | null;
|
|
3712
|
+
updated_at?: string;
|
|
3713
|
+
vat_number?: string | null;
|
|
3714
|
+
website?: string | null;
|
|
3715
|
+
};
|
|
3716
|
+
Update: {
|
|
3717
|
+
account_key?: string;
|
|
3718
|
+
address_line1?: string | null;
|
|
3719
|
+
chamber_of_commerce?: string | null;
|
|
3720
|
+
city?: string | null;
|
|
3721
|
+
code?: string | null;
|
|
3722
|
+
country?: string | null;
|
|
3723
|
+
created_at?: string;
|
|
3724
|
+
currency?: string | null;
|
|
3725
|
+
division_code?: number | null;
|
|
3726
|
+
email?: string | null;
|
|
3727
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
3728
|
+
exact_id?: string;
|
|
3729
|
+
exact_modified?: string | null;
|
|
3730
|
+
exact_timestamp?: number | null;
|
|
3731
|
+
id?: string;
|
|
3732
|
+
is_active?: boolean;
|
|
3733
|
+
name?: string | null;
|
|
3734
|
+
phone?: string | null;
|
|
3735
|
+
postcode?: string | null;
|
|
3736
|
+
raw?: Json | null;
|
|
3737
|
+
status?: string | null;
|
|
3738
|
+
updated_at?: string;
|
|
3739
|
+
vat_number?: string | null;
|
|
3740
|
+
website?: string | null;
|
|
3741
|
+
};
|
|
3742
|
+
Relationships: [];
|
|
3743
|
+
};
|
|
3744
|
+
exact_auth_divisions: {
|
|
3745
|
+
Row: {
|
|
3746
|
+
account_key: string;
|
|
3747
|
+
company_name: string | null;
|
|
3748
|
+
created_at: string;
|
|
3749
|
+
division_code: number | null;
|
|
3750
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3751
|
+
id: string;
|
|
3752
|
+
last_synced_at: string | null;
|
|
3753
|
+
updated_at: string;
|
|
3754
|
+
};
|
|
3755
|
+
Insert: {
|
|
3756
|
+
account_key?: string;
|
|
3757
|
+
company_name?: string | null;
|
|
3758
|
+
created_at?: string;
|
|
3759
|
+
division_code?: number | null;
|
|
3760
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3761
|
+
id?: string;
|
|
3762
|
+
last_synced_at?: string | null;
|
|
3763
|
+
updated_at?: string;
|
|
3764
|
+
};
|
|
3765
|
+
Update: {
|
|
3766
|
+
account_key?: string;
|
|
3767
|
+
company_name?: string | null;
|
|
3768
|
+
created_at?: string;
|
|
3769
|
+
division_code?: number | null;
|
|
3770
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
3771
|
+
id?: string;
|
|
3772
|
+
last_synced_at?: string | null;
|
|
3773
|
+
updated_at?: string;
|
|
3774
|
+
};
|
|
3775
|
+
Relationships: [];
|
|
3776
|
+
};
|
|
3777
|
+
exact_auth_invoice_lines: {
|
|
3778
|
+
Row: {
|
|
3779
|
+
account_key: string;
|
|
3780
|
+
amount_excl: number | null;
|
|
3781
|
+
created_at: string;
|
|
3782
|
+
description: string | null;
|
|
3783
|
+
discount: number | null;
|
|
3784
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3785
|
+
exact_id: string;
|
|
3786
|
+
exact_timestamp: number | null;
|
|
3787
|
+
id: string;
|
|
3788
|
+
invoice_exact_id: string;
|
|
3789
|
+
item_code: string | null;
|
|
3790
|
+
item_exact_id: string | null;
|
|
3791
|
+
line_number: number | null;
|
|
3792
|
+
quantity: number | null;
|
|
3793
|
+
raw: Json | null;
|
|
3794
|
+
unit_price: number | null;
|
|
3795
|
+
updated_at: string;
|
|
3796
|
+
vat_amount: number | null;
|
|
3797
|
+
vat_code: string | null;
|
|
3798
|
+
};
|
|
3799
|
+
Insert: {
|
|
3800
|
+
account_key?: string;
|
|
3801
|
+
amount_excl?: number | null;
|
|
3802
|
+
created_at?: string;
|
|
3803
|
+
description?: string | null;
|
|
3804
|
+
discount?: number | null;
|
|
3805
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3806
|
+
exact_id: string;
|
|
3807
|
+
exact_timestamp?: number | null;
|
|
3808
|
+
id?: string;
|
|
3809
|
+
invoice_exact_id: string;
|
|
3810
|
+
item_code?: string | null;
|
|
3811
|
+
item_exact_id?: string | null;
|
|
3812
|
+
line_number?: number | null;
|
|
3813
|
+
quantity?: number | null;
|
|
3814
|
+
raw?: Json | null;
|
|
3815
|
+
unit_price?: number | null;
|
|
3816
|
+
updated_at?: string;
|
|
3817
|
+
vat_amount?: number | null;
|
|
3818
|
+
vat_code?: string | null;
|
|
3819
|
+
};
|
|
3820
|
+
Update: {
|
|
3821
|
+
account_key?: string;
|
|
3822
|
+
amount_excl?: number | null;
|
|
3823
|
+
created_at?: string;
|
|
3824
|
+
description?: string | null;
|
|
3825
|
+
discount?: number | null;
|
|
3826
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
3827
|
+
exact_id?: string;
|
|
3828
|
+
exact_timestamp?: number | null;
|
|
3829
|
+
id?: string;
|
|
3830
|
+
invoice_exact_id?: string;
|
|
3831
|
+
item_code?: string | null;
|
|
3832
|
+
item_exact_id?: string | null;
|
|
3833
|
+
line_number?: number | null;
|
|
3834
|
+
quantity?: number | null;
|
|
3835
|
+
raw?: Json | null;
|
|
3836
|
+
unit_price?: number | null;
|
|
3837
|
+
updated_at?: string;
|
|
3838
|
+
vat_amount?: number | null;
|
|
3839
|
+
vat_code?: string | null;
|
|
3840
|
+
};
|
|
3841
|
+
Relationships: [];
|
|
3842
|
+
};
|
|
3843
|
+
exact_auth_invoices: {
|
|
3844
|
+
Row: {
|
|
3845
|
+
account_key: string;
|
|
3846
|
+
amount_excl: number | null;
|
|
3847
|
+
amount_incl: number | null;
|
|
3848
|
+
amount_open: number | null;
|
|
3849
|
+
created_at: string;
|
|
3850
|
+
currency: string | null;
|
|
3851
|
+
customer_code: string | null;
|
|
3852
|
+
customer_exact_id: string | null;
|
|
3853
|
+
customer_name: string | null;
|
|
3854
|
+
description: string | null;
|
|
3855
|
+
division_code: number | null;
|
|
3856
|
+
due_date: string | null;
|
|
3857
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3858
|
+
exact_id: string;
|
|
3859
|
+
exact_modified: string | null;
|
|
3860
|
+
exact_timestamp: number | null;
|
|
3861
|
+
id: string;
|
|
3862
|
+
invoice_date: string | null;
|
|
3863
|
+
invoice_number: string | null;
|
|
3864
|
+
order_number: string | null;
|
|
3865
|
+
paid_at: string | null;
|
|
3866
|
+
payment_status: string;
|
|
3867
|
+
raw: Json | null;
|
|
3868
|
+
receivable_synced_at: string | null;
|
|
3869
|
+
status_code: number | null;
|
|
3870
|
+
updated_at: string;
|
|
3871
|
+
};
|
|
3872
|
+
Insert: {
|
|
3873
|
+
account_key?: string;
|
|
3874
|
+
amount_excl?: number | null;
|
|
3875
|
+
amount_incl?: number | null;
|
|
3876
|
+
amount_open?: number | null;
|
|
3877
|
+
created_at?: string;
|
|
3878
|
+
currency?: string | null;
|
|
3879
|
+
customer_code?: string | null;
|
|
3880
|
+
customer_exact_id?: string | null;
|
|
3881
|
+
customer_name?: string | null;
|
|
3882
|
+
description?: string | null;
|
|
3883
|
+
division_code?: number | null;
|
|
3884
|
+
due_date?: string | null;
|
|
3885
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3886
|
+
exact_id: string;
|
|
3887
|
+
exact_modified?: string | null;
|
|
3888
|
+
exact_timestamp?: number | null;
|
|
3889
|
+
id?: string;
|
|
3890
|
+
invoice_date?: string | null;
|
|
3891
|
+
invoice_number?: string | null;
|
|
3892
|
+
order_number?: string | null;
|
|
3893
|
+
paid_at?: string | null;
|
|
3894
|
+
payment_status?: string;
|
|
3895
|
+
raw?: Json | null;
|
|
3896
|
+
receivable_synced_at?: string | null;
|
|
3897
|
+
status_code?: number | null;
|
|
3898
|
+
updated_at?: string;
|
|
3899
|
+
};
|
|
3900
|
+
Update: {
|
|
3901
|
+
account_key?: string;
|
|
3902
|
+
amount_excl?: number | null;
|
|
3903
|
+
amount_incl?: number | null;
|
|
3904
|
+
amount_open?: number | null;
|
|
3905
|
+
created_at?: string;
|
|
3906
|
+
currency?: string | null;
|
|
3907
|
+
customer_code?: string | null;
|
|
3908
|
+
customer_exact_id?: string | null;
|
|
3909
|
+
customer_name?: string | null;
|
|
3910
|
+
description?: string | null;
|
|
3911
|
+
division_code?: number | null;
|
|
3912
|
+
due_date?: string | null;
|
|
3913
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
3914
|
+
exact_id?: string;
|
|
3915
|
+
exact_modified?: string | null;
|
|
3916
|
+
exact_timestamp?: number | null;
|
|
3917
|
+
id?: string;
|
|
3918
|
+
invoice_date?: string | null;
|
|
3919
|
+
invoice_number?: string | null;
|
|
3920
|
+
order_number?: string | null;
|
|
3921
|
+
paid_at?: string | null;
|
|
3922
|
+
payment_status?: string;
|
|
3923
|
+
raw?: Json | null;
|
|
3924
|
+
receivable_synced_at?: string | null;
|
|
3925
|
+
status_code?: number | null;
|
|
3926
|
+
updated_at?: string;
|
|
3927
|
+
};
|
|
3928
|
+
Relationships: [];
|
|
3929
|
+
};
|
|
3930
|
+
exact_auth_items: {
|
|
3931
|
+
Row: {
|
|
3932
|
+
account_key: string;
|
|
3933
|
+
barcode: string | null;
|
|
3934
|
+
code: string | null;
|
|
3935
|
+
cost_price: number | null;
|
|
3936
|
+
created_at: string;
|
|
3937
|
+
description: string | null;
|
|
3938
|
+
division_code: number | null;
|
|
3939
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3940
|
+
exact_id: string;
|
|
3941
|
+
exact_modified: string | null;
|
|
3942
|
+
exact_timestamp: number | null;
|
|
3943
|
+
gl_account_code: string | null;
|
|
3944
|
+
id: string;
|
|
3945
|
+
is_active: boolean;
|
|
3946
|
+
is_sales_item: boolean | null;
|
|
3947
|
+
item_type: string | null;
|
|
3948
|
+
raw: Json | null;
|
|
3949
|
+
sales_price: number | null;
|
|
3950
|
+
unit: string | null;
|
|
3951
|
+
updated_at: string;
|
|
3952
|
+
vat_code: string | null;
|
|
3953
|
+
};
|
|
3954
|
+
Insert: {
|
|
3955
|
+
account_key?: string;
|
|
3956
|
+
barcode?: string | null;
|
|
3957
|
+
code?: string | null;
|
|
3958
|
+
cost_price?: number | null;
|
|
3959
|
+
created_at?: string;
|
|
3960
|
+
description?: string | null;
|
|
3961
|
+
division_code?: number | null;
|
|
3962
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
3963
|
+
exact_id: string;
|
|
3964
|
+
exact_modified?: string | null;
|
|
3965
|
+
exact_timestamp?: number | null;
|
|
3966
|
+
gl_account_code?: string | null;
|
|
3967
|
+
id?: string;
|
|
3968
|
+
is_active?: boolean;
|
|
3969
|
+
is_sales_item?: boolean | null;
|
|
3970
|
+
item_type?: string | null;
|
|
3971
|
+
raw?: Json | null;
|
|
3972
|
+
sales_price?: number | null;
|
|
3973
|
+
unit?: string | null;
|
|
3974
|
+
updated_at?: string;
|
|
3975
|
+
vat_code?: string | null;
|
|
3976
|
+
};
|
|
3977
|
+
Update: {
|
|
3978
|
+
account_key?: string;
|
|
3979
|
+
barcode?: string | null;
|
|
3980
|
+
code?: string | null;
|
|
3981
|
+
cost_price?: number | null;
|
|
3982
|
+
created_at?: string;
|
|
3983
|
+
description?: string | null;
|
|
3984
|
+
division_code?: number | null;
|
|
3985
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
3986
|
+
exact_id?: string;
|
|
3987
|
+
exact_modified?: string | null;
|
|
3988
|
+
exact_timestamp?: number | null;
|
|
3989
|
+
gl_account_code?: string | null;
|
|
3990
|
+
id?: string;
|
|
3991
|
+
is_active?: boolean;
|
|
3992
|
+
is_sales_item?: boolean | null;
|
|
3993
|
+
item_type?: string | null;
|
|
3994
|
+
raw?: Json | null;
|
|
3995
|
+
sales_price?: number | null;
|
|
3996
|
+
unit?: string | null;
|
|
3997
|
+
updated_at?: string;
|
|
3998
|
+
vat_code?: string | null;
|
|
3999
|
+
};
|
|
4000
|
+
Relationships: [];
|
|
4001
|
+
};
|
|
4002
|
+
exact_auth_sync_log: {
|
|
4003
|
+
Row: {
|
|
4004
|
+
account_key: string;
|
|
4005
|
+
calls_used: number;
|
|
4006
|
+
created_at: string;
|
|
4007
|
+
domain: string;
|
|
4008
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
4009
|
+
error: string | null;
|
|
4010
|
+
finished_at: string | null;
|
|
4011
|
+
id: string;
|
|
4012
|
+
ok: boolean;
|
|
4013
|
+
records: number;
|
|
4014
|
+
started_at: string;
|
|
4015
|
+
};
|
|
4016
|
+
Insert: {
|
|
4017
|
+
account_key?: string;
|
|
4018
|
+
calls_used?: number;
|
|
4019
|
+
created_at?: string;
|
|
4020
|
+
domain: string;
|
|
4021
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
4022
|
+
error?: string | null;
|
|
4023
|
+
finished_at?: string | null;
|
|
4024
|
+
id?: string;
|
|
4025
|
+
ok?: boolean;
|
|
4026
|
+
records?: number;
|
|
4027
|
+
started_at?: string;
|
|
4028
|
+
};
|
|
4029
|
+
Update: {
|
|
4030
|
+
account_key?: string;
|
|
4031
|
+
calls_used?: number;
|
|
4032
|
+
created_at?: string;
|
|
4033
|
+
domain?: string;
|
|
4034
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
4035
|
+
error?: string | null;
|
|
4036
|
+
finished_at?: string | null;
|
|
4037
|
+
id?: string;
|
|
4038
|
+
ok?: boolean;
|
|
4039
|
+
records?: number;
|
|
4040
|
+
started_at?: string;
|
|
4041
|
+
};
|
|
4042
|
+
Relationships: [];
|
|
4043
|
+
};
|
|
4044
|
+
exact_auth_sync_state: {
|
|
4045
|
+
Row: {
|
|
4046
|
+
account_key: string;
|
|
4047
|
+
created_at: string;
|
|
4048
|
+
cursor_timestamp: number;
|
|
4049
|
+
division_code: number | null;
|
|
4050
|
+
domain: string;
|
|
4051
|
+
duration_ms: number | null;
|
|
4052
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
4053
|
+
initial_sync_done: boolean;
|
|
4054
|
+
last_error: string | null;
|
|
4055
|
+
last_run_at: string | null;
|
|
4056
|
+
last_success_at: string | null;
|
|
4057
|
+
locked_at: string | null;
|
|
4058
|
+
needs_initial_sync: boolean;
|
|
4059
|
+
record_count: number;
|
|
4060
|
+
updated_at: string;
|
|
4061
|
+
};
|
|
4062
|
+
Insert: {
|
|
4063
|
+
account_key?: string;
|
|
4064
|
+
created_at?: string;
|
|
4065
|
+
cursor_timestamp?: number;
|
|
4066
|
+
division_code?: number | null;
|
|
4067
|
+
domain: string;
|
|
4068
|
+
duration_ms?: number | null;
|
|
4069
|
+
environment: Database["public"]["Enums"]["exact_env"];
|
|
4070
|
+
initial_sync_done?: boolean;
|
|
4071
|
+
last_error?: string | null;
|
|
4072
|
+
last_run_at?: string | null;
|
|
4073
|
+
last_success_at?: string | null;
|
|
4074
|
+
locked_at?: string | null;
|
|
4075
|
+
needs_initial_sync?: boolean;
|
|
4076
|
+
record_count?: number;
|
|
4077
|
+
updated_at?: string;
|
|
4078
|
+
};
|
|
4079
|
+
Update: {
|
|
4080
|
+
account_key?: string;
|
|
4081
|
+
created_at?: string;
|
|
4082
|
+
cursor_timestamp?: number;
|
|
4083
|
+
division_code?: number | null;
|
|
4084
|
+
domain?: string;
|
|
4085
|
+
duration_ms?: number | null;
|
|
4086
|
+
environment?: Database["public"]["Enums"]["exact_env"];
|
|
4087
|
+
initial_sync_done?: boolean;
|
|
4088
|
+
last_error?: string | null;
|
|
4089
|
+
last_run_at?: string | null;
|
|
4090
|
+
last_success_at?: string | null;
|
|
4091
|
+
locked_at?: string | null;
|
|
4092
|
+
needs_initial_sync?: boolean;
|
|
4093
|
+
record_count?: number;
|
|
4094
|
+
updated_at?: string;
|
|
4095
|
+
};
|
|
4096
|
+
Relationships: [];
|
|
4097
|
+
};
|
|
3630
4098
|
exact_bulk_operation_items: {
|
|
3631
4099
|
Row: {
|
|
3632
4100
|
attempts: number;
|
|
@@ -5365,12 +5833,17 @@ export type Database = {
|
|
|
5365
5833
|
attempts: number;
|
|
5366
5834
|
connection_id: string;
|
|
5367
5835
|
created_at: string;
|
|
5836
|
+
desired_available: boolean | null;
|
|
5368
5837
|
gateway_attempt_id: string | null;
|
|
5369
5838
|
id: string;
|
|
5370
5839
|
last_error: string | null;
|
|
5840
|
+
locked_at: string | null;
|
|
5841
|
+
locked_by: string | null;
|
|
5842
|
+
next_attempt_at: string;
|
|
5371
5843
|
number_of_pieces: number;
|
|
5372
5844
|
sent_at: string | null;
|
|
5373
5845
|
status: string;
|
|
5846
|
+
superseded_by: string | null;
|
|
5374
5847
|
trade_item_id: string;
|
|
5375
5848
|
updated_at: string;
|
|
5376
5849
|
user_id: string;
|
|
@@ -5379,12 +5852,17 @@ export type Database = {
|
|
|
5379
5852
|
attempts?: number;
|
|
5380
5853
|
connection_id: string;
|
|
5381
5854
|
created_at?: string;
|
|
5855
|
+
desired_available?: boolean | null;
|
|
5382
5856
|
gateway_attempt_id?: string | null;
|
|
5383
5857
|
id?: string;
|
|
5384
5858
|
last_error?: string | null;
|
|
5859
|
+
locked_at?: string | null;
|
|
5860
|
+
locked_by?: string | null;
|
|
5861
|
+
next_attempt_at?: string;
|
|
5385
5862
|
number_of_pieces?: number;
|
|
5386
5863
|
sent_at?: string | null;
|
|
5387
5864
|
status?: string;
|
|
5865
|
+
superseded_by?: string | null;
|
|
5388
5866
|
trade_item_id: string;
|
|
5389
5867
|
updated_at?: string;
|
|
5390
5868
|
user_id: string;
|
|
@@ -5393,12 +5871,17 @@ export type Database = {
|
|
|
5393
5871
|
attempts?: number;
|
|
5394
5872
|
connection_id?: string;
|
|
5395
5873
|
created_at?: string;
|
|
5874
|
+
desired_available?: boolean | null;
|
|
5396
5875
|
gateway_attempt_id?: string | null;
|
|
5397
5876
|
id?: string;
|
|
5398
5877
|
last_error?: string | null;
|
|
5878
|
+
locked_at?: string | null;
|
|
5879
|
+
locked_by?: string | null;
|
|
5880
|
+
next_attempt_at?: string;
|
|
5399
5881
|
number_of_pieces?: number;
|
|
5400
5882
|
sent_at?: string | null;
|
|
5401
5883
|
status?: string;
|
|
5884
|
+
superseded_by?: string | null;
|
|
5402
5885
|
trade_item_id?: string;
|
|
5403
5886
|
updated_at?: string;
|
|
5404
5887
|
user_id?: string;
|
|
@@ -8211,33 +8694,96 @@ export type Database = {
|
|
|
8211
8694
|
idempotency_key?: string | null;
|
|
8212
8695
|
order_ref: string;
|
|
8213
8696
|
payload?: Json;
|
|
8214
|
-
plan_run_id?: string | null;
|
|
8215
|
-
priority?: number;
|
|
8216
|
-
processed_at?: string | null;
|
|
8217
|
-
shadow?: boolean;
|
|
8218
|
-
source_module: string;
|
|
8697
|
+
plan_run_id?: string | null;
|
|
8698
|
+
priority?: number;
|
|
8699
|
+
processed_at?: string | null;
|
|
8700
|
+
shadow?: boolean;
|
|
8701
|
+
source_module: string;
|
|
8702
|
+
status?: string;
|
|
8703
|
+
strategy_id?: string | null;
|
|
8704
|
+
updated_at?: string;
|
|
8705
|
+
user_id?: string;
|
|
8706
|
+
};
|
|
8707
|
+
Update: {
|
|
8708
|
+
created_at?: string;
|
|
8709
|
+
error?: string | null;
|
|
8710
|
+
event_type?: string;
|
|
8711
|
+
id?: string;
|
|
8712
|
+
idempotency_key?: string | null;
|
|
8713
|
+
order_ref?: string;
|
|
8714
|
+
payload?: Json;
|
|
8715
|
+
plan_run_id?: string | null;
|
|
8716
|
+
priority?: number;
|
|
8717
|
+
processed_at?: string | null;
|
|
8718
|
+
shadow?: boolean;
|
|
8719
|
+
source_module?: string;
|
|
8720
|
+
status?: string;
|
|
8721
|
+
strategy_id?: string | null;
|
|
8722
|
+
updated_at?: string;
|
|
8723
|
+
user_id?: string;
|
|
8724
|
+
};
|
|
8725
|
+
Relationships: [];
|
|
8726
|
+
};
|
|
8727
|
+
logistics_floriday_pushes: {
|
|
8728
|
+
Row: {
|
|
8729
|
+
attempts: number;
|
|
8730
|
+
created_at: string;
|
|
8731
|
+
first_queued_at: string;
|
|
8732
|
+
fulfillment_order_id: string | null;
|
|
8733
|
+
id: string;
|
|
8734
|
+
last_error: string | null;
|
|
8735
|
+
last_error_at: string | null;
|
|
8736
|
+
last_sent_hash: string | null;
|
|
8737
|
+
locked_by: string | null;
|
|
8738
|
+
locked_until: string | null;
|
|
8739
|
+
next_attempt_at: string;
|
|
8740
|
+
order_ref: string;
|
|
8741
|
+
payload: Json;
|
|
8742
|
+
payload_hash: string | null;
|
|
8743
|
+
revision: number;
|
|
8744
|
+
sent_at: string | null;
|
|
8745
|
+
status: string;
|
|
8746
|
+
updated_at: string;
|
|
8747
|
+
};
|
|
8748
|
+
Insert: {
|
|
8749
|
+
attempts?: number;
|
|
8750
|
+
created_at?: string;
|
|
8751
|
+
first_queued_at?: string;
|
|
8752
|
+
fulfillment_order_id?: string | null;
|
|
8753
|
+
id?: string;
|
|
8754
|
+
last_error?: string | null;
|
|
8755
|
+
last_error_at?: string | null;
|
|
8756
|
+
last_sent_hash?: string | null;
|
|
8757
|
+
locked_by?: string | null;
|
|
8758
|
+
locked_until?: string | null;
|
|
8759
|
+
next_attempt_at?: string;
|
|
8760
|
+
order_ref: string;
|
|
8761
|
+
payload?: Json;
|
|
8762
|
+
payload_hash?: string | null;
|
|
8763
|
+
revision?: number;
|
|
8764
|
+
sent_at?: string | null;
|
|
8219
8765
|
status?: string;
|
|
8220
|
-
strategy_id?: string | null;
|
|
8221
8766
|
updated_at?: string;
|
|
8222
|
-
user_id?: string;
|
|
8223
8767
|
};
|
|
8224
8768
|
Update: {
|
|
8769
|
+
attempts?: number;
|
|
8225
8770
|
created_at?: string;
|
|
8226
|
-
|
|
8227
|
-
|
|
8771
|
+
first_queued_at?: string;
|
|
8772
|
+
fulfillment_order_id?: string | null;
|
|
8228
8773
|
id?: string;
|
|
8229
|
-
|
|
8774
|
+
last_error?: string | null;
|
|
8775
|
+
last_error_at?: string | null;
|
|
8776
|
+
last_sent_hash?: string | null;
|
|
8777
|
+
locked_by?: string | null;
|
|
8778
|
+
locked_until?: string | null;
|
|
8779
|
+
next_attempt_at?: string;
|
|
8230
8780
|
order_ref?: string;
|
|
8231
8781
|
payload?: Json;
|
|
8232
|
-
|
|
8233
|
-
|
|
8234
|
-
|
|
8235
|
-
shadow?: boolean;
|
|
8236
|
-
source_module?: string;
|
|
8782
|
+
payload_hash?: string | null;
|
|
8783
|
+
revision?: number;
|
|
8784
|
+
sent_at?: string | null;
|
|
8237
8785
|
status?: string;
|
|
8238
|
-
strategy_id?: string | null;
|
|
8239
8786
|
updated_at?: string;
|
|
8240
|
-
user_id?: string;
|
|
8241
8787
|
};
|
|
8242
8788
|
Relationships: [];
|
|
8243
8789
|
};
|
|
@@ -8863,6 +9409,8 @@ export type Database = {
|
|
|
8863
9409
|
};
|
|
8864
9410
|
logistics_tasks: {
|
|
8865
9411
|
Row: {
|
|
9412
|
+
attempt_log: Json;
|
|
9413
|
+
attempts: number;
|
|
8866
9414
|
buffer_ref: string | null;
|
|
8867
9415
|
claimed_at: string | null;
|
|
8868
9416
|
claimed_by: string | null;
|
|
@@ -8872,6 +9420,8 @@ export type Database = {
|
|
|
8872
9420
|
due_at: string | null;
|
|
8873
9421
|
error: string | null;
|
|
8874
9422
|
id: string;
|
|
9423
|
+
last_error: string | null;
|
|
9424
|
+
next_attempt_at: string | null;
|
|
8875
9425
|
order_ref: string;
|
|
8876
9426
|
owner_module: string;
|
|
8877
9427
|
payload: Json;
|
|
@@ -8892,6 +9442,8 @@ export type Database = {
|
|
|
8892
9442
|
user_id: string;
|
|
8893
9443
|
};
|
|
8894
9444
|
Insert: {
|
|
9445
|
+
attempt_log?: Json;
|
|
9446
|
+
attempts?: number;
|
|
8895
9447
|
buffer_ref?: string | null;
|
|
8896
9448
|
claimed_at?: string | null;
|
|
8897
9449
|
claimed_by?: string | null;
|
|
@@ -8901,6 +9453,8 @@ export type Database = {
|
|
|
8901
9453
|
due_at?: string | null;
|
|
8902
9454
|
error?: string | null;
|
|
8903
9455
|
id?: string;
|
|
9456
|
+
last_error?: string | null;
|
|
9457
|
+
next_attempt_at?: string | null;
|
|
8904
9458
|
order_ref: string;
|
|
8905
9459
|
owner_module: string;
|
|
8906
9460
|
payload?: Json;
|
|
@@ -8921,6 +9475,8 @@ export type Database = {
|
|
|
8921
9475
|
user_id?: string;
|
|
8922
9476
|
};
|
|
8923
9477
|
Update: {
|
|
9478
|
+
attempt_log?: Json;
|
|
9479
|
+
attempts?: number;
|
|
8924
9480
|
buffer_ref?: string | null;
|
|
8925
9481
|
claimed_at?: string | null;
|
|
8926
9482
|
claimed_by?: string | null;
|
|
@@ -8930,6 +9486,8 @@ export type Database = {
|
|
|
8930
9486
|
due_at?: string | null;
|
|
8931
9487
|
error?: string | null;
|
|
8932
9488
|
id?: string;
|
|
9489
|
+
last_error?: string | null;
|
|
9490
|
+
next_attempt_at?: string | null;
|
|
8933
9491
|
order_ref?: string;
|
|
8934
9492
|
owner_module?: string;
|
|
8935
9493
|
payload?: Json;
|
|
@@ -10325,6 +10883,7 @@ export type Database = {
|
|
|
10325
10883
|
};
|
|
10326
10884
|
offer_settings: {
|
|
10327
10885
|
Row: {
|
|
10886
|
+
brand_name: string | null;
|
|
10328
10887
|
button_color: string;
|
|
10329
10888
|
created_at: string;
|
|
10330
10889
|
default_countries: string[];
|
|
@@ -10346,6 +10905,7 @@ export type Database = {
|
|
|
10346
10905
|
updated_at: string;
|
|
10347
10906
|
};
|
|
10348
10907
|
Insert: {
|
|
10908
|
+
brand_name?: string | null;
|
|
10349
10909
|
button_color?: string;
|
|
10350
10910
|
created_at?: string;
|
|
10351
10911
|
default_countries?: string[];
|
|
@@ -10367,6 +10927,7 @@ export type Database = {
|
|
|
10367
10927
|
updated_at?: string;
|
|
10368
10928
|
};
|
|
10369
10929
|
Update: {
|
|
10930
|
+
brand_name?: string | null;
|
|
10370
10931
|
button_color?: string;
|
|
10371
10932
|
created_at?: string;
|
|
10372
10933
|
default_countries?: string[];
|
|
@@ -12150,22 +12711,27 @@ export type Database = {
|
|
|
12150
12711
|
created_at: string;
|
|
12151
12712
|
documentnaam: string;
|
|
12152
12713
|
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
12714
|
+
extern_job_id: string | null;
|
|
12153
12715
|
foutmelding: string | null;
|
|
12154
12716
|
gebruiker_id: string | null;
|
|
12155
12717
|
gebruiker_naam: string;
|
|
12156
12718
|
gestart_op: string | null;
|
|
12157
12719
|
id: string;
|
|
12720
|
+
idempotentie_sleutel: string | null;
|
|
12158
12721
|
is_herprint: boolean;
|
|
12159
12722
|
kopieen: number;
|
|
12160
12723
|
layout_id: string | null;
|
|
12161
12724
|
opgepakt_op: string | null;
|
|
12162
12725
|
paginas: number;
|
|
12163
12726
|
payload: Json;
|
|
12727
|
+
pdf_base64: string | null;
|
|
12728
|
+
pdf_url: string | null;
|
|
12164
12729
|
pogingen: number;
|
|
12165
12730
|
printer_id: string | null;
|
|
12166
12731
|
render_html: string | null;
|
|
12167
12732
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
12168
12733
|
updated_at: string;
|
|
12734
|
+
volgende_poging: string | null;
|
|
12169
12735
|
voltooid_op: string | null;
|
|
12170
12736
|
};
|
|
12171
12737
|
Insert: {
|
|
@@ -12174,22 +12740,27 @@ export type Database = {
|
|
|
12174
12740
|
created_at?: string;
|
|
12175
12741
|
documentnaam?: string;
|
|
12176
12742
|
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
12743
|
+
extern_job_id?: string | null;
|
|
12177
12744
|
foutmelding?: string | null;
|
|
12178
12745
|
gebruiker_id?: string | null;
|
|
12179
12746
|
gebruiker_naam?: string;
|
|
12180
12747
|
gestart_op?: string | null;
|
|
12181
12748
|
id?: string;
|
|
12749
|
+
idempotentie_sleutel?: string | null;
|
|
12182
12750
|
is_herprint?: boolean;
|
|
12183
12751
|
kopieen?: number;
|
|
12184
12752
|
layout_id?: string | null;
|
|
12185
12753
|
opgepakt_op?: string | null;
|
|
12186
12754
|
paginas?: number;
|
|
12187
12755
|
payload?: Json;
|
|
12756
|
+
pdf_base64?: string | null;
|
|
12757
|
+
pdf_url?: string | null;
|
|
12188
12758
|
pogingen?: number;
|
|
12189
12759
|
printer_id?: string | null;
|
|
12190
12760
|
render_html?: string | null;
|
|
12191
12761
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
12192
12762
|
updated_at?: string;
|
|
12763
|
+
volgende_poging?: string | null;
|
|
12193
12764
|
voltooid_op?: string | null;
|
|
12194
12765
|
};
|
|
12195
12766
|
Update: {
|
|
@@ -12198,22 +12769,27 @@ export type Database = {
|
|
|
12198
12769
|
created_at?: string;
|
|
12199
12770
|
documentnaam?: string;
|
|
12200
12771
|
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
12772
|
+
extern_job_id?: string | null;
|
|
12201
12773
|
foutmelding?: string | null;
|
|
12202
12774
|
gebruiker_id?: string | null;
|
|
12203
12775
|
gebruiker_naam?: string;
|
|
12204
12776
|
gestart_op?: string | null;
|
|
12205
12777
|
id?: string;
|
|
12778
|
+
idempotentie_sleutel?: string | null;
|
|
12206
12779
|
is_herprint?: boolean;
|
|
12207
12780
|
kopieen?: number;
|
|
12208
12781
|
layout_id?: string | null;
|
|
12209
12782
|
opgepakt_op?: string | null;
|
|
12210
12783
|
paginas?: number;
|
|
12211
12784
|
payload?: Json;
|
|
12785
|
+
pdf_base64?: string | null;
|
|
12786
|
+
pdf_url?: string | null;
|
|
12212
12787
|
pogingen?: number;
|
|
12213
12788
|
printer_id?: string | null;
|
|
12214
12789
|
render_html?: string | null;
|
|
12215
12790
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
12216
12791
|
updated_at?: string;
|
|
12792
|
+
volgende_poging?: string | null;
|
|
12217
12793
|
voltooid_op?: string | null;
|
|
12218
12794
|
};
|
|
12219
12795
|
Relationships: [
|
|
@@ -12408,6 +12984,7 @@ export type Database = {
|
|
|
12408
12984
|
agent_id: string | null;
|
|
12409
12985
|
created_at: string;
|
|
12410
12986
|
driver: string;
|
|
12987
|
+
extern_printer_id: string | null;
|
|
12411
12988
|
id: string;
|
|
12412
12989
|
ip_adres: string | null;
|
|
12413
12990
|
laatst_gezien: string | null;
|
|
@@ -12429,6 +13006,7 @@ export type Database = {
|
|
|
12429
13006
|
agent_id?: string | null;
|
|
12430
13007
|
created_at?: string;
|
|
12431
13008
|
driver?: string;
|
|
13009
|
+
extern_printer_id?: string | null;
|
|
12432
13010
|
id?: string;
|
|
12433
13011
|
ip_adres?: string | null;
|
|
12434
13012
|
laatst_gezien?: string | null;
|
|
@@ -12450,6 +13028,7 @@ export type Database = {
|
|
|
12450
13028
|
agent_id?: string | null;
|
|
12451
13029
|
created_at?: string;
|
|
12452
13030
|
driver?: string;
|
|
13031
|
+
extern_printer_id?: string | null;
|
|
12453
13032
|
id?: string;
|
|
12454
13033
|
ip_adres?: string | null;
|
|
12455
13034
|
laatst_gezien?: string | null;
|
|
@@ -18197,6 +18776,125 @@ export type Database = {
|
|
|
18197
18776
|
};
|
|
18198
18777
|
Returns: Json;
|
|
18199
18778
|
};
|
|
18779
|
+
claim_cloud_print_jobs: {
|
|
18780
|
+
Args: {
|
|
18781
|
+
_max?: number;
|
|
18782
|
+
};
|
|
18783
|
+
Returns: {
|
|
18784
|
+
agent_id: string | null;
|
|
18785
|
+
bron_job_id: string | null;
|
|
18786
|
+
created_at: string;
|
|
18787
|
+
documentnaam: string;
|
|
18788
|
+
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
18789
|
+
extern_job_id: string | null;
|
|
18790
|
+
foutmelding: string | null;
|
|
18791
|
+
gebruiker_id: string | null;
|
|
18792
|
+
gebruiker_naam: string;
|
|
18793
|
+
gestart_op: string | null;
|
|
18794
|
+
id: string;
|
|
18795
|
+
idempotentie_sleutel: string | null;
|
|
18796
|
+
is_herprint: boolean;
|
|
18797
|
+
kopieen: number;
|
|
18798
|
+
layout_id: string | null;
|
|
18799
|
+
opgepakt_op: string | null;
|
|
18800
|
+
paginas: number;
|
|
18801
|
+
payload: Json;
|
|
18802
|
+
pdf_base64: string | null;
|
|
18803
|
+
pdf_url: string | null;
|
|
18804
|
+
pogingen: number;
|
|
18805
|
+
printer_id: string | null;
|
|
18806
|
+
render_html: string | null;
|
|
18807
|
+
status: Database["public"]["Enums"]["print_job_status"];
|
|
18808
|
+
updated_at: string;
|
|
18809
|
+
volgende_poging: string | null;
|
|
18810
|
+
voltooid_op: string | null;
|
|
18811
|
+
}[];
|
|
18812
|
+
SetofOptions: {
|
|
18813
|
+
from: "*";
|
|
18814
|
+
to: "print_jobs";
|
|
18815
|
+
isOneToOne: false;
|
|
18816
|
+
isSetofReturn: true;
|
|
18817
|
+
};
|
|
18818
|
+
};
|
|
18819
|
+
claim_floriday_stock_queue: {
|
|
18820
|
+
Args: {
|
|
18821
|
+
p_limit?: number;
|
|
18822
|
+
p_worker?: string;
|
|
18823
|
+
};
|
|
18824
|
+
Returns: {
|
|
18825
|
+
attempts: number;
|
|
18826
|
+
connection_id: string;
|
|
18827
|
+
created_at: string;
|
|
18828
|
+
desired_available: boolean | null;
|
|
18829
|
+
gateway_attempt_id: string | null;
|
|
18830
|
+
id: string;
|
|
18831
|
+
last_error: string | null;
|
|
18832
|
+
locked_at: string | null;
|
|
18833
|
+
locked_by: string | null;
|
|
18834
|
+
next_attempt_at: string;
|
|
18835
|
+
number_of_pieces: number;
|
|
18836
|
+
sent_at: string | null;
|
|
18837
|
+
status: string;
|
|
18838
|
+
superseded_by: string | null;
|
|
18839
|
+
trade_item_id: string;
|
|
18840
|
+
updated_at: string;
|
|
18841
|
+
user_id: string;
|
|
18842
|
+
}[];
|
|
18843
|
+
SetofOptions: {
|
|
18844
|
+
from: "*";
|
|
18845
|
+
to: "floriday_continuous_stock_queue";
|
|
18846
|
+
isOneToOne: false;
|
|
18847
|
+
isSetofReturn: true;
|
|
18848
|
+
};
|
|
18849
|
+
};
|
|
18850
|
+
claim_logistics_tasks: {
|
|
18851
|
+
Args: {
|
|
18852
|
+
_limit?: number;
|
|
18853
|
+
_owner_module: string;
|
|
18854
|
+
_stale_minutes?: number;
|
|
18855
|
+
_task_type: string;
|
|
18856
|
+
_worker: string;
|
|
18857
|
+
};
|
|
18858
|
+
Returns: {
|
|
18859
|
+
attempt_log: Json;
|
|
18860
|
+
attempts: number;
|
|
18861
|
+
buffer_ref: string | null;
|
|
18862
|
+
claimed_at: string | null;
|
|
18863
|
+
claimed_by: string | null;
|
|
18864
|
+
completed_at: string | null;
|
|
18865
|
+
created_at: string;
|
|
18866
|
+
depends_on: string[];
|
|
18867
|
+
due_at: string | null;
|
|
18868
|
+
error: string | null;
|
|
18869
|
+
id: string;
|
|
18870
|
+
last_error: string | null;
|
|
18871
|
+
next_attempt_at: string | null;
|
|
18872
|
+
order_ref: string;
|
|
18873
|
+
owner_module: string;
|
|
18874
|
+
payload: Json;
|
|
18875
|
+
plan_run_id: string | null;
|
|
18876
|
+
planned_end: string | null;
|
|
18877
|
+
planned_start: string | null;
|
|
18878
|
+
priority: number;
|
|
18879
|
+
result: Json | null;
|
|
18880
|
+
rule_config_id: string | null;
|
|
18881
|
+
rule_version: number | null;
|
|
18882
|
+
sequence: number;
|
|
18883
|
+
shadow: boolean;
|
|
18884
|
+
started_at: string | null;
|
|
18885
|
+
status: string;
|
|
18886
|
+
strategy_id: string | null;
|
|
18887
|
+
task_type: string;
|
|
18888
|
+
updated_at: string;
|
|
18889
|
+
user_id: string;
|
|
18890
|
+
}[];
|
|
18891
|
+
SetofOptions: {
|
|
18892
|
+
from: "*";
|
|
18893
|
+
to: "logistics_tasks";
|
|
18894
|
+
isOneToOne: false;
|
|
18895
|
+
isSetofReturn: true;
|
|
18896
|
+
};
|
|
18897
|
+
};
|
|
18200
18898
|
claim_print_jobs: {
|
|
18201
18899
|
Args: {
|
|
18202
18900
|
_agent_id: string;
|
|
@@ -18208,22 +18906,27 @@ export type Database = {
|
|
|
18208
18906
|
created_at: string;
|
|
18209
18907
|
documentnaam: string;
|
|
18210
18908
|
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
18909
|
+
extern_job_id: string | null;
|
|
18211
18910
|
foutmelding: string | null;
|
|
18212
18911
|
gebruiker_id: string | null;
|
|
18213
18912
|
gebruiker_naam: string;
|
|
18214
18913
|
gestart_op: string | null;
|
|
18215
18914
|
id: string;
|
|
18915
|
+
idempotentie_sleutel: string | null;
|
|
18216
18916
|
is_herprint: boolean;
|
|
18217
18917
|
kopieen: number;
|
|
18218
18918
|
layout_id: string | null;
|
|
18219
18919
|
opgepakt_op: string | null;
|
|
18220
18920
|
paginas: number;
|
|
18221
18921
|
payload: Json;
|
|
18922
|
+
pdf_base64: string | null;
|
|
18923
|
+
pdf_url: string | null;
|
|
18222
18924
|
pogingen: number;
|
|
18223
18925
|
printer_id: string | null;
|
|
18224
18926
|
render_html: string | null;
|
|
18225
18927
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
18226
18928
|
updated_at: string;
|
|
18929
|
+
volgende_poging: string | null;
|
|
18227
18930
|
voltooid_op: string | null;
|
|
18228
18931
|
}[];
|
|
18229
18932
|
SetofOptions: {
|
|
@@ -18261,10 +18964,24 @@ export type Database = {
|
|
|
18261
18964
|
isSetofReturn: true;
|
|
18262
18965
|
};
|
|
18263
18966
|
};
|
|
18967
|
+
cleanup_floriday_stock_queue: {
|
|
18968
|
+
Args: never;
|
|
18969
|
+
Returns: undefined;
|
|
18970
|
+
};
|
|
18264
18971
|
cleanup_old_bookings: {
|
|
18265
18972
|
Args: never;
|
|
18266
18973
|
Returns: undefined;
|
|
18267
18974
|
};
|
|
18975
|
+
complete_floriday_stock_queue: {
|
|
18976
|
+
Args: {
|
|
18977
|
+
p_attempt_id?: string;
|
|
18978
|
+
p_error?: string;
|
|
18979
|
+
p_id: string;
|
|
18980
|
+
p_ok: boolean;
|
|
18981
|
+
p_permanent?: boolean;
|
|
18982
|
+
};
|
|
18983
|
+
Returns: undefined;
|
|
18984
|
+
};
|
|
18268
18985
|
consume_bom_for_production: {
|
|
18269
18986
|
Args: {
|
|
18270
18987
|
p_connection_id: string;
|
|
@@ -18437,6 +19154,21 @@ export type Database = {
|
|
|
18437
19154
|
Args: never;
|
|
18438
19155
|
Returns: string;
|
|
18439
19156
|
};
|
|
19157
|
+
exact_auth_consume_calls: {
|
|
19158
|
+
Args: {
|
|
19159
|
+
_account_key: string;
|
|
19160
|
+
_calls?: number;
|
|
19161
|
+
_day_limit?: number;
|
|
19162
|
+
_division_code: number;
|
|
19163
|
+
_environment: string;
|
|
19164
|
+
_minute_limit?: number;
|
|
19165
|
+
};
|
|
19166
|
+
Returns: Json;
|
|
19167
|
+
};
|
|
19168
|
+
exact_auth_prune_sync_log: {
|
|
19169
|
+
Args: never;
|
|
19170
|
+
Returns: undefined;
|
|
19171
|
+
};
|
|
18440
19172
|
exact_decrypt: {
|
|
18441
19173
|
Args: {
|
|
18442
19174
|
cipher: string;
|
|
@@ -18646,6 +19378,10 @@ export type Database = {
|
|
|
18646
19378
|
};
|
|
18647
19379
|
Returns: number;
|
|
18648
19380
|
};
|
|
19381
|
+
get_offer_branding: {
|
|
19382
|
+
Args: never;
|
|
19383
|
+
Returns: Json;
|
|
19384
|
+
};
|
|
18649
19385
|
get_offer_by_link_code: {
|
|
18650
19386
|
Args: {
|
|
18651
19387
|
p_code: string;
|
|
@@ -18937,6 +19673,8 @@ export type Database = {
|
|
|
18937
19673
|
p_worker?: string;
|
|
18938
19674
|
};
|
|
18939
19675
|
Returns: {
|
|
19676
|
+
attempt_log: Json;
|
|
19677
|
+
attempts: number;
|
|
18940
19678
|
buffer_ref: string | null;
|
|
18941
19679
|
claimed_at: string | null;
|
|
18942
19680
|
claimed_by: string | null;
|
|
@@ -18946,6 +19684,8 @@ export type Database = {
|
|
|
18946
19684
|
due_at: string | null;
|
|
18947
19685
|
error: string | null;
|
|
18948
19686
|
id: string;
|
|
19687
|
+
last_error: string | null;
|
|
19688
|
+
next_attempt_at: string | null;
|
|
18949
19689
|
order_ref: string;
|
|
18950
19690
|
owner_module: string;
|
|
18951
19691
|
payload: Json;
|
|
@@ -18978,6 +19718,8 @@ export type Database = {
|
|
|
18978
19718
|
p_worker?: string;
|
|
18979
19719
|
};
|
|
18980
19720
|
Returns: {
|
|
19721
|
+
attempt_log: Json;
|
|
19722
|
+
attempts: number;
|
|
18981
19723
|
buffer_ref: string | null;
|
|
18982
19724
|
claimed_at: string | null;
|
|
18983
19725
|
claimed_by: string | null;
|
|
@@ -18987,6 +19729,8 @@ export type Database = {
|
|
|
18987
19729
|
due_at: string | null;
|
|
18988
19730
|
error: string | null;
|
|
18989
19731
|
id: string;
|
|
19732
|
+
last_error: string | null;
|
|
19733
|
+
next_attempt_at: string | null;
|
|
18990
19734
|
order_ref: string;
|
|
18991
19735
|
owner_module: string;
|
|
18992
19736
|
payload: Json;
|
|
@@ -19019,6 +19763,8 @@ export type Database = {
|
|
|
19019
19763
|
p_task_id: string;
|
|
19020
19764
|
};
|
|
19021
19765
|
Returns: {
|
|
19766
|
+
attempt_log: Json;
|
|
19767
|
+
attempts: number;
|
|
19022
19768
|
buffer_ref: string | null;
|
|
19023
19769
|
claimed_at: string | null;
|
|
19024
19770
|
claimed_by: string | null;
|
|
@@ -19028,6 +19774,8 @@ export type Database = {
|
|
|
19028
19774
|
due_at: string | null;
|
|
19029
19775
|
error: string | null;
|
|
19030
19776
|
id: string;
|
|
19777
|
+
last_error: string | null;
|
|
19778
|
+
next_attempt_at: string | null;
|
|
19031
19779
|
order_ref: string;
|
|
19032
19780
|
owner_module: string;
|
|
19033
19781
|
payload: Json;
|
|
@@ -19109,6 +19857,8 @@ export type Database = {
|
|
|
19109
19857
|
p_task_id: string;
|
|
19110
19858
|
};
|
|
19111
19859
|
Returns: {
|
|
19860
|
+
attempt_log: Json;
|
|
19861
|
+
attempts: number;
|
|
19112
19862
|
buffer_ref: string | null;
|
|
19113
19863
|
claimed_at: string | null;
|
|
19114
19864
|
claimed_by: string | null;
|
|
@@ -19118,6 +19868,8 @@ export type Database = {
|
|
|
19118
19868
|
due_at: string | null;
|
|
19119
19869
|
error: string | null;
|
|
19120
19870
|
id: string;
|
|
19871
|
+
last_error: string | null;
|
|
19872
|
+
next_attempt_at: string | null;
|
|
19121
19873
|
order_ref: string;
|
|
19122
19874
|
owner_module: string;
|
|
19123
19875
|
payload: Json;
|
|
@@ -19144,6 +19896,51 @@ export type Database = {
|
|
|
19144
19896
|
isSetofReturn: false;
|
|
19145
19897
|
};
|
|
19146
19898
|
};
|
|
19899
|
+
logistics_floriday_claim_pushes: {
|
|
19900
|
+
Args: {
|
|
19901
|
+
_lease_seconds?: number;
|
|
19902
|
+
_limit?: number;
|
|
19903
|
+
_worker?: string;
|
|
19904
|
+
};
|
|
19905
|
+
Returns: {
|
|
19906
|
+
attempts: number;
|
|
19907
|
+
fulfillment_order_id: string;
|
|
19908
|
+
id: string;
|
|
19909
|
+
last_sent_hash: string;
|
|
19910
|
+
order_ref: string;
|
|
19911
|
+
payload: Json;
|
|
19912
|
+
payload_hash: string;
|
|
19913
|
+
revision: number;
|
|
19914
|
+
}[];
|
|
19915
|
+
};
|
|
19916
|
+
logistics_floriday_finish_push: {
|
|
19917
|
+
Args: {
|
|
19918
|
+
_error?: string;
|
|
19919
|
+
_fulfillment_order_id?: string;
|
|
19920
|
+
_id: string;
|
|
19921
|
+
_max_age_hours?: number;
|
|
19922
|
+
_max_attempts?: number;
|
|
19923
|
+
_ok: boolean;
|
|
19924
|
+
_permanent?: boolean;
|
|
19925
|
+
_revision: number;
|
|
19926
|
+
_sent_hash?: string;
|
|
19927
|
+
};
|
|
19928
|
+
Returns: string;
|
|
19929
|
+
};
|
|
19930
|
+
logistics_floriday_prune_pushes: {
|
|
19931
|
+
Args: {
|
|
19932
|
+
_days?: number;
|
|
19933
|
+
};
|
|
19934
|
+
Returns: number;
|
|
19935
|
+
};
|
|
19936
|
+
logistics_floriday_queue_push: {
|
|
19937
|
+
Args: {
|
|
19938
|
+
_order_ref: string;
|
|
19939
|
+
_payload?: Json;
|
|
19940
|
+
_payload_hash?: string;
|
|
19941
|
+
};
|
|
19942
|
+
Returns: string;
|
|
19943
|
+
};
|
|
19147
19944
|
logistics_live_carriers: {
|
|
19148
19945
|
Args: {
|
|
19149
19946
|
p_order_ref: string;
|
|
@@ -19491,6 +20288,15 @@ export type Database = {
|
|
|
19491
20288
|
};
|
|
19492
20289
|
Returns: string;
|
|
19493
20290
|
};
|
|
20291
|
+
pick_active_printers: {
|
|
20292
|
+
Args: never;
|
|
20293
|
+
Returns: {
|
|
20294
|
+
id: string;
|
|
20295
|
+
locatie: string;
|
|
20296
|
+
naam: string;
|
|
20297
|
+
online: boolean;
|
|
20298
|
+
}[];
|
|
20299
|
+
};
|
|
19494
20300
|
pick_claim_document: {
|
|
19495
20301
|
Args: {
|
|
19496
20302
|
_queue_item_id: string;
|
|
@@ -19677,6 +20483,52 @@ export type Database = {
|
|
|
19677
20483
|
};
|
|
19678
20484
|
Returns: undefined;
|
|
19679
20485
|
};
|
|
20486
|
+
pick_reset_print: {
|
|
20487
|
+
Args: {
|
|
20488
|
+
_queue_item_id: string;
|
|
20489
|
+
_session_id: string;
|
|
20490
|
+
};
|
|
20491
|
+
Returns: {
|
|
20492
|
+
announced_at: string;
|
|
20493
|
+
assigned_user_id: string | null;
|
|
20494
|
+
barcode: string | null;
|
|
20495
|
+
cancelled_at: string | null;
|
|
20496
|
+
cart_count: number;
|
|
20497
|
+
completed_at: string | null;
|
|
20498
|
+
country_code: string | null;
|
|
20499
|
+
created_at: string;
|
|
20500
|
+
customer_name: string | null;
|
|
20501
|
+
delivery_address: string | null;
|
|
20502
|
+
document_number: string | null;
|
|
20503
|
+
document_type_id: string | null;
|
|
20504
|
+
due_at: string | null;
|
|
20505
|
+
id: string;
|
|
20506
|
+
is_urgent: boolean;
|
|
20507
|
+
line_count: number;
|
|
20508
|
+
order_number: string | null;
|
|
20509
|
+
order_type: string | null;
|
|
20510
|
+
payload: Json;
|
|
20511
|
+
print_count: number;
|
|
20512
|
+
print_job_id: string | null;
|
|
20513
|
+
printed_at: string | null;
|
|
20514
|
+
printed_by: string | null;
|
|
20515
|
+
printer_id: string | null;
|
|
20516
|
+
priority: number;
|
|
20517
|
+
reference: string | null;
|
|
20518
|
+
route: string | null;
|
|
20519
|
+
screen_id: string | null;
|
|
20520
|
+
station_id: string | null;
|
|
20521
|
+
status_id: string | null;
|
|
20522
|
+
updated_at: string;
|
|
20523
|
+
warnings: Json;
|
|
20524
|
+
};
|
|
20525
|
+
SetofOptions: {
|
|
20526
|
+
from: "*";
|
|
20527
|
+
to: "pick_queue";
|
|
20528
|
+
isOneToOne: true;
|
|
20529
|
+
isSetofReturn: false;
|
|
20530
|
+
};
|
|
20531
|
+
};
|
|
19680
20532
|
pick_station_dashboard: {
|
|
19681
20533
|
Args: never;
|
|
19682
20534
|
Returns: {
|
|
@@ -19867,10 +20719,20 @@ export type Database = {
|
|
|
19867
20719
|
};
|
|
19868
20720
|
Returns: Json;
|
|
19869
20721
|
};
|
|
20722
|
+
ruim_print_jobs_op: {
|
|
20723
|
+
Args: {
|
|
20724
|
+
_bewaar_dagen?: number;
|
|
20725
|
+
};
|
|
20726
|
+
Returns: number;
|
|
20727
|
+
};
|
|
19870
20728
|
run_floriday_continuous_stock_sync: {
|
|
19871
20729
|
Args: never;
|
|
19872
20730
|
Returns: undefined;
|
|
19873
20731
|
};
|
|
20732
|
+
run_logistics_tasks_dispatch: {
|
|
20733
|
+
Args: never;
|
|
20734
|
+
Returns: undefined;
|
|
20735
|
+
};
|
|
19874
20736
|
run_twinfield_queue_tick: {
|
|
19875
20737
|
Args: never;
|
|
19876
20738
|
Returns: undefined;
|
|
@@ -20111,6 +20973,13 @@ export type Database = {
|
|
|
20111
20973
|
};
|
|
20112
20974
|
Returns: number;
|
|
20113
20975
|
};
|
|
20976
|
+
schedule_floriday_stock_queue_process: {
|
|
20977
|
+
Args: {
|
|
20978
|
+
p_apikey: string;
|
|
20979
|
+
p_url: string;
|
|
20980
|
+
};
|
|
20981
|
+
Returns: number;
|
|
20982
|
+
};
|
|
20114
20983
|
schedule_floriday_token_refresh: {
|
|
20115
20984
|
Args: {
|
|
20116
20985
|
p_apikey: string;
|
|
@@ -20300,7 +21169,7 @@ export type Database = {
|
|
|
20300
21169
|
};
|
|
20301
21170
|
Enums: {
|
|
20302
21171
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
20303
|
-
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
21172
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
20304
21173
|
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
20305
21174
|
doc_orientation: "portrait" | "landscape";
|
|
20306
21175
|
exact_env: "staging" | "live";
|
|
@@ -20371,7 +21240,7 @@ export declare const Constants: {
|
|
|
20371
21240
|
readonly public: {
|
|
20372
21241
|
readonly Enums: {
|
|
20373
21242
|
readonly ai_import_status: readonly ["nieuw", "verwerken", "bevestigen", "klaar", "mislukt"];
|
|
20374
|
-
readonly app_role: readonly ["admin", "planner", "monteur", "administratie", "ai_admin"];
|
|
21243
|
+
readonly app_role: readonly ["admin", "planner", "monteur", "administratie", "ai_admin", "manager", "warehouse", "sales", "developer", "receptie"];
|
|
20375
21244
|
readonly doc_layout_type: readonly ["pakbon", "factuur", "offerte", "orderbevestiging", "etiket", "verzendlabel", "productlabel", "barcode_label", "magazijnlijst", "controlelijst", "transportdocument", "vrij", "sticker", "productiebon"];
|
|
20376
21245
|
readonly doc_orientation: readonly ["portrait", "landscape"];
|
|
20377
21246
|
readonly exact_env: readonly ["staging", "live"];
|