Skip to content

Commit

Permalink
Release 0.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Aug 14, 2024
1 parent a8fc44b commit da4768c
Show file tree
Hide file tree
Showing 76 changed files with 1,032 additions and 512 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.2",
"version": "0.0.3",
"private": false,
"repository": "https://github.com/devrev/sdk-typescript",
"main": "./index.js",
Expand Down
65 changes: 65 additions & 0 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -9303,6 +9303,71 @@ await client.snapIns.resourcesPost({
</dl>
</details>

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

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Updates a snap-in.

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

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.snapIns.update({
id: "id",
});
```

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

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `DevRev.SnapInsUpdateRequest`

</dd>
</dl>

<dl>
<dd>

**requestOptions:** `SnapIns.RequestOptions`

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

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

## snap-widgets

<details><summary><code>client.snapWidgets.<a href="/src/api/resources/snapWidgets/client/Client.ts">create</a>({ ...params }) -> DevRev.SnapWidgetsCreateResponse</code></summary>
Expand Down
8 changes: 4 additions & 4 deletions src/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ export declare namespace DevRevClient {
interface Options {
environment?: core.Supplier<environments.DevRevEnvironment | string>;
token?: core.Supplier<core.BearerToken | undefined>;
/** Override the X-DevRev-Version header */
xDevRevVersion?: "2024-01-24";
/** Override the x-devrev-version header */
xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}

Expand All @@ -54,8 +54,8 @@ export declare namespace DevRevClient {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
/** Override the X-DevRev-Version header */
xDevRevVersion?: "2024-01-24";
/** Override the x-devrev-version header */
xDevrevVersion?: "2024-01-24";
}
}

Expand Down
32 changes: 16 additions & 16 deletions src/api/resources/accounts/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export declare namespace Accounts {
interface Options {
environment?: core.Supplier<environments.DevRevEnvironment | string>;
token?: core.Supplier<core.BearerToken | undefined>;
/** Override the X-DevRev-Version header */
xDevRevVersion?: "2024-01-24";
/** Override the x-devrev-version header */
xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}

Expand All @@ -25,8 +25,8 @@ export declare namespace Accounts {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
/** Override the X-DevRev-Version header */
xDevRevVersion?: "2024-01-24";
/** Override the x-devrev-version header */
xDevrevVersion?: "2024-01-24";
}
}

Expand Down Expand Up @@ -70,8 +70,8 @@ export class Accounts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
"X-Fern-SDK-Version": "0.0.2",
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
"X-Fern-SDK-Version": "0.0.3",
"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,8 +220,8 @@ export class Accounts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
"X-Fern-SDK-Version": "0.0.2",
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
"X-Fern-SDK-Version": "0.0.3",
"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,8 +367,8 @@ export class Accounts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
"X-Fern-SDK-Version": "0.0.2",
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
"X-Fern-SDK-Version": "0.0.3",
"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,8 +507,8 @@ export class Accounts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
"X-Fern-SDK-Version": "0.0.2",
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
"X-Fern-SDK-Version": "0.0.3",
"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,8 +655,8 @@ export class Accounts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
"X-Fern-SDK-Version": "0.0.2",
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
"X-Fern-SDK-Version": "0.0.3",
"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,8 +806,8 @@ export class Accounts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
"X-Fern-SDK-Version": "0.0.2",
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
"X-Fern-SDK-Version": "0.0.3",
"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
32 changes: 16 additions & 16 deletions src/api/resources/articles/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export declare namespace Articles {
interface Options {
environment?: core.Supplier<environments.DevRevEnvironment | string>;
token?: core.Supplier<core.BearerToken | undefined>;
/** Override the X-DevRev-Version header */
xDevRevVersion?: "2024-01-24";
/** Override the x-devrev-version header */
xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}

Expand All @@ -25,8 +25,8 @@ export declare namespace Articles {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
/** Override the X-DevRev-Version header */
xDevRevVersion?: "2024-01-24";
/** Override the x-devrev-version header */
xDevrevVersion?: "2024-01-24";
}
}

Expand Down Expand Up @@ -66,8 +66,8 @@ export class Articles {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
"X-Fern-SDK-Version": "0.0.2",
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
"X-Fern-SDK-Version": "0.0.3",
"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,8 +210,8 @@ export class Articles {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
"X-Fern-SDK-Version": "0.0.2",
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
"X-Fern-SDK-Version": "0.0.3",
"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,8 +350,8 @@ export class Articles {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
"X-Fern-SDK-Version": "0.0.2",
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
"X-Fern-SDK-Version": "0.0.3",
"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,8 +500,8 @@ export class Articles {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
"X-Fern-SDK-Version": "0.0.2",
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
"X-Fern-SDK-Version": "0.0.3",
"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,8 +647,8 @@ export class Articles {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
"X-Fern-SDK-Version": "0.0.2",
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
"X-Fern-SDK-Version": "0.0.3",
"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,8 +787,8 @@ export class Articles {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
"X-Fern-SDK-Version": "0.0.2",
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
"X-Fern-SDK-Version": "0.0.3",
"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
28 changes: 14 additions & 14 deletions src/api/resources/artifacts/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export declare namespace Artifacts {
interface Options {
environment?: core.Supplier<environments.DevRevEnvironment | string>;
token?: core.Supplier<core.BearerToken | undefined>;
/** Override the X-DevRev-Version header */
xDevRevVersion?: "2024-01-24";
/** Override the x-devrev-version header */
xDevrevVersion?: "2024-01-24";
fetcher?: core.FetchFunction;
}

Expand All @@ -25,8 +25,8 @@ export declare namespace Artifacts {
maxRetries?: number;
/** A hook to abort the request. */
abortSignal?: AbortSignal;
/** Override the X-DevRev-Version header */
xDevRevVersion?: "2024-01-24";
/** Override the x-devrev-version header */
xDevrevVersion?: "2024-01-24";
}
}

Expand Down Expand Up @@ -69,8 +69,8 @@ export class Artifacts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
"X-Fern-SDK-Version": "0.0.2",
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
"X-Fern-SDK-Version": "0.0.3",
"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,8 +217,8 @@ export class Artifacts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
"X-Fern-SDK-Version": "0.0.2",
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
"X-Fern-SDK-Version": "0.0.3",
"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,8 +367,8 @@ export class Artifacts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
"X-Fern-SDK-Version": "0.0.2",
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
"X-Fern-SDK-Version": "0.0.3",
"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,8 +516,8 @@ export class Artifacts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
"X-Fern-SDK-Version": "0.0.2",
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
"X-Fern-SDK-Version": "0.0.3",
"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,8 +656,8 @@ export class Artifacts {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@devrev/api",
"X-Fern-SDK-Version": "0.0.2",
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
"X-Fern-SDK-Version": "0.0.3",
"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 da4768c

Please sign in to comment.