@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
|
@@ -1688,7 +1688,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
1688
1688
|
city: string | null;
|
|
1689
1689
|
country: string | null;
|
|
1690
1690
|
created_at: string;
|
|
1691
|
-
customer_id: string
|
|
1691
|
+
customer_id: string;
|
|
1692
1692
|
external_key: string | null;
|
|
1693
1693
|
external_provider: string | null;
|
|
1694
1694
|
floriday_location_id: string | null;
|
|
@@ -1712,7 +1712,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
1712
1712
|
city?: string | null;
|
|
1713
1713
|
country?: string | null;
|
|
1714
1714
|
created_at?: string;
|
|
1715
|
-
customer_id
|
|
1715
|
+
customer_id: string;
|
|
1716
1716
|
external_key?: string | null;
|
|
1717
1717
|
external_provider?: string | null;
|
|
1718
1718
|
floriday_location_id?: string | null;
|
|
@@ -1736,7 +1736,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
1736
1736
|
city?: string | null;
|
|
1737
1737
|
country?: string | null;
|
|
1738
1738
|
created_at?: string;
|
|
1739
|
-
customer_id?: string
|
|
1739
|
+
customer_id?: string;
|
|
1740
1740
|
external_key?: string | null;
|
|
1741
1741
|
external_provider?: string | null;
|
|
1742
1742
|
floriday_location_id?: string | null;
|
|
@@ -6484,6 +6484,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
6484
6484
|
Row: {
|
|
6485
6485
|
buyer_organization_id: string | null;
|
|
6486
6486
|
connection_id: string;
|
|
6487
|
+
controlled_at: string | null;
|
|
6487
6488
|
created_at: string;
|
|
6488
6489
|
data: import("../integrations/supabase/types").Json;
|
|
6489
6490
|
floriday_id: string;
|
|
@@ -6495,6 +6496,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
6495
6496
|
Insert: {
|
|
6496
6497
|
buyer_organization_id?: string | null;
|
|
6497
6498
|
connection_id: string;
|
|
6499
|
+
controlled_at?: string | null;
|
|
6498
6500
|
created_at?: string;
|
|
6499
6501
|
data: import("../integrations/supabase/types").Json;
|
|
6500
6502
|
floriday_id: string;
|
|
@@ -6506,6 +6508,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
6506
6508
|
Update: {
|
|
6507
6509
|
buyer_organization_id?: string | null;
|
|
6508
6510
|
connection_id?: string;
|
|
6511
|
+
controlled_at?: string | null;
|
|
6509
6512
|
created_at?: string;
|
|
6510
6513
|
data?: import("../integrations/supabase/types").Json;
|
|
6511
6514
|
floriday_id?: string;
|
|
@@ -7407,6 +7410,54 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
7407
7410
|
};
|
|
7408
7411
|
Relationships: [];
|
|
7409
7412
|
};
|
|
7413
|
+
invoice_timing_settings: {
|
|
7414
|
+
Row: {
|
|
7415
|
+
anchor: string;
|
|
7416
|
+
business_days_only: boolean;
|
|
7417
|
+
created_at: string;
|
|
7418
|
+
enabled: boolean;
|
|
7419
|
+
id: string;
|
|
7420
|
+
offset_days: number;
|
|
7421
|
+
pickup_anchor: string;
|
|
7422
|
+
pickup_business_days_only: boolean;
|
|
7423
|
+
pickup_offset_days: number;
|
|
7424
|
+
pickup_time_of_day: string;
|
|
7425
|
+
singleton: boolean;
|
|
7426
|
+
time_of_day: string;
|
|
7427
|
+
updated_at: string;
|
|
7428
|
+
};
|
|
7429
|
+
Insert: {
|
|
7430
|
+
anchor?: string;
|
|
7431
|
+
business_days_only?: boolean;
|
|
7432
|
+
created_at?: string;
|
|
7433
|
+
enabled?: boolean;
|
|
7434
|
+
id?: string;
|
|
7435
|
+
offset_days?: number;
|
|
7436
|
+
pickup_anchor?: string;
|
|
7437
|
+
pickup_business_days_only?: boolean;
|
|
7438
|
+
pickup_offset_days?: number;
|
|
7439
|
+
pickup_time_of_day?: string;
|
|
7440
|
+
singleton?: boolean;
|
|
7441
|
+
time_of_day?: string;
|
|
7442
|
+
updated_at?: string;
|
|
7443
|
+
};
|
|
7444
|
+
Update: {
|
|
7445
|
+
anchor?: string;
|
|
7446
|
+
business_days_only?: boolean;
|
|
7447
|
+
created_at?: string;
|
|
7448
|
+
enabled?: boolean;
|
|
7449
|
+
id?: string;
|
|
7450
|
+
offset_days?: number;
|
|
7451
|
+
pickup_anchor?: string;
|
|
7452
|
+
pickup_business_days_only?: boolean;
|
|
7453
|
+
pickup_offset_days?: number;
|
|
7454
|
+
pickup_time_of_day?: string;
|
|
7455
|
+
singleton?: boolean;
|
|
7456
|
+
time_of_day?: string;
|
|
7457
|
+
updated_at?: string;
|
|
7458
|
+
};
|
|
7459
|
+
Relationships: [];
|
|
7460
|
+
};
|
|
7410
7461
|
itk_contact_persons: {
|
|
7411
7462
|
Row: {
|
|
7412
7463
|
created_at: string;
|
|
@@ -8637,6 +8688,45 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
8637
8688
|
};
|
|
8638
8689
|
Relationships: [];
|
|
8639
8690
|
};
|
|
8691
|
+
logistics_plan_queue: {
|
|
8692
|
+
Row: {
|
|
8693
|
+
attempts: number;
|
|
8694
|
+
claimed_at: string | null;
|
|
8695
|
+
enqueued_at: string;
|
|
8696
|
+
error: string | null;
|
|
8697
|
+
id: string;
|
|
8698
|
+
next_attempt_at: string;
|
|
8699
|
+
order_id: string;
|
|
8700
|
+
reason: string;
|
|
8701
|
+
status: string;
|
|
8702
|
+
updated_at: string;
|
|
8703
|
+
};
|
|
8704
|
+
Insert: {
|
|
8705
|
+
attempts?: number;
|
|
8706
|
+
claimed_at?: string | null;
|
|
8707
|
+
enqueued_at?: string;
|
|
8708
|
+
error?: string | null;
|
|
8709
|
+
id?: string;
|
|
8710
|
+
next_attempt_at?: string;
|
|
8711
|
+
order_id: string;
|
|
8712
|
+
reason?: string;
|
|
8713
|
+
status?: string;
|
|
8714
|
+
updated_at?: string;
|
|
8715
|
+
};
|
|
8716
|
+
Update: {
|
|
8717
|
+
attempts?: number;
|
|
8718
|
+
claimed_at?: string | null;
|
|
8719
|
+
enqueued_at?: string;
|
|
8720
|
+
error?: string | null;
|
|
8721
|
+
id?: string;
|
|
8722
|
+
next_attempt_at?: string;
|
|
8723
|
+
order_id?: string;
|
|
8724
|
+
reason?: string;
|
|
8725
|
+
status?: string;
|
|
8726
|
+
updated_at?: string;
|
|
8727
|
+
};
|
|
8728
|
+
Relationships: [];
|
|
8729
|
+
};
|
|
8640
8730
|
logistics_plan_runs: {
|
|
8641
8731
|
Row: {
|
|
8642
8732
|
created_at: string;
|
|
@@ -8712,6 +8802,24 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
8712
8802
|
referencedColumns: ["id"];
|
|
8713
8803
|
}];
|
|
8714
8804
|
};
|
|
8805
|
+
logistics_plan_settings: {
|
|
8806
|
+
Row: {
|
|
8807
|
+
key: string;
|
|
8808
|
+
updated_at: string;
|
|
8809
|
+
value: string;
|
|
8810
|
+
};
|
|
8811
|
+
Insert: {
|
|
8812
|
+
key: string;
|
|
8813
|
+
updated_at?: string;
|
|
8814
|
+
value: string;
|
|
8815
|
+
};
|
|
8816
|
+
Update: {
|
|
8817
|
+
key?: string;
|
|
8818
|
+
updated_at?: string;
|
|
8819
|
+
value?: string;
|
|
8820
|
+
};
|
|
8821
|
+
Relationships: [];
|
|
8822
|
+
};
|
|
8715
8823
|
logistics_rebuffer_state: {
|
|
8716
8824
|
Row: {
|
|
8717
8825
|
created_at: string;
|
|
@@ -9422,14 +9530,17 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
9422
9530
|
};
|
|
9423
9531
|
mailbox_messages: {
|
|
9424
9532
|
Row: {
|
|
9533
|
+
attachments: import("../integrations/supabase/types").Json;
|
|
9425
9534
|
body_html: string | null;
|
|
9426
9535
|
body_text: string | null;
|
|
9536
|
+
cc_recipients: import("../integrations/supabase/types").Json;
|
|
9427
9537
|
connection_id: string | null;
|
|
9428
9538
|
created_at: string;
|
|
9429
9539
|
error_message: string | null;
|
|
9430
9540
|
external_id: string | null;
|
|
9431
9541
|
from_email: string | null;
|
|
9432
9542
|
from_name: string | null;
|
|
9543
|
+
has_attachments: boolean;
|
|
9433
9544
|
id: string;
|
|
9434
9545
|
message_id: string | null;
|
|
9435
9546
|
profile_id: string | null;
|
|
@@ -9437,18 +9548,22 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
9437
9548
|
received_at: string | null;
|
|
9438
9549
|
status: string;
|
|
9439
9550
|
subject: string | null;
|
|
9551
|
+
to_recipients: import("../integrations/supabase/types").Json;
|
|
9440
9552
|
uid: number | null;
|
|
9441
9553
|
updated_at: string;
|
|
9442
9554
|
};
|
|
9443
9555
|
Insert: {
|
|
9556
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
9444
9557
|
body_html?: string | null;
|
|
9445
9558
|
body_text?: string | null;
|
|
9559
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
9446
9560
|
connection_id?: string | null;
|
|
9447
9561
|
created_at?: string;
|
|
9448
9562
|
error_message?: string | null;
|
|
9449
9563
|
external_id?: string | null;
|
|
9450
9564
|
from_email?: string | null;
|
|
9451
9565
|
from_name?: string | null;
|
|
9566
|
+
has_attachments?: boolean;
|
|
9452
9567
|
id?: string;
|
|
9453
9568
|
message_id?: string | null;
|
|
9454
9569
|
profile_id?: string | null;
|
|
@@ -9456,18 +9571,22 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
9456
9571
|
received_at?: string | null;
|
|
9457
9572
|
status?: string;
|
|
9458
9573
|
subject?: string | null;
|
|
9574
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
9459
9575
|
uid?: number | null;
|
|
9460
9576
|
updated_at?: string;
|
|
9461
9577
|
};
|
|
9462
9578
|
Update: {
|
|
9579
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
9463
9580
|
body_html?: string | null;
|
|
9464
9581
|
body_text?: string | null;
|
|
9582
|
+
cc_recipients?: import("../integrations/supabase/types").Json;
|
|
9465
9583
|
connection_id?: string | null;
|
|
9466
9584
|
created_at?: string;
|
|
9467
9585
|
error_message?: string | null;
|
|
9468
9586
|
external_id?: string | null;
|
|
9469
9587
|
from_email?: string | null;
|
|
9470
9588
|
from_name?: string | null;
|
|
9589
|
+
has_attachments?: boolean;
|
|
9471
9590
|
id?: string;
|
|
9472
9591
|
message_id?: string | null;
|
|
9473
9592
|
profile_id?: string | null;
|
|
@@ -9475,6 +9594,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
9475
9594
|
received_at?: string | null;
|
|
9476
9595
|
status?: string;
|
|
9477
9596
|
subject?: string | null;
|
|
9597
|
+
to_recipients?: import("../integrations/supabase/types").Json;
|
|
9478
9598
|
uid?: number | null;
|
|
9479
9599
|
updated_at?: string;
|
|
9480
9600
|
};
|
|
@@ -9882,6 +10002,36 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
9882
10002
|
};
|
|
9883
10003
|
Relationships: [];
|
|
9884
10004
|
};
|
|
10005
|
+
module_registry: {
|
|
10006
|
+
Row: {
|
|
10007
|
+
created_at: string;
|
|
10008
|
+
is_active: boolean;
|
|
10009
|
+
last_seen_at: string;
|
|
10010
|
+
module_id: string;
|
|
10011
|
+
name: string;
|
|
10012
|
+
shell_id: string | null;
|
|
10013
|
+
sort_order: number | null;
|
|
10014
|
+
};
|
|
10015
|
+
Insert: {
|
|
10016
|
+
created_at?: string;
|
|
10017
|
+
is_active?: boolean;
|
|
10018
|
+
last_seen_at?: string;
|
|
10019
|
+
module_id: string;
|
|
10020
|
+
name: string;
|
|
10021
|
+
shell_id?: string | null;
|
|
10022
|
+
sort_order?: number | null;
|
|
10023
|
+
};
|
|
10024
|
+
Update: {
|
|
10025
|
+
created_at?: string;
|
|
10026
|
+
is_active?: boolean;
|
|
10027
|
+
last_seen_at?: string;
|
|
10028
|
+
module_id?: string;
|
|
10029
|
+
name?: string;
|
|
10030
|
+
shell_id?: string | null;
|
|
10031
|
+
sort_order?: number | null;
|
|
10032
|
+
};
|
|
10033
|
+
Relationships: [];
|
|
10034
|
+
};
|
|
9885
10035
|
module_runtime_config: {
|
|
9886
10036
|
Row: {
|
|
9887
10037
|
key: string;
|
|
@@ -10941,6 +11091,45 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
10941
11091
|
};
|
|
10942
11092
|
Relationships: [];
|
|
10943
11093
|
};
|
|
11094
|
+
order_invoice_links: {
|
|
11095
|
+
Row: {
|
|
11096
|
+
attempts: number;
|
|
11097
|
+
created_at: string;
|
|
11098
|
+
error_message: string | null;
|
|
11099
|
+
id: string;
|
|
11100
|
+
invoice_number: string | null;
|
|
11101
|
+
next_attempt_at: string;
|
|
11102
|
+
order_id: string;
|
|
11103
|
+
processed_at: string | null;
|
|
11104
|
+
status: string;
|
|
11105
|
+
updated_at: string;
|
|
11106
|
+
};
|
|
11107
|
+
Insert: {
|
|
11108
|
+
attempts?: number;
|
|
11109
|
+
created_at?: string;
|
|
11110
|
+
error_message?: string | null;
|
|
11111
|
+
id?: string;
|
|
11112
|
+
invoice_number?: string | null;
|
|
11113
|
+
next_attempt_at?: string;
|
|
11114
|
+
order_id: string;
|
|
11115
|
+
processed_at?: string | null;
|
|
11116
|
+
status?: string;
|
|
11117
|
+
updated_at?: string;
|
|
11118
|
+
};
|
|
11119
|
+
Update: {
|
|
11120
|
+
attempts?: number;
|
|
11121
|
+
created_at?: string;
|
|
11122
|
+
error_message?: string | null;
|
|
11123
|
+
id?: string;
|
|
11124
|
+
invoice_number?: string | null;
|
|
11125
|
+
next_attempt_at?: string;
|
|
11126
|
+
order_id?: string;
|
|
11127
|
+
processed_at?: string | null;
|
|
11128
|
+
status?: string;
|
|
11129
|
+
updated_at?: string;
|
|
11130
|
+
};
|
|
11131
|
+
Relationships: [];
|
|
11132
|
+
};
|
|
10944
11133
|
order_items: {
|
|
10945
11134
|
Row: {
|
|
10946
11135
|
crates_per_layer: number | null;
|
|
@@ -11123,6 +11312,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
11123
11312
|
delivery_date: string | null;
|
|
11124
11313
|
floriday_sales_order_id: string | null;
|
|
11125
11314
|
id: string;
|
|
11315
|
+
invoice_due_at: string | null;
|
|
11126
11316
|
is_reservation: boolean;
|
|
11127
11317
|
notes: string | null;
|
|
11128
11318
|
order_date: string;
|
|
@@ -11144,6 +11334,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
11144
11334
|
delivery_date?: string | null;
|
|
11145
11335
|
floriday_sales_order_id?: string | null;
|
|
11146
11336
|
id?: string;
|
|
11337
|
+
invoice_due_at?: string | null;
|
|
11147
11338
|
is_reservation?: boolean;
|
|
11148
11339
|
notes?: string | null;
|
|
11149
11340
|
order_date?: string;
|
|
@@ -11165,6 +11356,7 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
11165
11356
|
delivery_date?: string | null;
|
|
11166
11357
|
floriday_sales_order_id?: string | null;
|
|
11167
11358
|
id?: string;
|
|
11359
|
+
invoice_due_at?: string | null;
|
|
11168
11360
|
is_reservation?: boolean;
|
|
11169
11361
|
notes?: string | null;
|
|
11170
11362
|
order_date?: string;
|
|
@@ -12462,6 +12654,63 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
12462
12654
|
referencedColumns: ["id"];
|
|
12463
12655
|
}];
|
|
12464
12656
|
};
|
|
12657
|
+
print_queue_runners: {
|
|
12658
|
+
Row: {
|
|
12659
|
+
actief: boolean;
|
|
12660
|
+
basis_url: string;
|
|
12661
|
+
created_at: string;
|
|
12662
|
+
id: string;
|
|
12663
|
+
laatst_gezien: string;
|
|
12664
|
+
tick_sleutel: string;
|
|
12665
|
+
updated_at: string;
|
|
12666
|
+
};
|
|
12667
|
+
Insert: {
|
|
12668
|
+
actief?: boolean;
|
|
12669
|
+
basis_url: string;
|
|
12670
|
+
created_at?: string;
|
|
12671
|
+
id?: string;
|
|
12672
|
+
laatst_gezien?: string;
|
|
12673
|
+
tick_sleutel?: string;
|
|
12674
|
+
updated_at?: string;
|
|
12675
|
+
};
|
|
12676
|
+
Update: {
|
|
12677
|
+
actief?: boolean;
|
|
12678
|
+
basis_url?: string;
|
|
12679
|
+
created_at?: string;
|
|
12680
|
+
id?: string;
|
|
12681
|
+
laatst_gezien?: string;
|
|
12682
|
+
tick_sleutel?: string;
|
|
12683
|
+
updated_at?: string;
|
|
12684
|
+
};
|
|
12685
|
+
Relationships: [];
|
|
12686
|
+
};
|
|
12687
|
+
print_queue_settings: {
|
|
12688
|
+
Row: {
|
|
12689
|
+
bewaar_bestanden_dagen: number;
|
|
12690
|
+
bewaar_opdrachten_dagen: number;
|
|
12691
|
+
created_at: string;
|
|
12692
|
+
dubbel_venster_minuten: number;
|
|
12693
|
+
id: string;
|
|
12694
|
+
updated_at: string;
|
|
12695
|
+
};
|
|
12696
|
+
Insert: {
|
|
12697
|
+
bewaar_bestanden_dagen?: number;
|
|
12698
|
+
bewaar_opdrachten_dagen?: number;
|
|
12699
|
+
created_at?: string;
|
|
12700
|
+
dubbel_venster_minuten?: number;
|
|
12701
|
+
id?: string;
|
|
12702
|
+
updated_at?: string;
|
|
12703
|
+
};
|
|
12704
|
+
Update: {
|
|
12705
|
+
bewaar_bestanden_dagen?: number;
|
|
12706
|
+
bewaar_opdrachten_dagen?: number;
|
|
12707
|
+
created_at?: string;
|
|
12708
|
+
dubbel_venster_minuten?: number;
|
|
12709
|
+
id?: string;
|
|
12710
|
+
updated_at?: string;
|
|
12711
|
+
};
|
|
12712
|
+
Relationships: [];
|
|
12713
|
+
};
|
|
12465
12714
|
print_rules: {
|
|
12466
12715
|
Row: {
|
|
12467
12716
|
actief: boolean;
|
|
@@ -15302,6 +15551,8 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
15302
15551
|
};
|
|
15303
15552
|
twinfield_invoice_settings: {
|
|
15304
15553
|
Row: {
|
|
15554
|
+
auto_invoice_enabled: boolean;
|
|
15555
|
+
auto_invoice_trigger_statuses: string[];
|
|
15305
15556
|
created_at: string;
|
|
15306
15557
|
debtor_gl_account: string;
|
|
15307
15558
|
default_credit_invoice_type: string | null;
|
|
@@ -15322,6 +15573,8 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
15322
15573
|
vat_code_export: string | null;
|
|
15323
15574
|
};
|
|
15324
15575
|
Insert: {
|
|
15576
|
+
auto_invoice_enabled?: boolean;
|
|
15577
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15325
15578
|
created_at?: string;
|
|
15326
15579
|
debtor_gl_account?: string;
|
|
15327
15580
|
default_credit_invoice_type?: string | null;
|
|
@@ -15342,6 +15595,8 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
15342
15595
|
vat_code_export?: string | null;
|
|
15343
15596
|
};
|
|
15344
15597
|
Update: {
|
|
15598
|
+
auto_invoice_enabled?: boolean;
|
|
15599
|
+
auto_invoice_trigger_statuses?: string[];
|
|
15345
15600
|
created_at?: string;
|
|
15346
15601
|
debtor_gl_account?: string;
|
|
15347
15602
|
default_credit_invoice_type?: string | null;
|
|
@@ -16404,6 +16659,33 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
16404
16659
|
referencedColumns: ["id"];
|
|
16405
16660
|
}];
|
|
16406
16661
|
};
|
|
16662
|
+
user_module_permissions: {
|
|
16663
|
+
Row: {
|
|
16664
|
+
created_at: string;
|
|
16665
|
+
id: string;
|
|
16666
|
+
module_id: string;
|
|
16667
|
+
permission: string;
|
|
16668
|
+
updated_at: string;
|
|
16669
|
+
user_id: string;
|
|
16670
|
+
};
|
|
16671
|
+
Insert: {
|
|
16672
|
+
created_at?: string;
|
|
16673
|
+
id?: string;
|
|
16674
|
+
module_id: string;
|
|
16675
|
+
permission: string;
|
|
16676
|
+
updated_at?: string;
|
|
16677
|
+
user_id: string;
|
|
16678
|
+
};
|
|
16679
|
+
Update: {
|
|
16680
|
+
created_at?: string;
|
|
16681
|
+
id?: string;
|
|
16682
|
+
module_id?: string;
|
|
16683
|
+
permission?: string;
|
|
16684
|
+
updated_at?: string;
|
|
16685
|
+
user_id?: string;
|
|
16686
|
+
};
|
|
16687
|
+
Relationships: [];
|
|
16688
|
+
};
|
|
16407
16689
|
user_roles: {
|
|
16408
16690
|
Row: {
|
|
16409
16691
|
created_at: string;
|
|
@@ -18237,6 +18519,10 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
18237
18519
|
processed_items: number;
|
|
18238
18520
|
}[];
|
|
18239
18521
|
};
|
|
18522
|
+
backfill_order_auto_invoice_queue: {
|
|
18523
|
+
Args: never;
|
|
18524
|
+
Returns: number;
|
|
18525
|
+
};
|
|
18240
18526
|
calculate_layer_stock: {
|
|
18241
18527
|
Args: {
|
|
18242
18528
|
p_product_id: string;
|
|
@@ -18467,6 +18753,10 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
18467
18753
|
Args: never;
|
|
18468
18754
|
Returns: undefined;
|
|
18469
18755
|
};
|
|
18756
|
+
cleanup_voorraad_module_history: {
|
|
18757
|
+
Args: never;
|
|
18758
|
+
Returns: undefined;
|
|
18759
|
+
};
|
|
18470
18760
|
complete_floriday_stock_queue: {
|
|
18471
18761
|
Args: {
|
|
18472
18762
|
p_attempt_id?: string;
|
|
@@ -18588,6 +18878,13 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
18588
18878
|
};
|
|
18589
18879
|
Returns: import("../integrations/supabase/types").Json;
|
|
18590
18880
|
};
|
|
18881
|
+
effective_module_permission: {
|
|
18882
|
+
Args: {
|
|
18883
|
+
_module_id: string;
|
|
18884
|
+
_user_id: string;
|
|
18885
|
+
};
|
|
18886
|
+
Returns: string;
|
|
18887
|
+
};
|
|
18591
18888
|
email_auth_decrypt: {
|
|
18592
18889
|
Args: {
|
|
18593
18890
|
cipher: string;
|
|
@@ -19488,6 +19785,65 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
19488
19785
|
};
|
|
19489
19786
|
Returns: number;
|
|
19490
19787
|
};
|
|
19788
|
+
logistics_plan_claim: {
|
|
19789
|
+
Args: {
|
|
19790
|
+
p_limit?: number;
|
|
19791
|
+
};
|
|
19792
|
+
Returns: {
|
|
19793
|
+
attempts: number;
|
|
19794
|
+
id: string;
|
|
19795
|
+
order_id: string;
|
|
19796
|
+
}[];
|
|
19797
|
+
};
|
|
19798
|
+
logistics_plan_enqueue: {
|
|
19799
|
+
Args: {
|
|
19800
|
+
p_order_id: string;
|
|
19801
|
+
p_reason?: string;
|
|
19802
|
+
};
|
|
19803
|
+
Returns: undefined;
|
|
19804
|
+
};
|
|
19805
|
+
logistics_plan_ensure_event: {
|
|
19806
|
+
Args: {
|
|
19807
|
+
p_order_id: string;
|
|
19808
|
+
};
|
|
19809
|
+
Returns: boolean;
|
|
19810
|
+
};
|
|
19811
|
+
logistics_plan_finish: {
|
|
19812
|
+
Args: {
|
|
19813
|
+
p_error?: string;
|
|
19814
|
+
p_id: string;
|
|
19815
|
+
};
|
|
19816
|
+
Returns: undefined;
|
|
19817
|
+
};
|
|
19818
|
+
logistics_plan_impact_orders: {
|
|
19819
|
+
Args: {
|
|
19820
|
+
p_order_id: string;
|
|
19821
|
+
};
|
|
19822
|
+
Returns: {
|
|
19823
|
+
buffer_id: string;
|
|
19824
|
+
order_id: string;
|
|
19825
|
+
plan_date: string;
|
|
19826
|
+
}[];
|
|
19827
|
+
};
|
|
19828
|
+
logistics_plan_kick: {
|
|
19829
|
+
Args: never;
|
|
19830
|
+
Returns: undefined;
|
|
19831
|
+
};
|
|
19832
|
+
logistics_plan_prune: {
|
|
19833
|
+
Args: never;
|
|
19834
|
+
Returns: number;
|
|
19835
|
+
};
|
|
19836
|
+
logistics_plan_release_stale: {
|
|
19837
|
+
Args: never;
|
|
19838
|
+
Returns: number;
|
|
19839
|
+
};
|
|
19840
|
+
logistics_plan_setting: {
|
|
19841
|
+
Args: {
|
|
19842
|
+
p_default: number;
|
|
19843
|
+
p_key: string;
|
|
19844
|
+
};
|
|
19845
|
+
Returns: number;
|
|
19846
|
+
};
|
|
19491
19847
|
logistics_queue_capacity_email: {
|
|
19492
19848
|
Args: {
|
|
19493
19849
|
p_alert_id: string;
|
|
@@ -19726,6 +20082,13 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
19726
20082
|
};
|
|
19727
20083
|
Returns: undefined;
|
|
19728
20084
|
};
|
|
20085
|
+
my_module_permissions: {
|
|
20086
|
+
Args: never;
|
|
20087
|
+
Returns: {
|
|
20088
|
+
module_id: string;
|
|
20089
|
+
permission: string;
|
|
20090
|
+
}[];
|
|
20091
|
+
};
|
|
19729
20092
|
next_manufacture_partij: {
|
|
19730
20093
|
Args: {
|
|
19731
20094
|
_tenant_id: string;
|
|
@@ -19776,6 +20139,13 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
19776
20139
|
};
|
|
19777
20140
|
Returns: boolean;
|
|
19778
20141
|
};
|
|
20142
|
+
opruim_print_historie: {
|
|
20143
|
+
Args: never;
|
|
20144
|
+
Returns: {
|
|
20145
|
+
ontdaan: number;
|
|
20146
|
+
verwijderd: number;
|
|
20147
|
+
}[];
|
|
20148
|
+
};
|
|
19779
20149
|
order_number_prefix: {
|
|
19780
20150
|
Args: {
|
|
19781
20151
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -20170,6 +20540,12 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
20170
20540
|
};
|
|
20171
20541
|
Returns: undefined;
|
|
20172
20542
|
};
|
|
20543
|
+
reset_stalled_floriday_stock_queue: {
|
|
20544
|
+
Args: {
|
|
20545
|
+
p_include_failed?: boolean;
|
|
20546
|
+
};
|
|
20547
|
+
Returns: number;
|
|
20548
|
+
};
|
|
20173
20549
|
resolve_group_allocation: {
|
|
20174
20550
|
Args: {
|
|
20175
20551
|
_needed: number;
|
|
@@ -20224,10 +20600,18 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
20224
20600
|
Args: never;
|
|
20225
20601
|
Returns: undefined;
|
|
20226
20602
|
};
|
|
20603
|
+
run_floriday_stock_queue_process: {
|
|
20604
|
+
Args: never;
|
|
20605
|
+
Returns: undefined;
|
|
20606
|
+
};
|
|
20227
20607
|
run_logistics_tasks_dispatch: {
|
|
20228
20608
|
Args: never;
|
|
20229
20609
|
Returns: undefined;
|
|
20230
20610
|
};
|
|
20611
|
+
run_print_queue_ticks: {
|
|
20612
|
+
Args: never;
|
|
20613
|
+
Returns: number;
|
|
20614
|
+
};
|
|
20231
20615
|
run_twinfield_queue_tick: {
|
|
20232
20616
|
Args: never;
|
|
20233
20617
|
Returns: undefined;
|
|
@@ -20615,6 +20999,15 @@ export declare const recalculateLogistics: import("@tanstack/start-client-core")
|
|
|
20615
20999
|
};
|
|
20616
21000
|
Returns: undefined;
|
|
20617
21001
|
};
|
|
21002
|
+
trade_item_stock_duplicates: {
|
|
21003
|
+
Args: never;
|
|
21004
|
+
Returns: {
|
|
21005
|
+
keys: string[];
|
|
21006
|
+
product_id: string;
|
|
21007
|
+
product_name: string;
|
|
21008
|
+
row_count: number;
|
|
21009
|
+
}[];
|
|
21010
|
+
};
|
|
20618
21011
|
try_debtor_lock: {
|
|
20619
21012
|
Args: {
|
|
20620
21013
|
_group_key: string;
|