@flowselections/logistiek-engine 1.0.5 → 1.0.7
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/LogistiekEnginePage.d.ts.map +1 -1
- package/dist-lib/components/LogistiekEnginePage.js +19 -4
- package/dist-lib/components/StrategieDialog.d.ts.map +1 -1
- package/dist-lib/components/StrategieDialog.js +1 -1
- package/dist-lib/hooks/useLogistiekStrategieen.d.ts +2 -1
- package/dist-lib/hooks/useLogistiekStrategieen.d.ts.map +1 -1
- package/dist-lib/hooks/useLogistiekStrategieen.js +72 -2
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +396 -3
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +396 -3
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +396 -3
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +396 -3
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floridayDocuments.functions.d.ts +1188 -9
- package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
- package/dist-lib/lib/floridayPush.functions.d.ts +396 -3
- package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
- package/dist-lib/lib/handlers/logistics-tick.server.d.ts.map +1 -1
- package/dist-lib/lib/handlers/logistics-tick.server.js +12 -1
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +1980 -15
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +792 -6
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts +396 -3
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
- package/dist-lib/lib/modulePrompts.d.ts.map +1 -1
- package/dist-lib/lib/modulePrompts.js +25 -0
- package/dist-lib/lib/planQueue.server.d.ts +17 -0
- package/dist-lib/lib/planQueue.server.d.ts.map +1 -0
- package/dist-lib/lib/planQueue.server.js +124 -0
- package/package.json +1 -1
|
@@ -1683,7 +1683,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
1683
1683
|
city: string | null;
|
|
1684
1684
|
country: string | null;
|
|
1685
1685
|
created_at: string;
|
|
1686
|
-
customer_id: string
|
|
1686
|
+
customer_id: string;
|
|
1687
1687
|
external_key: string | null;
|
|
1688
1688
|
external_provider: string | null;
|
|
1689
1689
|
floriday_location_id: string | null;
|
|
@@ -1707,7 +1707,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
1707
1707
|
city?: string | null;
|
|
1708
1708
|
country?: string | null;
|
|
1709
1709
|
created_at?: string;
|
|
1710
|
-
customer_id
|
|
1710
|
+
customer_id: string;
|
|
1711
1711
|
external_key?: string | null;
|
|
1712
1712
|
external_provider?: string | null;
|
|
1713
1713
|
floriday_location_id?: string | null;
|
|
@@ -1731,7 +1731,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
1731
1731
|
city?: string | null;
|
|
1732
1732
|
country?: string | null;
|
|
1733
1733
|
created_at?: string;
|
|
1734
|
-
customer_id?: string
|
|
1734
|
+
customer_id?: string;
|
|
1735
1735
|
external_key?: string | null;
|
|
1736
1736
|
external_provider?: string | null;
|
|
1737
1737
|
floriday_location_id?: string | null;
|
|
@@ -6479,6 +6479,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
6479
6479
|
Row: {
|
|
6480
6480
|
buyer_organization_id: string | null;
|
|
6481
6481
|
connection_id: string;
|
|
6482
|
+
controlled_at: string | null;
|
|
6482
6483
|
created_at: string;
|
|
6483
6484
|
data: import("../integrations/supabase/types").Json;
|
|
6484
6485
|
floriday_id: string;
|
|
@@ -6490,6 +6491,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
6490
6491
|
Insert: {
|
|
6491
6492
|
buyer_organization_id?: string | null;
|
|
6492
6493
|
connection_id: string;
|
|
6494
|
+
controlled_at?: string | null;
|
|
6493
6495
|
created_at?: string;
|
|
6494
6496
|
data: import("../integrations/supabase/types").Json;
|
|
6495
6497
|
floriday_id: string;
|
|
@@ -6501,6 +6503,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
6501
6503
|
Update: {
|
|
6502
6504
|
buyer_organization_id?: string | null;
|
|
6503
6505
|
connection_id?: string;
|
|
6506
|
+
controlled_at?: string | null;
|
|
6504
6507
|
created_at?: string;
|
|
6505
6508
|
data?: import("../integrations/supabase/types").Json;
|
|
6506
6509
|
floriday_id?: string;
|
|
@@ -7402,6 +7405,54 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
7402
7405
|
};
|
|
7403
7406
|
Relationships: [];
|
|
7404
7407
|
};
|
|
7408
|
+
invoice_timing_settings: {
|
|
7409
|
+
Row: {
|
|
7410
|
+
anchor: string;
|
|
7411
|
+
business_days_only: boolean;
|
|
7412
|
+
created_at: string;
|
|
7413
|
+
enabled: boolean;
|
|
7414
|
+
id: string;
|
|
7415
|
+
offset_days: number;
|
|
7416
|
+
pickup_anchor: string;
|
|
7417
|
+
pickup_business_days_only: boolean;
|
|
7418
|
+
pickup_offset_days: number;
|
|
7419
|
+
pickup_time_of_day: string;
|
|
7420
|
+
singleton: boolean;
|
|
7421
|
+
time_of_day: string;
|
|
7422
|
+
updated_at: string;
|
|
7423
|
+
};
|
|
7424
|
+
Insert: {
|
|
7425
|
+
anchor?: string;
|
|
7426
|
+
business_days_only?: boolean;
|
|
7427
|
+
created_at?: string;
|
|
7428
|
+
enabled?: boolean;
|
|
7429
|
+
id?: string;
|
|
7430
|
+
offset_days?: number;
|
|
7431
|
+
pickup_anchor?: string;
|
|
7432
|
+
pickup_business_days_only?: boolean;
|
|
7433
|
+
pickup_offset_days?: number;
|
|
7434
|
+
pickup_time_of_day?: string;
|
|
7435
|
+
singleton?: boolean;
|
|
7436
|
+
time_of_day?: string;
|
|
7437
|
+
updated_at?: string;
|
|
7438
|
+
};
|
|
7439
|
+
Update: {
|
|
7440
|
+
anchor?: string;
|
|
7441
|
+
business_days_only?: boolean;
|
|
7442
|
+
created_at?: string;
|
|
7443
|
+
enabled?: boolean;
|
|
7444
|
+
id?: string;
|
|
7445
|
+
offset_days?: number;
|
|
7446
|
+
pickup_anchor?: string;
|
|
7447
|
+
pickup_business_days_only?: boolean;
|
|
7448
|
+
pickup_offset_days?: number;
|
|
7449
|
+
pickup_time_of_day?: string;
|
|
7450
|
+
singleton?: boolean;
|
|
7451
|
+
time_of_day?: string;
|
|
7452
|
+
updated_at?: string;
|
|
7453
|
+
};
|
|
7454
|
+
Relationships: [];
|
|
7455
|
+
};
|
|
7405
7456
|
itk_contact_persons: {
|
|
7406
7457
|
Row: {
|
|
7407
7458
|
created_at: string;
|
|
@@ -8632,6 +8683,45 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
8632
8683
|
};
|
|
8633
8684
|
Relationships: [];
|
|
8634
8685
|
};
|
|
8686
|
+
logistics_plan_queue: {
|
|
8687
|
+
Row: {
|
|
8688
|
+
attempts: number;
|
|
8689
|
+
claimed_at: string | null;
|
|
8690
|
+
enqueued_at: string;
|
|
8691
|
+
error: string | null;
|
|
8692
|
+
id: string;
|
|
8693
|
+
next_attempt_at: string;
|
|
8694
|
+
order_id: string;
|
|
8695
|
+
reason: string;
|
|
8696
|
+
status: string;
|
|
8697
|
+
updated_at: string;
|
|
8698
|
+
};
|
|
8699
|
+
Insert: {
|
|
8700
|
+
attempts?: number;
|
|
8701
|
+
claimed_at?: string | null;
|
|
8702
|
+
enqueued_at?: string;
|
|
8703
|
+
error?: string | null;
|
|
8704
|
+
id?: string;
|
|
8705
|
+
next_attempt_at?: string;
|
|
8706
|
+
order_id: string;
|
|
8707
|
+
reason?: string;
|
|
8708
|
+
status?: string;
|
|
8709
|
+
updated_at?: string;
|
|
8710
|
+
};
|
|
8711
|
+
Update: {
|
|
8712
|
+
attempts?: number;
|
|
8713
|
+
claimed_at?: string | null;
|
|
8714
|
+
enqueued_at?: string;
|
|
8715
|
+
error?: string | null;
|
|
8716
|
+
id?: string;
|
|
8717
|
+
next_attempt_at?: string;
|
|
8718
|
+
order_id?: string;
|
|
8719
|
+
reason?: string;
|
|
8720
|
+
status?: string;
|
|
8721
|
+
updated_at?: string;
|
|
8722
|
+
};
|
|
8723
|
+
Relationships: [];
|
|
8724
|
+
};
|
|
8635
8725
|
logistics_plan_runs: {
|
|
8636
8726
|
Row: {
|
|
8637
8727
|
created_at: string;
|
|
@@ -8707,6 +8797,24 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
8707
8797
|
referencedColumns: ["id"];
|
|
8708
8798
|
}];
|
|
8709
8799
|
};
|
|
8800
|
+
logistics_plan_settings: {
|
|
8801
|
+
Row: {
|
|
8802
|
+
key: string;
|
|
8803
|
+
updated_at: string;
|
|
8804
|
+
value: string;
|
|
8805
|
+
};
|
|
8806
|
+
Insert: {
|
|
8807
|
+
key: string;
|
|
8808
|
+
updated_at?: string;
|
|
8809
|
+
value: string;
|
|
8810
|
+
};
|
|
8811
|
+
Update: {
|
|
8812
|
+
key?: string;
|
|
8813
|
+
updated_at?: string;
|
|
8814
|
+
value?: string;
|
|
8815
|
+
};
|
|
8816
|
+
Relationships: [];
|
|
8817
|
+
};
|
|
8710
8818
|
logistics_rebuffer_state: {
|
|
8711
8819
|
Row: {
|
|
8712
8820
|
created_at: string;
|
|
@@ -9417,14 +9525,17 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
9417
9525
|
};
|
|
9418
9526
|
mailbox_messages: {
|
|
9419
9527
|
Row: {
|
|
9528
|
+
attachments: import("../integrations/supabase/types").Json;
|
|
9420
9529
|
body_html: string | null;
|
|
9421
9530
|
body_text: string | null;
|
|
9531
|
+
cc_recipients: import("../integrations/supabase/types").Json;
|
|
9422
9532
|
connection_id: string | null;
|
|
9423
9533
|
created_at: string;
|
|
9424
9534
|
error_message: string | null;
|
|
9425
9535
|
external_id: string | null;
|
|
9426
9536
|
from_email: string | null;
|
|
9427
9537
|
from_name: string | null;
|
|
9538
|
+
has_attachments: boolean;
|
|
9428
9539
|
id: string;
|
|
9429
9540
|
message_id: string | null;
|
|
9430
9541
|
profile_id: string | null;
|
|
@@ -9432,18 +9543,22 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
9432
9543
|
received_at: string | null;
|
|
9433
9544
|
status: string;
|
|
9434
9545
|
subject: string | null;
|
|
9546
|
+
to_recipients: import("../integrations/supabase/types").Json;
|
|
9435
9547
|
uid: number | null;
|
|
9436
9548
|
updated_at: string;
|
|
9437
9549
|
};
|
|
9438
9550
|
Insert: {
|
|
9551
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
9439
9552
|
body_html?: string | null;
|
|
9440
9553
|
body_text?: string | null;
|
|
9554
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
9441
9555
|
connection_id?: string | null;
|
|
9442
9556
|
created_at?: string;
|
|
9443
9557
|
error_message?: string | null;
|
|
9444
9558
|
external_id?: string | null;
|
|
9445
9559
|
from_email?: string | null;
|
|
9446
9560
|
from_name?: string | null;
|
|
9561
|
+
has_attachments?: boolean;
|
|
9447
9562
|
id?: string;
|
|
9448
9563
|
message_id?: string | null;
|
|
9449
9564
|
profile_id?: string | null;
|
|
@@ -9451,18 +9566,22 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
9451
9566
|
received_at?: string | null;
|
|
9452
9567
|
status?: string;
|
|
9453
9568
|
subject?: string | null;
|
|
9569
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
9454
9570
|
uid?: number | null;
|
|
9455
9571
|
updated_at?: string;
|
|
9456
9572
|
};
|
|
9457
9573
|
Update: {
|
|
9574
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
9458
9575
|
body_html?: string | null;
|
|
9459
9576
|
body_text?: string | null;
|
|
9577
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
9460
9578
|
connection_id?: string | null;
|
|
9461
9579
|
created_at?: string;
|
|
9462
9580
|
error_message?: string | null;
|
|
9463
9581
|
external_id?: string | null;
|
|
9464
9582
|
from_email?: string | null;
|
|
9465
9583
|
from_name?: string | null;
|
|
9584
|
+
has_attachments?: boolean;
|
|
9466
9585
|
id?: string;
|
|
9467
9586
|
message_id?: string | null;
|
|
9468
9587
|
profile_id?: string | null;
|
|
@@ -9470,6 +9589,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
9470
9589
|
received_at?: string | null;
|
|
9471
9590
|
status?: string;
|
|
9472
9591
|
subject?: string | null;
|
|
9592
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
9473
9593
|
uid?: number | null;
|
|
9474
9594
|
updated_at?: string;
|
|
9475
9595
|
};
|
|
@@ -9877,6 +9997,36 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
9877
9997
|
};
|
|
9878
9998
|
Relationships: [];
|
|
9879
9999
|
};
|
|
10000
|
+
module_registry: {
|
|
10001
|
+
Row: {
|
|
10002
|
+
created_at: string;
|
|
10003
|
+
is_active: boolean;
|
|
10004
|
+
last_seen_at: string;
|
|
10005
|
+
module_id: string;
|
|
10006
|
+
name: string;
|
|
10007
|
+
shell_id: string | null;
|
|
10008
|
+
sort_order: number | null;
|
|
10009
|
+
};
|
|
10010
|
+
Insert: {
|
|
10011
|
+
created_at?: string;
|
|
10012
|
+
is_active?: boolean;
|
|
10013
|
+
last_seen_at?: string;
|
|
10014
|
+
module_id: string;
|
|
10015
|
+
name: string;
|
|
10016
|
+
shell_id?: string | null;
|
|
10017
|
+
sort_order?: number | null;
|
|
10018
|
+
};
|
|
10019
|
+
Update: {
|
|
10020
|
+
created_at?: string;
|
|
10021
|
+
is_active?: boolean;
|
|
10022
|
+
last_seen_at?: string;
|
|
10023
|
+
module_id?: string;
|
|
10024
|
+
name?: string;
|
|
10025
|
+
shell_id?: string | null;
|
|
10026
|
+
sort_order?: number | null;
|
|
10027
|
+
};
|
|
10028
|
+
Relationships: [];
|
|
10029
|
+
};
|
|
9880
10030
|
module_runtime_config: {
|
|
9881
10031
|
Row: {
|
|
9882
10032
|
key: string;
|
|
@@ -10936,6 +11086,45 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
10936
11086
|
};
|
|
10937
11087
|
Relationships: [];
|
|
10938
11088
|
};
|
|
11089
|
+
order_invoice_links: {
|
|
11090
|
+
Row: {
|
|
11091
|
+
attempts: number;
|
|
11092
|
+
created_at: string;
|
|
11093
|
+
error_message: string | null;
|
|
11094
|
+
id: string;
|
|
11095
|
+
invoice_number: string | null;
|
|
11096
|
+
next_attempt_at: string;
|
|
11097
|
+
order_id: string;
|
|
11098
|
+
processed_at: string | null;
|
|
11099
|
+
status: string;
|
|
11100
|
+
updated_at: string;
|
|
11101
|
+
};
|
|
11102
|
+
Insert: {
|
|
11103
|
+
attempts?: number;
|
|
11104
|
+
created_at?: string;
|
|
11105
|
+
error_message?: string | null;
|
|
11106
|
+
id?: string;
|
|
11107
|
+
invoice_number?: string | null;
|
|
11108
|
+
next_attempt_at?: string;
|
|
11109
|
+
order_id: string;
|
|
11110
|
+
processed_at?: string | null;
|
|
11111
|
+
status?: string;
|
|
11112
|
+
updated_at?: string;
|
|
11113
|
+
};
|
|
11114
|
+
Update: {
|
|
11115
|
+
attempts?: number;
|
|
11116
|
+
created_at?: string;
|
|
11117
|
+
error_message?: string | null;
|
|
11118
|
+
id?: string;
|
|
11119
|
+
invoice_number?: string | null;
|
|
11120
|
+
next_attempt_at?: string;
|
|
11121
|
+
order_id?: string;
|
|
11122
|
+
processed_at?: string | null;
|
|
11123
|
+
status?: string;
|
|
11124
|
+
updated_at?: string;
|
|
11125
|
+
};
|
|
11126
|
+
Relationships: [];
|
|
11127
|
+
};
|
|
10939
11128
|
order_items: {
|
|
10940
11129
|
Row: {
|
|
10941
11130
|
crates_per_layer: number | null;
|
|
@@ -11118,6 +11307,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
11118
11307
|
delivery_date: string | null;
|
|
11119
11308
|
floriday_sales_order_id: string | null;
|
|
11120
11309
|
id: string;
|
|
11310
|
+
invoice_due_at: string | null;
|
|
11121
11311
|
is_reservation: boolean;
|
|
11122
11312
|
notes: string | null;
|
|
11123
11313
|
order_date: string;
|
|
@@ -11139,6 +11329,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
11139
11329
|
delivery_date?: string | null;
|
|
11140
11330
|
floriday_sales_order_id?: string | null;
|
|
11141
11331
|
id?: string;
|
|
11332
|
+
invoice_due_at?: string | null;
|
|
11142
11333
|
is_reservation?: boolean;
|
|
11143
11334
|
notes?: string | null;
|
|
11144
11335
|
order_date?: string;
|
|
@@ -11160,6 +11351,7 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
11160
11351
|
delivery_date?: string | null;
|
|
11161
11352
|
floriday_sales_order_id?: string | null;
|
|
11162
11353
|
id?: string;
|
|
11354
|
+
invoice_due_at?: string | null;
|
|
11163
11355
|
is_reservation?: boolean;
|
|
11164
11356
|
notes?: string | null;
|
|
11165
11357
|
order_date?: string;
|
|
@@ -12457,6 +12649,63 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
12457
12649
|
referencedColumns: ["id"];
|
|
12458
12650
|
}];
|
|
12459
12651
|
};
|
|
12652
|
+
print_queue_runners: {
|
|
12653
|
+
Row: {
|
|
12654
|
+
actief: boolean;
|
|
12655
|
+
basis_url: string;
|
|
12656
|
+
created_at: string;
|
|
12657
|
+
id: string;
|
|
12658
|
+
laatst_gezien: string;
|
|
12659
|
+
tick_sleutel: string;
|
|
12660
|
+
updated_at: string;
|
|
12661
|
+
};
|
|
12662
|
+
Insert: {
|
|
12663
|
+
actief?: boolean;
|
|
12664
|
+
basis_url: string;
|
|
12665
|
+
created_at?: string;
|
|
12666
|
+
id?: string;
|
|
12667
|
+
laatst_gezien?: string;
|
|
12668
|
+
tick_sleutel?: string;
|
|
12669
|
+
updated_at?: string;
|
|
12670
|
+
};
|
|
12671
|
+
Update: {
|
|
12672
|
+
actief?: boolean;
|
|
12673
|
+
basis_url?: string;
|
|
12674
|
+
created_at?: string;
|
|
12675
|
+
id?: string;
|
|
12676
|
+
laatst_gezien?: string;
|
|
12677
|
+
tick_sleutel?: string;
|
|
12678
|
+
updated_at?: string;
|
|
12679
|
+
};
|
|
12680
|
+
Relationships: [];
|
|
12681
|
+
};
|
|
12682
|
+
print_queue_settings: {
|
|
12683
|
+
Row: {
|
|
12684
|
+
bewaar_bestanden_dagen: number;
|
|
12685
|
+
bewaar_opdrachten_dagen: number;
|
|
12686
|
+
created_at: string;
|
|
12687
|
+
dubbel_venster_minuten: number;
|
|
12688
|
+
id: string;
|
|
12689
|
+
updated_at: string;
|
|
12690
|
+
};
|
|
12691
|
+
Insert: {
|
|
12692
|
+
bewaar_bestanden_dagen?: number;
|
|
12693
|
+
bewaar_opdrachten_dagen?: number;
|
|
12694
|
+
created_at?: string;
|
|
12695
|
+
dubbel_venster_minuten?: number;
|
|
12696
|
+
id?: string;
|
|
12697
|
+
updated_at?: string;
|
|
12698
|
+
};
|
|
12699
|
+
Update: {
|
|
12700
|
+
bewaar_bestanden_dagen?: number;
|
|
12701
|
+
bewaar_opdrachten_dagen?: number;
|
|
12702
|
+
created_at?: string;
|
|
12703
|
+
dubbel_venster_minuten?: number;
|
|
12704
|
+
id?: string;
|
|
12705
|
+
updated_at?: string;
|
|
12706
|
+
};
|
|
12707
|
+
Relationships: [];
|
|
12708
|
+
};
|
|
12460
12709
|
print_rules: {
|
|
12461
12710
|
Row: {
|
|
12462
12711
|
actief: boolean;
|
|
@@ -15297,6 +15546,8 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
15297
15546
|
};
|
|
15298
15547
|
twinfield_invoice_settings: {
|
|
15299
15548
|
Row: {
|
|
15549
|
+
auto_invoice_enabled: boolean;
|
|
15550
|
+
auto_invoice_trigger_statuses: string[];
|
|
15300
15551
|
created_at: string;
|
|
15301
15552
|
debtor_gl_account: string;
|
|
15302
15553
|
default_credit_invoice_type: string | null;
|
|
@@ -15317,6 +15568,8 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
15317
15568
|
vat_code_export: string | null;
|
|
15318
15569
|
};
|
|
15319
15570
|
Insert: {
|
|
15571
|
+
auto_invoice_enabled?: boolean;
|
|
15572
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15320
15573
|
created_at?: string;
|
|
15321
15574
|
debtor_gl_account?: string;
|
|
15322
15575
|
default_credit_invoice_type?: string | null;
|
|
@@ -15337,6 +15590,8 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
15337
15590
|
vat_code_export?: string | null;
|
|
15338
15591
|
};
|
|
15339
15592
|
Update: {
|
|
15593
|
+
auto_invoice_enabled?: boolean;
|
|
15594
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15340
15595
|
created_at?: string;
|
|
15341
15596
|
debtor_gl_account?: string;
|
|
15342
15597
|
default_credit_invoice_type?: string | null;
|
|
@@ -16399,6 +16654,33 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
16399
16654
|
referencedColumns: ["id"];
|
|
16400
16655
|
}];
|
|
16401
16656
|
};
|
|
16657
|
+
user_module_permissions: {
|
|
16658
|
+
Row: {
|
|
16659
|
+
created_at: string;
|
|
16660
|
+
id: string;
|
|
16661
|
+
module_id: string;
|
|
16662
|
+
permission: string;
|
|
16663
|
+
updated_at: string;
|
|
16664
|
+
user_id: string;
|
|
16665
|
+
};
|
|
16666
|
+
Insert: {
|
|
16667
|
+
created_at?: string;
|
|
16668
|
+
id?: string;
|
|
16669
|
+
module_id: string;
|
|
16670
|
+
permission: string;
|
|
16671
|
+
updated_at?: string;
|
|
16672
|
+
user_id: string;
|
|
16673
|
+
};
|
|
16674
|
+
Update: {
|
|
16675
|
+
created_at?: string;
|
|
16676
|
+
id?: string;
|
|
16677
|
+
module_id?: string;
|
|
16678
|
+
permission?: string;
|
|
16679
|
+
updated_at?: string;
|
|
16680
|
+
user_id?: string;
|
|
16681
|
+
};
|
|
16682
|
+
Relationships: [];
|
|
16683
|
+
};
|
|
16402
16684
|
user_roles: {
|
|
16403
16685
|
Row: {
|
|
16404
16686
|
created_at: string;
|
|
@@ -18232,6 +18514,10 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
18232
18514
|
processed_items: number;
|
|
18233
18515
|
}[];
|
|
18234
18516
|
};
|
|
18517
|
+
backfill_order_auto_invoice_queue: {
|
|
18518
|
+
Args: never;
|
|
18519
|
+
Returns: number;
|
|
18520
|
+
};
|
|
18235
18521
|
calculate_layer_stock: {
|
|
18236
18522
|
Args: {
|
|
18237
18523
|
p_product_id: string;
|
|
@@ -18462,6 +18748,10 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
18462
18748
|
Args: never;
|
|
18463
18749
|
Returns: undefined;
|
|
18464
18750
|
};
|
|
18751
|
+
cleanup_voorraad_module_history: {
|
|
18752
|
+
Args: never;
|
|
18753
|
+
Returns: undefined;
|
|
18754
|
+
};
|
|
18465
18755
|
complete_floriday_stock_queue: {
|
|
18466
18756
|
Args: {
|
|
18467
18757
|
p_attempt_id?: string;
|
|
@@ -18583,6 +18873,13 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
18583
18873
|
};
|
|
18584
18874
|
Returns: import("../integrations/supabase/types").Json;
|
|
18585
18875
|
};
|
|
18876
|
+
effective_module_permission: {
|
|
18877
|
+
Args: {
|
|
18878
|
+
_module_id: string;
|
|
18879
|
+
_user_id: string;
|
|
18880
|
+
};
|
|
18881
|
+
Returns: string;
|
|
18882
|
+
};
|
|
18586
18883
|
email_auth_decrypt: {
|
|
18587
18884
|
Args: {
|
|
18588
18885
|
cipher: string;
|
|
@@ -19483,6 +19780,65 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
19483
19780
|
};
|
|
19484
19781
|
Returns: number;
|
|
19485
19782
|
};
|
|
19783
|
+
logistics_plan_claim: {
|
|
19784
|
+
Args: {
|
|
19785
|
+
p_limit?: number;
|
|
19786
|
+
};
|
|
19787
|
+
Returns: {
|
|
19788
|
+
attempts: number;
|
|
19789
|
+
id: string;
|
|
19790
|
+
order_id: string;
|
|
19791
|
+
}[];
|
|
19792
|
+
};
|
|
19793
|
+
logistics_plan_enqueue: {
|
|
19794
|
+
Args: {
|
|
19795
|
+
p_order_id: string;
|
|
19796
|
+
p_reason?: string;
|
|
19797
|
+
};
|
|
19798
|
+
Returns: undefined;
|
|
19799
|
+
};
|
|
19800
|
+
logistics_plan_ensure_event: {
|
|
19801
|
+
Args: {
|
|
19802
|
+
p_order_id: string;
|
|
19803
|
+
};
|
|
19804
|
+
Returns: boolean;
|
|
19805
|
+
};
|
|
19806
|
+
logistics_plan_finish: {
|
|
19807
|
+
Args: {
|
|
19808
|
+
p_error?: string;
|
|
19809
|
+
p_id: string;
|
|
19810
|
+
};
|
|
19811
|
+
Returns: undefined;
|
|
19812
|
+
};
|
|
19813
|
+
logistics_plan_impact_orders: {
|
|
19814
|
+
Args: {
|
|
19815
|
+
p_order_id: string;
|
|
19816
|
+
};
|
|
19817
|
+
Returns: {
|
|
19818
|
+
buffer_id: string;
|
|
19819
|
+
order_id: string;
|
|
19820
|
+
plan_date: string;
|
|
19821
|
+
}[];
|
|
19822
|
+
};
|
|
19823
|
+
logistics_plan_kick: {
|
|
19824
|
+
Args: never;
|
|
19825
|
+
Returns: undefined;
|
|
19826
|
+
};
|
|
19827
|
+
logistics_plan_prune: {
|
|
19828
|
+
Args: never;
|
|
19829
|
+
Returns: number;
|
|
19830
|
+
};
|
|
19831
|
+
logistics_plan_release_stale: {
|
|
19832
|
+
Args: never;
|
|
19833
|
+
Returns: number;
|
|
19834
|
+
};
|
|
19835
|
+
logistics_plan_setting: {
|
|
19836
|
+
Args: {
|
|
19837
|
+
p_default: number;
|
|
19838
|
+
p_key: string;
|
|
19839
|
+
};
|
|
19840
|
+
Returns: number;
|
|
19841
|
+
};
|
|
19486
19842
|
logistics_queue_capacity_email: {
|
|
19487
19843
|
Args: {
|
|
19488
19844
|
p_alert_id: string;
|
|
@@ -19721,6 +20077,13 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
19721
20077
|
};
|
|
19722
20078
|
Returns: undefined;
|
|
19723
20079
|
};
|
|
20080
|
+
my_module_permissions: {
|
|
20081
|
+
Args: never;
|
|
20082
|
+
Returns: {
|
|
20083
|
+
module_id: string;
|
|
20084
|
+
permission: string;
|
|
20085
|
+
}[];
|
|
20086
|
+
};
|
|
19724
20087
|
next_manufacture_partij: {
|
|
19725
20088
|
Args: {
|
|
19726
20089
|
_tenant_id: string;
|
|
@@ -19771,6 +20134,13 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
19771
20134
|
};
|
|
19772
20135
|
Returns: boolean;
|
|
19773
20136
|
};
|
|
20137
|
+
opruim_print_historie: {
|
|
20138
|
+
Args: never;
|
|
20139
|
+
Returns: {
|
|
20140
|
+
ontdaan: number;
|
|
20141
|
+
verwijderd: number;
|
|
20142
|
+
}[];
|
|
20143
|
+
};
|
|
19774
20144
|
order_number_prefix: {
|
|
19775
20145
|
Args: {
|
|
19776
20146
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -20165,6 +20535,12 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
20165
20535
|
};
|
|
20166
20536
|
Returns: undefined;
|
|
20167
20537
|
};
|
|
20538
|
+
reset_stalled_floriday_stock_queue: {
|
|
20539
|
+
Args: {
|
|
20540
|
+
p_include_failed?: boolean;
|
|
20541
|
+
};
|
|
20542
|
+
Returns: number;
|
|
20543
|
+
};
|
|
20168
20544
|
resolve_group_allocation: {
|
|
20169
20545
|
Args: {
|
|
20170
20546
|
_needed: number;
|
|
@@ -20219,10 +20595,18 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
20219
20595
|
Args: never;
|
|
20220
20596
|
Returns: undefined;
|
|
20221
20597
|
};
|
|
20598
|
+
run_floriday_stock_queue_process: {
|
|
20599
|
+
Args: never;
|
|
20600
|
+
Returns: undefined;
|
|
20601
|
+
};
|
|
20222
20602
|
run_logistics_tasks_dispatch: {
|
|
20223
20603
|
Args: never;
|
|
20224
20604
|
Returns: undefined;
|
|
20225
20605
|
};
|
|
20606
|
+
run_print_queue_ticks: {
|
|
20607
|
+
Args: never;
|
|
20608
|
+
Returns: number;
|
|
20609
|
+
};
|
|
20226
20610
|
run_twinfield_queue_tick: {
|
|
20227
20611
|
Args: never;
|
|
20228
20612
|
Returns: undefined;
|
|
@@ -20610,6 +20994,15 @@ export declare const startRecalcJob: import("@tanstack/start-client-core").Optio
|
|
|
20610
20994
|
};
|
|
20611
20995
|
Returns: undefined;
|
|
20612
20996
|
};
|
|
20997
|
+
trade_item_stock_duplicates: {
|
|
20998
|
+
Args: never;
|
|
20999
|
+
Returns: {
|
|
21000
|
+
keys: string[];
|
|
21001
|
+
product_id: string;
|
|
21002
|
+
product_name: string;
|
|
21003
|
+
row_count: number;
|
|
21004
|
+
}[];
|
|
21005
|
+
};
|
|
20613
21006
|
try_debtor_lock: {
|
|
20614
21007
|
Args: {
|
|
20615
21008
|
_group_key: string;
|
|
@@ -22372,7 +22765,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
22372
22765
|
city: string | null;
|
|
22373
22766
|
country: string | null;
|
|
22374
22767
|
created_at: string;
|
|
22375
|
-
customer_id: string
|
|
22768
|
+
customer_id: string;
|
|
22376
22769
|
external_key: string | null;
|
|
22377
22770
|
external_provider: string | null;
|
|
22378
22771
|
floriday_location_id: string | null;
|
|
@@ -22396,7 +22789,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
22396
22789
|
city?: string | null;
|
|
22397
22790
|
country?: string | null;
|
|
22398
22791
|
created_at?: string;
|
|
22399
|
-
customer_id
|
|
22792
|
+
customer_id: string;
|
|
22400
22793
|
external_key?: string | null;
|
|
22401
22794
|
external_provider?: string | null;
|
|
22402
22795
|
floriday_location_id?: string | null;
|
|
@@ -22420,7 +22813,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
22420
22813
|
city?: string | null;
|
|
22421
22814
|
country?: string | null;
|
|
22422
22815
|
created_at?: string;
|
|
22423
|
-
customer_id?: string
|
|
22816
|
+
customer_id?: string;
|
|
22424
22817
|
external_key?: string | null;
|
|
22425
22818
|
external_provider?: string | null;
|
|
22426
22819
|
floriday_location_id?: string | null;
|
|
@@ -27168,6 +27561,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
27168
27561
|
Row: {
|
|
27169
27562
|
buyer_organization_id: string | null;
|
|
27170
27563
|
connection_id: string;
|
|
27564
|
+
controlled_at: string | null;
|
|
27171
27565
|
created_at: string;
|
|
27172
27566
|
data: import("../integrations/supabase/types").Json;
|
|
27173
27567
|
floriday_id: string;
|
|
@@ -27179,6 +27573,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
27179
27573
|
Insert: {
|
|
27180
27574
|
buyer_organization_id?: string | null;
|
|
27181
27575
|
connection_id: string;
|
|
27576
|
+
controlled_at?: string | null;
|
|
27182
27577
|
created_at?: string;
|
|
27183
27578
|
data: import("../integrations/supabase/types").Json;
|
|
27184
27579
|
floriday_id: string;
|
|
@@ -27190,6 +27585,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
27190
27585
|
Update: {
|
|
27191
27586
|
buyer_organization_id?: string | null;
|
|
27192
27587
|
connection_id?: string;
|
|
27588
|
+
controlled_at?: string | null;
|
|
27193
27589
|
created_at?: string;
|
|
27194
27590
|
data?: import("../integrations/supabase/types").Json;
|
|
27195
27591
|
floriday_id?: string;
|
|
@@ -28091,6 +28487,54 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
28091
28487
|
};
|
|
28092
28488
|
Relationships: [];
|
|
28093
28489
|
};
|
|
28490
|
+
invoice_timing_settings: {
|
|
28491
|
+
Row: {
|
|
28492
|
+
anchor: string;
|
|
28493
|
+
business_days_only: boolean;
|
|
28494
|
+
created_at: string;
|
|
28495
|
+
enabled: boolean;
|
|
28496
|
+
id: string;
|
|
28497
|
+
offset_days: number;
|
|
28498
|
+
pickup_anchor: string;
|
|
28499
|
+
pickup_business_days_only: boolean;
|
|
28500
|
+
pickup_offset_days: number;
|
|
28501
|
+
pickup_time_of_day: string;
|
|
28502
|
+
singleton: boolean;
|
|
28503
|
+
time_of_day: string;
|
|
28504
|
+
updated_at: string;
|
|
28505
|
+
};
|
|
28506
|
+
Insert: {
|
|
28507
|
+
anchor?: string;
|
|
28508
|
+
business_days_only?: boolean;
|
|
28509
|
+
created_at?: string;
|
|
28510
|
+
enabled?: boolean;
|
|
28511
|
+
id?: string;
|
|
28512
|
+
offset_days?: number;
|
|
28513
|
+
pickup_anchor?: string;
|
|
28514
|
+
pickup_business_days_only?: boolean;
|
|
28515
|
+
pickup_offset_days?: number;
|
|
28516
|
+
pickup_time_of_day?: string;
|
|
28517
|
+
singleton?: boolean;
|
|
28518
|
+
time_of_day?: string;
|
|
28519
|
+
updated_at?: string;
|
|
28520
|
+
};
|
|
28521
|
+
Update: {
|
|
28522
|
+
anchor?: string;
|
|
28523
|
+
business_days_only?: boolean;
|
|
28524
|
+
created_at?: string;
|
|
28525
|
+
enabled?: boolean;
|
|
28526
|
+
id?: string;
|
|
28527
|
+
offset_days?: number;
|
|
28528
|
+
pickup_anchor?: string;
|
|
28529
|
+
pickup_business_days_only?: boolean;
|
|
28530
|
+
pickup_offset_days?: number;
|
|
28531
|
+
pickup_time_of_day?: string;
|
|
28532
|
+
singleton?: boolean;
|
|
28533
|
+
time_of_day?: string;
|
|
28534
|
+
updated_at?: string;
|
|
28535
|
+
};
|
|
28536
|
+
Relationships: [];
|
|
28537
|
+
};
|
|
28094
28538
|
itk_contact_persons: {
|
|
28095
28539
|
Row: {
|
|
28096
28540
|
created_at: string;
|
|
@@ -29321,6 +29765,45 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
29321
29765
|
};
|
|
29322
29766
|
Relationships: [];
|
|
29323
29767
|
};
|
|
29768
|
+
logistics_plan_queue: {
|
|
29769
|
+
Row: {
|
|
29770
|
+
attempts: number;
|
|
29771
|
+
claimed_at: string | null;
|
|
29772
|
+
enqueued_at: string;
|
|
29773
|
+
error: string | null;
|
|
29774
|
+
id: string;
|
|
29775
|
+
next_attempt_at: string;
|
|
29776
|
+
order_id: string;
|
|
29777
|
+
reason: string;
|
|
29778
|
+
status: string;
|
|
29779
|
+
updated_at: string;
|
|
29780
|
+
};
|
|
29781
|
+
Insert: {
|
|
29782
|
+
attempts?: number;
|
|
29783
|
+
claimed_at?: string | null;
|
|
29784
|
+
enqueued_at?: string;
|
|
29785
|
+
error?: string | null;
|
|
29786
|
+
id?: string;
|
|
29787
|
+
next_attempt_at?: string;
|
|
29788
|
+
order_id: string;
|
|
29789
|
+
reason?: string;
|
|
29790
|
+
status?: string;
|
|
29791
|
+
updated_at?: string;
|
|
29792
|
+
};
|
|
29793
|
+
Update: {
|
|
29794
|
+
attempts?: number;
|
|
29795
|
+
claimed_at?: string | null;
|
|
29796
|
+
enqueued_at?: string;
|
|
29797
|
+
error?: string | null;
|
|
29798
|
+
id?: string;
|
|
29799
|
+
next_attempt_at?: string;
|
|
29800
|
+
order_id?: string;
|
|
29801
|
+
reason?: string;
|
|
29802
|
+
status?: string;
|
|
29803
|
+
updated_at?: string;
|
|
29804
|
+
};
|
|
29805
|
+
Relationships: [];
|
|
29806
|
+
};
|
|
29324
29807
|
logistics_plan_runs: {
|
|
29325
29808
|
Row: {
|
|
29326
29809
|
created_at: string;
|
|
@@ -29396,6 +29879,24 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
29396
29879
|
referencedColumns: ["id"];
|
|
29397
29880
|
}];
|
|
29398
29881
|
};
|
|
29882
|
+
logistics_plan_settings: {
|
|
29883
|
+
Row: {
|
|
29884
|
+
key: string;
|
|
29885
|
+
updated_at: string;
|
|
29886
|
+
value: string;
|
|
29887
|
+
};
|
|
29888
|
+
Insert: {
|
|
29889
|
+
key: string;
|
|
29890
|
+
updated_at?: string;
|
|
29891
|
+
value: string;
|
|
29892
|
+
};
|
|
29893
|
+
Update: {
|
|
29894
|
+
key?: string;
|
|
29895
|
+
updated_at?: string;
|
|
29896
|
+
value?: string;
|
|
29897
|
+
};
|
|
29898
|
+
Relationships: [];
|
|
29899
|
+
};
|
|
29399
29900
|
logistics_rebuffer_state: {
|
|
29400
29901
|
Row: {
|
|
29401
29902
|
created_at: string;
|
|
@@ -30106,14 +30607,17 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
30106
30607
|
};
|
|
30107
30608
|
mailbox_messages: {
|
|
30108
30609
|
Row: {
|
|
30610
|
+
attachments: import("../integrations/supabase/types").Json;
|
|
30109
30611
|
body_html: string | null;
|
|
30110
30612
|
body_text: string | null;
|
|
30613
|
+
cc_recipients: import("../integrations/supabase/types").Json;
|
|
30111
30614
|
connection_id: string | null;
|
|
30112
30615
|
created_at: string;
|
|
30113
30616
|
error_message: string | null;
|
|
30114
30617
|
external_id: string | null;
|
|
30115
30618
|
from_email: string | null;
|
|
30116
30619
|
from_name: string | null;
|
|
30620
|
+
has_attachments: boolean;
|
|
30117
30621
|
id: string;
|
|
30118
30622
|
message_id: string | null;
|
|
30119
30623
|
profile_id: string | null;
|
|
@@ -30121,18 +30625,22 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
30121
30625
|
received_at: string | null;
|
|
30122
30626
|
status: string;
|
|
30123
30627
|
subject: string | null;
|
|
30628
|
+
to_recipients: import("../integrations/supabase/types").Json;
|
|
30124
30629
|
uid: number | null;
|
|
30125
30630
|
updated_at: string;
|
|
30126
30631
|
};
|
|
30127
30632
|
Insert: {
|
|
30633
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
30128
30634
|
body_html?: string | null;
|
|
30129
30635
|
body_text?: string | null;
|
|
30636
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
30130
30637
|
connection_id?: string | null;
|
|
30131
30638
|
created_at?: string;
|
|
30132
30639
|
error_message?: string | null;
|
|
30133
30640
|
external_id?: string | null;
|
|
30134
30641
|
from_email?: string | null;
|
|
30135
30642
|
from_name?: string | null;
|
|
30643
|
+
has_attachments?: boolean;
|
|
30136
30644
|
id?: string;
|
|
30137
30645
|
message_id?: string | null;
|
|
30138
30646
|
profile_id?: string | null;
|
|
@@ -30140,18 +30648,22 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
30140
30648
|
received_at?: string | null;
|
|
30141
30649
|
status?: string;
|
|
30142
30650
|
subject?: string | null;
|
|
30651
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
30143
30652
|
uid?: number | null;
|
|
30144
30653
|
updated_at?: string;
|
|
30145
30654
|
};
|
|
30146
30655
|
Update: {
|
|
30656
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
30147
30657
|
body_html?: string | null;
|
|
30148
30658
|
body_text?: string | null;
|
|
30659
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
30149
30660
|
connection_id?: string | null;
|
|
30150
30661
|
created_at?: string;
|
|
30151
30662
|
error_message?: string | null;
|
|
30152
30663
|
external_id?: string | null;
|
|
30153
30664
|
from_email?: string | null;
|
|
30154
30665
|
from_name?: string | null;
|
|
30666
|
+
has_attachments?: boolean;
|
|
30155
30667
|
id?: string;
|
|
30156
30668
|
message_id?: string | null;
|
|
30157
30669
|
profile_id?: string | null;
|
|
@@ -30159,6 +30671,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
30159
30671
|
received_at?: string | null;
|
|
30160
30672
|
status?: string;
|
|
30161
30673
|
subject?: string | null;
|
|
30674
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
30162
30675
|
uid?: number | null;
|
|
30163
30676
|
updated_at?: string;
|
|
30164
30677
|
};
|
|
@@ -30566,6 +31079,36 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
30566
31079
|
};
|
|
30567
31080
|
Relationships: [];
|
|
30568
31081
|
};
|
|
31082
|
+
module_registry: {
|
|
31083
|
+
Row: {
|
|
31084
|
+
created_at: string;
|
|
31085
|
+
is_active: boolean;
|
|
31086
|
+
last_seen_at: string;
|
|
31087
|
+
module_id: string;
|
|
31088
|
+
name: string;
|
|
31089
|
+
shell_id: string | null;
|
|
31090
|
+
sort_order: number | null;
|
|
31091
|
+
};
|
|
31092
|
+
Insert: {
|
|
31093
|
+
created_at?: string;
|
|
31094
|
+
is_active?: boolean;
|
|
31095
|
+
last_seen_at?: string;
|
|
31096
|
+
module_id: string;
|
|
31097
|
+
name: string;
|
|
31098
|
+
shell_id?: string | null;
|
|
31099
|
+
sort_order?: number | null;
|
|
31100
|
+
};
|
|
31101
|
+
Update: {
|
|
31102
|
+
created_at?: string;
|
|
31103
|
+
is_active?: boolean;
|
|
31104
|
+
last_seen_at?: string;
|
|
31105
|
+
module_id?: string;
|
|
31106
|
+
name?: string;
|
|
31107
|
+
shell_id?: string | null;
|
|
31108
|
+
sort_order?: number | null;
|
|
31109
|
+
};
|
|
31110
|
+
Relationships: [];
|
|
31111
|
+
};
|
|
30569
31112
|
module_runtime_config: {
|
|
30570
31113
|
Row: {
|
|
30571
31114
|
key: string;
|
|
@@ -31625,6 +32168,45 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
31625
32168
|
};
|
|
31626
32169
|
Relationships: [];
|
|
31627
32170
|
};
|
|
32171
|
+
order_invoice_links: {
|
|
32172
|
+
Row: {
|
|
32173
|
+
attempts: number;
|
|
32174
|
+
created_at: string;
|
|
32175
|
+
error_message: string | null;
|
|
32176
|
+
id: string;
|
|
32177
|
+
invoice_number: string | null;
|
|
32178
|
+
next_attempt_at: string;
|
|
32179
|
+
order_id: string;
|
|
32180
|
+
processed_at: string | null;
|
|
32181
|
+
status: string;
|
|
32182
|
+
updated_at: string;
|
|
32183
|
+
};
|
|
32184
|
+
Insert: {
|
|
32185
|
+
attempts?: number;
|
|
32186
|
+
created_at?: string;
|
|
32187
|
+
error_message?: string | null;
|
|
32188
|
+
id?: string;
|
|
32189
|
+
invoice_number?: string | null;
|
|
32190
|
+
next_attempt_at?: string;
|
|
32191
|
+
order_id: string;
|
|
32192
|
+
processed_at?: string | null;
|
|
32193
|
+
status?: string;
|
|
32194
|
+
updated_at?: string;
|
|
32195
|
+
};
|
|
32196
|
+
Update: {
|
|
32197
|
+
attempts?: number;
|
|
32198
|
+
created_at?: string;
|
|
32199
|
+
error_message?: string | null;
|
|
32200
|
+
id?: string;
|
|
32201
|
+
invoice_number?: string | null;
|
|
32202
|
+
next_attempt_at?: string;
|
|
32203
|
+
order_id?: string;
|
|
32204
|
+
processed_at?: string | null;
|
|
32205
|
+
status?: string;
|
|
32206
|
+
updated_at?: string;
|
|
32207
|
+
};
|
|
32208
|
+
Relationships: [];
|
|
32209
|
+
};
|
|
31628
32210
|
order_items: {
|
|
31629
32211
|
Row: {
|
|
31630
32212
|
crates_per_layer: number | null;
|
|
@@ -31807,6 +32389,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
31807
32389
|
delivery_date: string | null;
|
|
31808
32390
|
floriday_sales_order_id: string | null;
|
|
31809
32391
|
id: string;
|
|
32392
|
+
invoice_due_at: string | null;
|
|
31810
32393
|
is_reservation: boolean;
|
|
31811
32394
|
notes: string | null;
|
|
31812
32395
|
order_date: string;
|
|
@@ -31828,6 +32411,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
31828
32411
|
delivery_date?: string | null;
|
|
31829
32412
|
floriday_sales_order_id?: string | null;
|
|
31830
32413
|
id?: string;
|
|
32414
|
+
invoice_due_at?: string | null;
|
|
31831
32415
|
is_reservation?: boolean;
|
|
31832
32416
|
notes?: string | null;
|
|
31833
32417
|
order_date?: string;
|
|
@@ -31849,6 +32433,7 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
31849
32433
|
delivery_date?: string | null;
|
|
31850
32434
|
floriday_sales_order_id?: string | null;
|
|
31851
32435
|
id?: string;
|
|
32436
|
+
invoice_due_at?: string | null;
|
|
31852
32437
|
is_reservation?: boolean;
|
|
31853
32438
|
notes?: string | null;
|
|
31854
32439
|
order_date?: string;
|
|
@@ -33146,6 +33731,63 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
33146
33731
|
referencedColumns: ["id"];
|
|
33147
33732
|
}];
|
|
33148
33733
|
};
|
|
33734
|
+
print_queue_runners: {
|
|
33735
|
+
Row: {
|
|
33736
|
+
actief: boolean;
|
|
33737
|
+
basis_url: string;
|
|
33738
|
+
created_at: string;
|
|
33739
|
+
id: string;
|
|
33740
|
+
laatst_gezien: string;
|
|
33741
|
+
tick_sleutel: string;
|
|
33742
|
+
updated_at: string;
|
|
33743
|
+
};
|
|
33744
|
+
Insert: {
|
|
33745
|
+
actief?: boolean;
|
|
33746
|
+
basis_url: string;
|
|
33747
|
+
created_at?: string;
|
|
33748
|
+
id?: string;
|
|
33749
|
+
laatst_gezien?: string;
|
|
33750
|
+
tick_sleutel?: string;
|
|
33751
|
+
updated_at?: string;
|
|
33752
|
+
};
|
|
33753
|
+
Update: {
|
|
33754
|
+
actief?: boolean;
|
|
33755
|
+
basis_url?: string;
|
|
33756
|
+
created_at?: string;
|
|
33757
|
+
id?: string;
|
|
33758
|
+
laatst_gezien?: string;
|
|
33759
|
+
tick_sleutel?: string;
|
|
33760
|
+
updated_at?: string;
|
|
33761
|
+
};
|
|
33762
|
+
Relationships: [];
|
|
33763
|
+
};
|
|
33764
|
+
print_queue_settings: {
|
|
33765
|
+
Row: {
|
|
33766
|
+
bewaar_bestanden_dagen: number;
|
|
33767
|
+
bewaar_opdrachten_dagen: number;
|
|
33768
|
+
created_at: string;
|
|
33769
|
+
dubbel_venster_minuten: number;
|
|
33770
|
+
id: string;
|
|
33771
|
+
updated_at: string;
|
|
33772
|
+
};
|
|
33773
|
+
Insert: {
|
|
33774
|
+
bewaar_bestanden_dagen?: number;
|
|
33775
|
+
bewaar_opdrachten_dagen?: number;
|
|
33776
|
+
created_at?: string;
|
|
33777
|
+
dubbel_venster_minuten?: number;
|
|
33778
|
+
id?: string;
|
|
33779
|
+
updated_at?: string;
|
|
33780
|
+
};
|
|
33781
|
+
Update: {
|
|
33782
|
+
bewaar_bestanden_dagen?: number;
|
|
33783
|
+
bewaar_opdrachten_dagen?: number;
|
|
33784
|
+
created_at?: string;
|
|
33785
|
+
dubbel_venster_minuten?: number;
|
|
33786
|
+
id?: string;
|
|
33787
|
+
updated_at?: string;
|
|
33788
|
+
};
|
|
33789
|
+
Relationships: [];
|
|
33790
|
+
};
|
|
33149
33791
|
print_rules: {
|
|
33150
33792
|
Row: {
|
|
33151
33793
|
actief: boolean;
|
|
@@ -35986,6 +36628,8 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
35986
36628
|
};
|
|
35987
36629
|
twinfield_invoice_settings: {
|
|
35988
36630
|
Row: {
|
|
36631
|
+
auto_invoice_enabled: boolean;
|
|
36632
|
+
auto_invoice_trigger_statuses: string[];
|
|
35989
36633
|
created_at: string;
|
|
35990
36634
|
debtor_gl_account: string;
|
|
35991
36635
|
default_credit_invoice_type: string | null;
|
|
@@ -36006,6 +36650,8 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
36006
36650
|
vat_code_export: string | null;
|
|
36007
36651
|
};
|
|
36008
36652
|
Insert: {
|
|
36653
|
+
auto_invoice_enabled?: boolean;
|
|
36654
|
+
auto_invoice_trigger_statuses?: string[];
|
|
36009
36655
|
created_at?: string;
|
|
36010
36656
|
debtor_gl_account?: string;
|
|
36011
36657
|
default_credit_invoice_type?: string | null;
|
|
@@ -36026,6 +36672,8 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
36026
36672
|
vat_code_export?: string | null;
|
|
36027
36673
|
};
|
|
36028
36674
|
Update: {
|
|
36675
|
+
auto_invoice_enabled?: boolean;
|
|
36676
|
+
auto_invoice_trigger_statuses?: string[];
|
|
36029
36677
|
created_at?: string;
|
|
36030
36678
|
debtor_gl_account?: string;
|
|
36031
36679
|
default_credit_invoice_type?: string | null;
|
|
@@ -37088,6 +37736,33 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
37088
37736
|
referencedColumns: ["id"];
|
|
37089
37737
|
}];
|
|
37090
37738
|
};
|
|
37739
|
+
user_module_permissions: {
|
|
37740
|
+
Row: {
|
|
37741
|
+
created_at: string;
|
|
37742
|
+
id: string;
|
|
37743
|
+
module_id: string;
|
|
37744
|
+
permission: string;
|
|
37745
|
+
updated_at: string;
|
|
37746
|
+
user_id: string;
|
|
37747
|
+
};
|
|
37748
|
+
Insert: {
|
|
37749
|
+
created_at?: string;
|
|
37750
|
+
id?: string;
|
|
37751
|
+
module_id: string;
|
|
37752
|
+
permission: string;
|
|
37753
|
+
updated_at?: string;
|
|
37754
|
+
user_id: string;
|
|
37755
|
+
};
|
|
37756
|
+
Update: {
|
|
37757
|
+
created_at?: string;
|
|
37758
|
+
id?: string;
|
|
37759
|
+
module_id?: string;
|
|
37760
|
+
permission?: string;
|
|
37761
|
+
updated_at?: string;
|
|
37762
|
+
user_id?: string;
|
|
37763
|
+
};
|
|
37764
|
+
Relationships: [];
|
|
37765
|
+
};
|
|
37091
37766
|
user_roles: {
|
|
37092
37767
|
Row: {
|
|
37093
37768
|
created_at: string;
|
|
@@ -38921,6 +39596,10 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
38921
39596
|
processed_items: number;
|
|
38922
39597
|
}[];
|
|
38923
39598
|
};
|
|
39599
|
+
backfill_order_auto_invoice_queue: {
|
|
39600
|
+
Args: never;
|
|
39601
|
+
Returns: number;
|
|
39602
|
+
};
|
|
38924
39603
|
calculate_layer_stock: {
|
|
38925
39604
|
Args: {
|
|
38926
39605
|
p_product_id: string;
|
|
@@ -39151,6 +39830,10 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
39151
39830
|
Args: never;
|
|
39152
39831
|
Returns: undefined;
|
|
39153
39832
|
};
|
|
39833
|
+
cleanup_voorraad_module_history: {
|
|
39834
|
+
Args: never;
|
|
39835
|
+
Returns: undefined;
|
|
39836
|
+
};
|
|
39154
39837
|
complete_floriday_stock_queue: {
|
|
39155
39838
|
Args: {
|
|
39156
39839
|
p_attempt_id?: string;
|
|
@@ -39272,6 +39955,13 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
39272
39955
|
};
|
|
39273
39956
|
Returns: import("../integrations/supabase/types").Json;
|
|
39274
39957
|
};
|
|
39958
|
+
effective_module_permission: {
|
|
39959
|
+
Args: {
|
|
39960
|
+
_module_id: string;
|
|
39961
|
+
_user_id: string;
|
|
39962
|
+
};
|
|
39963
|
+
Returns: string;
|
|
39964
|
+
};
|
|
39275
39965
|
email_auth_decrypt: {
|
|
39276
39966
|
Args: {
|
|
39277
39967
|
cipher: string;
|
|
@@ -40172,6 +40862,65 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
40172
40862
|
};
|
|
40173
40863
|
Returns: number;
|
|
40174
40864
|
};
|
|
40865
|
+
logistics_plan_claim: {
|
|
40866
|
+
Args: {
|
|
40867
|
+
p_limit?: number;
|
|
40868
|
+
};
|
|
40869
|
+
Returns: {
|
|
40870
|
+
attempts: number;
|
|
40871
|
+
id: string;
|
|
40872
|
+
order_id: string;
|
|
40873
|
+
}[];
|
|
40874
|
+
};
|
|
40875
|
+
logistics_plan_enqueue: {
|
|
40876
|
+
Args: {
|
|
40877
|
+
p_order_id: string;
|
|
40878
|
+
p_reason?: string;
|
|
40879
|
+
};
|
|
40880
|
+
Returns: undefined;
|
|
40881
|
+
};
|
|
40882
|
+
logistics_plan_ensure_event: {
|
|
40883
|
+
Args: {
|
|
40884
|
+
p_order_id: string;
|
|
40885
|
+
};
|
|
40886
|
+
Returns: boolean;
|
|
40887
|
+
};
|
|
40888
|
+
logistics_plan_finish: {
|
|
40889
|
+
Args: {
|
|
40890
|
+
p_error?: string;
|
|
40891
|
+
p_id: string;
|
|
40892
|
+
};
|
|
40893
|
+
Returns: undefined;
|
|
40894
|
+
};
|
|
40895
|
+
logistics_plan_impact_orders: {
|
|
40896
|
+
Args: {
|
|
40897
|
+
p_order_id: string;
|
|
40898
|
+
};
|
|
40899
|
+
Returns: {
|
|
40900
|
+
buffer_id: string;
|
|
40901
|
+
order_id: string;
|
|
40902
|
+
plan_date: string;
|
|
40903
|
+
}[];
|
|
40904
|
+
};
|
|
40905
|
+
logistics_plan_kick: {
|
|
40906
|
+
Args: never;
|
|
40907
|
+
Returns: undefined;
|
|
40908
|
+
};
|
|
40909
|
+
logistics_plan_prune: {
|
|
40910
|
+
Args: never;
|
|
40911
|
+
Returns: number;
|
|
40912
|
+
};
|
|
40913
|
+
logistics_plan_release_stale: {
|
|
40914
|
+
Args: never;
|
|
40915
|
+
Returns: number;
|
|
40916
|
+
};
|
|
40917
|
+
logistics_plan_setting: {
|
|
40918
|
+
Args: {
|
|
40919
|
+
p_default: number;
|
|
40920
|
+
p_key: string;
|
|
40921
|
+
};
|
|
40922
|
+
Returns: number;
|
|
40923
|
+
};
|
|
40175
40924
|
logistics_queue_capacity_email: {
|
|
40176
40925
|
Args: {
|
|
40177
40926
|
p_alert_id: string;
|
|
@@ -40410,6 +41159,13 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
40410
41159
|
};
|
|
40411
41160
|
Returns: undefined;
|
|
40412
41161
|
};
|
|
41162
|
+
my_module_permissions: {
|
|
41163
|
+
Args: never;
|
|
41164
|
+
Returns: {
|
|
41165
|
+
module_id: string;
|
|
41166
|
+
permission: string;
|
|
41167
|
+
}[];
|
|
41168
|
+
};
|
|
40413
41169
|
next_manufacture_partij: {
|
|
40414
41170
|
Args: {
|
|
40415
41171
|
_tenant_id: string;
|
|
@@ -40460,6 +41216,13 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
40460
41216
|
};
|
|
40461
41217
|
Returns: boolean;
|
|
40462
41218
|
};
|
|
41219
|
+
opruim_print_historie: {
|
|
41220
|
+
Args: never;
|
|
41221
|
+
Returns: {
|
|
41222
|
+
ontdaan: number;
|
|
41223
|
+
verwijderd: number;
|
|
41224
|
+
}[];
|
|
41225
|
+
};
|
|
40463
41226
|
order_number_prefix: {
|
|
40464
41227
|
Args: {
|
|
40465
41228
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -40854,6 +41617,12 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
40854
41617
|
};
|
|
40855
41618
|
Returns: undefined;
|
|
40856
41619
|
};
|
|
41620
|
+
reset_stalled_floriday_stock_queue: {
|
|
41621
|
+
Args: {
|
|
41622
|
+
p_include_failed?: boolean;
|
|
41623
|
+
};
|
|
41624
|
+
Returns: number;
|
|
41625
|
+
};
|
|
40857
41626
|
resolve_group_allocation: {
|
|
40858
41627
|
Args: {
|
|
40859
41628
|
_needed: number;
|
|
@@ -40908,10 +41677,18 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
40908
41677
|
Args: never;
|
|
40909
41678
|
Returns: undefined;
|
|
40910
41679
|
};
|
|
41680
|
+
run_floriday_stock_queue_process: {
|
|
41681
|
+
Args: never;
|
|
41682
|
+
Returns: undefined;
|
|
41683
|
+
};
|
|
40911
41684
|
run_logistics_tasks_dispatch: {
|
|
40912
41685
|
Args: never;
|
|
40913
41686
|
Returns: undefined;
|
|
40914
41687
|
};
|
|
41688
|
+
run_print_queue_ticks: {
|
|
41689
|
+
Args: never;
|
|
41690
|
+
Returns: number;
|
|
41691
|
+
};
|
|
40915
41692
|
run_twinfield_queue_tick: {
|
|
40916
41693
|
Args: never;
|
|
40917
41694
|
Returns: undefined;
|
|
@@ -41299,6 +42076,15 @@ export declare const tickRecalcJob: import("@tanstack/start-client-core").Option
|
|
|
41299
42076
|
};
|
|
41300
42077
|
Returns: undefined;
|
|
41301
42078
|
};
|
|
42079
|
+
trade_item_stock_duplicates: {
|
|
42080
|
+
Args: never;
|
|
42081
|
+
Returns: {
|
|
42082
|
+
keys: string[];
|
|
42083
|
+
product_id: string;
|
|
42084
|
+
product_name: string;
|
|
42085
|
+
row_count: number;
|
|
42086
|
+
}[];
|
|
42087
|
+
};
|
|
41302
42088
|
try_debtor_lock: {
|
|
41303
42089
|
Args: {
|
|
41304
42090
|
_group_key: string;
|