@flowselections/logistiek-engine 1.0.21 → 1.0.22

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.
Files changed (34) hide show
  1. package/dist-lib/components/PrintjobsCard.d.ts.map +1 -1
  2. package/dist-lib/components/PrintjobsCard.js +16 -10
  3. package/dist-lib/components/RuleEnginePage.d.ts.map +1 -1
  4. package/dist-lib/components/RuleEnginePage.js +1 -1
  5. package/dist-lib/components/rule-engine/RuleFieldInput.d.ts +3 -1
  6. package/dist-lib/components/rule-engine/RuleFieldInput.d.ts.map +1 -1
  7. package/dist-lib/components/rule-engine/RuleFieldInput.js +6 -2
  8. package/dist-lib/hooks/usePrintjobs.d.ts +19 -0
  9. package/dist-lib/hooks/usePrintjobs.d.ts.map +1 -1
  10. package/dist-lib/hooks/usePrintjobs.js +98 -24
  11. package/dist-lib/integrations/supabase/auth-middleware.d.ts +42 -0
  12. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  13. package/dist-lib/integrations/supabase/client.server.d.ts +42 -0
  14. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  15. package/dist-lib/integrations/supabase/moduleClient.d.ts +42 -0
  16. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  17. package/dist-lib/integrations/supabase/types.d.ts +42 -0
  18. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  19. package/dist-lib/lib/floridayDocuments.functions.d.ts +126 -0
  20. package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
  21. package/dist-lib/lib/floridayPush.functions.d.ts +42 -0
  22. package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
  23. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +210 -0
  24. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
  25. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +84 -0
  26. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
  27. package/dist-lib/lib/logisticsRecalculate.functions.d.ts +42 -0
  28. package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
  29. package/dist-lib/lib/ruleEngineSchema.d.ts +4 -0
  30. package/dist-lib/lib/ruleEngineSchema.d.ts.map +1 -1
  31. package/dist-lib/lib/ruleEngineSchema.js +21 -3
  32. package/dist-lib/lib/ruleEngineWizard.d.ts.map +1 -1
  33. package/dist-lib/lib/ruleEngineWizard.js +3 -0
  34. package/package.json +1 -1
@@ -10740,6 +10740,24 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
10740
10740
  };
10741
10741
  Relationships: [];
10742
10742
  };
10743
+ maps_job_lease: {
10744
+ Row: {
10745
+ job: string;
10746
+ locked_until: string;
10747
+ updated_at: string;
10748
+ };
10749
+ Insert: {
10750
+ job: string;
10751
+ locked_until?: string;
10752
+ updated_at?: string;
10753
+ };
10754
+ Update: {
10755
+ job?: string;
10756
+ locked_until?: string;
10757
+ updated_at?: string;
10758
+ };
10759
+ Relationships: [];
10760
+ };
10743
10761
  maps_request_queue: {
10744
10762
  Row: {
10745
10763
  attempts: number;
@@ -13601,6 +13619,8 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
13601
13619
  foutmelding: string | null;
13602
13620
  gebruiker_id: string | null;
13603
13621
  gebruiker_naam: string;
13622
+ gebruikte_bron: string | null;
13623
+ gebruikte_layout_id: string | null;
13604
13624
  gestart_op: string | null;
13605
13625
  herkomst: string | null;
13606
13626
  id: string;
@@ -13631,6 +13651,8 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
13631
13651
  foutmelding?: string | null;
13632
13652
  gebruiker_id?: string | null;
13633
13653
  gebruiker_naam?: string;
13654
+ gebruikte_bron?: string | null;
13655
+ gebruikte_layout_id?: string | null;
13634
13656
  gestart_op?: string | null;
13635
13657
  herkomst?: string | null;
13636
13658
  id?: string;
@@ -13661,6 +13683,8 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
13661
13683
  foutmelding?: string | null;
13662
13684
  gebruiker_id?: string | null;
13663
13685
  gebruiker_naam?: string;
13686
+ gebruikte_bron?: string | null;
13687
+ gebruikte_layout_id?: string | null;
13664
13688
  gestart_op?: string | null;
13665
13689
  herkomst?: string | null;
13666
13690
  id?: string;
@@ -20330,6 +20354,8 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
20330
20354
  foutmelding: string | null;
20331
20355
  gebruiker_id: string | null;
20332
20356
  gebruiker_naam: string;
20357
+ gebruikte_bron: string | null;
20358
+ gebruikte_layout_id: string | null;
20333
20359
  gestart_op: string | null;
20334
20360
  herkomst: string | null;
20335
20361
  id: string;
@@ -20451,6 +20477,8 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
20451
20477
  foutmelding: string | null;
20452
20478
  gebruiker_id: string | null;
20453
20479
  gebruiker_naam: string;
20480
+ gebruikte_bron: string | null;
20481
+ gebruikte_layout_id: string | null;
20454
20482
  gestart_op: string | null;
20455
20483
  herkomst: string | null;
20456
20484
  id: string;
@@ -21507,6 +21535,12 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
21507
21535
  };
21508
21536
  Returns: string;
21509
21537
  };
21538
+ logistics_document_type_map: {
21539
+ Args: {
21540
+ _document_code: string;
21541
+ };
21542
+ Returns: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"][];
21543
+ };
21510
21544
  logistics_emit_event: {
21511
21545
  Args: {
21512
21546
  p_event_type: string;
@@ -21970,6 +22004,14 @@ export declare const replanOrderLoadCarriers: import("@tanstack/start-client-cor
21970
22004
  };
21971
22005
  Returns: string;
21972
22006
  };
22007
+ maps_cron_token: {
22008
+ Args: never;
22009
+ Returns: string;
22010
+ };
22011
+ maps_kick_queue: {
22012
+ Args: never;
22013
+ Returns: undefined;
22014
+ };
21973
22015
  mark_offer_clicked: {
21974
22016
  Args: {
21975
22017
  p_code: string;
@@ -33962,6 +34004,24 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
33962
34004
  };
33963
34005
  Relationships: [];
33964
34006
  };
34007
+ maps_job_lease: {
34008
+ Row: {
34009
+ job: string;
34010
+ locked_until: string;
34011
+ updated_at: string;
34012
+ };
34013
+ Insert: {
34014
+ job: string;
34015
+ locked_until?: string;
34016
+ updated_at?: string;
34017
+ };
34018
+ Update: {
34019
+ job?: string;
34020
+ locked_until?: string;
34021
+ updated_at?: string;
34022
+ };
34023
+ Relationships: [];
34024
+ };
33965
34025
  maps_request_queue: {
33966
34026
  Row: {
33967
34027
  attempts: number;
@@ -36823,6 +36883,8 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
36823
36883
  foutmelding: string | null;
36824
36884
  gebruiker_id: string | null;
36825
36885
  gebruiker_naam: string;
36886
+ gebruikte_bron: string | null;
36887
+ gebruikte_layout_id: string | null;
36826
36888
  gestart_op: string | null;
36827
36889
  herkomst: string | null;
36828
36890
  id: string;
@@ -36853,6 +36915,8 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
36853
36915
  foutmelding?: string | null;
36854
36916
  gebruiker_id?: string | null;
36855
36917
  gebruiker_naam?: string;
36918
+ gebruikte_bron?: string | null;
36919
+ gebruikte_layout_id?: string | null;
36856
36920
  gestart_op?: string | null;
36857
36921
  herkomst?: string | null;
36858
36922
  id?: string;
@@ -36883,6 +36947,8 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
36883
36947
  foutmelding?: string | null;
36884
36948
  gebruiker_id?: string | null;
36885
36949
  gebruiker_naam?: string;
36950
+ gebruikte_bron?: string | null;
36951
+ gebruikte_layout_id?: string | null;
36886
36952
  gestart_op?: string | null;
36887
36953
  herkomst?: string | null;
36888
36954
  id?: string;
@@ -43552,6 +43618,8 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
43552
43618
  foutmelding: string | null;
43553
43619
  gebruiker_id: string | null;
43554
43620
  gebruiker_naam: string;
43621
+ gebruikte_bron: string | null;
43622
+ gebruikte_layout_id: string | null;
43555
43623
  gestart_op: string | null;
43556
43624
  herkomst: string | null;
43557
43625
  id: string;
@@ -43673,6 +43741,8 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
43673
43741
  foutmelding: string | null;
43674
43742
  gebruiker_id: string | null;
43675
43743
  gebruiker_naam: string;
43744
+ gebruikte_bron: string | null;
43745
+ gebruikte_layout_id: string | null;
43676
43746
  gestart_op: string | null;
43677
43747
  herkomst: string | null;
43678
43748
  id: string;
@@ -44729,6 +44799,12 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
44729
44799
  };
44730
44800
  Returns: string;
44731
44801
  };
44802
+ logistics_document_type_map: {
44803
+ Args: {
44804
+ _document_code: string;
44805
+ };
44806
+ Returns: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"][];
44807
+ };
44732
44808
  logistics_emit_event: {
44733
44809
  Args: {
44734
44810
  p_event_type: string;
@@ -45192,6 +45268,14 @@ export declare const replanBufferLoadCarriers: import("@tanstack/start-client-co
45192
45268
  };
45193
45269
  Returns: string;
45194
45270
  };
45271
+ maps_cron_token: {
45272
+ Args: never;
45273
+ Returns: string;
45274
+ };
45275
+ maps_kick_queue: {
45276
+ Args: never;
45277
+ Returns: undefined;
45278
+ };
45195
45279
  mark_offer_clicked: {
45196
45280
  Args: {
45197
45281
  p_code: string;
@@ -57188,6 +57272,24 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
57188
57272
  };
57189
57273
  Relationships: [];
57190
57274
  };
57275
+ maps_job_lease: {
57276
+ Row: {
57277
+ job: string;
57278
+ locked_until: string;
57279
+ updated_at: string;
57280
+ };
57281
+ Insert: {
57282
+ job: string;
57283
+ locked_until?: string;
57284
+ updated_at?: string;
57285
+ };
57286
+ Update: {
57287
+ job?: string;
57288
+ locked_until?: string;
57289
+ updated_at?: string;
57290
+ };
57291
+ Relationships: [];
57292
+ };
57191
57293
  maps_request_queue: {
57192
57294
  Row: {
57193
57295
  attempts: number;
@@ -60049,6 +60151,8 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
60049
60151
  foutmelding: string | null;
60050
60152
  gebruiker_id: string | null;
60051
60153
  gebruiker_naam: string;
60154
+ gebruikte_bron: string | null;
60155
+ gebruikte_layout_id: string | null;
60052
60156
  gestart_op: string | null;
60053
60157
  herkomst: string | null;
60054
60158
  id: string;
@@ -60079,6 +60183,8 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
60079
60183
  foutmelding?: string | null;
60080
60184
  gebruiker_id?: string | null;
60081
60185
  gebruiker_naam?: string;
60186
+ gebruikte_bron?: string | null;
60187
+ gebruikte_layout_id?: string | null;
60082
60188
  gestart_op?: string | null;
60083
60189
  herkomst?: string | null;
60084
60190
  id?: string;
@@ -60109,6 +60215,8 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
60109
60215
  foutmelding?: string | null;
60110
60216
  gebruiker_id?: string | null;
60111
60217
  gebruiker_naam?: string;
60218
+ gebruikte_bron?: string | null;
60219
+ gebruikte_layout_id?: string | null;
60112
60220
  gestart_op?: string | null;
60113
60221
  herkomst?: string | null;
60114
60222
  id?: string;
@@ -66778,6 +66886,8 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
66778
66886
  foutmelding: string | null;
66779
66887
  gebruiker_id: string | null;
66780
66888
  gebruiker_naam: string;
66889
+ gebruikte_bron: string | null;
66890
+ gebruikte_layout_id: string | null;
66781
66891
  gestart_op: string | null;
66782
66892
  herkomst: string | null;
66783
66893
  id: string;
@@ -66899,6 +67009,8 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
66899
67009
  foutmelding: string | null;
66900
67010
  gebruiker_id: string | null;
66901
67011
  gebruiker_naam: string;
67012
+ gebruikte_bron: string | null;
67013
+ gebruikte_layout_id: string | null;
66902
67014
  gestart_op: string | null;
66903
67015
  herkomst: string | null;
66904
67016
  id: string;
@@ -67955,6 +68067,12 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
67955
68067
  };
67956
68068
  Returns: string;
67957
68069
  };
68070
+ logistics_document_type_map: {
68071
+ Args: {
68072
+ _document_code: string;
68073
+ };
68074
+ Returns: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"][];
68075
+ };
67958
68076
  logistics_emit_event: {
67959
68077
  Args: {
67960
68078
  p_event_type: string;
@@ -68418,6 +68536,14 @@ export declare const planAllLoadCarriers: import("@tanstack/start-client-core").
68418
68536
  };
68419
68537
  Returns: string;
68420
68538
  };
68539
+ maps_cron_token: {
68540
+ Args: never;
68541
+ Returns: string;
68542
+ };
68543
+ maps_kick_queue: {
68544
+ Args: never;
68545
+ Returns: undefined;
68546
+ };
68421
68547
  mark_offer_clicked: {
68422
68548
  Args: {
68423
68549
  p_code: string;
@@ -80414,6 +80540,24 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
80414
80540
  };
80415
80541
  Relationships: [];
80416
80542
  };
80543
+ maps_job_lease: {
80544
+ Row: {
80545
+ job: string;
80546
+ locked_until: string;
80547
+ updated_at: string;
80548
+ };
80549
+ Insert: {
80550
+ job: string;
80551
+ locked_until?: string;
80552
+ updated_at?: string;
80553
+ };
80554
+ Update: {
80555
+ job?: string;
80556
+ locked_until?: string;
80557
+ updated_at?: string;
80558
+ };
80559
+ Relationships: [];
80560
+ };
80417
80561
  maps_request_queue: {
80418
80562
  Row: {
80419
80563
  attempts: number;
@@ -83275,6 +83419,8 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
83275
83419
  foutmelding: string | null;
83276
83420
  gebruiker_id: string | null;
83277
83421
  gebruiker_naam: string;
83422
+ gebruikte_bron: string | null;
83423
+ gebruikte_layout_id: string | null;
83278
83424
  gestart_op: string | null;
83279
83425
  herkomst: string | null;
83280
83426
  id: string;
@@ -83305,6 +83451,8 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
83305
83451
  foutmelding?: string | null;
83306
83452
  gebruiker_id?: string | null;
83307
83453
  gebruiker_naam?: string;
83454
+ gebruikte_bron?: string | null;
83455
+ gebruikte_layout_id?: string | null;
83308
83456
  gestart_op?: string | null;
83309
83457
  herkomst?: string | null;
83310
83458
  id?: string;
@@ -83335,6 +83483,8 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
83335
83483
  foutmelding?: string | null;
83336
83484
  gebruiker_id?: string | null;
83337
83485
  gebruiker_naam?: string;
83486
+ gebruikte_bron?: string | null;
83487
+ gebruikte_layout_id?: string | null;
83338
83488
  gestart_op?: string | null;
83339
83489
  herkomst?: string | null;
83340
83490
  id?: string;
@@ -90004,6 +90154,8 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
90004
90154
  foutmelding: string | null;
90005
90155
  gebruiker_id: string | null;
90006
90156
  gebruiker_naam: string;
90157
+ gebruikte_bron: string | null;
90158
+ gebruikte_layout_id: string | null;
90007
90159
  gestart_op: string | null;
90008
90160
  herkomst: string | null;
90009
90161
  id: string;
@@ -90125,6 +90277,8 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
90125
90277
  foutmelding: string | null;
90126
90278
  gebruiker_id: string | null;
90127
90279
  gebruiker_naam: string;
90280
+ gebruikte_bron: string | null;
90281
+ gebruikte_layout_id: string | null;
90128
90282
  gestart_op: string | null;
90129
90283
  herkomst: string | null;
90130
90284
  id: string;
@@ -91181,6 +91335,12 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
91181
91335
  };
91182
91336
  Returns: string;
91183
91337
  };
91338
+ logistics_document_type_map: {
91339
+ Args: {
91340
+ _document_code: string;
91341
+ };
91342
+ Returns: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"][];
91343
+ };
91184
91344
  logistics_emit_event: {
91185
91345
  Args: {
91186
91346
  p_event_type: string;
@@ -91644,6 +91804,14 @@ export declare const ensureLogisticsTasks: import("@tanstack/start-client-core")
91644
91804
  };
91645
91805
  Returns: string;
91646
91806
  };
91807
+ maps_cron_token: {
91808
+ Args: never;
91809
+ Returns: string;
91810
+ };
91811
+ maps_kick_queue: {
91812
+ Args: never;
91813
+ Returns: undefined;
91814
+ };
91647
91815
  mark_offer_clicked: {
91648
91816
  Args: {
91649
91817
  p_code: string;
@@ -103638,6 +103806,24 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
103638
103806
  };
103639
103807
  Relationships: [];
103640
103808
  };
103809
+ maps_job_lease: {
103810
+ Row: {
103811
+ job: string;
103812
+ locked_until: string;
103813
+ updated_at: string;
103814
+ };
103815
+ Insert: {
103816
+ job: string;
103817
+ locked_until?: string;
103818
+ updated_at?: string;
103819
+ };
103820
+ Update: {
103821
+ job?: string;
103822
+ locked_until?: string;
103823
+ updated_at?: string;
103824
+ };
103825
+ Relationships: [];
103826
+ };
103641
103827
  maps_request_queue: {
103642
103828
  Row: {
103643
103829
  attempts: number;
@@ -106499,6 +106685,8 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
106499
106685
  foutmelding: string | null;
106500
106686
  gebruiker_id: string | null;
106501
106687
  gebruiker_naam: string;
106688
+ gebruikte_bron: string | null;
106689
+ gebruikte_layout_id: string | null;
106502
106690
  gestart_op: string | null;
106503
106691
  herkomst: string | null;
106504
106692
  id: string;
@@ -106529,6 +106717,8 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
106529
106717
  foutmelding?: string | null;
106530
106718
  gebruiker_id?: string | null;
106531
106719
  gebruiker_naam?: string;
106720
+ gebruikte_bron?: string | null;
106721
+ gebruikte_layout_id?: string | null;
106532
106722
  gestart_op?: string | null;
106533
106723
  herkomst?: string | null;
106534
106724
  id?: string;
@@ -106559,6 +106749,8 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
106559
106749
  foutmelding?: string | null;
106560
106750
  gebruiker_id?: string | null;
106561
106751
  gebruiker_naam?: string;
106752
+ gebruikte_bron?: string | null;
106753
+ gebruikte_layout_id?: string | null;
106562
106754
  gestart_op?: string | null;
106563
106755
  herkomst?: string | null;
106564
106756
  id?: string;
@@ -113228,6 +113420,8 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
113228
113420
  foutmelding: string | null;
113229
113421
  gebruiker_id: string | null;
113230
113422
  gebruiker_naam: string;
113423
+ gebruikte_bron: string | null;
113424
+ gebruikte_layout_id: string | null;
113231
113425
  gestart_op: string | null;
113232
113426
  herkomst: string | null;
113233
113427
  id: string;
@@ -113349,6 +113543,8 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
113349
113543
  foutmelding: string | null;
113350
113544
  gebruiker_id: string | null;
113351
113545
  gebruiker_naam: string;
113546
+ gebruikte_bron: string | null;
113547
+ gebruikte_layout_id: string | null;
113352
113548
  gestart_op: string | null;
113353
113549
  herkomst: string | null;
113354
113550
  id: string;
@@ -114405,6 +114601,12 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
114405
114601
  };
114406
114602
  Returns: string;
114407
114603
  };
114604
+ logistics_document_type_map: {
114605
+ Args: {
114606
+ _document_code: string;
114607
+ };
114608
+ Returns: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"][];
114609
+ };
114408
114610
  logistics_emit_event: {
114409
114611
  Args: {
114410
114612
  p_event_type: string;
@@ -114868,6 +115070,14 @@ export declare const previewLoadCarrierPlan: import("@tanstack/start-client-core
114868
115070
  };
114869
115071
  Returns: string;
114870
115072
  };
115073
+ maps_cron_token: {
115074
+ Args: never;
115075
+ Returns: string;
115076
+ };
115077
+ maps_kick_queue: {
115078
+ Args: never;
115079
+ Returns: undefined;
115080
+ };
114871
115081
  mark_offer_clicked: {
114872
115082
  Args: {
114873
115083
  p_code: string;