@flowselections/logistiek-engine 1.0.14 → 1.0.16
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/integrations/supabase/auth-middleware.d.ts +53 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +53 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts +53 -0
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +53 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/bulkLoadCarrierPlanning.server.d.ts +2 -0
- package/dist-lib/lib/bulkLoadCarrierPlanning.server.d.ts.map +1 -1
- package/dist-lib/lib/bulkLoadCarrierPlanning.server.js +11 -0
- package/dist-lib/lib/floridayDocuments.functions.d.ts +159 -0
- package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
- package/dist-lib/lib/floridayPush.functions.d.ts +53 -0
- package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierPlanner.d.ts +1 -1
- package/dist-lib/lib/loadCarrierPlanner.js +1 -1
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +265 -0
- package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierPlanning.server.d.ts +33 -2
- package/dist-lib/lib/loadCarrierPlanning.server.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierPlanning.server.js +245 -47
- package/dist-lib/lib/loadCarrierTaskSync.server.js +1 -1
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +106 -0
- package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts +53 -0
- package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
- package/dist-lib/lib/planQueue.server.d.ts +2 -0
- package/dist-lib/lib/planQueue.server.d.ts.map +1 -1
- package/dist-lib/lib/planQueue.server.js +22 -4
- package/package.json +1 -1
|
@@ -15732,6 +15732,45 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
15732
15732
|
};
|
|
15733
15733
|
Relationships: [];
|
|
15734
15734
|
};
|
|
15735
|
+
stock_consumption_alerts: {
|
|
15736
|
+
Row: {
|
|
15737
|
+
alert_type: string;
|
|
15738
|
+
created_at: string;
|
|
15739
|
+
id: string;
|
|
15740
|
+
mutation_log_id: string | null;
|
|
15741
|
+
order_id: string | null;
|
|
15742
|
+
order_item_id: string | null;
|
|
15743
|
+
qty: number;
|
|
15744
|
+
reason: string | null;
|
|
15745
|
+
resolved_at: string | null;
|
|
15746
|
+
updated_at: string;
|
|
15747
|
+
};
|
|
15748
|
+
Insert: {
|
|
15749
|
+
alert_type: string;
|
|
15750
|
+
created_at?: string;
|
|
15751
|
+
id?: string;
|
|
15752
|
+
mutation_log_id?: string | null;
|
|
15753
|
+
order_id?: string | null;
|
|
15754
|
+
order_item_id?: string | null;
|
|
15755
|
+
qty?: number;
|
|
15756
|
+
reason?: string | null;
|
|
15757
|
+
resolved_at?: string | null;
|
|
15758
|
+
updated_at?: string;
|
|
15759
|
+
};
|
|
15760
|
+
Update: {
|
|
15761
|
+
alert_type?: string;
|
|
15762
|
+
created_at?: string;
|
|
15763
|
+
id?: string;
|
|
15764
|
+
mutation_log_id?: string | null;
|
|
15765
|
+
order_id?: string | null;
|
|
15766
|
+
order_item_id?: string | null;
|
|
15767
|
+
qty?: number;
|
|
15768
|
+
reason?: string | null;
|
|
15769
|
+
resolved_at?: string | null;
|
|
15770
|
+
updated_at?: string;
|
|
15771
|
+
};
|
|
15772
|
+
Relationships: [];
|
|
15773
|
+
};
|
|
15735
15774
|
stock_import_runs: {
|
|
15736
15775
|
Row: {
|
|
15737
15776
|
connection_id: string | null;
|
|
@@ -21404,6 +21443,14 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
21404
21443
|
};
|
|
21405
21444
|
Returns: import("../integrations/supabase/types").Json;
|
|
21406
21445
|
};
|
|
21446
|
+
logistics_plan_block: {
|
|
21447
|
+
Args: {
|
|
21448
|
+
p_details?: import("../integrations/supabase/types").Json;
|
|
21449
|
+
p_order_ids: string[];
|
|
21450
|
+
p_reason: string;
|
|
21451
|
+
};
|
|
21452
|
+
Returns: number;
|
|
21453
|
+
};
|
|
21407
21454
|
logistics_plan_buffer_sql: {
|
|
21408
21455
|
Args: {
|
|
21409
21456
|
p_buffer_id: string;
|
|
@@ -21772,6 +21819,12 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
|
|
|
21772
21819
|
verwijderd: number;
|
|
21773
21820
|
}[];
|
|
21774
21821
|
};
|
|
21822
|
+
order_departure_proof: {
|
|
21823
|
+
Args: {
|
|
21824
|
+
p_order_id: string;
|
|
21825
|
+
};
|
|
21826
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
21827
|
+
};
|
|
21775
21828
|
order_number_prefix: {
|
|
21776
21829
|
Args: {
|
|
21777
21830
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -38614,6 +38667,45 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
38614
38667
|
};
|
|
38615
38668
|
Relationships: [];
|
|
38616
38669
|
};
|
|
38670
|
+
stock_consumption_alerts: {
|
|
38671
|
+
Row: {
|
|
38672
|
+
alert_type: string;
|
|
38673
|
+
created_at: string;
|
|
38674
|
+
id: string;
|
|
38675
|
+
mutation_log_id: string | null;
|
|
38676
|
+
order_id: string | null;
|
|
38677
|
+
order_item_id: string | null;
|
|
38678
|
+
qty: number;
|
|
38679
|
+
reason: string | null;
|
|
38680
|
+
resolved_at: string | null;
|
|
38681
|
+
updated_at: string;
|
|
38682
|
+
};
|
|
38683
|
+
Insert: {
|
|
38684
|
+
alert_type: string;
|
|
38685
|
+
created_at?: string;
|
|
38686
|
+
id?: string;
|
|
38687
|
+
mutation_log_id?: string | null;
|
|
38688
|
+
order_id?: string | null;
|
|
38689
|
+
order_item_id?: string | null;
|
|
38690
|
+
qty?: number;
|
|
38691
|
+
reason?: string | null;
|
|
38692
|
+
resolved_at?: string | null;
|
|
38693
|
+
updated_at?: string;
|
|
38694
|
+
};
|
|
38695
|
+
Update: {
|
|
38696
|
+
alert_type?: string;
|
|
38697
|
+
created_at?: string;
|
|
38698
|
+
id?: string;
|
|
38699
|
+
mutation_log_id?: string | null;
|
|
38700
|
+
order_id?: string | null;
|
|
38701
|
+
order_item_id?: string | null;
|
|
38702
|
+
qty?: number;
|
|
38703
|
+
reason?: string | null;
|
|
38704
|
+
resolved_at?: string | null;
|
|
38705
|
+
updated_at?: string;
|
|
38706
|
+
};
|
|
38707
|
+
Relationships: [];
|
|
38708
|
+
};
|
|
38617
38709
|
stock_import_runs: {
|
|
38618
38710
|
Row: {
|
|
38619
38711
|
connection_id: string | null;
|
|
@@ -44286,6 +44378,14 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
44286
44378
|
};
|
|
44287
44379
|
Returns: import("../integrations/supabase/types").Json;
|
|
44288
44380
|
};
|
|
44381
|
+
logistics_plan_block: {
|
|
44382
|
+
Args: {
|
|
44383
|
+
p_details?: import("../integrations/supabase/types").Json;
|
|
44384
|
+
p_order_ids: string[];
|
|
44385
|
+
p_reason: string;
|
|
44386
|
+
};
|
|
44387
|
+
Returns: number;
|
|
44388
|
+
};
|
|
44289
44389
|
logistics_plan_buffer_sql: {
|
|
44290
44390
|
Args: {
|
|
44291
44391
|
p_buffer_id: string;
|
|
@@ -44654,6 +44754,12 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
|
|
|
44654
44754
|
verwijderd: number;
|
|
44655
44755
|
}[];
|
|
44656
44756
|
};
|
|
44757
|
+
order_departure_proof: {
|
|
44758
|
+
Args: {
|
|
44759
|
+
p_order_id: string;
|
|
44760
|
+
};
|
|
44761
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
44762
|
+
};
|
|
44657
44763
|
order_number_prefix: {
|
|
44658
44764
|
Args: {
|
|
44659
44765
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -61500,6 +61606,45 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
61500
61606
|
};
|
|
61501
61607
|
Relationships: [];
|
|
61502
61608
|
};
|
|
61609
|
+
stock_consumption_alerts: {
|
|
61610
|
+
Row: {
|
|
61611
|
+
alert_type: string;
|
|
61612
|
+
created_at: string;
|
|
61613
|
+
id: string;
|
|
61614
|
+
mutation_log_id: string | null;
|
|
61615
|
+
order_id: string | null;
|
|
61616
|
+
order_item_id: string | null;
|
|
61617
|
+
qty: number;
|
|
61618
|
+
reason: string | null;
|
|
61619
|
+
resolved_at: string | null;
|
|
61620
|
+
updated_at: string;
|
|
61621
|
+
};
|
|
61622
|
+
Insert: {
|
|
61623
|
+
alert_type: string;
|
|
61624
|
+
created_at?: string;
|
|
61625
|
+
id?: string;
|
|
61626
|
+
mutation_log_id?: string | null;
|
|
61627
|
+
order_id?: string | null;
|
|
61628
|
+
order_item_id?: string | null;
|
|
61629
|
+
qty?: number;
|
|
61630
|
+
reason?: string | null;
|
|
61631
|
+
resolved_at?: string | null;
|
|
61632
|
+
updated_at?: string;
|
|
61633
|
+
};
|
|
61634
|
+
Update: {
|
|
61635
|
+
alert_type?: string;
|
|
61636
|
+
created_at?: string;
|
|
61637
|
+
id?: string;
|
|
61638
|
+
mutation_log_id?: string | null;
|
|
61639
|
+
order_id?: string | null;
|
|
61640
|
+
order_item_id?: string | null;
|
|
61641
|
+
qty?: number;
|
|
61642
|
+
reason?: string | null;
|
|
61643
|
+
resolved_at?: string | null;
|
|
61644
|
+
updated_at?: string;
|
|
61645
|
+
};
|
|
61646
|
+
Relationships: [];
|
|
61647
|
+
};
|
|
61503
61648
|
stock_import_runs: {
|
|
61504
61649
|
Row: {
|
|
61505
61650
|
connection_id: string | null;
|
|
@@ -67172,6 +67317,14 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
67172
67317
|
};
|
|
67173
67318
|
Returns: import("../integrations/supabase/types").Json;
|
|
67174
67319
|
};
|
|
67320
|
+
logistics_plan_block: {
|
|
67321
|
+
Args: {
|
|
67322
|
+
p_details?: import("../integrations/supabase/types").Json;
|
|
67323
|
+
p_order_ids: string[];
|
|
67324
|
+
p_reason: string;
|
|
67325
|
+
};
|
|
67326
|
+
Returns: number;
|
|
67327
|
+
};
|
|
67175
67328
|
logistics_plan_buffer_sql: {
|
|
67176
67329
|
Args: {
|
|
67177
67330
|
p_buffer_id: string;
|
|
@@ -67540,6 +67693,12 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
|
|
|
67540
67693
|
verwijderd: number;
|
|
67541
67694
|
}[];
|
|
67542
67695
|
};
|
|
67696
|
+
order_departure_proof: {
|
|
67697
|
+
Args: {
|
|
67698
|
+
p_order_id: string;
|
|
67699
|
+
};
|
|
67700
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
67701
|
+
};
|
|
67543
67702
|
order_number_prefix: {
|
|
67544
67703
|
Args: {
|
|
67545
67704
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -84386,6 +84545,45 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
84386
84545
|
};
|
|
84387
84546
|
Relationships: [];
|
|
84388
84547
|
};
|
|
84548
|
+
stock_consumption_alerts: {
|
|
84549
|
+
Row: {
|
|
84550
|
+
alert_type: string;
|
|
84551
|
+
created_at: string;
|
|
84552
|
+
id: string;
|
|
84553
|
+
mutation_log_id: string | null;
|
|
84554
|
+
order_id: string | null;
|
|
84555
|
+
order_item_id: string | null;
|
|
84556
|
+
qty: number;
|
|
84557
|
+
reason: string | null;
|
|
84558
|
+
resolved_at: string | null;
|
|
84559
|
+
updated_at: string;
|
|
84560
|
+
};
|
|
84561
|
+
Insert: {
|
|
84562
|
+
alert_type: string;
|
|
84563
|
+
created_at?: string;
|
|
84564
|
+
id?: string;
|
|
84565
|
+
mutation_log_id?: string | null;
|
|
84566
|
+
order_id?: string | null;
|
|
84567
|
+
order_item_id?: string | null;
|
|
84568
|
+
qty?: number;
|
|
84569
|
+
reason?: string | null;
|
|
84570
|
+
resolved_at?: string | null;
|
|
84571
|
+
updated_at?: string;
|
|
84572
|
+
};
|
|
84573
|
+
Update: {
|
|
84574
|
+
alert_type?: string;
|
|
84575
|
+
created_at?: string;
|
|
84576
|
+
id?: string;
|
|
84577
|
+
mutation_log_id?: string | null;
|
|
84578
|
+
order_id?: string | null;
|
|
84579
|
+
order_item_id?: string | null;
|
|
84580
|
+
qty?: number;
|
|
84581
|
+
reason?: string | null;
|
|
84582
|
+
resolved_at?: string | null;
|
|
84583
|
+
updated_at?: string;
|
|
84584
|
+
};
|
|
84585
|
+
Relationships: [];
|
|
84586
|
+
};
|
|
84389
84587
|
stock_import_runs: {
|
|
84390
84588
|
Row: {
|
|
84391
84589
|
connection_id: string | null;
|
|
@@ -90058,6 +90256,14 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
90058
90256
|
};
|
|
90059
90257
|
Returns: import("../integrations/supabase/types").Json;
|
|
90060
90258
|
};
|
|
90259
|
+
logistics_plan_block: {
|
|
90260
|
+
Args: {
|
|
90261
|
+
p_details?: import("../integrations/supabase/types").Json;
|
|
90262
|
+
p_order_ids: string[];
|
|
90263
|
+
p_reason: string;
|
|
90264
|
+
};
|
|
90265
|
+
Returns: number;
|
|
90266
|
+
};
|
|
90061
90267
|
logistics_plan_buffer_sql: {
|
|
90062
90268
|
Args: {
|
|
90063
90269
|
p_buffer_id: string;
|
|
@@ -90426,6 +90632,12 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
|
|
|
90426
90632
|
verwijderd: number;
|
|
90427
90633
|
}[];
|
|
90428
90634
|
};
|
|
90635
|
+
order_departure_proof: {
|
|
90636
|
+
Args: {
|
|
90637
|
+
p_order_id: string;
|
|
90638
|
+
};
|
|
90639
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
90640
|
+
};
|
|
90429
90641
|
order_number_prefix: {
|
|
90430
90642
|
Args: {
|
|
90431
90643
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -107270,6 +107482,45 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
107270
107482
|
};
|
|
107271
107483
|
Relationships: [];
|
|
107272
107484
|
};
|
|
107485
|
+
stock_consumption_alerts: {
|
|
107486
|
+
Row: {
|
|
107487
|
+
alert_type: string;
|
|
107488
|
+
created_at: string;
|
|
107489
|
+
id: string;
|
|
107490
|
+
mutation_log_id: string | null;
|
|
107491
|
+
order_id: string | null;
|
|
107492
|
+
order_item_id: string | null;
|
|
107493
|
+
qty: number;
|
|
107494
|
+
reason: string | null;
|
|
107495
|
+
resolved_at: string | null;
|
|
107496
|
+
updated_at: string;
|
|
107497
|
+
};
|
|
107498
|
+
Insert: {
|
|
107499
|
+
alert_type: string;
|
|
107500
|
+
created_at?: string;
|
|
107501
|
+
id?: string;
|
|
107502
|
+
mutation_log_id?: string | null;
|
|
107503
|
+
order_id?: string | null;
|
|
107504
|
+
order_item_id?: string | null;
|
|
107505
|
+
qty?: number;
|
|
107506
|
+
reason?: string | null;
|
|
107507
|
+
resolved_at?: string | null;
|
|
107508
|
+
updated_at?: string;
|
|
107509
|
+
};
|
|
107510
|
+
Update: {
|
|
107511
|
+
alert_type?: string;
|
|
107512
|
+
created_at?: string;
|
|
107513
|
+
id?: string;
|
|
107514
|
+
mutation_log_id?: string | null;
|
|
107515
|
+
order_id?: string | null;
|
|
107516
|
+
order_item_id?: string | null;
|
|
107517
|
+
qty?: number;
|
|
107518
|
+
reason?: string | null;
|
|
107519
|
+
resolved_at?: string | null;
|
|
107520
|
+
updated_at?: string;
|
|
107521
|
+
};
|
|
107522
|
+
Relationships: [];
|
|
107523
|
+
};
|
|
107273
107524
|
stock_import_runs: {
|
|
107274
107525
|
Row: {
|
|
107275
107526
|
connection_id: string | null;
|
|
@@ -112942,6 +113193,14 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
112942
113193
|
};
|
|
112943
113194
|
Returns: import("../integrations/supabase/types").Json;
|
|
112944
113195
|
};
|
|
113196
|
+
logistics_plan_block: {
|
|
113197
|
+
Args: {
|
|
113198
|
+
p_details?: import("../integrations/supabase/types").Json;
|
|
113199
|
+
p_order_ids: string[];
|
|
113200
|
+
p_reason: string;
|
|
113201
|
+
};
|
|
113202
|
+
Returns: number;
|
|
113203
|
+
};
|
|
112945
113204
|
logistics_plan_buffer_sql: {
|
|
112946
113205
|
Args: {
|
|
112947
113206
|
p_buffer_id: string;
|
|
@@ -113310,6 +113569,12 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
|
|
|
113310
113569
|
verwijderd: number;
|
|
113311
113570
|
}[];
|
|
113312
113571
|
};
|
|
113572
|
+
order_departure_proof: {
|
|
113573
|
+
Args: {
|
|
113574
|
+
p_order_id: string;
|
|
113575
|
+
};
|
|
113576
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
113577
|
+
};
|
|
113313
113578
|
order_number_prefix: {
|
|
113314
113579
|
Args: {
|
|
113315
113580
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|