@flatfile/api-preview
Advanced tools
Comparing version 0.0.14 to 0.0.15
@@ -65,3 +65,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -136,3 +136,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -199,3 +199,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -257,3 +257,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -316,3 +316,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -376,3 +376,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -441,3 +441,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -505,3 +505,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -585,3 +585,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -665,3 +665,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -730,3 +730,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -733,0 +733,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -64,3 +64,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -114,3 +114,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -173,3 +173,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -234,3 +234,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -237,0 +237,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -20,2 +20,11 @@ /** | ||
* }, | ||
* environmentFilters: { | ||
* "type": [ | ||
* "PROD", | ||
* "DEV" | ||
* ], | ||
* "exclude_ids": [ | ||
* "us_env_123456" | ||
* ] | ||
* }, | ||
* createdAt: new Date("2023-10-30T16:59:45.735Z"), | ||
@@ -34,2 +43,3 @@ * updatedAt: new Date("2023-10-30T16:59:45.735Z") | ||
metadata?: any; | ||
environmentFilters?: any; | ||
createdAt: string; | ||
@@ -36,0 +46,0 @@ updatedAt: string; |
@@ -29,2 +29,3 @@ /** | ||
metadata?: any; | ||
environmentFilters?: any; | ||
} |
@@ -26,3 +26,4 @@ /** | ||
metadata?: any; | ||
environmentFilters?: any; | ||
activatedAt?: string; | ||
} |
@@ -19,2 +19,11 @@ /** | ||
* }, | ||
* environmentFilters: { | ||
* "type": [ | ||
* "PROD", | ||
* "DEV" | ||
* ], | ||
* "exclude_ids": [ | ||
* "us_env_123456" | ||
* ] | ||
* }, | ||
* createdAt: new Date("2023-10-30T16:59:45.735Z"), | ||
@@ -21,0 +30,0 @@ * updatedAt: new Date("2023-10-30T16:59:45.735Z") |
@@ -19,2 +19,11 @@ /** | ||
* }, | ||
* environmentFilters: { | ||
* "type": [ | ||
* "PROD", | ||
* "DEV" | ||
* ], | ||
* "exclude_ids": [ | ||
* "us_env_123456" | ||
* ] | ||
* }, | ||
* createdAt: new Date("2023-10-30T16:59:45.735Z"), | ||
@@ -21,0 +30,0 @@ * updatedAt: new Date("2023-10-30T16:59:45.735Z") |
@@ -74,3 +74,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -138,3 +138,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -204,3 +204,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -270,3 +270,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -273,0 +273,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -104,3 +104,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -107,0 +107,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -70,3 +70,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -126,3 +126,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -182,3 +182,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -185,0 +185,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -77,3 +77,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -141,3 +141,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -201,3 +201,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -264,3 +264,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -321,3 +321,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -324,0 +324,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -70,3 +70,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -139,3 +139,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -199,3 +199,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -261,3 +261,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -318,3 +318,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -321,0 +321,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -75,3 +75,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -78,0 +78,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -25,3 +25,3 @@ /** | ||
* @example | ||
* await flatfile.environments.list({}) | ||
* await flatfile.environments.list() | ||
*/ | ||
@@ -28,0 +28,0 @@ list(request?: Flatfile.ListEnvironmentsRequest, requestOptions?: Environments.RequestOptions): Promise<Flatfile.ListEnvironmentsResponse>; |
@@ -55,3 +55,3 @@ "use strict"; | ||
* @example | ||
* await flatfile.environments.list({}) | ||
* await flatfile.environments.list() | ||
*/ | ||
@@ -77,3 +77,3 @@ list(request = {}, requestOptions) { | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -136,3 +136,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -194,3 +194,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -254,3 +254,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -319,3 +319,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -369,3 +369,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -372,0 +372,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -25,3 +25,3 @@ /** | ||
* @example | ||
* await flatfile.events.list({}) | ||
* await flatfile.events.list() | ||
*/ | ||
@@ -58,3 +58,3 @@ list(request?: Flatfile.ListEventsRequest, requestOptions?: Events.RequestOptions): Promise<Flatfile.ListAllEventsResponse>; | ||
* @example | ||
* await flatfile.events.getEventToken({}) | ||
* await flatfile.events.getEventToken() | ||
*/ | ||
@@ -61,0 +61,0 @@ getEventToken(request?: Flatfile.GetEventTokenRequest, requestOptions?: Events.RequestOptions): Promise<Flatfile.EventTokenResponse>; |
@@ -55,3 +55,3 @@ "use strict"; | ||
* @example | ||
* await flatfile.events.list({}) | ||
* await flatfile.events.list() | ||
*/ | ||
@@ -95,3 +95,3 @@ list(request = {}, requestOptions) { | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -160,3 +160,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -212,3 +212,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -256,3 +256,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -295,3 +295,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
* @example | ||
* await flatfile.events.getEventToken({}) | ||
* await flatfile.events.getEventToken() | ||
*/ | ||
@@ -317,3 +317,3 @@ getEventToken(request = {}, requestOptions) { | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -320,0 +320,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -40,2 +40,3 @@ /** | ||
actorId?: string; | ||
appId?: Flatfile.AppId; | ||
} |
@@ -77,3 +77,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -137,3 +137,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -194,3 +194,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -249,3 +249,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -310,3 +310,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -366,3 +366,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -369,0 +369,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -40,2 +40,8 @@ /** | ||
/** | ||
* Delete the database | ||
* @throws {@link Flatfile.BadRequestError} | ||
* @throws {@link Flatfile.NotFoundError} | ||
*/ | ||
deleteDatabase(workbookId: string, requestOptions?: Foreigndb.RequestOptions): Promise<Flatfile.Success>; | ||
/** | ||
* Persist a file in s3 object storage | ||
@@ -42,0 +48,0 @@ * @throws {@link Flatfile.BadRequestError} |
@@ -67,3 +67,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -124,3 +124,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -180,3 +180,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -221,2 +221,57 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
/** | ||
* Delete the database | ||
* @throws {@link Flatfile.BadRequestError} | ||
* @throws {@link Flatfile.NotFoundError} | ||
*/ | ||
deleteDatabase(workbookId, requestOptions) { | ||
var _a, _b; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({ | ||
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.FlatfileEnvironment.Production, `/foreigndb/${workbookId}`), | ||
method: "DELETE", | ||
headers: { | ||
Authorization: yield this._getAuthorizationHeader(), | ||
"X-Disable-Hooks": "true", | ||
"X-Fern-Language": "JavaScript", | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
"X-Fern-Runtime-Version": core.RUNTIME.version, | ||
}, | ||
contentType: "application/json", | ||
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000, | ||
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries, | ||
}); | ||
if (_response.ok) { | ||
return _response.body; | ||
} | ||
if (_response.error.reason === "status-code") { | ||
switch (_response.error.statusCode) { | ||
case 400: | ||
throw new Flatfile.BadRequestError(_response.error.body); | ||
case 404: | ||
throw new Flatfile.NotFoundError(_response.error.body); | ||
default: | ||
throw new errors.FlatfileError({ | ||
statusCode: _response.error.statusCode, | ||
body: _response.error.body, | ||
}); | ||
} | ||
} | ||
switch (_response.error.reason) { | ||
case "non-json": | ||
throw new errors.FlatfileError({ | ||
statusCode: _response.error.statusCode, | ||
body: _response.error.rawBody, | ||
}); | ||
case "timeout": | ||
throw new errors.FlatfileTimeoutError(); | ||
case "unknown": | ||
throw new errors.FlatfileError({ | ||
message: _response.error.errorMessage, | ||
}); | ||
} | ||
}); | ||
} | ||
/** | ||
* Persist a file in s3 object storage | ||
@@ -237,3 +292,3 @@ * @throws {@link Flatfile.BadRequestError} | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -240,0 +295,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -76,3 +76,3 @@ /** | ||
* @example | ||
* await flatfile.guests.getGuestToken("us_g_YOUR_ID", {}) | ||
* await flatfile.guests.getGuestToken("us_g_YOUR_ID") | ||
*/ | ||
@@ -79,0 +79,0 @@ getGuestToken(guestId: Flatfile.GuestId, request?: Flatfile.GetGuestTokenRequest, requestOptions?: Guests.RequestOptions): Promise<Flatfile.GuestTokenResponse>; |
@@ -76,3 +76,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -138,3 +138,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -189,3 +189,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -239,3 +239,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -292,3 +292,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -330,3 +330,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
* @example | ||
* await flatfile.guests.getGuestToken("us_g_YOUR_ID", {}) | ||
* await flatfile.guests.getGuestToken("us_g_YOUR_ID") | ||
*/ | ||
@@ -349,3 +349,3 @@ getGuestToken(guestId, request = {}, requestOptions) { | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -400,3 +400,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -459,3 +459,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -519,3 +519,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -583,3 +583,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -586,0 +586,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -87,3 +87,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -132,3 +132,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -177,3 +177,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -221,3 +221,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -266,3 +266,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -316,3 +316,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -366,3 +366,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -453,3 +453,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -501,3 +501,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -556,3 +556,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -607,3 +607,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -669,3 +669,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -732,3 +732,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -785,3 +785,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -833,3 +833,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -880,3 +880,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -933,3 +933,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -936,0 +936,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -67,3 +67,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -124,3 +124,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -211,3 +211,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -266,3 +266,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -322,3 +322,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -379,3 +379,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -435,3 +435,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -495,3 +495,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -554,3 +554,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -617,3 +617,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -674,3 +674,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -734,3 +734,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -737,0 +737,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -27,3 +27,3 @@ /** | ||
* @example | ||
* await flatfile.records.get("us_sh_YOUR_ID", {}) | ||
* await flatfile.records.get("us_sh_YOUR_ID") | ||
*/ | ||
@@ -30,0 +30,0 @@ get(sheetId: Flatfile.SheetId, request?: Flatfile.GetRecordsRequest, requestOptions?: Records.RequestOptions): Promise<Flatfile.GetRecordsResponse>; |
@@ -68,3 +68,3 @@ "use strict"; | ||
* @example | ||
* await flatfile.records.get("us_sh_YOUR_ID", {}) | ||
* await flatfile.records.get("us_sh_YOUR_ID") | ||
*/ | ||
@@ -146,3 +146,3 @@ get(sheetId, request = {}, requestOptions) { | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -229,3 +229,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -305,3 +305,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -375,3 +375,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -460,3 +460,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -463,0 +463,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -34,3 +34,3 @@ /** | ||
/** | ||
* Number of records to return in a page (default 1000 if pageNumber included) | ||
* Number of records to return in a page (default 10,000) | ||
*/ | ||
@@ -37,0 +37,0 @@ pageSize?: number; |
@@ -20,5 +20,7 @@ /** | ||
commitId?: Flatfile.CommitId; | ||
/** Auto-generated value based on whether the record contains a field with an error message. Cannot be set via the API. */ | ||
valid?: boolean; | ||
/** This record level `messages` property is deprecated and no longer stored or used. Use the `messages` property on the individual cell values instead. This property will be removed in a future release. */ | ||
messages?: Flatfile.ValidationMessage[]; | ||
metadata?: Record<string, any>; | ||
} |
@@ -64,3 +64,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -67,0 +67,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -80,3 +80,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -145,3 +145,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -205,3 +205,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -208,0 +208,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -80,3 +80,3 @@ /** | ||
* @example | ||
* await flatfile.sheets.getSheetCommits("us_sh_YOUR_ID", {}) | ||
* await flatfile.sheets.getSheetCommits("us_sh_YOUR_ID") | ||
*/ | ||
@@ -83,0 +83,0 @@ getSheetCommits(sheetId: Flatfile.SheetId, request?: Flatfile.ListSheetCommitsRequest, requestOptions?: Sheets.RequestOptions): Promise<Flatfile.ListCommitsResponse>; |
@@ -73,3 +73,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -124,3 +124,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -176,3 +176,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -235,3 +235,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -329,3 +329,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -415,3 +415,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -465,3 +465,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -510,3 +510,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
* @example | ||
* await flatfile.sheets.getSheetCommits("us_sh_YOUR_ID", {}) | ||
* await flatfile.sheets.getSheetCommits("us_sh_YOUR_ID") | ||
*/ | ||
@@ -529,3 +529,3 @@ getSheetCommits(sheetId, request = {}, requestOptions) { | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -582,3 +582,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -641,3 +641,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -735,3 +735,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -738,0 +738,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -31,7 +31,2 @@ /** | ||
* }, | ||
* countRecords: { | ||
* valid: 1000, | ||
* error: 0, | ||
* total: 1000 | ||
* }, | ||
* lockedBy: "Example0", | ||
@@ -38,0 +33,0 @@ * updatedAt: new Date("2021-08-31T18:00:00.000Z"), |
@@ -32,7 +32,2 @@ /** | ||
* }, | ||
* countRecords: { | ||
* valid: 1000, | ||
* error: 0, | ||
* total: 1000 | ||
* }, | ||
* lockedBy: "Example0", | ||
@@ -54,4 +49,2 @@ * updatedAt: new Date("2021-08-31T18:00:00.000Z"), | ||
config: Flatfile.SheetConfig; | ||
/** The amount of records in the Sheet. */ | ||
countRecords?: Flatfile.RecordCounts; | ||
/** The scoped namespace of the Sheet. */ | ||
@@ -58,0 +51,0 @@ namespace?: string; |
@@ -13,3 +13,3 @@ /** | ||
description?: string; | ||
/** A unique identifier for your Sheet. */ | ||
/** A unique identifier for your Sheet. **Required when updating a Workbook.** */ | ||
slug?: string; | ||
@@ -16,0 +16,0 @@ /** A boolean specifying whether or not this sheet is read only. Read only sheets are not editable by end users. */ |
@@ -31,7 +31,2 @@ /** | ||
* }, | ||
* countRecords: { | ||
* valid: 1000, | ||
* error: 0, | ||
* total: 1000 | ||
* }, | ||
* lockedBy: "Example0", | ||
@@ -38,0 +33,0 @@ * updatedAt: new Date("2021-08-31T18:00:00.000Z"), |
@@ -15,4 +15,2 @@ /** | ||
config?: Flatfile.SheetConfig; | ||
/** The amount of records in the Sheet. */ | ||
countRecords?: Flatfile.RecordCounts; | ||
/** The scoped namespace of the Sheet. */ | ||
@@ -19,0 +17,0 @@ namespace?: string; |
@@ -73,3 +73,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -138,3 +138,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -203,3 +203,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -263,3 +263,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -326,3 +326,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -401,3 +401,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -404,0 +404,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -38,3 +38,3 @@ /** | ||
* await flatfile.spaces.create({ | ||
* name: "My First Worbook", | ||
* name: "My First Workbook", | ||
* displayOrder: 1, | ||
@@ -41,0 +41,0 @@ * environmentId: "us_env_YOUR_ID", |
@@ -100,3 +100,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -146,3 +146,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
* await flatfile.spaces.create({ | ||
* name: "My First Worbook", | ||
* name: "My First Workbook", | ||
* displayOrder: 1, | ||
@@ -164,3 +164,3 @@ * environmentId: "us_env_YOUR_ID", | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -224,3 +224,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -283,3 +283,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -352,3 +352,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -414,3 +414,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -474,3 +474,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -529,3 +529,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -532,0 +532,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -79,2 +79,4 @@ /** | ||
guestAuthentication: Flatfile.GuestAuthenticationEnum[]; | ||
/** The ID of the App that space is associated with */ | ||
appId?: Flatfile.AppId; | ||
} |
@@ -10,3 +10,3 @@ /** | ||
* { | ||
* name: "My First Worbook", | ||
* name: "My First Workbook", | ||
* displayOrder: 1, | ||
@@ -13,0 +13,0 @@ * environmentId: "us_env_YOUR_ID", |
@@ -75,3 +75,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -123,3 +123,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -174,3 +174,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -224,3 +224,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -283,3 +283,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -343,3 +343,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -408,3 +408,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -459,3 +459,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -507,3 +507,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -510,0 +510,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -61,3 +61,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -64,0 +64,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -27,4 +27,3 @@ /** | ||
* await flatfile.workbooks.list({ | ||
* spaceId: "us_sp_YOUR_ID", | ||
* includeCounts: true | ||
* spaceId: "us_sp_YOUR_ID" | ||
* }) | ||
@@ -113,3 +112,3 @@ */ | ||
* @example | ||
* await flatfile.workbooks.getWorkbookCommits("us_wb_YOUR_ID", {}) | ||
* await flatfile.workbooks.getWorkbookCommits("us_wb_YOUR_ID") | ||
*/ | ||
@@ -116,0 +115,0 @@ getWorkbookCommits(workbookId: Flatfile.WorkbookId, request?: Flatfile.ListWorkbookCommitsRequest, requestOptions?: Workbooks.RequestOptions): Promise<Flatfile.ListCommitsResponse>; |
@@ -57,4 +57,3 @@ "use strict"; | ||
* await flatfile.workbooks.list({ | ||
* spaceId: "us_sp_YOUR_ID", | ||
* includeCounts: true | ||
* spaceId: "us_sp_YOUR_ID" | ||
* }) | ||
@@ -81,3 +80,3 @@ */ | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -169,3 +168,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -227,3 +226,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -286,3 +285,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -355,3 +354,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -400,3 +399,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
* @example | ||
* await flatfile.workbooks.getWorkbookCommits("us_wb_YOUR_ID", {}) | ||
* await flatfile.workbooks.getWorkbookCommits("us_wb_YOUR_ID") | ||
*/ | ||
@@ -419,3 +418,3 @@ getWorkbookCommits(workbookId, request = {}, requestOptions) { | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -469,3 +468,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -472,0 +471,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -8,4 +8,3 @@ /** | ||
* { | ||
* spaceId: "us_sp_YOUR_ID", | ||
* includeCounts: true | ||
* spaceId: "us_sp_YOUR_ID" | ||
* } | ||
@@ -19,5 +18,5 @@ */ | ||
/** | ||
* Include counts for the workbook | ||
* Include counts for the workbook. **DEPRECATED** Counts will return 0s. Use GET /sheets/:sheetId/counts | ||
*/ | ||
includeCounts?: boolean; | ||
} |
@@ -36,7 +36,2 @@ /** | ||
* }, | ||
* countRecords: { | ||
* valid: 1000, | ||
* error: 0, | ||
* total: 1000 | ||
* }, | ||
* lockedBy: "Example0", | ||
@@ -43,0 +38,0 @@ * updatedAt: new Date("2021-08-31T18:00:00.000Z"), |
@@ -37,7 +37,2 @@ /** | ||
* }, | ||
* countRecords: { | ||
* valid: 1000, | ||
* error: 0, | ||
* total: 1000 | ||
* }, | ||
* lockedBy: "Example0", | ||
@@ -44,0 +39,0 @@ * updatedAt: new Date("2021-08-31T18:00:00.000Z"), |
@@ -36,7 +36,2 @@ /** | ||
* }, | ||
* countRecords: { | ||
* valid: 1000, | ||
* error: 0, | ||
* total: 1000 | ||
* }, | ||
* lockedBy: "Example0", | ||
@@ -43,0 +38,0 @@ * updatedAt: new Date("2021-08-31T18:00:00.000Z"), |
@@ -53,3 +53,9 @@ "use strict"; | ||
// and falls back to node-fetch. | ||
const fetchFn = runtime_1.RUNTIME.type === "node" ? require("node-fetch") : typeof fetch == "function" ? fetch : require("node-fetch"); | ||
const fetchFn = runtime_1.RUNTIME.type === "node" | ||
? // `.default` is required due to this issue: | ||
// https://github.com/node-fetch/node-fetch/issues/450#issuecomment-387045223 | ||
require("node-fetch").default | ||
: typeof fetch == "function" | ||
? fetch | ||
: require("node-fetch").default; | ||
const makeRequest = () => __awaiter(this, void 0, void 0, function* () { | ||
@@ -56,0 +62,0 @@ const controller = new AbortController(); |
@@ -65,3 +65,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -136,3 +136,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -199,3 +199,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -257,3 +257,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -316,3 +316,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -376,3 +376,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -441,3 +441,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -505,3 +505,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -585,3 +585,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -665,3 +665,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -730,3 +730,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -733,0 +733,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -64,3 +64,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -114,3 +114,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -173,3 +173,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -234,3 +234,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -237,0 +237,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -20,2 +20,11 @@ /** | ||
* }, | ||
* environmentFilters: { | ||
* "type": [ | ||
* "PROD", | ||
* "DEV" | ||
* ], | ||
* "exclude_ids": [ | ||
* "us_env_123456" | ||
* ] | ||
* }, | ||
* createdAt: new Date("2023-10-30T16:59:45.735Z"), | ||
@@ -34,2 +43,3 @@ * updatedAt: new Date("2023-10-30T16:59:45.735Z") | ||
metadata?: any; | ||
environmentFilters?: any; | ||
createdAt: string; | ||
@@ -36,0 +46,0 @@ updatedAt: string; |
@@ -29,2 +29,3 @@ /** | ||
metadata?: any; | ||
environmentFilters?: any; | ||
} |
@@ -26,3 +26,4 @@ /** | ||
metadata?: any; | ||
environmentFilters?: any; | ||
activatedAt?: string; | ||
} |
@@ -19,2 +19,11 @@ /** | ||
* }, | ||
* environmentFilters: { | ||
* "type": [ | ||
* "PROD", | ||
* "DEV" | ||
* ], | ||
* "exclude_ids": [ | ||
* "us_env_123456" | ||
* ] | ||
* }, | ||
* createdAt: new Date("2023-10-30T16:59:45.735Z"), | ||
@@ -21,0 +30,0 @@ * updatedAt: new Date("2023-10-30T16:59:45.735Z") |
@@ -19,2 +19,11 @@ /** | ||
* }, | ||
* environmentFilters: { | ||
* "type": [ | ||
* "PROD", | ||
* "DEV" | ||
* ], | ||
* "exclude_ids": [ | ||
* "us_env_123456" | ||
* ] | ||
* }, | ||
* createdAt: new Date("2023-10-30T16:59:45.735Z"), | ||
@@ -21,0 +30,0 @@ * updatedAt: new Date("2023-10-30T16:59:45.735Z") |
@@ -74,3 +74,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -138,3 +138,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -204,3 +204,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -270,3 +270,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -273,0 +273,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -104,3 +104,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -107,0 +107,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -70,3 +70,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -126,3 +126,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -182,3 +182,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -185,0 +185,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -77,3 +77,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -141,3 +141,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -201,3 +201,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -264,3 +264,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -321,3 +321,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -324,0 +324,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -70,3 +70,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -139,3 +139,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -199,3 +199,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -261,3 +261,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -318,3 +318,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -321,0 +321,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -75,3 +75,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -78,0 +78,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -25,3 +25,3 @@ /** | ||
* @example | ||
* await flatfile.environments.list({}) | ||
* await flatfile.environments.list() | ||
*/ | ||
@@ -28,0 +28,0 @@ list(request?: Flatfile.ListEnvironmentsRequest, requestOptions?: Environments.RequestOptions): Promise<Flatfile.ListEnvironmentsResponse>; |
@@ -55,3 +55,3 @@ "use strict"; | ||
* @example | ||
* await flatfile.environments.list({}) | ||
* await flatfile.environments.list() | ||
*/ | ||
@@ -77,3 +77,3 @@ list(request = {}, requestOptions) { | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -136,3 +136,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -194,3 +194,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -254,3 +254,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -319,3 +319,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -369,3 +369,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -372,0 +372,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -25,3 +25,3 @@ /** | ||
* @example | ||
* await flatfile.events.list({}) | ||
* await flatfile.events.list() | ||
*/ | ||
@@ -58,3 +58,3 @@ list(request?: Flatfile.ListEventsRequest, requestOptions?: Events.RequestOptions): Promise<Flatfile.ListAllEventsResponse>; | ||
* @example | ||
* await flatfile.events.getEventToken({}) | ||
* await flatfile.events.getEventToken() | ||
*/ | ||
@@ -61,0 +61,0 @@ getEventToken(request?: Flatfile.GetEventTokenRequest, requestOptions?: Events.RequestOptions): Promise<Flatfile.EventTokenResponse>; |
@@ -55,3 +55,3 @@ "use strict"; | ||
* @example | ||
* await flatfile.events.list({}) | ||
* await flatfile.events.list() | ||
*/ | ||
@@ -95,3 +95,3 @@ list(request = {}, requestOptions) { | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -160,3 +160,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -212,3 +212,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -256,3 +256,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -295,3 +295,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
* @example | ||
* await flatfile.events.getEventToken({}) | ||
* await flatfile.events.getEventToken() | ||
*/ | ||
@@ -317,3 +317,3 @@ getEventToken(request = {}, requestOptions) { | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -320,0 +320,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -40,2 +40,3 @@ /** | ||
actorId?: string; | ||
appId?: Flatfile.AppId; | ||
} |
@@ -77,3 +77,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -137,3 +137,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -194,3 +194,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -249,3 +249,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -310,3 +310,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -366,3 +366,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -369,0 +369,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -40,2 +40,8 @@ /** | ||
/** | ||
* Delete the database | ||
* @throws {@link Flatfile.BadRequestError} | ||
* @throws {@link Flatfile.NotFoundError} | ||
*/ | ||
deleteDatabase(workbookId: string, requestOptions?: Foreigndb.RequestOptions): Promise<Flatfile.Success>; | ||
/** | ||
* Persist a file in s3 object storage | ||
@@ -42,0 +48,0 @@ * @throws {@link Flatfile.BadRequestError} |
@@ -67,3 +67,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -124,3 +124,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -180,3 +180,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -221,2 +221,57 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
/** | ||
* Delete the database | ||
* @throws {@link Flatfile.BadRequestError} | ||
* @throws {@link Flatfile.NotFoundError} | ||
*/ | ||
deleteDatabase(workbookId, requestOptions) { | ||
var _a, _b; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({ | ||
url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.FlatfileEnvironment.Production, `/foreigndb/${workbookId}`), | ||
method: "DELETE", | ||
headers: { | ||
Authorization: yield this._getAuthorizationHeader(), | ||
"X-Disable-Hooks": "true", | ||
"X-Fern-Language": "JavaScript", | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
"X-Fern-Runtime-Version": core.RUNTIME.version, | ||
}, | ||
contentType: "application/json", | ||
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000, | ||
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries, | ||
}); | ||
if (_response.ok) { | ||
return _response.body; | ||
} | ||
if (_response.error.reason === "status-code") { | ||
switch (_response.error.statusCode) { | ||
case 400: | ||
throw new Flatfile.BadRequestError(_response.error.body); | ||
case 404: | ||
throw new Flatfile.NotFoundError(_response.error.body); | ||
default: | ||
throw new errors.FlatfileError({ | ||
statusCode: _response.error.statusCode, | ||
body: _response.error.body, | ||
}); | ||
} | ||
} | ||
switch (_response.error.reason) { | ||
case "non-json": | ||
throw new errors.FlatfileError({ | ||
statusCode: _response.error.statusCode, | ||
body: _response.error.rawBody, | ||
}); | ||
case "timeout": | ||
throw new errors.FlatfileTimeoutError(); | ||
case "unknown": | ||
throw new errors.FlatfileError({ | ||
message: _response.error.errorMessage, | ||
}); | ||
} | ||
}); | ||
} | ||
/** | ||
* Persist a file in s3 object storage | ||
@@ -237,3 +292,3 @@ * @throws {@link Flatfile.BadRequestError} | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -240,0 +295,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -76,3 +76,3 @@ /** | ||
* @example | ||
* await flatfile.guests.getGuestToken("us_g_YOUR_ID", {}) | ||
* await flatfile.guests.getGuestToken("us_g_YOUR_ID") | ||
*/ | ||
@@ -79,0 +79,0 @@ getGuestToken(guestId: Flatfile.GuestId, request?: Flatfile.GetGuestTokenRequest, requestOptions?: Guests.RequestOptions): Promise<Flatfile.GuestTokenResponse>; |
@@ -76,3 +76,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -138,3 +138,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -189,3 +189,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -239,3 +239,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -292,3 +292,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -330,3 +330,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
* @example | ||
* await flatfile.guests.getGuestToken("us_g_YOUR_ID", {}) | ||
* await flatfile.guests.getGuestToken("us_g_YOUR_ID") | ||
*/ | ||
@@ -349,3 +349,3 @@ getGuestToken(guestId, request = {}, requestOptions) { | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -400,3 +400,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -459,3 +459,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -519,3 +519,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -583,3 +583,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -586,0 +586,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -87,3 +87,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -132,3 +132,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -177,3 +177,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -221,3 +221,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -266,3 +266,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -316,3 +316,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -366,3 +366,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -453,3 +453,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -501,3 +501,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -556,3 +556,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -607,3 +607,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -669,3 +669,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -732,3 +732,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -785,3 +785,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -833,3 +833,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -880,3 +880,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -933,3 +933,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -936,0 +936,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -67,3 +67,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -124,3 +124,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -211,3 +211,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -266,3 +266,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -322,3 +322,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -379,3 +379,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -435,3 +435,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -495,3 +495,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -554,3 +554,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -617,3 +617,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -674,3 +674,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -734,3 +734,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -737,0 +737,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -27,3 +27,3 @@ /** | ||
* @example | ||
* await flatfile.records.get("us_sh_YOUR_ID", {}) | ||
* await flatfile.records.get("us_sh_YOUR_ID") | ||
*/ | ||
@@ -30,0 +30,0 @@ get(sheetId: Flatfile.SheetId, request?: Flatfile.GetRecordsRequest, requestOptions?: Records.RequestOptions): Promise<Flatfile.GetRecordsResponse>; |
@@ -68,3 +68,3 @@ "use strict"; | ||
* @example | ||
* await flatfile.records.get("us_sh_YOUR_ID", {}) | ||
* await flatfile.records.get("us_sh_YOUR_ID") | ||
*/ | ||
@@ -146,3 +146,3 @@ get(sheetId, request = {}, requestOptions) { | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -229,3 +229,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -305,3 +305,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -375,3 +375,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -460,3 +460,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -463,0 +463,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -34,3 +34,3 @@ /** | ||
/** | ||
* Number of records to return in a page (default 1000 if pageNumber included) | ||
* Number of records to return in a page (default 10,000) | ||
*/ | ||
@@ -37,0 +37,0 @@ pageSize?: number; |
@@ -20,5 +20,7 @@ /** | ||
commitId?: Flatfile.CommitId; | ||
/** Auto-generated value based on whether the record contains a field with an error message. Cannot be set via the API. */ | ||
valid?: boolean; | ||
/** This record level `messages` property is deprecated and no longer stored or used. Use the `messages` property on the individual cell values instead. This property will be removed in a future release. */ | ||
messages?: Flatfile.ValidationMessage[]; | ||
metadata?: Record<string, any>; | ||
} |
@@ -64,3 +64,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -67,0 +67,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -80,3 +80,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -145,3 +145,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -205,3 +205,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -208,0 +208,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -80,3 +80,3 @@ /** | ||
* @example | ||
* await flatfile.sheets.getSheetCommits("us_sh_YOUR_ID", {}) | ||
* await flatfile.sheets.getSheetCommits("us_sh_YOUR_ID") | ||
*/ | ||
@@ -83,0 +83,0 @@ getSheetCommits(sheetId: Flatfile.SheetId, request?: Flatfile.ListSheetCommitsRequest, requestOptions?: Sheets.RequestOptions): Promise<Flatfile.ListCommitsResponse>; |
@@ -73,3 +73,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -124,3 +124,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -176,3 +176,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -235,3 +235,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -329,3 +329,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -415,3 +415,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -465,3 +465,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -510,3 +510,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
* @example | ||
* await flatfile.sheets.getSheetCommits("us_sh_YOUR_ID", {}) | ||
* await flatfile.sheets.getSheetCommits("us_sh_YOUR_ID") | ||
*/ | ||
@@ -529,3 +529,3 @@ getSheetCommits(sheetId, request = {}, requestOptions) { | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -582,3 +582,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -641,3 +641,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -735,3 +735,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -738,0 +738,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -31,7 +31,2 @@ /** | ||
* }, | ||
* countRecords: { | ||
* valid: 1000, | ||
* error: 0, | ||
* total: 1000 | ||
* }, | ||
* lockedBy: "Example0", | ||
@@ -38,0 +33,0 @@ * updatedAt: new Date("2021-08-31T18:00:00.000Z"), |
@@ -32,7 +32,2 @@ /** | ||
* }, | ||
* countRecords: { | ||
* valid: 1000, | ||
* error: 0, | ||
* total: 1000 | ||
* }, | ||
* lockedBy: "Example0", | ||
@@ -54,4 +49,2 @@ * updatedAt: new Date("2021-08-31T18:00:00.000Z"), | ||
config: Flatfile.SheetConfig; | ||
/** The amount of records in the Sheet. */ | ||
countRecords?: Flatfile.RecordCounts; | ||
/** The scoped namespace of the Sheet. */ | ||
@@ -58,0 +51,0 @@ namespace?: string; |
@@ -13,3 +13,3 @@ /** | ||
description?: string; | ||
/** A unique identifier for your Sheet. */ | ||
/** A unique identifier for your Sheet. **Required when updating a Workbook.** */ | ||
slug?: string; | ||
@@ -16,0 +16,0 @@ /** A boolean specifying whether or not this sheet is read only. Read only sheets are not editable by end users. */ |
@@ -31,7 +31,2 @@ /** | ||
* }, | ||
* countRecords: { | ||
* valid: 1000, | ||
* error: 0, | ||
* total: 1000 | ||
* }, | ||
* lockedBy: "Example0", | ||
@@ -38,0 +33,0 @@ * updatedAt: new Date("2021-08-31T18:00:00.000Z"), |
@@ -15,4 +15,2 @@ /** | ||
config?: Flatfile.SheetConfig; | ||
/** The amount of records in the Sheet. */ | ||
countRecords?: Flatfile.RecordCounts; | ||
/** The scoped namespace of the Sheet. */ | ||
@@ -19,0 +17,0 @@ namespace?: string; |
@@ -73,3 +73,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -138,3 +138,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -203,3 +203,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -263,3 +263,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -326,3 +326,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -401,3 +401,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -404,0 +404,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -38,3 +38,3 @@ /** | ||
* await flatfile.spaces.create({ | ||
* name: "My First Worbook", | ||
* name: "My First Workbook", | ||
* displayOrder: 1, | ||
@@ -41,0 +41,0 @@ * environmentId: "us_env_YOUR_ID", |
@@ -100,3 +100,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -146,3 +146,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
* await flatfile.spaces.create({ | ||
* name: "My First Worbook", | ||
* name: "My First Workbook", | ||
* displayOrder: 1, | ||
@@ -164,3 +164,3 @@ * environmentId: "us_env_YOUR_ID", | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -224,3 +224,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -283,3 +283,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -352,3 +352,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -414,3 +414,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -474,3 +474,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -529,3 +529,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -532,0 +532,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -79,2 +79,4 @@ /** | ||
guestAuthentication: Flatfile.GuestAuthenticationEnum[]; | ||
/** The ID of the App that space is associated with */ | ||
appId?: Flatfile.AppId; | ||
} |
@@ -10,3 +10,3 @@ /** | ||
* { | ||
* name: "My First Worbook", | ||
* name: "My First Workbook", | ||
* displayOrder: 1, | ||
@@ -13,0 +13,0 @@ * environmentId: "us_env_YOUR_ID", |
@@ -75,3 +75,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -123,3 +123,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -174,3 +174,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -224,3 +224,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -283,3 +283,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -343,3 +343,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -408,3 +408,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -459,3 +459,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -507,3 +507,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -510,0 +510,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -61,3 +61,3 @@ "use strict"; | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -64,0 +64,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -27,4 +27,3 @@ /** | ||
* await flatfile.workbooks.list({ | ||
* spaceId: "us_sp_YOUR_ID", | ||
* includeCounts: true | ||
* spaceId: "us_sp_YOUR_ID" | ||
* }) | ||
@@ -113,3 +112,3 @@ */ | ||
* @example | ||
* await flatfile.workbooks.getWorkbookCommits("us_wb_YOUR_ID", {}) | ||
* await flatfile.workbooks.getWorkbookCommits("us_wb_YOUR_ID") | ||
*/ | ||
@@ -116,0 +115,0 @@ getWorkbookCommits(workbookId: Flatfile.WorkbookId, request?: Flatfile.ListWorkbookCommitsRequest, requestOptions?: Workbooks.RequestOptions): Promise<Flatfile.ListCommitsResponse>; |
@@ -57,4 +57,3 @@ "use strict"; | ||
* await flatfile.workbooks.list({ | ||
* spaceId: "us_sp_YOUR_ID", | ||
* includeCounts: true | ||
* spaceId: "us_sp_YOUR_ID" | ||
* }) | ||
@@ -81,3 +80,3 @@ */ | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -169,3 +168,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -227,3 +226,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -286,3 +285,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -355,3 +354,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -400,3 +399,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
* @example | ||
* await flatfile.workbooks.getWorkbookCommits("us_wb_YOUR_ID", {}) | ||
* await flatfile.workbooks.getWorkbookCommits("us_wb_YOUR_ID") | ||
*/ | ||
@@ -419,3 +418,3 @@ getWorkbookCommits(workbookId, request = {}, requestOptions) { | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -469,3 +468,3 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, | ||
"X-Fern-SDK-Name": "@flatfile/api-preview", | ||
"X-Fern-SDK-Version": "0.0.14", | ||
"X-Fern-SDK-Version": "0.0.15", | ||
"X-Fern-Runtime": core.RUNTIME.type, | ||
@@ -472,0 +471,0 @@ "X-Fern-Runtime-Version": core.RUNTIME.version, |
@@ -8,4 +8,3 @@ /** | ||
* { | ||
* spaceId: "us_sp_YOUR_ID", | ||
* includeCounts: true | ||
* spaceId: "us_sp_YOUR_ID" | ||
* } | ||
@@ -19,5 +18,5 @@ */ | ||
/** | ||
* Include counts for the workbook | ||
* Include counts for the workbook. **DEPRECATED** Counts will return 0s. Use GET /sheets/:sheetId/counts | ||
*/ | ||
includeCounts?: boolean; | ||
} |
@@ -36,7 +36,2 @@ /** | ||
* }, | ||
* countRecords: { | ||
* valid: 1000, | ||
* error: 0, | ||
* total: 1000 | ||
* }, | ||
* lockedBy: "Example0", | ||
@@ -43,0 +38,0 @@ * updatedAt: new Date("2021-08-31T18:00:00.000Z"), |
@@ -37,7 +37,2 @@ /** | ||
* }, | ||
* countRecords: { | ||
* valid: 1000, | ||
* error: 0, | ||
* total: 1000 | ||
* }, | ||
* lockedBy: "Example0", | ||
@@ -44,0 +39,0 @@ * updatedAt: new Date("2021-08-31T18:00:00.000Z"), |
@@ -36,7 +36,2 @@ /** | ||
* }, | ||
* countRecords: { | ||
* valid: 1000, | ||
* error: 0, | ||
* total: 1000 | ||
* }, | ||
* lockedBy: "Example0", | ||
@@ -43,0 +38,0 @@ * updatedAt: new Date("2021-08-31T18:00:00.000Z"), |
@@ -53,3 +53,9 @@ "use strict"; | ||
// and falls back to node-fetch. | ||
const fetchFn = runtime_1.RUNTIME.type === "node" ? require("node-fetch") : typeof fetch == "function" ? fetch : require("node-fetch"); | ||
const fetchFn = runtime_1.RUNTIME.type === "node" | ||
? // `.default` is required due to this issue: | ||
// https://github.com/node-fetch/node-fetch/issues/450#issuecomment-387045223 | ||
require("node-fetch").default | ||
: typeof fetch == "function" | ||
? fetch | ||
: require("node-fetch").default; | ||
const makeRequest = () => __awaiter(this, void 0, void 0, function* () { | ||
@@ -56,0 +62,0 @@ const controller = new AbortController(); |
{ | ||
"name": "@flatfile/api-preview", | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
1981455
50188