mirror of
https://github.com/goauthentik/authentik.git
synced 2026-06-17 19:09:11 +03:00
f4e4bfcbe5
* 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>
82 lines
2.0 KiB
TypeScript
Generated
82 lines
2.0 KiB
TypeScript
Generated
/* tslint:disable */
|
|
/* eslint-disable */
|
|
/**
|
|
* authentik
|
|
* Making authentication simple.
|
|
*
|
|
* The version of the OpenAPI document: 2026.8.0-rc1
|
|
* Contact: hello@goauthentik.io
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
/**
|
|
* User source connection
|
|
* @export
|
|
* @interface PatchedUserSourceConnectionRequest
|
|
*/
|
|
export interface PatchedUserSourceConnectionRequest {
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof PatchedUserSourceConnectionRequest
|
|
*/
|
|
source?: string;
|
|
/**
|
|
*
|
|
* @type {string}
|
|
* @memberof PatchedUserSourceConnectionRequest
|
|
*/
|
|
identifier?: string;
|
|
}
|
|
|
|
/**
|
|
* Check if a given object implements the PatchedUserSourceConnectionRequest interface.
|
|
*/
|
|
export function instanceOfPatchedUserSourceConnectionRequest(
|
|
value: object,
|
|
): value is PatchedUserSourceConnectionRequest {
|
|
return true;
|
|
}
|
|
|
|
export function PatchedUserSourceConnectionRequestFromJSON(
|
|
json: any,
|
|
): PatchedUserSourceConnectionRequest {
|
|
return PatchedUserSourceConnectionRequestFromJSONTyped(json, false);
|
|
}
|
|
|
|
export function PatchedUserSourceConnectionRequestFromJSONTyped(
|
|
json: any,
|
|
ignoreDiscriminator: boolean,
|
|
): PatchedUserSourceConnectionRequest {
|
|
if (json == null) {
|
|
return json;
|
|
}
|
|
return {
|
|
source: json["source"] == null ? undefined : json["source"],
|
|
identifier: json["identifier"] == null ? undefined : json["identifier"],
|
|
};
|
|
}
|
|
|
|
export function PatchedUserSourceConnectionRequestToJSON(
|
|
json: any,
|
|
): PatchedUserSourceConnectionRequest {
|
|
return PatchedUserSourceConnectionRequestToJSONTyped(json, false);
|
|
}
|
|
|
|
export function PatchedUserSourceConnectionRequestToJSONTyped(
|
|
value?: PatchedUserSourceConnectionRequest | null,
|
|
ignoreDiscriminator: boolean = false,
|
|
): any {
|
|
if (value == null) {
|
|
return value;
|
|
}
|
|
|
|
return {
|
|
source: value["source"],
|
|
identifier: value["identifier"],
|
|
};
|
|
}
|