From d86c5d394e9812ffbf44acf07aee038f622f2a8c Mon Sep 17 00:00:00 2001 From: Michiel Devriese Date: Tue, 23 Jan 2024 09:17:25 +0100 Subject: [PATCH 1/2] Expose wether the email address is verified or not --- apiary.apib | 4 ++++ src/01-general/users.apib | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/apiary.apib b/apiary.apib index 309c1b2f..13a91d1c 100644 --- a/apiary.apib +++ b/apiary.apib @@ -1184,6 +1184,10 @@ Get the current authenticated user. + first_name: `John` (string) + last_name: `Smith` (string) + email: `john@teamleader.eu` (string) + + email_verification_status: `confirmed` (enum) + + Members + + pending + + confirmed + telephones (array[Telephone]) + language: `nl-BE` (enum) + Members diff --git a/src/01-general/users.apib b/src/01-general/users.apib index 706f7b6b..0a9c8b8b 100644 --- a/src/01-general/users.apib +++ b/src/01-general/users.apib @@ -19,6 +19,10 @@ Get the current authenticated user. + first_name: `John` (string) + last_name: `Smith` (string) + email: `john@teamleader.eu` (string) + + email_verification_status: `confirmed` (enum) + + Members + + pending + + confirmed + telephones (array[Telephone]) + language: `nl-BE` (enum) + Members From 7567e66587b78d47d32f95a67164e6d747334fde Mon Sep 17 00:00:00 2001 From: Michiel Devriese Date: Tue, 23 Jan 2024 09:19:26 +0100 Subject: [PATCH 2/2] Log property addition --- apiary.apib | 1 + src/changes-backwards-compatible.apib | 1 + 2 files changed, 2 insertions(+) diff --git a/apiary.apib b/apiary.apib index 13a91d1c..029ca954 100644 --- a/apiary.apib +++ b/apiary.apib @@ -431,6 +431,7 @@ We list all backwards-compatible additions here. These are currently available i - We replaced `task_type_rate` with `work_type_rate` in `projects-v2/tasks.list`, `projects-v2/tasks.info`, `projects-v2/tasks.create` and `projects-v2/tasks.update`. `task_type_rate` was never used. - We added `project_id` to the `tasks.create` endpoint. - We added the `users.listDaysOff` and `dayOffTypes.list` endpoints. +- We added `email_verification_status` to `users.me`. #### December 2023 - The `dealPhases.list` endpoint can now filter phases by pipeline id. diff --git a/src/changes-backwards-compatible.apib b/src/changes-backwards-compatible.apib index ae4217e0..a38a8a85 100644 --- a/src/changes-backwards-compatible.apib +++ b/src/changes-backwards-compatible.apib @@ -9,6 +9,7 @@ We list all backwards-compatible additions here. These are currently available i - We replaced `task_type_rate` with `work_type_rate` in `projects-v2/tasks.list`, `projects-v2/tasks.info`, `projects-v2/tasks.create` and `projects-v2/tasks.update`. `task_type_rate` was never used. - We added `project_id` to the `tasks.create` endpoint. - We added the `users.listDaysOff` and `dayOffTypes.list` endpoints. +- We added `email_verification_status` to `users.me`. #### December 2023 - The `dealPhases.list` endpoint can now filter phases by pipeline id.