Skip to content

Commit

Permalink
new model changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sangeet-joy_xero committed Nov 5, 2024
1 parent 6b34964 commit e3195b1
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 90 deletions.
10 changes: 1 addition & 9 deletions src/gen/model/accounting/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
10 changes: 1 addition & 9 deletions src/gen/model/appstore/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
10 changes: 1 addition & 9 deletions src/gen/model/assets/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
10 changes: 1 addition & 9 deletions src/gen/model/bankfeeds/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
10 changes: 1 addition & 9 deletions src/gen/model/files/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
10 changes: 1 addition & 9 deletions src/gen/model/finance/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
10 changes: 1 addition & 9 deletions src/gen/model/payroll-au/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
10 changes: 1 addition & 9 deletions src/gen/model/payroll-nz/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
10 changes: 1 addition & 9 deletions src/gen/model/payroll-uk/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
10 changes: 1 addition & 9 deletions src/gen/model/projects/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit e3195b1

Please sign in to comment.