Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion codegen/automation/actions/http/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import FormData from "form-data";
import { URL, URLSearchParams } from 'url';
import * as http from 'http';
import * as https from 'https';
import type { Readable } from 'stream';
import { Observable, from } from '../rxjsStub';

export * from './isomorphic-fetch';
Expand All @@ -26,7 +27,7 @@ export enum HttpMethod {
* Represents an HTTP file which will be transferred from or to a server.
*/
export type HttpFile = {
data: Buffer,
data: Buffer | Readable,
name: string
};

Expand Down
3 changes: 2 additions & 1 deletion codegen/cms/audit_logs/http/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import FormData from "form-data";
import { URL, URLSearchParams } from 'url';
import * as http from 'http';
import * as https from 'https';
import type { Readable } from 'stream';
import { Observable, from } from '../rxjsStub';

export * from './isomorphic-fetch';
Expand All @@ -26,7 +27,7 @@ export enum HttpMethod {
* Represents an HTTP file which will be transferred from or to a server.
*/
export type HttpFile = {
data: Buffer,
data: Buffer | Readable,
name: string
};

Expand Down
3 changes: 2 additions & 1 deletion codegen/cms/blogs/authors/http/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import FormData from "form-data";
import { URL, URLSearchParams } from 'url';
import * as http from 'http';
import * as https from 'https';
import type { Readable } from 'stream';
import { Observable, from } from '../rxjsStub';

export * from './isomorphic-fetch';
Expand All @@ -26,7 +27,7 @@ export enum HttpMethod {
* Represents an HTTP file which will be transferred from or to a server.
*/
export type HttpFile = {
data: Buffer,
data: Buffer | Readable,
name: string
};

Expand Down
3 changes: 2 additions & 1 deletion codegen/cms/blogs/blog_posts/http/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import FormData from "form-data";
import { URL, URLSearchParams } from 'url';
import * as http from 'http';
import * as https from 'https';
import type { Readable } from 'stream';
import { Observable, from } from '../rxjsStub';

export * from './isomorphic-fetch';
Expand All @@ -26,7 +27,7 @@ export enum HttpMethod {
* Represents an HTTP file which will be transferred from or to a server.
*/
export type HttpFile = {
data: Buffer,
data: Buffer | Readable,
name: string
};

Expand Down
3 changes: 2 additions & 1 deletion codegen/cms/blogs/tags/http/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import FormData from "form-data";
import { URL, URLSearchParams } from 'url';
import * as http from 'http';
import * as https from 'https';
import type { Readable } from 'stream';
import { Observable, from } from '../rxjsStub';

export * from './isomorphic-fetch';
Expand All @@ -26,7 +27,7 @@ export enum HttpMethod {
* Represents an HTTP file which will be transferred from or to a server.
*/
export type HttpFile = {
data: Buffer,
data: Buffer | Readable,
name: string
};

Expand Down
3 changes: 2 additions & 1 deletion codegen/cms/domains/http/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import FormData from "form-data";
import { URL, URLSearchParams } from 'url';
import * as http from 'http';
import * as https from 'https';
import type { Readable } from 'stream';
import { Observable, from } from '../rxjsStub';

export * from './isomorphic-fetch';
Expand All @@ -26,7 +27,7 @@ export enum HttpMethod {
* Represents an HTTP file which will be transferred from or to a server.
*/
export type HttpFile = {
data: Buffer,
data: Buffer | Readable,
name: string
};

Expand Down
3 changes: 2 additions & 1 deletion codegen/cms/hubdb/http/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import FormData from "form-data";
import { URL, URLSearchParams } from 'url';
import * as http from 'http';
import * as https from 'https';
import type { Readable } from 'stream';
import { Observable, from } from '../rxjsStub';

export * from './isomorphic-fetch';
Expand All @@ -26,7 +27,7 @@ export enum HttpMethod {
* Represents an HTTP file which will be transferred from or to a server.
*/
export type HttpFile = {
data: Buffer,
data: Buffer | Readable,
name: string
};

Expand Down
3 changes: 2 additions & 1 deletion codegen/cms/pages/http/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import FormData from "form-data";
import { URL, URLSearchParams } from 'url';
import * as http from 'http';
import * as https from 'https';
import type { Readable } from 'stream';
import { Observable, from } from '../rxjsStub';

export * from './isomorphic-fetch';
Expand All @@ -26,7 +27,7 @@ export enum HttpMethod {
* Represents an HTTP file which will be transferred from or to a server.
*/
export type HttpFile = {
data: Buffer,
data: Buffer | Readable,
name: string
};

Expand Down
3 changes: 2 additions & 1 deletion codegen/cms/site_search/http/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import FormData from "form-data";
import { URL, URLSearchParams } from 'url';
import * as http from 'http';
import * as https from 'https';
import type { Readable } from 'stream';
import { Observable, from } from '../rxjsStub';

export * from './isomorphic-fetch';
Expand All @@ -26,7 +27,7 @@ export enum HttpMethod {
* Represents an HTTP file which will be transferred from or to a server.
*/
export type HttpFile = {
data: Buffer,
data: Buffer | Readable,
name: string
};

Expand Down
3 changes: 2 additions & 1 deletion codegen/cms/source_code/http/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import FormData from "form-data";
import { URL, URLSearchParams } from 'url';
import * as http from 'http';
import * as https from 'https';
import type { Readable } from 'stream';
import { Observable, from } from '../rxjsStub';

export * from './isomorphic-fetch';
Expand All @@ -26,7 +27,7 @@ export enum HttpMethod {
* Represents an HTTP file which will be transferred from or to a server.
*/
export type HttpFile = {
data: Buffer,
data: Buffer | Readable,
name: string
};

Expand Down
3 changes: 2 additions & 1 deletion codegen/cms/url_redirects/http/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import FormData from "form-data";
import { URL, URLSearchParams } from 'url';
import * as http from 'http';
import * as https from 'https';
import type { Readable } from 'stream';
import { Observable, from } from '../rxjsStub';

export * from './isomorphic-fetch';
Expand All @@ -26,7 +27,7 @@ export enum HttpMethod {
* Represents an HTTP file which will be transferred from or to a server.
*/
export type HttpFile = {
data: Buffer,
data: Buffer | Readable,
name: string
};

Expand Down
3 changes: 2 additions & 1 deletion codegen/communication_preferences/http/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import FormData from "form-data";
import { URL, URLSearchParams } from 'url';
import * as http from 'http';
import * as https from 'https';
import type { Readable } from 'stream';
import { Observable, from } from '../rxjsStub';

export * from './isomorphic-fetch';
Expand All @@ -26,7 +27,7 @@ export enum HttpMethod {
* Represents an HTTP file which will be transferred from or to a server.
*/
export type HttpFile = {
data: Buffer,
data: Buffer | Readable,
name: string
};

Expand Down
3 changes: 2 additions & 1 deletion codegen/conversations/visitor_identification/http/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import FormData from "form-data";
import { URL, URLSearchParams } from 'url';
import * as http from 'http';
import * as https from 'https';
import type { Readable } from 'stream';
import { Observable, from } from '../rxjsStub';

export * from './isomorphic-fetch';
Expand All @@ -26,7 +27,7 @@ export enum HttpMethod {
* Represents an HTTP file which will be transferred from or to a server.
*/
export type HttpFile = {
data: Buffer,
data: Buffer | Readable,
name: string
};

Expand Down
3 changes: 2 additions & 1 deletion codegen/crm/associations/http/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import FormData from "form-data";
import { URL, URLSearchParams } from 'url';
import * as http from 'http';
import * as https from 'https';
import type { Readable } from 'stream';
import { Observable, from } from '../rxjsStub';

export * from './isomorphic-fetch';
Expand All @@ -26,7 +27,7 @@ export enum HttpMethod {
* Represents an HTTP file which will be transferred from or to a server.
*/
export type HttpFile = {
data: Buffer,
data: Buffer | Readable,
name: string
};

Expand Down
3 changes: 2 additions & 1 deletion codegen/crm/associations/schema/http/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import FormData from "form-data";
import { URL, URLSearchParams } from 'url';
import * as http from 'http';
import * as https from 'https';
import type { Readable } from 'stream';
import { Observable, from } from '../rxjsStub';

export * from './isomorphic-fetch';
Expand All @@ -26,7 +27,7 @@ export enum HttpMethod {
* Represents an HTTP file which will be transferred from or to a server.
*/
export type HttpFile = {
data: Buffer,
data: Buffer | Readable,
name: string
};

Expand Down
3 changes: 2 additions & 1 deletion codegen/crm/associations/v4/http/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import FormData from "form-data";
import { URL, URLSearchParams } from 'url';
import * as http from 'http';
import * as https from 'https';
import type { Readable } from 'stream';
import { Observable, from } from '../rxjsStub';

export * from './isomorphic-fetch';
Expand All @@ -26,7 +27,7 @@ export enum HttpMethod {
* Represents an HTTP file which will be transferred from or to a server.
*/
export type HttpFile = {
data: Buffer,
data: Buffer | Readable,
name: string
};

Expand Down
3 changes: 2 additions & 1 deletion codegen/crm/associations/v4/schema/http/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import FormData from "form-data";
import { URL, URLSearchParams } from 'url';
import * as http from 'http';
import * as https from 'https';
import type { Readable } from 'stream';
import { Observable, from } from '../rxjsStub';

export * from './isomorphic-fetch';
Expand All @@ -26,7 +27,7 @@ export enum HttpMethod {
* Represents an HTTP file which will be transferred from or to a server.
*/
export type HttpFile = {
data: Buffer,
data: Buffer | Readable,
name: string
};

Expand Down
3 changes: 2 additions & 1 deletion codegen/crm/commerce/invoices/http/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import FormData from "form-data";
import { URL, URLSearchParams } from 'url';
import * as http from 'http';
import * as https from 'https';
import type { Readable } from 'stream';
import { Observable, from } from '../rxjsStub';

export * from './isomorphic-fetch';
Expand All @@ -26,7 +27,7 @@ export enum HttpMethod {
* Represents an HTTP file which will be transferred from or to a server.
*/
export type HttpFile = {
data: Buffer,
data: Buffer | Readable,
name: string
};

Expand Down
3 changes: 2 additions & 1 deletion codegen/crm/companies/http/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import FormData from "form-data";
import { URL, URLSearchParams } from 'url';
import * as http from 'http';
import * as https from 'https';
import type { Readable } from 'stream';
import { Observable, from } from '../rxjsStub';

export * from './isomorphic-fetch';
Expand All @@ -26,7 +27,7 @@ export enum HttpMethod {
* Represents an HTTP file which will be transferred from or to a server.
*/
export type HttpFile = {
data: Buffer,
data: Buffer | Readable,
name: string
};

Expand Down
3 changes: 2 additions & 1 deletion codegen/crm/contacts/http/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import FormData from "form-data";
import { URL, URLSearchParams } from 'url';
import * as http from 'http';
import * as https from 'https';
import type { Readable } from 'stream';
import { Observable, from } from '../rxjsStub';

export * from './isomorphic-fetch';
Expand All @@ -26,7 +27,7 @@ export enum HttpMethod {
* Represents an HTTP file which will be transferred from or to a server.
*/
export type HttpFile = {
data: Buffer,
data: Buffer | Readable,
name: string
};

Expand Down
3 changes: 2 additions & 1 deletion codegen/crm/deals/http/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import FormData from "form-data";
import { URL, URLSearchParams } from 'url';
import * as http from 'http';
import * as https from 'https';
import type { Readable } from 'stream';
import { Observable, from } from '../rxjsStub';

export * from './isomorphic-fetch';
Expand All @@ -26,7 +27,7 @@ export enum HttpMethod {
* Represents an HTTP file which will be transferred from or to a server.
*/
export type HttpFile = {
data: Buffer,
data: Buffer | Readable,
name: string
};

Expand Down
3 changes: 2 additions & 1 deletion codegen/crm/exports/http/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import FormData from "form-data";
import { URL, URLSearchParams } from 'url';
import * as http from 'http';
import * as https from 'https';
import type { Readable } from 'stream';
import { Observable, from } from '../rxjsStub';

export * from './isomorphic-fetch';
Expand All @@ -26,7 +27,7 @@ export enum HttpMethod {
* Represents an HTTP file which will be transferred from or to a server.
*/
export type HttpFile = {
data: Buffer,
data: Buffer | Readable,
name: string
};

Expand Down
3 changes: 2 additions & 1 deletion codegen/crm/extensions/calling/http/http.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import FormData from "form-data";
import { URL, URLSearchParams } from 'url';
import * as http from 'http';
import * as https from 'https';
import type { Readable } from 'stream';
import { Observable, from } from '../rxjsStub';

export * from './isomorphic-fetch';
Expand All @@ -26,7 +27,7 @@ export enum HttpMethod {
* Represents an HTTP file which will be transferred from or to a server.
*/
export type HttpFile = {
data: Buffer,
data: Buffer | Readable,
name: string
};

Expand Down
Loading