Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@flatfile/api-preview

Package Overview
Dependencies
Maintainers
27
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flatfile/api-preview - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

api/resources/users/client/requests/UpdateUserRequest.d.ts

22

api/resources/agents/client/Client.js

@@ -65,3 +65,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -134,3 +134,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -195,3 +195,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -251,3 +251,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -308,3 +308,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -366,3 +366,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -429,3 +429,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -491,3 +491,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -569,3 +569,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -647,3 +647,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -710,3 +710,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -713,0 +713,0 @@ contentType: "application/json",

@@ -11,3 +11,4 @@ /**

* compiler: Flatfile.Compiler.Js,
* source: "module.exports = { routeEvent: async (...args) => { console.log(args) } }"
* source: "module.exports = { routeEvent: async (...args) => { console.log(args) } }",
* slug: "default"
* }

@@ -14,0 +15,0 @@ */

@@ -22,2 +22,4 @@ /**

source?: string;
/** The slug of the agent */
slug?: string;
}

@@ -12,3 +12,4 @@ /**

* compiler: Flatfile.Compiler.Js,
* source: "module.exports = { routeEvent: async (...args) => { console.log(args) } }"
* source: "module.exports = { routeEvent: async (...args) => { console.log(args) } }",
* slug: "default"
* }

@@ -15,0 +16,0 @@ * }

@@ -12,3 +12,4 @@ /**

* compiler: Flatfile.Compiler.Js,
* source: "module.exports = { routeEvent: async (...args) => { console.log(args) } }"
* source: "module.exports = { routeEvent: async (...args) => { console.log(args) } }",
* slug: "default"
* }]

@@ -15,0 +16,0 @@ * }

@@ -64,3 +64,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -112,3 +112,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -169,3 +169,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -228,3 +228,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -231,0 +231,0 @@ contentType: "application/json",

@@ -74,3 +74,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -136,3 +136,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -200,3 +200,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -264,3 +264,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -267,0 +267,0 @@ contentType: "application/json",

@@ -104,3 +104,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -107,0 +107,0 @@ contentType: "application/json",

@@ -70,3 +70,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -124,3 +124,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -178,3 +178,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -181,0 +181,0 @@ contentType: "application/json",

@@ -77,3 +77,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -139,3 +139,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -197,3 +197,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -258,3 +258,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -313,3 +313,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -316,0 +316,0 @@ contentType: "application/json",

@@ -70,3 +70,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -137,3 +137,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -195,3 +195,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -255,3 +255,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -310,3 +310,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -313,0 +313,0 @@ contentType: "application/json",

@@ -75,3 +75,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -78,0 +78,0 @@ contentType: "application/json",

@@ -76,3 +76,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -133,3 +133,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -189,3 +189,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -247,3 +247,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -310,3 +310,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -358,3 +358,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -361,0 +361,0 @@ contentType: "application/json",

@@ -94,3 +94,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -157,3 +157,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -207,3 +207,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -249,3 +249,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -307,3 +307,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -310,0 +310,0 @@ contentType: "application/json",

@@ -77,3 +77,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -135,3 +135,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -190,3 +190,3 @@ contentType: "multipart/form-data; boundary=" + _request.getBoundary(),

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -243,3 +243,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -302,3 +302,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -356,3 +356,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -359,0 +359,0 @@ contentType: "application/json",

@@ -76,3 +76,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -136,3 +136,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -185,3 +185,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -233,3 +233,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -284,3 +284,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -338,3 +338,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -387,3 +387,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -444,3 +444,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -502,3 +502,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -564,3 +564,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -567,0 +567,0 @@ contentType: "application/json",

@@ -87,3 +87,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -130,3 +130,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -173,3 +173,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -215,3 +215,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -258,3 +258,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -306,3 +306,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -354,3 +354,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -439,3 +439,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -485,3 +485,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -538,3 +538,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -587,3 +587,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -647,3 +647,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -708,3 +708,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -759,3 +759,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -805,3 +805,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -850,3 +850,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -901,3 +901,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -904,0 +904,0 @@ contentType: "application/json",

@@ -67,3 +67,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -122,3 +122,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -207,3 +207,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -260,3 +260,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -314,3 +314,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -369,3 +369,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -423,3 +423,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -481,3 +481,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -538,3 +538,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -599,3 +599,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -654,3 +654,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -712,3 +712,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -715,0 +715,0 @@ contentType: "application/json",

@@ -145,3 +145,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -226,3 +226,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -300,3 +300,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -368,3 +368,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -418,3 +418,3 @@ contentType: "application/json",

return __awaiter(this, void 0, void 0, function* () {
const { filter, filterField, searchValue, searchField, ids } = request, _body = __rest(request, ["filter", "filterField", "searchValue", "searchField", "ids"]);
const { filter, filterField, searchValue, searchField, ids, q } = request, _body = __rest(request, ["filter", "filterField", "searchValue", "searchField", "ids", "q"]);
const _queryParams = {};

@@ -441,2 +441,5 @@ if (filter != null) {

}
if (q != null) {
_queryParams["q"] = q;
}
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({

@@ -450,3 +453,3 @@ url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.FlatfileEnvironment.Production, `/sheets/${sheetId}/find-replace`),

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -453,0 +456,0 @@ contentType: "application/json",

@@ -24,2 +24,6 @@ /**

ids?: Flatfile.RecordId | Flatfile.RecordId[];
/**
* An FFQL query used to filter the result set
*/
q?: string;
/** A value to find for a given field in a sheet. For exact matches, wrap the value in double quotes ("Bob") */

@@ -26,0 +30,0 @@ find?: Flatfile.CellValueUnion;

@@ -64,3 +64,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -67,0 +67,0 @@ contentType: "application/json",

@@ -80,3 +80,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -143,3 +143,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -201,3 +201,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -204,0 +204,0 @@ contentType: "application/json",

@@ -73,3 +73,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -122,3 +122,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -172,3 +172,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -229,3 +229,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -321,3 +321,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -405,3 +405,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -453,3 +453,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -514,3 +514,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -565,3 +565,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -622,3 +622,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -714,3 +714,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -717,0 +717,0 @@ contentType: "application/json",

@@ -73,3 +73,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -136,3 +136,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -199,3 +199,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -257,3 +257,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -318,3 +318,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -391,3 +391,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -394,0 +394,0 @@ contentType: "application/json",

@@ -100,3 +100,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -161,3 +161,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -219,3 +219,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -276,3 +276,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -343,3 +343,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -403,3 +403,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -461,3 +461,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -464,0 +464,0 @@ contentType: "application/json",

@@ -31,2 +31,6 @@ /**

/**
* Updates a user
*/
update(userId: Flatfile.UserId, request?: Flatfile.UpdateUserRequest, requestOptions?: Users.RequestOptions): Promise<Flatfile.UserResponse>;
/**
* Gets a user

@@ -33,0 +37,0 @@ *

@@ -75,3 +75,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -108,2 +108,47 @@ contentType: "application/json",

/**
* Updates a user
*/
update(userId, request = {}, 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, `users/${userId}`),
method: "PATCH",
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.8",
},
contentType: "application/json",
body: request,
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") {
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,
});
}
});
}
/**
* Gets a user

@@ -125,3 +170,3 @@ *

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -173,3 +218,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -230,3 +275,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -288,3 +333,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -351,3 +396,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -400,3 +445,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -446,3 +491,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -449,0 +494,0 @@ contentType: "application/json",

export { ListUsersRequest } from "./ListUsersRequest";
export { UpdateUserRequest } from "./UpdateUserRequest";
export { ListApiTokensRequest } from "./ListApiTokensRequest";
export { CreateApiTokenRequest } from "./CreateApiTokenRequest";
export { ExchangeTokenRequest } from "./ExchangeTokenRequest";

@@ -61,3 +61,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -64,0 +64,0 @@ contentType: "application/json",

@@ -80,3 +80,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -166,3 +166,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -222,3 +222,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -279,3 +279,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -346,3 +346,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -407,3 +407,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -455,3 +455,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -458,0 +458,0 @@ contentType: "application/json",

@@ -65,3 +65,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -134,3 +134,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -195,3 +195,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -251,3 +251,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -308,3 +308,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -366,3 +366,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -429,3 +429,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -491,3 +491,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -569,3 +569,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -647,3 +647,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -710,3 +710,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -713,0 +713,0 @@ contentType: "application/json",

@@ -11,3 +11,4 @@ /**

* compiler: Flatfile.Compiler.Js,
* source: "module.exports = { routeEvent: async (...args) => { console.log(args) } }"
* source: "module.exports = { routeEvent: async (...args) => { console.log(args) } }",
* slug: "default"
* }

@@ -14,0 +15,0 @@ */

@@ -22,2 +22,4 @@ /**

source?: string;
/** The slug of the agent */
slug?: string;
}

@@ -12,3 +12,4 @@ /**

* compiler: Flatfile.Compiler.Js,
* source: "module.exports = { routeEvent: async (...args) => { console.log(args) } }"
* source: "module.exports = { routeEvent: async (...args) => { console.log(args) } }",
* slug: "default"
* }

@@ -15,0 +16,0 @@ * }

@@ -12,3 +12,4 @@ /**

* compiler: Flatfile.Compiler.Js,
* source: "module.exports = { routeEvent: async (...args) => { console.log(args) } }"
* source: "module.exports = { routeEvent: async (...args) => { console.log(args) } }",
* slug: "default"
* }]

@@ -15,0 +16,0 @@ * }

@@ -64,3 +64,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -112,3 +112,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -169,3 +169,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -228,3 +228,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -231,0 +231,0 @@ contentType: "application/json",

@@ -74,3 +74,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -136,3 +136,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -200,3 +200,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -264,3 +264,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -267,0 +267,0 @@ contentType: "application/json",

@@ -104,3 +104,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -107,0 +107,0 @@ contentType: "application/json",

@@ -70,3 +70,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -124,3 +124,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -178,3 +178,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -181,0 +181,0 @@ contentType: "application/json",

@@ -77,3 +77,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -139,3 +139,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -197,3 +197,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -258,3 +258,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -313,3 +313,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -316,0 +316,0 @@ contentType: "application/json",

@@ -70,3 +70,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -137,3 +137,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -195,3 +195,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -255,3 +255,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -310,3 +310,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -313,0 +313,0 @@ contentType: "application/json",

@@ -75,3 +75,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -78,0 +78,0 @@ contentType: "application/json",

@@ -76,3 +76,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -133,3 +133,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -189,3 +189,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -247,3 +247,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -310,3 +310,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -358,3 +358,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -361,0 +361,0 @@ contentType: "application/json",

@@ -94,3 +94,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -157,3 +157,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -207,3 +207,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -249,3 +249,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -307,3 +307,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -310,0 +310,0 @@ contentType: "application/json",

@@ -77,3 +77,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -135,3 +135,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -190,3 +190,3 @@ contentType: "multipart/form-data; boundary=" + _request.getBoundary(),

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -243,3 +243,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -302,3 +302,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -356,3 +356,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -359,0 +359,0 @@ contentType: "application/json",

@@ -76,3 +76,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -136,3 +136,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -185,3 +185,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -233,3 +233,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -284,3 +284,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -338,3 +338,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -387,3 +387,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -444,3 +444,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -502,3 +502,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -564,3 +564,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -567,0 +567,0 @@ contentType: "application/json",

@@ -87,3 +87,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -130,3 +130,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -173,3 +173,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -215,3 +215,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -258,3 +258,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -306,3 +306,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -354,3 +354,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -439,3 +439,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -485,3 +485,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -538,3 +538,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -587,3 +587,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -647,3 +647,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -708,3 +708,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -759,3 +759,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -805,3 +805,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -850,3 +850,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -901,3 +901,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -904,0 +904,0 @@ contentType: "application/json",

@@ -67,3 +67,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -122,3 +122,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -207,3 +207,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -260,3 +260,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -314,3 +314,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -369,3 +369,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -423,3 +423,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -481,3 +481,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -538,3 +538,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -599,3 +599,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -654,3 +654,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -712,3 +712,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -715,0 +715,0 @@ contentType: "application/json",

@@ -145,3 +145,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -226,3 +226,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -300,3 +300,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -368,3 +368,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -418,3 +418,3 @@ contentType: "application/json",

return __awaiter(this, void 0, void 0, function* () {
const { filter, filterField, searchValue, searchField, ids } = request, _body = __rest(request, ["filter", "filterField", "searchValue", "searchField", "ids"]);
const { filter, filterField, searchValue, searchField, ids, q } = request, _body = __rest(request, ["filter", "filterField", "searchValue", "searchField", "ids", "q"]);
const _queryParams = {};

@@ -441,2 +441,5 @@ if (filter != null) {

}
if (q != null) {
_queryParams["q"] = q;
}
const _response = yield ((_a = this._options.fetcher) !== null && _a !== void 0 ? _a : core.fetcher)({

@@ -450,3 +453,3 @@ url: (0, url_join_1.default)((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.FlatfileEnvironment.Production, `/sheets/${sheetId}/find-replace`),

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -453,0 +456,0 @@ contentType: "application/json",

@@ -24,2 +24,6 @@ /**

ids?: Flatfile.RecordId | Flatfile.RecordId[];
/**
* An FFQL query used to filter the result set
*/
q?: string;
/** A value to find for a given field in a sheet. For exact matches, wrap the value in double quotes ("Bob") */

@@ -26,0 +30,0 @@ find?: Flatfile.CellValueUnion;

@@ -64,3 +64,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -67,0 +67,0 @@ contentType: "application/json",

@@ -80,3 +80,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -143,3 +143,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -201,3 +201,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -204,0 +204,0 @@ contentType: "application/json",

@@ -73,3 +73,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -122,3 +122,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -172,3 +172,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -229,3 +229,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -321,3 +321,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -405,3 +405,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -453,3 +453,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -514,3 +514,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -565,3 +565,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -622,3 +622,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -714,3 +714,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -717,0 +717,0 @@ contentType: "application/json",

@@ -73,3 +73,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -136,3 +136,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -199,3 +199,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -257,3 +257,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -318,3 +318,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -391,3 +391,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -394,0 +394,0 @@ contentType: "application/json",

@@ -100,3 +100,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -161,3 +161,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -219,3 +219,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -276,3 +276,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -343,3 +343,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -403,3 +403,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -461,3 +461,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -464,0 +464,0 @@ contentType: "application/json",

@@ -31,2 +31,6 @@ /**

/**
* Updates a user
*/
update(userId: Flatfile.UserId, request?: Flatfile.UpdateUserRequest, requestOptions?: Users.RequestOptions): Promise<Flatfile.UserResponse>;
/**
* Gets a user

@@ -33,0 +37,0 @@ *

@@ -75,3 +75,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -108,2 +108,47 @@ contentType: "application/json",

/**
* Updates a user
*/
update(userId, request = {}, 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, `users/${userId}`),
method: "PATCH",
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.8",
},
contentType: "application/json",
body: request,
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") {
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,
});
}
});
}
/**
* Gets a user

@@ -125,3 +170,3 @@ *

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -173,3 +218,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -230,3 +275,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -288,3 +333,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -351,3 +396,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -400,3 +445,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -446,3 +491,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -449,0 +494,0 @@ contentType: "application/json",

export { ListUsersRequest } from "./ListUsersRequest";
export { UpdateUserRequest } from "./UpdateUserRequest";
export { ListApiTokensRequest } from "./ListApiTokensRequest";
export { CreateApiTokenRequest } from "./CreateApiTokenRequest";
export { ExchangeTokenRequest } from "./ExchangeTokenRequest";

@@ -61,3 +61,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -64,0 +64,0 @@ contentType: "application/json",

@@ -80,3 +80,3 @@ "use strict";

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -166,3 +166,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -222,3 +222,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -279,3 +279,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -346,3 +346,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -407,3 +407,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -455,3 +455,3 @@ contentType: "application/json",

"X-Fern-SDK-Name": "@flatfile/api-preview",
"X-Fern-SDK-Version": "0.0.7",
"X-Fern-SDK-Version": "0.0.8",
},

@@ -458,0 +458,0 @@ contentType: "application/json",

{
"name": "@flatfile/api-preview",
"version": "0.0.7",
"version": "0.0.8",
"private": false,

@@ -5,0 +5,0 @@ "main": "./index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc