@flowselections/logistiek-engine 1.0.104 → 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 (74) 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 -31805
  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 +337 -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 +337 -3
  38. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  39. package/dist-lib/integrations/supabase/types.d.ts +341 -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 -31805
  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 -95415
  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 -31805
  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 -159025
  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 -63610
  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 -31805
  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/modulePrompts.d.ts.map +1 -1
  65. package/dist-lib/lib/modulePrompts.js +35 -0
  66. package/dist-lib/lib/moduleVersion.d.ts +1 -1
  67. package/dist-lib/lib/moduleVersion.js +1 -1
  68. package/dist-lib/lib/plannerDiff.functions.d.ts +1 -31805
  69. package/dist-lib/lib/plannerDiff.functions.d.ts.map +1 -1
  70. package/dist-lib/lib/plannerDiff.functions.js +3 -3
  71. package/dist-lib/lib/quarantineFilter.test.d.ts +2 -0
  72. package/dist-lib/lib/quarantineFilter.test.d.ts.map +1 -0
  73. package/dist-lib/lib/quarantineFilter.test.js +18 -0
  74. package/package.json +159 -159
@@ -20,7 +20,7 @@ function createSupabaseAdminClient() {
20
20
  let _supabaseAdmin;
21
21
  // Server-side Supabase client with service role - bypasses RLS
22
22
  // SECURITY: Only use this for trusted server-side operations, never expose to client code
23
- // Import like: import { supabaseAdmin } from "./client.server.js";
23
+ // Import like: import { supabaseAdmin } from "../../integrations/supabase/client.server";
24
24
  export const supabaseAdmin = new Proxy({}, {
25
25
  get(_, prop, receiver) {
26
26
  if (!_supabaseAdmin)
@@ -6699,8 +6699,13 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
6699
6699
  fetched_at: string;
6700
6700
  gln_code: string | null;
6701
6701
  is_deleted: boolean;
6702
+ mailing_address: import("./types").Json | null;
6702
6703
  name: string | null;
6703
6704
  organization_id: string;
6705
+ payment_providers: import("./types").Json | null;
6706
+ physical_address: import("./types").Json | null;
6707
+ rfh_company_account_id: string | null;
6708
+ rfh_relation_id: string | null;
6704
6709
  sequence_number: number | null;
6705
6710
  };
6706
6711
  Insert: {
@@ -6709,8 +6714,13 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
6709
6714
  fetched_at?: string;
6710
6715
  gln_code?: string | null;
6711
6716
  is_deleted?: boolean;
6717
+ mailing_address?: import("./types").Json | null;
6712
6718
  name?: string | null;
6713
6719
  organization_id: string;
6720
+ payment_providers?: import("./types").Json | null;
6721
+ physical_address?: import("./types").Json | null;
6722
+ rfh_company_account_id?: string | null;
6723
+ rfh_relation_id?: string | null;
6714
6724
  sequence_number?: number | null;
6715
6725
  };
6716
6726
  Update: {
@@ -6719,8 +6729,13 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
6719
6729
  fetched_at?: string;
6720
6730
  gln_code?: string | null;
6721
6731
  is_deleted?: boolean;
6732
+ mailing_address?: import("./types").Json | null;
6722
6733
  name?: string | null;
6723
6734
  organization_id?: string;
6735
+ payment_providers?: import("./types").Json | null;
6736
+ physical_address?: import("./types").Json | null;
6737
+ rfh_company_account_id?: string | null;
6738
+ rfh_relation_id?: string | null;
6724
6739
  sequence_number?: number | null;
6725
6740
  };
6726
6741
  Relationships: [{
@@ -7820,6 +7835,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
7820
7835
  floriday_trade_settings_customers_cache: {
7821
7836
  Row: {
7822
7837
  connection_id: string;
7838
+ customer_organization_id: string | null;
7823
7839
  data: import("./types").Json;
7824
7840
  fetched_at: string;
7825
7841
  floriday_id: string;
@@ -7830,6 +7846,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
7830
7846
  };
7831
7847
  Insert: {
7832
7848
  connection_id: string;
7849
+ customer_organization_id?: string | null;
7833
7850
  data: import("./types").Json;
7834
7851
  fetched_at?: string;
7835
7852
  floriday_id: string;
@@ -7840,6 +7857,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
7840
7857
  };
7841
7858
  Update: {
7842
7859
  connection_id?: string;
7860
+ customer_organization_id?: string | null;
7843
7861
  data?: import("./types").Json;
7844
7862
  fetched_at?: string;
7845
7863
  floriday_id?: string;
@@ -7970,6 +7988,144 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
7970
7988
  referencedColumns: ["id"];
7971
7989
  }];
7972
7990
  };
7991
+ floriday_webhook_events: {
7992
+ Row: {
7993
+ aggregate_id: string | null;
7994
+ aggregate_type: string | null;
7995
+ attempts: number;
7996
+ connection_id: string | null;
7997
+ dedupe_key: string;
7998
+ duplicate_count: number;
7999
+ event_type: string | null;
8000
+ id: string;
8001
+ last_error: string | null;
8002
+ max_attempts: number;
8003
+ message_type: string | null;
8004
+ next_attempt_at: string | null;
8005
+ payload: import("./types").Json | null;
8006
+ processed_at: string | null;
8007
+ received_at: string;
8008
+ status: string;
8009
+ updated_at: string;
8010
+ };
8011
+ Insert: {
8012
+ aggregate_id?: string | null;
8013
+ aggregate_type?: string | null;
8014
+ attempts?: number;
8015
+ connection_id?: string | null;
8016
+ dedupe_key: string;
8017
+ duplicate_count?: number;
8018
+ event_type?: string | null;
8019
+ id?: string;
8020
+ last_error?: string | null;
8021
+ max_attempts?: number;
8022
+ message_type?: string | null;
8023
+ next_attempt_at?: string | null;
8024
+ payload?: import("./types").Json | null;
8025
+ processed_at?: string | null;
8026
+ received_at?: string;
8027
+ status?: string;
8028
+ updated_at?: string;
8029
+ };
8030
+ Update: {
8031
+ aggregate_id?: string | null;
8032
+ aggregate_type?: string | null;
8033
+ attempts?: number;
8034
+ connection_id?: string | null;
8035
+ dedupe_key?: string;
8036
+ duplicate_count?: number;
8037
+ event_type?: string | null;
8038
+ id?: string;
8039
+ last_error?: string | null;
8040
+ max_attempts?: number;
8041
+ message_type?: string | null;
8042
+ next_attempt_at?: string | null;
8043
+ payload?: import("./types").Json | null;
8044
+ processed_at?: string | null;
8045
+ received_at?: string;
8046
+ status?: string;
8047
+ updated_at?: string;
8048
+ };
8049
+ Relationships: [{
8050
+ foreignKeyName: "floriday_webhook_events_connection_id_fkey";
8051
+ columns: ["connection_id"];
8052
+ isOneToOne: false;
8053
+ referencedRelation: "floriday_connections";
8054
+ referencedColumns: ["id"];
8055
+ }];
8056
+ };
8057
+ floriday_webhook_subscriptions: {
8058
+ Row: {
8059
+ attempts: number;
8060
+ callback_token_hash: string;
8061
+ callback_url: string;
8062
+ confirmed_at: string | null;
8063
+ connection_id: string;
8064
+ created_at: string;
8065
+ environment: string;
8066
+ id: string;
8067
+ last_attempt_at: string | null;
8068
+ last_error: string | null;
8069
+ last_error_kind: string | null;
8070
+ last_event_at: string | null;
8071
+ locked_until: string | null;
8072
+ managed_by: string;
8073
+ next_attempt_at: string | null;
8074
+ status: string;
8075
+ subscribe_url: string | null;
8076
+ subscribed_at: string;
8077
+ updated_at: string;
8078
+ };
8079
+ Insert: {
8080
+ attempts?: number;
8081
+ callback_token_hash: string;
8082
+ callback_url: string;
8083
+ confirmed_at?: string | null;
8084
+ connection_id: string;
8085
+ created_at?: string;
8086
+ environment: string;
8087
+ id?: string;
8088
+ last_attempt_at?: string | null;
8089
+ last_error?: string | null;
8090
+ last_error_kind?: string | null;
8091
+ last_event_at?: string | null;
8092
+ locked_until?: string | null;
8093
+ managed_by?: string;
8094
+ next_attempt_at?: string | null;
8095
+ status?: string;
8096
+ subscribe_url?: string | null;
8097
+ subscribed_at?: string;
8098
+ updated_at?: string;
8099
+ };
8100
+ Update: {
8101
+ attempts?: number;
8102
+ callback_token_hash?: string;
8103
+ callback_url?: string;
8104
+ confirmed_at?: string | null;
8105
+ connection_id?: string;
8106
+ created_at?: string;
8107
+ environment?: string;
8108
+ id?: string;
8109
+ last_attempt_at?: string | null;
8110
+ last_error?: string | null;
8111
+ last_error_kind?: string | null;
8112
+ last_event_at?: string | null;
8113
+ locked_until?: string | null;
8114
+ managed_by?: string;
8115
+ next_attempt_at?: string | null;
8116
+ status?: string;
8117
+ subscribe_url?: string | null;
8118
+ subscribed_at?: string;
8119
+ updated_at?: string;
8120
+ };
8121
+ Relationships: [{
8122
+ foreignKeyName: "floriday_webhook_subscriptions_connection_id_fkey";
8123
+ columns: ["connection_id"];
8124
+ isOneToOne: true;
8125
+ referencedRelation: "floriday_connections";
8126
+ referencedColumns: ["id"];
8127
+ }];
8128
+ };
7973
8129
  floriday_write_log: {
7974
8130
  Row: {
7975
8131
  action: string;
@@ -12461,6 +12617,48 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
12461
12617
  referencedColumns: ["id"];
12462
12618
  }];
12463
12619
  };
12620
+ logistics_tick_calls: {
12621
+ Row: {
12622
+ called_at: string;
12623
+ engine_ok: boolean | null;
12624
+ error: string | null;
12625
+ id: number;
12626
+ module_project: boolean | null;
12627
+ module_version: string | null;
12628
+ request_id: number | null;
12629
+ resolved_at: string | null;
12630
+ skipped_reason: string | null;
12631
+ status_code: number | null;
12632
+ target_host: string | null;
12633
+ };
12634
+ Insert: {
12635
+ called_at?: string;
12636
+ engine_ok?: boolean | null;
12637
+ error?: string | null;
12638
+ id?: never;
12639
+ module_project?: boolean | null;
12640
+ module_version?: string | null;
12641
+ request_id?: number | null;
12642
+ resolved_at?: string | null;
12643
+ skipped_reason?: string | null;
12644
+ status_code?: number | null;
12645
+ target_host?: string | null;
12646
+ };
12647
+ Update: {
12648
+ called_at?: string;
12649
+ engine_ok?: boolean | null;
12650
+ error?: string | null;
12651
+ id?: never;
12652
+ module_project?: boolean | null;
12653
+ module_version?: string | null;
12654
+ request_id?: number | null;
12655
+ resolved_at?: string | null;
12656
+ skipped_reason?: string | null;
12657
+ status_code?: number | null;
12658
+ target_host?: string | null;
12659
+ };
12660
+ Relationships: [];
12661
+ };
12464
12662
  logistics_tick_heartbeat: {
12465
12663
  Row: {
12466
12664
  id: boolean;
@@ -13620,6 +13818,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
13620
13818
  Row: {
13621
13819
  color: string | null;
13622
13820
  created_at: string;
13821
+ functie: string | null;
13623
13822
  hours_fri: number | null;
13624
13823
  hours_mon: number | null;
13625
13824
  hours_thu: number | null;
@@ -13636,6 +13835,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
13636
13835
  Insert: {
13637
13836
  color?: string | null;
13638
13837
  created_at?: string;
13838
+ functie?: string | null;
13639
13839
  hours_fri?: number | null;
13640
13840
  hours_mon?: number | null;
13641
13841
  hours_thu?: number | null;
@@ -13652,6 +13852,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
13652
13852
  Update: {
13653
13853
  color?: string | null;
13654
13854
  created_at?: string;
13855
+ functie?: string | null;
13655
13856
  hours_fri?: number | null;
13656
13857
  hours_mon?: number | null;
13657
13858
  hours_thu?: number | null;
@@ -20503,6 +20704,9 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
20503
20704
  };
20504
20705
  time_logs: {
20505
20706
  Row: {
20707
+ aangepast_door_monteur: boolean;
20708
+ aangepast_op: string | null;
20709
+ aanpassing_reden: string | null;
20506
20710
  auto_stop_reason: string | null;
20507
20711
  auto_stopped: boolean;
20508
20712
  created_at: string;
@@ -20537,6 +20741,9 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
20537
20741
  work_order_id: string | null;
20538
20742
  };
20539
20743
  Insert: {
20744
+ aangepast_door_monteur?: boolean;
20745
+ aangepast_op?: string | null;
20746
+ aanpassing_reden?: string | null;
20540
20747
  auto_stop_reason?: string | null;
20541
20748
  auto_stopped?: boolean;
20542
20749
  created_at?: string;
@@ -20571,6 +20778,9 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
20571
20778
  work_order_id?: string | null;
20572
20779
  };
20573
20780
  Update: {
20781
+ aangepast_door_monteur?: boolean;
20782
+ aangepast_op?: string | null;
20783
+ aanpassing_reden?: string | null;
20574
20784
  auto_stop_reason?: string | null;
20575
20785
  auto_stopped?: boolean;
20576
20786
  created_at?: string;
@@ -22089,50 +22299,77 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
22089
22299
  Row: {
22090
22300
  beoordeeld_door: string | null;
22091
22301
  beoordeeld_op: string | null;
22302
+ blokken: import("./types").Json;
22303
+ cancellation_requested_at: string | null;
22304
+ cancellation_status: string | null;
22092
22305
  created_at: string;
22093
22306
  datum: string;
22094
22307
  eind_tijd: string | null;
22095
22308
  id: string;
22096
22309
  ingediend_at: string;
22097
22310
  monteur_id: string;
22311
+ ov178_uren: number;
22312
+ ov189_uren: number;
22098
22313
  overuren: number;
22099
22314
  reden_afkeur: string | null;
22100
22315
  start_tijd: string | null;
22101
22316
  status: string;
22102
- toelichting: string;
22317
+ toelichting: string | null;
22318
+ tvt_uren: number;
22103
22319
  updated_at: string;
22320
+ uren_na: number;
22321
+ uren_voor: number;
22322
+ verwerking: string;
22104
22323
  };
22105
22324
  Insert: {
22106
22325
  beoordeeld_door?: string | null;
22107
22326
  beoordeeld_op?: string | null;
22327
+ blokken?: import("./types").Json;
22328
+ cancellation_requested_at?: string | null;
22329
+ cancellation_status?: string | null;
22108
22330
  created_at?: string;
22109
22331
  datum: string;
22110
22332
  eind_tijd?: string | null;
22111
22333
  id?: string;
22112
22334
  ingediend_at?: string;
22113
22335
  monteur_id: string;
22336
+ ov178_uren?: number;
22337
+ ov189_uren?: number;
22114
22338
  overuren: number;
22115
22339
  reden_afkeur?: string | null;
22116
22340
  start_tijd?: string | null;
22117
22341
  status?: string;
22118
- toelichting: string;
22342
+ toelichting?: string | null;
22343
+ tvt_uren?: number;
22119
22344
  updated_at?: string;
22345
+ uren_na?: number;
22346
+ uren_voor?: number;
22347
+ verwerking?: string;
22120
22348
  };
22121
22349
  Update: {
22122
22350
  beoordeeld_door?: string | null;
22123
22351
  beoordeeld_op?: string | null;
22352
+ blokken?: import("./types").Json;
22353
+ cancellation_requested_at?: string | null;
22354
+ cancellation_status?: string | null;
22124
22355
  created_at?: string;
22125
22356
  datum?: string;
22126
22357
  eind_tijd?: string | null;
22127
22358
  id?: string;
22128
22359
  ingediend_at?: string;
22129
22360
  monteur_id?: string;
22361
+ ov178_uren?: number;
22362
+ ov189_uren?: number;
22130
22363
  overuren?: number;
22131
22364
  reden_afkeur?: string | null;
22132
22365
  start_tijd?: string | null;
22133
22366
  status?: string;
22134
- toelichting?: string;
22367
+ toelichting?: string | null;
22368
+ tvt_uren?: number;
22135
22369
  updated_at?: string;
22370
+ uren_na?: number;
22371
+ uren_voor?: number;
22372
+ verwerking?: string;
22136
22373
  };
22137
22374
  Relationships: [];
22138
22375
  };
@@ -26599,6 +26836,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
26599
26836
  Args: never;
26600
26837
  Returns: boolean;
26601
26838
  };
26839
+ import_floriday_delivery_locations: {
26840
+ Args: {
26841
+ _org_id: string;
26842
+ };
26843
+ Returns: number;
26844
+ };
26602
26845
  inkoop_apply_price_list: {
26603
26846
  Args: {
26604
26847
  _price_list_id: string;
@@ -28943,6 +29186,14 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
28943
29186
  Args: never;
28944
29187
  Returns: import("./types").Json;
28945
29188
  };
29189
+ logistics_tick_calls_resolve: {
29190
+ Args: never;
29191
+ Returns: number;
29192
+ };
29193
+ logistics_tick_health: {
29194
+ Args: never;
29195
+ Returns: import("./types").Json;
29196
+ };
28946
29197
  logistics_tick_ping: {
28947
29198
  Args: never;
28948
29199
  Returns: string;
@@ -30236,6 +30487,16 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
30236
30487
  };
30237
30488
  Returns: import("./types").Json;
30238
30489
  };
30490
+ promote_floriday_customer: {
30491
+ Args: {
30492
+ _org_id: string;
30493
+ };
30494
+ Returns: string;
30495
+ };
30496
+ promote_floriday_order_customers: {
30497
+ Args: never;
30498
+ Returns: number;
30499
+ };
30239
30500
  promote_trade_item_key: {
30240
30501
  Args: {
30241
30502
  p_new: string;
@@ -30415,6 +30676,10 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
30415
30676
  };
30416
30677
  Returns: number;
30417
30678
  };
30679
+ refresh_floriday_delivery_locations: {
30680
+ Args: never;
30681
+ Returns: number;
30682
+ };
30418
30683
  release_debtor_lock: {
30419
30684
  Args: {
30420
30685
  _group_key: string;
@@ -31118,6 +31383,9 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
31118
31383
  p_log_id: string;
31119
31384
  };
31120
31385
  Returns: {
31386
+ aangepast_door_monteur: boolean;
31387
+ aangepast_op: string | null;
31388
+ aanpassing_reden: string | null;
31121
31389
  auto_stop_reason: string | null;
31122
31390
  auto_stopped: boolean;
31123
31391
  created_at: string;
@@ -31313,6 +31581,36 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
31313
31581
  };
31314
31582
  Returns: undefined;
31315
31583
  };
31584
+ uren_dag_controle: {
31585
+ Args: {
31586
+ _datum: string;
31587
+ _monteur: string;
31588
+ _toekomst_toegestaan: boolean;
31589
+ };
31590
+ Returns: undefined;
31591
+ };
31592
+ uren_dag_controle_vrij: {
31593
+ Args: {
31594
+ _datum: string;
31595
+ _monteur: string;
31596
+ };
31597
+ Returns: undefined;
31598
+ };
31599
+ uren_dag_km_opslaan: {
31600
+ Args: {
31601
+ _datum: string;
31602
+ _km: number;
31603
+ };
31604
+ Returns: undefined;
31605
+ };
31606
+ uren_dag_registraties_aanpassen: {
31607
+ Args: {
31608
+ _datum: string;
31609
+ _reden: string;
31610
+ _regels: import("./types").Json;
31611
+ };
31612
+ Returns: number;
31613
+ };
31316
31614
  uren_employee_day_hours: {
31317
31615
  Args: {
31318
31616
  _day: string;
@@ -31407,6 +31705,16 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
31407
31705
  Args: never;
31408
31706
  Returns: string;
31409
31707
  };
31708
+ uren_overuren_indienen: {
31709
+ Args: {
31710
+ _datum: string;
31711
+ _toelichting?: string;
31712
+ _uren_na: number;
31713
+ _uren_voor: number;
31714
+ _verwerking: string;
31715
+ };
31716
+ Returns: undefined;
31717
+ };
31410
31718
  uren_pagina_toegang_instellen: {
31411
31719
  Args: {
31412
31720
  _toegang: boolean;
@@ -31507,6 +31815,13 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
31507
31815
  };
31508
31816
  Returns: string;
31509
31817
  };
31818
+ uren_vakantiedag_verwijderen: {
31819
+ Args: {
31820
+ _datum: string;
31821
+ _leave_id: string;
31822
+ };
31823
+ Returns: undefined;
31824
+ };
31510
31825
  uren_vakantiedag_wijzigen: {
31511
31826
  Args: {
31512
31827
  _date: string;
@@ -31658,6 +31973,25 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
31658
31973
  user_id: string;
31659
31974
  }[];
31660
31975
  };
31976
+ vakantie_tvt_overzicht: {
31977
+ Args: {
31978
+ _year?: number;
31979
+ };
31980
+ Returns: {
31981
+ earned_from_tvt_days: number;
31982
+ hours_to_next_tvt_day: number;
31983
+ tvt_hours: number;
31984
+ tvt_remainder_hours: number;
31985
+ user_id: string;
31986
+ }[];
31987
+ };
31988
+ vakantie_tvt_uren: {
31989
+ Args: {
31990
+ _user_id: string;
31991
+ _year: number;
31992
+ };
31993
+ Returns: number;
31994
+ };
31661
31995
  vervang_printer: {
31662
31996
  Args: {
31663
31997
  _nieuw: string;