From 993fc56befe6e3bb8a08c734dc29a5cc08443d4c Mon Sep 17 00:00:00 2001 From: Nikita Bezdolniy Date: Fri, 30 Sep 2022 12:02:46 +0300 Subject: [PATCH] HH-161251 Add need_verification field to contacts --- docs/employer_resumes.md | 2 ++ docs/resumes.md | 3 ++- docs_eng/resumes.md | 5 ++++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/employer_resumes.md b/docs/employer_resumes.md index a91605c4..1afa3dba 100644 --- a/docs/employer_resumes.md +++ b/docs/employer_resumes.md @@ -80,6 +80,7 @@ "contact": [ { "verified": true, + "need_verification": true, "comment": null, "type": { "id": "cell", @@ -460,6 +461,7 @@ value | string или [object](#value-object) или null | Значение к preferred | boolean | Является ли данный способ связи предпочитаемым (обязательно указать один контакт как предпочитаемый `"preferred": true`, в случае если preferred не передан, считаем, что передано значение `false`). comment | string или null | Комментарий к контакту. verified | boolean или null | Является ли телефон подтвержденным (при указании телефона). +need_verification | boolean или null | Нужно ли подтверждение телефона (при указании телефона). Объект `value` diff --git a/docs/resumes.md b/docs/resumes.md index 4abdd38c..2125087c 100644 --- a/docs/resumes.md +++ b/docs/resumes.md @@ -205,7 +205,8 @@ }, "preferred":true, "comment":"Mobile", - "verified":false + "verified":false, + "need_verification":false }, { "type": { diff --git a/docs_eng/resumes.md b/docs_eng/resumes.md index 3ba557bc..c1f2d40d 100644 --- a/docs_eng/resumes.md +++ b/docs_eng/resumes.md @@ -212,7 +212,8 @@ Server returns `403 Forbidden` if authorization is failed. }, "preferred":true, "comment":"Mobile", - "verified":false + "verified":false, + "need_verification":false }, { "type": { @@ -326,6 +327,7 @@ the response will be registered as viewed. "contact": [ { "verified": true, + "need_verification": true, "comment": null, "type": { "id": "cell", @@ -687,6 +689,7 @@ value | string or [object](#value-object) | Contact value. Phone number: an [obj preferred | boolean | Is this the preferred method of communication (should mention only one preferred contact as `"preferred": true`, if preferred flag is not sent default value for this parameter is `false`). comment | string or null | Comment to the contact. verified | boolean or null | Is the phone number confirmed (when specifying a phone number). +need_verification | boolean or null | Is phone confirmation required (when specifying a phone number). Object `value`