@flowselections/layout-maker 1.6.6 → 1.7.1
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 +30 -0
- package/dist-lib/index.d.ts +1 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +2 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +347 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +347 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +347 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/aiLayout.functions.d.ts +347 -0
- package/dist-lib/lib/aiLayout.functions.d.ts.map +1 -1
- package/dist-lib/lib/orderData.server.d.ts.map +1 -1
- package/dist-lib/lib/orderData.server.js +28 -14
- package/dist-lib/lib/printApi.d.ts.map +1 -1
- package/dist-lib/lib/printApi.js +13 -0
- package/dist-lib/lib/printService.functions.d.ts +1735 -0
- package/dist-lib/lib/printService.functions.d.ts.map +1 -1
- package/dist-lib/lib/queueTick.d.ts +6 -0
- package/dist-lib/lib/queueTick.d.ts.map +1 -0
- package/dist-lib/lib/queueTick.js +44 -0
- package/package.json +10 -1
- package/dist-lib/components/settings/MijnModuleSettingsCard.d.ts +0 -2
- package/dist-lib/components/settings/MijnModuleSettingsCard.d.ts.map +0 -1
- package/dist-lib/components/settings/MijnModuleSettingsCard.js +0 -42
- package/dist-lib/hooks/useMijnModuleData.d.ts +0 -13
- package/dist-lib/hooks/useMijnModuleData.d.ts.map +0 -1
- package/dist-lib/hooks/useMijnModuleData.js +0 -49
|
@@ -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
|
};
|
|
@@ -10142,6 +10262,36 @@ export type Database = {
|
|
|
10142
10262
|
};
|
|
10143
10263
|
Relationships: [];
|
|
10144
10264
|
};
|
|
10265
|
+
module_registry: {
|
|
10266
|
+
Row: {
|
|
10267
|
+
created_at: string;
|
|
10268
|
+
is_active: boolean;
|
|
10269
|
+
last_seen_at: string;
|
|
10270
|
+
module_id: string;
|
|
10271
|
+
name: string;
|
|
10272
|
+
shell_id: string | null;
|
|
10273
|
+
sort_order: number | null;
|
|
10274
|
+
};
|
|
10275
|
+
Insert: {
|
|
10276
|
+
created_at?: string;
|
|
10277
|
+
is_active?: boolean;
|
|
10278
|
+
last_seen_at?: string;
|
|
10279
|
+
module_id: string;
|
|
10280
|
+
name: string;
|
|
10281
|
+
shell_id?: string | null;
|
|
10282
|
+
sort_order?: number | null;
|
|
10283
|
+
};
|
|
10284
|
+
Update: {
|
|
10285
|
+
created_at?: string;
|
|
10286
|
+
is_active?: boolean;
|
|
10287
|
+
last_seen_at?: string;
|
|
10288
|
+
module_id?: string;
|
|
10289
|
+
name?: string;
|
|
10290
|
+
shell_id?: string | null;
|
|
10291
|
+
sort_order?: number | null;
|
|
10292
|
+
};
|
|
10293
|
+
Relationships: [];
|
|
10294
|
+
};
|
|
10145
10295
|
module_runtime_config: {
|
|
10146
10296
|
Row: {
|
|
10147
10297
|
key: string;
|
|
@@ -11238,6 +11388,45 @@ export type Database = {
|
|
|
11238
11388
|
};
|
|
11239
11389
|
Relationships: [];
|
|
11240
11390
|
};
|
|
11391
|
+
order_invoice_links: {
|
|
11392
|
+
Row: {
|
|
11393
|
+
attempts: number;
|
|
11394
|
+
created_at: string;
|
|
11395
|
+
error_message: string | null;
|
|
11396
|
+
id: string;
|
|
11397
|
+
invoice_number: string | null;
|
|
11398
|
+
next_attempt_at: string;
|
|
11399
|
+
order_id: string;
|
|
11400
|
+
processed_at: string | null;
|
|
11401
|
+
status: string;
|
|
11402
|
+
updated_at: string;
|
|
11403
|
+
};
|
|
11404
|
+
Insert: {
|
|
11405
|
+
attempts?: number;
|
|
11406
|
+
created_at?: string;
|
|
11407
|
+
error_message?: string | null;
|
|
11408
|
+
id?: string;
|
|
11409
|
+
invoice_number?: string | null;
|
|
11410
|
+
next_attempt_at?: string;
|
|
11411
|
+
order_id: string;
|
|
11412
|
+
processed_at?: string | null;
|
|
11413
|
+
status?: string;
|
|
11414
|
+
updated_at?: string;
|
|
11415
|
+
};
|
|
11416
|
+
Update: {
|
|
11417
|
+
attempts?: number;
|
|
11418
|
+
created_at?: string;
|
|
11419
|
+
error_message?: string | null;
|
|
11420
|
+
id?: string;
|
|
11421
|
+
invoice_number?: string | null;
|
|
11422
|
+
next_attempt_at?: string;
|
|
11423
|
+
order_id?: string;
|
|
11424
|
+
processed_at?: string | null;
|
|
11425
|
+
status?: string;
|
|
11426
|
+
updated_at?: string;
|
|
11427
|
+
};
|
|
11428
|
+
Relationships: [];
|
|
11429
|
+
};
|
|
11241
11430
|
order_items: {
|
|
11242
11431
|
Row: {
|
|
11243
11432
|
crates_per_layer: number | null;
|
|
@@ -11429,6 +11618,7 @@ export type Database = {
|
|
|
11429
11618
|
delivery_date: string | null;
|
|
11430
11619
|
floriday_sales_order_id: string | null;
|
|
11431
11620
|
id: string;
|
|
11621
|
+
invoice_due_at: string | null;
|
|
11432
11622
|
is_reservation: boolean;
|
|
11433
11623
|
notes: string | null;
|
|
11434
11624
|
order_date: string;
|
|
@@ -11450,6 +11640,7 @@ export type Database = {
|
|
|
11450
11640
|
delivery_date?: string | null;
|
|
11451
11641
|
floriday_sales_order_id?: string | null;
|
|
11452
11642
|
id?: string;
|
|
11643
|
+
invoice_due_at?: string | null;
|
|
11453
11644
|
is_reservation?: boolean;
|
|
11454
11645
|
notes?: string | null;
|
|
11455
11646
|
order_date?: string;
|
|
@@ -11471,6 +11662,7 @@ export type Database = {
|
|
|
11471
11662
|
delivery_date?: string | null;
|
|
11472
11663
|
floriday_sales_order_id?: string | null;
|
|
11473
11664
|
id?: string;
|
|
11665
|
+
invoice_due_at?: string | null;
|
|
11474
11666
|
is_reservation?: boolean;
|
|
11475
11667
|
notes?: string | null;
|
|
11476
11668
|
order_date?: string;
|
|
@@ -12823,6 +13015,9 @@ export type Database = {
|
|
|
12823
13015
|
created_at: string;
|
|
12824
13016
|
id: string;
|
|
12825
13017
|
laatst_gezien: string;
|
|
13018
|
+
laatste_fout: string | null;
|
|
13019
|
+
laatste_request_id: number | null;
|
|
13020
|
+
mislukte_posts: number;
|
|
12826
13021
|
tick_sleutel: string;
|
|
12827
13022
|
updated_at: string;
|
|
12828
13023
|
};
|
|
@@ -12832,6 +13027,9 @@ export type Database = {
|
|
|
12832
13027
|
created_at?: string;
|
|
12833
13028
|
id?: string;
|
|
12834
13029
|
laatst_gezien?: string;
|
|
13030
|
+
laatste_fout?: string | null;
|
|
13031
|
+
laatste_request_id?: number | null;
|
|
13032
|
+
mislukte_posts?: number;
|
|
12835
13033
|
tick_sleutel?: string;
|
|
12836
13034
|
updated_at?: string;
|
|
12837
13035
|
};
|
|
@@ -12841,6 +13039,9 @@ export type Database = {
|
|
|
12841
13039
|
created_at?: string;
|
|
12842
13040
|
id?: string;
|
|
12843
13041
|
laatst_gezien?: string;
|
|
13042
|
+
laatste_fout?: string | null;
|
|
13043
|
+
laatste_request_id?: number | null;
|
|
13044
|
+
mislukte_posts?: number;
|
|
12844
13045
|
tick_sleutel?: string;
|
|
12845
13046
|
updated_at?: string;
|
|
12846
13047
|
};
|
|
@@ -12848,18 +13049,24 @@ export type Database = {
|
|
|
12848
13049
|
};
|
|
12849
13050
|
print_queue_settings: {
|
|
12850
13051
|
Row: {
|
|
13052
|
+
bewaar_bestanden_dagen: number;
|
|
13053
|
+
bewaar_opdrachten_dagen: number;
|
|
12851
13054
|
created_at: string;
|
|
12852
13055
|
dubbel_venster_minuten: number;
|
|
12853
13056
|
id: string;
|
|
12854
13057
|
updated_at: string;
|
|
12855
13058
|
};
|
|
12856
13059
|
Insert: {
|
|
13060
|
+
bewaar_bestanden_dagen?: number;
|
|
13061
|
+
bewaar_opdrachten_dagen?: number;
|
|
12857
13062
|
created_at?: string;
|
|
12858
13063
|
dubbel_venster_minuten?: number;
|
|
12859
13064
|
id?: string;
|
|
12860
13065
|
updated_at?: string;
|
|
12861
13066
|
};
|
|
12862
13067
|
Update: {
|
|
13068
|
+
bewaar_bestanden_dagen?: number;
|
|
13069
|
+
bewaar_opdrachten_dagen?: number;
|
|
12863
13070
|
created_at?: string;
|
|
12864
13071
|
dubbel_venster_minuten?: number;
|
|
12865
13072
|
id?: string;
|
|
@@ -15790,6 +15997,8 @@ export type Database = {
|
|
|
15790
15997
|
};
|
|
15791
15998
|
twinfield_invoice_settings: {
|
|
15792
15999
|
Row: {
|
|
16000
|
+
auto_invoice_enabled: boolean;
|
|
16001
|
+
auto_invoice_trigger_statuses: string[];
|
|
15793
16002
|
created_at: string;
|
|
15794
16003
|
debtor_gl_account: string;
|
|
15795
16004
|
default_credit_invoice_type: string | null;
|
|
@@ -15810,6 +16019,8 @@ export type Database = {
|
|
|
15810
16019
|
vat_code_export: string | null;
|
|
15811
16020
|
};
|
|
15812
16021
|
Insert: {
|
|
16022
|
+
auto_invoice_enabled?: boolean;
|
|
16023
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15813
16024
|
created_at?: string;
|
|
15814
16025
|
debtor_gl_account?: string;
|
|
15815
16026
|
default_credit_invoice_type?: string | null;
|
|
@@ -15830,6 +16041,8 @@ export type Database = {
|
|
|
15830
16041
|
vat_code_export?: string | null;
|
|
15831
16042
|
};
|
|
15832
16043
|
Update: {
|
|
16044
|
+
auto_invoice_enabled?: boolean;
|
|
16045
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15833
16046
|
created_at?: string;
|
|
15834
16047
|
debtor_gl_account?: string;
|
|
15835
16048
|
default_credit_invoice_type?: string | null;
|
|
@@ -16918,6 +17131,33 @@ export type Database = {
|
|
|
16918
17131
|
}
|
|
16919
17132
|
];
|
|
16920
17133
|
};
|
|
17134
|
+
user_module_permissions: {
|
|
17135
|
+
Row: {
|
|
17136
|
+
created_at: string;
|
|
17137
|
+
id: string;
|
|
17138
|
+
module_id: string;
|
|
17139
|
+
permission: string;
|
|
17140
|
+
updated_at: string;
|
|
17141
|
+
user_id: string;
|
|
17142
|
+
};
|
|
17143
|
+
Insert: {
|
|
17144
|
+
created_at?: string;
|
|
17145
|
+
id?: string;
|
|
17146
|
+
module_id: string;
|
|
17147
|
+
permission: string;
|
|
17148
|
+
updated_at?: string;
|
|
17149
|
+
user_id: string;
|
|
17150
|
+
};
|
|
17151
|
+
Update: {
|
|
17152
|
+
created_at?: string;
|
|
17153
|
+
id?: string;
|
|
17154
|
+
module_id?: string;
|
|
17155
|
+
permission?: string;
|
|
17156
|
+
updated_at?: string;
|
|
17157
|
+
user_id?: string;
|
|
17158
|
+
};
|
|
17159
|
+
Relationships: [];
|
|
17160
|
+
};
|
|
16921
17161
|
user_roles: {
|
|
16922
17162
|
Row: {
|
|
16923
17163
|
created_at: string;
|
|
@@ -18793,6 +19033,10 @@ export type Database = {
|
|
|
18793
19033
|
processed_items: number;
|
|
18794
19034
|
}[];
|
|
18795
19035
|
};
|
|
19036
|
+
backfill_order_auto_invoice_queue: {
|
|
19037
|
+
Args: never;
|
|
19038
|
+
Returns: number;
|
|
19039
|
+
};
|
|
18796
19040
|
calculate_layer_stock: {
|
|
18797
19041
|
Args: {
|
|
18798
19042
|
p_product_id: string;
|
|
@@ -19023,6 +19267,10 @@ export type Database = {
|
|
|
19023
19267
|
Args: never;
|
|
19024
19268
|
Returns: undefined;
|
|
19025
19269
|
};
|
|
19270
|
+
cleanup_voorraad_module_history: {
|
|
19271
|
+
Args: never;
|
|
19272
|
+
Returns: undefined;
|
|
19273
|
+
};
|
|
19026
19274
|
complete_floriday_stock_queue: {
|
|
19027
19275
|
Args: {
|
|
19028
19276
|
p_attempt_id?: string;
|
|
@@ -19144,6 +19392,13 @@ export type Database = {
|
|
|
19144
19392
|
};
|
|
19145
19393
|
Returns: Json;
|
|
19146
19394
|
};
|
|
19395
|
+
effective_module_permission: {
|
|
19396
|
+
Args: {
|
|
19397
|
+
_module_id: string;
|
|
19398
|
+
_user_id: string;
|
|
19399
|
+
};
|
|
19400
|
+
Returns: string;
|
|
19401
|
+
};
|
|
19147
19402
|
email_auth_decrypt: {
|
|
19148
19403
|
Args: {
|
|
19149
19404
|
cipher: string;
|
|
@@ -20044,6 +20299,65 @@ export type Database = {
|
|
|
20044
20299
|
};
|
|
20045
20300
|
Returns: number;
|
|
20046
20301
|
};
|
|
20302
|
+
logistics_plan_claim: {
|
|
20303
|
+
Args: {
|
|
20304
|
+
p_limit?: number;
|
|
20305
|
+
};
|
|
20306
|
+
Returns: {
|
|
20307
|
+
attempts: number;
|
|
20308
|
+
id: string;
|
|
20309
|
+
order_id: string;
|
|
20310
|
+
}[];
|
|
20311
|
+
};
|
|
20312
|
+
logistics_plan_enqueue: {
|
|
20313
|
+
Args: {
|
|
20314
|
+
p_order_id: string;
|
|
20315
|
+
p_reason?: string;
|
|
20316
|
+
};
|
|
20317
|
+
Returns: undefined;
|
|
20318
|
+
};
|
|
20319
|
+
logistics_plan_ensure_event: {
|
|
20320
|
+
Args: {
|
|
20321
|
+
p_order_id: string;
|
|
20322
|
+
};
|
|
20323
|
+
Returns: boolean;
|
|
20324
|
+
};
|
|
20325
|
+
logistics_plan_finish: {
|
|
20326
|
+
Args: {
|
|
20327
|
+
p_error?: string;
|
|
20328
|
+
p_id: string;
|
|
20329
|
+
};
|
|
20330
|
+
Returns: undefined;
|
|
20331
|
+
};
|
|
20332
|
+
logistics_plan_impact_orders: {
|
|
20333
|
+
Args: {
|
|
20334
|
+
p_order_id: string;
|
|
20335
|
+
};
|
|
20336
|
+
Returns: {
|
|
20337
|
+
buffer_id: string;
|
|
20338
|
+
order_id: string;
|
|
20339
|
+
plan_date: string;
|
|
20340
|
+
}[];
|
|
20341
|
+
};
|
|
20342
|
+
logistics_plan_kick: {
|
|
20343
|
+
Args: never;
|
|
20344
|
+
Returns: undefined;
|
|
20345
|
+
};
|
|
20346
|
+
logistics_plan_prune: {
|
|
20347
|
+
Args: never;
|
|
20348
|
+
Returns: number;
|
|
20349
|
+
};
|
|
20350
|
+
logistics_plan_release_stale: {
|
|
20351
|
+
Args: never;
|
|
20352
|
+
Returns: number;
|
|
20353
|
+
};
|
|
20354
|
+
logistics_plan_setting: {
|
|
20355
|
+
Args: {
|
|
20356
|
+
p_default: number;
|
|
20357
|
+
p_key: string;
|
|
20358
|
+
};
|
|
20359
|
+
Returns: number;
|
|
20360
|
+
};
|
|
20047
20361
|
logistics_queue_capacity_email: {
|
|
20048
20362
|
Args: {
|
|
20049
20363
|
p_alert_id: string;
|
|
@@ -20282,6 +20596,13 @@ export type Database = {
|
|
|
20282
20596
|
};
|
|
20283
20597
|
Returns: undefined;
|
|
20284
20598
|
};
|
|
20599
|
+
my_module_permissions: {
|
|
20600
|
+
Args: never;
|
|
20601
|
+
Returns: {
|
|
20602
|
+
module_id: string;
|
|
20603
|
+
permission: string;
|
|
20604
|
+
}[];
|
|
20605
|
+
};
|
|
20285
20606
|
next_manufacture_partij: {
|
|
20286
20607
|
Args: {
|
|
20287
20608
|
_tenant_id: string;
|
|
@@ -20332,6 +20653,13 @@ export type Database = {
|
|
|
20332
20653
|
};
|
|
20333
20654
|
Returns: boolean;
|
|
20334
20655
|
};
|
|
20656
|
+
opruim_print_historie: {
|
|
20657
|
+
Args: never;
|
|
20658
|
+
Returns: {
|
|
20659
|
+
ontdaan: number;
|
|
20660
|
+
verwijderd: number;
|
|
20661
|
+
}[];
|
|
20662
|
+
};
|
|
20335
20663
|
order_number_prefix: {
|
|
20336
20664
|
Args: {
|
|
20337
20665
|
p_custom_fields?: Json;
|
|
@@ -20726,6 +21054,12 @@ export type Database = {
|
|
|
20726
21054
|
};
|
|
20727
21055
|
Returns: undefined;
|
|
20728
21056
|
};
|
|
21057
|
+
reset_stalled_floriday_stock_queue: {
|
|
21058
|
+
Args: {
|
|
21059
|
+
p_include_failed?: boolean;
|
|
21060
|
+
};
|
|
21061
|
+
Returns: number;
|
|
21062
|
+
};
|
|
20729
21063
|
resolve_group_allocation: {
|
|
20730
21064
|
Args: {
|
|
20731
21065
|
_needed: number;
|
|
@@ -20780,6 +21114,10 @@ export type Database = {
|
|
|
20780
21114
|
Args: never;
|
|
20781
21115
|
Returns: undefined;
|
|
20782
21116
|
};
|
|
21117
|
+
run_floriday_stock_queue_process: {
|
|
21118
|
+
Args: never;
|
|
21119
|
+
Returns: undefined;
|
|
21120
|
+
};
|
|
20783
21121
|
run_logistics_tasks_dispatch: {
|
|
20784
21122
|
Args: never;
|
|
20785
21123
|
Returns: undefined;
|
|
@@ -21175,6 +21513,15 @@ export type Database = {
|
|
|
21175
21513
|
};
|
|
21176
21514
|
Returns: undefined;
|
|
21177
21515
|
};
|
|
21516
|
+
trade_item_stock_duplicates: {
|
|
21517
|
+
Args: never;
|
|
21518
|
+
Returns: {
|
|
21519
|
+
keys: string[];
|
|
21520
|
+
product_id: string;
|
|
21521
|
+
product_name: string;
|
|
21522
|
+
row_count: number;
|
|
21523
|
+
}[];
|
|
21524
|
+
};
|
|
21178
21525
|
try_debtor_lock: {
|
|
21179
21526
|
Args: {
|
|
21180
21527
|
_group_key: string;
|