Skip to content

Commit

Permalink
Release 1.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Jul 8, 2024
1 parent 091a02b commit 86651ff
Show file tree
Hide file tree
Showing 58 changed files with 901 additions and 877 deletions.
62 changes: 0 additions & 62 deletions .github/workflows/cl-create.yml

This file was deleted.

7 changes: 0 additions & 7 deletions cl-config.yml

This file was deleted.

27 changes: 12 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@flatfile/api",
"version": "1.9.1",
"version": "1.9.2",
"private": false,
"repository": "https://github.com/FlatFilers/flatfile-node",
"main": "./index.js",
Expand All @@ -12,27 +12,24 @@
"test": "jest"
},
"dependencies": {
"@flatfile/cross-env-config": "0.0.4",
"@types/pako": "2.0.1",
"url-join": "4.0.1",
"form-data": "4.0.0",
"js-base64": "3.7.2",
"node-fetch": "2.7.0",
"pako": "2.0.1",
"qs": "6.11.2",
"url-join": "4.0.1"
"js-base64": "3.7.2",
"@flatfile/cross-env-config": "0.0.4",
"@types/pako": "2.0.1",
"pako": "2.0.1"
},
"devDependencies": {
"@types/jest": "^29.5.5",
"@types/node": "17.0.33",
"@types/node-fetch": "2.6.9",
"@types/qs": "6.9.8",
"@types/url-join": "4.0.1",
"@types/qs": "6.9.8",
"@types/node-fetch": "2.6.9",
"jest": "^29.7.0",
"prettier": "2.7.1",
"@types/jest": "^29.5.5",
"ts-jest": "^29.1.1",
"@types/node": "17.0.33",
"prettier": "2.7.1",
"typescript": "4.6.4"
},
"optionalDependencies": {
"@flatfile/changelog": "^0.0.3"
}
}
}
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.9.1",
"X-Fern-SDK-Version": "1.9.2",
"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.9.1",
"X-Fern-SDK-Version": "1.9.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
22 changes: 11 additions & 11 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.9.1",
"X-Fern-SDK-Version": "1.9.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -125,7 +125,7 @@ export class Agents {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.9.1",
"X-Fern-SDK-Version": "1.9.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -208,7 +208,7 @@ export class Agents {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.9.1",
"X-Fern-SDK-Version": "1.9.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -293,7 +293,7 @@ export class Agents {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.9.1",
"X-Fern-SDK-Version": "1.9.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -388,7 +388,7 @@ export class Agents {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.9.1",
"X-Fern-SDK-Version": "1.9.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -486,7 +486,7 @@ export class Agents {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.9.1",
"X-Fern-SDK-Version": "1.9.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -587,7 +587,7 @@ export class Agents {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.9.1",
"X-Fern-SDK-Version": "1.9.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -679,7 +679,7 @@ export class Agents {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.9.1",
"X-Fern-SDK-Version": "1.9.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -790,7 +790,7 @@ export class Agents {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.9.1",
"X-Fern-SDK-Version": "1.9.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -901,7 +901,7 @@ export class Agents {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.9.1",
"X-Fern-SDK-Version": "1.9.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -994,7 +994,7 @@ export class Agents {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.9.1",
"X-Fern-SDK-Version": "1.9.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
10 changes: 5 additions & 5 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.9.1",
"X-Fern-SDK-Version": "1.9.2",
"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.9.1",
"X-Fern-SDK-Version": "1.9.2",
"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.9.1",
"X-Fern-SDK-Version": "1.9.2",
"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.9.1",
"X-Fern-SDK-Version": "1.9.2",
"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.9.1",
"X-Fern-SDK-Version": "1.9.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
14 changes: 8 additions & 6 deletions src/api/resources/assistant/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export class Assistant {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.9.1",
"X-Fern-SDK-Version": "1.9.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -118,7 +118,7 @@ export class Assistant {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.9.1",
"X-Fern-SDK-Version": "1.9.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -182,7 +182,7 @@ export class Assistant {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.9.1",
"X-Fern-SDK-Version": "1.9.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -228,7 +228,9 @@ export class Assistant {
*
* @example
* await flatfile.assistant.create({
* prompt: "Combine first name and last name into a new column called Full Name"
* prompt: "Combine first name and last name into a new column called Full Name",
* environmentId: "us_env_YOUR_ID",
* spaceId: "us_sp_YOUR_ID"
* })
*/
public async create(
Expand All @@ -246,7 +248,7 @@ export class Assistant {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.9.1",
"X-Fern-SDK-Version": "1.9.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -308,7 +310,7 @@ export class Assistant {
"X-Disable-Hooks": "true",
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@flatfile/api",
"X-Fern-SDK-Version": "1.9.1",
"X-Fern-SDK-Version": "1.9.2",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
4 changes: 4 additions & 0 deletions src/api/resources/assistant/types/Prompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import * as Flatfile from "../../..";
* id: "us_pr_YOUR_ID",
* createdById: "us_usr_YOUR_ID",
* accountId: "us_acc_YOUR_ID",
* environmentId: "us_env_YOUR_ID",
* spaceId: "us_sp_YOUR_ID",
* prompt: "Combine first name and last name into a new column called Full Name",
* createdAt: new Date("2021-01-01T00:00:00.000Z"),
* updatedAt: new Date("2021-01-01T00:00:00.000Z")
Expand All @@ -20,6 +22,8 @@ export interface Prompt {
/** ID of the user/guest who created the prompt */
createdById: string;
accountId: Flatfile.AccountId;
environmentId?: Flatfile.EnvironmentId;
spaceId?: Flatfile.SpaceId;
/** Text for prompts for AI Assist */
prompt: string;
createdAt: Date;
Expand Down
8 changes: 7 additions & 1 deletion src/api/resources/assistant/types/PromptCreate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,20 @@
* This file was auto-generated by Fern from our API Definition.
*/

import * as Flatfile from "../../..";

/**
* Create a prompts
*
* @example
* {
* prompt: "Combine first name and last name into a new column called Full Name"
* prompt: "Combine first name and last name into a new column called Full Name",
* environmentId: "us_env_YOUR_ID",
* spaceId: "us_sp_YOUR_ID"
* }
*/
export interface PromptCreate {
prompt: string;
environmentId: Flatfile.EnvironmentId;
spaceId: Flatfile.SpaceId;
}
2 changes: 2 additions & 0 deletions src/api/resources/assistant/types/PromptResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import * as Flatfile from "../../..";
* id: "us_pr_YOUR_ID",
* createdById: "us_usr_YOUR_ID",
* accountId: "us_acc_YOUR_ID",
* environmentId: "us_env_YOUR_ID",
* spaceId: "us_sp_YOUR_ID",
* prompt: "Combine first name and last name into a new column called Full Name",
* createdAt: new Date("2021-01-01T00:00:00.000Z"),
* updatedAt: new Date("2021-01-01T00:00:00.000Z")
Expand Down
2 changes: 2 additions & 0 deletions src/api/resources/assistant/types/PromptsResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import * as Flatfile from "../../..";
* id: "us_pr_YOUR_ID",
* createdById: "us_usr_YOUR_ID",
* accountId: "us_acc_YOUR_ID",
* environmentId: "us_env_YOUR_ID",
* spaceId: "us_sp_YOUR_ID",
* prompt: "Combine first name and last name into a new column called Full Name",
* createdAt: new Date("2021-01-01T00:00:00.000Z"),
* updatedAt: new Date("2021-01-01T00:00:00.000Z")
Expand Down
Loading

0 comments on commit 86651ff

Please sign in to comment.