@flowselections/actie-mail-kwekers-erp-mathot 1.0.21 → 1.0.23

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.
@@ -10664,6 +10664,65 @@ export type Database = {
10664
10664
  }
10665
10665
  ];
10666
10666
  };
10667
+ medewerker_details: {
10668
+ Row: {
10669
+ color: string | null;
10670
+ created_at: string;
10671
+ hours_fri: number | null;
10672
+ hours_mon: number | null;
10673
+ hours_thu: number | null;
10674
+ hours_tue: number | null;
10675
+ hours_wed: number | null;
10676
+ id: string;
10677
+ is_active: boolean;
10678
+ leave_balance_hours: number;
10679
+ persnr: string | null;
10680
+ phone: string | null;
10681
+ profile_id: string;
10682
+ updated_at: string;
10683
+ };
10684
+ Insert: {
10685
+ color?: string | null;
10686
+ created_at?: string;
10687
+ hours_fri?: number | null;
10688
+ hours_mon?: number | null;
10689
+ hours_thu?: number | null;
10690
+ hours_tue?: number | null;
10691
+ hours_wed?: number | null;
10692
+ id?: string;
10693
+ is_active?: boolean;
10694
+ leave_balance_hours?: number;
10695
+ persnr?: string | null;
10696
+ phone?: string | null;
10697
+ profile_id: string;
10698
+ updated_at?: string;
10699
+ };
10700
+ Update: {
10701
+ color?: string | null;
10702
+ created_at?: string;
10703
+ hours_fri?: number | null;
10704
+ hours_mon?: number | null;
10705
+ hours_thu?: number | null;
10706
+ hours_tue?: number | null;
10707
+ hours_wed?: number | null;
10708
+ id?: string;
10709
+ is_active?: boolean;
10710
+ leave_balance_hours?: number;
10711
+ persnr?: string | null;
10712
+ phone?: string | null;
10713
+ profile_id?: string;
10714
+ updated_at?: string;
10715
+ };
10716
+ Relationships: [
10717
+ {
10718
+ foreignKeyName: "medewerker_details_profile_id_fkey";
10719
+ columns: ["profile_id"];
10720
+ isOneToOne: true;
10721
+ referencedRelation: "profiles";
10722
+ referencedColumns: ["id"];
10723
+ }
10724
+ ];
10725
+ };
10667
10726
  module_features: {
10668
10727
  Row: {
10669
10728
  created_at: string;
@@ -15472,6 +15531,44 @@ export type Database = {
15472
15531
  };
15473
15532
  Relationships: [];
15474
15533
  };
15534
+ sick_periods: {
15535
+ Row: {
15536
+ created_at: string;
15537
+ employee_id: string;
15538
+ end_date: string | null;
15539
+ id: string;
15540
+ notes: string | null;
15541
+ start_date: string;
15542
+ updated_at: string;
15543
+ };
15544
+ Insert: {
15545
+ created_at?: string;
15546
+ employee_id: string;
15547
+ end_date?: string | null;
15548
+ id?: string;
15549
+ notes?: string | null;
15550
+ start_date: string;
15551
+ updated_at?: string;
15552
+ };
15553
+ Update: {
15554
+ created_at?: string;
15555
+ employee_id?: string;
15556
+ end_date?: string | null;
15557
+ id?: string;
15558
+ notes?: string | null;
15559
+ start_date?: string;
15560
+ updated_at?: string;
15561
+ };
15562
+ Relationships: [
15563
+ {
15564
+ foreignKeyName: "sick_periods_employee_id_fkey";
15565
+ columns: ["employee_id"];
15566
+ isOneToOne: false;
15567
+ referencedRelation: "profiles";
15568
+ referencedColumns: ["id"];
15569
+ }
15570
+ ];
15571
+ };
15475
15572
  sidebar_config: {
15476
15573
  Row: {
15477
15574
  id: string;
@@ -20244,6 +20341,13 @@ export type Database = {
20244
20341
  };
20245
20342
  Returns: string;
20246
20343
  };
20344
+ employee_day_hours: {
20345
+ Args: {
20346
+ _day: string;
20347
+ _employee_id: string;
20348
+ };
20349
+ Returns: number;
20350
+ };
20247
20351
  enqueue_cart_replan_if_unlocked: {
20248
20352
  Args: {
20249
20353
  p_order_id: string;
@@ -20620,9 +20724,19 @@ export type Database = {
20620
20724
  Args: never;
20621
20725
  Returns: {
20622
20726
  avatar_url: string;
20727
+ color: string;
20623
20728
  display_name: string;
20624
20729
  email: string;
20730
+ hours_fri: number;
20731
+ hours_mon: number;
20732
+ hours_thu: number;
20733
+ hours_tue: number;
20734
+ hours_wed: number;
20625
20735
  id: string;
20736
+ is_active: boolean;
20737
+ leave_balance_hours: number;
20738
+ persnr: string;
20739
+ phone: string;
20626
20740
  roles: string[];
20627
20741
  }[];
20628
20742
  };
@@ -22328,6 +22442,12 @@ export type Database = {
22328
22442
  };
22329
22443
  Returns: undefined;
22330
22444
  };
22445
+ sync_sick_time_off: {
22446
+ Args: {
22447
+ _period_id: string;
22448
+ };
22449
+ Returns: number;
22450
+ };
22331
22451
  trade_item_stock_duplicates: {
22332
22452
  Args: never;
22333
22453
  Returns: {