From f4e4bfcbe556fd8448d02c09471f6fc5b2b55e01 Mon Sep 17 00:00:00 2001 From: Marc 'risson' Schmitt Date: Mon, 1 Jun 2026 18:42:06 +0200 Subject: [PATCH] root: fix schema and API clients (#22735) * regenerate schema Signed-off-by: Marc 'risson' Schmitt * update ts client Signed-off-by: Marc 'risson' Schmitt --------- Signed-off-by: Marc 'risson' Schmitt --- blueprints/schema.json | 54 ---------- .../models/GroupKerberosSourceConnection.ts | 5 +- .../GroupKerberosSourceConnectionRequest.ts | 9 -- .../src/models/GroupLDAPSourceConnection.ts | 5 +- .../GroupLDAPSourceConnectionRequest.ts | 9 -- .../src/models/GroupOAuthSourceConnection.ts | 5 +- .../GroupOAuthSourceConnectionRequest.ts | 9 -- .../src/models/GroupPlexSourceConnection.ts | 5 +- .../GroupPlexSourceConnectionRequest.ts | 9 -- .../src/models/GroupSAMLSourceConnection.ts | 5 +- .../GroupSAMLSourceConnectionRequest.ts | 9 -- .../src/models/GroupSourceConnection.ts | 8 +- .../models/GroupSourceConnectionRequest.ts | 9 -- .../models/GroupTelegramSourceConnection.ts | 5 +- .../GroupTelegramSourceConnectionRequest.ts | 9 -- ...hedGroupKerberosSourceConnectionRequest.ts | 8 -- ...PatchedGroupLDAPSourceConnectionRequest.ts | 8 -- ...atchedGroupOAuthSourceConnectionRequest.ts | 8 -- ...PatchedGroupPlexSourceConnectionRequest.ts | 8 -- ...PatchedGroupSAMLSourceConnectionRequest.ts | 8 -- .../PatchedGroupSourceConnectionRequest.ts | 8 -- ...hedGroupTelegramSourceConnectionRequest.ts | 8 -- ...chedUserKerberosSourceConnectionRequest.ts | 8 -- .../PatchedUserLDAPSourceConnectionRequest.ts | 8 -- ...PatchedUserOAuthSourceConnectionRequest.ts | 8 -- .../PatchedUserPlexSourceConnectionRequest.ts | 8 -- .../PatchedUserSAMLSourceConnectionRequest.ts | 8 -- .../PatchedUserSourceConnectionRequest.ts | 8 -- ...chedUserTelegramSourceConnectionRequest.ts | 8 -- .../models/UserKerberosSourceConnection.ts | 5 +- .../UserKerberosSourceConnectionRequest.ts | 9 -- .../src/models/UserLDAPSourceConnection.ts | 5 +- .../models/UserLDAPSourceConnectionRequest.ts | 9 -- .../src/models/UserOAuthSourceConnection.ts | 5 +- .../UserOAuthSourceConnectionRequest.ts | 9 -- .../src/models/UserPlexSourceConnection.ts | 8 +- .../models/UserPlexSourceConnectionRequest.ts | 9 -- .../src/models/UserSAMLSourceConnection.ts | 8 +- .../models/UserSAMLSourceConnectionRequest.ts | 9 -- .../src/models/UserSourceConnection.ts | 8 +- .../src/models/UserSourceConnectionRequest.ts | 9 -- .../models/UserTelegramSourceConnection.ts | 5 +- .../UserTelegramSourceConnectionRequest.ts | 9 -- schema.yml | 98 +++---------------- 44 files changed, 54 insertions(+), 418 deletions(-) diff --git a/blueprints/schema.json b/blueprints/schema.json index 38e266f924..418f243020 100644 --- a/blueprints/schema.json +++ b/blueprints/schema.json @@ -12110,11 +12110,6 @@ "model_authentik_sources_kerberos.groupkerberossourceconnection": { "type": "object", "properties": { - "group": { - "type": "string", - "format": "uuid", - "title": "Group" - }, "source": { "type": "string", "format": "uuid", @@ -12408,10 +12403,6 @@ "model_authentik_sources_kerberos.userkerberossourceconnection": { "type": "object", "properties": { - "user": { - "type": "integer", - "title": "User" - }, "source": { "type": "string", "format": "uuid", @@ -12454,11 +12445,6 @@ "model_authentik_sources_ldap.groupldapsourceconnection": { "type": "object", "properties": { - "group": { - "type": "string", - "format": "uuid", - "title": "Group" - }, "source": { "type": "string", "format": "uuid", @@ -12783,10 +12769,6 @@ "model_authentik_sources_ldap.userldapsourceconnection": { "type": "object", "properties": { - "user": { - "type": "integer", - "title": "User" - }, "source": { "type": "string", "format": "uuid", @@ -12829,11 +12811,6 @@ "model_authentik_sources_oauth.groupoauthsourceconnection": { "type": "object", "properties": { - "group": { - "type": "string", - "format": "uuid", - "title": "Group" - }, "source": { "type": "string", "format": "uuid", @@ -13151,10 +13128,6 @@ "model_authentik_sources_oauth.useroauthsourceconnection": { "type": "object", "properties": { - "user": { - "type": "integer", - "title": "User" - }, "source": { "type": "string", "format": "uuid", @@ -13209,11 +13182,6 @@ "model_authentik_sources_plex.groupplexsourceconnection": { "type": "object", "properties": { - "group": { - "type": "string", - "format": "uuid", - "title": "Group" - }, "source": { "type": "string", "format": "uuid", @@ -13454,10 +13422,6 @@ "model_authentik_sources_plex.userplexsourceconnection": { "type": "object", "properties": { - "user": { - "type": "integer", - "title": "User" - }, "source": { "type": "string", "format": "uuid", @@ -13505,11 +13469,6 @@ "model_authentik_sources_saml.groupsamlsourceconnection": { "type": "object", "properties": { - "group": { - "type": "string", - "format": "uuid", - "title": "Group" - }, "source": { "type": "string", "format": "uuid", @@ -13837,10 +13796,6 @@ "model_authentik_sources_saml.usersamlsourceconnection": { "type": "object", "properties": { - "user": { - "type": "integer", - "title": "User" - }, "source": { "type": "string", "format": "uuid", @@ -14003,11 +13958,6 @@ "model_authentik_sources_telegram.grouptelegramsourceconnection": { "type": "object", "properties": { - "group": { - "type": "string", - "format": "uuid", - "title": "Group" - }, "source": { "type": "string", "format": "uuid", @@ -14234,10 +14184,6 @@ "model_authentik_sources_telegram.usertelegramsourceconnection": { "type": "object", "properties": { - "user": { - "type": "integer", - "title": "User" - }, "source": { "type": "string", "format": "uuid", diff --git a/packages/client-ts/src/models/GroupKerberosSourceConnection.ts b/packages/client-ts/src/models/GroupKerberosSourceConnection.ts index ff0f203aa3..f225d7ad8d 100644 --- a/packages/client-ts/src/models/GroupKerberosSourceConnection.ts +++ b/packages/client-ts/src/models/GroupKerberosSourceConnection.ts @@ -32,7 +32,7 @@ export interface GroupKerberosSourceConnection { * @type {string} * @memberof GroupKerberosSourceConnection */ - group: string; + readonly group: string; /** * * @type {string} @@ -110,7 +110,7 @@ export function GroupKerberosSourceConnectionToJSON(json: any): GroupKerberosSou export function GroupKerberosSourceConnectionToJSONTyped( value?: Omit< GroupKerberosSourceConnection, - "pk" | "source_obj" | "created" | "last_updated" + "pk" | "group" | "source_obj" | "created" | "last_updated" > | null, ignoreDiscriminator: boolean = false, ): any { @@ -119,7 +119,6 @@ export function GroupKerberosSourceConnectionToJSONTyped( } return { - group: value["group"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/GroupKerberosSourceConnectionRequest.ts b/packages/client-ts/src/models/GroupKerberosSourceConnectionRequest.ts index d47767f9d9..fe571fef1f 100644 --- a/packages/client-ts/src/models/GroupKerberosSourceConnectionRequest.ts +++ b/packages/client-ts/src/models/GroupKerberosSourceConnectionRequest.ts @@ -18,12 +18,6 @@ * @interface GroupKerberosSourceConnectionRequest */ export interface GroupKerberosSourceConnectionRequest { - /** - * - * @type {string} - * @memberof GroupKerberosSourceConnectionRequest - */ - group: string; /** * * @type {string} @@ -44,7 +38,6 @@ export interface GroupKerberosSourceConnectionRequest { export function instanceOfGroupKerberosSourceConnectionRequest( value: object, ): value is GroupKerberosSourceConnectionRequest { - if (!("group" in value) || value["group"] === undefined) return false; if (!("source" in value) || value["source"] === undefined) return false; if (!("identifier" in value) || value["identifier"] === undefined) return false; return true; @@ -64,7 +57,6 @@ export function GroupKerberosSourceConnectionRequestFromJSONTyped( return json; } return { - group: json["group"], source: json["source"], identifier: json["identifier"], }; @@ -85,7 +77,6 @@ export function GroupKerberosSourceConnectionRequestToJSONTyped( } return { - group: value["group"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/GroupLDAPSourceConnection.ts b/packages/client-ts/src/models/GroupLDAPSourceConnection.ts index 99de50c331..6212990210 100644 --- a/packages/client-ts/src/models/GroupLDAPSourceConnection.ts +++ b/packages/client-ts/src/models/GroupLDAPSourceConnection.ts @@ -34,7 +34,7 @@ export interface GroupLDAPSourceConnection { * @type {string} * @memberof GroupLDAPSourceConnection */ - group: string; + readonly group: string; /** * * @type {string} @@ -120,7 +120,7 @@ export function GroupLDAPSourceConnectionToJSON(json: any): GroupLDAPSourceConne export function GroupLDAPSourceConnectionToJSONTyped( value?: Omit< GroupLDAPSourceConnection, - "pk" | "source_obj" | "created" | "last_updated" | "group_obj" + "pk" | "group" | "source_obj" | "created" | "last_updated" | "group_obj" > | null, ignoreDiscriminator: boolean = false, ): any { @@ -129,7 +129,6 @@ export function GroupLDAPSourceConnectionToJSONTyped( } return { - group: value["group"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/GroupLDAPSourceConnectionRequest.ts b/packages/client-ts/src/models/GroupLDAPSourceConnectionRequest.ts index a536c86cf5..049250899f 100644 --- a/packages/client-ts/src/models/GroupLDAPSourceConnectionRequest.ts +++ b/packages/client-ts/src/models/GroupLDAPSourceConnectionRequest.ts @@ -18,12 +18,6 @@ * @interface GroupLDAPSourceConnectionRequest */ export interface GroupLDAPSourceConnectionRequest { - /** - * - * @type {string} - * @memberof GroupLDAPSourceConnectionRequest - */ - group: string; /** * * @type {string} @@ -44,7 +38,6 @@ export interface GroupLDAPSourceConnectionRequest { export function instanceOfGroupLDAPSourceConnectionRequest( value: object, ): value is GroupLDAPSourceConnectionRequest { - if (!("group" in value) || value["group"] === undefined) return false; if (!("source" in value) || value["source"] === undefined) return false; if (!("identifier" in value) || value["identifier"] === undefined) return false; return true; @@ -64,7 +57,6 @@ export function GroupLDAPSourceConnectionRequestFromJSONTyped( return json; } return { - group: json["group"], source: json["source"], identifier: json["identifier"], }; @@ -85,7 +77,6 @@ export function GroupLDAPSourceConnectionRequestToJSONTyped( } return { - group: value["group"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/GroupOAuthSourceConnection.ts b/packages/client-ts/src/models/GroupOAuthSourceConnection.ts index 82b46536cf..668cf362e1 100644 --- a/packages/client-ts/src/models/GroupOAuthSourceConnection.ts +++ b/packages/client-ts/src/models/GroupOAuthSourceConnection.ts @@ -32,7 +32,7 @@ export interface GroupOAuthSourceConnection { * @type {string} * @memberof GroupOAuthSourceConnection */ - group: string; + readonly group: string; /** * * @type {string} @@ -110,7 +110,7 @@ export function GroupOAuthSourceConnectionToJSON(json: any): GroupOAuthSourceCon export function GroupOAuthSourceConnectionToJSONTyped( value?: Omit< GroupOAuthSourceConnection, - "pk" | "source_obj" | "created" | "last_updated" + "pk" | "group" | "source_obj" | "created" | "last_updated" > | null, ignoreDiscriminator: boolean = false, ): any { @@ -119,7 +119,6 @@ export function GroupOAuthSourceConnectionToJSONTyped( } return { - group: value["group"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/GroupOAuthSourceConnectionRequest.ts b/packages/client-ts/src/models/GroupOAuthSourceConnectionRequest.ts index 5466684e3b..85bfff4ae0 100644 --- a/packages/client-ts/src/models/GroupOAuthSourceConnectionRequest.ts +++ b/packages/client-ts/src/models/GroupOAuthSourceConnectionRequest.ts @@ -18,12 +18,6 @@ * @interface GroupOAuthSourceConnectionRequest */ export interface GroupOAuthSourceConnectionRequest { - /** - * - * @type {string} - * @memberof GroupOAuthSourceConnectionRequest - */ - group: string; /** * * @type {string} @@ -44,7 +38,6 @@ export interface GroupOAuthSourceConnectionRequest { export function instanceOfGroupOAuthSourceConnectionRequest( value: object, ): value is GroupOAuthSourceConnectionRequest { - if (!("group" in value) || value["group"] === undefined) return false; if (!("source" in value) || value["source"] === undefined) return false; if (!("identifier" in value) || value["identifier"] === undefined) return false; return true; @@ -64,7 +57,6 @@ export function GroupOAuthSourceConnectionRequestFromJSONTyped( return json; } return { - group: json["group"], source: json["source"], identifier: json["identifier"], }; @@ -85,7 +77,6 @@ export function GroupOAuthSourceConnectionRequestToJSONTyped( } return { - group: value["group"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/GroupPlexSourceConnection.ts b/packages/client-ts/src/models/GroupPlexSourceConnection.ts index 79a0c14367..675d548359 100644 --- a/packages/client-ts/src/models/GroupPlexSourceConnection.ts +++ b/packages/client-ts/src/models/GroupPlexSourceConnection.ts @@ -32,7 +32,7 @@ export interface GroupPlexSourceConnection { * @type {string} * @memberof GroupPlexSourceConnection */ - group: string; + readonly group: string; /** * * @type {string} @@ -110,7 +110,7 @@ export function GroupPlexSourceConnectionToJSON(json: any): GroupPlexSourceConne export function GroupPlexSourceConnectionToJSONTyped( value?: Omit< GroupPlexSourceConnection, - "pk" | "source_obj" | "created" | "last_updated" + "pk" | "group" | "source_obj" | "created" | "last_updated" > | null, ignoreDiscriminator: boolean = false, ): any { @@ -119,7 +119,6 @@ export function GroupPlexSourceConnectionToJSONTyped( } return { - group: value["group"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/GroupPlexSourceConnectionRequest.ts b/packages/client-ts/src/models/GroupPlexSourceConnectionRequest.ts index 074395d336..e2fac04e87 100644 --- a/packages/client-ts/src/models/GroupPlexSourceConnectionRequest.ts +++ b/packages/client-ts/src/models/GroupPlexSourceConnectionRequest.ts @@ -18,12 +18,6 @@ * @interface GroupPlexSourceConnectionRequest */ export interface GroupPlexSourceConnectionRequest { - /** - * - * @type {string} - * @memberof GroupPlexSourceConnectionRequest - */ - group: string; /** * * @type {string} @@ -44,7 +38,6 @@ export interface GroupPlexSourceConnectionRequest { export function instanceOfGroupPlexSourceConnectionRequest( value: object, ): value is GroupPlexSourceConnectionRequest { - if (!("group" in value) || value["group"] === undefined) return false; if (!("source" in value) || value["source"] === undefined) return false; if (!("identifier" in value) || value["identifier"] === undefined) return false; return true; @@ -64,7 +57,6 @@ export function GroupPlexSourceConnectionRequestFromJSONTyped( return json; } return { - group: json["group"], source: json["source"], identifier: json["identifier"], }; @@ -85,7 +77,6 @@ export function GroupPlexSourceConnectionRequestToJSONTyped( } return { - group: value["group"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/GroupSAMLSourceConnection.ts b/packages/client-ts/src/models/GroupSAMLSourceConnection.ts index bdf320f677..1d05a23893 100644 --- a/packages/client-ts/src/models/GroupSAMLSourceConnection.ts +++ b/packages/client-ts/src/models/GroupSAMLSourceConnection.ts @@ -32,7 +32,7 @@ export interface GroupSAMLSourceConnection { * @type {string} * @memberof GroupSAMLSourceConnection */ - group: string; + readonly group: string; /** * * @type {string} @@ -110,7 +110,7 @@ export function GroupSAMLSourceConnectionToJSON(json: any): GroupSAMLSourceConne export function GroupSAMLSourceConnectionToJSONTyped( value?: Omit< GroupSAMLSourceConnection, - "pk" | "source_obj" | "created" | "last_updated" + "pk" | "group" | "source_obj" | "created" | "last_updated" > | null, ignoreDiscriminator: boolean = false, ): any { @@ -119,7 +119,6 @@ export function GroupSAMLSourceConnectionToJSONTyped( } return { - group: value["group"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/GroupSAMLSourceConnectionRequest.ts b/packages/client-ts/src/models/GroupSAMLSourceConnectionRequest.ts index 9c4e3307b2..012a18d19e 100644 --- a/packages/client-ts/src/models/GroupSAMLSourceConnectionRequest.ts +++ b/packages/client-ts/src/models/GroupSAMLSourceConnectionRequest.ts @@ -18,12 +18,6 @@ * @interface GroupSAMLSourceConnectionRequest */ export interface GroupSAMLSourceConnectionRequest { - /** - * - * @type {string} - * @memberof GroupSAMLSourceConnectionRequest - */ - group: string; /** * * @type {string} @@ -44,7 +38,6 @@ export interface GroupSAMLSourceConnectionRequest { export function instanceOfGroupSAMLSourceConnectionRequest( value: object, ): value is GroupSAMLSourceConnectionRequest { - if (!("group" in value) || value["group"] === undefined) return false; if (!("source" in value) || value["source"] === undefined) return false; if (!("identifier" in value) || value["identifier"] === undefined) return false; return true; @@ -64,7 +57,6 @@ export function GroupSAMLSourceConnectionRequestFromJSONTyped( return json; } return { - group: json["group"], source: json["source"], identifier: json["identifier"], }; @@ -85,7 +77,6 @@ export function GroupSAMLSourceConnectionRequestToJSONTyped( } return { - group: value["group"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/GroupSourceConnection.ts b/packages/client-ts/src/models/GroupSourceConnection.ts index 79e9036e17..19dfde0c50 100644 --- a/packages/client-ts/src/models/GroupSourceConnection.ts +++ b/packages/client-ts/src/models/GroupSourceConnection.ts @@ -32,7 +32,7 @@ export interface GroupSourceConnection { * @type {string} * @memberof GroupSourceConnection */ - group: string; + readonly group: string; /** * * @type {string} @@ -106,7 +106,10 @@ export function GroupSourceConnectionToJSON(json: any): GroupSourceConnection { } export function GroupSourceConnectionToJSONTyped( - value?: Omit | null, + value?: Omit< + GroupSourceConnection, + "pk" | "group" | "source_obj" | "created" | "last_updated" + > | null, ignoreDiscriminator: boolean = false, ): any { if (value == null) { @@ -114,7 +117,6 @@ export function GroupSourceConnectionToJSONTyped( } return { - group: value["group"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/GroupSourceConnectionRequest.ts b/packages/client-ts/src/models/GroupSourceConnectionRequest.ts index 59d8400e04..2dcf52bbf9 100644 --- a/packages/client-ts/src/models/GroupSourceConnectionRequest.ts +++ b/packages/client-ts/src/models/GroupSourceConnectionRequest.ts @@ -18,12 +18,6 @@ * @interface GroupSourceConnectionRequest */ export interface GroupSourceConnectionRequest { - /** - * - * @type {string} - * @memberof GroupSourceConnectionRequest - */ - group: string; /** * * @type {string} @@ -44,7 +38,6 @@ export interface GroupSourceConnectionRequest { export function instanceOfGroupSourceConnectionRequest( value: object, ): value is GroupSourceConnectionRequest { - if (!("group" in value) || value["group"] === undefined) return false; if (!("source" in value) || value["source"] === undefined) return false; if (!("identifier" in value) || value["identifier"] === undefined) return false; return true; @@ -62,7 +55,6 @@ export function GroupSourceConnectionRequestFromJSONTyped( return json; } return { - group: json["group"], source: json["source"], identifier: json["identifier"], }; @@ -81,7 +73,6 @@ export function GroupSourceConnectionRequestToJSONTyped( } return { - group: value["group"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/GroupTelegramSourceConnection.ts b/packages/client-ts/src/models/GroupTelegramSourceConnection.ts index a93d98c8dd..975437924c 100644 --- a/packages/client-ts/src/models/GroupTelegramSourceConnection.ts +++ b/packages/client-ts/src/models/GroupTelegramSourceConnection.ts @@ -32,7 +32,7 @@ export interface GroupTelegramSourceConnection { * @type {string} * @memberof GroupTelegramSourceConnection */ - group: string; + readonly group: string; /** * * @type {string} @@ -110,7 +110,7 @@ export function GroupTelegramSourceConnectionToJSON(json: any): GroupTelegramSou export function GroupTelegramSourceConnectionToJSONTyped( value?: Omit< GroupTelegramSourceConnection, - "pk" | "source_obj" | "created" | "last_updated" + "pk" | "group" | "source_obj" | "created" | "last_updated" > | null, ignoreDiscriminator: boolean = false, ): any { @@ -119,7 +119,6 @@ export function GroupTelegramSourceConnectionToJSONTyped( } return { - group: value["group"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/GroupTelegramSourceConnectionRequest.ts b/packages/client-ts/src/models/GroupTelegramSourceConnectionRequest.ts index f1f7e36640..446049ba02 100644 --- a/packages/client-ts/src/models/GroupTelegramSourceConnectionRequest.ts +++ b/packages/client-ts/src/models/GroupTelegramSourceConnectionRequest.ts @@ -18,12 +18,6 @@ * @interface GroupTelegramSourceConnectionRequest */ export interface GroupTelegramSourceConnectionRequest { - /** - * - * @type {string} - * @memberof GroupTelegramSourceConnectionRequest - */ - group: string; /** * * @type {string} @@ -44,7 +38,6 @@ export interface GroupTelegramSourceConnectionRequest { export function instanceOfGroupTelegramSourceConnectionRequest( value: object, ): value is GroupTelegramSourceConnectionRequest { - if (!("group" in value) || value["group"] === undefined) return false; if (!("source" in value) || value["source"] === undefined) return false; if (!("identifier" in value) || value["identifier"] === undefined) return false; return true; @@ -64,7 +57,6 @@ export function GroupTelegramSourceConnectionRequestFromJSONTyped( return json; } return { - group: json["group"], source: json["source"], identifier: json["identifier"], }; @@ -85,7 +77,6 @@ export function GroupTelegramSourceConnectionRequestToJSONTyped( } return { - group: value["group"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/PatchedGroupKerberosSourceConnectionRequest.ts b/packages/client-ts/src/models/PatchedGroupKerberosSourceConnectionRequest.ts index 42e27a80e0..592e2d75b7 100644 --- a/packages/client-ts/src/models/PatchedGroupKerberosSourceConnectionRequest.ts +++ b/packages/client-ts/src/models/PatchedGroupKerberosSourceConnectionRequest.ts @@ -18,12 +18,6 @@ * @interface PatchedGroupKerberosSourceConnectionRequest */ export interface PatchedGroupKerberosSourceConnectionRequest { - /** - * - * @type {string} - * @memberof PatchedGroupKerberosSourceConnectionRequest - */ - group?: string; /** * * @type {string} @@ -61,7 +55,6 @@ export function PatchedGroupKerberosSourceConnectionRequestFromJSONTyped( return json; } return { - group: json["group"] == null ? undefined : json["group"], source: json["source"] == null ? undefined : json["source"], identifier: json["identifier"] == null ? undefined : json["identifier"], }; @@ -82,7 +75,6 @@ export function PatchedGroupKerberosSourceConnectionRequestToJSONTyped( } return { - group: value["group"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/PatchedGroupLDAPSourceConnectionRequest.ts b/packages/client-ts/src/models/PatchedGroupLDAPSourceConnectionRequest.ts index 3037cf8671..87940d9c7e 100644 --- a/packages/client-ts/src/models/PatchedGroupLDAPSourceConnectionRequest.ts +++ b/packages/client-ts/src/models/PatchedGroupLDAPSourceConnectionRequest.ts @@ -18,12 +18,6 @@ * @interface PatchedGroupLDAPSourceConnectionRequest */ export interface PatchedGroupLDAPSourceConnectionRequest { - /** - * - * @type {string} - * @memberof PatchedGroupLDAPSourceConnectionRequest - */ - group?: string; /** * * @type {string} @@ -61,7 +55,6 @@ export function PatchedGroupLDAPSourceConnectionRequestFromJSONTyped( return json; } return { - group: json["group"] == null ? undefined : json["group"], source: json["source"] == null ? undefined : json["source"], identifier: json["identifier"] == null ? undefined : json["identifier"], }; @@ -82,7 +75,6 @@ export function PatchedGroupLDAPSourceConnectionRequestToJSONTyped( } return { - group: value["group"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/PatchedGroupOAuthSourceConnectionRequest.ts b/packages/client-ts/src/models/PatchedGroupOAuthSourceConnectionRequest.ts index ad5a85f009..98179da1a4 100644 --- a/packages/client-ts/src/models/PatchedGroupOAuthSourceConnectionRequest.ts +++ b/packages/client-ts/src/models/PatchedGroupOAuthSourceConnectionRequest.ts @@ -18,12 +18,6 @@ * @interface PatchedGroupOAuthSourceConnectionRequest */ export interface PatchedGroupOAuthSourceConnectionRequest { - /** - * - * @type {string} - * @memberof PatchedGroupOAuthSourceConnectionRequest - */ - group?: string; /** * * @type {string} @@ -61,7 +55,6 @@ export function PatchedGroupOAuthSourceConnectionRequestFromJSONTyped( return json; } return { - group: json["group"] == null ? undefined : json["group"], source: json["source"] == null ? undefined : json["source"], identifier: json["identifier"] == null ? undefined : json["identifier"], }; @@ -82,7 +75,6 @@ export function PatchedGroupOAuthSourceConnectionRequestToJSONTyped( } return { - group: value["group"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/PatchedGroupPlexSourceConnectionRequest.ts b/packages/client-ts/src/models/PatchedGroupPlexSourceConnectionRequest.ts index cee02ab145..13b82f7c81 100644 --- a/packages/client-ts/src/models/PatchedGroupPlexSourceConnectionRequest.ts +++ b/packages/client-ts/src/models/PatchedGroupPlexSourceConnectionRequest.ts @@ -18,12 +18,6 @@ * @interface PatchedGroupPlexSourceConnectionRequest */ export interface PatchedGroupPlexSourceConnectionRequest { - /** - * - * @type {string} - * @memberof PatchedGroupPlexSourceConnectionRequest - */ - group?: string; /** * * @type {string} @@ -61,7 +55,6 @@ export function PatchedGroupPlexSourceConnectionRequestFromJSONTyped( return json; } return { - group: json["group"] == null ? undefined : json["group"], source: json["source"] == null ? undefined : json["source"], identifier: json["identifier"] == null ? undefined : json["identifier"], }; @@ -82,7 +75,6 @@ export function PatchedGroupPlexSourceConnectionRequestToJSONTyped( } return { - group: value["group"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/PatchedGroupSAMLSourceConnectionRequest.ts b/packages/client-ts/src/models/PatchedGroupSAMLSourceConnectionRequest.ts index efef55bbb9..8317967da9 100644 --- a/packages/client-ts/src/models/PatchedGroupSAMLSourceConnectionRequest.ts +++ b/packages/client-ts/src/models/PatchedGroupSAMLSourceConnectionRequest.ts @@ -18,12 +18,6 @@ * @interface PatchedGroupSAMLSourceConnectionRequest */ export interface PatchedGroupSAMLSourceConnectionRequest { - /** - * - * @type {string} - * @memberof PatchedGroupSAMLSourceConnectionRequest - */ - group?: string; /** * * @type {string} @@ -61,7 +55,6 @@ export function PatchedGroupSAMLSourceConnectionRequestFromJSONTyped( return json; } return { - group: json["group"] == null ? undefined : json["group"], source: json["source"] == null ? undefined : json["source"], identifier: json["identifier"] == null ? undefined : json["identifier"], }; @@ -82,7 +75,6 @@ export function PatchedGroupSAMLSourceConnectionRequestToJSONTyped( } return { - group: value["group"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/PatchedGroupSourceConnectionRequest.ts b/packages/client-ts/src/models/PatchedGroupSourceConnectionRequest.ts index 847d64f44a..df3d0f6354 100644 --- a/packages/client-ts/src/models/PatchedGroupSourceConnectionRequest.ts +++ b/packages/client-ts/src/models/PatchedGroupSourceConnectionRequest.ts @@ -18,12 +18,6 @@ * @interface PatchedGroupSourceConnectionRequest */ export interface PatchedGroupSourceConnectionRequest { - /** - * - * @type {string} - * @memberof PatchedGroupSourceConnectionRequest - */ - group?: string; /** * * @type {string} @@ -61,7 +55,6 @@ export function PatchedGroupSourceConnectionRequestFromJSONTyped( return json; } return { - group: json["group"] == null ? undefined : json["group"], source: json["source"] == null ? undefined : json["source"], identifier: json["identifier"] == null ? undefined : json["identifier"], }; @@ -82,7 +75,6 @@ export function PatchedGroupSourceConnectionRequestToJSONTyped( } return { - group: value["group"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/PatchedGroupTelegramSourceConnectionRequest.ts b/packages/client-ts/src/models/PatchedGroupTelegramSourceConnectionRequest.ts index 4209668627..4a053ac66f 100644 --- a/packages/client-ts/src/models/PatchedGroupTelegramSourceConnectionRequest.ts +++ b/packages/client-ts/src/models/PatchedGroupTelegramSourceConnectionRequest.ts @@ -18,12 +18,6 @@ * @interface PatchedGroupTelegramSourceConnectionRequest */ export interface PatchedGroupTelegramSourceConnectionRequest { - /** - * - * @type {string} - * @memberof PatchedGroupTelegramSourceConnectionRequest - */ - group?: string; /** * * @type {string} @@ -61,7 +55,6 @@ export function PatchedGroupTelegramSourceConnectionRequestFromJSONTyped( return json; } return { - group: json["group"] == null ? undefined : json["group"], source: json["source"] == null ? undefined : json["source"], identifier: json["identifier"] == null ? undefined : json["identifier"], }; @@ -82,7 +75,6 @@ export function PatchedGroupTelegramSourceConnectionRequestToJSONTyped( } return { - group: value["group"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/PatchedUserKerberosSourceConnectionRequest.ts b/packages/client-ts/src/models/PatchedUserKerberosSourceConnectionRequest.ts index cfda147dfd..f1af76ba79 100644 --- a/packages/client-ts/src/models/PatchedUserKerberosSourceConnectionRequest.ts +++ b/packages/client-ts/src/models/PatchedUserKerberosSourceConnectionRequest.ts @@ -18,12 +18,6 @@ * @interface PatchedUserKerberosSourceConnectionRequest */ export interface PatchedUserKerberosSourceConnectionRequest { - /** - * - * @type {number} - * @memberof PatchedUserKerberosSourceConnectionRequest - */ - user?: number; /** * * @type {string} @@ -61,7 +55,6 @@ export function PatchedUserKerberosSourceConnectionRequestFromJSONTyped( return json; } return { - user: json["user"] == null ? undefined : json["user"], source: json["source"] == null ? undefined : json["source"], identifier: json["identifier"] == null ? undefined : json["identifier"], }; @@ -82,7 +75,6 @@ export function PatchedUserKerberosSourceConnectionRequestToJSONTyped( } return { - user: value["user"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/PatchedUserLDAPSourceConnectionRequest.ts b/packages/client-ts/src/models/PatchedUserLDAPSourceConnectionRequest.ts index 0bd75f8288..9fba46a963 100644 --- a/packages/client-ts/src/models/PatchedUserLDAPSourceConnectionRequest.ts +++ b/packages/client-ts/src/models/PatchedUserLDAPSourceConnectionRequest.ts @@ -18,12 +18,6 @@ * @interface PatchedUserLDAPSourceConnectionRequest */ export interface PatchedUserLDAPSourceConnectionRequest { - /** - * - * @type {number} - * @memberof PatchedUserLDAPSourceConnectionRequest - */ - user?: number; /** * * @type {string} @@ -61,7 +55,6 @@ export function PatchedUserLDAPSourceConnectionRequestFromJSONTyped( return json; } return { - user: json["user"] == null ? undefined : json["user"], source: json["source"] == null ? undefined : json["source"], identifier: json["identifier"] == null ? undefined : json["identifier"], }; @@ -82,7 +75,6 @@ export function PatchedUserLDAPSourceConnectionRequestToJSONTyped( } return { - user: value["user"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/PatchedUserOAuthSourceConnectionRequest.ts b/packages/client-ts/src/models/PatchedUserOAuthSourceConnectionRequest.ts index 66fa769d08..1b9f917bec 100644 --- a/packages/client-ts/src/models/PatchedUserOAuthSourceConnectionRequest.ts +++ b/packages/client-ts/src/models/PatchedUserOAuthSourceConnectionRequest.ts @@ -18,12 +18,6 @@ * @interface PatchedUserOAuthSourceConnectionRequest */ export interface PatchedUserOAuthSourceConnectionRequest { - /** - * - * @type {number} - * @memberof PatchedUserOAuthSourceConnectionRequest - */ - user?: number; /** * * @type {string} @@ -73,7 +67,6 @@ export function PatchedUserOAuthSourceConnectionRequestFromJSONTyped( return json; } return { - user: json["user"] == null ? undefined : json["user"], source: json["source"] == null ? undefined : json["source"], identifier: json["identifier"] == null ? undefined : json["identifier"], accessToken: json["access_token"] == null ? undefined : json["access_token"], @@ -96,7 +89,6 @@ export function PatchedUserOAuthSourceConnectionRequestToJSONTyped( } return { - user: value["user"], source: value["source"], identifier: value["identifier"], access_token: value["accessToken"], diff --git a/packages/client-ts/src/models/PatchedUserPlexSourceConnectionRequest.ts b/packages/client-ts/src/models/PatchedUserPlexSourceConnectionRequest.ts index 825ef3bd0f..6b7ddb2d8e 100644 --- a/packages/client-ts/src/models/PatchedUserPlexSourceConnectionRequest.ts +++ b/packages/client-ts/src/models/PatchedUserPlexSourceConnectionRequest.ts @@ -18,12 +18,6 @@ * @interface PatchedUserPlexSourceConnectionRequest */ export interface PatchedUserPlexSourceConnectionRequest { - /** - * - * @type {number} - * @memberof PatchedUserPlexSourceConnectionRequest - */ - user?: number; /** * * @type {string} @@ -67,7 +61,6 @@ export function PatchedUserPlexSourceConnectionRequestFromJSONTyped( return json; } return { - user: json["user"] == null ? undefined : json["user"], source: json["source"] == null ? undefined : json["source"], identifier: json["identifier"] == null ? undefined : json["identifier"], plexToken: json["plex_token"] == null ? undefined : json["plex_token"], @@ -89,7 +82,6 @@ export function PatchedUserPlexSourceConnectionRequestToJSONTyped( } return { - user: value["user"], source: value["source"], identifier: value["identifier"], plex_token: value["plexToken"], diff --git a/packages/client-ts/src/models/PatchedUserSAMLSourceConnectionRequest.ts b/packages/client-ts/src/models/PatchedUserSAMLSourceConnectionRequest.ts index 850e1cff44..d13ad262da 100644 --- a/packages/client-ts/src/models/PatchedUserSAMLSourceConnectionRequest.ts +++ b/packages/client-ts/src/models/PatchedUserSAMLSourceConnectionRequest.ts @@ -18,12 +18,6 @@ * @interface PatchedUserSAMLSourceConnectionRequest */ export interface PatchedUserSAMLSourceConnectionRequest { - /** - * - * @type {number} - * @memberof PatchedUserSAMLSourceConnectionRequest - */ - user?: number; /** * * @type {string} @@ -61,7 +55,6 @@ export function PatchedUserSAMLSourceConnectionRequestFromJSONTyped( return json; } return { - user: json["user"] == null ? undefined : json["user"], source: json["source"] == null ? undefined : json["source"], identifier: json["identifier"] == null ? undefined : json["identifier"], }; @@ -82,7 +75,6 @@ export function PatchedUserSAMLSourceConnectionRequestToJSONTyped( } return { - user: value["user"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/PatchedUserSourceConnectionRequest.ts b/packages/client-ts/src/models/PatchedUserSourceConnectionRequest.ts index 14a29c64c3..3fb1aff340 100644 --- a/packages/client-ts/src/models/PatchedUserSourceConnectionRequest.ts +++ b/packages/client-ts/src/models/PatchedUserSourceConnectionRequest.ts @@ -18,12 +18,6 @@ * @interface PatchedUserSourceConnectionRequest */ export interface PatchedUserSourceConnectionRequest { - /** - * - * @type {number} - * @memberof PatchedUserSourceConnectionRequest - */ - user?: number; /** * * @type {string} @@ -61,7 +55,6 @@ export function PatchedUserSourceConnectionRequestFromJSONTyped( return json; } return { - user: json["user"] == null ? undefined : json["user"], source: json["source"] == null ? undefined : json["source"], identifier: json["identifier"] == null ? undefined : json["identifier"], }; @@ -82,7 +75,6 @@ export function PatchedUserSourceConnectionRequestToJSONTyped( } return { - user: value["user"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/PatchedUserTelegramSourceConnectionRequest.ts b/packages/client-ts/src/models/PatchedUserTelegramSourceConnectionRequest.ts index 4887dcd16e..c1ea780b9b 100644 --- a/packages/client-ts/src/models/PatchedUserTelegramSourceConnectionRequest.ts +++ b/packages/client-ts/src/models/PatchedUserTelegramSourceConnectionRequest.ts @@ -18,12 +18,6 @@ * @interface PatchedUserTelegramSourceConnectionRequest */ export interface PatchedUserTelegramSourceConnectionRequest { - /** - * - * @type {number} - * @memberof PatchedUserTelegramSourceConnectionRequest - */ - user?: number; /** * * @type {string} @@ -61,7 +55,6 @@ export function PatchedUserTelegramSourceConnectionRequestFromJSONTyped( return json; } return { - user: json["user"] == null ? undefined : json["user"], source: json["source"] == null ? undefined : json["source"], identifier: json["identifier"] == null ? undefined : json["identifier"], }; @@ -82,7 +75,6 @@ export function PatchedUserTelegramSourceConnectionRequestToJSONTyped( } return { - user: value["user"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/UserKerberosSourceConnection.ts b/packages/client-ts/src/models/UserKerberosSourceConnection.ts index dd9103f2cc..a13a72d23b 100644 --- a/packages/client-ts/src/models/UserKerberosSourceConnection.ts +++ b/packages/client-ts/src/models/UserKerberosSourceConnection.ts @@ -32,7 +32,7 @@ export interface UserKerberosSourceConnection { * @type {number} * @memberof UserKerberosSourceConnection */ - user: number; + readonly user: number; /** * * @type {string} @@ -110,7 +110,7 @@ export function UserKerberosSourceConnectionToJSON(json: any): UserKerberosSourc export function UserKerberosSourceConnectionToJSONTyped( value?: Omit< UserKerberosSourceConnection, - "pk" | "source_obj" | "created" | "last_updated" + "pk" | "user" | "source_obj" | "created" | "last_updated" > | null, ignoreDiscriminator: boolean = false, ): any { @@ -119,7 +119,6 @@ export function UserKerberosSourceConnectionToJSONTyped( } return { - user: value["user"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/UserKerberosSourceConnectionRequest.ts b/packages/client-ts/src/models/UserKerberosSourceConnectionRequest.ts index 206c23cc7d..c37b41faa8 100644 --- a/packages/client-ts/src/models/UserKerberosSourceConnectionRequest.ts +++ b/packages/client-ts/src/models/UserKerberosSourceConnectionRequest.ts @@ -18,12 +18,6 @@ * @interface UserKerberosSourceConnectionRequest */ export interface UserKerberosSourceConnectionRequest { - /** - * - * @type {number} - * @memberof UserKerberosSourceConnectionRequest - */ - user: number; /** * * @type {string} @@ -44,7 +38,6 @@ export interface UserKerberosSourceConnectionRequest { export function instanceOfUserKerberosSourceConnectionRequest( value: object, ): value is UserKerberosSourceConnectionRequest { - if (!("user" in value) || value["user"] === undefined) return false; if (!("source" in value) || value["source"] === undefined) return false; if (!("identifier" in value) || value["identifier"] === undefined) return false; return true; @@ -64,7 +57,6 @@ export function UserKerberosSourceConnectionRequestFromJSONTyped( return json; } return { - user: json["user"], source: json["source"], identifier: json["identifier"], }; @@ -85,7 +77,6 @@ export function UserKerberosSourceConnectionRequestToJSONTyped( } return { - user: value["user"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/UserLDAPSourceConnection.ts b/packages/client-ts/src/models/UserLDAPSourceConnection.ts index b9f1e07769..b86bc69591 100644 --- a/packages/client-ts/src/models/UserLDAPSourceConnection.ts +++ b/packages/client-ts/src/models/UserLDAPSourceConnection.ts @@ -34,7 +34,7 @@ export interface UserLDAPSourceConnection { * @type {number} * @memberof UserLDAPSourceConnection */ - user: number; + readonly user: number; /** * * @type {string} @@ -120,7 +120,7 @@ export function UserLDAPSourceConnectionToJSON(json: any): UserLDAPSourceConnect export function UserLDAPSourceConnectionToJSONTyped( value?: Omit< UserLDAPSourceConnection, - "pk" | "source_obj" | "created" | "last_updated" | "user_obj" + "pk" | "user" | "source_obj" | "created" | "last_updated" | "user_obj" > | null, ignoreDiscriminator: boolean = false, ): any { @@ -129,7 +129,6 @@ export function UserLDAPSourceConnectionToJSONTyped( } return { - user: value["user"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/UserLDAPSourceConnectionRequest.ts b/packages/client-ts/src/models/UserLDAPSourceConnectionRequest.ts index 0250f302b6..9eed6372c0 100644 --- a/packages/client-ts/src/models/UserLDAPSourceConnectionRequest.ts +++ b/packages/client-ts/src/models/UserLDAPSourceConnectionRequest.ts @@ -18,12 +18,6 @@ * @interface UserLDAPSourceConnectionRequest */ export interface UserLDAPSourceConnectionRequest { - /** - * - * @type {number} - * @memberof UserLDAPSourceConnectionRequest - */ - user: number; /** * * @type {string} @@ -44,7 +38,6 @@ export interface UserLDAPSourceConnectionRequest { export function instanceOfUserLDAPSourceConnectionRequest( value: object, ): value is UserLDAPSourceConnectionRequest { - if (!("user" in value) || value["user"] === undefined) return false; if (!("source" in value) || value["source"] === undefined) return false; if (!("identifier" in value) || value["identifier"] === undefined) return false; return true; @@ -64,7 +57,6 @@ export function UserLDAPSourceConnectionRequestFromJSONTyped( return json; } return { - user: json["user"], source: json["source"], identifier: json["identifier"], }; @@ -83,7 +75,6 @@ export function UserLDAPSourceConnectionRequestToJSONTyped( } return { - user: value["user"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/UserOAuthSourceConnection.ts b/packages/client-ts/src/models/UserOAuthSourceConnection.ts index b6bf64c953..5dd306294f 100644 --- a/packages/client-ts/src/models/UserOAuthSourceConnection.ts +++ b/packages/client-ts/src/models/UserOAuthSourceConnection.ts @@ -32,7 +32,7 @@ export interface UserOAuthSourceConnection { * @type {number} * @memberof UserOAuthSourceConnection */ - user: number; + readonly user: number; /** * * @type {string} @@ -117,7 +117,7 @@ export function UserOAuthSourceConnectionToJSON(json: any): UserOAuthSourceConne export function UserOAuthSourceConnectionToJSONTyped( value?: Omit< UserOAuthSourceConnection, - "pk" | "source_obj" | "created" | "last_updated" + "pk" | "user" | "source_obj" | "created" | "last_updated" > | null, ignoreDiscriminator: boolean = false, ): any { @@ -126,7 +126,6 @@ export function UserOAuthSourceConnectionToJSONTyped( } return { - user: value["user"], source: value["source"], identifier: value["identifier"], expires: value["expires"] == null ? value["expires"] : value["expires"].toISOString(), diff --git a/packages/client-ts/src/models/UserOAuthSourceConnectionRequest.ts b/packages/client-ts/src/models/UserOAuthSourceConnectionRequest.ts index 76d4353964..91f6e5f4f4 100644 --- a/packages/client-ts/src/models/UserOAuthSourceConnectionRequest.ts +++ b/packages/client-ts/src/models/UserOAuthSourceConnectionRequest.ts @@ -18,12 +18,6 @@ * @interface UserOAuthSourceConnectionRequest */ export interface UserOAuthSourceConnectionRequest { - /** - * - * @type {number} - * @memberof UserOAuthSourceConnectionRequest - */ - user: number; /** * * @type {string} @@ -56,7 +50,6 @@ export interface UserOAuthSourceConnectionRequest { export function instanceOfUserOAuthSourceConnectionRequest( value: object, ): value is UserOAuthSourceConnectionRequest { - if (!("user" in value) || value["user"] === undefined) return false; if (!("source" in value) || value["source"] === undefined) return false; if (!("identifier" in value) || value["identifier"] === undefined) return false; return true; @@ -76,7 +69,6 @@ export function UserOAuthSourceConnectionRequestFromJSONTyped( return json; } return { - user: json["user"], source: json["source"], identifier: json["identifier"], accessToken: json["access_token"] == null ? undefined : json["access_token"], @@ -99,7 +91,6 @@ export function UserOAuthSourceConnectionRequestToJSONTyped( } return { - user: value["user"], source: value["source"], identifier: value["identifier"], access_token: value["accessToken"], diff --git a/packages/client-ts/src/models/UserPlexSourceConnection.ts b/packages/client-ts/src/models/UserPlexSourceConnection.ts index f442cde7ba..058f7807ed 100644 --- a/packages/client-ts/src/models/UserPlexSourceConnection.ts +++ b/packages/client-ts/src/models/UserPlexSourceConnection.ts @@ -32,7 +32,7 @@ export interface UserPlexSourceConnection { * @type {number} * @memberof UserPlexSourceConnection */ - user: number; + readonly user: number; /** * * @type {string} @@ -108,7 +108,10 @@ export function UserPlexSourceConnectionToJSON(json: any): UserPlexSourceConnect } export function UserPlexSourceConnectionToJSONTyped( - value?: Omit | null, + value?: Omit< + UserPlexSourceConnection, + "pk" | "user" | "source_obj" | "created" | "last_updated" + > | null, ignoreDiscriminator: boolean = false, ): any { if (value == null) { @@ -116,7 +119,6 @@ export function UserPlexSourceConnectionToJSONTyped( } return { - user: value["user"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/UserPlexSourceConnectionRequest.ts b/packages/client-ts/src/models/UserPlexSourceConnectionRequest.ts index effcb1f6c6..3217bc2ba4 100644 --- a/packages/client-ts/src/models/UserPlexSourceConnectionRequest.ts +++ b/packages/client-ts/src/models/UserPlexSourceConnectionRequest.ts @@ -18,12 +18,6 @@ * @interface UserPlexSourceConnectionRequest */ export interface UserPlexSourceConnectionRequest { - /** - * - * @type {number} - * @memberof UserPlexSourceConnectionRequest - */ - user: number; /** * * @type {string} @@ -50,7 +44,6 @@ export interface UserPlexSourceConnectionRequest { export function instanceOfUserPlexSourceConnectionRequest( value: object, ): value is UserPlexSourceConnectionRequest { - if (!("user" in value) || value["user"] === undefined) return false; if (!("source" in value) || value["source"] === undefined) return false; if (!("identifier" in value) || value["identifier"] === undefined) return false; if (!("plexToken" in value) || value["plexToken"] === undefined) return false; @@ -71,7 +64,6 @@ export function UserPlexSourceConnectionRequestFromJSONTyped( return json; } return { - user: json["user"], source: json["source"], identifier: json["identifier"], plexToken: json["plex_token"], @@ -91,7 +83,6 @@ export function UserPlexSourceConnectionRequestToJSONTyped( } return { - user: value["user"], source: value["source"], identifier: value["identifier"], plex_token: value["plexToken"], diff --git a/packages/client-ts/src/models/UserSAMLSourceConnection.ts b/packages/client-ts/src/models/UserSAMLSourceConnection.ts index d175056d09..0d535ce80f 100644 --- a/packages/client-ts/src/models/UserSAMLSourceConnection.ts +++ b/packages/client-ts/src/models/UserSAMLSourceConnection.ts @@ -32,7 +32,7 @@ export interface UserSAMLSourceConnection { * @type {number} * @memberof UserSAMLSourceConnection */ - user: number; + readonly user: number; /** * * @type {string} @@ -108,7 +108,10 @@ export function UserSAMLSourceConnectionToJSON(json: any): UserSAMLSourceConnect } export function UserSAMLSourceConnectionToJSONTyped( - value?: Omit | null, + value?: Omit< + UserSAMLSourceConnection, + "pk" | "user" | "source_obj" | "created" | "last_updated" + > | null, ignoreDiscriminator: boolean = false, ): any { if (value == null) { @@ -116,7 +119,6 @@ export function UserSAMLSourceConnectionToJSONTyped( } return { - user: value["user"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/UserSAMLSourceConnectionRequest.ts b/packages/client-ts/src/models/UserSAMLSourceConnectionRequest.ts index 3365b561b6..e6efb31bd6 100644 --- a/packages/client-ts/src/models/UserSAMLSourceConnectionRequest.ts +++ b/packages/client-ts/src/models/UserSAMLSourceConnectionRequest.ts @@ -18,12 +18,6 @@ * @interface UserSAMLSourceConnectionRequest */ export interface UserSAMLSourceConnectionRequest { - /** - * - * @type {number} - * @memberof UserSAMLSourceConnectionRequest - */ - user: number; /** * * @type {string} @@ -44,7 +38,6 @@ export interface UserSAMLSourceConnectionRequest { export function instanceOfUserSAMLSourceConnectionRequest( value: object, ): value is UserSAMLSourceConnectionRequest { - if (!("user" in value) || value["user"] === undefined) return false; if (!("source" in value) || value["source"] === undefined) return false; if (!("identifier" in value) || value["identifier"] === undefined) return false; return true; @@ -64,7 +57,6 @@ export function UserSAMLSourceConnectionRequestFromJSONTyped( return json; } return { - user: json["user"], source: json["source"], identifier: json["identifier"], }; @@ -83,7 +75,6 @@ export function UserSAMLSourceConnectionRequestToJSONTyped( } return { - user: value["user"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/UserSourceConnection.ts b/packages/client-ts/src/models/UserSourceConnection.ts index ba85d6c13d..5ca01f3de7 100644 --- a/packages/client-ts/src/models/UserSourceConnection.ts +++ b/packages/client-ts/src/models/UserSourceConnection.ts @@ -32,7 +32,7 @@ export interface UserSourceConnection { * @type {number} * @memberof UserSourceConnection */ - user: number; + readonly user: number; /** * * @type {string} @@ -106,7 +106,10 @@ export function UserSourceConnectionToJSON(json: any): UserSourceConnection { } export function UserSourceConnectionToJSONTyped( - value?: Omit | null, + value?: Omit< + UserSourceConnection, + "pk" | "user" | "source_obj" | "created" | "last_updated" + > | null, ignoreDiscriminator: boolean = false, ): any { if (value == null) { @@ -114,7 +117,6 @@ export function UserSourceConnectionToJSONTyped( } return { - user: value["user"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/UserSourceConnectionRequest.ts b/packages/client-ts/src/models/UserSourceConnectionRequest.ts index 7b8d668f8b..539923ec20 100644 --- a/packages/client-ts/src/models/UserSourceConnectionRequest.ts +++ b/packages/client-ts/src/models/UserSourceConnectionRequest.ts @@ -18,12 +18,6 @@ * @interface UserSourceConnectionRequest */ export interface UserSourceConnectionRequest { - /** - * - * @type {number} - * @memberof UserSourceConnectionRequest - */ - user: number; /** * * @type {string} @@ -44,7 +38,6 @@ export interface UserSourceConnectionRequest { export function instanceOfUserSourceConnectionRequest( value: object, ): value is UserSourceConnectionRequest { - if (!("user" in value) || value["user"] === undefined) return false; if (!("source" in value) || value["source"] === undefined) return false; if (!("identifier" in value) || value["identifier"] === undefined) return false; return true; @@ -62,7 +55,6 @@ export function UserSourceConnectionRequestFromJSONTyped( return json; } return { - user: json["user"], source: json["source"], identifier: json["identifier"], }; @@ -81,7 +73,6 @@ export function UserSourceConnectionRequestToJSONTyped( } return { - user: value["user"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/UserTelegramSourceConnection.ts b/packages/client-ts/src/models/UserTelegramSourceConnection.ts index c0d46520e2..238df32756 100644 --- a/packages/client-ts/src/models/UserTelegramSourceConnection.ts +++ b/packages/client-ts/src/models/UserTelegramSourceConnection.ts @@ -32,7 +32,7 @@ export interface UserTelegramSourceConnection { * @type {number} * @memberof UserTelegramSourceConnection */ - user: number; + readonly user: number; /** * * @type {string} @@ -110,7 +110,7 @@ export function UserTelegramSourceConnectionToJSON(json: any): UserTelegramSourc export function UserTelegramSourceConnectionToJSONTyped( value?: Omit< UserTelegramSourceConnection, - "pk" | "source_obj" | "created" | "last_updated" + "pk" | "user" | "source_obj" | "created" | "last_updated" > | null, ignoreDiscriminator: boolean = false, ): any { @@ -119,7 +119,6 @@ export function UserTelegramSourceConnectionToJSONTyped( } return { - user: value["user"], source: value["source"], identifier: value["identifier"], }; diff --git a/packages/client-ts/src/models/UserTelegramSourceConnectionRequest.ts b/packages/client-ts/src/models/UserTelegramSourceConnectionRequest.ts index a70f19194a..576c483b88 100644 --- a/packages/client-ts/src/models/UserTelegramSourceConnectionRequest.ts +++ b/packages/client-ts/src/models/UserTelegramSourceConnectionRequest.ts @@ -18,12 +18,6 @@ * @interface UserTelegramSourceConnectionRequest */ export interface UserTelegramSourceConnectionRequest { - /** - * - * @type {number} - * @memberof UserTelegramSourceConnectionRequest - */ - user: number; /** * * @type {string} @@ -44,7 +38,6 @@ export interface UserTelegramSourceConnectionRequest { export function instanceOfUserTelegramSourceConnectionRequest( value: object, ): value is UserTelegramSourceConnectionRequest { - if (!("user" in value) || value["user"] === undefined) return false; if (!("source" in value) || value["source"] === undefined) return false; if (!("identifier" in value) || value["identifier"] === undefined) return false; return true; @@ -64,7 +57,6 @@ export function UserTelegramSourceConnectionRequestFromJSONTyped( return json; } return { - user: json["user"], source: json["source"], identifier: json["identifier"], }; @@ -85,7 +77,6 @@ export function UserTelegramSourceConnectionRequestToJSONTyped( } return { - user: value["user"], source: value["source"], identifier: value["identifier"], }; diff --git a/schema.yml b/schema.yml index 9714bf47c0..e024c64ea8 100644 --- a/schema.yml +++ b/schema.yml @@ -40517,6 +40517,7 @@ components: group: type: string format: uuid + readOnly: true source: type: string format: uuid @@ -40546,9 +40547,6 @@ components: type: object description: Group Source Connection properties: - group: - type: string - format: uuid source: type: string format: uuid @@ -40556,7 +40554,6 @@ components: type: string minLength: 1 required: - - group - identifier - source GroupLDAPSourceConnection: @@ -40570,6 +40567,7 @@ components: group: type: string format: uuid + readOnly: true source: type: string format: uuid @@ -40604,9 +40602,6 @@ components: type: object description: Group Source Connection properties: - group: - type: string - format: uuid source: type: string format: uuid @@ -40614,7 +40609,6 @@ components: type: string minLength: 1 required: - - group - identifier - source GroupMatchingModeEnum: @@ -40634,6 +40628,7 @@ components: group: type: string format: uuid + readOnly: true source: type: string format: uuid @@ -40663,9 +40658,6 @@ components: type: object description: Group Source Connection properties: - group: - type: string - format: uuid source: type: string format: uuid @@ -40673,7 +40665,6 @@ components: type: string minLength: 1 required: - - group - identifier - source GroupPlexSourceConnection: @@ -40687,6 +40678,7 @@ components: group: type: string format: uuid + readOnly: true source: type: string format: uuid @@ -40716,9 +40708,6 @@ components: type: object description: Group Source Connection properties: - group: - type: string - format: uuid source: type: string format: uuid @@ -40726,7 +40715,6 @@ components: type: string minLength: 1 required: - - group - identifier - source GroupRequest: @@ -40769,6 +40757,7 @@ components: group: type: string format: uuid + readOnly: true source: type: string format: uuid @@ -40798,9 +40787,6 @@ components: type: object description: Group Source Connection properties: - group: - type: string - format: uuid source: type: string format: uuid @@ -40808,7 +40794,6 @@ components: type: string minLength: 1 required: - - group - identifier - source GroupSourceConnection: @@ -40822,6 +40807,7 @@ components: group: type: string format: uuid + readOnly: true source: type: string format: uuid @@ -40851,9 +40837,6 @@ components: type: object description: Group Source Connection properties: - group: - type: string - format: uuid source: type: string format: uuid @@ -40861,7 +40844,6 @@ components: type: string minLength: 1 required: - - group - identifier - source GroupTelegramSourceConnection: @@ -40875,6 +40857,7 @@ components: group: type: string format: uuid + readOnly: true source: type: string format: uuid @@ -40904,9 +40887,6 @@ components: type: object description: Group Source Connection properties: - group: - type: string - format: uuid source: type: string format: uuid @@ -40914,7 +40894,6 @@ components: type: string minLength: 1 required: - - group - identifier - source Hardware: @@ -48962,9 +48941,6 @@ components: type: object description: Group Source Connection properties: - group: - type: string - format: uuid source: type: string format: uuid @@ -48975,9 +48951,6 @@ components: type: object description: Group Source Connection properties: - group: - type: string - format: uuid source: type: string format: uuid @@ -48988,9 +48961,6 @@ components: type: object description: Group Source Connection properties: - group: - type: string - format: uuid source: type: string format: uuid @@ -49001,9 +48971,6 @@ components: type: object description: Group Source Connection properties: - group: - type: string - format: uuid source: type: string format: uuid @@ -49041,9 +49008,6 @@ components: type: object description: Group Source Connection properties: - group: - type: string - format: uuid source: type: string format: uuid @@ -49054,9 +49018,6 @@ components: type: object description: Group Source Connection properties: - group: - type: string - format: uuid source: type: string format: uuid @@ -49067,9 +49028,6 @@ components: type: object description: Group Source Connection properties: - group: - type: string - format: uuid source: type: string format: uuid @@ -51443,8 +51401,6 @@ components: type: object description: User source connection properties: - user: - type: integer source: type: string format: uuid @@ -51455,8 +51411,6 @@ components: type: object description: User source connection properties: - user: - type: integer source: type: string format: uuid @@ -51510,8 +51464,6 @@ components: type: object description: User source connection properties: - user: - type: integer source: type: string format: uuid @@ -51529,8 +51481,6 @@ components: type: object description: User source connection properties: - user: - type: integer source: type: string format: uuid @@ -51588,8 +51538,6 @@ components: type: object description: User source connection properties: - user: - type: integer source: type: string format: uuid @@ -51600,8 +51548,6 @@ components: type: object description: User source connection properties: - user: - type: integer source: type: string format: uuid @@ -51612,8 +51558,6 @@ components: type: object description: User source connection properties: - user: - type: integer source: type: string format: uuid @@ -57796,6 +57740,7 @@ components: title: ID user: type: integer + readOnly: true source: type: string format: uuid @@ -57825,8 +57770,6 @@ components: type: object description: User source connection properties: - user: - type: integer source: type: string format: uuid @@ -57836,7 +57779,6 @@ components: required: - identifier - source - - user UserLDAPSourceConnection: type: object description: User source connection @@ -57847,6 +57789,7 @@ components: title: ID user: type: integer + readOnly: true source: type: string format: uuid @@ -57881,8 +57824,6 @@ components: type: object description: User source connection properties: - user: - type: integer source: type: string format: uuid @@ -57892,7 +57833,6 @@ components: required: - identifier - source - - user UserLoginChallenge: type: object description: Empty challenge @@ -58098,6 +58038,7 @@ components: title: ID user: type: integer + readOnly: true source: type: string format: uuid @@ -58130,8 +58071,6 @@ components: type: object description: User source connection properties: - user: - type: integer source: type: string format: uuid @@ -58148,7 +58087,6 @@ components: required: - identifier - source - - user UserPasswordHashSetRequest: type: object description: Payload to set a users' password hash directly @@ -58187,6 +58125,7 @@ components: title: ID user: type: integer + readOnly: true source: type: string format: uuid @@ -58216,8 +58155,6 @@ components: type: object description: User source connection properties: - user: - type: integer source: type: string format: uuid @@ -58232,7 +58169,6 @@ components: - identifier - plex_token - source - - user UserRecoveryEmailRequest: type: object description: Payload to create and email a recovery link @@ -58308,6 +58244,7 @@ components: title: ID user: type: integer + readOnly: true source: type: string format: uuid @@ -58337,8 +58274,6 @@ components: type: object description: User source connection properties: - user: - type: integer source: type: string format: uuid @@ -58348,7 +58283,6 @@ components: required: - identifier - source - - user UserSelf: type: object description: User Serializer for information a user can retrieve about themselves @@ -58511,6 +58445,7 @@ components: title: ID user: type: integer + readOnly: true source: type: string format: uuid @@ -58540,8 +58475,6 @@ components: type: object description: User source connection properties: - user: - type: integer source: type: string format: uuid @@ -58551,7 +58484,6 @@ components: required: - identifier - source - - user UserTelegramSourceConnection: type: object description: User source connection @@ -58562,6 +58494,7 @@ components: title: ID user: type: integer + readOnly: true source: type: string format: uuid @@ -58591,8 +58524,6 @@ components: type: object description: User source connection properties: - user: - type: integer source: type: string format: uuid @@ -58602,7 +58533,6 @@ components: required: - identifier - source - - user UserTypeEnum: enum: - internal