@flowselections/floriday-afhandeling-module 1.0.29 → 1.0.31
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/afhandeling/LeveringenPage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/LeveringenPage.js +7 -24
- package/dist-lib/components/afhandeling/PickAgendaView.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/PickAgendaView.js +22 -24
- package/dist-lib/components/afhandeling/WeekAgendaView.d.ts +5 -1
- package/dist-lib/components/afhandeling/WeekAgendaView.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/WeekAgendaView.js +19 -29
- package/dist-lib/hooks/useEngineTasks.d.ts +2 -0
- package/dist-lib/hooks/useEngineTasks.d.ts.map +1 -1
- package/dist-lib/hooks/useEngineTasks.js +19 -4
- package/dist-lib/hooks/useOrderPlanning.d.ts +12 -1
- package/dist-lib/hooks/useOrderPlanning.d.ts.map +1 -1
- package/dist-lib/hooks/useOrderPlanning.js +65 -26
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +629 -4
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +629 -4
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +629 -4
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +630 -5
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +12 -1
- package/dist-lib/lib/afhandelingSettings.functions.d.ts +1378 -128
- package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
- package/dist-lib/lib/agendaRange.d.ts +13 -0
- package/dist-lib/lib/agendaRange.d.ts.map +1 -0
- package/dist-lib/lib/agendaRange.js +25 -0
- package/dist-lib/lib/carriers.functions.d.ts +3265 -140
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartAssignments.functions.d.ts +3265 -140
- package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartControl.functions.d.ts +6650 -400
- package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +647 -8
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.js +86 -20
- package/dist-lib/lib/logisticsEngine/engine.d.ts +16 -3
- package/dist-lib/lib/logisticsEngine/engine.d.ts.map +1 -1
- package/dist-lib/lib/logisticsEngine/engine.js +13 -6
- 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;
|
|
@@ -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;
|
|
@@ -8724,6 +8775,69 @@ export type Database = {
|
|
|
8724
8775
|
};
|
|
8725
8776
|
Relationships: [];
|
|
8726
8777
|
};
|
|
8778
|
+
logistics_floriday_pushes: {
|
|
8779
|
+
Row: {
|
|
8780
|
+
attempts: number;
|
|
8781
|
+
created_at: string;
|
|
8782
|
+
first_queued_at: string;
|
|
8783
|
+
fulfillment_order_id: string | null;
|
|
8784
|
+
id: string;
|
|
8785
|
+
last_error: string | null;
|
|
8786
|
+
last_error_at: string | null;
|
|
8787
|
+
last_sent_hash: string | null;
|
|
8788
|
+
locked_by: string | null;
|
|
8789
|
+
locked_until: string | null;
|
|
8790
|
+
next_attempt_at: string;
|
|
8791
|
+
order_ref: string;
|
|
8792
|
+
payload: Json;
|
|
8793
|
+
payload_hash: string | null;
|
|
8794
|
+
revision: number;
|
|
8795
|
+
sent_at: string | null;
|
|
8796
|
+
status: string;
|
|
8797
|
+
updated_at: string;
|
|
8798
|
+
};
|
|
8799
|
+
Insert: {
|
|
8800
|
+
attempts?: number;
|
|
8801
|
+
created_at?: string;
|
|
8802
|
+
first_queued_at?: string;
|
|
8803
|
+
fulfillment_order_id?: string | null;
|
|
8804
|
+
id?: string;
|
|
8805
|
+
last_error?: string | null;
|
|
8806
|
+
last_error_at?: string | null;
|
|
8807
|
+
last_sent_hash?: string | null;
|
|
8808
|
+
locked_by?: string | null;
|
|
8809
|
+
locked_until?: string | null;
|
|
8810
|
+
next_attempt_at?: string;
|
|
8811
|
+
order_ref: string;
|
|
8812
|
+
payload?: Json;
|
|
8813
|
+
payload_hash?: string | null;
|
|
8814
|
+
revision?: number;
|
|
8815
|
+
sent_at?: string | null;
|
|
8816
|
+
status?: string;
|
|
8817
|
+
updated_at?: string;
|
|
8818
|
+
};
|
|
8819
|
+
Update: {
|
|
8820
|
+
attempts?: number;
|
|
8821
|
+
created_at?: string;
|
|
8822
|
+
first_queued_at?: string;
|
|
8823
|
+
fulfillment_order_id?: string | null;
|
|
8824
|
+
id?: string;
|
|
8825
|
+
last_error?: string | null;
|
|
8826
|
+
last_error_at?: string | null;
|
|
8827
|
+
last_sent_hash?: string | null;
|
|
8828
|
+
locked_by?: string | null;
|
|
8829
|
+
locked_until?: string | null;
|
|
8830
|
+
next_attempt_at?: string;
|
|
8831
|
+
order_ref?: string;
|
|
8832
|
+
payload?: Json;
|
|
8833
|
+
payload_hash?: string | null;
|
|
8834
|
+
revision?: number;
|
|
8835
|
+
sent_at?: string | null;
|
|
8836
|
+
status?: string;
|
|
8837
|
+
updated_at?: string;
|
|
8838
|
+
};
|
|
8839
|
+
Relationships: [];
|
|
8840
|
+
};
|
|
8727
8841
|
logistics_formulas: {
|
|
8728
8842
|
Row: {
|
|
8729
8843
|
created_at: string;
|
|
@@ -8804,6 +8918,45 @@ export type Database = {
|
|
|
8804
8918
|
};
|
|
8805
8919
|
Relationships: [];
|
|
8806
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
|
+
};
|
|
8807
8960
|
logistics_plan_runs: {
|
|
8808
8961
|
Row: {
|
|
8809
8962
|
created_at: string;
|
|
@@ -8882,6 +9035,24 @@ export type Database = {
|
|
|
8882
9035
|
}
|
|
8883
9036
|
];
|
|
8884
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
|
+
};
|
|
8885
9056
|
logistics_rebuffer_state: {
|
|
8886
9057
|
Row: {
|
|
8887
9058
|
created_at: string;
|
|
@@ -9602,14 +9773,17 @@ export type Database = {
|
|
|
9602
9773
|
};
|
|
9603
9774
|
mailbox_messages: {
|
|
9604
9775
|
Row: {
|
|
9776
|
+
attachments: Json;
|
|
9605
9777
|
body_html: string | null;
|
|
9606
9778
|
body_text: string | null;
|
|
9779
|
+
cc_recipients: Json;
|
|
9607
9780
|
connection_id: string | null;
|
|
9608
9781
|
created_at: string;
|
|
9609
9782
|
error_message: string | null;
|
|
9610
9783
|
external_id: string | null;
|
|
9611
9784
|
from_email: string | null;
|
|
9612
9785
|
from_name: string | null;
|
|
9786
|
+
has_attachments: boolean;
|
|
9613
9787
|
id: string;
|
|
9614
9788
|
message_id: string | null;
|
|
9615
9789
|
profile_id: string | null;
|
|
@@ -9617,18 +9791,22 @@ export type Database = {
|
|
|
9617
9791
|
received_at: string | null;
|
|
9618
9792
|
status: string;
|
|
9619
9793
|
subject: string | null;
|
|
9794
|
+
to_recipients: Json;
|
|
9620
9795
|
uid: number | null;
|
|
9621
9796
|
updated_at: string;
|
|
9622
9797
|
};
|
|
9623
9798
|
Insert: {
|
|
9799
|
+
attachments?: Json;
|
|
9624
9800
|
body_html?: string | null;
|
|
9625
9801
|
body_text?: string | null;
|
|
9802
|
+
cc_recipients?: Json;
|
|
9626
9803
|
connection_id?: string | null;
|
|
9627
9804
|
created_at?: string;
|
|
9628
9805
|
error_message?: string | null;
|
|
9629
9806
|
external_id?: string | null;
|
|
9630
9807
|
from_email?: string | null;
|
|
9631
9808
|
from_name?: string | null;
|
|
9809
|
+
has_attachments?: boolean;
|
|
9632
9810
|
id?: string;
|
|
9633
9811
|
message_id?: string | null;
|
|
9634
9812
|
profile_id?: string | null;
|
|
@@ -9636,18 +9814,22 @@ export type Database = {
|
|
|
9636
9814
|
received_at?: string | null;
|
|
9637
9815
|
status?: string;
|
|
9638
9816
|
subject?: string | null;
|
|
9817
|
+
to_recipients?: Json;
|
|
9639
9818
|
uid?: number | null;
|
|
9640
9819
|
updated_at?: string;
|
|
9641
9820
|
};
|
|
9642
9821
|
Update: {
|
|
9822
|
+
attachments?: Json;
|
|
9643
9823
|
body_html?: string | null;
|
|
9644
9824
|
body_text?: string | null;
|
|
9825
|
+
cc_recipients?: Json;
|
|
9645
9826
|
connection_id?: string | null;
|
|
9646
9827
|
created_at?: string;
|
|
9647
9828
|
error_message?: string | null;
|
|
9648
9829
|
external_id?: string | null;
|
|
9649
9830
|
from_email?: string | null;
|
|
9650
9831
|
from_name?: string | null;
|
|
9832
|
+
has_attachments?: boolean;
|
|
9651
9833
|
id?: string;
|
|
9652
9834
|
message_id?: string | null;
|
|
9653
9835
|
profile_id?: string | null;
|
|
@@ -9655,6 +9837,7 @@ export type Database = {
|
|
|
9655
9837
|
received_at?: string | null;
|
|
9656
9838
|
status?: string;
|
|
9657
9839
|
subject?: string | null;
|
|
9840
|
+
to_recipients?: Json;
|
|
9658
9841
|
uid?: number | null;
|
|
9659
9842
|
updated_at?: string;
|
|
9660
9843
|
};
|
|
@@ -10079,6 +10262,36 @@ export type Database = {
|
|
|
10079
10262
|
};
|
|
10080
10263
|
Relationships: [];
|
|
10081
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
|
+
};
|
|
10082
10295
|
module_runtime_config: {
|
|
10083
10296
|
Row: {
|
|
10084
10297
|
key: string;
|
|
@@ -11175,6 +11388,45 @@ export type Database = {
|
|
|
11175
11388
|
};
|
|
11176
11389
|
Relationships: [];
|
|
11177
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
|
+
};
|
|
11178
11430
|
order_items: {
|
|
11179
11431
|
Row: {
|
|
11180
11432
|
crates_per_layer: number | null;
|
|
@@ -11366,6 +11618,7 @@ export type Database = {
|
|
|
11366
11618
|
delivery_date: string | null;
|
|
11367
11619
|
floriday_sales_order_id: string | null;
|
|
11368
11620
|
id: string;
|
|
11621
|
+
invoice_due_at: string | null;
|
|
11369
11622
|
is_reservation: boolean;
|
|
11370
11623
|
notes: string | null;
|
|
11371
11624
|
order_date: string;
|
|
@@ -11387,6 +11640,7 @@ export type Database = {
|
|
|
11387
11640
|
delivery_date?: string | null;
|
|
11388
11641
|
floriday_sales_order_id?: string | null;
|
|
11389
11642
|
id?: string;
|
|
11643
|
+
invoice_due_at?: string | null;
|
|
11390
11644
|
is_reservation?: boolean;
|
|
11391
11645
|
notes?: string | null;
|
|
11392
11646
|
order_date?: string;
|
|
@@ -11408,6 +11662,7 @@ export type Database = {
|
|
|
11408
11662
|
delivery_date?: string | null;
|
|
11409
11663
|
floriday_sales_order_id?: string | null;
|
|
11410
11664
|
id?: string;
|
|
11665
|
+
invoice_due_at?: string | null;
|
|
11411
11666
|
is_reservation?: boolean;
|
|
11412
11667
|
notes?: string | null;
|
|
11413
11668
|
order_date?: string;
|
|
@@ -12648,22 +12903,27 @@ export type Database = {
|
|
|
12648
12903
|
created_at: string;
|
|
12649
12904
|
documentnaam: string;
|
|
12650
12905
|
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
12906
|
+
extern_job_id: string | null;
|
|
12651
12907
|
foutmelding: string | null;
|
|
12652
12908
|
gebruiker_id: string | null;
|
|
12653
12909
|
gebruiker_naam: string;
|
|
12654
12910
|
gestart_op: string | null;
|
|
12655
12911
|
id: string;
|
|
12912
|
+
idempotentie_sleutel: string | null;
|
|
12656
12913
|
is_herprint: boolean;
|
|
12657
12914
|
kopieen: number;
|
|
12658
12915
|
layout_id: string | null;
|
|
12659
12916
|
opgepakt_op: string | null;
|
|
12660
12917
|
paginas: number;
|
|
12661
12918
|
payload: Json;
|
|
12919
|
+
pdf_base64: string | null;
|
|
12920
|
+
pdf_url: string | null;
|
|
12662
12921
|
pogingen: number;
|
|
12663
12922
|
printer_id: string | null;
|
|
12664
12923
|
render_html: string | null;
|
|
12665
12924
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
12666
12925
|
updated_at: string;
|
|
12926
|
+
volgende_poging: string | null;
|
|
12667
12927
|
voltooid_op: string | null;
|
|
12668
12928
|
};
|
|
12669
12929
|
Insert: {
|
|
@@ -12672,22 +12932,27 @@ export type Database = {
|
|
|
12672
12932
|
created_at?: string;
|
|
12673
12933
|
documentnaam?: string;
|
|
12674
12934
|
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
12935
|
+
extern_job_id?: string | null;
|
|
12675
12936
|
foutmelding?: string | null;
|
|
12676
12937
|
gebruiker_id?: string | null;
|
|
12677
12938
|
gebruiker_naam?: string;
|
|
12678
12939
|
gestart_op?: string | null;
|
|
12679
12940
|
id?: string;
|
|
12941
|
+
idempotentie_sleutel?: string | null;
|
|
12680
12942
|
is_herprint?: boolean;
|
|
12681
12943
|
kopieen?: number;
|
|
12682
12944
|
layout_id?: string | null;
|
|
12683
12945
|
opgepakt_op?: string | null;
|
|
12684
12946
|
paginas?: number;
|
|
12685
12947
|
payload?: Json;
|
|
12948
|
+
pdf_base64?: string | null;
|
|
12949
|
+
pdf_url?: string | null;
|
|
12686
12950
|
pogingen?: number;
|
|
12687
12951
|
printer_id?: string | null;
|
|
12688
12952
|
render_html?: string | null;
|
|
12689
12953
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
12690
12954
|
updated_at?: string;
|
|
12955
|
+
volgende_poging?: string | null;
|
|
12691
12956
|
voltooid_op?: string | null;
|
|
12692
12957
|
};
|
|
12693
12958
|
Update: {
|
|
@@ -12696,22 +12961,27 @@ export type Database = {
|
|
|
12696
12961
|
created_at?: string;
|
|
12697
12962
|
documentnaam?: string;
|
|
12698
12963
|
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
12964
|
+
extern_job_id?: string | null;
|
|
12699
12965
|
foutmelding?: string | null;
|
|
12700
12966
|
gebruiker_id?: string | null;
|
|
12701
12967
|
gebruiker_naam?: string;
|
|
12702
12968
|
gestart_op?: string | null;
|
|
12703
12969
|
id?: string;
|
|
12970
|
+
idempotentie_sleutel?: string | null;
|
|
12704
12971
|
is_herprint?: boolean;
|
|
12705
12972
|
kopieen?: number;
|
|
12706
12973
|
layout_id?: string | null;
|
|
12707
12974
|
opgepakt_op?: string | null;
|
|
12708
12975
|
paginas?: number;
|
|
12709
12976
|
payload?: Json;
|
|
12977
|
+
pdf_base64?: string | null;
|
|
12978
|
+
pdf_url?: string | null;
|
|
12710
12979
|
pogingen?: number;
|
|
12711
12980
|
printer_id?: string | null;
|
|
12712
12981
|
render_html?: string | null;
|
|
12713
12982
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
12714
12983
|
updated_at?: string;
|
|
12984
|
+
volgende_poging?: string | null;
|
|
12715
12985
|
voltooid_op?: string | null;
|
|
12716
12986
|
};
|
|
12717
12987
|
Relationships: [
|
|
@@ -12738,6 +13008,63 @@ export type Database = {
|
|
|
12738
13008
|
}
|
|
12739
13009
|
];
|
|
12740
13010
|
};
|
|
13011
|
+
print_queue_runners: {
|
|
13012
|
+
Row: {
|
|
13013
|
+
actief: boolean;
|
|
13014
|
+
basis_url: string;
|
|
13015
|
+
created_at: string;
|
|
13016
|
+
id: string;
|
|
13017
|
+
laatst_gezien: string;
|
|
13018
|
+
tick_sleutel: string;
|
|
13019
|
+
updated_at: string;
|
|
13020
|
+
};
|
|
13021
|
+
Insert: {
|
|
13022
|
+
actief?: boolean;
|
|
13023
|
+
basis_url: string;
|
|
13024
|
+
created_at?: string;
|
|
13025
|
+
id?: string;
|
|
13026
|
+
laatst_gezien?: string;
|
|
13027
|
+
tick_sleutel?: string;
|
|
13028
|
+
updated_at?: string;
|
|
13029
|
+
};
|
|
13030
|
+
Update: {
|
|
13031
|
+
actief?: boolean;
|
|
13032
|
+
basis_url?: string;
|
|
13033
|
+
created_at?: string;
|
|
13034
|
+
id?: string;
|
|
13035
|
+
laatst_gezien?: string;
|
|
13036
|
+
tick_sleutel?: string;
|
|
13037
|
+
updated_at?: string;
|
|
13038
|
+
};
|
|
13039
|
+
Relationships: [];
|
|
13040
|
+
};
|
|
13041
|
+
print_queue_settings: {
|
|
13042
|
+
Row: {
|
|
13043
|
+
bewaar_bestanden_dagen: number;
|
|
13044
|
+
bewaar_opdrachten_dagen: number;
|
|
13045
|
+
created_at: string;
|
|
13046
|
+
dubbel_venster_minuten: number;
|
|
13047
|
+
id: string;
|
|
13048
|
+
updated_at: string;
|
|
13049
|
+
};
|
|
13050
|
+
Insert: {
|
|
13051
|
+
bewaar_bestanden_dagen?: number;
|
|
13052
|
+
bewaar_opdrachten_dagen?: number;
|
|
13053
|
+
created_at?: string;
|
|
13054
|
+
dubbel_venster_minuten?: number;
|
|
13055
|
+
id?: string;
|
|
13056
|
+
updated_at?: string;
|
|
13057
|
+
};
|
|
13058
|
+
Update: {
|
|
13059
|
+
bewaar_bestanden_dagen?: number;
|
|
13060
|
+
bewaar_opdrachten_dagen?: number;
|
|
13061
|
+
created_at?: string;
|
|
13062
|
+
dubbel_venster_minuten?: number;
|
|
13063
|
+
id?: string;
|
|
13064
|
+
updated_at?: string;
|
|
13065
|
+
};
|
|
13066
|
+
Relationships: [];
|
|
13067
|
+
};
|
|
12741
13068
|
print_rules: {
|
|
12742
13069
|
Row: {
|
|
12743
13070
|
actief: boolean;
|
|
@@ -12906,6 +13233,7 @@ export type Database = {
|
|
|
12906
13233
|
agent_id: string | null;
|
|
12907
13234
|
created_at: string;
|
|
12908
13235
|
driver: string;
|
|
13236
|
+
extern_printer_id: string | null;
|
|
12909
13237
|
id: string;
|
|
12910
13238
|
ip_adres: string | null;
|
|
12911
13239
|
laatst_gezien: string | null;
|
|
@@ -12927,6 +13255,7 @@ export type Database = {
|
|
|
12927
13255
|
agent_id?: string | null;
|
|
12928
13256
|
created_at?: string;
|
|
12929
13257
|
driver?: string;
|
|
13258
|
+
extern_printer_id?: string | null;
|
|
12930
13259
|
id?: string;
|
|
12931
13260
|
ip_adres?: string | null;
|
|
12932
13261
|
laatst_gezien?: string | null;
|
|
@@ -12948,6 +13277,7 @@ export type Database = {
|
|
|
12948
13277
|
agent_id?: string | null;
|
|
12949
13278
|
created_at?: string;
|
|
12950
13279
|
driver?: string;
|
|
13280
|
+
extern_printer_id?: string | null;
|
|
12951
13281
|
id?: string;
|
|
12952
13282
|
ip_adres?: string | null;
|
|
12953
13283
|
laatst_gezien?: string | null;
|
|
@@ -15658,6 +15988,8 @@ export type Database = {
|
|
|
15658
15988
|
};
|
|
15659
15989
|
twinfield_invoice_settings: {
|
|
15660
15990
|
Row: {
|
|
15991
|
+
auto_invoice_enabled: boolean;
|
|
15992
|
+
auto_invoice_trigger_statuses: string[];
|
|
15661
15993
|
created_at: string;
|
|
15662
15994
|
debtor_gl_account: string;
|
|
15663
15995
|
default_credit_invoice_type: string | null;
|
|
@@ -15678,6 +16010,8 @@ export type Database = {
|
|
|
15678
16010
|
vat_code_export: string | null;
|
|
15679
16011
|
};
|
|
15680
16012
|
Insert: {
|
|
16013
|
+
auto_invoice_enabled?: boolean;
|
|
16014
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15681
16015
|
created_at?: string;
|
|
15682
16016
|
debtor_gl_account?: string;
|
|
15683
16017
|
default_credit_invoice_type?: string | null;
|
|
@@ -15698,6 +16032,8 @@ export type Database = {
|
|
|
15698
16032
|
vat_code_export?: string | null;
|
|
15699
16033
|
};
|
|
15700
16034
|
Update: {
|
|
16035
|
+
auto_invoice_enabled?: boolean;
|
|
16036
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15701
16037
|
created_at?: string;
|
|
15702
16038
|
debtor_gl_account?: string;
|
|
15703
16039
|
default_credit_invoice_type?: string | null;
|
|
@@ -16786,6 +17122,33 @@ export type Database = {
|
|
|
16786
17122
|
}
|
|
16787
17123
|
];
|
|
16788
17124
|
};
|
|
17125
|
+
user_module_permissions: {
|
|
17126
|
+
Row: {
|
|
17127
|
+
created_at: string;
|
|
17128
|
+
id: string;
|
|
17129
|
+
module_id: string;
|
|
17130
|
+
permission: string;
|
|
17131
|
+
updated_at: string;
|
|
17132
|
+
user_id: string;
|
|
17133
|
+
};
|
|
17134
|
+
Insert: {
|
|
17135
|
+
created_at?: string;
|
|
17136
|
+
id?: string;
|
|
17137
|
+
module_id: string;
|
|
17138
|
+
permission: string;
|
|
17139
|
+
updated_at?: string;
|
|
17140
|
+
user_id: string;
|
|
17141
|
+
};
|
|
17142
|
+
Update: {
|
|
17143
|
+
created_at?: string;
|
|
17144
|
+
id?: string;
|
|
17145
|
+
module_id?: string;
|
|
17146
|
+
permission?: string;
|
|
17147
|
+
updated_at?: string;
|
|
17148
|
+
user_id?: string;
|
|
17149
|
+
};
|
|
17150
|
+
Relationships: [];
|
|
17151
|
+
};
|
|
16789
17152
|
user_roles: {
|
|
16790
17153
|
Row: {
|
|
16791
17154
|
created_at: string;
|
|
@@ -18661,6 +19024,10 @@ export type Database = {
|
|
|
18661
19024
|
processed_items: number;
|
|
18662
19025
|
}[];
|
|
18663
19026
|
};
|
|
19027
|
+
backfill_order_auto_invoice_queue: {
|
|
19028
|
+
Args: never;
|
|
19029
|
+
Returns: number;
|
|
19030
|
+
};
|
|
18664
19031
|
calculate_layer_stock: {
|
|
18665
19032
|
Args: {
|
|
18666
19033
|
p_product_id: string;
|
|
@@ -18695,6 +19062,46 @@ export type Database = {
|
|
|
18695
19062
|
};
|
|
18696
19063
|
Returns: Json;
|
|
18697
19064
|
};
|
|
19065
|
+
claim_cloud_print_jobs: {
|
|
19066
|
+
Args: {
|
|
19067
|
+
_max?: number;
|
|
19068
|
+
};
|
|
19069
|
+
Returns: {
|
|
19070
|
+
agent_id: string | null;
|
|
19071
|
+
bron_job_id: string | null;
|
|
19072
|
+
created_at: string;
|
|
19073
|
+
documentnaam: string;
|
|
19074
|
+
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
19075
|
+
extern_job_id: string | null;
|
|
19076
|
+
foutmelding: string | null;
|
|
19077
|
+
gebruiker_id: string | null;
|
|
19078
|
+
gebruiker_naam: string;
|
|
19079
|
+
gestart_op: string | null;
|
|
19080
|
+
id: string;
|
|
19081
|
+
idempotentie_sleutel: string | null;
|
|
19082
|
+
is_herprint: boolean;
|
|
19083
|
+
kopieen: number;
|
|
19084
|
+
layout_id: string | null;
|
|
19085
|
+
opgepakt_op: string | null;
|
|
19086
|
+
paginas: number;
|
|
19087
|
+
payload: Json;
|
|
19088
|
+
pdf_base64: string | null;
|
|
19089
|
+
pdf_url: string | null;
|
|
19090
|
+
pogingen: number;
|
|
19091
|
+
printer_id: string | null;
|
|
19092
|
+
render_html: string | null;
|
|
19093
|
+
status: Database["public"]["Enums"]["print_job_status"];
|
|
19094
|
+
updated_at: string;
|
|
19095
|
+
volgende_poging: string | null;
|
|
19096
|
+
voltooid_op: string | null;
|
|
19097
|
+
}[];
|
|
19098
|
+
SetofOptions: {
|
|
19099
|
+
from: "*";
|
|
19100
|
+
to: "print_jobs";
|
|
19101
|
+
isOneToOne: false;
|
|
19102
|
+
isSetofReturn: true;
|
|
19103
|
+
};
|
|
19104
|
+
};
|
|
18698
19105
|
claim_floriday_stock_queue: {
|
|
18699
19106
|
Args: {
|
|
18700
19107
|
p_limit?: number;
|
|
@@ -18785,22 +19192,27 @@ export type Database = {
|
|
|
18785
19192
|
created_at: string;
|
|
18786
19193
|
documentnaam: string;
|
|
18787
19194
|
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
19195
|
+
extern_job_id: string | null;
|
|
18788
19196
|
foutmelding: string | null;
|
|
18789
19197
|
gebruiker_id: string | null;
|
|
18790
19198
|
gebruiker_naam: string;
|
|
18791
19199
|
gestart_op: string | null;
|
|
18792
19200
|
id: string;
|
|
19201
|
+
idempotentie_sleutel: string | null;
|
|
18793
19202
|
is_herprint: boolean;
|
|
18794
19203
|
kopieen: number;
|
|
18795
19204
|
layout_id: string | null;
|
|
18796
19205
|
opgepakt_op: string | null;
|
|
18797
19206
|
paginas: number;
|
|
18798
19207
|
payload: Json;
|
|
19208
|
+
pdf_base64: string | null;
|
|
19209
|
+
pdf_url: string | null;
|
|
18799
19210
|
pogingen: number;
|
|
18800
19211
|
printer_id: string | null;
|
|
18801
19212
|
render_html: string | null;
|
|
18802
19213
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
18803
19214
|
updated_at: string;
|
|
19215
|
+
volgende_poging: string | null;
|
|
18804
19216
|
voltooid_op: string | null;
|
|
18805
19217
|
}[];
|
|
18806
19218
|
SetofOptions: {
|
|
@@ -18846,6 +19258,10 @@ export type Database = {
|
|
|
18846
19258
|
Args: never;
|
|
18847
19259
|
Returns: undefined;
|
|
18848
19260
|
};
|
|
19261
|
+
cleanup_voorraad_module_history: {
|
|
19262
|
+
Args: never;
|
|
19263
|
+
Returns: undefined;
|
|
19264
|
+
};
|
|
18849
19265
|
complete_floriday_stock_queue: {
|
|
18850
19266
|
Args: {
|
|
18851
19267
|
p_attempt_id?: string;
|
|
@@ -18967,6 +19383,13 @@ export type Database = {
|
|
|
18967
19383
|
};
|
|
18968
19384
|
Returns: Json;
|
|
18969
19385
|
};
|
|
19386
|
+
effective_module_permission: {
|
|
19387
|
+
Args: {
|
|
19388
|
+
_module_id: string;
|
|
19389
|
+
_user_id: string;
|
|
19390
|
+
};
|
|
19391
|
+
Returns: string;
|
|
19392
|
+
};
|
|
18970
19393
|
email_auth_decrypt: {
|
|
18971
19394
|
Args: {
|
|
18972
19395
|
cipher: string;
|
|
@@ -19770,6 +20193,51 @@ export type Database = {
|
|
|
19770
20193
|
isSetofReturn: false;
|
|
19771
20194
|
};
|
|
19772
20195
|
};
|
|
20196
|
+
logistics_floriday_claim_pushes: {
|
|
20197
|
+
Args: {
|
|
20198
|
+
_lease_seconds?: number;
|
|
20199
|
+
_limit?: number;
|
|
20200
|
+
_worker?: string;
|
|
20201
|
+
};
|
|
20202
|
+
Returns: {
|
|
20203
|
+
attempts: number;
|
|
20204
|
+
fulfillment_order_id: string;
|
|
20205
|
+
id: string;
|
|
20206
|
+
last_sent_hash: string;
|
|
20207
|
+
order_ref: string;
|
|
20208
|
+
payload: Json;
|
|
20209
|
+
payload_hash: string;
|
|
20210
|
+
revision: number;
|
|
20211
|
+
}[];
|
|
20212
|
+
};
|
|
20213
|
+
logistics_floriday_finish_push: {
|
|
20214
|
+
Args: {
|
|
20215
|
+
_error?: string;
|
|
20216
|
+
_fulfillment_order_id?: string;
|
|
20217
|
+
_id: string;
|
|
20218
|
+
_max_age_hours?: number;
|
|
20219
|
+
_max_attempts?: number;
|
|
20220
|
+
_ok: boolean;
|
|
20221
|
+
_permanent?: boolean;
|
|
20222
|
+
_revision: number;
|
|
20223
|
+
_sent_hash?: string;
|
|
20224
|
+
};
|
|
20225
|
+
Returns: string;
|
|
20226
|
+
};
|
|
20227
|
+
logistics_floriday_prune_pushes: {
|
|
20228
|
+
Args: {
|
|
20229
|
+
_days?: number;
|
|
20230
|
+
};
|
|
20231
|
+
Returns: number;
|
|
20232
|
+
};
|
|
20233
|
+
logistics_floriday_queue_push: {
|
|
20234
|
+
Args: {
|
|
20235
|
+
_order_ref: string;
|
|
20236
|
+
_payload?: Json;
|
|
20237
|
+
_payload_hash?: string;
|
|
20238
|
+
};
|
|
20239
|
+
Returns: string;
|
|
20240
|
+
};
|
|
19773
20241
|
logistics_live_carriers: {
|
|
19774
20242
|
Args: {
|
|
19775
20243
|
p_order_ref: string;
|
|
@@ -19822,6 +20290,65 @@ export type Database = {
|
|
|
19822
20290
|
};
|
|
19823
20291
|
Returns: number;
|
|
19824
20292
|
};
|
|
20293
|
+
logistics_plan_claim: {
|
|
20294
|
+
Args: {
|
|
20295
|
+
p_limit?: number;
|
|
20296
|
+
};
|
|
20297
|
+
Returns: {
|
|
20298
|
+
attempts: number;
|
|
20299
|
+
id: string;
|
|
20300
|
+
order_id: string;
|
|
20301
|
+
}[];
|
|
20302
|
+
};
|
|
20303
|
+
logistics_plan_enqueue: {
|
|
20304
|
+
Args: {
|
|
20305
|
+
p_order_id: string;
|
|
20306
|
+
p_reason?: string;
|
|
20307
|
+
};
|
|
20308
|
+
Returns: undefined;
|
|
20309
|
+
};
|
|
20310
|
+
logistics_plan_ensure_event: {
|
|
20311
|
+
Args: {
|
|
20312
|
+
p_order_id: string;
|
|
20313
|
+
};
|
|
20314
|
+
Returns: boolean;
|
|
20315
|
+
};
|
|
20316
|
+
logistics_plan_finish: {
|
|
20317
|
+
Args: {
|
|
20318
|
+
p_error?: string;
|
|
20319
|
+
p_id: string;
|
|
20320
|
+
};
|
|
20321
|
+
Returns: undefined;
|
|
20322
|
+
};
|
|
20323
|
+
logistics_plan_impact_orders: {
|
|
20324
|
+
Args: {
|
|
20325
|
+
p_order_id: string;
|
|
20326
|
+
};
|
|
20327
|
+
Returns: {
|
|
20328
|
+
buffer_id: string;
|
|
20329
|
+
order_id: string;
|
|
20330
|
+
plan_date: string;
|
|
20331
|
+
}[];
|
|
20332
|
+
};
|
|
20333
|
+
logistics_plan_kick: {
|
|
20334
|
+
Args: never;
|
|
20335
|
+
Returns: undefined;
|
|
20336
|
+
};
|
|
20337
|
+
logistics_plan_prune: {
|
|
20338
|
+
Args: never;
|
|
20339
|
+
Returns: number;
|
|
20340
|
+
};
|
|
20341
|
+
logistics_plan_release_stale: {
|
|
20342
|
+
Args: never;
|
|
20343
|
+
Returns: number;
|
|
20344
|
+
};
|
|
20345
|
+
logistics_plan_setting: {
|
|
20346
|
+
Args: {
|
|
20347
|
+
p_default: number;
|
|
20348
|
+
p_key: string;
|
|
20349
|
+
};
|
|
20350
|
+
Returns: number;
|
|
20351
|
+
};
|
|
19825
20352
|
logistics_queue_capacity_email: {
|
|
19826
20353
|
Args: {
|
|
19827
20354
|
p_alert_id: string;
|
|
@@ -20060,6 +20587,13 @@ export type Database = {
|
|
|
20060
20587
|
};
|
|
20061
20588
|
Returns: undefined;
|
|
20062
20589
|
};
|
|
20590
|
+
my_module_permissions: {
|
|
20591
|
+
Args: never;
|
|
20592
|
+
Returns: {
|
|
20593
|
+
module_id: string;
|
|
20594
|
+
permission: string;
|
|
20595
|
+
}[];
|
|
20596
|
+
};
|
|
20063
20597
|
next_manufacture_partij: {
|
|
20064
20598
|
Args: {
|
|
20065
20599
|
_tenant_id: string;
|
|
@@ -20110,6 +20644,13 @@ export type Database = {
|
|
|
20110
20644
|
};
|
|
20111
20645
|
Returns: boolean;
|
|
20112
20646
|
};
|
|
20647
|
+
opruim_print_historie: {
|
|
20648
|
+
Args: never;
|
|
20649
|
+
Returns: {
|
|
20650
|
+
ontdaan: number;
|
|
20651
|
+
verwijderd: number;
|
|
20652
|
+
}[];
|
|
20653
|
+
};
|
|
20113
20654
|
order_number_prefix: {
|
|
20114
20655
|
Args: {
|
|
20115
20656
|
p_custom_fields?: Json;
|
|
@@ -20117,6 +20658,15 @@ export type Database = {
|
|
|
20117
20658
|
};
|
|
20118
20659
|
Returns: string;
|
|
20119
20660
|
};
|
|
20661
|
+
pick_active_printers: {
|
|
20662
|
+
Args: never;
|
|
20663
|
+
Returns: {
|
|
20664
|
+
id: string;
|
|
20665
|
+
locatie: string;
|
|
20666
|
+
naam: string;
|
|
20667
|
+
online: boolean;
|
|
20668
|
+
}[];
|
|
20669
|
+
};
|
|
20120
20670
|
pick_claim_document: {
|
|
20121
20671
|
Args: {
|
|
20122
20672
|
_queue_item_id: string;
|
|
@@ -20303,6 +20853,52 @@ export type Database = {
|
|
|
20303
20853
|
};
|
|
20304
20854
|
Returns: undefined;
|
|
20305
20855
|
};
|
|
20856
|
+
pick_reset_print: {
|
|
20857
|
+
Args: {
|
|
20858
|
+
_queue_item_id: string;
|
|
20859
|
+
_session_id: string;
|
|
20860
|
+
};
|
|
20861
|
+
Returns: {
|
|
20862
|
+
announced_at: string;
|
|
20863
|
+
assigned_user_id: string | null;
|
|
20864
|
+
barcode: string | null;
|
|
20865
|
+
cancelled_at: string | null;
|
|
20866
|
+
cart_count: number;
|
|
20867
|
+
completed_at: string | null;
|
|
20868
|
+
country_code: string | null;
|
|
20869
|
+
created_at: string;
|
|
20870
|
+
customer_name: string | null;
|
|
20871
|
+
delivery_address: string | null;
|
|
20872
|
+
document_number: string | null;
|
|
20873
|
+
document_type_id: string | null;
|
|
20874
|
+
due_at: string | null;
|
|
20875
|
+
id: string;
|
|
20876
|
+
is_urgent: boolean;
|
|
20877
|
+
line_count: number;
|
|
20878
|
+
order_number: string | null;
|
|
20879
|
+
order_type: string | null;
|
|
20880
|
+
payload: Json;
|
|
20881
|
+
print_count: number;
|
|
20882
|
+
print_job_id: string | null;
|
|
20883
|
+
printed_at: string | null;
|
|
20884
|
+
printed_by: string | null;
|
|
20885
|
+
printer_id: string | null;
|
|
20886
|
+
priority: number;
|
|
20887
|
+
reference: string | null;
|
|
20888
|
+
route: string | null;
|
|
20889
|
+
screen_id: string | null;
|
|
20890
|
+
station_id: string | null;
|
|
20891
|
+
status_id: string | null;
|
|
20892
|
+
updated_at: string;
|
|
20893
|
+
warnings: Json;
|
|
20894
|
+
};
|
|
20895
|
+
SetofOptions: {
|
|
20896
|
+
from: "*";
|
|
20897
|
+
to: "pick_queue";
|
|
20898
|
+
isOneToOne: true;
|
|
20899
|
+
isSetofReturn: false;
|
|
20900
|
+
};
|
|
20901
|
+
};
|
|
20306
20902
|
pick_station_dashboard: {
|
|
20307
20903
|
Args: never;
|
|
20308
20904
|
Returns: {
|
|
@@ -20449,6 +21045,12 @@ export type Database = {
|
|
|
20449
21045
|
};
|
|
20450
21046
|
Returns: undefined;
|
|
20451
21047
|
};
|
|
21048
|
+
reset_stalled_floriday_stock_queue: {
|
|
21049
|
+
Args: {
|
|
21050
|
+
p_include_failed?: boolean;
|
|
21051
|
+
};
|
|
21052
|
+
Returns: number;
|
|
21053
|
+
};
|
|
20452
21054
|
resolve_group_allocation: {
|
|
20453
21055
|
Args: {
|
|
20454
21056
|
_needed: number;
|
|
@@ -20493,14 +21095,28 @@ export type Database = {
|
|
|
20493
21095
|
};
|
|
20494
21096
|
Returns: Json;
|
|
20495
21097
|
};
|
|
21098
|
+
ruim_print_jobs_op: {
|
|
21099
|
+
Args: {
|
|
21100
|
+
_bewaar_dagen?: number;
|
|
21101
|
+
};
|
|
21102
|
+
Returns: number;
|
|
21103
|
+
};
|
|
20496
21104
|
run_floriday_continuous_stock_sync: {
|
|
20497
21105
|
Args: never;
|
|
20498
21106
|
Returns: undefined;
|
|
20499
21107
|
};
|
|
21108
|
+
run_floriday_stock_queue_process: {
|
|
21109
|
+
Args: never;
|
|
21110
|
+
Returns: undefined;
|
|
21111
|
+
};
|
|
20500
21112
|
run_logistics_tasks_dispatch: {
|
|
20501
21113
|
Args: never;
|
|
20502
21114
|
Returns: undefined;
|
|
20503
21115
|
};
|
|
21116
|
+
run_print_queue_ticks: {
|
|
21117
|
+
Args: never;
|
|
21118
|
+
Returns: number;
|
|
21119
|
+
};
|
|
20504
21120
|
run_twinfield_queue_tick: {
|
|
20505
21121
|
Args: never;
|
|
20506
21122
|
Returns: undefined;
|
|
@@ -20888,6 +21504,15 @@ export type Database = {
|
|
|
20888
21504
|
};
|
|
20889
21505
|
Returns: undefined;
|
|
20890
21506
|
};
|
|
21507
|
+
trade_item_stock_duplicates: {
|
|
21508
|
+
Args: never;
|
|
21509
|
+
Returns: {
|
|
21510
|
+
keys: string[];
|
|
21511
|
+
product_id: string;
|
|
21512
|
+
product_name: string;
|
|
21513
|
+
row_count: number;
|
|
21514
|
+
}[];
|
|
21515
|
+
};
|
|
20891
21516
|
try_debtor_lock: {
|
|
20892
21517
|
Args: {
|
|
20893
21518
|
_group_key: string;
|
|
@@ -20937,7 +21562,7 @@ export type Database = {
|
|
|
20937
21562
|
};
|
|
20938
21563
|
Enums: {
|
|
20939
21564
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
20940
|
-
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
21565
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
20941
21566
|
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
20942
21567
|
doc_orientation: "portrait" | "landscape";
|
|
20943
21568
|
exact_env: "staging" | "live";
|
|
@@ -21008,7 +21633,7 @@ export declare const Constants: {
|
|
|
21008
21633
|
readonly public: {
|
|
21009
21634
|
readonly Enums: {
|
|
21010
21635
|
readonly ai_import_status: readonly ["nieuw", "verwerken", "bevestigen", "klaar", "mislukt"];
|
|
21011
|
-
readonly app_role: readonly ["admin", "planner", "monteur", "administratie", "ai_admin"];
|
|
21636
|
+
readonly app_role: readonly ["admin", "planner", "monteur", "administratie", "ai_admin", "manager", "warehouse", "sales", "developer", "receptie"];
|
|
21012
21637
|
readonly doc_layout_type: readonly ["pakbon", "factuur", "offerte", "orderbevestiging", "etiket", "verzendlabel", "productlabel", "barcode_label", "magazijnlijst", "controlelijst", "transportdocument", "vrij", "sticker", "productiebon"];
|
|
21013
21638
|
readonly doc_orientation: readonly ["portrait", "landscape"];
|
|
21014
21639
|
readonly exact_env: readonly ["staging", "live"];
|