mirror of
https://github.com/goauthentik/authentik.git
synced 2026-06-17 19:09:11 +03:00
root: fix schema and API clients (#22735)
* regenerate schema Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space> * update ts client Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space> --------- Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
This commit is contained in:
committed by
GitHub
parent
9e75f62c0d
commit
f4e4bfcbe5
@@ -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",
|
||||
|
||||
@@ -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"],
|
||||
};
|
||||
|
||||
@@ -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"],
|
||||
};
|
||||
|
||||
+2
-3
@@ -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"],
|
||||
};
|
||||
|
||||
@@ -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"],
|
||||
};
|
||||
|
||||
+2
-3
@@ -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"],
|
||||
};
|
||||
|
||||
@@ -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"],
|
||||
};
|
||||
|
||||
+2
-3
@@ -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"],
|
||||
};
|
||||
|
||||
@@ -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"],
|
||||
};
|
||||
|
||||
+2
-3
@@ -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"],
|
||||
};
|
||||
|
||||
@@ -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"],
|
||||
};
|
||||
|
||||
+5
-3
@@ -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<GroupSourceConnection, "pk" | "source_obj" | "created" | "last_updated"> | 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"],
|
||||
};
|
||||
|
||||
@@ -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"],
|
||||
};
|
||||
|
||||
@@ -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"],
|
||||
};
|
||||
|
||||
@@ -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"],
|
||||
};
|
||||
|
||||
@@ -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"],
|
||||
};
|
||||
|
||||
@@ -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"],
|
||||
};
|
||||
|
||||
@@ -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"],
|
||||
};
|
||||
|
||||
@@ -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"],
|
||||
};
|
||||
|
||||
@@ -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"],
|
||||
};
|
||||
|
||||
@@ -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"],
|
||||
};
|
||||
|
||||
@@ -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"],
|
||||
};
|
||||
|
||||
@@ -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"],
|
||||
};
|
||||
|
||||
@@ -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"],
|
||||
};
|
||||
|
||||
@@ -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"],
|
||||
|
||||
@@ -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"],
|
||||
|
||||
@@ -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"],
|
||||
};
|
||||
|
||||
@@ -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"],
|
||||
};
|
||||
|
||||
@@ -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"],
|
||||
};
|
||||
|
||||
@@ -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"],
|
||||
};
|
||||
|
||||
@@ -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"],
|
||||
};
|
||||
|
||||
+2
-3
@@ -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"],
|
||||
};
|
||||
|
||||
@@ -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"],
|
||||
};
|
||||
|
||||
+2
-3
@@ -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(),
|
||||
|
||||
@@ -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"],
|
||||
|
||||
+5
-3
@@ -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<UserPlexSourceConnection, "pk" | "source_obj" | "created" | "last_updated"> | 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"],
|
||||
};
|
||||
|
||||
@@ -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"],
|
||||
|
||||
+5
-3
@@ -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<UserSAMLSourceConnection, "pk" | "source_obj" | "created" | "last_updated"> | 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"],
|
||||
};
|
||||
|
||||
@@ -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"],
|
||||
};
|
||||
|
||||
+5
-3
@@ -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<UserSourceConnection, "pk" | "source_obj" | "created" | "last_updated"> | 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"],
|
||||
};
|
||||
|
||||
@@ -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"],
|
||||
};
|
||||
|
||||
@@ -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"],
|
||||
};
|
||||
|
||||
@@ -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"],
|
||||
};
|
||||
|
||||
+14
-84
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user