Skip to content

Commit

Permalink
Release 1.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Jan 22, 2025
1 parent 286fde2 commit ad59e98
Show file tree
Hide file tree
Showing 124 changed files with 2,883 additions and 335 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@flatfile/api",
"version": "1.12.0",
"version": "1.13.0",
"private": false,
"repository": "https://github.com/FlatFilers/flatfile-node",
"main": "./index.js",
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/accounts/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class Accounts {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -106,7 +106,7 @@ export class Accounts {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
10 changes: 5 additions & 5 deletions src/api/resources/actions/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class Actions {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -96,7 +96,7 @@ export class Actions {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -152,7 +152,7 @@ export class Actions {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -208,7 +208,7 @@ export class Actions {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -264,7 +264,7 @@ export class Actions {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
36 changes: 21 additions & 15 deletions src/api/resources/agents/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class Agents {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -93,7 +93,10 @@ export class Agents {
* body: {
* topics: [Flatfile.EventTopic.WorkbookUpdated],
* compiler: Flatfile.Compiler.Js,
* source: "module.exports = { routeEvent: async (...args) => { console.log(args) } }"
* source: "module.exports = { routeEvent: async (...args) => { console.log(args) } }",
* options: {
* "namespace": "space:blue"
* }
* }
* })
*
Expand All @@ -103,7 +106,10 @@ export class Agents {
* body: {
* topics: [Flatfile.EventTopic.WorkbookUpdated],
* compiler: Flatfile.Compiler.Js,
* source: "module.exports = { routeEvent: async (...args) => { console.log(args) } }"
* source: "module.exports = { routeEvent: async (...args) => { console.log(args) } }",
* options: {
* "namespace": "space:blue"
* }
* }
* })
*/
Expand All @@ -125,7 +131,7 @@ export class Agents {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -211,7 +217,7 @@ export class Agents {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -294,7 +300,7 @@ export class Agents {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -379,7 +385,7 @@ export class Agents {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -463,7 +469,7 @@ export class Agents {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -558,7 +564,7 @@ export class Agents {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -656,7 +662,7 @@ export class Agents {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -757,7 +763,7 @@ export class Agents {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -849,7 +855,7 @@ export class Agents {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -960,7 +966,7 @@ export class Agents {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -1071,7 +1077,7 @@ export class Agents {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -1164,7 +1170,7 @@ export class Agents {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
10 changes: 8 additions & 2 deletions src/api/resources/agents/client/requests/CreateAgentsRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ import * as Flatfile from "../../../..";
* body: {
* topics: [Flatfile.EventTopic.WorkbookUpdated],
* compiler: Flatfile.Compiler.Js,
* source: "module.exports = { routeEvent: async (...args) => { console.log(args) } }"
* source: "module.exports = { routeEvent: async (...args) => { console.log(args) } }",
* options: {
* "namespace": "space:blue"
* }
* }
* }
*
Expand All @@ -21,7 +24,10 @@ import * as Flatfile from "../../../..";
* body: {
* topics: [Flatfile.EventTopic.WorkbookUpdated],
* compiler: Flatfile.Compiler.Js,
* source: "module.exports = { routeEvent: async (...args) => { console.log(args) } }"
* source: "module.exports = { routeEvent: async (...args) => { console.log(args) } }",
* options: {
* "namespace": "space:blue"
* }
* }
* }
*/
Expand Down
5 changes: 4 additions & 1 deletion src/api/resources/agents/types/Agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ import * as Flatfile from "../../..";
* createdAt: new Date("2023-10-30T16:59:45.735Z"),
* updatedAt: new Date("2023-10-30T16:59:45.735Z"),
* accountId: "us_acc_YOUR_ID",
* environmentId: "us_env_YOUR_ID"
* environmentId: "us_env_YOUR_ID",
* options: {
* "namespace": "space:blue"
* }
* }
*/
export interface Agent extends Flatfile.AgentConfig {
Expand Down
7 changes: 6 additions & 1 deletion src/api/resources/agents/types/AgentConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ import * as Flatfile from "../../..";
* {
* topics: [Flatfile.EventTopic.WorkbookUpdated],
* compiler: Flatfile.Compiler.Js,
* source: "module.exports = { routeEvent: async (...args) => { console.log(args) } }"
* source: "module.exports = { routeEvent: async (...args) => { console.log(args) } }",
* options: {
* "namespace": "space:blue"
* }
* }
*/
export interface AgentConfig {
Expand All @@ -25,4 +28,6 @@ export interface AgentConfig {
sourceMap?: string;
/** The slug of the agent */
slug?: string;
/** Options for the agent */
options?: Record<string, any>;
}
5 changes: 4 additions & 1 deletion src/api/resources/agents/types/AgentResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ import * as Flatfile from "../../..";
* createdAt: new Date("2023-10-30T16:59:45.735Z"),
* updatedAt: new Date("2023-10-30T16:59:45.735Z"),
* accountId: "us_acc_YOUR_ID",
* environmentId: "us_env_YOUR_ID"
* environmentId: "us_env_YOUR_ID",
* options: {
* "namespace": "space:blue"
* }
* }
* }
*/
Expand Down
5 changes: 4 additions & 1 deletion src/api/resources/agents/types/ListAgentsResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ import * as Flatfile from "../../..";
* createdAt: new Date("2023-10-30T16:59:45.735Z"),
* updatedAt: new Date("2023-10-30T16:59:45.735Z"),
* accountId: "us_acc_YOUR_ID",
* environmentId: "us_env_YOUR_ID"
* environmentId: "us_env_YOUR_ID",
* options: {
* "namespace": "space:blue"
* }
* }]
* }
*/
Expand Down
24 changes: 12 additions & 12 deletions src/api/resources/apps/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export class Apps {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -98,7 +98,7 @@ export class Apps {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -169,7 +169,7 @@ export class Apps {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -241,7 +241,7 @@ export class Apps {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -303,7 +303,7 @@ export class Apps {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -368,7 +368,7 @@ export class Apps {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -428,7 +428,7 @@ export class Apps {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -490,7 +490,7 @@ export class Apps {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -551,7 +551,7 @@ export class Apps {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -613,7 +613,7 @@ export class Apps {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -675,7 +675,7 @@ export class Apps {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -737,7 +737,7 @@ export class Apps {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.12.0",
"X-Fern-SDK-Version": "1.13.0",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
Loading

0 comments on commit ad59e98

Please sign in to comment.