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