From 497a59bece06e4a61d3a4a7399e4849470db533b Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Mon, 19 Aug 2024 18:42:16 +0000 Subject: [PATCH] Release 0.0.4 --- package.json | 2 +- reference.md | 67 +++++++- src/api/resources/accounts/client/Client.ts | 12 +- src/api/resources/articles/client/Client.ts | 12 +- .../client/requests/ArticlesCreateRequest.ts | 3 + .../client/requests/ArticlesUpdateRequest.ts | 3 + src/api/resources/artifacts/client/Client.ts | 10 +- .../resources/authConnection/client/Client.ts | 12 +- src/api/resources/authTokens/client/Client.ts | 12 +- .../resources/codeChanges/client/Client.ts | 16 +- .../requests/CodeChangesCreateRequest.ts | 15 ++ .../requests/CodeChangesUpdateRequest.ts | 5 + .../codeChanges/client/requests/index.ts | 1 + .../resources/conversations/client/Client.ts | 12 +- .../resources/customization/client/Client.ts | 30 ++-- src/api/resources/devUsers/client/Client.ts | 14 +- .../resources/engagements/client/Client.ts | 12 +- .../resources/eventSource/client/Client.ts | 8 +- src/api/resources/groups/client/Client.ts | 14 +- src/api/resources/keyring/client/Client.ts | 2 +- src/api/resources/links/client/Client.ts | 8 +- .../resources/notifications/client/Client.ts | 2 +- src/api/resources/operate/client/Client.ts | 12 +- src/api/resources/parts/client/Client.ts | 10 +- .../resources/productUsage/client/Client.ts | 14 +- .../questionAnswers/client/Client.ts | 10 +- src/api/resources/revOrgs/client/Client.ts | 10 +- src/api/resources/revUsers/client/Client.ts | 162 +++++++++++++++++- .../client/requests/RevUsersScanRequest.ts | 42 +++++ .../revUsers/client/requests/index.ts | 1 + src/api/resources/schedules/client/Client.ts | 18 +- src/api/resources/search/client/Client.ts | 4 +- .../serviceAccounts/client/Client.ts | 2 +- src/api/resources/slas/client/Client.ts | 16 +- src/api/resources/snapIns/client/Client.ts | 4 +- .../resources/snapWidgets/client/Client.ts | 2 +- src/api/resources/surveys/client/Client.ts | 12 +- src/api/resources/sysUsers/client/Client.ts | 4 +- src/api/resources/tags/client/Client.ts | 10 +- .../timelineEntries/client/Client.ts | 10 +- src/api/resources/webhooks/client/Client.ts | 10 +- src/api/resources/works/client/Client.ts | 12 +- src/api/types/CodeChangesCreateRequest.ts | 5 - src/api/types/CustomStageSummary.ts | 5 +- src/api/types/CustomStateSummary.ts | 5 +- src/api/types/Issue.ts | 2 + src/api/types/RevUsersScanResponse.ts | 18 ++ src/api/types/index.ts | 2 +- .../client/requests/ArticlesCreateRequest.ts | 8 + .../client/requests/ArticlesUpdateRequest.ts | 8 + .../requests/CodeChangesCreateRequest.ts | 26 +++ .../requests/CodeChangesUpdateRequest.ts | 8 + .../codeChanges/client/requests/index.ts | 1 + .../client/requests/RevUsersScanRequest.ts | 53 ++++++ .../revUsers/client/requests/index.ts | 1 + .../types/CodeChangesCreateRequest.ts | 16 -- src/serialization/types/CustomStageSummary.ts | 10 +- src/serialization/types/CustomStateSummary.ts | 10 +- src/serialization/types/Issue.ts | 2 + .../types/RevUsersScanResponse.ts | 23 +++ src/serialization/types/index.ts | 2 +- yarn.lock | 22 +-- 62 files changed, 644 insertions(+), 220 deletions(-) create mode 100644 src/api/resources/codeChanges/client/requests/CodeChangesCreateRequest.ts create mode 100644 src/api/resources/revUsers/client/requests/RevUsersScanRequest.ts delete mode 100644 src/api/types/CodeChangesCreateRequest.ts create mode 100644 src/api/types/RevUsersScanResponse.ts create mode 100644 src/serialization/resources/codeChanges/client/requests/CodeChangesCreateRequest.ts create mode 100644 src/serialization/resources/revUsers/client/requests/RevUsersScanRequest.ts delete mode 100644 src/serialization/types/CodeChangesCreateRequest.ts create mode 100644 src/serialization/types/RevUsersScanResponse.ts diff --git a/package.json b/package.json index f5e26b0..f37675d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@devrev/api", - "version": "0.0.3", + "version": "0.0.4", "private": false, "repository": "https://github.com/devrev/sdk-typescript", "main": "./index.js", diff --git a/reference.md b/reference.md index b6cc044..f8f31fe 100644 --- a/reference.md +++ b/reference.md @@ -1529,9 +1529,7 @@ Creates a code change object.
```typescript -await client.codeChanges.create({ - key: "value", -}); +await client.codeChanges.create(); ```
@@ -7918,6 +7916,69 @@ await client.revUsers.listPost(); +
client.revUsers.scanPost({ ...params }) -> DevRev.RevUsersScanResponse +
+
+ +#### 📝 Description + +
+
+ +
+
+ +Scans through all Rev users. + +
+
+
+
+ +#### 🔌 Usage + +
+
+ +
+
+ +```typescript +await client.revUsers.scanPost(); +``` + +
+
+
+
+ +#### ⚙️ Parameters + +
+
+ +
+
+ +**request:** `DevRev.RevUsersScanRequest` + +
+
+ +
+
+ +**requestOptions:** `RevUsers.RequestOptions` + +
+
+
+
+ +
+
+
+
client.revUsers.unlinkRevUserFromRevOrg({ ...params }) -> DevRev.UnlinkRevUserFromRevOrgResponse
diff --git a/src/api/resources/accounts/client/Client.ts b/src/api/resources/accounts/client/Client.ts index 812a2ef..2b6e94b 100644 --- a/src/api/resources/accounts/client/Client.ts +++ b/src/api/resources/accounts/client/Client.ts @@ -70,7 +70,7 @@ export class Accounts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -220,7 +220,7 @@ export class Accounts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -367,7 +367,7 @@ export class Accounts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -507,7 +507,7 @@ export class Accounts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -655,7 +655,7 @@ export class Accounts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -806,7 +806,7 @@ export class Accounts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/articles/client/Client.ts b/src/api/resources/articles/client/Client.ts index 55700a4..1960d71 100644 --- a/src/api/resources/articles/client/Client.ts +++ b/src/api/resources/articles/client/Client.ts @@ -66,7 +66,7 @@ export class Articles { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -210,7 +210,7 @@ export class Articles { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -350,7 +350,7 @@ export class Articles { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -500,7 +500,7 @@ export class Articles { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -647,7 +647,7 @@ export class Articles { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -787,7 +787,7 @@ export class Articles { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/articles/client/requests/ArticlesCreateRequest.ts b/src/api/resources/articles/client/requests/ArticlesCreateRequest.ts index a8cbbe3..a2fe3dc 100644 --- a/src/api/resources/articles/client/requests/ArticlesCreateRequest.ts +++ b/src/api/resources/articles/client/requests/ArticlesCreateRequest.ts @@ -20,6 +20,9 @@ export interface ArticlesCreateRequest { articleType?: DevRev.ArticleType; /** The authors of the article. */ authoredBy?: string[]; + /** Application-defined custom fields. */ + customFields?: Record; + customSchemaSpec?: DevRev.CustomSchemaSpec; /** Description for the article. */ description?: string; /** ID of the extracted content artifact. */ diff --git a/src/api/resources/articles/client/requests/ArticlesUpdateRequest.ts b/src/api/resources/articles/client/requests/ArticlesUpdateRequest.ts index 25ab70b..3b37c6b 100644 --- a/src/api/resources/articles/client/requests/ArticlesUpdateRequest.ts +++ b/src/api/resources/articles/client/requests/ArticlesUpdateRequest.ts @@ -15,6 +15,9 @@ export interface ArticlesUpdateRequest { appliesToParts?: DevRev.ArticlesUpdateRequestAppliesToParts; artifacts?: DevRev.ArticlesUpdateRequestArtifacts; authoredBy?: DevRev.ArticlesUpdateRequestAuthoredBy; + /** Application-defined custom fields. */ + customFields?: Record; + customSchemaSpec?: DevRev.CustomSchemaSpec; /** * Updated description of the article object, or unchanged if not * provided. diff --git a/src/api/resources/artifacts/client/Client.ts b/src/api/resources/artifacts/client/Client.ts index 149eeb2..d1c760b 100644 --- a/src/api/resources/artifacts/client/Client.ts +++ b/src/api/resources/artifacts/client/Client.ts @@ -69,7 +69,7 @@ export class Artifacts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -217,7 +217,7 @@ export class Artifacts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -367,7 +367,7 @@ export class Artifacts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -516,7 +516,7 @@ export class Artifacts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -656,7 +656,7 @@ export class Artifacts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/authConnection/client/Client.ts b/src/api/resources/authConnection/client/Client.ts index 09dff93..40fae36 100644 --- a/src/api/resources/authConnection/client/Client.ts +++ b/src/api/resources/authConnection/client/Client.ts @@ -77,7 +77,7 @@ export class AuthConnection { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -221,7 +221,7 @@ export class AuthConnection { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -367,7 +367,7 @@ export class AuthConnection { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -519,7 +519,7 @@ export class AuthConnection { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -663,7 +663,7 @@ export class AuthConnection { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -814,7 +814,7 @@ export class AuthConnection { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/authTokens/client/Client.ts b/src/api/resources/authTokens/client/Client.ts index 5a47283..5096f90 100644 --- a/src/api/resources/authTokens/client/Client.ts +++ b/src/api/resources/authTokens/client/Client.ts @@ -68,7 +68,7 @@ export class AuthTokens { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -217,7 +217,7 @@ export class AuthTokens { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -362,7 +362,7 @@ export class AuthTokens { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -511,7 +511,7 @@ export class AuthTokens { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -660,7 +660,7 @@ export class AuthTokens { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -806,7 +806,7 @@ export class AuthTokens { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/codeChanges/client/Client.ts b/src/api/resources/codeChanges/client/Client.ts index 2b27b19..0e0a256 100644 --- a/src/api/resources/codeChanges/client/Client.ts +++ b/src/api/resources/codeChanges/client/Client.ts @@ -50,12 +50,10 @@ export class CodeChanges { * @throws {@link DevRev.ServiceUnavailableError} * * @example - * await client.codeChanges.create({ - * "key": "value" - * }) + * await client.codeChanges.create() */ public async create( - request: DevRev.CodeChangesCreateRequest, + request: DevRev.CodeChangesCreateRequest = {}, requestOptions?: CodeChanges.RequestOptions ): Promise { const _response = await (this._options.fetcher ?? core.fetcher)({ @@ -68,7 +66,7 @@ export class CodeChanges { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -207,7 +205,7 @@ export class CodeChanges { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -346,7 +344,7 @@ export class CodeChanges { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -483,7 +481,7 @@ export class CodeChanges { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -622,7 +620,7 @@ export class CodeChanges { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/codeChanges/client/requests/CodeChangesCreateRequest.ts b/src/api/resources/codeChanges/client/requests/CodeChangesCreateRequest.ts new file mode 100644 index 0000000..d7a09c6 --- /dev/null +++ b/src/api/resources/codeChanges/client/requests/CodeChangesCreateRequest.ts @@ -0,0 +1,15 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as DevRev from "../../../../index"; + +/** + * @example + * {} + */ +export interface CodeChangesCreateRequest { + /** Application-defined custom fields. */ + customFields?: Record; + customSchemaSpec?: DevRev.CustomSchemaSpec; +} diff --git a/src/api/resources/codeChanges/client/requests/CodeChangesUpdateRequest.ts b/src/api/resources/codeChanges/client/requests/CodeChangesUpdateRequest.ts index 836b7da..63947fb 100644 --- a/src/api/resources/codeChanges/client/requests/CodeChangesUpdateRequest.ts +++ b/src/api/resources/codeChanges/client/requests/CodeChangesUpdateRequest.ts @@ -2,6 +2,8 @@ * This file was auto-generated by Fern from our API Definition. */ +import * as DevRev from "../../../../index"; + /** * @example * { @@ -9,6 +11,9 @@ * } */ export interface CodeChangesUpdateRequest { + /** Application-defined custom fields. */ + customFields?: Record; + customSchemaSpec?: DevRev.CustomSchemaSpec; /** The ID of the code change object to be updated. */ id: string; } diff --git a/src/api/resources/codeChanges/client/requests/index.ts b/src/api/resources/codeChanges/client/requests/index.ts index 6964f56..463d83d 100644 --- a/src/api/resources/codeChanges/client/requests/index.ts +++ b/src/api/resources/codeChanges/client/requests/index.ts @@ -1,3 +1,4 @@ +export { type CodeChangesCreateRequest } from "./CodeChangesCreateRequest"; export { type CodeChangesDeleteRequest } from "./CodeChangesDeleteRequest"; export { type CodeChangesGetRequest } from "./CodeChangesGetRequest"; export { type CodeChangesListRequest } from "./CodeChangesListRequest"; diff --git a/src/api/resources/conversations/client/Client.ts b/src/api/resources/conversations/client/Client.ts index 1981597..fa20136 100644 --- a/src/api/resources/conversations/client/Client.ts +++ b/src/api/resources/conversations/client/Client.ts @@ -68,7 +68,7 @@ export class Conversations { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -211,7 +211,7 @@ export class Conversations { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -358,7 +358,7 @@ export class Conversations { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -498,7 +498,7 @@ export class Conversations { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -645,7 +645,7 @@ export class Conversations { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -785,7 +785,7 @@ export class Conversations { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/customization/client/Client.ts b/src/api/resources/customization/client/Client.ts index 1225dcf..9b36660 100644 --- a/src/api/resources/customization/client/Client.ts +++ b/src/api/resources/customization/client/Client.ts @@ -69,7 +69,7 @@ export class Customization { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -219,7 +219,7 @@ export class Customization { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -366,7 +366,7 @@ export class Customization { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -524,7 +524,7 @@ export class Customization { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -662,7 +662,7 @@ export class Customization { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -809,7 +809,7 @@ export class Customization { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -946,7 +946,7 @@ export class Customization { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -1087,7 +1087,7 @@ export class Customization { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -1227,7 +1227,7 @@ export class Customization { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -1374,7 +1374,7 @@ export class Customization { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -1514,7 +1514,7 @@ export class Customization { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -1664,7 +1664,7 @@ export class Customization { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -1804,7 +1804,7 @@ export class Customization { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -1951,7 +1951,7 @@ export class Customization { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -2091,7 +2091,7 @@ export class Customization { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/devUsers/client/Client.ts b/src/api/resources/devUsers/client/Client.ts index 40f319f..238cd08 100644 --- a/src/api/resources/devUsers/client/Client.ts +++ b/src/api/resources/devUsers/client/Client.ts @@ -69,7 +69,7 @@ export class DevUsers { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -221,7 +221,7 @@ export class DevUsers { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -372,7 +372,7 @@ export class DevUsers { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -519,7 +519,7 @@ export class DevUsers { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -658,7 +658,7 @@ export class DevUsers { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -795,7 +795,7 @@ export class DevUsers { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -934,7 +934,7 @@ export class DevUsers { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/engagements/client/Client.ts b/src/api/resources/engagements/client/Client.ts index 9cf559b..048e81d 100644 --- a/src/api/resources/engagements/client/Client.ts +++ b/src/api/resources/engagements/client/Client.ts @@ -66,7 +66,7 @@ export class Engagements { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -208,7 +208,7 @@ export class Engagements { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -348,7 +348,7 @@ export class Engagements { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -498,7 +498,7 @@ export class Engagements { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -645,7 +645,7 @@ export class Engagements { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -785,7 +785,7 @@ export class Engagements { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/eventSource/client/Client.ts b/src/api/resources/eventSource/client/Client.ts index 605416d..73a0f82 100644 --- a/src/api/resources/eventSource/client/Client.ts +++ b/src/api/resources/eventSource/client/Client.ts @@ -69,7 +69,7 @@ export class EventSource { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -221,7 +221,7 @@ export class EventSource { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -374,7 +374,7 @@ export class EventSource { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -524,7 +524,7 @@ export class EventSource { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/groups/client/Client.ts b/src/api/resources/groups/client/Client.ts index 177dec5..c129c3e 100644 --- a/src/api/resources/groups/client/Client.ts +++ b/src/api/resources/groups/client/Client.ts @@ -69,7 +69,7 @@ export class Groups { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -209,7 +209,7 @@ export class Groups { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -356,7 +356,7 @@ export class Groups { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -497,7 +497,7 @@ export class Groups { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -646,7 +646,7 @@ export class Groups { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -787,7 +787,7 @@ export class Groups { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -937,7 +937,7 @@ export class Groups { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/keyring/client/Client.ts b/src/api/resources/keyring/client/Client.ts index d48c925..61bd6c7 100644 --- a/src/api/resources/keyring/client/Client.ts +++ b/src/api/resources/keyring/client/Client.ts @@ -69,7 +69,7 @@ export class Keyring { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/links/client/Client.ts b/src/api/resources/links/client/Client.ts index 86cf001..31baf50 100644 --- a/src/api/resources/links/client/Client.ts +++ b/src/api/resources/links/client/Client.ts @@ -70,7 +70,7 @@ export class Links { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -210,7 +210,7 @@ export class Links { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -360,7 +360,7 @@ export class Links { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -509,7 +509,7 @@ export class Links { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/notifications/client/Client.ts b/src/api/resources/notifications/client/Client.ts index 4504009..77c4dc7 100644 --- a/src/api/resources/notifications/client/Client.ts +++ b/src/api/resources/notifications/client/Client.ts @@ -68,7 +68,7 @@ export class Notifications { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/operate/client/Client.ts b/src/api/resources/operate/client/Client.ts index c055a63..f73ad70 100644 --- a/src/api/resources/operate/client/Client.ts +++ b/src/api/resources/operate/client/Client.ts @@ -68,7 +68,7 @@ export class Operate { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -208,7 +208,7 @@ export class Operate { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -358,7 +358,7 @@ export class Operate { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -507,7 +507,7 @@ export class Operate { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -644,7 +644,7 @@ export class Operate { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -784,7 +784,7 @@ export class Operate { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/parts/client/Client.ts b/src/api/resources/parts/client/Client.ts index 2e8d513..30c6fdb 100644 --- a/src/api/resources/parts/client/Client.ts +++ b/src/api/resources/parts/client/Client.ts @@ -79,7 +79,7 @@ export class Parts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -219,7 +219,7 @@ export class Parts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -369,7 +369,7 @@ export class Parts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -516,7 +516,7 @@ export class Parts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -661,7 +661,7 @@ export class Parts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/productUsage/client/Client.ts b/src/api/resources/productUsage/client/Client.ts index f268c2b..3f516aa 100644 --- a/src/api/resources/productUsage/client/Client.ts +++ b/src/api/resources/productUsage/client/Client.ts @@ -75,7 +75,7 @@ export class ProductUsage { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -206,7 +206,7 @@ export class ProductUsage { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -358,7 +358,7 @@ export class ProductUsage { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -498,7 +498,7 @@ export class ProductUsage { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -642,7 +642,7 @@ export class ProductUsage { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -789,7 +789,7 @@ export class ProductUsage { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -940,7 +940,7 @@ export class ProductUsage { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/questionAnswers/client/Client.ts b/src/api/resources/questionAnswers/client/Client.ts index 2881ba0..57b71b1 100644 --- a/src/api/resources/questionAnswers/client/Client.ts +++ b/src/api/resources/questionAnswers/client/Client.ts @@ -72,7 +72,7 @@ export class QuestionAnswers { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -212,7 +212,7 @@ export class QuestionAnswers { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -356,7 +356,7 @@ export class QuestionAnswers { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -503,7 +503,7 @@ export class QuestionAnswers { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -643,7 +643,7 @@ export class QuestionAnswers { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/revOrgs/client/Client.ts b/src/api/resources/revOrgs/client/Client.ts index d8656e4..e6df521 100644 --- a/src/api/resources/revOrgs/client/Client.ts +++ b/src/api/resources/revOrgs/client/Client.ts @@ -70,7 +70,7 @@ export class RevOrgs { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -220,7 +220,7 @@ export class RevOrgs { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -368,7 +368,7 @@ export class RevOrgs { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -518,7 +518,7 @@ export class RevOrgs { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -669,7 +669,7 @@ export class RevOrgs { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/revUsers/client/Client.ts b/src/api/resources/revUsers/client/Client.ts index e9f44f5..32c87d9 100644 --- a/src/api/resources/revUsers/client/Client.ts +++ b/src/api/resources/revUsers/client/Client.ts @@ -68,7 +68,7 @@ export class RevUsers { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -218,7 +218,7 @@ export class RevUsers { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -368,7 +368,7 @@ export class RevUsers { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -516,7 +516,7 @@ export class RevUsers { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -665,7 +665,7 @@ export class RevUsers { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -782,6 +782,154 @@ export class RevUsers { } } + /** + * Scans through all Rev users. + * + * @param {DevRev.RevUsersScanRequest} request + * @param {RevUsers.RequestOptions} requestOptions - Request-specific configuration. + * + * @throws {@link DevRev.BadRequestError} + * @throws {@link DevRev.UnauthorizedError} + * @throws {@link DevRev.ForbiddenError} + * @throws {@link DevRev.NotFoundError} + * @throws {@link DevRev.TooManyRequestsError} + * @throws {@link DevRev.InternalServerError} + * @throws {@link DevRev.ServiceUnavailableError} + * + * @example + * await client.revUsers.scanPost() + */ + public async scanPost( + request: DevRev.RevUsersScanRequest = {}, + requestOptions?: RevUsers.RequestOptions + ): Promise { + const _response = await (this._options.fetcher ?? core.fetcher)({ + url: urlJoin( + (await core.Supplier.get(this._options.environment)) ?? environments.DevRevEnvironment.Default, + "rev-users.scan" + ), + method: "POST", + headers: { + Authorization: await this._getAuthorizationHeader(), + "X-Fern-Language": "JavaScript", + "X-Fern-SDK-Name": "@devrev/api", + "X-Fern-SDK-Version": "0.0.4", + "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", + "X-Fern-Runtime": core.RUNTIME.type, + "X-Fern-Runtime-Version": core.RUNTIME.version, + }, + contentType: "application/json", + requestType: "json", + body: serializers.RevUsersScanRequest.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }), + timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000, + maxRetries: requestOptions?.maxRetries, + abortSignal: requestOptions?.abortSignal, + }); + if (_response.ok) { + return serializers.RevUsersScanResponse.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 DevRev.BadRequestError( + serializers.ErrorBadRequest.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 401: + throw new DevRev.UnauthorizedError( + serializers.ErrorUnauthorized.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 403: + throw new DevRev.ForbiddenError( + serializers.ErrorForbidden.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 404: + throw new DevRev.NotFoundError( + serializers.ErrorNotFound.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 429: + throw new DevRev.TooManyRequestsError( + serializers.ErrorTooManyRequests.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 500: + throw new DevRev.InternalServerError( + serializers.ErrorInternalServerError.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + case 503: + throw new DevRev.ServiceUnavailableError( + serializers.ErrorServiceUnavailable.parseOrThrow(_response.error.body, { + unrecognizedObjectKeys: "passthrough", + allowUnrecognizedUnionMembers: true, + allowUnrecognizedEnumValues: true, + skipValidation: true, + breadcrumbsPrefix: ["response"], + }) + ); + default: + throw new errors.DevRevError({ + statusCode: _response.error.statusCode, + body: _response.error.body, + }); + } + } + + switch (_response.error.reason) { + case "non-json": + throw new errors.DevRevError({ + statusCode: _response.error.statusCode, + body: _response.error.rawBody, + }); + case "timeout": + throw new errors.DevRevTimeoutError(); + case "unknown": + throw new errors.DevRevError({ + message: _response.error.errorMessage, + }); + } + } + /** * Unlinks a rev user from a rev org. * @@ -813,7 +961,7 @@ export class RevUsers { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -964,7 +1112,7 @@ export class RevUsers { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/revUsers/client/requests/RevUsersScanRequest.ts b/src/api/resources/revUsers/client/requests/RevUsersScanRequest.ts new file mode 100644 index 0000000..bc90871 --- /dev/null +++ b/src/api/resources/revUsers/client/requests/RevUsersScanRequest.ts @@ -0,0 +1,42 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as DevRev from "../../../../index"; + +/** + * @example + * {} + */ +export interface RevUsersScanRequest { + /** + * Filters for Rev users that were created by the specified user(s). + * + */ + createdBy?: string[]; + createdDate?: DevRev.DateTimeFilter; + /** + * The cursor to resume iteration, otherwise the beginning if not + * provided. + * + */ + cursor?: string; + /** Filters for custom fields. */ + customFields?: Record; + /** List of emails of Rev users to be filtered. */ + email?: string[]; + /** List of external refs to filter Rev users for. */ + externalRef?: string[]; + /** Value of is_verified field to filter the Rev users. */ + isVerified?: boolean; + modifiedDate?: DevRev.DateTimeFilter; + /** + * List of phone numbers, in E.164 format, to filter Rev users on. + * + */ + phoneNumbers?: string[]; + /** List of IDs of Rev organizations to be filtered. */ + revOrg?: string[]; + /** List of tags to be filtered. */ + tags?: string[]; +} diff --git a/src/api/resources/revUsers/client/requests/index.ts b/src/api/resources/revUsers/client/requests/index.ts index 5b1c752..9fc57aa 100644 --- a/src/api/resources/revUsers/client/requests/index.ts +++ b/src/api/resources/revUsers/client/requests/index.ts @@ -3,5 +3,6 @@ export { type RevUsersDeleteRequest } from "./RevUsersDeleteRequest"; export { type RevUsersGetRequest } from "./RevUsersGetRequest"; export { type LinkRevUserToRevOrgRequest } from "./LinkRevUserToRevOrgRequest"; export { type RevUsersListRequest } from "./RevUsersListRequest"; +export { type RevUsersScanRequest } from "./RevUsersScanRequest"; export { type UnlinkRevUserFromRevOrgRequest } from "./UnlinkRevUserFromRevOrgRequest"; export { type RevUsersUpdateRequest } from "./RevUsersUpdateRequest"; diff --git a/src/api/resources/schedules/client/Client.ts b/src/api/resources/schedules/client/Client.ts index 1e445b5..6bfab4f 100644 --- a/src/api/resources/schedules/client/Client.ts +++ b/src/api/resources/schedules/client/Client.ts @@ -74,7 +74,7 @@ export class Schedules { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -215,7 +215,7 @@ export class Schedules { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -355,7 +355,7 @@ export class Schedules { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -498,7 +498,7 @@ export class Schedules { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -637,7 +637,7 @@ export class Schedules { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -774,7 +774,7 @@ export class Schedules { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -915,7 +915,7 @@ export class Schedules { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -1055,7 +1055,7 @@ export class Schedules { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -1195,7 +1195,7 @@ export class Schedules { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/search/client/Client.ts b/src/api/resources/search/client/Client.ts index a9be8e8..5431465 100644 --- a/src/api/resources/search/client/Client.ts +++ b/src/api/resources/search/client/Client.ts @@ -68,7 +68,7 @@ export class Search { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -208,7 +208,7 @@ export class Search { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/serviceAccounts/client/Client.ts b/src/api/resources/serviceAccounts/client/Client.ts index 06e6548..1a62a6d 100644 --- a/src/api/resources/serviceAccounts/client/Client.ts +++ b/src/api/resources/serviceAccounts/client/Client.ts @@ -69,7 +69,7 @@ export class ServiceAccounts { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/slas/client/Client.ts b/src/api/resources/slas/client/Client.ts index 0bfc986..fa1d68d 100644 --- a/src/api/resources/slas/client/Client.ts +++ b/src/api/resources/slas/client/Client.ts @@ -66,7 +66,7 @@ export class Slas { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -206,7 +206,7 @@ export class Slas { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -356,7 +356,7 @@ export class Slas { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -505,7 +505,7 @@ export class Slas { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -645,7 +645,7 @@ export class Slas { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -792,7 +792,7 @@ export class Slas { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -933,7 +933,7 @@ export class Slas { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -1083,7 +1083,7 @@ export class Slas { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/snapIns/client/Client.ts b/src/api/resources/snapIns/client/Client.ts index a80518c..f770192 100644 --- a/src/api/resources/snapIns/client/Client.ts +++ b/src/api/resources/snapIns/client/Client.ts @@ -69,7 +69,7 @@ export class SnapIns { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -209,7 +209,7 @@ export class SnapIns { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/snapWidgets/client/Client.ts b/src/api/resources/snapWidgets/client/Client.ts index a2ee691..38958d8 100644 --- a/src/api/resources/snapWidgets/client/Client.ts +++ b/src/api/resources/snapWidgets/client/Client.ts @@ -109,7 +109,7 @@ export class SnapWidgets { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/surveys/client/Client.ts b/src/api/resources/surveys/client/Client.ts index 47d7dbc..09eb2a3 100644 --- a/src/api/resources/surveys/client/Client.ts +++ b/src/api/resources/surveys/client/Client.ts @@ -69,7 +69,7 @@ export class Surveys { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -209,7 +209,7 @@ export class Surveys { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -356,7 +356,7 @@ export class Surveys { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -493,7 +493,7 @@ export class Surveys { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -637,7 +637,7 @@ export class Surveys { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -777,7 +777,7 @@ export class Surveys { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/sysUsers/client/Client.ts b/src/api/resources/sysUsers/client/Client.ts index 7edd15a..cb6deb6 100644 --- a/src/api/resources/sysUsers/client/Client.ts +++ b/src/api/resources/sysUsers/client/Client.ts @@ -66,7 +66,7 @@ export class SysUsers { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -206,7 +206,7 @@ export class SysUsers { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/tags/client/Client.ts b/src/api/resources/tags/client/Client.ts index c64b475..ef43bd3 100644 --- a/src/api/resources/tags/client/Client.ts +++ b/src/api/resources/tags/client/Client.ts @@ -69,7 +69,7 @@ export class Tags { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -209,7 +209,7 @@ export class Tags { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -359,7 +359,7 @@ export class Tags { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -506,7 +506,7 @@ export class Tags { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -646,7 +646,7 @@ export class Tags { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/timelineEntries/client/Client.ts b/src/api/resources/timelineEntries/client/Client.ts index 9786c77..0a54bf3 100644 --- a/src/api/resources/timelineEntries/client/Client.ts +++ b/src/api/resources/timelineEntries/client/Client.ts @@ -81,7 +81,7 @@ export class TimelineEntries { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -220,7 +220,7 @@ export class TimelineEntries { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -361,7 +361,7 @@ export class TimelineEntries { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -511,7 +511,7 @@ export class TimelineEntries { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -666,7 +666,7 @@ export class TimelineEntries { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/webhooks/client/Client.ts b/src/api/resources/webhooks/client/Client.ts index b6315e9..cc9eaa6 100644 --- a/src/api/resources/webhooks/client/Client.ts +++ b/src/api/resources/webhooks/client/Client.ts @@ -68,7 +68,7 @@ export class Webhooks { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -208,7 +208,7 @@ export class Webhooks { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -358,7 +358,7 @@ export class Webhooks { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -507,7 +507,7 @@ export class Webhooks { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -647,7 +647,7 @@ export class Webhooks { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/resources/works/client/Client.ts b/src/api/resources/works/client/Client.ts index e0dcac8..d27bc94 100644 --- a/src/api/resources/works/client/Client.ts +++ b/src/api/resources/works/client/Client.ts @@ -104,7 +104,7 @@ export class Works { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -244,7 +244,7 @@ export class Works { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -391,7 +391,7 @@ export class Works { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -531,7 +531,7 @@ export class Works { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -678,7 +678,7 @@ export class Works { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, @@ -850,7 +850,7 @@ export class Works { Authorization: await this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@devrev/api", - "X-Fern-SDK-Version": "0.0.3", + "X-Fern-SDK-Version": "0.0.4", "x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, diff --git a/src/api/types/CodeChangesCreateRequest.ts b/src/api/types/CodeChangesCreateRequest.ts deleted file mode 100644 index 7a243bf..0000000 --- a/src/api/types/CodeChangesCreateRequest.ts +++ /dev/null @@ -1,5 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -export type CodeChangesCreateRequest = Record; diff --git a/src/api/types/CustomStageSummary.ts b/src/api/types/CustomStageSummary.ts index 403d76c..2bc8752 100644 --- a/src/api/types/CustomStageSummary.ts +++ b/src/api/types/CustomStageSummary.ts @@ -4,4 +4,7 @@ import * as DevRev from "../index"; -export type CustomStageSummary = DevRev.AtomBaseSummary; +export interface CustomStageSummary extends DevRev.AtomBaseSummary { + /** The human readable name of the state. */ + name?: string; +} diff --git a/src/api/types/CustomStateSummary.ts b/src/api/types/CustomStateSummary.ts index f1711e4..9ee693b 100644 --- a/src/api/types/CustomStateSummary.ts +++ b/src/api/types/CustomStateSummary.ts @@ -4,4 +4,7 @@ import * as DevRev from "../index"; -export type CustomStateSummary = DevRev.AtomBaseSummary; +export interface CustomStateSummary extends DevRev.AtomBaseSummary { + /** The human readable name of the state. */ + name?: string; +} diff --git a/src/api/types/Issue.ts b/src/api/types/Issue.ts index aaf472d..16f9ca9 100644 --- a/src/api/types/Issue.ts +++ b/src/api/types/Issue.ts @@ -5,6 +5,8 @@ import * as DevRev from "../index"; export interface Issue extends DevRev.WorkBase { + /** Actual start date for the object. */ + actualStartDate?: Date; /** Parts associated based on git events. */ developedWith?: DevRev.PartSummary[]; priority?: DevRev.IssuePriority; diff --git a/src/api/types/RevUsersScanResponse.ts b/src/api/types/RevUsersScanResponse.ts new file mode 100644 index 0000000..81a8c1a --- /dev/null +++ b/src/api/types/RevUsersScanResponse.ts @@ -0,0 +1,18 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as DevRev from "../index"; + +/** + * The response to scanning Rev users. + */ +export interface RevUsersScanResponse { + /** + * The cursor that should be used to resume iteration, otherwise if + * not provided, then iteration has completed. + */ + nextCursor?: string; + /** The iterated Rev users. */ + revUsers: DevRev.RevUser[]; +} diff --git a/src/api/types/index.ts b/src/api/types/index.ts index 407483f..c76368d 100644 --- a/src/api/types/index.ts +++ b/src/api/types/index.ts @@ -90,7 +90,6 @@ export * from "./ClientContextOs"; export * from "./ClientContextPage"; export * from "./CodeChange"; export * from "./CodeChangeSource"; -export * from "./CodeChangesCreateRequest"; export * from "./CodeChangesCreateResponse"; export * from "./CodeChangesDeleteResponse"; export * from "./CodeChangesGetResponse"; @@ -387,6 +386,7 @@ export * from "./RevUsersCreateResponse"; export * from "./RevUsersDeleteResponse"; export * from "./RevUsersGetResponse"; export * from "./RevUsersListResponse"; +export * from "./RevUsersScanResponse"; export * from "./RevUsersUpdateRequestArtifacts"; export * from "./RevUsersUpdateRequestCustomSchemaFragments"; export * from "./RevUsersUpdateResponse"; diff --git a/src/serialization/resources/articles/client/requests/ArticlesCreateRequest.ts b/src/serialization/resources/articles/client/requests/ArticlesCreateRequest.ts index ab2228e..5766398 100644 --- a/src/serialization/resources/articles/client/requests/ArticlesCreateRequest.ts +++ b/src/serialization/resources/articles/client/requests/ArticlesCreateRequest.ts @@ -7,6 +7,7 @@ import * as DevRev from "../../../../../api/index"; import * as core from "../../../../../core"; import { AccessLevel } from "../../../../types/AccessLevel"; import { ArticleType } from "../../../../types/ArticleType"; +import { CustomSchemaSpec } from "../../../../types/CustomSchemaSpec"; import { ArticlesCreateRequestResource } from "../../../../types/ArticlesCreateRequestResource"; import { SetSharedWithMembership } from "../../../../types/SetSharedWithMembership"; import { ArticleStatus } from "../../../../types/ArticleStatus"; @@ -26,6 +27,11 @@ export const ArticlesCreateRequest: core.serialization.Schema< "authored_by", core.serialization.list(core.serialization.string()).optional() ), + customFields: core.serialization.property( + "custom_fields", + core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional() + ), + customSchemaSpec: core.serialization.property("custom_schema_spec", CustomSchemaSpec.optional()), description: core.serialization.string().optional(), extractedContent: core.serialization.property( "extracted_content", @@ -49,6 +55,8 @@ export declare namespace ArticlesCreateRequest { applies_to_parts: string[]; article_type?: ArticleType.Raw | null; authored_by?: string[] | null; + custom_fields?: Record | null; + custom_schema_spec?: CustomSchemaSpec.Raw | null; description?: string | null; extracted_content?: string[] | null; language?: string | null; diff --git a/src/serialization/resources/articles/client/requests/ArticlesUpdateRequest.ts b/src/serialization/resources/articles/client/requests/ArticlesUpdateRequest.ts index 1d7c343..d66f1b9 100644 --- a/src/serialization/resources/articles/client/requests/ArticlesUpdateRequest.ts +++ b/src/serialization/resources/articles/client/requests/ArticlesUpdateRequest.ts @@ -9,6 +9,7 @@ import { AccessLevel } from "../../../../types/AccessLevel"; import { ArticlesUpdateRequestAppliesToParts } from "../../../../types/ArticlesUpdateRequestAppliesToParts"; import { ArticlesUpdateRequestArtifacts } from "../../../../types/ArticlesUpdateRequestArtifacts"; import { ArticlesUpdateRequestAuthoredBy } from "../../../../types/ArticlesUpdateRequestAuthoredBy"; +import { CustomSchemaSpec } from "../../../../types/CustomSchemaSpec"; import { ArticlesUpdateRequestExtractedContent } from "../../../../types/ArticlesUpdateRequestExtractedContent"; import { ArticlesUpdateRequestOwnedBy } from "../../../../types/ArticlesUpdateRequestOwnedBy"; import { ArticlesUpdateRequestReorder } from "../../../../types/ArticlesUpdateRequestReorder"; @@ -24,6 +25,11 @@ export const ArticlesUpdateRequest: core.serialization.Schema< appliesToParts: core.serialization.property("applies_to_parts", ArticlesUpdateRequestAppliesToParts.optional()), artifacts: ArticlesUpdateRequestArtifacts.optional(), authoredBy: core.serialization.property("authored_by", ArticlesUpdateRequestAuthoredBy.optional()), + customFields: core.serialization.property( + "custom_fields", + core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional() + ), + customSchemaSpec: core.serialization.property("custom_schema_spec", CustomSchemaSpec.optional()), description: core.serialization.string().optional(), extractedContent: core.serialization.property( "extracted_content", @@ -48,6 +54,8 @@ export declare namespace ArticlesUpdateRequest { applies_to_parts?: ArticlesUpdateRequestAppliesToParts.Raw | null; artifacts?: ArticlesUpdateRequestArtifacts.Raw | null; authored_by?: ArticlesUpdateRequestAuthoredBy.Raw | null; + custom_fields?: Record | null; + custom_schema_spec?: CustomSchemaSpec.Raw | null; description?: string | null; extracted_content?: ArticlesUpdateRequestExtractedContent.Raw | null; id: string; diff --git a/src/serialization/resources/codeChanges/client/requests/CodeChangesCreateRequest.ts b/src/serialization/resources/codeChanges/client/requests/CodeChangesCreateRequest.ts new file mode 100644 index 0000000..28a46da --- /dev/null +++ b/src/serialization/resources/codeChanges/client/requests/CodeChangesCreateRequest.ts @@ -0,0 +1,26 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../../index"; +import * as DevRev from "../../../../../api/index"; +import * as core from "../../../../../core"; +import { CustomSchemaSpec } from "../../../../types/CustomSchemaSpec"; + +export const CodeChangesCreateRequest: core.serialization.Schema< + serializers.CodeChangesCreateRequest.Raw, + DevRev.CodeChangesCreateRequest +> = core.serialization.object({ + customFields: core.serialization.property( + "custom_fields", + core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional() + ), + customSchemaSpec: core.serialization.property("custom_schema_spec", CustomSchemaSpec.optional()), +}); + +export declare namespace CodeChangesCreateRequest { + interface Raw { + custom_fields?: Record | null; + custom_schema_spec?: CustomSchemaSpec.Raw | null; + } +} diff --git a/src/serialization/resources/codeChanges/client/requests/CodeChangesUpdateRequest.ts b/src/serialization/resources/codeChanges/client/requests/CodeChangesUpdateRequest.ts index 01b4cca..8bfc83f 100644 --- a/src/serialization/resources/codeChanges/client/requests/CodeChangesUpdateRequest.ts +++ b/src/serialization/resources/codeChanges/client/requests/CodeChangesUpdateRequest.ts @@ -5,16 +5,24 @@ import * as serializers from "../../../../index"; import * as DevRev from "../../../../../api/index"; import * as core from "../../../../../core"; +import { CustomSchemaSpec } from "../../../../types/CustomSchemaSpec"; export const CodeChangesUpdateRequest: core.serialization.Schema< serializers.CodeChangesUpdateRequest.Raw, DevRev.CodeChangesUpdateRequest > = core.serialization.object({ + customFields: core.serialization.property( + "custom_fields", + core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional() + ), + customSchemaSpec: core.serialization.property("custom_schema_spec", CustomSchemaSpec.optional()), id: core.serialization.string(), }); export declare namespace CodeChangesUpdateRequest { interface Raw { + custom_fields?: Record | null; + custom_schema_spec?: CustomSchemaSpec.Raw | null; id: string; } } diff --git a/src/serialization/resources/codeChanges/client/requests/index.ts b/src/serialization/resources/codeChanges/client/requests/index.ts index a9223c9..de5b6c6 100644 --- a/src/serialization/resources/codeChanges/client/requests/index.ts +++ b/src/serialization/resources/codeChanges/client/requests/index.ts @@ -1,3 +1,4 @@ +export { CodeChangesCreateRequest } from "./CodeChangesCreateRequest"; export { CodeChangesDeleteRequest } from "./CodeChangesDeleteRequest"; export { CodeChangesGetRequest } from "./CodeChangesGetRequest"; export { CodeChangesListRequest } from "./CodeChangesListRequest"; diff --git a/src/serialization/resources/revUsers/client/requests/RevUsersScanRequest.ts b/src/serialization/resources/revUsers/client/requests/RevUsersScanRequest.ts new file mode 100644 index 0000000..45293ef --- /dev/null +++ b/src/serialization/resources/revUsers/client/requests/RevUsersScanRequest.ts @@ -0,0 +1,53 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../../index"; +import * as DevRev from "../../../../../api/index"; +import * as core from "../../../../../core"; +import { DateTimeFilter } from "../../../../types/DateTimeFilter"; + +export const RevUsersScanRequest: core.serialization.Schema< + serializers.RevUsersScanRequest.Raw, + DevRev.RevUsersScanRequest +> = core.serialization.object({ + createdBy: core.serialization.property( + "created_by", + core.serialization.list(core.serialization.string()).optional() + ), + createdDate: core.serialization.property("created_date", DateTimeFilter.optional()), + cursor: core.serialization.string().optional(), + customFields: core.serialization.property( + "custom_fields", + core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional() + ), + email: core.serialization.list(core.serialization.string()).optional(), + externalRef: core.serialization.property( + "external_ref", + core.serialization.list(core.serialization.string()).optional() + ), + isVerified: core.serialization.property("is_verified", core.serialization.boolean().optional()), + modifiedDate: core.serialization.property("modified_date", DateTimeFilter.optional()), + phoneNumbers: core.serialization.property( + "phone_numbers", + core.serialization.list(core.serialization.string()).optional() + ), + revOrg: core.serialization.property("rev_org", core.serialization.list(core.serialization.string()).optional()), + tags: core.serialization.list(core.serialization.string()).optional(), +}); + +export declare namespace RevUsersScanRequest { + interface Raw { + created_by?: string[] | null; + created_date?: DateTimeFilter.Raw | null; + cursor?: string | null; + custom_fields?: Record | null; + email?: string[] | null; + external_ref?: string[] | null; + is_verified?: boolean | null; + modified_date?: DateTimeFilter.Raw | null; + phone_numbers?: string[] | null; + rev_org?: string[] | null; + tags?: string[] | null; + } +} diff --git a/src/serialization/resources/revUsers/client/requests/index.ts b/src/serialization/resources/revUsers/client/requests/index.ts index d8d0a1d..2b54e57 100644 --- a/src/serialization/resources/revUsers/client/requests/index.ts +++ b/src/serialization/resources/revUsers/client/requests/index.ts @@ -3,5 +3,6 @@ export { RevUsersDeleteRequest } from "./RevUsersDeleteRequest"; export { RevUsersGetRequest } from "./RevUsersGetRequest"; export { LinkRevUserToRevOrgRequest } from "./LinkRevUserToRevOrgRequest"; export { RevUsersListRequest } from "./RevUsersListRequest"; +export { RevUsersScanRequest } from "./RevUsersScanRequest"; export { UnlinkRevUserFromRevOrgRequest } from "./UnlinkRevUserFromRevOrgRequest"; export { RevUsersUpdateRequest } from "./RevUsersUpdateRequest"; diff --git a/src/serialization/types/CodeChangesCreateRequest.ts b/src/serialization/types/CodeChangesCreateRequest.ts deleted file mode 100644 index 551f881..0000000 --- a/src/serialization/types/CodeChangesCreateRequest.ts +++ /dev/null @@ -1,16 +0,0 @@ -/** - * This file was auto-generated by Fern from our API Definition. - */ - -import * as serializers from "../index"; -import * as DevRev from "../../api/index"; -import * as core from "../../core"; - -export const CodeChangesCreateRequest: core.serialization.Schema< - serializers.CodeChangesCreateRequest.Raw, - DevRev.CodeChangesCreateRequest -> = core.serialization.record(core.serialization.string(), core.serialization.unknown()); - -export declare namespace CodeChangesCreateRequest { - type Raw = Record; -} diff --git a/src/serialization/types/CustomStageSummary.ts b/src/serialization/types/CustomStageSummary.ts index 6d8b97a..8fa8fac 100644 --- a/src/serialization/types/CustomStageSummary.ts +++ b/src/serialization/types/CustomStageSummary.ts @@ -10,8 +10,14 @@ import { AtomBaseSummary } from "./AtomBaseSummary"; export const CustomStageSummary: core.serialization.ObjectSchema< serializers.CustomStageSummary.Raw, DevRev.CustomStageSummary -> = AtomBaseSummary; +> = core.serialization + .object({ + name: core.serialization.string().optional(), + }) + .extend(AtomBaseSummary); export declare namespace CustomStageSummary { - type Raw = AtomBaseSummary.Raw; + interface Raw extends AtomBaseSummary.Raw { + name?: string | null; + } } diff --git a/src/serialization/types/CustomStateSummary.ts b/src/serialization/types/CustomStateSummary.ts index 30ab611..e95056a 100644 --- a/src/serialization/types/CustomStateSummary.ts +++ b/src/serialization/types/CustomStateSummary.ts @@ -10,8 +10,14 @@ import { AtomBaseSummary } from "./AtomBaseSummary"; export const CustomStateSummary: core.serialization.ObjectSchema< serializers.CustomStateSummary.Raw, DevRev.CustomStateSummary -> = AtomBaseSummary; +> = core.serialization + .object({ + name: core.serialization.string().optional(), + }) + .extend(AtomBaseSummary); export declare namespace CustomStateSummary { - type Raw = AtomBaseSummary.Raw; + interface Raw extends AtomBaseSummary.Raw { + name?: string | null; + } } diff --git a/src/serialization/types/Issue.ts b/src/serialization/types/Issue.ts index 31c8a46..e7f2322 100644 --- a/src/serialization/types/Issue.ts +++ b/src/serialization/types/Issue.ts @@ -13,6 +13,7 @@ import { WorkBase } from "./WorkBase"; export const Issue: core.serialization.ObjectSchema = core.serialization .object({ + actualStartDate: core.serialization.property("actual_start_date", core.serialization.date().optional()), developedWith: core.serialization.property("developed_with", core.serialization.list(PartSummary).optional()), priority: IssuePriority.optional(), slaTracker: core.serialization.property("sla_tracker", SlaTrackerSummary.optional()), @@ -23,6 +24,7 @@ export const Issue: core.serialization.ObjectSchema = core.serialization.object({ + nextCursor: core.serialization.property("next_cursor", core.serialization.string().optional()), + revUsers: core.serialization.property("rev_users", core.serialization.list(RevUser)), +}); + +export declare namespace RevUsersScanResponse { + interface Raw { + next_cursor?: string | null; + rev_users: RevUser.Raw[]; + } +} diff --git a/src/serialization/types/index.ts b/src/serialization/types/index.ts index 407483f..c76368d 100644 --- a/src/serialization/types/index.ts +++ b/src/serialization/types/index.ts @@ -90,7 +90,6 @@ export * from "./ClientContextOs"; export * from "./ClientContextPage"; export * from "./CodeChange"; export * from "./CodeChangeSource"; -export * from "./CodeChangesCreateRequest"; export * from "./CodeChangesCreateResponse"; export * from "./CodeChangesDeleteResponse"; export * from "./CodeChangesGetResponse"; @@ -387,6 +386,7 @@ export * from "./RevUsersCreateResponse"; export * from "./RevUsersDeleteResponse"; export * from "./RevUsersGetResponse"; export * from "./RevUsersListResponse"; +export * from "./RevUsersScanResponse"; export * from "./RevUsersUpdateRequestArtifacts"; export * from "./RevUsersUpdateRequestCustomSchemaFragments"; export * from "./RevUsersUpdateResponse"; diff --git a/yarn.lock b/yarn.lock index f90db55..4f2d755 100644 --- a/yarn.lock +++ b/yarn.lock @@ -640,11 +640,11 @@ form-data "^4.0.0" "@types/node@*": - version "22.3.0" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.3.0.tgz#7f8da0e2b72c27c4f9bd3cb5ef805209d04d4f9e" - integrity sha512-nrWpWVaDZuaVc5X84xJ0vNrLvomM205oQyLsRt7OHNZbSHslcWsvgFR7O7hire2ZonjLrWBbedmotmIlJDVd6g== + version "22.4.1" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.4.1.tgz#9b595d292c65b94c20923159e2ce947731b6fdce" + integrity sha512-1tbpb9325+gPnKK0dMm+/LMriX0vKxf6RnB0SZUqfyVkQ4fMgUSySqhxE/y8Jvs4NyF1yHzTfG9KlnkIODxPKg== dependencies: - undici-types "~6.18.2" + undici-types "~6.19.2" "@types/node@17.0.33": version "17.0.33" @@ -1103,9 +1103,9 @@ domexception@^4.0.0: webidl-conversions "^7.0.0" electron-to-chromium@^1.5.4: - version "1.5.7" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.7.tgz#425d2a7f76ecfa564fdca1040d11fb1979851f3c" - integrity sha512-6FTNWIWMxMy/ZY6799nBlPtF1DFDQ6VQJ7yyDP27SJNt5lwtQ5ufqVvHylb3fdQefvRcgA3fKcFMJi9OLwBRNw== + version "1.5.11" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.11.tgz#258077f1077a1c72f2925cd5b326c470a7f5adef" + integrity sha512-R1CccCDYqndR25CaXFd6hp/u9RaaMcftMkphmvuepXr5b1vfLkRml6aWVeBhXJ7rbevHkKEMJtz8XqPf7ffmew== emittery@^0.13.1: version "0.13.1" @@ -2533,10 +2533,10 @@ typescript@4.6.4: resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.6.4.tgz#caa78bbc3a59e6a5c510d35703f6a09877ce45e9" integrity sha512-9ia/jWHIEbo49HfjrLGfKbZSuWo9iTMwXO+Ca3pRsSpbsMbc7/IU8NKdCZVRRBafVPGnoJeFL76ZOAA84I9fEg== -undici-types@~6.18.2: - version "6.18.2" - resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.18.2.tgz#8b678cf939d4fc9ec56be3c68ed69c619dee28b0" - integrity sha512-5ruQbENj95yDYJNS3TvcaxPMshV7aizdv/hWYjGIKoANWKjhWNBsr2YEuYZKodQulB1b8l7ILOuDQep3afowQQ== +undici-types@~6.19.2: + version "6.19.8" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02" + integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw== universalify@^0.2.0: version "0.2.0"