@flowselections/logistiek-engine 1.0.28 → 1.0.29

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/GeblokkeerdeOrdersCard.d.ts +2 -0
  2. package/dist-lib/components/GeblokkeerdeOrdersCard.d.ts.map +1 -0
  3. package/dist-lib/components/GeblokkeerdeOrdersCard.js +44 -0
  4. package/dist-lib/components/RegiePage.d.ts.map +1 -1
  5. package/dist-lib/components/RegiePage.js +2 -1
  6. package/dist-lib/hooks/useGeblokkeerdeOrders.d.ts +28 -0
  7. package/dist-lib/hooks/useGeblokkeerdeOrders.d.ts.map +1 -0
  8. package/dist-lib/hooks/useGeblokkeerdeOrders.js +94 -0
  9. package/dist-lib/index.d.ts +1 -0
  10. package/dist-lib/index.d.ts.map +1 -1
  11. package/dist-lib/index.js +1 -0
  12. package/dist-lib/integrations/supabase/auth-middleware.d.ts +52 -0
  13. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  14. package/dist-lib/integrations/supabase/client.server.d.ts +52 -0
  15. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  16. package/dist-lib/integrations/supabase/moduleClient.d.ts +52 -0
  17. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  18. package/dist-lib/integrations/supabase/types.d.ts +52 -0
  19. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  20. package/dist-lib/lib/floridayDocuments.functions.d.ts +156 -0
  21. package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
  22. package/dist-lib/lib/floridayPush.functions.d.ts +52 -0
  23. package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
  24. package/dist-lib/lib/handlers/logistics-tick.server.d.ts.map +1 -1
  25. package/dist-lib/lib/handlers/logistics-tick.server.js +7 -0
  26. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +260 -0
  27. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
  28. package/dist-lib/lib/loadCarrierPlanning.server.d.ts.map +1 -1
  29. package/dist-lib/lib/loadCarrierPlanning.server.js +23 -3
  30. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +104 -0
  31. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
  32. package/dist-lib/lib/logisticsRecalculate.functions.d.ts +52 -0
  33. package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
  34. package/package.json +1 -1
@@ -10236,6 +10236,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
10236
10236
  next_attempt_at: string;
10237
10237
  order_id: string;
10238
10238
  reason: string;
10239
+ reason_code: string | null;
10239
10240
  status: string;
10240
10241
  updated_at: string;
10241
10242
  };
@@ -10248,6 +10249,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
10248
10249
  next_attempt_at?: string;
10249
10250
  order_id: string;
10250
10251
  reason?: string;
10252
+ reason_code?: string | null;
10251
10253
  status?: string;
10252
10254
  updated_at?: string;
10253
10255
  };
@@ -10260,6 +10262,7 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
10260
10262
  next_attempt_at?: string;
10261
10263
  order_id?: string;
10262
10264
  reason?: string;
10265
+ reason_code?: string | null;
10263
10266
  status?: string;
10264
10267
  updated_at?: string;
10265
10268
  };
@@ -10964,6 +10967,21 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
10964
10967
  referencedColumns: ["id"];
10965
10968
  }];
10966
10969
  };
10970
+ logistics_tick_heartbeat: {
10971
+ Row: {
10972
+ id: boolean;
10973
+ last_tick_at: string;
10974
+ };
10975
+ Insert: {
10976
+ id?: boolean;
10977
+ last_tick_at?: string;
10978
+ };
10979
+ Update: {
10980
+ id?: boolean;
10981
+ last_tick_at?: string;
10982
+ };
10983
+ Relationships: [];
10984
+ };
10967
10985
  logistics_variables: {
10968
10986
  Row: {
10969
10987
  created_at: string;
@@ -22846,6 +22864,30 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
22846
22864
  };
22847
22865
  Returns: import("../integrations/supabase/types").Json;
22848
22866
  };
22867
+ logistics_block_reason_code: {
22868
+ Args: {
22869
+ p_details?: import("../integrations/supabase/types").Json;
22870
+ p_reason: string;
22871
+ };
22872
+ Returns: string;
22873
+ };
22874
+ logistics_blocked_orders: {
22875
+ Args: never;
22876
+ Returns: {
22877
+ attempts: number;
22878
+ blocked_since: string;
22879
+ delivery_date: string;
22880
+ order_id: string;
22881
+ order_ref: string;
22882
+ queue_id: string;
22883
+ reason: string;
22884
+ reason_code: string;
22885
+ }[];
22886
+ };
22887
+ logistics_blocked_overview: {
22888
+ Args: never;
22889
+ Returns: import("../integrations/supabase/types").Json;
22890
+ };
22849
22891
  logistics_buffer_criteria: {
22850
22892
  Args: {
22851
22893
  p_settings: import("../integrations/supabase/types").Json;
@@ -23715,6 +23757,12 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
23715
23757
  Args: never;
23716
23758
  Returns: number;
23717
23759
  };
23760
+ logistics_plan_retry: {
23761
+ Args: {
23762
+ p_order_ids: string[];
23763
+ };
23764
+ Returns: number;
23765
+ };
23718
23766
  logistics_plan_setting: {
23719
23767
  Args: {
23720
23768
  p_default: number;
@@ -23950,6 +23998,10 @@ export declare const getFloridayConnection: import("@tanstack/start-client-core"
23950
23998
  };
23951
23999
  Returns: number;
23952
24000
  };
24001
+ logistics_tick_ping: {
24002
+ Args: never;
24003
+ Returns: string;
24004
+ };
23953
24005
  logistics_upsert_task: {
23954
24006
  Args: {
23955
24007
  p_buffer_ref: string;
@@ -36135,6 +36187,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
36135
36187
  next_attempt_at: string;
36136
36188
  order_id: string;
36137
36189
  reason: string;
36190
+ reason_code: string | null;
36138
36191
  status: string;
36139
36192
  updated_at: string;
36140
36193
  };
@@ -36147,6 +36200,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
36147
36200
  next_attempt_at?: string;
36148
36201
  order_id: string;
36149
36202
  reason?: string;
36203
+ reason_code?: string | null;
36150
36204
  status?: string;
36151
36205
  updated_at?: string;
36152
36206
  };
@@ -36159,6 +36213,7 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
36159
36213
  next_attempt_at?: string;
36160
36214
  order_id?: string;
36161
36215
  reason?: string;
36216
+ reason_code?: string | null;
36162
36217
  status?: string;
36163
36218
  updated_at?: string;
36164
36219
  };
@@ -36863,6 +36918,21 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
36863
36918
  referencedColumns: ["id"];
36864
36919
  }];
36865
36920
  };
36921
+ logistics_tick_heartbeat: {
36922
+ Row: {
36923
+ id: boolean;
36924
+ last_tick_at: string;
36925
+ };
36926
+ Insert: {
36927
+ id?: boolean;
36928
+ last_tick_at?: string;
36929
+ };
36930
+ Update: {
36931
+ id?: boolean;
36932
+ last_tick_at?: string;
36933
+ };
36934
+ Relationships: [];
36935
+ };
36866
36936
  logistics_variables: {
36867
36937
  Row: {
36868
36938
  created_at: string;
@@ -48745,6 +48815,30 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
48745
48815
  };
48746
48816
  Returns: import("../integrations/supabase/types").Json;
48747
48817
  };
48818
+ logistics_block_reason_code: {
48819
+ Args: {
48820
+ p_details?: import("../integrations/supabase/types").Json;
48821
+ p_reason: string;
48822
+ };
48823
+ Returns: string;
48824
+ };
48825
+ logistics_blocked_orders: {
48826
+ Args: never;
48827
+ Returns: {
48828
+ attempts: number;
48829
+ blocked_since: string;
48830
+ delivery_date: string;
48831
+ order_id: string;
48832
+ order_ref: string;
48833
+ queue_id: string;
48834
+ reason: string;
48835
+ reason_code: string;
48836
+ }[];
48837
+ };
48838
+ logistics_blocked_overview: {
48839
+ Args: never;
48840
+ Returns: import("../integrations/supabase/types").Json;
48841
+ };
48748
48842
  logistics_buffer_criteria: {
48749
48843
  Args: {
48750
48844
  p_settings: import("../integrations/supabase/types").Json;
@@ -49614,6 +49708,12 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
49614
49708
  Args: never;
49615
49709
  Returns: number;
49616
49710
  };
49711
+ logistics_plan_retry: {
49712
+ Args: {
49713
+ p_order_ids: string[];
49714
+ };
49715
+ Returns: number;
49716
+ };
49617
49717
  logistics_plan_setting: {
49618
49718
  Args: {
49619
49719
  p_default: number;
@@ -49849,6 +49949,10 @@ export declare const fetchLogisticsDocument: import("@tanstack/start-client-core
49849
49949
  };
49850
49950
  Returns: number;
49851
49951
  };
49952
+ logistics_tick_ping: {
49953
+ Args: never;
49954
+ Returns: string;
49955
+ };
49852
49956
  logistics_upsert_task: {
49853
49957
  Args: {
49854
49958
  p_buffer_ref: string;
@@ -62067,6 +62171,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
62067
62171
  next_attempt_at: string;
62068
62172
  order_id: string;
62069
62173
  reason: string;
62174
+ reason_code: string | null;
62070
62175
  status: string;
62071
62176
  updated_at: string;
62072
62177
  };
@@ -62079,6 +62184,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
62079
62184
  next_attempt_at?: string;
62080
62185
  order_id: string;
62081
62186
  reason?: string;
62187
+ reason_code?: string | null;
62082
62188
  status?: string;
62083
62189
  updated_at?: string;
62084
62190
  };
@@ -62091,6 +62197,7 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
62091
62197
  next_attempt_at?: string;
62092
62198
  order_id?: string;
62093
62199
  reason?: string;
62200
+ reason_code?: string | null;
62094
62201
  status?: string;
62095
62202
  updated_at?: string;
62096
62203
  };
@@ -62795,6 +62902,21 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
62795
62902
  referencedColumns: ["id"];
62796
62903
  }];
62797
62904
  };
62905
+ logistics_tick_heartbeat: {
62906
+ Row: {
62907
+ id: boolean;
62908
+ last_tick_at: string;
62909
+ };
62910
+ Insert: {
62911
+ id?: boolean;
62912
+ last_tick_at?: string;
62913
+ };
62914
+ Update: {
62915
+ id?: boolean;
62916
+ last_tick_at?: string;
62917
+ };
62918
+ Relationships: [];
62919
+ };
62798
62920
  logistics_variables: {
62799
62921
  Row: {
62800
62922
  created_at: string;
@@ -74677,6 +74799,30 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
74677
74799
  };
74678
74800
  Returns: import("../integrations/supabase/types").Json;
74679
74801
  };
74802
+ logistics_block_reason_code: {
74803
+ Args: {
74804
+ p_details?: import("../integrations/supabase/types").Json;
74805
+ p_reason: string;
74806
+ };
74807
+ Returns: string;
74808
+ };
74809
+ logistics_blocked_orders: {
74810
+ Args: never;
74811
+ Returns: {
74812
+ attempts: number;
74813
+ blocked_since: string;
74814
+ delivery_date: string;
74815
+ order_id: string;
74816
+ order_ref: string;
74817
+ queue_id: string;
74818
+ reason: string;
74819
+ reason_code: string;
74820
+ }[];
74821
+ };
74822
+ logistics_blocked_overview: {
74823
+ Args: never;
74824
+ Returns: import("../integrations/supabase/types").Json;
74825
+ };
74680
74826
  logistics_buffer_criteria: {
74681
74827
  Args: {
74682
74828
  p_settings: import("../integrations/supabase/types").Json;
@@ -75546,6 +75692,12 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
75546
75692
  Args: never;
75547
75693
  Returns: number;
75548
75694
  };
75695
+ logistics_plan_retry: {
75696
+ Args: {
75697
+ p_order_ids: string[];
75698
+ };
75699
+ Returns: number;
75700
+ };
75549
75701
  logistics_plan_setting: {
75550
75702
  Args: {
75551
75703
  p_default: number;
@@ -75781,6 +75933,10 @@ export declare const fetchMergedLogisticsDocuments: import("@tanstack/start-clie
75781
75933
  };
75782
75934
  Returns: number;
75783
75935
  };
75936
+ logistics_tick_ping: {
75937
+ Args: never;
75938
+ Returns: string;
75939
+ };
75784
75940
  logistics_upsert_task: {
75785
75941
  Args: {
75786
75942
  p_buffer_ref: string;