@flowselections/admin-installatietechniek 1.0.3 → 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/AdminForInstallatieTechniek.d.ts +4 -0
- package/dist-lib/components/AdminForInstallatieTechniek.d.ts.map +1 -1
- package/dist-lib/components/AdminForInstallatieTechniek.js +212 -197
- package/dist-lib/hooks/useModulePermission.d.ts +4 -3
- package/dist-lib/hooks/useModulePermission.d.ts.map +1 -1
- package/dist-lib/hooks/useModulePermission.js +10 -6
- package/dist-lib/index.d.ts +1 -3
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +0 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +407 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +407 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +407 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +411 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/admin.functions.d.ts +48897 -1136
- package/dist-lib/lib/admin.functions.d.ts.map +1 -1
- package/dist-lib/lib/admin.functions.js +340 -181
- package/dist-lib/lib/moduleDiscovery.d.ts +7 -2
- package/dist-lib/lib/moduleDiscovery.d.ts.map +1 -1
- package/dist-lib/lib/moduleDiscovery.js +26 -11
- package/package.json +87 -87
- package/dist-lib/hooks/useModuleOrder.d.ts +0 -30
- package/dist-lib/hooks/useModuleOrder.d.ts.map +0 -1
- package/dist-lib/hooks/useModuleOrder.js +0 -99
|
@@ -6646,6 +6646,7 @@ export type Database = {
|
|
|
6646
6646
|
Row: {
|
|
6647
6647
|
buyer_organization_id: string | null;
|
|
6648
6648
|
connection_id: string;
|
|
6649
|
+
controlled_at: string | null;
|
|
6649
6650
|
created_at: string;
|
|
6650
6651
|
data: Json;
|
|
6651
6652
|
floriday_id: string;
|
|
@@ -6657,6 +6658,7 @@ export type Database = {
|
|
|
6657
6658
|
Insert: {
|
|
6658
6659
|
buyer_organization_id?: string | null;
|
|
6659
6660
|
connection_id: string;
|
|
6661
|
+
controlled_at?: string | null;
|
|
6660
6662
|
created_at?: string;
|
|
6661
6663
|
data: Json;
|
|
6662
6664
|
floriday_id: string;
|
|
@@ -6668,6 +6670,7 @@ export type Database = {
|
|
|
6668
6670
|
Update: {
|
|
6669
6671
|
buyer_organization_id?: string | null;
|
|
6670
6672
|
connection_id?: string;
|
|
6673
|
+
controlled_at?: string | null;
|
|
6671
6674
|
created_at?: string;
|
|
6672
6675
|
data?: Json;
|
|
6673
6676
|
floriday_id?: string;
|
|
@@ -7601,6 +7604,54 @@ export type Database = {
|
|
|
7601
7604
|
};
|
|
7602
7605
|
Relationships: [];
|
|
7603
7606
|
};
|
|
7607
|
+
invoice_timing_settings: {
|
|
7608
|
+
Row: {
|
|
7609
|
+
anchor: string;
|
|
7610
|
+
business_days_only: boolean;
|
|
7611
|
+
created_at: string;
|
|
7612
|
+
enabled: boolean;
|
|
7613
|
+
id: string;
|
|
7614
|
+
offset_days: number;
|
|
7615
|
+
pickup_anchor: string;
|
|
7616
|
+
pickup_business_days_only: boolean;
|
|
7617
|
+
pickup_offset_days: number;
|
|
7618
|
+
pickup_time_of_day: string;
|
|
7619
|
+
singleton: boolean;
|
|
7620
|
+
time_of_day: string;
|
|
7621
|
+
updated_at: string;
|
|
7622
|
+
};
|
|
7623
|
+
Insert: {
|
|
7624
|
+
anchor?: string;
|
|
7625
|
+
business_days_only?: boolean;
|
|
7626
|
+
created_at?: string;
|
|
7627
|
+
enabled?: boolean;
|
|
7628
|
+
id?: string;
|
|
7629
|
+
offset_days?: number;
|
|
7630
|
+
pickup_anchor?: string;
|
|
7631
|
+
pickup_business_days_only?: boolean;
|
|
7632
|
+
pickup_offset_days?: number;
|
|
7633
|
+
pickup_time_of_day?: string;
|
|
7634
|
+
singleton?: boolean;
|
|
7635
|
+
time_of_day?: string;
|
|
7636
|
+
updated_at?: string;
|
|
7637
|
+
};
|
|
7638
|
+
Update: {
|
|
7639
|
+
anchor?: string;
|
|
7640
|
+
business_days_only?: boolean;
|
|
7641
|
+
created_at?: string;
|
|
7642
|
+
enabled?: boolean;
|
|
7643
|
+
id?: string;
|
|
7644
|
+
offset_days?: number;
|
|
7645
|
+
pickup_anchor?: string;
|
|
7646
|
+
pickup_business_days_only?: boolean;
|
|
7647
|
+
pickup_offset_days?: number;
|
|
7648
|
+
pickup_time_of_day?: string;
|
|
7649
|
+
singleton?: boolean;
|
|
7650
|
+
time_of_day?: string;
|
|
7651
|
+
updated_at?: string;
|
|
7652
|
+
};
|
|
7653
|
+
Relationships: [];
|
|
7654
|
+
};
|
|
7604
7655
|
itk_contact_persons: {
|
|
7605
7656
|
Row: {
|
|
7606
7657
|
created_at: string;
|
|
@@ -8867,6 +8918,45 @@ export type Database = {
|
|
|
8867
8918
|
};
|
|
8868
8919
|
Relationships: [];
|
|
8869
8920
|
};
|
|
8921
|
+
logistics_plan_queue: {
|
|
8922
|
+
Row: {
|
|
8923
|
+
attempts: number;
|
|
8924
|
+
claimed_at: string | null;
|
|
8925
|
+
enqueued_at: string;
|
|
8926
|
+
error: string | null;
|
|
8927
|
+
id: string;
|
|
8928
|
+
next_attempt_at: string;
|
|
8929
|
+
order_id: string;
|
|
8930
|
+
reason: string;
|
|
8931
|
+
status: string;
|
|
8932
|
+
updated_at: string;
|
|
8933
|
+
};
|
|
8934
|
+
Insert: {
|
|
8935
|
+
attempts?: number;
|
|
8936
|
+
claimed_at?: string | null;
|
|
8937
|
+
enqueued_at?: string;
|
|
8938
|
+
error?: string | null;
|
|
8939
|
+
id?: string;
|
|
8940
|
+
next_attempt_at?: string;
|
|
8941
|
+
order_id: string;
|
|
8942
|
+
reason?: string;
|
|
8943
|
+
status?: string;
|
|
8944
|
+
updated_at?: string;
|
|
8945
|
+
};
|
|
8946
|
+
Update: {
|
|
8947
|
+
attempts?: number;
|
|
8948
|
+
claimed_at?: string | null;
|
|
8949
|
+
enqueued_at?: string;
|
|
8950
|
+
error?: string | null;
|
|
8951
|
+
id?: string;
|
|
8952
|
+
next_attempt_at?: string;
|
|
8953
|
+
order_id?: string;
|
|
8954
|
+
reason?: string;
|
|
8955
|
+
status?: string;
|
|
8956
|
+
updated_at?: string;
|
|
8957
|
+
};
|
|
8958
|
+
Relationships: [];
|
|
8959
|
+
};
|
|
8870
8960
|
logistics_plan_runs: {
|
|
8871
8961
|
Row: {
|
|
8872
8962
|
created_at: string;
|
|
@@ -8945,6 +9035,24 @@ export type Database = {
|
|
|
8945
9035
|
}
|
|
8946
9036
|
];
|
|
8947
9037
|
};
|
|
9038
|
+
logistics_plan_settings: {
|
|
9039
|
+
Row: {
|
|
9040
|
+
key: string;
|
|
9041
|
+
updated_at: string;
|
|
9042
|
+
value: string;
|
|
9043
|
+
};
|
|
9044
|
+
Insert: {
|
|
9045
|
+
key: string;
|
|
9046
|
+
updated_at?: string;
|
|
9047
|
+
value: string;
|
|
9048
|
+
};
|
|
9049
|
+
Update: {
|
|
9050
|
+
key?: string;
|
|
9051
|
+
updated_at?: string;
|
|
9052
|
+
value?: string;
|
|
9053
|
+
};
|
|
9054
|
+
Relationships: [];
|
|
9055
|
+
};
|
|
8948
9056
|
logistics_rebuffer_state: {
|
|
8949
9057
|
Row: {
|
|
8950
9058
|
created_at: string;
|
|
@@ -9665,14 +9773,17 @@ export type Database = {
|
|
|
9665
9773
|
};
|
|
9666
9774
|
mailbox_messages: {
|
|
9667
9775
|
Row: {
|
|
9776
|
+
attachments: Json;
|
|
9668
9777
|
body_html: string | null;
|
|
9669
9778
|
body_text: string | null;
|
|
9779
|
+
cc_recipients: Json;
|
|
9670
9780
|
connection_id: string | null;
|
|
9671
9781
|
created_at: string;
|
|
9672
9782
|
error_message: string | null;
|
|
9673
9783
|
external_id: string | null;
|
|
9674
9784
|
from_email: string | null;
|
|
9675
9785
|
from_name: string | null;
|
|
9786
|
+
has_attachments: boolean;
|
|
9676
9787
|
id: string;
|
|
9677
9788
|
message_id: string | null;
|
|
9678
9789
|
profile_id: string | null;
|
|
@@ -9680,18 +9791,22 @@ export type Database = {
|
|
|
9680
9791
|
received_at: string | null;
|
|
9681
9792
|
status: string;
|
|
9682
9793
|
subject: string | null;
|
|
9794
|
+
to_recipients: Json;
|
|
9683
9795
|
uid: number | null;
|
|
9684
9796
|
updated_at: string;
|
|
9685
9797
|
};
|
|
9686
9798
|
Insert: {
|
|
9799
|
+
attachments?: Json;
|
|
9687
9800
|
body_html?: string | null;
|
|
9688
9801
|
body_text?: string | null;
|
|
9802
|
+
cc_recipients?: Json;
|
|
9689
9803
|
connection_id?: string | null;
|
|
9690
9804
|
created_at?: string;
|
|
9691
9805
|
error_message?: string | null;
|
|
9692
9806
|
external_id?: string | null;
|
|
9693
9807
|
from_email?: string | null;
|
|
9694
9808
|
from_name?: string | null;
|
|
9809
|
+
has_attachments?: boolean;
|
|
9695
9810
|
id?: string;
|
|
9696
9811
|
message_id?: string | null;
|
|
9697
9812
|
profile_id?: string | null;
|
|
@@ -9699,18 +9814,22 @@ export type Database = {
|
|
|
9699
9814
|
received_at?: string | null;
|
|
9700
9815
|
status?: string;
|
|
9701
9816
|
subject?: string | null;
|
|
9817
|
+
to_recipients?: Json;
|
|
9702
9818
|
uid?: number | null;
|
|
9703
9819
|
updated_at?: string;
|
|
9704
9820
|
};
|
|
9705
9821
|
Update: {
|
|
9822
|
+
attachments?: Json;
|
|
9706
9823
|
body_html?: string | null;
|
|
9707
9824
|
body_text?: string | null;
|
|
9825
|
+
cc_recipients?: Json;
|
|
9708
9826
|
connection_id?: string | null;
|
|
9709
9827
|
created_at?: string;
|
|
9710
9828
|
error_message?: string | null;
|
|
9711
9829
|
external_id?: string | null;
|
|
9712
9830
|
from_email?: string | null;
|
|
9713
9831
|
from_name?: string | null;
|
|
9832
|
+
has_attachments?: boolean;
|
|
9714
9833
|
id?: string;
|
|
9715
9834
|
message_id?: string | null;
|
|
9716
9835
|
profile_id?: string | null;
|
|
@@ -9718,6 +9837,7 @@ export type Database = {
|
|
|
9718
9837
|
received_at?: string | null;
|
|
9719
9838
|
status?: string;
|
|
9720
9839
|
subject?: string | null;
|
|
9840
|
+
to_recipients?: Json;
|
|
9721
9841
|
uid?: number | null;
|
|
9722
9842
|
updated_at?: string;
|
|
9723
9843
|
};
|
|
@@ -10115,6 +10235,36 @@ export type Database = {
|
|
|
10115
10235
|
};
|
|
10116
10236
|
Relationships: [];
|
|
10117
10237
|
};
|
|
10238
|
+
module_features: {
|
|
10239
|
+
Row: {
|
|
10240
|
+
created_at: string;
|
|
10241
|
+
feature_id: string;
|
|
10242
|
+
id: string;
|
|
10243
|
+
is_active: boolean;
|
|
10244
|
+
last_seen_at: string;
|
|
10245
|
+
module_id: string;
|
|
10246
|
+
name: string;
|
|
10247
|
+
};
|
|
10248
|
+
Insert: {
|
|
10249
|
+
created_at?: string;
|
|
10250
|
+
feature_id: string;
|
|
10251
|
+
id?: string;
|
|
10252
|
+
is_active?: boolean;
|
|
10253
|
+
last_seen_at?: string;
|
|
10254
|
+
module_id: string;
|
|
10255
|
+
name: string;
|
|
10256
|
+
};
|
|
10257
|
+
Update: {
|
|
10258
|
+
created_at?: string;
|
|
10259
|
+
feature_id?: string;
|
|
10260
|
+
id?: string;
|
|
10261
|
+
is_active?: boolean;
|
|
10262
|
+
last_seen_at?: string;
|
|
10263
|
+
module_id?: string;
|
|
10264
|
+
name?: string;
|
|
10265
|
+
};
|
|
10266
|
+
Relationships: [];
|
|
10267
|
+
};
|
|
10118
10268
|
module_permissions: {
|
|
10119
10269
|
Row: {
|
|
10120
10270
|
created_at: string;
|
|
@@ -11268,6 +11418,45 @@ export type Database = {
|
|
|
11268
11418
|
};
|
|
11269
11419
|
Relationships: [];
|
|
11270
11420
|
};
|
|
11421
|
+
order_invoice_links: {
|
|
11422
|
+
Row: {
|
|
11423
|
+
attempts: number;
|
|
11424
|
+
created_at: string;
|
|
11425
|
+
error_message: string | null;
|
|
11426
|
+
id: string;
|
|
11427
|
+
invoice_number: string | null;
|
|
11428
|
+
next_attempt_at: string;
|
|
11429
|
+
order_id: string;
|
|
11430
|
+
processed_at: string | null;
|
|
11431
|
+
status: string;
|
|
11432
|
+
updated_at: string;
|
|
11433
|
+
};
|
|
11434
|
+
Insert: {
|
|
11435
|
+
attempts?: number;
|
|
11436
|
+
created_at?: string;
|
|
11437
|
+
error_message?: string | null;
|
|
11438
|
+
id?: string;
|
|
11439
|
+
invoice_number?: string | null;
|
|
11440
|
+
next_attempt_at?: string;
|
|
11441
|
+
order_id: string;
|
|
11442
|
+
processed_at?: string | null;
|
|
11443
|
+
status?: string;
|
|
11444
|
+
updated_at?: string;
|
|
11445
|
+
};
|
|
11446
|
+
Update: {
|
|
11447
|
+
attempts?: number;
|
|
11448
|
+
created_at?: string;
|
|
11449
|
+
error_message?: string | null;
|
|
11450
|
+
id?: string;
|
|
11451
|
+
invoice_number?: string | null;
|
|
11452
|
+
next_attempt_at?: string;
|
|
11453
|
+
order_id?: string;
|
|
11454
|
+
processed_at?: string | null;
|
|
11455
|
+
status?: string;
|
|
11456
|
+
updated_at?: string;
|
|
11457
|
+
};
|
|
11458
|
+
Relationships: [];
|
|
11459
|
+
};
|
|
11271
11460
|
order_items: {
|
|
11272
11461
|
Row: {
|
|
11273
11462
|
crates_per_layer: number | null;
|
|
@@ -11459,6 +11648,7 @@ export type Database = {
|
|
|
11459
11648
|
delivery_date: string | null;
|
|
11460
11649
|
floriday_sales_order_id: string | null;
|
|
11461
11650
|
id: string;
|
|
11651
|
+
invoice_due_at: string | null;
|
|
11462
11652
|
is_reservation: boolean;
|
|
11463
11653
|
notes: string | null;
|
|
11464
11654
|
order_date: string;
|
|
@@ -11480,6 +11670,7 @@ export type Database = {
|
|
|
11480
11670
|
delivery_date?: string | null;
|
|
11481
11671
|
floriday_sales_order_id?: string | null;
|
|
11482
11672
|
id?: string;
|
|
11673
|
+
invoice_due_at?: string | null;
|
|
11483
11674
|
is_reservation?: boolean;
|
|
11484
11675
|
notes?: string | null;
|
|
11485
11676
|
order_date?: string;
|
|
@@ -11501,6 +11692,7 @@ export type Database = {
|
|
|
11501
11692
|
delivery_date?: string | null;
|
|
11502
11693
|
floriday_sales_order_id?: string | null;
|
|
11503
11694
|
id?: string;
|
|
11695
|
+
invoice_due_at?: string | null;
|
|
11504
11696
|
is_reservation?: boolean;
|
|
11505
11697
|
notes?: string | null;
|
|
11506
11698
|
order_date?: string;
|
|
@@ -12853,6 +13045,9 @@ export type Database = {
|
|
|
12853
13045
|
created_at: string;
|
|
12854
13046
|
id: string;
|
|
12855
13047
|
laatst_gezien: string;
|
|
13048
|
+
laatste_fout: string | null;
|
|
13049
|
+
laatste_request_id: number | null;
|
|
13050
|
+
mislukte_posts: number;
|
|
12856
13051
|
tick_sleutel: string;
|
|
12857
13052
|
updated_at: string;
|
|
12858
13053
|
};
|
|
@@ -12862,6 +13057,9 @@ export type Database = {
|
|
|
12862
13057
|
created_at?: string;
|
|
12863
13058
|
id?: string;
|
|
12864
13059
|
laatst_gezien?: string;
|
|
13060
|
+
laatste_fout?: string | null;
|
|
13061
|
+
laatste_request_id?: number | null;
|
|
13062
|
+
mislukte_posts?: number;
|
|
12865
13063
|
tick_sleutel?: string;
|
|
12866
13064
|
updated_at?: string;
|
|
12867
13065
|
};
|
|
@@ -12871,6 +13069,9 @@ export type Database = {
|
|
|
12871
13069
|
created_at?: string;
|
|
12872
13070
|
id?: string;
|
|
12873
13071
|
laatst_gezien?: string;
|
|
13072
|
+
laatste_fout?: string | null;
|
|
13073
|
+
laatste_request_id?: number | null;
|
|
13074
|
+
mislukte_posts?: number;
|
|
12874
13075
|
tick_sleutel?: string;
|
|
12875
13076
|
updated_at?: string;
|
|
12876
13077
|
};
|
|
@@ -12878,18 +13079,24 @@ export type Database = {
|
|
|
12878
13079
|
};
|
|
12879
13080
|
print_queue_settings: {
|
|
12880
13081
|
Row: {
|
|
13082
|
+
bewaar_bestanden_dagen: number;
|
|
13083
|
+
bewaar_opdrachten_dagen: number;
|
|
12881
13084
|
created_at: string;
|
|
12882
13085
|
dubbel_venster_minuten: number;
|
|
12883
13086
|
id: string;
|
|
12884
13087
|
updated_at: string;
|
|
12885
13088
|
};
|
|
12886
13089
|
Insert: {
|
|
13090
|
+
bewaar_bestanden_dagen?: number;
|
|
13091
|
+
bewaar_opdrachten_dagen?: number;
|
|
12887
13092
|
created_at?: string;
|
|
12888
13093
|
dubbel_venster_minuten?: number;
|
|
12889
13094
|
id?: string;
|
|
12890
13095
|
updated_at?: string;
|
|
12891
13096
|
};
|
|
12892
13097
|
Update: {
|
|
13098
|
+
bewaar_bestanden_dagen?: number;
|
|
13099
|
+
bewaar_opdrachten_dagen?: number;
|
|
12893
13100
|
created_at?: string;
|
|
12894
13101
|
dubbel_venster_minuten?: number;
|
|
12895
13102
|
id?: string;
|
|
@@ -14429,6 +14636,100 @@ export type Database = {
|
|
|
14429
14636
|
}
|
|
14430
14637
|
];
|
|
14431
14638
|
};
|
|
14639
|
+
role_assignments: {
|
|
14640
|
+
Row: {
|
|
14641
|
+
created_at: string;
|
|
14642
|
+
id: string;
|
|
14643
|
+
role_id: string;
|
|
14644
|
+
user_id: string;
|
|
14645
|
+
};
|
|
14646
|
+
Insert: {
|
|
14647
|
+
created_at?: string;
|
|
14648
|
+
id?: string;
|
|
14649
|
+
role_id: string;
|
|
14650
|
+
user_id: string;
|
|
14651
|
+
};
|
|
14652
|
+
Update: {
|
|
14653
|
+
created_at?: string;
|
|
14654
|
+
id?: string;
|
|
14655
|
+
role_id?: string;
|
|
14656
|
+
user_id?: string;
|
|
14657
|
+
};
|
|
14658
|
+
Relationships: [
|
|
14659
|
+
{
|
|
14660
|
+
foreignKeyName: "role_assignments_role_id_fkey";
|
|
14661
|
+
columns: ["role_id"];
|
|
14662
|
+
isOneToOne: false;
|
|
14663
|
+
referencedRelation: "roles";
|
|
14664
|
+
referencedColumns: ["id"];
|
|
14665
|
+
}
|
|
14666
|
+
];
|
|
14667
|
+
};
|
|
14668
|
+
role_permissions: {
|
|
14669
|
+
Row: {
|
|
14670
|
+
can_edit: boolean;
|
|
14671
|
+
can_view: boolean;
|
|
14672
|
+
feature_id: string;
|
|
14673
|
+
id: string;
|
|
14674
|
+
module_id: string;
|
|
14675
|
+
role_id: string;
|
|
14676
|
+
updated_at: string;
|
|
14677
|
+
};
|
|
14678
|
+
Insert: {
|
|
14679
|
+
can_edit?: boolean;
|
|
14680
|
+
can_view?: boolean;
|
|
14681
|
+
feature_id?: string;
|
|
14682
|
+
id?: string;
|
|
14683
|
+
module_id: string;
|
|
14684
|
+
role_id: string;
|
|
14685
|
+
updated_at?: string;
|
|
14686
|
+
};
|
|
14687
|
+
Update: {
|
|
14688
|
+
can_edit?: boolean;
|
|
14689
|
+
can_view?: boolean;
|
|
14690
|
+
feature_id?: string;
|
|
14691
|
+
id?: string;
|
|
14692
|
+
module_id?: string;
|
|
14693
|
+
role_id?: string;
|
|
14694
|
+
updated_at?: string;
|
|
14695
|
+
};
|
|
14696
|
+
Relationships: [
|
|
14697
|
+
{
|
|
14698
|
+
foreignKeyName: "role_permissions_role_id_fkey";
|
|
14699
|
+
columns: ["role_id"];
|
|
14700
|
+
isOneToOne: false;
|
|
14701
|
+
referencedRelation: "roles";
|
|
14702
|
+
referencedColumns: ["id"];
|
|
14703
|
+
}
|
|
14704
|
+
];
|
|
14705
|
+
};
|
|
14706
|
+
roles: {
|
|
14707
|
+
Row: {
|
|
14708
|
+
created_at: string;
|
|
14709
|
+
id: string;
|
|
14710
|
+
is_protected: boolean;
|
|
14711
|
+
key: string;
|
|
14712
|
+
name: string;
|
|
14713
|
+
updated_at: string;
|
|
14714
|
+
};
|
|
14715
|
+
Insert: {
|
|
14716
|
+
created_at?: string;
|
|
14717
|
+
id?: string;
|
|
14718
|
+
is_protected?: boolean;
|
|
14719
|
+
key: string;
|
|
14720
|
+
name: string;
|
|
14721
|
+
updated_at?: string;
|
|
14722
|
+
};
|
|
14723
|
+
Update: {
|
|
14724
|
+
created_at?: string;
|
|
14725
|
+
id?: string;
|
|
14726
|
+
is_protected?: boolean;
|
|
14727
|
+
key?: string;
|
|
14728
|
+
name?: string;
|
|
14729
|
+
updated_at?: string;
|
|
14730
|
+
};
|
|
14731
|
+
Relationships: [];
|
|
14732
|
+
};
|
|
14432
14733
|
rooms: {
|
|
14433
14734
|
Row: {
|
|
14434
14735
|
capacity: number;
|
|
@@ -15820,6 +16121,8 @@ export type Database = {
|
|
|
15820
16121
|
};
|
|
15821
16122
|
twinfield_invoice_settings: {
|
|
15822
16123
|
Row: {
|
|
16124
|
+
auto_invoice_enabled: boolean;
|
|
16125
|
+
auto_invoice_trigger_statuses: string[];
|
|
15823
16126
|
created_at: string;
|
|
15824
16127
|
debtor_gl_account: string;
|
|
15825
16128
|
default_credit_invoice_type: string | null;
|
|
@@ -15840,6 +16143,8 @@ export type Database = {
|
|
|
15840
16143
|
vat_code_export: string | null;
|
|
15841
16144
|
};
|
|
15842
16145
|
Insert: {
|
|
16146
|
+
auto_invoice_enabled?: boolean;
|
|
16147
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15843
16148
|
created_at?: string;
|
|
15844
16149
|
debtor_gl_account?: string;
|
|
15845
16150
|
default_credit_invoice_type?: string | null;
|
|
@@ -15860,6 +16165,8 @@ export type Database = {
|
|
|
15860
16165
|
vat_code_export?: string | null;
|
|
15861
16166
|
};
|
|
15862
16167
|
Update: {
|
|
16168
|
+
auto_invoice_enabled?: boolean;
|
|
16169
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15863
16170
|
created_at?: string;
|
|
15864
16171
|
debtor_gl_account?: string;
|
|
15865
16172
|
default_credit_invoice_type?: string | null;
|
|
@@ -16951,6 +17258,7 @@ export type Database = {
|
|
|
16951
17258
|
user_module_permissions: {
|
|
16952
17259
|
Row: {
|
|
16953
17260
|
created_at: string;
|
|
17261
|
+
feature_id: string;
|
|
16954
17262
|
id: string;
|
|
16955
17263
|
module_id: string;
|
|
16956
17264
|
permission: string;
|
|
@@ -16959,6 +17267,7 @@ export type Database = {
|
|
|
16959
17267
|
};
|
|
16960
17268
|
Insert: {
|
|
16961
17269
|
created_at?: string;
|
|
17270
|
+
feature_id?: string;
|
|
16962
17271
|
id?: string;
|
|
16963
17272
|
module_id: string;
|
|
16964
17273
|
permission: string;
|
|
@@ -16967,6 +17276,7 @@ export type Database = {
|
|
|
16967
17276
|
};
|
|
16968
17277
|
Update: {
|
|
16969
17278
|
created_at?: string;
|
|
17279
|
+
feature_id?: string;
|
|
16970
17280
|
id?: string;
|
|
16971
17281
|
module_id?: string;
|
|
16972
17282
|
permission?: string;
|
|
@@ -18850,6 +19160,10 @@ export type Database = {
|
|
|
18850
19160
|
processed_items: number;
|
|
18851
19161
|
}[];
|
|
18852
19162
|
};
|
|
19163
|
+
backfill_order_auto_invoice_queue: {
|
|
19164
|
+
Args: never;
|
|
19165
|
+
Returns: number;
|
|
19166
|
+
};
|
|
18853
19167
|
calculate_layer_stock: {
|
|
18854
19168
|
Args: {
|
|
18855
19169
|
p_product_id: string;
|
|
@@ -19080,6 +19394,10 @@ export type Database = {
|
|
|
19080
19394
|
Args: never;
|
|
19081
19395
|
Returns: undefined;
|
|
19082
19396
|
};
|
|
19397
|
+
cleanup_voorraad_module_history: {
|
|
19398
|
+
Args: never;
|
|
19399
|
+
Returns: undefined;
|
|
19400
|
+
};
|
|
19083
19401
|
complete_floriday_stock_queue: {
|
|
19084
19402
|
Args: {
|
|
19085
19403
|
p_attempt_id?: string;
|
|
@@ -19207,6 +19525,13 @@ export type Database = {
|
|
|
19207
19525
|
_user_id: string;
|
|
19208
19526
|
};
|
|
19209
19527
|
Returns: string;
|
|
19528
|
+
} | {
|
|
19529
|
+
Args: {
|
|
19530
|
+
_feature_id?: string;
|
|
19531
|
+
_module_id: string;
|
|
19532
|
+
_user_id: string;
|
|
19533
|
+
};
|
|
19534
|
+
Returns: string;
|
|
19210
19535
|
};
|
|
19211
19536
|
email_auth_decrypt: {
|
|
19212
19537
|
Args: {
|
|
@@ -20108,6 +20433,65 @@ export type Database = {
|
|
|
20108
20433
|
};
|
|
20109
20434
|
Returns: number;
|
|
20110
20435
|
};
|
|
20436
|
+
logistics_plan_claim: {
|
|
20437
|
+
Args: {
|
|
20438
|
+
p_limit?: number;
|
|
20439
|
+
};
|
|
20440
|
+
Returns: {
|
|
20441
|
+
attempts: number;
|
|
20442
|
+
id: string;
|
|
20443
|
+
order_id: string;
|
|
20444
|
+
}[];
|
|
20445
|
+
};
|
|
20446
|
+
logistics_plan_enqueue: {
|
|
20447
|
+
Args: {
|
|
20448
|
+
p_order_id: string;
|
|
20449
|
+
p_reason?: string;
|
|
20450
|
+
};
|
|
20451
|
+
Returns: undefined;
|
|
20452
|
+
};
|
|
20453
|
+
logistics_plan_ensure_event: {
|
|
20454
|
+
Args: {
|
|
20455
|
+
p_order_id: string;
|
|
20456
|
+
};
|
|
20457
|
+
Returns: boolean;
|
|
20458
|
+
};
|
|
20459
|
+
logistics_plan_finish: {
|
|
20460
|
+
Args: {
|
|
20461
|
+
p_error?: string;
|
|
20462
|
+
p_id: string;
|
|
20463
|
+
};
|
|
20464
|
+
Returns: undefined;
|
|
20465
|
+
};
|
|
20466
|
+
logistics_plan_impact_orders: {
|
|
20467
|
+
Args: {
|
|
20468
|
+
p_order_id: string;
|
|
20469
|
+
};
|
|
20470
|
+
Returns: {
|
|
20471
|
+
buffer_id: string;
|
|
20472
|
+
order_id: string;
|
|
20473
|
+
plan_date: string;
|
|
20474
|
+
}[];
|
|
20475
|
+
};
|
|
20476
|
+
logistics_plan_kick: {
|
|
20477
|
+
Args: never;
|
|
20478
|
+
Returns: undefined;
|
|
20479
|
+
};
|
|
20480
|
+
logistics_plan_prune: {
|
|
20481
|
+
Args: never;
|
|
20482
|
+
Returns: number;
|
|
20483
|
+
};
|
|
20484
|
+
logistics_plan_release_stale: {
|
|
20485
|
+
Args: never;
|
|
20486
|
+
Returns: number;
|
|
20487
|
+
};
|
|
20488
|
+
logistics_plan_setting: {
|
|
20489
|
+
Args: {
|
|
20490
|
+
p_default: number;
|
|
20491
|
+
p_key: string;
|
|
20492
|
+
};
|
|
20493
|
+
Returns: number;
|
|
20494
|
+
};
|
|
20111
20495
|
logistics_queue_capacity_email: {
|
|
20112
20496
|
Args: {
|
|
20113
20497
|
p_alert_id: string;
|
|
@@ -20349,6 +20733,7 @@ export type Database = {
|
|
|
20349
20733
|
my_module_permissions: {
|
|
20350
20734
|
Args: never;
|
|
20351
20735
|
Returns: {
|
|
20736
|
+
feature_id: string;
|
|
20352
20737
|
module_id: string;
|
|
20353
20738
|
permission: string;
|
|
20354
20739
|
}[];
|
|
@@ -20403,6 +20788,13 @@ export type Database = {
|
|
|
20403
20788
|
};
|
|
20404
20789
|
Returns: boolean;
|
|
20405
20790
|
};
|
|
20791
|
+
opruim_print_historie: {
|
|
20792
|
+
Args: never;
|
|
20793
|
+
Returns: {
|
|
20794
|
+
ontdaan: number;
|
|
20795
|
+
verwijderd: number;
|
|
20796
|
+
}[];
|
|
20797
|
+
};
|
|
20406
20798
|
order_number_prefix: {
|
|
20407
20799
|
Args: {
|
|
20408
20800
|
p_custom_fields?: Json;
|
|
@@ -20797,6 +21189,12 @@ export type Database = {
|
|
|
20797
21189
|
};
|
|
20798
21190
|
Returns: undefined;
|
|
20799
21191
|
};
|
|
21192
|
+
reset_stalled_floriday_stock_queue: {
|
|
21193
|
+
Args: {
|
|
21194
|
+
p_include_failed?: boolean;
|
|
21195
|
+
};
|
|
21196
|
+
Returns: number;
|
|
21197
|
+
};
|
|
20800
21198
|
resolve_group_allocation: {
|
|
20801
21199
|
Args: {
|
|
20802
21200
|
_needed: number;
|
|
@@ -20851,6 +21249,10 @@ export type Database = {
|
|
|
20851
21249
|
Args: never;
|
|
20852
21250
|
Returns: undefined;
|
|
20853
21251
|
};
|
|
21252
|
+
run_floriday_stock_queue_process: {
|
|
21253
|
+
Args: never;
|
|
21254
|
+
Returns: undefined;
|
|
21255
|
+
};
|
|
20854
21256
|
run_logistics_tasks_dispatch: {
|
|
20855
21257
|
Args: never;
|
|
20856
21258
|
Returns: undefined;
|
|
@@ -21246,6 +21648,15 @@ export type Database = {
|
|
|
21246
21648
|
};
|
|
21247
21649
|
Returns: undefined;
|
|
21248
21650
|
};
|
|
21651
|
+
trade_item_stock_duplicates: {
|
|
21652
|
+
Args: never;
|
|
21653
|
+
Returns: {
|
|
21654
|
+
keys: string[];
|
|
21655
|
+
product_id: string;
|
|
21656
|
+
product_name: string;
|
|
21657
|
+
row_count: number;
|
|
21658
|
+
}[];
|
|
21659
|
+
};
|
|
21249
21660
|
try_debtor_lock: {
|
|
21250
21661
|
Args: {
|
|
21251
21662
|
_group_key: string;
|