@flowselections/logistiek-engine 1.0.100 → 1.0.104

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 (45) hide show
  1. package/dist-lib/integrations/supabase/auth-middleware.d.ts +152 -0
  2. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  3. package/dist-lib/integrations/supabase/client.server.d.ts +152 -0
  4. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  5. package/dist-lib/integrations/supabase/moduleClient.d.ts +152 -0
  6. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/types.d.ts +154 -0
  8. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  9. package/dist-lib/lib/cartCoverage.functions.d.ts +152 -0
  10. package/dist-lib/lib/cartCoverage.functions.d.ts.map +1 -1
  11. package/dist-lib/lib/controlScan.server.d.ts.map +1 -1
  12. package/dist-lib/lib/controlScan.server.js +37 -0
  13. package/dist-lib/lib/floridayCartCarriers.d.ts +61 -0
  14. package/dist-lib/lib/floridayCartCarriers.d.ts.map +1 -0
  15. package/dist-lib/lib/floridayCartCarriers.js +113 -0
  16. package/dist-lib/lib/floridayCartCarriers.test.d.ts +2 -0
  17. package/dist-lib/lib/floridayCartCarriers.test.d.ts.map +1 -0
  18. package/dist-lib/lib/floridayCartCarriers.test.js +66 -0
  19. package/dist-lib/lib/floridayDocuments.functions.d.ts +456 -0
  20. package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
  21. package/dist-lib/lib/floridayDocuments.server.d.ts +7 -0
  22. package/dist-lib/lib/floridayDocuments.server.d.ts.map +1 -1
  23. package/dist-lib/lib/floridayDocuments.server.js +16 -1
  24. package/dist-lib/lib/floridayPush.functions.d.ts +152 -0
  25. package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/floridayPush.server.d.ts +2 -0
  27. package/dist-lib/lib/floridayPush.server.d.ts.map +1 -1
  28. package/dist-lib/lib/floridayPush.server.js +54 -3
  29. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +760 -0
  30. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/loadCarrierPlanning.server.d.ts.map +1 -1
  32. package/dist-lib/lib/loadCarrierPlanning.server.js +6 -3
  33. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +304 -0
  34. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/logisticsRecalculate.functions.d.ts +152 -0
  36. package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
  37. package/dist-lib/lib/modulePrompts.d.ts.map +1 -1
  38. package/dist-lib/lib/modulePrompts.js +46 -0
  39. package/dist-lib/lib/moduleVersion.d.ts +1 -1
  40. package/dist-lib/lib/moduleVersion.js +1 -1
  41. package/dist-lib/lib/plannerDiff.functions.d.ts +152 -0
  42. package/dist-lib/lib/plannerDiff.functions.d.ts.map +1 -1
  43. package/dist-lib/lib/shippingNoteQueue.server.d.ts.map +1 -1
  44. package/dist-lib/lib/shippingNoteQueue.server.js +29 -1
  45. package/package.json +3 -3
@@ -7409,6 +7409,39 @@ export type Database = {
7409
7409
  }
7410
7410
  ];
7411
7411
  };
7412
+ floriday_merge_log: {
7413
+ Row: {
7414
+ action: string;
7415
+ created_at: string;
7416
+ floriday_sales_order_ids: Json;
7417
+ id: string;
7418
+ kept_order_id: string | null;
7419
+ lines: Json;
7420
+ reason: string | null;
7421
+ removed_order_id: string | null;
7422
+ };
7423
+ Insert: {
7424
+ action: string;
7425
+ created_at?: string;
7426
+ floriday_sales_order_ids?: Json;
7427
+ id?: string;
7428
+ kept_order_id?: string | null;
7429
+ lines?: Json;
7430
+ reason?: string | null;
7431
+ removed_order_id?: string | null;
7432
+ };
7433
+ Update: {
7434
+ action?: string;
7435
+ created_at?: string;
7436
+ floriday_sales_order_ids?: Json;
7437
+ id?: string;
7438
+ kept_order_id?: string | null;
7439
+ lines?: Json;
7440
+ reason?: string | null;
7441
+ removed_order_id?: string | null;
7442
+ };
7443
+ Relationships: [];
7444
+ };
7412
7445
  floriday_network_cache: {
7413
7446
  Row: {
7414
7447
  city: string | null;
@@ -11587,6 +11620,60 @@ export type Database = {
11587
11620
  };
11588
11621
  Relationships: [];
11589
11622
  };
11623
+ logistics_order_merge_lines: {
11624
+ Row: {
11625
+ from_order_id: string;
11626
+ from_order_number: string | null;
11627
+ group_key: string;
11628
+ id: string;
11629
+ merged_at: string;
11630
+ order_item_id: string;
11631
+ ordered_at: string | null;
11632
+ product_id: string | null;
11633
+ product_name: string | null;
11634
+ quantity: number | null;
11635
+ reason: string;
11636
+ sales_order_id: string | null;
11637
+ source_line_key: string | null;
11638
+ to_order_id: string;
11639
+ to_order_number: string | null;
11640
+ };
11641
+ Insert: {
11642
+ from_order_id: string;
11643
+ from_order_number?: string | null;
11644
+ group_key: string;
11645
+ id?: string;
11646
+ merged_at?: string;
11647
+ order_item_id: string;
11648
+ ordered_at?: string | null;
11649
+ product_id?: string | null;
11650
+ product_name?: string | null;
11651
+ quantity?: number | null;
11652
+ reason: string;
11653
+ sales_order_id?: string | null;
11654
+ source_line_key?: string | null;
11655
+ to_order_id: string;
11656
+ to_order_number?: string | null;
11657
+ };
11658
+ Update: {
11659
+ from_order_id?: string;
11660
+ from_order_number?: string | null;
11661
+ group_key?: string;
11662
+ id?: string;
11663
+ merged_at?: string;
11664
+ order_item_id?: string;
11665
+ ordered_at?: string | null;
11666
+ product_id?: string | null;
11667
+ product_name?: string | null;
11668
+ quantity?: number | null;
11669
+ reason?: string;
11670
+ sales_order_id?: string | null;
11671
+ source_line_key?: string | null;
11672
+ to_order_id?: string;
11673
+ to_order_number?: string | null;
11674
+ };
11675
+ Relationships: [];
11676
+ };
11590
11677
  logistics_order_merges: {
11591
11678
  Row: {
11592
11679
  group_key: string;
@@ -15305,6 +15392,9 @@ export type Database = {
15305
15392
  product_id: string | null;
15306
15393
  product_name: string;
15307
15394
  quantity: number;
15395
+ quarantine_reason: string | null;
15396
+ quarantined_at: string | null;
15397
+ quarantined_into_order_id: string | null;
15308
15398
  source_line_key: string | null;
15309
15399
  unit: string;
15310
15400
  unit_price: number | null;
@@ -15321,6 +15411,9 @@ export type Database = {
15321
15411
  product_id?: string | null;
15322
15412
  product_name: string;
15323
15413
  quantity?: number;
15414
+ quarantine_reason?: string | null;
15415
+ quarantined_at?: string | null;
15416
+ quarantined_into_order_id?: string | null;
15324
15417
  source_line_key?: string | null;
15325
15418
  unit?: string;
15326
15419
  unit_price?: number | null;
@@ -15337,6 +15430,9 @@ export type Database = {
15337
15430
  product_id?: string | null;
15338
15431
  product_name?: string;
15339
15432
  quantity?: number;
15433
+ quarantine_reason?: string | null;
15434
+ quarantined_at?: string | null;
15435
+ quarantined_into_order_id?: string | null;
15340
15436
  source_line_key?: string | null;
15341
15437
  unit?: string;
15342
15438
  unit_price?: number | null;
@@ -16821,6 +16917,7 @@ export type Database = {
16821
16917
  created_at: string;
16822
16918
  end_at: string;
16823
16919
  id: string;
16920
+ kind: string;
16824
16921
  outbox_id: string | null;
16825
16922
  planning_item_id: string;
16826
16923
  reason: string | null;
@@ -16832,6 +16929,7 @@ export type Database = {
16832
16929
  created_at?: string;
16833
16930
  end_at: string;
16834
16931
  id?: string;
16932
+ kind?: string;
16835
16933
  outbox_id?: string | null;
16836
16934
  planning_item_id: string;
16837
16935
  reason?: string | null;
@@ -16843,6 +16941,7 @@ export type Database = {
16843
16941
  created_at?: string;
16844
16942
  end_at?: string;
16845
16943
  id?: string;
16944
+ kind?: string;
16846
16945
  outbox_id?: string | null;
16847
16946
  planning_item_id?: string;
16848
16947
  reason?: string | null;
@@ -16967,6 +17066,8 @@ export type Database = {
16967
17066
  enabled: boolean;
16968
17067
  id: boolean;
16969
17068
  reply_to: string | null;
17069
+ reschedule_body_template: string;
17070
+ reschedule_subject_template: string;
16970
17071
  subject_template: string;
16971
17072
  timezone: string;
16972
17073
  updated_at: string;
@@ -16981,6 +17082,8 @@ export type Database = {
16981
17082
  enabled?: boolean;
16982
17083
  id?: boolean;
16983
17084
  reply_to?: string | null;
17085
+ reschedule_body_template?: string;
17086
+ reschedule_subject_template?: string;
16984
17087
  subject_template?: string;
16985
17088
  timezone?: string;
16986
17089
  updated_at?: string;
@@ -16995,6 +17098,8 @@ export type Database = {
16995
17098
  enabled?: boolean;
16996
17099
  id?: boolean;
16997
17100
  reply_to?: string | null;
17101
+ reschedule_body_template?: string;
17102
+ reschedule_subject_template?: string;
16998
17103
  subject_template?: string;
16999
17104
  timezone?: string;
17000
17105
  updated_at?: string;
@@ -22609,6 +22714,32 @@ export type Database = {
22609
22714
  };
22610
22715
  Relationships: [];
22611
22716
  };
22717
+ uren_pagina_toegang: {
22718
+ Row: {
22719
+ created_at: string;
22720
+ id: string;
22721
+ user_id: string;
22722
+ };
22723
+ Insert: {
22724
+ created_at?: string;
22725
+ id?: string;
22726
+ user_id: string;
22727
+ };
22728
+ Update: {
22729
+ created_at?: string;
22730
+ id?: string;
22731
+ user_id?: string;
22732
+ };
22733
+ Relationships: [
22734
+ {
22735
+ foreignKeyName: "uren_pagina_toegang_user_id_fkey";
22736
+ columns: ["user_id"];
22737
+ isOneToOne: true;
22738
+ referencedRelation: "profiles";
22739
+ referencedColumns: ["id"];
22740
+ }
22741
+ ];
22742
+ };
22612
22743
  uren_settings: {
22613
22744
  Row: {
22614
22745
  break_minutes: number;
@@ -30642,6 +30773,12 @@ export type Database = {
30642
30773
  };
30643
30774
  Returns: undefined;
30644
30775
  };
30776
+ planning_html_escape: {
30777
+ Args: {
30778
+ t: string;
30779
+ };
30780
+ Returns: string;
30781
+ };
30645
30782
  planning_list: {
30646
30783
  Args: {
30647
30784
  _from: string;
@@ -30696,6 +30833,12 @@ export type Database = {
30696
30833
  id: string;
30697
30834
  }[];
30698
30835
  };
30836
+ planning_urlencode: {
30837
+ Args: {
30838
+ t: string;
30839
+ };
30840
+ Returns: string;
30841
+ };
30699
30842
  print_preview_toestaan: {
30700
30843
  Args: {
30701
30844
  _max?: number;
@@ -31841,6 +31984,10 @@ export type Database = {
31841
31984
  };
31842
31985
  Returns: number;
31843
31986
  };
31987
+ uren_heeft_pagina_toegang: {
31988
+ Args: never;
31989
+ Returns: boolean;
31990
+ };
31844
31991
  uren_is_beheerder: {
31845
31992
  Args: never;
31846
31993
  Returns: boolean;
@@ -31924,6 +32071,13 @@ export type Database = {
31924
32071
  Args: never;
31925
32072
  Returns: string;
31926
32073
  };
32074
+ uren_pagina_toegang_instellen: {
32075
+ Args: {
32076
+ _toegang: boolean;
32077
+ _user_id: string;
32078
+ };
32079
+ Returns: undefined;
32080
+ };
31927
32081
  uren_planning_dagagenda: {
31928
32082
  Args: {
31929
32083
  _tot: string;