From cf995d4628e2c18e2d138464472426888351835f Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Fri, 20 Sep 2024 22:47:32 +0000 Subject: [PATCH] Release 1.9.15 --- package.json | 2 +- src/api/resources/accounts/client/Client.ts | 4 +- src/api/resources/actions/client/Client.ts | 10 +- src/api/resources/agents/client/Client.ts | 26 ++--- src/api/resources/apps/client/Client.ts | 10 +- src/api/resources/assistant/client/Client.ts | 10 +- src/api/resources/auth/client/Client.ts | 10 +- src/api/resources/cells/client/Client.ts | 2 +- src/api/resources/commits/client/Client.ts | 6 +- .../dataRetentionPolicies/client/Client.ts | 10 +- src/api/resources/documents/client/Client.ts | 10 +- .../resources/entitlements/client/Client.ts | 2 +- .../resources/environments/client/Client.ts | 12 +-- src/api/resources/events/client/Client.ts | 10 +- src/api/resources/events/types/EventTopic.ts | 2 + src/api/resources/files/client/Client.ts | 12 +-- src/api/resources/foreigndb/client/Client.ts | 10 +- src/api/resources/guests/client/Client.ts | 20 ++-- src/api/resources/jobs/client/Client.ts | 34 +++--- .../jobs/types/DeleteRecordsJobConfig.ts | 2 + .../jobs/types/FindAndReplaceJobConfig.ts | 2 + src/api/resources/mapping/client/Client.ts | 26 ++--- src/api/resources/property/types/Property.ts | 3 +- src/api/resources/records/client/Client.ts | 10 +- src/api/resources/records/types/CellValue.ts | 1 + src/api/resources/roles/client/Client.ts | 2 +- src/api/resources/secrets/client/Client.ts | 6 +- src/api/resources/sheets/client/Client.ts | 26 ++--- src/api/resources/snapshots/client/Client.ts | 12 +-- .../snapshots/types/SchemaDiffData.ts | 7 ++ .../snapshots/types/SchemaDiffEnum.ts | 11 ++ .../snapshots/types/SchemaDiffRecord.ts | 15 +++ src/api/resources/snapshots/types/Snapshot.ts | 5 + .../snapshots/types/SnapshotResponse.ts | 5 + .../snapshots/types/SnapshotSummary.ts | 2 + .../snapshots/types/SnapshotsResponse.ts | 5 + src/api/resources/snapshots/types/index.ts | 3 + src/api/resources/spaces/client/Client.ts | 102 ++++++++++++++++-- src/api/resources/users/client/Client.ts | 24 ++--- src/api/resources/versions/client/Client.ts | 2 +- src/api/resources/views/client/Client.ts | 10 +- src/api/resources/workbooks/client/Client.ts | 14 +-- .../workbooks/types/WorkbookConfigSettings.ts | 2 + .../resources/events/types/EventTopic.ts | 2 + .../jobs/types/DeleteRecordsJobConfig.ts | 2 + .../jobs/types/FindAndReplaceJobConfig.ts | 2 + .../snapshots/types/SchemaDiffData.ts | 15 +++ .../snapshots/types/SchemaDiffEnum.ts | 14 +++ .../snapshots/types/SchemaDiffRecord.ts | 16 +++ .../snapshots/types/SnapshotSummary.ts | 4 + .../resources/snapshots/types/index.ts | 3 + .../workbooks/types/WorkbookConfigSettings.ts | 2 + yarn.lock | 24 ++--- 53 files changed, 396 insertions(+), 187 deletions(-) create mode 100644 src/api/resources/snapshots/types/SchemaDiffData.ts create mode 100644 src/api/resources/snapshots/types/SchemaDiffEnum.ts create mode 100644 src/api/resources/snapshots/types/SchemaDiffRecord.ts create mode 100644 src/serialization/resources/snapshots/types/SchemaDiffData.ts create mode 100644 src/serialization/resources/snapshots/types/SchemaDiffEnum.ts create mode 100644 src/serialization/resources/snapshots/types/SchemaDiffRecord.ts diff --git a/package.json b/package.json index 9529e672..506c24b5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@flatfile/api", - "version": "1.9.14", + "version": "1.9.15", "private": false, "repository": "https://github.com/FlatFilers/flatfile-node", "main": "./index.js", diff --git a/src/api/resources/accounts/client/Client.ts b/src/api/resources/accounts/client/Client.ts index ae012f07..97e38203 100644 --- a/src/api/resources/accounts/client/Client.ts +++ b/src/api/resources/accounts/client/Client.ts @@ -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.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -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.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/actions/client/Client.ts b/src/api/resources/actions/client/Client.ts index e1da0dfc..ac0430b0 100644 --- a/src/api/resources/actions/client/Client.ts +++ b/src/api/resources/actions/client/Client.ts @@ -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.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -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.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -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.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -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.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -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.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/agents/client/Client.ts b/src/api/resources/agents/client/Client.ts index 83e81cf9..b47e5c5a 100644 --- a/src/api/resources/agents/client/Client.ts +++ b/src/api/resources/agents/client/Client.ts @@ -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.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -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.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -211,7 +211,7 @@ export class Agents { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -294,7 +294,7 @@ export class Agents { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -379,7 +379,7 @@ export class Agents { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -463,7 +463,7 @@ export class Agents { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -558,7 +558,7 @@ export class Agents { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -656,7 +656,7 @@ export class Agents { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -757,7 +757,7 @@ export class Agents { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -849,7 +849,7 @@ export class Agents { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -960,7 +960,7 @@ export class Agents { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1071,7 +1071,7 @@ export class Agents { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1164,7 +1164,7 @@ export class Agents { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/apps/client/Client.ts b/src/api/resources/apps/client/Client.ts index 7ea4025f..75c6bdd9 100644 --- a/src/api/resources/apps/client/Client.ts +++ b/src/api/resources/apps/client/Client.ts @@ -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.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -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.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -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.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -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.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -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.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/assistant/client/Client.ts b/src/api/resources/assistant/client/Client.ts index b525f5db..904a4976 100644 --- a/src/api/resources/assistant/client/Client.ts +++ b/src/api/resources/assistant/client/Client.ts @@ -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.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -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.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -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.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -248,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.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -310,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.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/auth/client/Client.ts b/src/api/resources/auth/client/Client.ts index 6e3a68da..6ecd672e 100644 --- a/src/api/resources/auth/client/Client.ts +++ b/src/api/resources/auth/client/Client.ts @@ -52,7 +52,7 @@ export class Auth { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -143,7 +143,7 @@ export class Auth { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -236,7 +236,7 @@ export class Auth { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -329,7 +329,7 @@ export class Auth { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -409,7 +409,7 @@ export class Auth { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/cells/client/Client.ts b/src/api/resources/cells/client/Client.ts index 8e10b156..35ed0c89 100644 --- a/src/api/resources/cells/client/Client.ts +++ b/src/api/resources/cells/client/Client.ts @@ -105,7 +105,7 @@ export class Cells { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/commits/client/Client.ts b/src/api/resources/commits/client/Client.ts index 772faed5..4c53ae56 100644 --- a/src/api/resources/commits/client/Client.ts +++ b/src/api/resources/commits/client/Client.ts @@ -48,7 +48,7 @@ export class Commits { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -131,7 +131,7 @@ export class Commits { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -214,7 +214,7 @@ export class Commits { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/dataRetentionPolicies/client/Client.ts b/src/api/resources/dataRetentionPolicies/client/Client.ts index f2246c53..a06eb0cc 100644 --- a/src/api/resources/dataRetentionPolicies/client/Client.ts +++ b/src/api/resources/dataRetentionPolicies/client/Client.ts @@ -56,7 +56,7 @@ export class DataRetentionPolicies { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -147,7 +147,7 @@ export class DataRetentionPolicies { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -234,7 +234,7 @@ export class DataRetentionPolicies { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -325,7 +325,7 @@ export class DataRetentionPolicies { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -409,7 +409,7 @@ export class DataRetentionPolicies { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/documents/client/Client.ts b/src/api/resources/documents/client/Client.ts index 39266807..ded3d8d7 100644 --- a/src/api/resources/documents/client/Client.ts +++ b/src/api/resources/documents/client/Client.ts @@ -48,7 +48,7 @@ export class Documents { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -145,7 +145,7 @@ export class Documents { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -235,7 +235,7 @@ export class Documents { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -328,7 +328,7 @@ export class Documents { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -415,7 +415,7 @@ export class Documents { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/entitlements/client/Client.ts b/src/api/resources/entitlements/client/Client.ts index 86c6035c..bea30a94 100644 --- a/src/api/resources/entitlements/client/Client.ts +++ b/src/api/resources/entitlements/client/Client.ts @@ -53,7 +53,7 @@ export class Entitlements { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/environments/client/Client.ts b/src/api/resources/environments/client/Client.ts index 11910468..6f8e7088 100644 --- a/src/api/resources/environments/client/Client.ts +++ b/src/api/resources/environments/client/Client.ts @@ -56,7 +56,7 @@ export class Environments { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -126,7 +126,7 @@ export class Environments { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -195,7 +195,7 @@ export class Environments { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -282,7 +282,7 @@ export class Environments { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -375,7 +375,7 @@ export class Environments { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -436,7 +436,7 @@ export class Environments { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/events/client/Client.ts b/src/api/resources/events/client/Client.ts index b9bdb0b4..8af2c11a 100644 --- a/src/api/resources/events/client/Client.ts +++ b/src/api/resources/events/client/Client.ts @@ -80,7 +80,7 @@ export class Events { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -156,7 +156,7 @@ export class Events { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -235,7 +235,7 @@ export class Events { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -287,7 +287,7 @@ export class Events { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -360,7 +360,7 @@ export class Events { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/events/types/EventTopic.ts b/src/api/resources/events/types/EventTopic.ts index 0ee4a30d..099f1fd2 100644 --- a/src/api/resources/events/types/EventTopic.ts +++ b/src/api/resources/events/types/EventTopic.ts @@ -16,6 +16,7 @@ export type EventTopic = | "space:updated" | "space:deleted" | "space:archived" + | "space:unarchived" | "space:expired" | "space:guestAdded" | "space:guestRemoved" @@ -75,6 +76,7 @@ export const EventTopic = { SpaceUpdated: "space:updated", SpaceDeleted: "space:deleted", SpaceArchived: "space:archived", + SpaceUnarchived: "space:unarchived", SpaceExpired: "space:expired", SpaceGuestAdded: "space:guestAdded", SpaceGuestRemoved: "space:guestRemoved", diff --git a/src/api/resources/files/client/Client.ts b/src/api/resources/files/client/Client.ts index 803115f6..05c9e4ba 100644 --- a/src/api/resources/files/client/Client.ts +++ b/src/api/resources/files/client/Client.ts @@ -61,7 +61,7 @@ export class Files { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -139,7 +139,7 @@ export class Files { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -212,7 +212,7 @@ export class Files { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -291,7 +291,7 @@ export class Files { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -380,7 +380,7 @@ export class Files { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -460,7 +460,7 @@ export class Files { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/foreigndb/client/Client.ts b/src/api/resources/foreigndb/client/Client.ts index 989411ee..2168ee05 100644 --- a/src/api/resources/foreigndb/client/Client.ts +++ b/src/api/resources/foreigndb/client/Client.ts @@ -46,7 +46,7 @@ export class Foreigndb { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -130,7 +130,7 @@ export class Foreigndb { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -213,7 +213,7 @@ export class Foreigndb { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -296,7 +296,7 @@ export class Foreigndb { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -380,7 +380,7 @@ export class Foreigndb { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/guests/client/Client.ts b/src/api/resources/guests/client/Client.ts index dfa4419e..6b3bde25 100644 --- a/src/api/resources/guests/client/Client.ts +++ b/src/api/resources/guests/client/Client.ts @@ -55,7 +55,7 @@ export class Guests { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -128,7 +128,7 @@ export class Guests { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -190,7 +190,7 @@ export class Guests { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -248,7 +248,7 @@ export class Guests { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -313,7 +313,7 @@ export class Guests { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -382,7 +382,7 @@ export class Guests { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -444,7 +444,7 @@ export class Guests { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -539,7 +539,7 @@ export class Guests { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -637,7 +637,7 @@ export class Guests { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -733,7 +733,7 @@ export class Guests { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/jobs/client/Client.ts b/src/api/resources/jobs/client/Client.ts index 66d42380..7eee637e 100644 --- a/src/api/resources/jobs/client/Client.ts +++ b/src/api/resources/jobs/client/Client.ts @@ -88,7 +88,7 @@ export class Jobs { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -144,7 +144,7 @@ export class Jobs { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -197,7 +197,7 @@ export class Jobs { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -253,7 +253,7 @@ export class Jobs { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -306,7 +306,7 @@ export class Jobs { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -364,7 +364,7 @@ export class Jobs { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -425,7 +425,7 @@ export class Jobs { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -524,7 +524,7 @@ export class Jobs { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -584,7 +584,7 @@ export class Jobs { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -653,7 +653,7 @@ export class Jobs { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -718,7 +718,7 @@ export class Jobs { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -792,7 +792,7 @@ export class Jobs { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -870,7 +870,7 @@ export class Jobs { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -938,7 +938,7 @@ export class Jobs { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -997,7 +997,7 @@ export class Jobs { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1055,7 +1055,7 @@ export class Jobs { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1121,7 +1121,7 @@ export class Jobs { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/jobs/types/DeleteRecordsJobConfig.ts b/src/api/resources/jobs/types/DeleteRecordsJobConfig.ts index 3d120d27..ababde42 100644 --- a/src/api/resources/jobs/types/DeleteRecordsJobConfig.ts +++ b/src/api/resources/jobs/types/DeleteRecordsJobConfig.ts @@ -19,4 +19,6 @@ export interface DeleteRecordsJobConfig { sheet: Flatfile.SheetId; /** List of record ids to exclude from deletion */ exceptions?: Flatfile.RecordId[]; + /** If specified, a snapshot will be generated with this label */ + snapshotLabel?: string; } diff --git a/src/api/resources/jobs/types/FindAndReplaceJobConfig.ts b/src/api/resources/jobs/types/FindAndReplaceJobConfig.ts index 21d5ec0b..d667e995 100644 --- a/src/api/resources/jobs/types/FindAndReplaceJobConfig.ts +++ b/src/api/resources/jobs/types/FindAndReplaceJobConfig.ts @@ -23,4 +23,6 @@ export interface FindAndReplaceJobConfig { replace?: Flatfile.CellValueUnion; /** A unique key used to identify a field in a sheet */ fieldKey: string; + /** If specified, a snapshot will be generated with this label */ + snapshotLabel?: string; } diff --git a/src/api/resources/mapping/client/Client.ts b/src/api/resources/mapping/client/Client.ts index 367f6012..13187f59 100644 --- a/src/api/resources/mapping/client/Client.ts +++ b/src/api/resources/mapping/client/Client.ts @@ -45,7 +45,7 @@ export class Mapping { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -129,7 +129,7 @@ export class Mapping { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -267,7 +267,7 @@ export class Mapping { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -341,7 +341,7 @@ export class Mapping { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -425,7 +425,7 @@ export class Mapping { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -509,7 +509,7 @@ export class Mapping { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -593,7 +593,7 @@ export class Mapping { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -678,7 +678,7 @@ export class Mapping { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -767,7 +767,7 @@ export class Mapping { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -856,7 +856,7 @@ export class Mapping { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -951,7 +951,7 @@ export class Mapping { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1036,7 +1036,7 @@ export class Mapping { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1126,7 +1126,7 @@ export class Mapping { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/property/types/Property.ts b/src/api/resources/property/types/Property.ts index 5b31fcb8..76f478a8 100644 --- a/src/api/resources/property/types/Property.ts +++ b/src/api/resources/property/types/Property.ts @@ -42,7 +42,8 @@ import * as Flatfile from "../../.."; * * @example * { - * type: "date" + * type: "date", + * key: "Start date" * } * * @example diff --git a/src/api/resources/records/client/Client.ts b/src/api/resources/records/client/Client.ts index 59cb316f..32856c7e 100644 --- a/src/api/resources/records/client/Client.ts +++ b/src/api/resources/records/client/Client.ts @@ -160,7 +160,7 @@ export class Records { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -272,7 +272,7 @@ export class Records { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -376,7 +376,7 @@ export class Records { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -474,7 +474,7 @@ export class Records { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -592,7 +592,7 @@ export class Records { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/records/types/CellValue.ts b/src/api/resources/records/types/CellValue.ts index 7fb9586a..f754d627 100644 --- a/src/api/resources/records/types/CellValue.ts +++ b/src/api/resources/records/types/CellValue.ts @@ -7,6 +7,7 @@ import * as Flatfile from "../../.."; export interface CellValue { valid?: boolean; messages?: Flatfile.ValidationMessage[]; + /** Deprecated, use record level metadata instead. */ metadata?: Record; value?: Flatfile.CellValueUnion; layer?: string; diff --git a/src/api/resources/roles/client/Client.ts b/src/api/resources/roles/client/Client.ts index ffbef007..0a7717d0 100644 --- a/src/api/resources/roles/client/Client.ts +++ b/src/api/resources/roles/client/Client.ts @@ -40,7 +40,7 @@ export class Roles { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/secrets/client/Client.ts b/src/api/resources/secrets/client/Client.ts index 4b6137f8..1c64cd20 100644 --- a/src/api/resources/secrets/client/Client.ts +++ b/src/api/resources/secrets/client/Client.ts @@ -60,7 +60,7 @@ export class Secrets { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -152,7 +152,7 @@ export class Secrets { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -239,7 +239,7 @@ export class Secrets { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/sheets/client/Client.ts b/src/api/resources/sheets/client/Client.ts index e23624fc..de24368b 100644 --- a/src/api/resources/sheets/client/Client.ts +++ b/src/api/resources/sheets/client/Client.ts @@ -52,7 +52,7 @@ export class Sheets { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -114,7 +114,7 @@ export class Sheets { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -174,7 +174,7 @@ export class Sheets { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -260,7 +260,7 @@ export class Sheets { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -404,7 +404,7 @@ export class Sheets { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -517,7 +517,7 @@ export class Sheets { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -585,7 +585,7 @@ export class Sheets { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -671,7 +671,7 @@ export class Sheets { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -762,7 +762,7 @@ export class Sheets { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -826,7 +826,7 @@ export class Sheets { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -912,7 +912,7 @@ export class Sheets { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1053,7 +1053,7 @@ export class Sheets { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -1125,7 +1125,7 @@ export class Sheets { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/snapshots/client/Client.ts b/src/api/resources/snapshots/client/Client.ts index 7d618c14..add1f3c0 100644 --- a/src/api/resources/snapshots/client/Client.ts +++ b/src/api/resources/snapshots/client/Client.ts @@ -51,7 +51,7 @@ export class Snapshots { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -143,7 +143,7 @@ export class Snapshots { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -236,7 +236,7 @@ export class Snapshots { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -323,7 +323,7 @@ export class Snapshots { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -414,7 +414,7 @@ export class Snapshots { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -525,7 +525,7 @@ export class Snapshots { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/snapshots/types/SchemaDiffData.ts b/src/api/resources/snapshots/types/SchemaDiffData.ts new file mode 100644 index 00000000..a89196cc --- /dev/null +++ b/src/api/resources/snapshots/types/SchemaDiffData.ts @@ -0,0 +1,7 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Flatfile from "../../.."; + +export type SchemaDiffData = Record; diff --git a/src/api/resources/snapshots/types/SchemaDiffEnum.ts b/src/api/resources/snapshots/types/SchemaDiffEnum.ts new file mode 100644 index 00000000..ddabade1 --- /dev/null +++ b/src/api/resources/snapshots/types/SchemaDiffEnum.ts @@ -0,0 +1,11 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +export type SchemaDiffEnum = "added" | "removed" | "unchanged"; + +export const SchemaDiffEnum = { + Added: "added", + Removed: "removed", + Unchanged: "unchanged", +} as const; diff --git a/src/api/resources/snapshots/types/SchemaDiffRecord.ts b/src/api/resources/snapshots/types/SchemaDiffRecord.ts new file mode 100644 index 00000000..508f0d17 --- /dev/null +++ b/src/api/resources/snapshots/types/SchemaDiffRecord.ts @@ -0,0 +1,15 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Flatfile from "../../.."; + +/** + * @example + * { + * "firstName": Flatfile.SchemaDiffEnum.Added, + * "lastName": Flatfile.SchemaDiffEnum.Removed, + * "email": Flatfile.SchemaDiffEnum.Unchanged + * } + */ +export type SchemaDiffRecord = Flatfile.SchemaDiffData; diff --git a/src/api/resources/snapshots/types/Snapshot.ts b/src/api/resources/snapshots/types/Snapshot.ts index 8d2d9b1f..80b77692 100644 --- a/src/api/resources/snapshots/types/Snapshot.ts +++ b/src/api/resources/snapshots/types/Snapshot.ts @@ -25,6 +25,11 @@ import * as Flatfile from "../../.."; * byField: { * "firstName": 1 * } + * }, + * schemaDiff: { + * "firstName": Flatfile.SchemaDiffEnum.Added, + * "lastName": Flatfile.SchemaDiffEnum.Removed, + * "email": Flatfile.SchemaDiffEnum.Unchanged * } * }, * createdAt: new Date("2023-01-01T00:00:00.000Z"), diff --git a/src/api/resources/snapshots/types/SnapshotResponse.ts b/src/api/resources/snapshots/types/SnapshotResponse.ts index ae61dedc..8556e499 100644 --- a/src/api/resources/snapshots/types/SnapshotResponse.ts +++ b/src/api/resources/snapshots/types/SnapshotResponse.ts @@ -26,6 +26,11 @@ import * as Flatfile from "../../.."; * byField: { * "firstName": 1 * } + * }, + * schemaDiff: { + * "firstName": Flatfile.SchemaDiffEnum.Added, + * "lastName": Flatfile.SchemaDiffEnum.Removed, + * "email": Flatfile.SchemaDiffEnum.Unchanged * } * }, * createdAt: new Date("2023-01-01T00:00:00.000Z"), diff --git a/src/api/resources/snapshots/types/SnapshotSummary.ts b/src/api/resources/snapshots/types/SnapshotSummary.ts index a085386e..9e5f6fc2 100644 --- a/src/api/resources/snapshots/types/SnapshotSummary.ts +++ b/src/api/resources/snapshots/types/SnapshotSummary.ts @@ -8,4 +8,6 @@ export interface SnapshotSummary { createdSince: Flatfile.SummarySection; updatedSince: Flatfile.SummarySection; deletedSince: Flatfile.SummarySection; + /** The schema diff between the snapshot and the current sheet schema. */ + schemaDiff: Flatfile.SchemaDiffRecord; } diff --git a/src/api/resources/snapshots/types/SnapshotsResponse.ts b/src/api/resources/snapshots/types/SnapshotsResponse.ts index 131dce46..f8b8877d 100644 --- a/src/api/resources/snapshots/types/SnapshotsResponse.ts +++ b/src/api/resources/snapshots/types/SnapshotsResponse.ts @@ -26,6 +26,11 @@ import * as Flatfile from "../../.."; * byField: { * "firstName": 1 * } + * }, + * schemaDiff: { + * "firstName": Flatfile.SchemaDiffEnum.Added, + * "lastName": Flatfile.SchemaDiffEnum.Removed, + * "email": Flatfile.SchemaDiffEnum.Unchanged * } * }, * createdAt: new Date("2023-01-01T00:00:00.000Z"), diff --git a/src/api/resources/snapshots/types/index.ts b/src/api/resources/snapshots/types/index.ts index 8a052004..b6f54a23 100644 --- a/src/api/resources/snapshots/types/index.ts +++ b/src/api/resources/snapshots/types/index.ts @@ -5,3 +5,6 @@ export * from "./SnapshotSummary"; export * from "./RestoreOptions"; export * from "./SummarySection"; export * from "./ChangeType"; +export * from "./SchemaDiffRecord"; +export * from "./SchemaDiffData"; +export * from "./SchemaDiffEnum"; diff --git a/src/api/resources/spaces/client/Client.ts b/src/api/resources/spaces/client/Client.ts index 7cc108c6..07a8592f 100644 --- a/src/api/resources/spaces/client/Client.ts +++ b/src/api/resources/spaces/client/Client.ts @@ -97,7 +97,7 @@ export class Spaces { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -179,7 +179,7 @@ export class Spaces { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -266,7 +266,7 @@ export class Spaces { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -349,7 +349,7 @@ export class Spaces { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -445,7 +445,7 @@ export class Spaces { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -535,7 +535,7 @@ export class Spaces { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -622,7 +622,93 @@ export class Spaces { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + }); + if (_response.ok) { + return await serializers.Success.parseOrThrow(_response.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }); + } + + if (_response.error.reason === "status-code") { + switch (_response.error.statusCode) { + case 400: + throw new Flatfile.BadRequestError( + await serializers.Errors.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 404: + throw new Flatfile.NotFoundError( + await serializers.Errors.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + 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, + }); + } + } + + /** + * Sets archivedAt timestamp on a space to null + * @throws {@link Flatfile.BadRequestError} + * @throws {@link Flatfile.NotFoundError} + * + * @example + * await flatfile.spaces.unarchiveSpace("us_sp_YOUR_ID") + */ + public async unarchiveSpace( + spaceId: Flatfile.SpaceId, + requestOptions?: Spaces.RequestOptions + ): Promise { + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.FlatfileEnvironment.Production, + `/spaces/${await serializers.SpaceId.jsonOrThrow(spaceId)}/unarchive` + ), + method: "POST", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Disable-Hooks": "true", + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "@flatfile/api", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -705,7 +791,7 @@ export class Spaces { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/users/client/Client.ts b/src/api/resources/users/client/Client.ts index 79491e54..ebfb7705 100644 --- a/src/api/resources/users/client/Client.ts +++ b/src/api/resources/users/client/Client.ts @@ -74,7 +74,7 @@ export class Users { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -146,7 +146,7 @@ export class Users { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -207,7 +207,7 @@ export class Users { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -266,7 +266,7 @@ export class Users { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -325,7 +325,7 @@ export class Users { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -380,7 +380,7 @@ export class Users { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -441,7 +441,7 @@ export class Users { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -536,7 +536,7 @@ export class Users { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -634,7 +634,7 @@ export class Users { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -737,7 +737,7 @@ export class Users { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -800,7 +800,7 @@ export class Users { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -859,7 +859,7 @@ export class Users { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/versions/client/Client.ts b/src/api/resources/versions/client/Client.ts index 3e91b9db..e9993b08 100644 --- a/src/api/resources/versions/client/Client.ts +++ b/src/api/resources/versions/client/Client.ts @@ -40,7 +40,7 @@ export class Versions { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/views/client/Client.ts b/src/api/resources/views/client/Client.ts index 47edeeb7..981717a0 100644 --- a/src/api/resources/views/client/Client.ts +++ b/src/api/resources/views/client/Client.ts @@ -61,7 +61,7 @@ export class Views { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -158,7 +158,7 @@ export class Views { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -242,7 +242,7 @@ export class Views { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -338,7 +338,7 @@ export class Views { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -420,7 +420,7 @@ export class Views { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/workbooks/client/Client.ts b/src/api/resources/workbooks/client/Client.ts index d1c05e97..c6ce9d43 100644 --- a/src/api/resources/workbooks/client/Client.ts +++ b/src/api/resources/workbooks/client/Client.ts @@ -79,7 +79,7 @@ export class Workbooks { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -186,7 +186,7 @@ export class Workbooks { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -263,7 +263,7 @@ export class Workbooks { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -349,7 +349,7 @@ export class Workbooks { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -446,7 +446,7 @@ export class Workbooks { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -538,7 +538,7 @@ export class Workbooks { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -599,7 +599,7 @@ export class Workbooks { "X-Disable-Hooks": "true", "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@flatfile/api", - "X-Fern-SDK-Version": "1.9.14", + "X-Fern-SDK-Version": "1.9.15", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/workbooks/types/WorkbookConfigSettings.ts b/src/api/resources/workbooks/types/WorkbookConfigSettings.ts index 22135afc..2e0ae029 100644 --- a/src/api/resources/workbooks/types/WorkbookConfigSettings.ts +++ b/src/api/resources/workbooks/types/WorkbookConfigSettings.ts @@ -8,4 +8,6 @@ export interface WorkbookConfigSettings { /** Whether to track changes for this workbook. Defaults to false. Tracking changes on a workbook allows for disabling workbook and sheet actions while data in the workbook is still being processed. You must run a recordHook listener if you enable this feature. */ trackChanges?: boolean; + /** When noMappingRedirect is set to true, dragging a file into a sheet will not redirect to the mapping screen. Defaults to false. */ + noMappingRedirect?: boolean; } diff --git a/src/serialization/resources/events/types/EventTopic.ts b/src/serialization/resources/events/types/EventTopic.ts index 266aca73..0e276a11 100644 --- a/src/serialization/resources/events/types/EventTopic.ts +++ b/src/serialization/resources/events/types/EventTopic.ts @@ -15,6 +15,7 @@ export const EventTopic: core.serialization.Schema = + core.serialization.record(core.serialization.string(), SchemaDiffEnum); + +export declare namespace SchemaDiffData { + type Raw = Record; +} diff --git a/src/serialization/resources/snapshots/types/SchemaDiffEnum.ts b/src/serialization/resources/snapshots/types/SchemaDiffEnum.ts new file mode 100644 index 00000000..951612d3 --- /dev/null +++ b/src/serialization/resources/snapshots/types/SchemaDiffEnum.ts @@ -0,0 +1,14 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../.."; +import * as Flatfile from "../../../../api"; +import * as core from "../../../../core"; + +export const SchemaDiffEnum: core.serialization.Schema = + core.serialization.enum_(["added", "removed", "unchanged"]); + +export declare namespace SchemaDiffEnum { + type Raw = "added" | "removed" | "unchanged"; +} diff --git a/src/serialization/resources/snapshots/types/SchemaDiffRecord.ts b/src/serialization/resources/snapshots/types/SchemaDiffRecord.ts new file mode 100644 index 00000000..552168c0 --- /dev/null +++ b/src/serialization/resources/snapshots/types/SchemaDiffRecord.ts @@ -0,0 +1,16 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../.."; +import * as Flatfile from "../../../../api"; +import * as core from "../../../../core"; +import { SchemaDiffData } from "./SchemaDiffData"; +import { SchemaDiffEnum } from "./SchemaDiffEnum"; + +export const SchemaDiffRecord: core.serialization.Schema = + SchemaDiffData; + +export declare namespace SchemaDiffRecord { + type Raw = SchemaDiffData.Raw; +} diff --git a/src/serialization/resources/snapshots/types/SnapshotSummary.ts b/src/serialization/resources/snapshots/types/SnapshotSummary.ts index 9fc80cf4..143acf6d 100644 --- a/src/serialization/resources/snapshots/types/SnapshotSummary.ts +++ b/src/serialization/resources/snapshots/types/SnapshotSummary.ts @@ -6,6 +6,8 @@ import * as serializers from "../../.."; import * as Flatfile from "../../../../api"; import * as core from "../../../../core"; import { SummarySection } from "./SummarySection"; +import { SchemaDiffRecord } from "./SchemaDiffRecord"; +import { SchemaDiffEnum } from "./SchemaDiffEnum"; export const SnapshotSummary: core.serialization.ObjectSchema< serializers.SnapshotSummary.Raw, @@ -14,6 +16,7 @@ export const SnapshotSummary: core.serialization.ObjectSchema< createdSince: SummarySection, updatedSince: SummarySection, deletedSince: SummarySection, + schemaDiff: SchemaDiffRecord, }); export declare namespace SnapshotSummary { @@ -21,5 +24,6 @@ export declare namespace SnapshotSummary { createdSince: SummarySection.Raw; updatedSince: SummarySection.Raw; deletedSince: SummarySection.Raw; + schemaDiff: SchemaDiffRecord.Raw; } } diff --git a/src/serialization/resources/snapshots/types/index.ts b/src/serialization/resources/snapshots/types/index.ts index 8a052004..b6f54a23 100644 --- a/src/serialization/resources/snapshots/types/index.ts +++ b/src/serialization/resources/snapshots/types/index.ts @@ -5,3 +5,6 @@ export * from "./SnapshotSummary"; export * from "./RestoreOptions"; export * from "./SummarySection"; export * from "./ChangeType"; +export * from "./SchemaDiffRecord"; +export * from "./SchemaDiffData"; +export * from "./SchemaDiffEnum"; diff --git a/src/serialization/resources/workbooks/types/WorkbookConfigSettings.ts b/src/serialization/resources/workbooks/types/WorkbookConfigSettings.ts index 600ce05e..efc5de39 100644 --- a/src/serialization/resources/workbooks/types/WorkbookConfigSettings.ts +++ b/src/serialization/resources/workbooks/types/WorkbookConfigSettings.ts @@ -11,10 +11,12 @@ export const WorkbookConfigSettings: core.serialization.ObjectSchema< Flatfile.WorkbookConfigSettings > = core.serialization.object({ trackChanges: core.serialization.boolean().optional(), + noMappingRedirect: core.serialization.boolean().optional(), }); export declare namespace WorkbookConfigSettings { interface Raw { trackChanges?: boolean | null; + noMappingRedirect?: boolean | null; } } diff --git a/yarn.lock b/yarn.lock index 7eded3ff..84355536 100644 --- a/yarn.lock +++ b/yarn.lock @@ -615,9 +615,9 @@ "@types/istanbul-lib-report" "*" "@types/jest@^29.5.5": - version "29.5.12" - resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.5.12.tgz#7f7dc6eb4cf246d2474ed78744b05d06ce025544" - integrity sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw== + version "29.5.13" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.5.13.tgz#8bc571659f401e6a719a7bf0dbcb8b78c71a8adc" + integrity sha512-wd+MVEZCHt23V0/L642O5APvspWply/rGY5BcW4SUETo2UzPU3Z26qr8jC2qxpimI2jjx9h7+2cj2FwIr01bXg== dependencies: expect "^29.0.0" pretty-format "^29.0.0" @@ -631,9 +631,9 @@ form-data "^4.0.0" "@types/node@*": - version "22.5.4" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.5.4.tgz#83f7d1f65bc2ed223bdbf57c7884f1d5a4fa84e8" - integrity sha512-FDuKUJQm/ju9fT/SeX/6+gBzoPzlVCzfzmGkwKvRHQVxi4BntVbyIwf6a4Xn62mrvndLiml6z/UBXIdEVjQLXg== + version "22.5.5" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.5.5.tgz#52f939dd0f65fc552a4ad0b392f3c466cc5d7a44" + integrity sha512-Xjs4y5UPO/CLdzpgR6GirZJx36yScjh73+2NlLlkFRSoQN8B0DpfXPdZGnvVmLRLOsqDpOfTNv7D9trgGhmOIA== dependencies: undici-types "~6.19.2" @@ -876,9 +876,9 @@ camelcase@^6.2.0: integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== caniuse-lite@^1.0.30001646: - version "1.0.30001660" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001660.tgz#31218de3463fabb44d0b7607b652e56edf2e2355" - integrity sha512-GacvNTTuATm26qC74pt+ad1fW15mlQ/zuTzzY1ZoIzECTP8HURDfF43kNxPgf7H1jmelCBQTTbBNxdSXOA7Bqg== + version "1.0.30001662" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001662.tgz#3574b22dfec54a3f3b6787331da1040fe8e763ec" + integrity sha512-sgMUVwLmGseH8ZIrm1d51UbrhqMCH3jvS7gF/M6byuHOnKyLOBL7W8yz5V02OHwgLGA36o/AFhWzzh4uc5aqTA== chalk@^2.4.2: version "2.4.2" @@ -1043,9 +1043,9 @@ ejs@^3.1.10: jake "^10.8.5" electron-to-chromium@^1.5.4: - version "1.5.19" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.19.tgz#aeaa0a076f3f0f0e8db2c57fd10158508f00725a" - integrity sha512-kpLJJi3zxTR1U828P+LIUDZ5ohixyo68/IcYOHLqnbTPr/wdgn4i1ECvmALN9E16JPA6cvCG5UG79gVwVdEK5w== + version "1.5.27" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.27.tgz#5203ce5d6054857d84ba84d3681cbe59132ade78" + integrity sha512-o37j1vZqCoEgBuWWXLHQgTN/KDKe7zwpiY5CPeq2RvUqOyJw9xnrULzZAEVQ5p4h+zjMk7hgtOoPdnLxr7m/jw== emittery@^0.13.1: version "0.13.1"