Skip to content

Commit 9e39ed0

Browse files
Release 1.23.1
1 parent f761091 commit 9e39ed0

52 files changed

Lines changed: 1168 additions & 700 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@flatfile/api",
3-
"version": "1.23.1-conditional-submit-routing.0",
3+
"version": "1.23.1",
44
"private": false,
55
"repository": "https://github.com/FlatFilers/flatfile-node",
66
"main": "./index.js",

src/Client.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ export declare namespace FlatfileClient {
5353
token?: core.Supplier<core.BearerToken | undefined>;
5454
/** Override the X-Disable-Hooks header */
5555
xDisableHooks?: "true";
56+
/** Override the Keep-Alive header */
57+
keepAlive?: "timeout=200";
5658
fetcher?: core.FetchFunction;
5759
}
5860

@@ -65,6 +67,8 @@ export declare namespace FlatfileClient {
6567
abortSignal?: AbortSignal;
6668
/** Override the X-Disable-Hooks header */
6769
xDisableHooks?: "true";
70+
/** Override the Keep-Alive header */
71+
keepAlive?: "timeout=200";
6872
/** Additional headers to include in the request. */
6973
headers?: Record<string, string>;
7074
}

src/api/resources/accounts/client/Client.ts

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ export declare namespace Accounts {
1717
token?: core.Supplier<core.BearerToken | undefined>;
1818
/** Override the X-Disable-Hooks header */
1919
xDisableHooks?: "true";
20+
/** Override the Keep-Alive header */
21+
keepAlive?: "timeout=200";
2022
fetcher?: core.FetchFunction;
2123
}
2224

@@ -29,6 +31,8 @@ export declare namespace Accounts {
2931
abortSignal?: AbortSignal;
3032
/** Override the X-Disable-Hooks header */
3133
xDisableHooks?: "true";
34+
/** Override the Keep-Alive header */
35+
keepAlive?: "timeout=200";
3236
/** Additional headers to include in the request. */
3337
headers?: Record<string, string>;
3438
}
@@ -63,10 +67,11 @@ export class Accounts {
6367
headers: {
6468
Authorization: await this._getAuthorizationHeader(),
6569
"X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true",
70+
"Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200",
6671
"X-Fern-Language": "JavaScript",
6772
"X-Fern-SDK-Name": "@flatfile/api",
68-
"X-Fern-SDK-Version": "1.23.1-conditional-submit-routing.0",
69-
"User-Agent": "@flatfile/api/1.23.1-conditional-submit-routing.0",
73+
"X-Fern-SDK-Version": "1.23.1",
74+
"User-Agent": "@flatfile/api/1.23.1",
7075
"X-Fern-Runtime": core.RUNTIME.type,
7176
"X-Fern-Runtime-Version": core.RUNTIME.version,
7277
...requestOptions?.headers,
@@ -149,10 +154,11 @@ export class Accounts {
149154
headers: {
150155
Authorization: await this._getAuthorizationHeader(),
151156
"X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true",
157+
"Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200",
152158
"X-Fern-Language": "JavaScript",
153159
"X-Fern-SDK-Name": "@flatfile/api",
154-
"X-Fern-SDK-Version": "1.23.1-conditional-submit-routing.0",
155-
"User-Agent": "@flatfile/api/1.23.1-conditional-submit-routing.0",
160+
"X-Fern-SDK-Version": "1.23.1",
161+
"User-Agent": "@flatfile/api/1.23.1",
156162
"X-Fern-Runtime": core.RUNTIME.type,
157163
"X-Fern-Runtime-Version": core.RUNTIME.version,
158164
...requestOptions?.headers,

src/api/resources/actions/client/Client.ts

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ export declare namespace Actions {
1717
token?: core.Supplier<core.BearerToken | undefined>;
1818
/** Override the X-Disable-Hooks header */
1919
xDisableHooks?: "true";
20+
/** Override the Keep-Alive header */
21+
keepAlive?: "timeout=200";
2022
fetcher?: core.FetchFunction;
2123
}
2224

@@ -29,6 +31,8 @@ export declare namespace Actions {
2931
abortSignal?: AbortSignal;
3032
/** Override the X-Disable-Hooks header */
3133
xDisableHooks?: "true";
34+
/** Override the Keep-Alive header */
35+
keepAlive?: "timeout=200";
3236
/** Additional headers to include in the request. */
3337
headers?: Record<string, string>;
3438
}
@@ -75,10 +79,11 @@ export class Actions {
7579
headers: {
7680
Authorization: await this._getAuthorizationHeader(),
7781
"X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true",
82+
"Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200",
7883
"X-Fern-Language": "JavaScript",
7984
"X-Fern-SDK-Name": "@flatfile/api",
80-
"X-Fern-SDK-Version": "1.23.1-conditional-submit-routing.0",
81-
"User-Agent": "@flatfile/api/1.23.1-conditional-submit-routing.0",
85+
"X-Fern-SDK-Version": "1.23.1",
86+
"User-Agent": "@flatfile/api/1.23.1",
8287
"X-Fern-Runtime": core.RUNTIME.type,
8388
"X-Fern-Runtime-Version": core.RUNTIME.version,
8489
...requestOptions?.headers,
@@ -170,10 +175,11 @@ export class Actions {
170175
headers: {
171176
Authorization: await this._getAuthorizationHeader(),
172177
"X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true",
178+
"Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200",
173179
"X-Fern-Language": "JavaScript",
174180
"X-Fern-SDK-Name": "@flatfile/api",
175-
"X-Fern-SDK-Version": "1.23.1-conditional-submit-routing.0",
176-
"User-Agent": "@flatfile/api/1.23.1-conditional-submit-routing.0",
181+
"X-Fern-SDK-Version": "1.23.1",
182+
"User-Agent": "@flatfile/api/1.23.1",
177183
"X-Fern-Runtime": core.RUNTIME.type,
178184
"X-Fern-Runtime-Version": core.RUNTIME.version,
179185
...requestOptions?.headers,
@@ -258,10 +264,11 @@ export class Actions {
258264
headers: {
259265
Authorization: await this._getAuthorizationHeader(),
260266
"X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true",
267+
"Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200",
261268
"X-Fern-Language": "JavaScript",
262269
"X-Fern-SDK-Name": "@flatfile/api",
263-
"X-Fern-SDK-Version": "1.23.1-conditional-submit-routing.0",
264-
"User-Agent": "@flatfile/api/1.23.1-conditional-submit-routing.0",
270+
"X-Fern-SDK-Version": "1.23.1",
271+
"User-Agent": "@flatfile/api/1.23.1",
265272
"X-Fern-Runtime": core.RUNTIME.type,
266273
"X-Fern-Runtime-Version": core.RUNTIME.version,
267274
...requestOptions?.headers,
@@ -340,10 +347,11 @@ export class Actions {
340347
headers: {
341348
Authorization: await this._getAuthorizationHeader(),
342349
"X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true",
350+
"Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200",
343351
"X-Fern-Language": "JavaScript",
344352
"X-Fern-SDK-Name": "@flatfile/api",
345-
"X-Fern-SDK-Version": "1.23.1-conditional-submit-routing.0",
346-
"User-Agent": "@flatfile/api/1.23.1-conditional-submit-routing.0",
353+
"X-Fern-SDK-Version": "1.23.1",
354+
"User-Agent": "@flatfile/api/1.23.1",
347355
"X-Fern-Runtime": core.RUNTIME.type,
348356
"X-Fern-Runtime-Version": core.RUNTIME.version,
349357
...requestOptions?.headers,
@@ -424,10 +432,11 @@ export class Actions {
424432
headers: {
425433
Authorization: await this._getAuthorizationHeader(),
426434
"X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true",
435+
"Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200",
427436
"X-Fern-Language": "JavaScript",
428437
"X-Fern-SDK-Name": "@flatfile/api",
429-
"X-Fern-SDK-Version": "1.23.1-conditional-submit-routing.0",
430-
"User-Agent": "@flatfile/api/1.23.1-conditional-submit-routing.0",
438+
"X-Fern-SDK-Version": "1.23.1",
439+
"User-Agent": "@flatfile/api/1.23.1",
431440
"X-Fern-Runtime": core.RUNTIME.type,
432441
"X-Fern-Runtime-Version": core.RUNTIME.version,
433442
...requestOptions?.headers,
@@ -506,10 +515,11 @@ export class Actions {
506515
headers: {
507516
Authorization: await this._getAuthorizationHeader(),
508517
"X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true",
518+
"Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200",
509519
"X-Fern-Language": "JavaScript",
510520
"X-Fern-SDK-Name": "@flatfile/api",
511-
"X-Fern-SDK-Version": "1.23.1-conditional-submit-routing.0",
512-
"User-Agent": "@flatfile/api/1.23.1-conditional-submit-routing.0",
521+
"X-Fern-SDK-Version": "1.23.1",
522+
"User-Agent": "@flatfile/api/1.23.1",
513523
"X-Fern-Runtime": core.RUNTIME.type,
514524
"X-Fern-Runtime-Version": core.RUNTIME.version,
515525
...requestOptions?.headers,

src/api/resources/agentExports/client/Client.ts

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ export declare namespace AgentExports {
1818
token?: core.Supplier<core.BearerToken | undefined>;
1919
/** Override the X-Disable-Hooks header */
2020
xDisableHooks?: "true";
21+
/** Override the Keep-Alive header */
22+
keepAlive?: "timeout=200";
2123
fetcher?: core.FetchFunction;
2224
}
2325

@@ -30,6 +32,8 @@ export declare namespace AgentExports {
3032
abortSignal?: AbortSignal;
3133
/** Override the X-Disable-Hooks header */
3234
xDisableHooks?: "true";
35+
/** Override the Keep-Alive header */
36+
keepAlive?: "timeout=200";
3337
/** Additional headers to include in the request. */
3438
headers?: Record<string, string>;
3539
}
@@ -85,10 +89,11 @@ export class AgentExports {
8589
headers: {
8690
Authorization: await this._getAuthorizationHeader(),
8791
"X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true",
92+
"Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200",
8893
"X-Fern-Language": "JavaScript",
8994
"X-Fern-SDK-Name": "@flatfile/api",
90-
"X-Fern-SDK-Version": "1.23.1-conditional-submit-routing.0",
91-
"User-Agent": "@flatfile/api/1.23.1-conditional-submit-routing.0",
95+
"X-Fern-SDK-Version": "1.23.1",
96+
"User-Agent": "@flatfile/api/1.23.1",
9297
"X-Fern-Runtime": core.RUNTIME.type,
9398
"X-Fern-Runtime-Version": core.RUNTIME.version,
9499
...requestOptions?.headers,
@@ -167,10 +172,11 @@ export class AgentExports {
167172
headers: {
168173
Authorization: await this._getAuthorizationHeader(),
169174
"X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true",
175+
"Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200",
170176
"X-Fern-Language": "JavaScript",
171177
"X-Fern-SDK-Name": "@flatfile/api",
172-
"X-Fern-SDK-Version": "1.23.1-conditional-submit-routing.0",
173-
"User-Agent": "@flatfile/api/1.23.1-conditional-submit-routing.0",
178+
"X-Fern-SDK-Version": "1.23.1",
179+
"User-Agent": "@flatfile/api/1.23.1",
174180
"X-Fern-Runtime": core.RUNTIME.type,
175181
"X-Fern-Runtime-Version": core.RUNTIME.version,
176182
...requestOptions?.headers,
@@ -243,10 +249,11 @@ export class AgentExports {
243249
headers: {
244250
Authorization: await this._getAuthorizationHeader(),
245251
"X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true",
252+
"Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200",
246253
"X-Fern-Language": "JavaScript",
247254
"X-Fern-SDK-Name": "@flatfile/api",
248-
"X-Fern-SDK-Version": "1.23.1-conditional-submit-routing.0",
249-
"User-Agent": "@flatfile/api/1.23.1-conditional-submit-routing.0",
255+
"X-Fern-SDK-Version": "1.23.1",
256+
"User-Agent": "@flatfile/api/1.23.1",
250257
"X-Fern-Runtime": core.RUNTIME.type,
251258
"X-Fern-Runtime-Version": core.RUNTIME.version,
252259
...requestOptions?.headers,
@@ -318,10 +325,11 @@ export class AgentExports {
318325
headers: {
319326
Authorization: await this._getAuthorizationHeader(),
320327
"X-Disable-Hooks": requestOptions?.xDisableHooks ?? this._options?.xDisableHooks ?? "true",
328+
"Keep-Alive": requestOptions?.keepAlive ?? this._options?.keepAlive ?? "timeout=200",
321329
"X-Fern-Language": "JavaScript",
322330
"X-Fern-SDK-Name": "@flatfile/api",
323-
"X-Fern-SDK-Version": "1.23.1-conditional-submit-routing.0",
324-
"User-Agent": "@flatfile/api/1.23.1-conditional-submit-routing.0",
331+
"X-Fern-SDK-Version": "1.23.1",
332+
"User-Agent": "@flatfile/api/1.23.1",
325333
"X-Fern-Runtime": core.RUNTIME.type,
326334
"X-Fern-Runtime-Version": core.RUNTIME.version,
327335
...requestOptions?.headers,

0 commit comments

Comments
 (0)