Skip to content

Commit

Permalink
Release 0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Aug 19, 2024
1 parent da4768c commit 497a59b
Show file tree
Hide file tree
Showing 62 changed files with 644 additions and 220 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
67 changes: 64 additions & 3 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1529,9 +1529,7 @@ Creates a code change object.
<dd>

```typescript
await client.codeChanges.create({
key: "value",
});
await client.codeChanges.create();
```

</dd>
Expand Down Expand Up @@ -7918,6 +7916,69 @@ await client.revUsers.listPost();
</dl>
</details>

<details><summary><code>client.revUsers.<a href="/src/api/resources/revUsers/client/Client.ts">scanPost</a>({ ...params }) -> DevRev.RevUsersScanResponse</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Scans through all Rev users.

</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.revUsers.scanPost();
```

</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `DevRev.RevUsersScanRequest`

</dd>
</dl>

<dl>
<dd>

**requestOptions:** `RevUsers.RequestOptions`

</dd>
</dl>
</dd>
</dl>

</dd>
</dl>
</details>

<details><summary><code>client.revUsers.<a href="/src/api/resources/revUsers/client/Client.ts">unlinkRevUserFromRevOrg</a>({ ...params }) -> DevRev.UnlinkRevUserFromRevOrgResponse</code></summary>
<dl>
<dd>
Expand Down
12 changes: 6 additions & 6 deletions src/api/resources/accounts/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
12 changes: 6 additions & 6 deletions src/api/resources/articles/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ export interface ArticlesCreateRequest {
articleType?: DevRev.ArticleType;
/** The authors of the article. */
authoredBy?: string[];
/** Application-defined custom fields. */
customFields?: Record<string, unknown>;
customSchemaSpec?: DevRev.CustomSchemaSpec;
/** Description for the article. */
description?: string;
/** ID of the extracted content artifact. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ export interface ArticlesUpdateRequest {
appliesToParts?: DevRev.ArticlesUpdateRequestAppliesToParts;
artifacts?: DevRev.ArticlesUpdateRequestArtifacts;
authoredBy?: DevRev.ArticlesUpdateRequestAuthoredBy;
/** Application-defined custom fields. */
customFields?: Record<string, unknown>;
customSchemaSpec?: DevRev.CustomSchemaSpec;
/**
* Updated description of the article object, or unchanged if not
* provided.
Expand Down
10 changes: 5 additions & 5 deletions src/api/resources/artifacts/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
12 changes: 6 additions & 6 deletions src/api/resources/authConnection/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
12 changes: 6 additions & 6 deletions src/api/resources/authTokens/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down
Loading

0 comments on commit 497a59b

Please sign in to comment.