From e3195b14c757ed115cb3bf731bba83ed52901ee5 Mon Sep 17 00:00:00 2001 From: sangeet-joy_xero Date: Tue, 5 Nov 2024 09:26:41 +0530 Subject: [PATCH] new model changes --- src/gen/model/accounting/models.ts | 10 +--------- src/gen/model/appstore/models.ts | 10 +--------- src/gen/model/assets/models.ts | 10 +--------- src/gen/model/bankfeeds/models.ts | 10 +--------- src/gen/model/files/models.ts | 10 +--------- src/gen/model/finance/models.ts | 10 +--------- src/gen/model/payroll-au/models.ts | 10 +--------- src/gen/model/payroll-nz/models.ts | 10 +--------- src/gen/model/payroll-uk/models.ts | 10 +--------- src/gen/model/projects/models.ts | 10 +--------- 10 files changed, 10 insertions(+), 90 deletions(-) diff --git a/src/gen/model/accounting/models.ts b/src/gen/model/accounting/models.ts index 57ffaaea..9db7b137 100644 --- a/src/gen/model/accounting/models.ts +++ b/src/gen/model/accounting/models.ts @@ -275,15 +275,7 @@ import { ValidationError } from '././validationError'; import * as fs from 'fs'; import { Readable } from "stream"; -export interface RequestDetailedFile { - value: Buffer; - options?: { - filename?: string; - contentType?: string; - } -} - -export type RequestFile = string | Buffer | fs.ReadStream | RequestDetailedFile | Readable; +export type RequestFile = Buffer | fs.ReadStream | Readable; /* tslint:disable:no-unused-variable */ let primitives = [ diff --git a/src/gen/model/appstore/models.ts b/src/gen/model/appstore/models.ts index d41df625..9f6d16e2 100644 --- a/src/gen/model/appstore/models.ts +++ b/src/gen/model/appstore/models.ts @@ -23,15 +23,7 @@ import { UsageRecordsList } from '././usageRecordsList'; import * as fs from 'fs'; import { Readable } from "stream"; -export interface RequestDetailedFile { - value: Buffer; - options?: { - filename?: string; - contentType?: string; - } -} - -export type RequestFile = string | Buffer | fs.ReadStream | RequestDetailedFile | Readable; +export type RequestFile = Buffer | fs.ReadStream | Readable; /* tslint:disable:no-unused-variable */ let primitives = [ diff --git a/src/gen/model/assets/models.ts b/src/gen/model/assets/models.ts index 2a397f94..5dfe0b1a 100644 --- a/src/gen/model/assets/models.ts +++ b/src/gen/model/assets/models.ts @@ -27,15 +27,7 @@ import { Setting } from '././setting'; import * as fs from 'fs'; import { Readable } from "stream"; -export interface RequestDetailedFile { - value: Buffer; - options?: { - filename?: string; - contentType?: string; - } -} - -export type RequestFile = string | Buffer | fs.ReadStream | RequestDetailedFile | Readable; +export type RequestFile = Buffer | fs.ReadStream | Readable; /* tslint:disable:no-unused-variable */ let primitives = [ diff --git a/src/gen/model/bankfeeds/models.ts b/src/gen/model/bankfeeds/models.ts index 9877b9dc..c725a02f 100644 --- a/src/gen/model/bankfeeds/models.ts +++ b/src/gen/model/bankfeeds/models.ts @@ -27,15 +27,7 @@ import { Statements } from '././statements'; import * as fs from 'fs'; import { Readable } from "stream"; -export interface RequestDetailedFile { - value: Buffer; - options?: { - filename?: string; - contentType?: string; - } -} - -export type RequestFile = string | Buffer | fs.ReadStream | RequestDetailedFile | Readable; +export type RequestFile = Buffer | fs.ReadStream | Readable; /* tslint:disable:no-unused-variable */ let primitives = [ diff --git a/src/gen/model/files/models.ts b/src/gen/model/files/models.ts index 30b798e7..b871bba2 100644 --- a/src/gen/model/files/models.ts +++ b/src/gen/model/files/models.ts @@ -21,15 +21,7 @@ import { User } from '././user'; import * as fs from 'fs'; import { Readable } from "stream"; -export interface RequestDetailedFile { - value: Buffer; - options?: { - filename?: string; - contentType?: string; - } -} - -export type RequestFile = string | Buffer | fs.ReadStream | RequestDetailedFile | Readable; +export type RequestFile = Buffer | fs.ReadStream | Readable; /* tslint:disable:no-unused-variable */ let primitives = [ diff --git a/src/gen/model/finance/models.ts b/src/gen/model/finance/models.ts index 618da90d..c827e47a 100644 --- a/src/gen/model/finance/models.ts +++ b/src/gen/model/finance/models.ts @@ -111,15 +111,7 @@ import { UserResponse } from '././userResponse'; import * as fs from 'fs'; import { Readable } from "stream"; -export interface RequestDetailedFile { - value: Buffer; - options?: { - filename?: string; - contentType?: string; - } -} - -export type RequestFile = string | Buffer | fs.ReadStream | RequestDetailedFile | Readable; +export type RequestFile = Buffer | fs.ReadStream | Readable; /* tslint:disable:no-unused-variable */ let primitives = [ diff --git a/src/gen/model/payroll-au/models.ts b/src/gen/model/payroll-au/models.ts index e9a98e69..1146ac66 100644 --- a/src/gen/model/payroll-au/models.ts +++ b/src/gen/model/payroll-au/models.ts @@ -179,15 +179,7 @@ import { WorkCondition } from '././workCondition'; import * as fs from 'fs'; import { Readable } from "stream"; -export interface RequestDetailedFile { - value: Buffer; - options?: { - filename?: string; - contentType?: string; - } -} - -export type RequestFile = string | Buffer | fs.ReadStream | RequestDetailedFile | Readable; +export type RequestFile = Buffer | fs.ReadStream | Readable; /* tslint:disable:no-unused-variable */ let primitives = [ diff --git a/src/gen/model/payroll-nz/models.ts b/src/gen/model/payroll-nz/models.ts index 25b7802c..1ebc2d5b 100644 --- a/src/gen/model/payroll-nz/models.ts +++ b/src/gen/model/payroll-nz/models.ts @@ -213,15 +213,7 @@ import { WorkingWeek } from '././workingWeek'; import * as fs from 'fs'; import { Readable } from "stream"; -export interface RequestDetailedFile { - value: Buffer; - options?: { - filename?: string; - contentType?: string; - } -} - -export type RequestFile = string | Buffer | fs.ReadStream | RequestDetailedFile | Readable; +export type RequestFile = Buffer | fs.ReadStream | Readable; /* tslint:disable:no-unused-variable */ let primitives = [ diff --git a/src/gen/model/payroll-uk/models.ts b/src/gen/model/payroll-uk/models.ts index 7f8c2eb1..7c02a47c 100644 --- a/src/gen/model/payroll-uk/models.ts +++ b/src/gen/model/payroll-uk/models.ts @@ -183,15 +183,7 @@ import { TrackingCategory } from '././trackingCategory'; import * as fs from 'fs'; import { Readable } from "stream"; -export interface RequestDetailedFile { - value: Buffer; - options?: { - filename?: string; - contentType?: string; - } -} - -export type RequestFile = string | Buffer | fs.ReadStream | RequestDetailedFile | Readable; +export type RequestFile = Buffer | fs.ReadStream | Readable; /* tslint:disable:no-unused-variable */ let primitives = [ diff --git a/src/gen/model/projects/models.ts b/src/gen/model/projects/models.ts index b7b0b9f6..44ed8647 100644 --- a/src/gen/model/projects/models.ts +++ b/src/gen/model/projects/models.ts @@ -39,15 +39,7 @@ import { TimeEntryCreateOrUpdate } from '././timeEntryCreateOrUpdate'; import * as fs from 'fs'; import { Readable } from "stream"; -export interface RequestDetailedFile { - value: Buffer; - options?: { - filename?: string; - contentType?: string; - } -} - -export type RequestFile = string | Buffer | fs.ReadStream | RequestDetailedFile | Readable; +export type RequestFile = Buffer | fs.ReadStream | Readable; /* tslint:disable:no-unused-variable */ let primitives = [