@flowselections/floriday-authenticatie-module 1.0.35 → 1.0.37
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/floriday/FlorydaySyncHealthBanner.d.ts +1 -1
- package/dist-lib/components/floriday/FlorydaySyncHealthBanner.d.ts.map +1 -1
- package/dist-lib/components/floriday/FlorydaySyncHealthBanner.js +1 -1
- package/dist-lib/components/floriday/TokenHealthCard.js +1 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +773 -8
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +773 -8
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +773 -8
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +778 -9
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +12 -1
- package/dist-lib/lib/floricode.functions.d.ts +5503 -148
- package/dist-lib/lib/floricode.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-auction-letters.functions.d.ts +773 -8
- package/dist-lib/lib/floriday-auction-letters.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-labels.functions.d.ts +773 -8
- package/dist-lib/lib/floriday-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +4734 -144
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-public.functions.js +1 -1
- package/dist-lib/lib/floriday-stickers.functions.d.ts +773 -8
- package/dist-lib/lib/floriday-stickers.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-sync.functions.d.ts +23959 -244
- package/dist-lib/lib/floriday-sync.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +4734 -144
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.js +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +14731 -196
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/gateway/cached-list.js +1 -1
- package/package.json +2 -2
|
@@ -1719,7 +1719,7 @@ export type Database = {
|
|
|
1719
1719
|
city: string | null;
|
|
1720
1720
|
country: string | null;
|
|
1721
1721
|
created_at: string;
|
|
1722
|
-
customer_id: string
|
|
1722
|
+
customer_id: string;
|
|
1723
1723
|
external_key: string | null;
|
|
1724
1724
|
external_provider: string | null;
|
|
1725
1725
|
floriday_location_id: string | null;
|
|
@@ -1743,7 +1743,7 @@ export type Database = {
|
|
|
1743
1743
|
city?: string | null;
|
|
1744
1744
|
country?: string | null;
|
|
1745
1745
|
created_at?: string;
|
|
1746
|
-
customer_id
|
|
1746
|
+
customer_id: string;
|
|
1747
1747
|
external_key?: string | null;
|
|
1748
1748
|
external_provider?: string | null;
|
|
1749
1749
|
floriday_location_id?: string | null;
|
|
@@ -1767,7 +1767,7 @@ export type Database = {
|
|
|
1767
1767
|
city?: string | null;
|
|
1768
1768
|
country?: string | null;
|
|
1769
1769
|
created_at?: string;
|
|
1770
|
-
customer_id?: string
|
|
1770
|
+
customer_id?: string;
|
|
1771
1771
|
external_key?: string | null;
|
|
1772
1772
|
external_provider?: string | null;
|
|
1773
1773
|
floriday_location_id?: string | null;
|
|
@@ -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
|
};
|
|
@@ -10052,6 +10235,36 @@ export type Database = {
|
|
|
10052
10235
|
};
|
|
10053
10236
|
Relationships: [];
|
|
10054
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
|
+
};
|
|
10055
10268
|
module_permissions: {
|
|
10056
10269
|
Row: {
|
|
10057
10270
|
created_at: string;
|
|
@@ -10079,6 +10292,36 @@ export type Database = {
|
|
|
10079
10292
|
};
|
|
10080
10293
|
Relationships: [];
|
|
10081
10294
|
};
|
|
10295
|
+
module_registry: {
|
|
10296
|
+
Row: {
|
|
10297
|
+
created_at: string;
|
|
10298
|
+
is_active: boolean;
|
|
10299
|
+
last_seen_at: string;
|
|
10300
|
+
module_id: string;
|
|
10301
|
+
name: string;
|
|
10302
|
+
shell_id: string | null;
|
|
10303
|
+
sort_order: number | null;
|
|
10304
|
+
};
|
|
10305
|
+
Insert: {
|
|
10306
|
+
created_at?: string;
|
|
10307
|
+
is_active?: boolean;
|
|
10308
|
+
last_seen_at?: string;
|
|
10309
|
+
module_id: string;
|
|
10310
|
+
name: string;
|
|
10311
|
+
shell_id?: string | null;
|
|
10312
|
+
sort_order?: number | null;
|
|
10313
|
+
};
|
|
10314
|
+
Update: {
|
|
10315
|
+
created_at?: string;
|
|
10316
|
+
is_active?: boolean;
|
|
10317
|
+
last_seen_at?: string;
|
|
10318
|
+
module_id?: string;
|
|
10319
|
+
name?: string;
|
|
10320
|
+
shell_id?: string | null;
|
|
10321
|
+
sort_order?: number | null;
|
|
10322
|
+
};
|
|
10323
|
+
Relationships: [];
|
|
10324
|
+
};
|
|
10082
10325
|
module_runtime_config: {
|
|
10083
10326
|
Row: {
|
|
10084
10327
|
key: string;
|
|
@@ -11175,6 +11418,45 @@ export type Database = {
|
|
|
11175
11418
|
};
|
|
11176
11419
|
Relationships: [];
|
|
11177
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
|
+
};
|
|
11178
11460
|
order_items: {
|
|
11179
11461
|
Row: {
|
|
11180
11462
|
crates_per_layer: number | null;
|
|
@@ -11366,6 +11648,7 @@ export type Database = {
|
|
|
11366
11648
|
delivery_date: string | null;
|
|
11367
11649
|
floriday_sales_order_id: string | null;
|
|
11368
11650
|
id: string;
|
|
11651
|
+
invoice_due_at: string | null;
|
|
11369
11652
|
is_reservation: boolean;
|
|
11370
11653
|
notes: string | null;
|
|
11371
11654
|
order_date: string;
|
|
@@ -11387,6 +11670,7 @@ export type Database = {
|
|
|
11387
11670
|
delivery_date?: string | null;
|
|
11388
11671
|
floriday_sales_order_id?: string | null;
|
|
11389
11672
|
id?: string;
|
|
11673
|
+
invoice_due_at?: string | null;
|
|
11390
11674
|
is_reservation?: boolean;
|
|
11391
11675
|
notes?: string | null;
|
|
11392
11676
|
order_date?: string;
|
|
@@ -11408,6 +11692,7 @@ export type Database = {
|
|
|
11408
11692
|
delivery_date?: string | null;
|
|
11409
11693
|
floriday_sales_order_id?: string | null;
|
|
11410
11694
|
id?: string;
|
|
11695
|
+
invoice_due_at?: string | null;
|
|
11411
11696
|
is_reservation?: boolean;
|
|
11412
11697
|
notes?: string | null;
|
|
11413
11698
|
order_date?: string;
|
|
@@ -12648,22 +12933,27 @@ export type Database = {
|
|
|
12648
12933
|
created_at: string;
|
|
12649
12934
|
documentnaam: string;
|
|
12650
12935
|
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
12936
|
+
extern_job_id: string | null;
|
|
12651
12937
|
foutmelding: string | null;
|
|
12652
12938
|
gebruiker_id: string | null;
|
|
12653
12939
|
gebruiker_naam: string;
|
|
12654
12940
|
gestart_op: string | null;
|
|
12655
12941
|
id: string;
|
|
12942
|
+
idempotentie_sleutel: string | null;
|
|
12656
12943
|
is_herprint: boolean;
|
|
12657
12944
|
kopieen: number;
|
|
12658
12945
|
layout_id: string | null;
|
|
12659
12946
|
opgepakt_op: string | null;
|
|
12660
12947
|
paginas: number;
|
|
12661
12948
|
payload: Json;
|
|
12949
|
+
pdf_base64: string | null;
|
|
12950
|
+
pdf_url: string | null;
|
|
12662
12951
|
pogingen: number;
|
|
12663
12952
|
printer_id: string | null;
|
|
12664
12953
|
render_html: string | null;
|
|
12665
12954
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
12666
12955
|
updated_at: string;
|
|
12956
|
+
volgende_poging: string | null;
|
|
12667
12957
|
voltooid_op: string | null;
|
|
12668
12958
|
};
|
|
12669
12959
|
Insert: {
|
|
@@ -12672,22 +12962,27 @@ export type Database = {
|
|
|
12672
12962
|
created_at?: string;
|
|
12673
12963
|
documentnaam?: string;
|
|
12674
12964
|
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
12965
|
+
extern_job_id?: string | null;
|
|
12675
12966
|
foutmelding?: string | null;
|
|
12676
12967
|
gebruiker_id?: string | null;
|
|
12677
12968
|
gebruiker_naam?: string;
|
|
12678
12969
|
gestart_op?: string | null;
|
|
12679
12970
|
id?: string;
|
|
12971
|
+
idempotentie_sleutel?: string | null;
|
|
12680
12972
|
is_herprint?: boolean;
|
|
12681
12973
|
kopieen?: number;
|
|
12682
12974
|
layout_id?: string | null;
|
|
12683
12975
|
opgepakt_op?: string | null;
|
|
12684
12976
|
paginas?: number;
|
|
12685
12977
|
payload?: Json;
|
|
12978
|
+
pdf_base64?: string | null;
|
|
12979
|
+
pdf_url?: string | null;
|
|
12686
12980
|
pogingen?: number;
|
|
12687
12981
|
printer_id?: string | null;
|
|
12688
12982
|
render_html?: string | null;
|
|
12689
12983
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
12690
12984
|
updated_at?: string;
|
|
12985
|
+
volgende_poging?: string | null;
|
|
12691
12986
|
voltooid_op?: string | null;
|
|
12692
12987
|
};
|
|
12693
12988
|
Update: {
|
|
@@ -12696,22 +12991,27 @@ export type Database = {
|
|
|
12696
12991
|
created_at?: string;
|
|
12697
12992
|
documentnaam?: string;
|
|
12698
12993
|
documenttype?: Database["public"]["Enums"]["doc_layout_type"];
|
|
12994
|
+
extern_job_id?: string | null;
|
|
12699
12995
|
foutmelding?: string | null;
|
|
12700
12996
|
gebruiker_id?: string | null;
|
|
12701
12997
|
gebruiker_naam?: string;
|
|
12702
12998
|
gestart_op?: string | null;
|
|
12703
12999
|
id?: string;
|
|
13000
|
+
idempotentie_sleutel?: string | null;
|
|
12704
13001
|
is_herprint?: boolean;
|
|
12705
13002
|
kopieen?: number;
|
|
12706
13003
|
layout_id?: string | null;
|
|
12707
13004
|
opgepakt_op?: string | null;
|
|
12708
13005
|
paginas?: number;
|
|
12709
13006
|
payload?: Json;
|
|
13007
|
+
pdf_base64?: string | null;
|
|
13008
|
+
pdf_url?: string | null;
|
|
12710
13009
|
pogingen?: number;
|
|
12711
13010
|
printer_id?: string | null;
|
|
12712
13011
|
render_html?: string | null;
|
|
12713
13012
|
status?: Database["public"]["Enums"]["print_job_status"];
|
|
12714
13013
|
updated_at?: string;
|
|
13014
|
+
volgende_poging?: string | null;
|
|
12715
13015
|
voltooid_op?: string | null;
|
|
12716
13016
|
};
|
|
12717
13017
|
Relationships: [
|
|
@@ -12738,6 +13038,72 @@ export type Database = {
|
|
|
12738
13038
|
}
|
|
12739
13039
|
];
|
|
12740
13040
|
};
|
|
13041
|
+
print_queue_runners: {
|
|
13042
|
+
Row: {
|
|
13043
|
+
actief: boolean;
|
|
13044
|
+
basis_url: string;
|
|
13045
|
+
created_at: string;
|
|
13046
|
+
id: string;
|
|
13047
|
+
laatst_gezien: string;
|
|
13048
|
+
laatste_fout: string | null;
|
|
13049
|
+
laatste_request_id: number | null;
|
|
13050
|
+
mislukte_posts: number;
|
|
13051
|
+
tick_sleutel: string;
|
|
13052
|
+
updated_at: string;
|
|
13053
|
+
};
|
|
13054
|
+
Insert: {
|
|
13055
|
+
actief?: boolean;
|
|
13056
|
+
basis_url: string;
|
|
13057
|
+
created_at?: string;
|
|
13058
|
+
id?: string;
|
|
13059
|
+
laatst_gezien?: string;
|
|
13060
|
+
laatste_fout?: string | null;
|
|
13061
|
+
laatste_request_id?: number | null;
|
|
13062
|
+
mislukte_posts?: number;
|
|
13063
|
+
tick_sleutel?: string;
|
|
13064
|
+
updated_at?: string;
|
|
13065
|
+
};
|
|
13066
|
+
Update: {
|
|
13067
|
+
actief?: boolean;
|
|
13068
|
+
basis_url?: string;
|
|
13069
|
+
created_at?: string;
|
|
13070
|
+
id?: string;
|
|
13071
|
+
laatst_gezien?: string;
|
|
13072
|
+
laatste_fout?: string | null;
|
|
13073
|
+
laatste_request_id?: number | null;
|
|
13074
|
+
mislukte_posts?: number;
|
|
13075
|
+
tick_sleutel?: string;
|
|
13076
|
+
updated_at?: string;
|
|
13077
|
+
};
|
|
13078
|
+
Relationships: [];
|
|
13079
|
+
};
|
|
13080
|
+
print_queue_settings: {
|
|
13081
|
+
Row: {
|
|
13082
|
+
bewaar_bestanden_dagen: number;
|
|
13083
|
+
bewaar_opdrachten_dagen: number;
|
|
13084
|
+
created_at: string;
|
|
13085
|
+
dubbel_venster_minuten: number;
|
|
13086
|
+
id: string;
|
|
13087
|
+
updated_at: string;
|
|
13088
|
+
};
|
|
13089
|
+
Insert: {
|
|
13090
|
+
bewaar_bestanden_dagen?: number;
|
|
13091
|
+
bewaar_opdrachten_dagen?: number;
|
|
13092
|
+
created_at?: string;
|
|
13093
|
+
dubbel_venster_minuten?: number;
|
|
13094
|
+
id?: string;
|
|
13095
|
+
updated_at?: string;
|
|
13096
|
+
};
|
|
13097
|
+
Update: {
|
|
13098
|
+
bewaar_bestanden_dagen?: number;
|
|
13099
|
+
bewaar_opdrachten_dagen?: number;
|
|
13100
|
+
created_at?: string;
|
|
13101
|
+
dubbel_venster_minuten?: number;
|
|
13102
|
+
id?: string;
|
|
13103
|
+
updated_at?: string;
|
|
13104
|
+
};
|
|
13105
|
+
Relationships: [];
|
|
13106
|
+
};
|
|
12741
13107
|
print_rules: {
|
|
12742
13108
|
Row: {
|
|
12743
13109
|
actief: boolean;
|
|
@@ -12906,6 +13272,7 @@ export type Database = {
|
|
|
12906
13272
|
agent_id: string | null;
|
|
12907
13273
|
created_at: string;
|
|
12908
13274
|
driver: string;
|
|
13275
|
+
extern_printer_id: string | null;
|
|
12909
13276
|
id: string;
|
|
12910
13277
|
ip_adres: string | null;
|
|
12911
13278
|
laatst_gezien: string | null;
|
|
@@ -12927,6 +13294,7 @@ export type Database = {
|
|
|
12927
13294
|
agent_id?: string | null;
|
|
12928
13295
|
created_at?: string;
|
|
12929
13296
|
driver?: string;
|
|
13297
|
+
extern_printer_id?: string | null;
|
|
12930
13298
|
id?: string;
|
|
12931
13299
|
ip_adres?: string | null;
|
|
12932
13300
|
laatst_gezien?: string | null;
|
|
@@ -12948,6 +13316,7 @@ export type Database = {
|
|
|
12948
13316
|
agent_id?: string | null;
|
|
12949
13317
|
created_at?: string;
|
|
12950
13318
|
driver?: string;
|
|
13319
|
+
extern_printer_id?: string | null;
|
|
12951
13320
|
id?: string;
|
|
12952
13321
|
ip_adres?: string | null;
|
|
12953
13322
|
laatst_gezien?: string | null;
|
|
@@ -14267,12 +14636,106 @@ export type Database = {
|
|
|
14267
14636
|
}
|
|
14268
14637
|
];
|
|
14269
14638
|
};
|
|
14270
|
-
|
|
14639
|
+
role_assignments: {
|
|
14271
14640
|
Row: {
|
|
14272
|
-
capacity: number;
|
|
14273
|
-
color_code: string | null;
|
|
14274
14641
|
created_at: string;
|
|
14275
|
-
|
|
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
|
+
};
|
|
14733
|
+
rooms: {
|
|
14734
|
+
Row: {
|
|
14735
|
+
capacity: number;
|
|
14736
|
+
color_code: string | null;
|
|
14737
|
+
created_at: string;
|
|
14738
|
+
description: string | null;
|
|
14276
14739
|
hourly_rate: number;
|
|
14277
14740
|
id: string;
|
|
14278
14741
|
image_url: string | null;
|
|
@@ -15658,6 +16121,8 @@ export type Database = {
|
|
|
15658
16121
|
};
|
|
15659
16122
|
twinfield_invoice_settings: {
|
|
15660
16123
|
Row: {
|
|
16124
|
+
auto_invoice_enabled: boolean;
|
|
16125
|
+
auto_invoice_trigger_statuses: string[];
|
|
15661
16126
|
created_at: string;
|
|
15662
16127
|
debtor_gl_account: string;
|
|
15663
16128
|
default_credit_invoice_type: string | null;
|
|
@@ -15678,6 +16143,8 @@ export type Database = {
|
|
|
15678
16143
|
vat_code_export: string | null;
|
|
15679
16144
|
};
|
|
15680
16145
|
Insert: {
|
|
16146
|
+
auto_invoice_enabled?: boolean;
|
|
16147
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15681
16148
|
created_at?: string;
|
|
15682
16149
|
debtor_gl_account?: string;
|
|
15683
16150
|
default_credit_invoice_type?: string | null;
|
|
@@ -15698,6 +16165,8 @@ export type Database = {
|
|
|
15698
16165
|
vat_code_export?: string | null;
|
|
15699
16166
|
};
|
|
15700
16167
|
Update: {
|
|
16168
|
+
auto_invoice_enabled?: boolean;
|
|
16169
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15701
16170
|
created_at?: string;
|
|
15702
16171
|
debtor_gl_account?: string;
|
|
15703
16172
|
default_credit_invoice_type?: string | null;
|
|
@@ -16786,6 +17255,36 @@ export type Database = {
|
|
|
16786
17255
|
}
|
|
16787
17256
|
];
|
|
16788
17257
|
};
|
|
17258
|
+
user_module_permissions: {
|
|
17259
|
+
Row: {
|
|
17260
|
+
created_at: string;
|
|
17261
|
+
feature_id: string;
|
|
17262
|
+
id: string;
|
|
17263
|
+
module_id: string;
|
|
17264
|
+
permission: string;
|
|
17265
|
+
updated_at: string;
|
|
17266
|
+
user_id: string;
|
|
17267
|
+
};
|
|
17268
|
+
Insert: {
|
|
17269
|
+
created_at?: string;
|
|
17270
|
+
feature_id?: string;
|
|
17271
|
+
id?: string;
|
|
17272
|
+
module_id: string;
|
|
17273
|
+
permission: string;
|
|
17274
|
+
updated_at?: string;
|
|
17275
|
+
user_id: string;
|
|
17276
|
+
};
|
|
17277
|
+
Update: {
|
|
17278
|
+
created_at?: string;
|
|
17279
|
+
feature_id?: string;
|
|
17280
|
+
id?: string;
|
|
17281
|
+
module_id?: string;
|
|
17282
|
+
permission?: string;
|
|
17283
|
+
updated_at?: string;
|
|
17284
|
+
user_id?: string;
|
|
17285
|
+
};
|
|
17286
|
+
Relationships: [];
|
|
17287
|
+
};
|
|
16789
17288
|
user_roles: {
|
|
16790
17289
|
Row: {
|
|
16791
17290
|
created_at: string;
|
|
@@ -18661,6 +19160,10 @@ export type Database = {
|
|
|
18661
19160
|
processed_items: number;
|
|
18662
19161
|
}[];
|
|
18663
19162
|
};
|
|
19163
|
+
backfill_order_auto_invoice_queue: {
|
|
19164
|
+
Args: never;
|
|
19165
|
+
Returns: number;
|
|
19166
|
+
};
|
|
18664
19167
|
calculate_layer_stock: {
|
|
18665
19168
|
Args: {
|
|
18666
19169
|
p_product_id: string;
|
|
@@ -18695,6 +19198,46 @@ export type Database = {
|
|
|
18695
19198
|
};
|
|
18696
19199
|
Returns: Json;
|
|
18697
19200
|
};
|
|
19201
|
+
claim_cloud_print_jobs: {
|
|
19202
|
+
Args: {
|
|
19203
|
+
_max?: number;
|
|
19204
|
+
};
|
|
19205
|
+
Returns: {
|
|
19206
|
+
agent_id: string | null;
|
|
19207
|
+
bron_job_id: string | null;
|
|
19208
|
+
created_at: string;
|
|
19209
|
+
documentnaam: string;
|
|
19210
|
+
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
19211
|
+
extern_job_id: string | null;
|
|
19212
|
+
foutmelding: string | null;
|
|
19213
|
+
gebruiker_id: string | null;
|
|
19214
|
+
gebruiker_naam: string;
|
|
19215
|
+
gestart_op: string | null;
|
|
19216
|
+
id: string;
|
|
19217
|
+
idempotentie_sleutel: string | null;
|
|
19218
|
+
is_herprint: boolean;
|
|
19219
|
+
kopieen: number;
|
|
19220
|
+
layout_id: string | null;
|
|
19221
|
+
opgepakt_op: string | null;
|
|
19222
|
+
paginas: number;
|
|
19223
|
+
payload: Json;
|
|
19224
|
+
pdf_base64: string | null;
|
|
19225
|
+
pdf_url: string | null;
|
|
19226
|
+
pogingen: number;
|
|
19227
|
+
printer_id: string | null;
|
|
19228
|
+
render_html: string | null;
|
|
19229
|
+
status: Database["public"]["Enums"]["print_job_status"];
|
|
19230
|
+
updated_at: string;
|
|
19231
|
+
volgende_poging: string | null;
|
|
19232
|
+
voltooid_op: string | null;
|
|
19233
|
+
}[];
|
|
19234
|
+
SetofOptions: {
|
|
19235
|
+
from: "*";
|
|
19236
|
+
to: "print_jobs";
|
|
19237
|
+
isOneToOne: false;
|
|
19238
|
+
isSetofReturn: true;
|
|
19239
|
+
};
|
|
19240
|
+
};
|
|
18698
19241
|
claim_floriday_stock_queue: {
|
|
18699
19242
|
Args: {
|
|
18700
19243
|
p_limit?: number;
|
|
@@ -18785,22 +19328,27 @@ export type Database = {
|
|
|
18785
19328
|
created_at: string;
|
|
18786
19329
|
documentnaam: string;
|
|
18787
19330
|
documenttype: Database["public"]["Enums"]["doc_layout_type"];
|
|
19331
|
+
extern_job_id: string | null;
|
|
18788
19332
|
foutmelding: string | null;
|
|
18789
19333
|
gebruiker_id: string | null;
|
|
18790
19334
|
gebruiker_naam: string;
|
|
18791
19335
|
gestart_op: string | null;
|
|
18792
19336
|
id: string;
|
|
19337
|
+
idempotentie_sleutel: string | null;
|
|
18793
19338
|
is_herprint: boolean;
|
|
18794
19339
|
kopieen: number;
|
|
18795
19340
|
layout_id: string | null;
|
|
18796
19341
|
opgepakt_op: string | null;
|
|
18797
19342
|
paginas: number;
|
|
18798
19343
|
payload: Json;
|
|
19344
|
+
pdf_base64: string | null;
|
|
19345
|
+
pdf_url: string | null;
|
|
18799
19346
|
pogingen: number;
|
|
18800
19347
|
printer_id: string | null;
|
|
18801
19348
|
render_html: string | null;
|
|
18802
19349
|
status: Database["public"]["Enums"]["print_job_status"];
|
|
18803
19350
|
updated_at: string;
|
|
19351
|
+
volgende_poging: string | null;
|
|
18804
19352
|
voltooid_op: string | null;
|
|
18805
19353
|
}[];
|
|
18806
19354
|
SetofOptions: {
|
|
@@ -18846,6 +19394,10 @@ export type Database = {
|
|
|
18846
19394
|
Args: never;
|
|
18847
19395
|
Returns: undefined;
|
|
18848
19396
|
};
|
|
19397
|
+
cleanup_voorraad_module_history: {
|
|
19398
|
+
Args: never;
|
|
19399
|
+
Returns: undefined;
|
|
19400
|
+
};
|
|
18849
19401
|
complete_floriday_stock_queue: {
|
|
18850
19402
|
Args: {
|
|
18851
19403
|
p_attempt_id?: string;
|
|
@@ -18967,6 +19519,20 @@ export type Database = {
|
|
|
18967
19519
|
};
|
|
18968
19520
|
Returns: Json;
|
|
18969
19521
|
};
|
|
19522
|
+
effective_module_permission: {
|
|
19523
|
+
Args: {
|
|
19524
|
+
_module_id: string;
|
|
19525
|
+
_user_id: string;
|
|
19526
|
+
};
|
|
19527
|
+
Returns: string;
|
|
19528
|
+
} | {
|
|
19529
|
+
Args: {
|
|
19530
|
+
_feature_id?: string;
|
|
19531
|
+
_module_id: string;
|
|
19532
|
+
_user_id: string;
|
|
19533
|
+
};
|
|
19534
|
+
Returns: string;
|
|
19535
|
+
};
|
|
18970
19536
|
email_auth_decrypt: {
|
|
18971
19537
|
Args: {
|
|
18972
19538
|
cipher: string;
|
|
@@ -19770,6 +20336,51 @@ export type Database = {
|
|
|
19770
20336
|
isSetofReturn: false;
|
|
19771
20337
|
};
|
|
19772
20338
|
};
|
|
20339
|
+
logistics_floriday_claim_pushes: {
|
|
20340
|
+
Args: {
|
|
20341
|
+
_lease_seconds?: number;
|
|
20342
|
+
_limit?: number;
|
|
20343
|
+
_worker?: string;
|
|
20344
|
+
};
|
|
20345
|
+
Returns: {
|
|
20346
|
+
attempts: number;
|
|
20347
|
+
fulfillment_order_id: string;
|
|
20348
|
+
id: string;
|
|
20349
|
+
last_sent_hash: string;
|
|
20350
|
+
order_ref: string;
|
|
20351
|
+
payload: Json;
|
|
20352
|
+
payload_hash: string;
|
|
20353
|
+
revision: number;
|
|
20354
|
+
}[];
|
|
20355
|
+
};
|
|
20356
|
+
logistics_floriday_finish_push: {
|
|
20357
|
+
Args: {
|
|
20358
|
+
_error?: string;
|
|
20359
|
+
_fulfillment_order_id?: string;
|
|
20360
|
+
_id: string;
|
|
20361
|
+
_max_age_hours?: number;
|
|
20362
|
+
_max_attempts?: number;
|
|
20363
|
+
_ok: boolean;
|
|
20364
|
+
_permanent?: boolean;
|
|
20365
|
+
_revision: number;
|
|
20366
|
+
_sent_hash?: string;
|
|
20367
|
+
};
|
|
20368
|
+
Returns: string;
|
|
20369
|
+
};
|
|
20370
|
+
logistics_floriday_prune_pushes: {
|
|
20371
|
+
Args: {
|
|
20372
|
+
_days?: number;
|
|
20373
|
+
};
|
|
20374
|
+
Returns: number;
|
|
20375
|
+
};
|
|
20376
|
+
logistics_floriday_queue_push: {
|
|
20377
|
+
Args: {
|
|
20378
|
+
_order_ref: string;
|
|
20379
|
+
_payload?: Json;
|
|
20380
|
+
_payload_hash?: string;
|
|
20381
|
+
};
|
|
20382
|
+
Returns: string;
|
|
20383
|
+
};
|
|
19773
20384
|
logistics_live_carriers: {
|
|
19774
20385
|
Args: {
|
|
19775
20386
|
p_order_ref: string;
|
|
@@ -19822,6 +20433,65 @@ export type Database = {
|
|
|
19822
20433
|
};
|
|
19823
20434
|
Returns: number;
|
|
19824
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
|
+
};
|
|
19825
20495
|
logistics_queue_capacity_email: {
|
|
19826
20496
|
Args: {
|
|
19827
20497
|
p_alert_id: string;
|
|
@@ -20060,6 +20730,14 @@ export type Database = {
|
|
|
20060
20730
|
};
|
|
20061
20731
|
Returns: undefined;
|
|
20062
20732
|
};
|
|
20733
|
+
my_module_permissions: {
|
|
20734
|
+
Args: never;
|
|
20735
|
+
Returns: {
|
|
20736
|
+
feature_id: string;
|
|
20737
|
+
module_id: string;
|
|
20738
|
+
permission: string;
|
|
20739
|
+
}[];
|
|
20740
|
+
};
|
|
20063
20741
|
next_manufacture_partij: {
|
|
20064
20742
|
Args: {
|
|
20065
20743
|
_tenant_id: string;
|
|
@@ -20110,6 +20788,13 @@ export type Database = {
|
|
|
20110
20788
|
};
|
|
20111
20789
|
Returns: boolean;
|
|
20112
20790
|
};
|
|
20791
|
+
opruim_print_historie: {
|
|
20792
|
+
Args: never;
|
|
20793
|
+
Returns: {
|
|
20794
|
+
ontdaan: number;
|
|
20795
|
+
verwijderd: number;
|
|
20796
|
+
}[];
|
|
20797
|
+
};
|
|
20113
20798
|
order_number_prefix: {
|
|
20114
20799
|
Args: {
|
|
20115
20800
|
p_custom_fields?: Json;
|
|
@@ -20117,6 +20802,15 @@ export type Database = {
|
|
|
20117
20802
|
};
|
|
20118
20803
|
Returns: string;
|
|
20119
20804
|
};
|
|
20805
|
+
pick_active_printers: {
|
|
20806
|
+
Args: never;
|
|
20807
|
+
Returns: {
|
|
20808
|
+
id: string;
|
|
20809
|
+
locatie: string;
|
|
20810
|
+
naam: string;
|
|
20811
|
+
online: boolean;
|
|
20812
|
+
}[];
|
|
20813
|
+
};
|
|
20120
20814
|
pick_claim_document: {
|
|
20121
20815
|
Args: {
|
|
20122
20816
|
_queue_item_id: string;
|
|
@@ -20303,6 +20997,52 @@ export type Database = {
|
|
|
20303
20997
|
};
|
|
20304
20998
|
Returns: undefined;
|
|
20305
20999
|
};
|
|
21000
|
+
pick_reset_print: {
|
|
21001
|
+
Args: {
|
|
21002
|
+
_queue_item_id: string;
|
|
21003
|
+
_session_id: string;
|
|
21004
|
+
};
|
|
21005
|
+
Returns: {
|
|
21006
|
+
announced_at: string;
|
|
21007
|
+
assigned_user_id: string | null;
|
|
21008
|
+
barcode: string | null;
|
|
21009
|
+
cancelled_at: string | null;
|
|
21010
|
+
cart_count: number;
|
|
21011
|
+
completed_at: string | null;
|
|
21012
|
+
country_code: string | null;
|
|
21013
|
+
created_at: string;
|
|
21014
|
+
customer_name: string | null;
|
|
21015
|
+
delivery_address: string | null;
|
|
21016
|
+
document_number: string | null;
|
|
21017
|
+
document_type_id: string | null;
|
|
21018
|
+
due_at: string | null;
|
|
21019
|
+
id: string;
|
|
21020
|
+
is_urgent: boolean;
|
|
21021
|
+
line_count: number;
|
|
21022
|
+
order_number: string | null;
|
|
21023
|
+
order_type: string | null;
|
|
21024
|
+
payload: Json;
|
|
21025
|
+
print_count: number;
|
|
21026
|
+
print_job_id: string | null;
|
|
21027
|
+
printed_at: string | null;
|
|
21028
|
+
printed_by: string | null;
|
|
21029
|
+
printer_id: string | null;
|
|
21030
|
+
priority: number;
|
|
21031
|
+
reference: string | null;
|
|
21032
|
+
route: string | null;
|
|
21033
|
+
screen_id: string | null;
|
|
21034
|
+
station_id: string | null;
|
|
21035
|
+
status_id: string | null;
|
|
21036
|
+
updated_at: string;
|
|
21037
|
+
warnings: Json;
|
|
21038
|
+
};
|
|
21039
|
+
SetofOptions: {
|
|
21040
|
+
from: "*";
|
|
21041
|
+
to: "pick_queue";
|
|
21042
|
+
isOneToOne: true;
|
|
21043
|
+
isSetofReturn: false;
|
|
21044
|
+
};
|
|
21045
|
+
};
|
|
20306
21046
|
pick_station_dashboard: {
|
|
20307
21047
|
Args: never;
|
|
20308
21048
|
Returns: {
|
|
@@ -20449,6 +21189,12 @@ export type Database = {
|
|
|
20449
21189
|
};
|
|
20450
21190
|
Returns: undefined;
|
|
20451
21191
|
};
|
|
21192
|
+
reset_stalled_floriday_stock_queue: {
|
|
21193
|
+
Args: {
|
|
21194
|
+
p_include_failed?: boolean;
|
|
21195
|
+
};
|
|
21196
|
+
Returns: number;
|
|
21197
|
+
};
|
|
20452
21198
|
resolve_group_allocation: {
|
|
20453
21199
|
Args: {
|
|
20454
21200
|
_needed: number;
|
|
@@ -20493,14 +21239,28 @@ export type Database = {
|
|
|
20493
21239
|
};
|
|
20494
21240
|
Returns: Json;
|
|
20495
21241
|
};
|
|
21242
|
+
ruim_print_jobs_op: {
|
|
21243
|
+
Args: {
|
|
21244
|
+
_bewaar_dagen?: number;
|
|
21245
|
+
};
|
|
21246
|
+
Returns: number;
|
|
21247
|
+
};
|
|
20496
21248
|
run_floriday_continuous_stock_sync: {
|
|
20497
21249
|
Args: never;
|
|
20498
21250
|
Returns: undefined;
|
|
20499
21251
|
};
|
|
21252
|
+
run_floriday_stock_queue_process: {
|
|
21253
|
+
Args: never;
|
|
21254
|
+
Returns: undefined;
|
|
21255
|
+
};
|
|
20500
21256
|
run_logistics_tasks_dispatch: {
|
|
20501
21257
|
Args: never;
|
|
20502
21258
|
Returns: undefined;
|
|
20503
21259
|
};
|
|
21260
|
+
run_print_queue_ticks: {
|
|
21261
|
+
Args: never;
|
|
21262
|
+
Returns: number;
|
|
21263
|
+
};
|
|
20504
21264
|
run_twinfield_queue_tick: {
|
|
20505
21265
|
Args: never;
|
|
20506
21266
|
Returns: undefined;
|
|
@@ -20888,6 +21648,15 @@ export type Database = {
|
|
|
20888
21648
|
};
|
|
20889
21649
|
Returns: undefined;
|
|
20890
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
|
+
};
|
|
20891
21660
|
try_debtor_lock: {
|
|
20892
21661
|
Args: {
|
|
20893
21662
|
_group_key: string;
|
|
@@ -20937,7 +21706,7 @@ export type Database = {
|
|
|
20937
21706
|
};
|
|
20938
21707
|
Enums: {
|
|
20939
21708
|
ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
|
|
20940
|
-
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
21709
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
|
|
20941
21710
|
doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon";
|
|
20942
21711
|
doc_orientation: "portrait" | "landscape";
|
|
20943
21712
|
exact_env: "staging" | "live";
|
|
@@ -21008,7 +21777,7 @@ export declare const Constants: {
|
|
|
21008
21777
|
readonly public: {
|
|
21009
21778
|
readonly Enums: {
|
|
21010
21779
|
readonly ai_import_status: readonly ["nieuw", "verwerken", "bevestigen", "klaar", "mislukt"];
|
|
21011
|
-
readonly app_role: readonly ["admin", "planner", "monteur", "administratie", "ai_admin"];
|
|
21780
|
+
readonly app_role: readonly ["admin", "planner", "monteur", "administratie", "ai_admin", "manager", "warehouse", "sales", "developer", "receptie"];
|
|
21012
21781
|
readonly doc_layout_type: readonly ["pakbon", "factuur", "offerte", "orderbevestiging", "etiket", "verzendlabel", "productlabel", "barcode_label", "magazijnlijst", "controlelijst", "transportdocument", "vrij", "sticker", "productiebon"];
|
|
21013
21782
|
readonly doc_orientation: readonly ["portrait", "landscape"];
|
|
21014
21783
|
readonly exact_env: readonly ["staging", "live"];
|