From 23999cd66c2e5c82dd81c726d025e17a6912dd9e Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Thu, 11 Dec 2025 20:25:27 +0000 Subject: [PATCH] fix: remove Keep-Alive header that causes fetch failures in Node.js/Lambda The Keep-Alive header with default value 'timeout=200' was causing all API requests to fail in Node.js environments (including AWS Lambda) because Node's undici HTTP client rejects this header as invalid. Error: InvalidArgumentError: invalid keep-alive header code: 'UND_ERR_INVALID_ARG' This removes the Keep-Alive header from all API requests and the keepAlive option from the Options and RequestOptions interfaces. Fixes DEVXP-74 Co-Authored-By: christopher.harrison@flatfile.io --- src/Client.ts | 4 ---- src/api/resources/accounts/client/Client.ts | 6 ----- src/api/resources/actions/client/Client.ts | 10 --------- .../resources/agentExports/client/Client.ts | 8 ------- src/api/resources/agents/client/Client.ts | 17 -------------- src/api/resources/analysis/client/Client.ts | 11 ---------- src/api/resources/apps/client/Client.ts | 16 -------------- src/api/resources/assistant/client/Client.ts | 9 -------- src/api/resources/auth/client/Client.ts | 14 ------------ .../resources/canvasAreas/client/Client.ts | 9 -------- src/api/resources/cells/client/Client.ts | 5 ----- src/api/resources/commits/client/Client.ts | 7 ------ src/api/resources/dataClips/client/Client.ts | 14 ------------ .../dataRetentionPolicies/client/Client.ts | 9 -------- src/api/resources/documents/client/Client.ts | 9 -------- .../resources/entitlements/client/Client.ts | 5 ----- .../resources/environments/client/Client.ts | 16 -------------- src/api/resources/events/client/Client.ts | 9 -------- src/api/resources/files/client/Client.ts | 12 ---------- src/api/resources/flags/client/Client.ts | 10 --------- src/api/resources/foreigndb/client/Client.ts | 9 -------- src/api/resources/guests/client/Client.ts | 14 ------------ src/api/resources/jobs/client/Client.ts | 21 ------------------ src/api/resources/mapping/client/Client.ts | 17 -------------- src/api/resources/messages/client/Client.ts | 9 -------- .../onboardingDatapoints/client/Client.ts | 9 -------- .../resources/onboardings/client/Client.ts | 10 --------- src/api/resources/records/client/Client.ts | 11 ---------- src/api/resources/roles/client/Client.ts | 5 ----- src/api/resources/routines/client/Client.ts | 9 -------- src/api/resources/runbooks/client/Client.ts | 9 -------- src/api/resources/secrets/client/Client.ts | 7 ------ src/api/resources/sheets/client/Client.ts | 19 ---------------- src/api/resources/snapshots/client/Client.ts | 10 --------- src/api/resources/spaces/client/Client.ts | 22 ------------------- src/api/resources/threads/client/Client.ts | 9 -------- .../transformations/client/Client.ts | 8 ------- src/api/resources/users/client/Client.ts | 16 -------------- src/api/resources/versions/client/Client.ts | 5 ----- src/api/resources/views/client/Client.ts | 9 -------- src/api/resources/workbooks/client/Client.ts | 11 ---------- src/wrapper/FlatfileClient.ts | 2 +- 42 files changed, 1 insertion(+), 440 deletions(-) diff --git a/src/Client.ts b/src/Client.ts index 997234a3..592c6b43 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -53,8 +53,6 @@ export declare namespace FlatfileClient { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -67,8 +65,6 @@ export declare namespace FlatfileClient { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } diff --git a/src/api/resources/accounts/client/Client.ts b/src/api/resources/accounts/client/Client.ts index 22d0648e..9486c323 100644 --- a/src/api/resources/accounts/client/Client.ts +++ b/src/api/resources/accounts/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Accounts { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Accounts { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -67,7 +63,6 @@ export class Accounts { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -154,7 +149,6 @@ export class Accounts { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/actions/client/Client.ts b/src/api/resources/actions/client/Client.ts index 251d2959..2a1f26f0 100644 --- a/src/api/resources/actions/client/Client.ts +++ b/src/api/resources/actions/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Actions { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Actions { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -79,7 +75,6 @@ export class Actions { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -175,7 +170,6 @@ export class Actions { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -264,7 +258,6 @@ export class Actions { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -347,7 +340,6 @@ export class Actions { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -432,7 +424,6 @@ export class Actions { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -515,7 +506,6 @@ export class Actions { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/agentExports/client/Client.ts b/src/api/resources/agentExports/client/Client.ts index cc7b9d56..5ace8724 100644 --- a/src/api/resources/agentExports/client/Client.ts +++ b/src/api/resources/agentExports/client/Client.ts @@ -18,8 +18,6 @@ export declare namespace AgentExports { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -32,8 +30,6 @@ export declare namespace AgentExports { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -89,7 +85,6 @@ export class AgentExports { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -172,7 +167,6 @@ export class AgentExports { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -249,7 +243,6 @@ export class AgentExports { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -325,7 +318,6 @@ export class AgentExports { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/agents/client/Client.ts b/src/api/resources/agents/client/Client.ts index 09020b76..58d8a1ea 100644 --- a/src/api/resources/agents/client/Client.ts +++ b/src/api/resources/agents/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Agents { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Agents { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -93,7 +89,6 @@ export class Agents { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -189,7 +184,6 @@ export class Agents { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -301,7 +295,6 @@ export class Agents { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -412,7 +405,6 @@ export class Agents { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -525,7 +517,6 @@ export class Agents { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -640,7 +631,6 @@ export class Agents { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -770,7 +760,6 @@ export class Agents { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -898,7 +887,6 @@ export class Agents { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1029,7 +1017,6 @@ export class Agents { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1148,7 +1135,6 @@ export class Agents { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1284,7 +1270,6 @@ export class Agents { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1425,7 +1410,6 @@ export class Agents { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1547,7 +1531,6 @@ export class Agents { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/analysis/client/Client.ts b/src/api/resources/analysis/client/Client.ts index 6051b924..2a08b98f 100644 --- a/src/api/resources/analysis/client/Client.ts +++ b/src/api/resources/analysis/client/Client.ts @@ -18,8 +18,6 @@ export declare namespace Analysis { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -32,8 +30,6 @@ export declare namespace Analysis { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -84,7 +80,6 @@ export class Analysis { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -183,7 +178,6 @@ export class Analysis { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -274,7 +268,6 @@ export class Analysis { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -365,7 +358,6 @@ export class Analysis { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -453,7 +445,6 @@ export class Analysis { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -552,7 +543,6 @@ export class Analysis { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -651,7 +641,6 @@ export class Analysis { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/apps/client/Client.ts b/src/api/resources/apps/client/Client.ts index d27b6d5d..dd7720d7 100644 --- a/src/api/resources/apps/client/Client.ts +++ b/src/api/resources/apps/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Apps { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Apps { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -65,7 +61,6 @@ export class Apps { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -149,7 +144,6 @@ export class Apps { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -245,7 +239,6 @@ export class Apps { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -340,7 +333,6 @@ export class Apps { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -425,7 +417,6 @@ export class Apps { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -518,7 +509,6 @@ export class Apps { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -606,7 +596,6 @@ export class Apps { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -694,7 +683,6 @@ export class Apps { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -783,7 +771,6 @@ export class Apps { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -877,7 +864,6 @@ export class Apps { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -971,7 +957,6 @@ export class Apps { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1061,7 +1046,6 @@ export class Apps { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/assistant/client/Client.ts b/src/api/resources/assistant/client/Client.ts index 7251ed5a..9a7fabfe 100644 --- a/src/api/resources/assistant/client/Client.ts +++ b/src/api/resources/assistant/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Assistant { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Assistant { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -88,7 +84,6 @@ export class Assistant { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -173,7 +168,6 @@ export class Assistant { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -262,7 +256,6 @@ export class Assistant { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -351,7 +344,6 @@ export class Assistant { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -436,7 +428,6 @@ export class Assistant { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/auth/client/Client.ts b/src/api/resources/auth/client/Client.ts index 35cdf24a..db44e506 100644 --- a/src/api/resources/auth/client/Client.ts +++ b/src/api/resources/auth/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Auth { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Auth { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -79,7 +75,6 @@ export class Auth { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -195,7 +190,6 @@ export class Auth { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -311,7 +305,6 @@ export class Auth { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -429,7 +422,6 @@ export class Auth { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -547,7 +539,6 @@ export class Auth { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -658,7 +649,6 @@ export class Auth { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -774,7 +764,6 @@ export class Auth { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -884,7 +873,6 @@ export class Auth { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -999,7 +987,6 @@ export class Auth { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1110,7 +1097,6 @@ export class Auth { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/canvasAreas/client/Client.ts b/src/api/resources/canvasAreas/client/Client.ts index 94b86f8b..086bb6a0 100644 --- a/src/api/resources/canvasAreas/client/Client.ts +++ b/src/api/resources/canvasAreas/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace CanvasAreas { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace CanvasAreas { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -100,7 +96,6 @@ export class CanvasAreas { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -205,7 +200,6 @@ export class CanvasAreas { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -307,7 +301,6 @@ export class CanvasAreas { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -424,7 +417,6 @@ export class CanvasAreas { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -539,7 +531,6 @@ export class CanvasAreas { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/cells/client/Client.ts b/src/api/resources/cells/client/Client.ts index db2fd9c4..c237d48b 100644 --- a/src/api/resources/cells/client/Client.ts +++ b/src/api/resources/cells/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Cells { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Cells { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -135,7 +131,6 @@ export class Cells { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/commits/client/Client.ts b/src/api/resources/commits/client/Client.ts index c6cbb1b6..0181b283 100644 --- a/src/api/resources/commits/client/Client.ts +++ b/src/api/resources/commits/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Commits { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Commits { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -75,7 +71,6 @@ export class Commits { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -187,7 +182,6 @@ export class Commits { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -301,7 +295,6 @@ export class Commits { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/dataClips/client/Client.ts b/src/api/resources/dataClips/client/Client.ts index 9c72e1f7..5b61272e 100644 --- a/src/api/resources/dataClips/client/Client.ts +++ b/src/api/resources/dataClips/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace DataClips { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace DataClips { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -78,7 +74,6 @@ export class DataClips { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -191,7 +186,6 @@ export class DataClips { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -274,7 +268,6 @@ export class DataClips { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -356,7 +349,6 @@ export class DataClips { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -448,7 +440,6 @@ export class DataClips { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -575,7 +566,6 @@ export class DataClips { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -715,7 +705,6 @@ export class DataClips { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -842,7 +831,6 @@ export class DataClips { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -966,7 +954,6 @@ export class DataClips { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1079,7 +1066,6 @@ export class DataClips { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/dataRetentionPolicies/client/Client.ts b/src/api/resources/dataRetentionPolicies/client/Client.ts index 1a2ab127..022303e2 100644 --- a/src/api/resources/dataRetentionPolicies/client/Client.ts +++ b/src/api/resources/dataRetentionPolicies/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace DataRetentionPolicies { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace DataRetentionPolicies { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -83,7 +79,6 @@ export class DataRetentionPolicies { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -200,7 +195,6 @@ export class DataRetentionPolicies { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -313,7 +307,6 @@ export class DataRetentionPolicies { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -434,7 +427,6 @@ export class DataRetentionPolicies { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -549,7 +541,6 @@ export class DataRetentionPolicies { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/documents/client/Client.ts b/src/api/resources/documents/client/Client.ts index 45f4c260..d9a9319f 100644 --- a/src/api/resources/documents/client/Client.ts +++ b/src/api/resources/documents/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Documents { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Documents { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -75,7 +71,6 @@ export class Documents { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -200,7 +195,6 @@ export class Documents { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -318,7 +312,6 @@ export class Documents { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -441,7 +434,6 @@ export class Documents { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -559,7 +551,6 @@ export class Documents { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/entitlements/client/Client.ts b/src/api/resources/entitlements/client/Client.ts index 40662292..37f7282d 100644 --- a/src/api/resources/entitlements/client/Client.ts +++ b/src/api/resources/entitlements/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Entitlements { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Entitlements { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -80,7 +76,6 @@ export class Entitlements { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/environments/client/Client.ts b/src/api/resources/environments/client/Client.ts index 85dfeb0b..85954421 100644 --- a/src/api/resources/environments/client/Client.ts +++ b/src/api/resources/environments/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Environments { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Environments { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -82,7 +78,6 @@ export class Environments { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -175,7 +170,6 @@ export class Environments { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -268,7 +262,6 @@ export class Environments { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -383,7 +376,6 @@ export class Environments { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -505,7 +497,6 @@ export class Environments { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -595,7 +586,6 @@ export class Environments { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -709,7 +699,6 @@ export class Environments { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -826,7 +815,6 @@ export class Environments { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -956,7 +944,6 @@ export class Environments { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1083,7 +1070,6 @@ export class Environments { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1201,7 +1187,6 @@ export class Environments { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1323,7 +1308,6 @@ export class Environments { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/events/client/Client.ts b/src/api/resources/events/client/Client.ts index e88010a2..87ddecb9 100644 --- a/src/api/resources/events/client/Client.ts +++ b/src/api/resources/events/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Events { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Events { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -106,7 +102,6 @@ export class Events { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -205,7 +200,6 @@ export class Events { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -313,7 +307,6 @@ export class Events { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -395,7 +388,6 @@ export class Events { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -492,7 +484,6 @@ export class Events { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/files/client/Client.ts b/src/api/resources/files/client/Client.ts index 3b5b147f..7743ede1 100644 --- a/src/api/resources/files/client/Client.ts +++ b/src/api/resources/files/client/Client.ts @@ -21,8 +21,6 @@ export declare namespace Files { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -35,8 +33,6 @@ export declare namespace Files { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -92,7 +88,6 @@ export class Files { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -208,7 +203,6 @@ export class Files { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -306,7 +300,6 @@ export class Files { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -413,7 +406,6 @@ export class Files { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -530,7 +522,6 @@ export class Files { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -635,7 +626,6 @@ export class Files { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -742,7 +732,6 @@ export class Files { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -858,7 +847,6 @@ export class Files { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/flags/client/Client.ts b/src/api/resources/flags/client/Client.ts index 74e3e6f1..8264d6b8 100644 --- a/src/api/resources/flags/client/Client.ts +++ b/src/api/resources/flags/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Flags { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Flags { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -79,7 +75,6 @@ export class Flags { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -166,7 +161,6 @@ export class Flags { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -255,7 +249,6 @@ export class Flags { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -350,7 +343,6 @@ export class Flags { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -440,7 +432,6 @@ export class Flags { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -544,7 +535,6 @@ export class Flags { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/foreigndb/client/Client.ts b/src/api/resources/foreigndb/client/Client.ts index 5537e669..196141ac 100644 --- a/src/api/resources/foreigndb/client/Client.ts +++ b/src/api/resources/foreigndb/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Foreigndb { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Foreigndb { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -80,7 +76,6 @@ export class Foreigndb { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -193,7 +188,6 @@ export class Foreigndb { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -307,7 +301,6 @@ export class Foreigndb { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -419,7 +412,6 @@ export class Foreigndb { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -536,7 +528,6 @@ export class Foreigndb { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/guests/client/Client.ts b/src/api/resources/guests/client/Client.ts index 180d2e9f..6e1af112 100644 --- a/src/api/resources/guests/client/Client.ts +++ b/src/api/resources/guests/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Guests { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Guests { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -81,7 +77,6 @@ export class Guests { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -180,7 +175,6 @@ export class Guests { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -265,7 +259,6 @@ export class Guests { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -363,7 +356,6 @@ export class Guests { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -454,7 +446,6 @@ export class Guests { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -548,7 +539,6 @@ export class Guests { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -637,7 +627,6 @@ export class Guests { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -767,7 +756,6 @@ export class Guests { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -895,7 +883,6 @@ export class Guests { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1022,7 +1009,6 @@ export class Guests { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/jobs/client/Client.ts b/src/api/resources/jobs/client/Client.ts index bac95669..76bbc155 100644 --- a/src/api/resources/jobs/client/Client.ts +++ b/src/api/resources/jobs/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Jobs { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Jobs { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -128,7 +124,6 @@ export class Jobs { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -215,7 +210,6 @@ export class Jobs { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -298,7 +292,6 @@ export class Jobs { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -387,7 +380,6 @@ export class Jobs { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -470,7 +462,6 @@ export class Jobs { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -551,7 +542,6 @@ export class Jobs { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -635,7 +625,6 @@ export class Jobs { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -759,7 +748,6 @@ export class Jobs { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -850,7 +838,6 @@ export class Jobs { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -942,7 +929,6 @@ export class Jobs { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1030,7 +1016,6 @@ export class Jobs { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1129,7 +1114,6 @@ export class Jobs { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1232,7 +1216,6 @@ export class Jobs { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1325,7 +1308,6 @@ export class Jobs { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1413,7 +1395,6 @@ export class Jobs { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1500,7 +1481,6 @@ export class Jobs { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1591,7 +1571,6 @@ export class Jobs { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/mapping/client/Client.ts b/src/api/resources/mapping/client/Client.ts index 9d4a3bfc..f80b463a 100644 --- a/src/api/resources/mapping/client/Client.ts +++ b/src/api/resources/mapping/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Mapping { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Mapping { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -104,7 +100,6 @@ export class Mapping { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -218,7 +213,6 @@ export class Mapping { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -388,7 +382,6 @@ export class Mapping { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -490,7 +483,6 @@ export class Mapping { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -626,7 +618,6 @@ export class Mapping { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -739,7 +730,6 @@ export class Mapping { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -860,7 +850,6 @@ export class Mapping { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -978,7 +967,6 @@ export class Mapping { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1093,7 +1081,6 @@ export class Mapping { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1208,7 +1195,6 @@ export class Mapping { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1333,7 +1319,6 @@ export class Mapping { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1463,7 +1448,6 @@ export class Mapping { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1581,7 +1565,6 @@ export class Mapping { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/messages/client/Client.ts b/src/api/resources/messages/client/Client.ts index 915a7869..a3d6dc51 100644 --- a/src/api/resources/messages/client/Client.ts +++ b/src/api/resources/messages/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Messages { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Messages { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -86,7 +82,6 @@ export class Messages { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -212,7 +207,6 @@ export class Messages { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -329,7 +323,6 @@ export class Messages { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -450,7 +443,6 @@ export class Messages { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -579,7 +571,6 @@ export class Messages { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/onboardingDatapoints/client/Client.ts b/src/api/resources/onboardingDatapoints/client/Client.ts index 60e688d8..6dae9fae 100644 --- a/src/api/resources/onboardingDatapoints/client/Client.ts +++ b/src/api/resources/onboardingDatapoints/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace OnboardingDatapoints { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace OnboardingDatapoints { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -86,7 +82,6 @@ export class OnboardingDatapoints { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -212,7 +207,6 @@ export class OnboardingDatapoints { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -331,7 +325,6 @@ export class OnboardingDatapoints { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -454,7 +447,6 @@ export class OnboardingDatapoints { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -585,7 +577,6 @@ export class OnboardingDatapoints { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/onboardings/client/Client.ts b/src/api/resources/onboardings/client/Client.ts index 0a69fe9e..fd6e7794 100644 --- a/src/api/resources/onboardings/client/Client.ts +++ b/src/api/resources/onboardings/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Onboardings { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Onboardings { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -78,7 +74,6 @@ export class Onboardings { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -208,7 +203,6 @@ export class Onboardings { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -321,7 +315,6 @@ export class Onboardings { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -433,7 +426,6 @@ export class Onboardings { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -555,7 +547,6 @@ export class Onboardings { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -682,7 +673,6 @@ export class Onboardings { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/records/client/Client.ts b/src/api/resources/records/client/Client.ts index 66828454..06490469 100644 --- a/src/api/resources/records/client/Client.ts +++ b/src/api/resources/records/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Records { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Records { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -193,7 +189,6 @@ export class Records { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -370,7 +365,6 @@ export class Records { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -512,7 +506,6 @@ export class Records { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -644,7 +637,6 @@ export class Records { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -772,7 +764,6 @@ export class Records { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -921,7 +912,6 @@ export class Records { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1068,7 +1058,6 @@ export class Records { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/roles/client/Client.ts b/src/api/resources/roles/client/Client.ts index 3fe8ec02..05878499 100644 --- a/src/api/resources/roles/client/Client.ts +++ b/src/api/resources/roles/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Roles { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Roles { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -67,7 +63,6 @@ export class Roles { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/routines/client/Client.ts b/src/api/resources/routines/client/Client.ts index 4f62a25a..98be7313 100644 --- a/src/api/resources/routines/client/Client.ts +++ b/src/api/resources/routines/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Routines { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Routines { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -80,7 +76,6 @@ export class Routines { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -190,7 +185,6 @@ export class Routines { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -287,7 +281,6 @@ export class Routines { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -412,7 +405,6 @@ export class Routines { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -525,7 +517,6 @@ export class Routines { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/runbooks/client/Client.ts b/src/api/resources/runbooks/client/Client.ts index 60cdb8b8..17d94d83 100644 --- a/src/api/resources/runbooks/client/Client.ts +++ b/src/api/resources/runbooks/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Runbooks { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Runbooks { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -89,7 +85,6 @@ export class Runbooks { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -199,7 +194,6 @@ export class Runbooks { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -298,7 +292,6 @@ export class Runbooks { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -416,7 +409,6 @@ export class Runbooks { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -529,7 +521,6 @@ export class Runbooks { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/secrets/client/Client.ts b/src/api/resources/secrets/client/Client.ts index 1ac01ac4..1cf143f5 100644 --- a/src/api/resources/secrets/client/Client.ts +++ b/src/api/resources/secrets/client/Client.ts @@ -18,8 +18,6 @@ export declare namespace Secrets { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -32,8 +30,6 @@ export declare namespace Secrets { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -95,7 +91,6 @@ export class Secrets { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -214,7 +209,6 @@ export class Secrets { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -327,7 +321,6 @@ export class Secrets { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/sheets/client/Client.ts b/src/api/resources/sheets/client/Client.ts index 787b59e1..37d8ad18 100644 --- a/src/api/resources/sheets/client/Client.ts +++ b/src/api/resources/sheets/client/Client.ts @@ -18,8 +18,6 @@ export declare namespace Sheets { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -32,8 +30,6 @@ export declare namespace Sheets { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -78,7 +74,6 @@ export class Sheets { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -163,7 +158,6 @@ export class Sheets { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -250,7 +244,6 @@ export class Sheets { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -368,7 +361,6 @@ export class Sheets { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -483,7 +475,6 @@ export class Sheets { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -654,7 +645,6 @@ export class Sheets { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -789,7 +779,6 @@ export class Sheets { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -932,7 +921,6 @@ export class Sheets { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1050,7 +1038,6 @@ export class Sheets { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1167,7 +1154,6 @@ export class Sheets { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1287,7 +1273,6 @@ export class Sheets { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1375,7 +1360,6 @@ export class Sheets { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1487,7 +1471,6 @@ export class Sheets { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1662,7 +1645,6 @@ export class Sheets { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1760,7 +1742,6 @@ export class Sheets { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/snapshots/client/Client.ts b/src/api/resources/snapshots/client/Client.ts index b263ea69..ad56f27c 100644 --- a/src/api/resources/snapshots/client/Client.ts +++ b/src/api/resources/snapshots/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Snapshots { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Snapshots { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -78,7 +74,6 @@ export class Snapshots { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -200,7 +195,6 @@ export class Snapshots { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -321,7 +315,6 @@ export class Snapshots { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -434,7 +427,6 @@ export class Snapshots { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -553,7 +545,6 @@ export class Snapshots { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -696,7 +687,6 @@ export class Snapshots { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/spaces/client/Client.ts b/src/api/resources/spaces/client/Client.ts index 43556702..b70ceb32 100644 --- a/src/api/resources/spaces/client/Client.ts +++ b/src/api/resources/spaces/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Spaces { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Spaces { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -143,7 +139,6 @@ export class Spaces { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -250,7 +245,6 @@ export class Spaces { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -363,7 +357,6 @@ export class Spaces { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -475,7 +468,6 @@ export class Spaces { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -599,7 +591,6 @@ export class Spaces { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -717,7 +708,6 @@ export class Spaces { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -830,7 +820,6 @@ export class Spaces { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -942,7 +931,6 @@ export class Spaces { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1059,7 +1047,6 @@ export class Spaces { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1184,7 +1171,6 @@ export class Spaces { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1320,7 +1306,6 @@ export class Spaces { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1459,7 +1444,6 @@ export class Spaces { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1601,7 +1585,6 @@ export class Spaces { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1731,7 +1714,6 @@ export class Spaces { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1856,7 +1838,6 @@ export class Spaces { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1968,7 +1949,6 @@ export class Spaces { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -2083,7 +2063,6 @@ export class Spaces { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -2200,7 +2179,6 @@ export class Spaces { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/threads/client/Client.ts b/src/api/resources/threads/client/Client.ts index 998690ff..30580101 100644 --- a/src/api/resources/threads/client/Client.ts +++ b/src/api/resources/threads/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Threads { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Threads { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -78,7 +74,6 @@ export class Threads { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -201,7 +196,6 @@ export class Threads { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -314,7 +308,6 @@ export class Threads { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -430,7 +423,6 @@ export class Threads { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -554,7 +546,6 @@ export class Threads { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/transformations/client/Client.ts b/src/api/resources/transformations/client/Client.ts index 4b951e1a..686a7376 100644 --- a/src/api/resources/transformations/client/Client.ts +++ b/src/api/resources/transformations/client/Client.ts @@ -18,8 +18,6 @@ export declare namespace Transformations { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -32,8 +30,6 @@ export declare namespace Transformations { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -90,7 +86,6 @@ export class Transformations { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -187,7 +182,6 @@ export class Transformations { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -287,7 +281,6 @@ export class Transformations { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -372,7 +365,6 @@ export class Transformations { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/users/client/Client.ts b/src/api/resources/users/client/Client.ts index 267d424b..9f11545c 100644 --- a/src/api/resources/users/client/Client.ts +++ b/src/api/resources/users/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Users { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Users { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -104,7 +100,6 @@ export class Users { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -199,7 +194,6 @@ export class Users { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -284,7 +278,6 @@ export class Users { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -373,7 +366,6 @@ export class Users { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -458,7 +450,6 @@ export class Users { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -542,7 +533,6 @@ export class Users { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -630,7 +620,6 @@ export class Users { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -760,7 +749,6 @@ export class Users { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -888,7 +876,6 @@ export class Users { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1026,7 +1013,6 @@ export class Users { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1119,7 +1105,6 @@ export class Users { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -1204,7 +1189,6 @@ export class Users { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/versions/client/Client.ts b/src/api/resources/versions/client/Client.ts index 8cdc25ac..51655d9b 100644 --- a/src/api/resources/versions/client/Client.ts +++ b/src/api/resources/versions/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Versions { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Versions { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -73,7 +69,6 @@ export class Versions { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/views/client/Client.ts b/src/api/resources/views/client/Client.ts index 0308e83c..ddd78bfd 100644 --- a/src/api/resources/views/client/Client.ts +++ b/src/api/resources/views/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Views { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Views { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -88,7 +84,6 @@ export class Views { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -211,7 +206,6 @@ export class Views { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -324,7 +318,6 @@ export class Views { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -448,7 +441,6 @@ export class Views { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -558,7 +550,6 @@ export class Views { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/api/resources/workbooks/client/Client.ts b/src/api/resources/workbooks/client/Client.ts index 6897ffb3..d24dd2ba 100644 --- a/src/api/resources/workbooks/client/Client.ts +++ b/src/api/resources/workbooks/client/Client.ts @@ -17,8 +17,6 @@ export declare namespace Workbooks { token?: core.Supplier; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; fetcher?: core.FetchFunction; } @@ -31,8 +29,6 @@ export declare namespace Workbooks { abortSignal?: AbortSignal; /** Override the X-Disable-Hooks header */ xDisableHooks?: "true"; - /** Override the Keep-Alive header */ - keepAlive?: "timeout=200"; /** Additional headers to include in the request. */ headers?: Record; } @@ -106,7 +102,6 @@ export class Workbooks { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -239,7 +234,6 @@ export class Workbooks { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -341,7 +335,6 @@ export class Workbooks { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -453,7 +446,6 @@ export class Workbooks { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -581,7 +573,6 @@ export class Workbooks { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -700,7 +691,6 @@ export class Workbooks { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", @@ -790,7 +780,6 @@ export class Workbooks { headers: { Authorization: await this._getAuthorizationHeader(), "X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true", - "Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", "X-Fern-SDK-Version": "1.23.1", diff --git a/src/wrapper/FlatfileClient.ts b/src/wrapper/FlatfileClient.ts index 0ffca5ed..e7fdcb9e 100644 --- a/src/wrapper/FlatfileClient.ts +++ b/src/wrapper/FlatfileClient.ts @@ -29,7 +29,7 @@ export class FlatfileClient extends FernClient { }); } - protected declare _records: Records | undefined; + declare protected _records: Records | undefined; public override get records(): Records { return (this._records ??= new Records(this._options));