@flowselections/logistiek-engine 1.0.106 → 1.0.107

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 (69) hide show
  1. package/dist-lib/components/FlowOrders.js +1 -1
  2. package/dist-lib/components/MinuutrondeCard.d.ts +2 -0
  3. package/dist-lib/components/MinuutrondeCard.d.ts.map +1 -0
  4. package/dist-lib/components/MinuutrondeCard.js +32 -0
  5. package/dist-lib/components/MisluktVerzendbrievenCard.js +1 -1
  6. package/dist-lib/components/RegiePage.d.ts.map +1 -1
  7. package/dist-lib/components/RegiePage.js +2 -1
  8. package/dist-lib/components/rule-engine/FloridayConnectionBanner.d.ts +2 -0
  9. package/dist-lib/components/rule-engine/FloridayConnectionBanner.d.ts.map +1 -0
  10. package/dist-lib/components/rule-engine/FloridayConnectionBanner.js +41 -0
  11. package/dist-lib/hooks/useAfrondWachtrij.js +1 -1
  12. package/dist-lib/hooks/useBeladingsafwijkingen.js +1 -1
  13. package/dist-lib/hooks/useGeblokkeerdeOrders.js +1 -1
  14. package/dist-lib/hooks/useLogisticsTrace.js +1 -1
  15. package/dist-lib/hooks/useMinuutronde.d.ts +24 -0
  16. package/dist-lib/hooks/useMinuutronde.d.ts.map +1 -0
  17. package/dist-lib/hooks/useMinuutronde.js +37 -0
  18. package/dist-lib/hooks/useOrderTrace.js +1 -1
  19. package/dist-lib/hooks/useOrderVersies.js +1 -1
  20. package/dist-lib/hooks/usePlanWachtrij.js +1 -1
  21. package/dist-lib/hooks/useRecalcJob.js +1 -1
  22. package/dist-lib/hooks/useTaakGezondheid.js +1 -1
  23. package/dist-lib/hooks/useWerktijden.js +1 -1
  24. package/dist-lib/hooks/useWerkwijzeStatus.js +1 -1
  25. package/dist-lib/index.d.ts +1 -0
  26. package/dist-lib/index.d.ts.map +1 -1
  27. package/dist-lib/index.js +1 -0
  28. package/dist-lib/integrations/supabase/auth-middleware.d.ts +4 -31943
  29. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  30. package/dist-lib/integrations/supabase/auth-middleware.js +1 -1
  31. package/dist-lib/integrations/supabase/client.d.ts +20293 -0
  32. package/dist-lib/integrations/supabase/client.d.ts.map +1 -0
  33. package/dist-lib/integrations/supabase/client.js +13 -0
  34. package/dist-lib/integrations/supabase/client.server.d.ts +199 -3
  35. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  36. package/dist-lib/integrations/supabase/client.server.js +1 -1
  37. package/dist-lib/integrations/supabase/moduleClient.d.ts +199 -3
  38. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  39. package/dist-lib/integrations/supabase/types.d.ts +199 -3
  40. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  41. package/dist-lib/lib/attachAuthToken.js +1 -1
  42. package/dist-lib/lib/cartCoverage.functions.d.ts +1 -31943
  43. package/dist-lib/lib/cartCoverage.functions.d.ts.map +1 -1
  44. package/dist-lib/lib/cartCoverage.functions.js +3 -3
  45. package/dist-lib/lib/floridayDocuments.functions.d.ts +3 -95829
  46. package/dist-lib/lib/floridayDocuments.functions.d.ts.map +1 -1
  47. package/dist-lib/lib/floridayDocuments.functions.js +5 -5
  48. package/dist-lib/lib/floridayPush.functions.d.ts +1 -31943
  49. package/dist-lib/lib/floridayPush.functions.d.ts.map +1 -1
  50. package/dist-lib/lib/floridayPush.functions.js +3 -3
  51. package/dist-lib/lib/handlers/logistics-tick.server.d.ts +11 -1
  52. package/dist-lib/lib/handlers/logistics-tick.server.d.ts.map +1 -1
  53. package/dist-lib/lib/handlers/logistics-tick.server.js +11 -4
  54. package/dist-lib/lib/handlers/logistics-tick.test.js +7 -0
  55. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts +5 -159715
  56. package/dist-lib/lib/loadCarrierPlanning.functions.d.ts.map +1 -1
  57. package/dist-lib/lib/loadCarrierPlanning.functions.js +7 -7
  58. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts +2 -63886
  59. package/dist-lib/lib/logisticsRecalcJob.functions.d.ts.map +1 -1
  60. package/dist-lib/lib/logisticsRecalcJob.functions.js +4 -4
  61. package/dist-lib/lib/logisticsRecalculate.functions.d.ts +1 -31943
  62. package/dist-lib/lib/logisticsRecalculate.functions.d.ts.map +1 -1
  63. package/dist-lib/lib/logisticsRecalculate.functions.js +2 -2
  64. package/dist-lib/lib/moduleVersion.d.ts +1 -1
  65. package/dist-lib/lib/moduleVersion.js +1 -1
  66. package/dist-lib/lib/plannerDiff.functions.d.ts +1 -31943
  67. package/dist-lib/lib/plannerDiff.functions.d.ts.map +1 -1
  68. package/dist-lib/lib/plannerDiff.functions.js +3 -3
  69. package/package.json +159 -159
@@ -6698,8 +6698,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
6698
6698
  fetched_at: string;
6699
6699
  gln_code: string | null;
6700
6700
  is_deleted: boolean;
6701
+ mailing_address: import("./types").Json | null;
6701
6702
  name: string | null;
6702
6703
  organization_id: string;
6704
+ payment_providers: import("./types").Json | null;
6705
+ physical_address: import("./types").Json | null;
6706
+ rfh_company_account_id: string | null;
6707
+ rfh_relation_id: string | null;
6703
6708
  sequence_number: number | null;
6704
6709
  };
6705
6710
  Insert: {
@@ -6708,8 +6713,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
6708
6713
  fetched_at?: string;
6709
6714
  gln_code?: string | null;
6710
6715
  is_deleted?: boolean;
6716
+ mailing_address?: import("./types").Json | null;
6711
6717
  name?: string | null;
6712
6718
  organization_id: string;
6719
+ payment_providers?: import("./types").Json | null;
6720
+ physical_address?: import("./types").Json | null;
6721
+ rfh_company_account_id?: string | null;
6722
+ rfh_relation_id?: string | null;
6713
6723
  sequence_number?: number | null;
6714
6724
  };
6715
6725
  Update: {
@@ -6718,8 +6728,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
6718
6728
  fetched_at?: string;
6719
6729
  gln_code?: string | null;
6720
6730
  is_deleted?: boolean;
6731
+ mailing_address?: import("./types").Json | null;
6721
6732
  name?: string | null;
6722
6733
  organization_id?: string;
6734
+ payment_providers?: import("./types").Json | null;
6735
+ physical_address?: import("./types").Json | null;
6736
+ rfh_company_account_id?: string | null;
6737
+ rfh_relation_id?: string | null;
6723
6738
  sequence_number?: number | null;
6724
6739
  };
6725
6740
  Relationships: [{
@@ -7819,6 +7834,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
7819
7834
  floriday_trade_settings_customers_cache: {
7820
7835
  Row: {
7821
7836
  connection_id: string;
7837
+ customer_organization_id: string | null;
7822
7838
  data: import("./types").Json;
7823
7839
  fetched_at: string;
7824
7840
  floriday_id: string;
@@ -7829,6 +7845,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
7829
7845
  };
7830
7846
  Insert: {
7831
7847
  connection_id: string;
7848
+ customer_organization_id?: string | null;
7832
7849
  data: import("./types").Json;
7833
7850
  fetched_at?: string;
7834
7851
  floriday_id: string;
@@ -7839,6 +7856,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
7839
7856
  };
7840
7857
  Update: {
7841
7858
  connection_id?: string;
7859
+ customer_organization_id?: string | null;
7842
7860
  data?: import("./types").Json;
7843
7861
  fetched_at?: string;
7844
7862
  floriday_id?: string;
@@ -12598,6 +12616,48 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
12598
12616
  referencedColumns: ["id"];
12599
12617
  }];
12600
12618
  };
12619
+ logistics_tick_calls: {
12620
+ Row: {
12621
+ called_at: string;
12622
+ engine_ok: boolean | null;
12623
+ error: string | null;
12624
+ id: number;
12625
+ module_project: boolean | null;
12626
+ module_version: string | null;
12627
+ request_id: number | null;
12628
+ resolved_at: string | null;
12629
+ skipped_reason: string | null;
12630
+ status_code: number | null;
12631
+ target_host: string | null;
12632
+ };
12633
+ Insert: {
12634
+ called_at?: string;
12635
+ engine_ok?: boolean | null;
12636
+ error?: string | null;
12637
+ id?: never;
12638
+ module_project?: boolean | null;
12639
+ module_version?: string | null;
12640
+ request_id?: number | null;
12641
+ resolved_at?: string | null;
12642
+ skipped_reason?: string | null;
12643
+ status_code?: number | null;
12644
+ target_host?: string | null;
12645
+ };
12646
+ Update: {
12647
+ called_at?: string;
12648
+ engine_ok?: boolean | null;
12649
+ error?: string | null;
12650
+ id?: never;
12651
+ module_project?: boolean | null;
12652
+ module_version?: string | null;
12653
+ request_id?: number | null;
12654
+ resolved_at?: string | null;
12655
+ skipped_reason?: string | null;
12656
+ status_code?: number | null;
12657
+ target_host?: string | null;
12658
+ };
12659
+ Relationships: [];
12660
+ };
12601
12661
  logistics_tick_heartbeat: {
12602
12662
  Row: {
12603
12663
  id: boolean;
@@ -13757,6 +13817,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13757
13817
  Row: {
13758
13818
  color: string | null;
13759
13819
  created_at: string;
13820
+ functie: string | null;
13760
13821
  hours_fri: number | null;
13761
13822
  hours_mon: number | null;
13762
13823
  hours_thu: number | null;
@@ -13773,6 +13834,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13773
13834
  Insert: {
13774
13835
  color?: string | null;
13775
13836
  created_at?: string;
13837
+ functie?: string | null;
13776
13838
  hours_fri?: number | null;
13777
13839
  hours_mon?: number | null;
13778
13840
  hours_thu?: number | null;
@@ -13789,6 +13851,7 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
13789
13851
  Update: {
13790
13852
  color?: string | null;
13791
13853
  created_at?: string;
13854
+ functie?: string | null;
13792
13855
  hours_fri?: number | null;
13793
13856
  hours_mon?: number | null;
13794
13857
  hours_thu?: number | null;
@@ -20640,6 +20703,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20640
20703
  };
20641
20704
  time_logs: {
20642
20705
  Row: {
20706
+ aangepast_door_monteur: boolean;
20707
+ aangepast_op: string | null;
20708
+ aanpassing_reden: string | null;
20643
20709
  auto_stop_reason: string | null;
20644
20710
  auto_stopped: boolean;
20645
20711
  created_at: string;
@@ -20674,6 +20740,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20674
20740
  work_order_id: string | null;
20675
20741
  };
20676
20742
  Insert: {
20743
+ aangepast_door_monteur?: boolean;
20744
+ aangepast_op?: string | null;
20745
+ aanpassing_reden?: string | null;
20677
20746
  auto_stop_reason?: string | null;
20678
20747
  auto_stopped?: boolean;
20679
20748
  created_at?: string;
@@ -20708,6 +20777,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
20708
20777
  work_order_id?: string | null;
20709
20778
  };
20710
20779
  Update: {
20780
+ aangepast_door_monteur?: boolean;
20781
+ aangepast_op?: string | null;
20782
+ aanpassing_reden?: string | null;
20711
20783
  auto_stop_reason?: string | null;
20712
20784
  auto_stopped?: boolean;
20713
20785
  created_at?: string;
@@ -22226,50 +22298,77 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
22226
22298
  Row: {
22227
22299
  beoordeeld_door: string | null;
22228
22300
  beoordeeld_op: string | null;
22301
+ blokken: import("./types").Json;
22302
+ cancellation_requested_at: string | null;
22303
+ cancellation_status: string | null;
22229
22304
  created_at: string;
22230
22305
  datum: string;
22231
22306
  eind_tijd: string | null;
22232
22307
  id: string;
22233
22308
  ingediend_at: string;
22234
22309
  monteur_id: string;
22310
+ ov178_uren: number;
22311
+ ov189_uren: number;
22235
22312
  overuren: number;
22236
22313
  reden_afkeur: string | null;
22237
22314
  start_tijd: string | null;
22238
22315
  status: string;
22239
- toelichting: string;
22316
+ toelichting: string | null;
22317
+ tvt_uren: number;
22240
22318
  updated_at: string;
22319
+ uren_na: number;
22320
+ uren_voor: number;
22321
+ verwerking: string;
22241
22322
  };
22242
22323
  Insert: {
22243
22324
  beoordeeld_door?: string | null;
22244
22325
  beoordeeld_op?: string | null;
22326
+ blokken?: import("./types").Json;
22327
+ cancellation_requested_at?: string | null;
22328
+ cancellation_status?: string | null;
22245
22329
  created_at?: string;
22246
22330
  datum: string;
22247
22331
  eind_tijd?: string | null;
22248
22332
  id?: string;
22249
22333
  ingediend_at?: string;
22250
22334
  monteur_id: string;
22335
+ ov178_uren?: number;
22336
+ ov189_uren?: number;
22251
22337
  overuren: number;
22252
22338
  reden_afkeur?: string | null;
22253
22339
  start_tijd?: string | null;
22254
22340
  status?: string;
22255
- toelichting: string;
22341
+ toelichting?: string | null;
22342
+ tvt_uren?: number;
22256
22343
  updated_at?: string;
22344
+ uren_na?: number;
22345
+ uren_voor?: number;
22346
+ verwerking?: string;
22257
22347
  };
22258
22348
  Update: {
22259
22349
  beoordeeld_door?: string | null;
22260
22350
  beoordeeld_op?: string | null;
22351
+ blokken?: import("./types").Json;
22352
+ cancellation_requested_at?: string | null;
22353
+ cancellation_status?: string | null;
22261
22354
  created_at?: string;
22262
22355
  datum?: string;
22263
22356
  eind_tijd?: string | null;
22264
22357
  id?: string;
22265
22358
  ingediend_at?: string;
22266
22359
  monteur_id?: string;
22360
+ ov178_uren?: number;
22361
+ ov189_uren?: number;
22267
22362
  overuren?: number;
22268
22363
  reden_afkeur?: string | null;
22269
22364
  start_tijd?: string | null;
22270
22365
  status?: string;
22271
- toelichting?: string;
22366
+ toelichting?: string | null;
22367
+ tvt_uren?: number;
22272
22368
  updated_at?: string;
22369
+ uren_na?: number;
22370
+ uren_voor?: number;
22371
+ verwerking?: string;
22273
22372
  };
22274
22373
  Relationships: [];
22275
22374
  };
@@ -26736,6 +26835,12 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
26736
26835
  Args: never;
26737
26836
  Returns: boolean;
26738
26837
  };
26838
+ import_floriday_delivery_locations: {
26839
+ Args: {
26840
+ _org_id: string;
26841
+ };
26842
+ Returns: number;
26843
+ };
26739
26844
  inkoop_apply_price_list: {
26740
26845
  Args: {
26741
26846
  _price_list_id: string;
@@ -29080,6 +29185,14 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
29080
29185
  Args: never;
29081
29186
  Returns: import("./types").Json;
29082
29187
  };
29188
+ logistics_tick_calls_resolve: {
29189
+ Args: never;
29190
+ Returns: number;
29191
+ };
29192
+ logistics_tick_health: {
29193
+ Args: never;
29194
+ Returns: import("./types").Json;
29195
+ };
29083
29196
  logistics_tick_ping: {
29084
29197
  Args: never;
29085
29198
  Returns: string;
@@ -30373,6 +30486,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
30373
30486
  };
30374
30487
  Returns: import("./types").Json;
30375
30488
  };
30489
+ promote_floriday_customer: {
30490
+ Args: {
30491
+ _org_id: string;
30492
+ };
30493
+ Returns: string;
30494
+ };
30495
+ promote_floriday_order_customers: {
30496
+ Args: never;
30497
+ Returns: number;
30498
+ };
30376
30499
  promote_trade_item_key: {
30377
30500
  Args: {
30378
30501
  p_new: string;
@@ -30552,6 +30675,10 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
30552
30675
  };
30553
30676
  Returns: number;
30554
30677
  };
30678
+ refresh_floriday_delivery_locations: {
30679
+ Args: never;
30680
+ Returns: number;
30681
+ };
30555
30682
  release_debtor_lock: {
30556
30683
  Args: {
30557
30684
  _group_key: string;
@@ -31255,6 +31382,9 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
31255
31382
  p_log_id: string;
31256
31383
  };
31257
31384
  Returns: {
31385
+ aangepast_door_monteur: boolean;
31386
+ aangepast_op: string | null;
31387
+ aanpassing_reden: string | null;
31258
31388
  auto_stop_reason: string | null;
31259
31389
  auto_stopped: boolean;
31260
31390
  created_at: string;
@@ -31450,6 +31580,36 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
31450
31580
  };
31451
31581
  Returns: undefined;
31452
31582
  };
31583
+ uren_dag_controle: {
31584
+ Args: {
31585
+ _datum: string;
31586
+ _monteur: string;
31587
+ _toekomst_toegestaan: boolean;
31588
+ };
31589
+ Returns: undefined;
31590
+ };
31591
+ uren_dag_controle_vrij: {
31592
+ Args: {
31593
+ _datum: string;
31594
+ _monteur: string;
31595
+ };
31596
+ Returns: undefined;
31597
+ };
31598
+ uren_dag_km_opslaan: {
31599
+ Args: {
31600
+ _datum: string;
31601
+ _km: number;
31602
+ };
31603
+ Returns: undefined;
31604
+ };
31605
+ uren_dag_registraties_aanpassen: {
31606
+ Args: {
31607
+ _datum: string;
31608
+ _reden: string;
31609
+ _regels: import("./types").Json;
31610
+ };
31611
+ Returns: number;
31612
+ };
31453
31613
  uren_employee_day_hours: {
31454
31614
  Args: {
31455
31615
  _day: string;
@@ -31544,6 +31704,16 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
31544
31704
  Args: never;
31545
31705
  Returns: string;
31546
31706
  };
31707
+ uren_overuren_indienen: {
31708
+ Args: {
31709
+ _datum: string;
31710
+ _toelichting?: string;
31711
+ _uren_na: number;
31712
+ _uren_voor: number;
31713
+ _verwerking: string;
31714
+ };
31715
+ Returns: undefined;
31716
+ };
31547
31717
  uren_pagina_toegang_instellen: {
31548
31718
  Args: {
31549
31719
  _toegang: boolean;
@@ -31644,6 +31814,13 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
31644
31814
  };
31645
31815
  Returns: string;
31646
31816
  };
31817
+ uren_vakantiedag_verwijderen: {
31818
+ Args: {
31819
+ _datum: string;
31820
+ _leave_id: string;
31821
+ };
31822
+ Returns: undefined;
31823
+ };
31647
31824
  uren_vakantiedag_wijzigen: {
31648
31825
  Args: {
31649
31826
  _date: string;
@@ -31795,6 +31972,25 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
31795
31972
  user_id: string;
31796
31973
  }[];
31797
31974
  };
31975
+ vakantie_tvt_overzicht: {
31976
+ Args: {
31977
+ _year?: number;
31978
+ };
31979
+ Returns: {
31980
+ earned_from_tvt_days: number;
31981
+ hours_to_next_tvt_day: number;
31982
+ tvt_hours: number;
31983
+ tvt_remainder_hours: number;
31984
+ user_id: string;
31985
+ }[];
31986
+ };
31987
+ vakantie_tvt_uren: {
31988
+ Args: {
31989
+ _user_id: string;
31990
+ _year: number;
31991
+ };
31992
+ Returns: number;
31993
+ };
31798
31994
  vervang_printer: {
31799
31995
  Args: {
31800
31996
  _nieuw: string;