updated openapi generator

This commit is contained in:
vabene1111
2024-09-23 13:57:37 +02:00
parent 7e77e56e7f
commit 12e0c7fd7b
151 changed files with 1274 additions and 1142 deletions

View File

@@ -36,19 +36,19 @@ export interface ConnectorConfigConfig {
* @type {string}
* @memberof ConnectorConfigConfig
*/
url?: string;
url?: string | null;
/**
*
* @type {string}
* @memberof ConnectorConfigConfig
*/
token?: string;
token?: string | null;
/**
*
* @type {string}
* @memberof ConnectorConfigConfig
*/
todoEntity?: string;
todoEntity?: string | null;
/**
* Is Connector Enabled
* @type {boolean}
@@ -90,9 +90,9 @@ export interface ConnectorConfigConfig {
/**
* Check if a given object implements the ConnectorConfigConfig interface.
*/
export function instanceOfConnectorConfigConfig(value: object): boolean {
if (!('name' in value)) return false;
if (!('createdBy' in value)) return false;
export function instanceOfConnectorConfigConfig(value: object): value is ConnectorConfigConfig {
if (!('name' in value) || value['name'] === undefined) return false;
if (!('createdBy' in value) || value['createdBy'] === undefined) return false;
return true;
}
@@ -120,7 +120,7 @@ export function ConnectorConfigConfigFromJSONTyped(json: any, ignoreDiscriminato
};
}
export function ConnectorConfigConfigToJSON(value?: ConnectorConfigConfig | null): any {
export function ConnectorConfigConfigToJSON(value?: Omit<ConnectorConfigConfig, 'created_by'> | null): any {
if (value == null) {
return value;
}