@flowselections/actie-mail-kwekers-erp-mathot 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.
@@ -10385,6 +10385,63 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10385
10385
  referencedColumns: ["id"];
10386
10386
  }];
10387
10387
  };
10388
+ medewerker_details: {
10389
+ Row: {
10390
+ color: string | null;
10391
+ created_at: string;
10392
+ hours_fri: number | null;
10393
+ hours_mon: number | null;
10394
+ hours_thu: number | null;
10395
+ hours_tue: number | null;
10396
+ hours_wed: number | null;
10397
+ id: string;
10398
+ is_active: boolean;
10399
+ leave_balance_hours: number;
10400
+ persnr: string | null;
10401
+ phone: string | null;
10402
+ profile_id: string;
10403
+ updated_at: string;
10404
+ };
10405
+ Insert: {
10406
+ color?: string | null;
10407
+ created_at?: string;
10408
+ hours_fri?: number | null;
10409
+ hours_mon?: number | null;
10410
+ hours_thu?: number | null;
10411
+ hours_tue?: number | null;
10412
+ hours_wed?: number | null;
10413
+ id?: string;
10414
+ is_active?: boolean;
10415
+ leave_balance_hours?: number;
10416
+ persnr?: string | null;
10417
+ phone?: string | null;
10418
+ profile_id: string;
10419
+ updated_at?: string;
10420
+ };
10421
+ Update: {
10422
+ color?: string | null;
10423
+ created_at?: string;
10424
+ hours_fri?: number | null;
10425
+ hours_mon?: number | null;
10426
+ hours_thu?: number | null;
10427
+ hours_tue?: number | null;
10428
+ hours_wed?: number | null;
10429
+ id?: string;
10430
+ is_active?: boolean;
10431
+ leave_balance_hours?: number;
10432
+ persnr?: string | null;
10433
+ phone?: string | null;
10434
+ profile_id?: string;
10435
+ updated_at?: string;
10436
+ };
10437
+ Relationships: [{
10438
+ foreignKeyName: "medewerker_details_profile_id_fkey";
10439
+ columns: ["profile_id"];
10440
+ isOneToOne: true;
10441
+ referencedRelation: "profiles";
10442
+ referencedColumns: ["id"];
10443
+ }];
10444
+ };
10388
10445
  module_features: {
10389
10446
  Row: {
10390
10447
  created_at: string;
@@ -15035,6 +15092,42 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15035
15092
  };
15036
15093
  Relationships: [];
15037
15094
  };
15095
+ sick_periods: {
15096
+ Row: {
15097
+ created_at: string;
15098
+ employee_id: string;
15099
+ end_date: string | null;
15100
+ id: string;
15101
+ notes: string | null;
15102
+ start_date: string;
15103
+ updated_at: string;
15104
+ };
15105
+ Insert: {
15106
+ created_at?: string;
15107
+ employee_id: string;
15108
+ end_date?: string | null;
15109
+ id?: string;
15110
+ notes?: string | null;
15111
+ start_date: string;
15112
+ updated_at?: string;
15113
+ };
15114
+ Update: {
15115
+ created_at?: string;
15116
+ employee_id?: string;
15117
+ end_date?: string | null;
15118
+ id?: string;
15119
+ notes?: string | null;
15120
+ start_date?: string;
15121
+ updated_at?: string;
15122
+ };
15123
+ Relationships: [{
15124
+ foreignKeyName: "sick_periods_employee_id_fkey";
15125
+ columns: ["employee_id"];
15126
+ isOneToOne: false;
15127
+ referencedRelation: "profiles";
15128
+ referencedColumns: ["id"];
15129
+ }];
15130
+ };
15038
15131
  sidebar_config: {
15039
15132
  Row: {
15040
15133
  id: string;
@@ -19719,6 +19812,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19719
19812
  };
19720
19813
  Returns: string;
19721
19814
  };
19815
+ employee_day_hours: {
19816
+ Args: {
19817
+ _day: string;
19818
+ _employee_id: string;
19819
+ };
19820
+ Returns: number;
19821
+ };
19722
19822
  enqueue_cart_replan_if_unlocked: {
19723
19823
  Args: {
19724
19824
  p_order_id: string;
@@ -20095,9 +20195,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20095
20195
  Args: never;
20096
20196
  Returns: {
20097
20197
  avatar_url: string;
20198
+ color: string;
20098
20199
  display_name: string;
20099
20200
  email: string;
20201
+ hours_fri: number;
20202
+ hours_mon: number;
20203
+ hours_thu: number;
20204
+ hours_tue: number;
20205
+ hours_wed: number;
20100
20206
  id: string;
20207
+ is_active: boolean;
20208
+ leave_balance_hours: number;
20209
+ persnr: string;
20210
+ phone: string;
20101
20211
  roles: string[];
20102
20212
  }[];
20103
20213
  };
@@ -21803,6 +21913,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21803
21913
  };
21804
21914
  Returns: undefined;
21805
21915
  };
21916
+ sync_sick_time_off: {
21917
+ Args: {
21918
+ _period_id: string;
21919
+ };
21920
+ Returns: number;
21921
+ };
21806
21922
  trade_item_stock_duplicates: {
21807
21923
  Args: never;
21808
21924
  Returns: {