From ba632e67c3a64a2fa7f91f09ef5021d982362de9 Mon Sep 17 00:00:00 2001 From: LMSPaul <114345821+LMSPaul@users.noreply.github.com> Date: Thu, 4 May 2023 15:13:43 +0200 Subject: [PATCH 1/2] Add verified_type field to User schema This commit adds a new field to the User schema that indicates the type of verification for the Twitter account. The field can take one of four values: blue, business, government, or none. To retrieve the verified_type field in API requests, users should include the user.fields=verified_type parameter in the query string. Signed-off-by: LMSPaul <114345821+LMSPaul@users.noreply.github.com> --- src/gen/openapi-types.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gen/openapi-types.ts b/src/gen/openapi-types.ts index 808906a..1333714 100644 --- a/src/gen/openapi-types.ts +++ b/src/gen/openapi-types.ts @@ -1895,6 +1895,8 @@ export interface components { username: components["schemas"]["UserName"]; /** @description Indicate if this User is a verified Twitter User. */ verified?: boolean; + /** @description Indicates the type of verification for the Twitter account. */ + verified_type?: "blue" | "business" | "government" | "none"; withheld?: components["schemas"]["UserWithheld"]; }; /** @description User compliance data. */ From 8187fb25f6c540fe8d8d2ce3aa2e2b2f0bb339c1 Mon Sep 17 00:00:00 2001 From: LMSPaul <114345821+LMSPaul@users.noreply.github.com> Date: Thu, 4 May 2023 15:39:50 +0200 Subject: [PATCH 2/2] Update openapi-types.ts Signed-off-by: LMSPaul <114345821+LMSPaul@users.noreply.github.com> --- src/gen/openapi-types.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gen/openapi-types.ts b/src/gen/openapi-types.ts index 1333714..143ec5b 100644 --- a/src/gen/openapi-types.ts +++ b/src/gen/openapi-types.ts @@ -2331,6 +2331,7 @@ export interface components { | "url" | "username" | "verified" + | "verified_type" | "withheld" )[]; };