@flowselections/admin-installatietechniek 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/AdminForInstallatieTechniek.d.ts +4 -0
- package/dist-lib/components/AdminForInstallatieTechniek.d.ts.map +1 -1
- package/dist-lib/components/AdminForInstallatieTechniek.js +211 -106
- 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 -1
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +410 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +410 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +410 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +414 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/admin.functions.d.ts +90380 -956
- package/dist-lib/lib/admin.functions.d.ts.map +1 -1
- package/dist-lib/lib/admin.functions.js +340 -131
- 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 +25 -10
- package/package.json +87 -87
|
@@ -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;
|
|
@@ -10150,6 +10300,7 @@ export type Database = {
|
|
|
10150
10300
|
module_id: string;
|
|
10151
10301
|
name: string;
|
|
10152
10302
|
shell_id: string | null;
|
|
10303
|
+
sort_order: number | null;
|
|
10153
10304
|
};
|
|
10154
10305
|
Insert: {
|
|
10155
10306
|
created_at?: string;
|
|
@@ -10158,6 +10309,7 @@ export type Database = {
|
|
|
10158
10309
|
module_id: string;
|
|
10159
10310
|
name: string;
|
|
10160
10311
|
shell_id?: string | null;
|
|
10312
|
+
sort_order?: number | null;
|
|
10161
10313
|
};
|
|
10162
10314
|
Update: {
|
|
10163
10315
|
created_at?: string;
|
|
@@ -10166,6 +10318,7 @@ export type Database = {
|
|
|
10166
10318
|
module_id?: string;
|
|
10167
10319
|
name?: string;
|
|
10168
10320
|
shell_id?: string | null;
|
|
10321
|
+
sort_order?: number | null;
|
|
10169
10322
|
};
|
|
10170
10323
|
Relationships: [];
|
|
10171
10324
|
};
|
|
@@ -11265,6 +11418,45 @@ export type Database = {
|
|
|
11265
11418
|
};
|
|
11266
11419
|
Relationships: [];
|
|
11267
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
|
+
};
|
|
11268
11460
|
order_items: {
|
|
11269
11461
|
Row: {
|
|
11270
11462
|
crates_per_layer: number | null;
|
|
@@ -11456,6 +11648,7 @@ export type Database = {
|
|
|
11456
11648
|
delivery_date: string | null;
|
|
11457
11649
|
floriday_sales_order_id: string | null;
|
|
11458
11650
|
id: string;
|
|
11651
|
+
invoice_due_at: string | null;
|
|
11459
11652
|
is_reservation: boolean;
|
|
11460
11653
|
notes: string | null;
|
|
11461
11654
|
order_date: string;
|
|
@@ -11477,6 +11670,7 @@ export type Database = {
|
|
|
11477
11670
|
delivery_date?: string | null;
|
|
11478
11671
|
floriday_sales_order_id?: string | null;
|
|
11479
11672
|
id?: string;
|
|
11673
|
+
invoice_due_at?: string | null;
|
|
11480
11674
|
is_reservation?: boolean;
|
|
11481
11675
|
notes?: string | null;
|
|
11482
11676
|
order_date?: string;
|
|
@@ -11498,6 +11692,7 @@ export type Database = {
|
|
|
11498
11692
|
delivery_date?: string | null;
|
|
11499
11693
|
floriday_sales_order_id?: string | null;
|
|
11500
11694
|
id?: string;
|
|
11695
|
+
invoice_due_at?: string | null;
|
|
11501
11696
|
is_reservation?: boolean;
|
|
11502
11697
|
notes?: string | null;
|
|
11503
11698
|
order_date?: string;
|
|
@@ -12850,6 +13045,9 @@ export type Database = {
|
|
|
12850
13045
|
created_at: string;
|
|
12851
13046
|
id: string;
|
|
12852
13047
|
laatst_gezien: string;
|
|
13048
|
+
laatste_fout: string | null;
|
|
13049
|
+
laatste_request_id: number | null;
|
|
13050
|
+
mislukte_posts: number;
|
|
12853
13051
|
tick_sleutel: string;
|
|
12854
13052
|
updated_at: string;
|
|
12855
13053
|
};
|
|
@@ -12859,6 +13057,9 @@ export type Database = {
|
|
|
12859
13057
|
created_at?: string;
|
|
12860
13058
|
id?: string;
|
|
12861
13059
|
laatst_gezien?: string;
|
|
13060
|
+
laatste_fout?: string | null;
|
|
13061
|
+
laatste_request_id?: number | null;
|
|
13062
|
+
mislukte_posts?: number;
|
|
12862
13063
|
tick_sleutel?: string;
|
|
12863
13064
|
updated_at?: string;
|
|
12864
13065
|
};
|
|
@@ -12868,6 +13069,9 @@ export type Database = {
|
|
|
12868
13069
|
created_at?: string;
|
|
12869
13070
|
id?: string;
|
|
12870
13071
|
laatst_gezien?: string;
|
|
13072
|
+
laatste_fout?: string | null;
|
|
13073
|
+
laatste_request_id?: number | null;
|
|
13074
|
+
mislukte_posts?: number;
|
|
12871
13075
|
tick_sleutel?: string;
|
|
12872
13076
|
updated_at?: string;
|
|
12873
13077
|
};
|
|
@@ -12875,18 +13079,24 @@ export type Database = {
|
|
|
12875
13079
|
};
|
|
12876
13080
|
print_queue_settings: {
|
|
12877
13081
|
Row: {
|
|
13082
|
+
bewaar_bestanden_dagen: number;
|
|
13083
|
+
bewaar_opdrachten_dagen: number;
|
|
12878
13084
|
created_at: string;
|
|
12879
13085
|
dubbel_venster_minuten: number;
|
|
12880
13086
|
id: string;
|
|
12881
13087
|
updated_at: string;
|
|
12882
13088
|
};
|
|
12883
13089
|
Insert: {
|
|
13090
|
+
bewaar_bestanden_dagen?: number;
|
|
13091
|
+
bewaar_opdrachten_dagen?: number;
|
|
12884
13092
|
created_at?: string;
|
|
12885
13093
|
dubbel_venster_minuten?: number;
|
|
12886
13094
|
id?: string;
|
|
12887
13095
|
updated_at?: string;
|
|
12888
13096
|
};
|
|
12889
13097
|
Update: {
|
|
13098
|
+
bewaar_bestanden_dagen?: number;
|
|
13099
|
+
bewaar_opdrachten_dagen?: number;
|
|
12890
13100
|
created_at?: string;
|
|
12891
13101
|
dubbel_venster_minuten?: number;
|
|
12892
13102
|
id?: string;
|
|
@@ -14426,6 +14636,100 @@ export type Database = {
|
|
|
14426
14636
|
}
|
|
14427
14637
|
];
|
|
14428
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
|
+
};
|
|
14429
14733
|
rooms: {
|
|
14430
14734
|
Row: {
|
|
14431
14735
|
capacity: number;
|
|
@@ -15817,6 +16121,8 @@ export type Database = {
|
|
|
15817
16121
|
};
|
|
15818
16122
|
twinfield_invoice_settings: {
|
|
15819
16123
|
Row: {
|
|
16124
|
+
auto_invoice_enabled: boolean;
|
|
16125
|
+
auto_invoice_trigger_statuses: string[];
|
|
15820
16126
|
created_at: string;
|
|
15821
16127
|
debtor_gl_account: string;
|
|
15822
16128
|
default_credit_invoice_type: string | null;
|
|
@@ -15837,6 +16143,8 @@ export type Database = {
|
|
|
15837
16143
|
vat_code_export: string | null;
|
|
15838
16144
|
};
|
|
15839
16145
|
Insert: {
|
|
16146
|
+
auto_invoice_enabled?: boolean;
|
|
16147
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15840
16148
|
created_at?: string;
|
|
15841
16149
|
debtor_gl_account?: string;
|
|
15842
16150
|
default_credit_invoice_type?: string | null;
|
|
@@ -15857,6 +16165,8 @@ export type Database = {
|
|
|
15857
16165
|
vat_code_export?: string | null;
|
|
15858
16166
|
};
|
|
15859
16167
|
Update: {
|
|
16168
|
+
auto_invoice_enabled?: boolean;
|
|
16169
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15860
16170
|
created_at?: string;
|
|
15861
16171
|
debtor_gl_account?: string;
|
|
15862
16172
|
default_credit_invoice_type?: string | null;
|
|
@@ -16948,6 +17258,7 @@ export type Database = {
|
|
|
16948
17258
|
user_module_permissions: {
|
|
16949
17259
|
Row: {
|
|
16950
17260
|
created_at: string;
|
|
17261
|
+
feature_id: string;
|
|
16951
17262
|
id: string;
|
|
16952
17263
|
module_id: string;
|
|
16953
17264
|
permission: string;
|
|
@@ -16956,6 +17267,7 @@ export type Database = {
|
|
|
16956
17267
|
};
|
|
16957
17268
|
Insert: {
|
|
16958
17269
|
created_at?: string;
|
|
17270
|
+
feature_id?: string;
|
|
16959
17271
|
id?: string;
|
|
16960
17272
|
module_id: string;
|
|
16961
17273
|
permission: string;
|
|
@@ -16964,6 +17276,7 @@ export type Database = {
|
|
|
16964
17276
|
};
|
|
16965
17277
|
Update: {
|
|
16966
17278
|
created_at?: string;
|
|
17279
|
+
feature_id?: string;
|
|
16967
17280
|
id?: string;
|
|
16968
17281
|
module_id?: string;
|
|
16969
17282
|
permission?: string;
|
|
@@ -18847,6 +19160,10 @@ export type Database = {
|
|
|
18847
19160
|
processed_items: number;
|
|
18848
19161
|
}[];
|
|
18849
19162
|
};
|
|
19163
|
+
backfill_order_auto_invoice_queue: {
|
|
19164
|
+
Args: never;
|
|
19165
|
+
Returns: number;
|
|
19166
|
+
};
|
|
18850
19167
|
calculate_layer_stock: {
|
|
18851
19168
|
Args: {
|
|
18852
19169
|
p_product_id: string;
|
|
@@ -19077,6 +19394,10 @@ export type Database = {
|
|
|
19077
19394
|
Args: never;
|
|
19078
19395
|
Returns: undefined;
|
|
19079
19396
|
};
|
|
19397
|
+
cleanup_voorraad_module_history: {
|
|
19398
|
+
Args: never;
|
|
19399
|
+
Returns: undefined;
|
|
19400
|
+
};
|
|
19080
19401
|
complete_floriday_stock_queue: {
|
|
19081
19402
|
Args: {
|
|
19082
19403
|
p_attempt_id?: string;
|
|
@@ -19204,6 +19525,13 @@ export type Database = {
|
|
|
19204
19525
|
_user_id: string;
|
|
19205
19526
|
};
|
|
19206
19527
|
Returns: string;
|
|
19528
|
+
} | {
|
|
19529
|
+
Args: {
|
|
19530
|
+
_feature_id?: string;
|
|
19531
|
+
_module_id: string;
|
|
19532
|
+
_user_id: string;
|
|
19533
|
+
};
|
|
19534
|
+
Returns: string;
|
|
19207
19535
|
};
|
|
19208
19536
|
email_auth_decrypt: {
|
|
19209
19537
|
Args: {
|
|
@@ -20105,6 +20433,65 @@ export type Database = {
|
|
|
20105
20433
|
};
|
|
20106
20434
|
Returns: number;
|
|
20107
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
|
+
};
|
|
20108
20495
|
logistics_queue_capacity_email: {
|
|
20109
20496
|
Args: {
|
|
20110
20497
|
p_alert_id: string;
|
|
@@ -20346,6 +20733,7 @@ export type Database = {
|
|
|
20346
20733
|
my_module_permissions: {
|
|
20347
20734
|
Args: never;
|
|
20348
20735
|
Returns: {
|
|
20736
|
+
feature_id: string;
|
|
20349
20737
|
module_id: string;
|
|
20350
20738
|
permission: string;
|
|
20351
20739
|
}[];
|
|
@@ -20400,6 +20788,13 @@ export type Database = {
|
|
|
20400
20788
|
};
|
|
20401
20789
|
Returns: boolean;
|
|
20402
20790
|
};
|
|
20791
|
+
opruim_print_historie: {
|
|
20792
|
+
Args: never;
|
|
20793
|
+
Returns: {
|
|
20794
|
+
ontdaan: number;
|
|
20795
|
+
verwijderd: number;
|
|
20796
|
+
}[];
|
|
20797
|
+
};
|
|
20403
20798
|
order_number_prefix: {
|
|
20404
20799
|
Args: {
|
|
20405
20800
|
p_custom_fields?: Json;
|
|
@@ -20794,6 +21189,12 @@ export type Database = {
|
|
|
20794
21189
|
};
|
|
20795
21190
|
Returns: undefined;
|
|
20796
21191
|
};
|
|
21192
|
+
reset_stalled_floriday_stock_queue: {
|
|
21193
|
+
Args: {
|
|
21194
|
+
p_include_failed?: boolean;
|
|
21195
|
+
};
|
|
21196
|
+
Returns: number;
|
|
21197
|
+
};
|
|
20797
21198
|
resolve_group_allocation: {
|
|
20798
21199
|
Args: {
|
|
20799
21200
|
_needed: number;
|
|
@@ -20848,6 +21249,10 @@ export type Database = {
|
|
|
20848
21249
|
Args: never;
|
|
20849
21250
|
Returns: undefined;
|
|
20850
21251
|
};
|
|
21252
|
+
run_floriday_stock_queue_process: {
|
|
21253
|
+
Args: never;
|
|
21254
|
+
Returns: undefined;
|
|
21255
|
+
};
|
|
20851
21256
|
run_logistics_tasks_dispatch: {
|
|
20852
21257
|
Args: never;
|
|
20853
21258
|
Returns: undefined;
|
|
@@ -21243,6 +21648,15 @@ export type Database = {
|
|
|
21243
21648
|
};
|
|
21244
21649
|
Returns: undefined;
|
|
21245
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
|
+
};
|
|
21246
21660
|
try_debtor_lock: {
|
|
21247
21661
|
Args: {
|
|
21248
21662
|
_group_key: string;
|