From a68701f68337f2a4ad3e772714fe499059baf117 Mon Sep 17 00:00:00 2001 From: Phrase Date: Fri, 20 Dec 2024 15:01:33 +0000 Subject: [PATCH] Deploying from phrase/openapi@c7670e04 --- .openapi-generator/FILES | 1 - src/models/RepoSyncEvent.ts | 15 +++-------- src/models/RepoSyncEventErrorsInner.ts | 35 -------------------------- src/models/index.ts | 1 - 4 files changed, 4 insertions(+), 48 deletions(-) delete mode 100644 src/models/RepoSyncEventErrorsInner.ts diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 0389ecd..678caaa 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -208,7 +208,6 @@ src/models/ReleaseUpdateParameters1.ts src/models/RepliesListParameters.ts src/models/RepoSync.ts src/models/RepoSyncEvent.ts -src/models/RepoSyncEventErrorsInner.ts src/models/Screenshot.ts src/models/ScreenshotMarker.ts src/models/ScreenshotMarkerCreateParameters.ts diff --git a/src/models/RepoSyncEvent.ts b/src/models/RepoSyncEvent.ts index e5f5dee..febd1a0 100644 --- a/src/models/RepoSyncEvent.ts +++ b/src/models/RepoSyncEvent.ts @@ -12,13 +12,6 @@ */ import { exists, mapValues } from '../runtime'; -import { - RepoSyncEventErrorsInner, - RepoSyncEventErrorsInnerFromJSON, - RepoSyncEventErrorsInnerFromJSONTyped, - RepoSyncEventErrorsInnerToJSON, -} from './'; - /** * * @export @@ -63,10 +56,10 @@ export interface RepoSyncEvent { autoImport?: boolean; /** * List of error messages, in case of failure - * @type {Array} + * @type {Array} * @memberof RepoSyncEvent */ - errors?: Array; + errors?: Array; } export function RepoSyncEventFromJSON(json: any): RepoSyncEvent { @@ -85,7 +78,7 @@ export function RepoSyncEventFromJSONTyped(json: any, ignoreDiscriminator: boole 'status': !exists(json, 'status') ? undefined : json['status'], 'pullRequestUrl': !exists(json, 'pull_request_url') ? undefined : json['pull_request_url'], 'autoImport': !exists(json, 'auto_import') ? undefined : json['auto_import'], - 'errors': !exists(json, 'errors') ? undefined : ((json['errors'] as Array).map(RepoSyncEventErrorsInnerFromJSON)), + 'errors': !exists(json, 'errors') ? undefined : json['errors'], }; } @@ -104,7 +97,7 @@ export function RepoSyncEventToJSON(value?: RepoSyncEvent | null): any { 'status': value.status, 'pull_request_url': value.pullRequestUrl, 'auto_import': value.autoImport, - 'errors': value.errors === undefined ? undefined : ((value.errors as Array).map(RepoSyncEventErrorsInnerToJSON)), + 'errors': value.errors, }; } diff --git a/src/models/RepoSyncEventErrorsInner.ts b/src/models/RepoSyncEventErrorsInner.ts deleted file mode 100644 index fa04c8f..0000000 --- a/src/models/RepoSyncEventErrorsInner.ts +++ /dev/null @@ -1,35 +0,0 @@ -/* tslint:disable */ -/* eslint-disable */ -/** - * Phrase Strings API Reference - * - * The version of the OpenAPI document: 2.0.0 - * Contact: support@phrase.com - * - * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). - * https://openapi-generator.tech - * Do not edit the class manually. - */ - -import { exists, mapValues } from '../runtime'; -/** - * - * @export - * @interface RepoSyncEventErrorsInner - */ -export interface RepoSyncEventErrorsInner { -} - -export function RepoSyncEventErrorsInnerFromJSON(json: any): RepoSyncEventErrorsInner { - return RepoSyncEventErrorsInnerFromJSONTyped(json, false); -} - -export function RepoSyncEventErrorsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): RepoSyncEventErrorsInner { - return json; -} - -export function RepoSyncEventErrorsInnerToJSON(value?: RepoSyncEventErrorsInner | null): any { - return value; -} - - diff --git a/src/models/index.ts b/src/models/index.ts index 68367f3..3801d2a 100644 --- a/src/models/index.ts +++ b/src/models/index.ts @@ -147,7 +147,6 @@ export * from './ReleaseUpdateParameters1'; export * from './RepliesListParameters'; export * from './RepoSync'; export * from './RepoSyncEvent'; -export * from './RepoSyncEventErrorsInner'; export * from './Screenshot'; export * from './ScreenshotMarker'; export * from './ScreenshotMarkerCreateParameters';