Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "scrapybara",
"version": "2.5.1",
"version": "2.6.0-beta.4",
"private": false,
"repository": "https://github.com/scrapybara/scrapybara-ts",
"main": "./index.js",
Expand Down
56 changes: 56 additions & 0 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,62 @@ await client.instance.resume("instance_id");
</dl>
</details>

<details><summary><code>client.instance.<a href="/src/api/resources/instance/client/Client.ts">rescheduleTermination</a>(instanceId, { ...params }) -> Scrapybara.StopInstanceResponse</code></summary>
<dl>
<dd>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.instance.rescheduleTermination("instance_id");
```

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

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**instanceId:** `string`

</dd>
</dl>

<dl>
<dd>

**request:** `Scrapybara.InstanceRescheduleTerminationRequest`

</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Instance.RequestOptions`

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

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

## Browser

<details><summary><code>client.browser.<a href="/src/api/resources/browser/client/Client.ts">start</a>(instanceId) -> Scrapybara.StartBrowserResponse</code></summary>
Expand Down
16 changes: 8 additions & 8 deletions src/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ export class ScrapybaraClient {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "scrapybara",
"X-Fern-SDK-Version": "2.5.1",
"User-Agent": "scrapybara/2.5.1",
"X-Fern-SDK-Version": "2.6.0-beta.4",
"User-Agent": "scrapybara/2.6.0-beta.4",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -162,8 +162,8 @@ export class ScrapybaraClient {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "scrapybara",
"X-Fern-SDK-Version": "2.5.1",
"User-Agent": "scrapybara/2.5.1",
"X-Fern-SDK-Version": "2.6.0-beta.4",
"User-Agent": "scrapybara/2.6.0-beta.4",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -238,8 +238,8 @@ export class ScrapybaraClient {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "scrapybara",
"X-Fern-SDK-Version": "2.5.1",
"User-Agent": "scrapybara/2.5.1",
"X-Fern-SDK-Version": "2.6.0-beta.4",
"User-Agent": "scrapybara/2.6.0-beta.4",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -300,8 +300,8 @@ export class ScrapybaraClient {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "scrapybara",
"X-Fern-SDK-Version": "2.5.1",
"User-Agent": "scrapybara/2.5.1",
"X-Fern-SDK-Version": "2.6.0-beta.4",
"User-Agent": "scrapybara/2.6.0-beta.4",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
28 changes: 14 additions & 14 deletions src/api/resources/browser/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ export class Browser {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "scrapybara",
"X-Fern-SDK-Version": "2.5.1",
"User-Agent": "scrapybara/2.5.1",
"X-Fern-SDK-Version": "2.6.0-beta.4",
"User-Agent": "scrapybara/2.6.0-beta.4",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -132,8 +132,8 @@ export class Browser {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "scrapybara",
"X-Fern-SDK-Version": "2.5.1",
"User-Agent": "scrapybara/2.5.1",
"X-Fern-SDK-Version": "2.6.0-beta.4",
"User-Agent": "scrapybara/2.6.0-beta.4",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -212,8 +212,8 @@ export class Browser {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "scrapybara",
"X-Fern-SDK-Version": "2.5.1",
"User-Agent": "scrapybara/2.5.1",
"X-Fern-SDK-Version": "2.6.0-beta.4",
"User-Agent": "scrapybara/2.6.0-beta.4",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -300,8 +300,8 @@ export class Browser {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "scrapybara",
"X-Fern-SDK-Version": "2.5.1",
"User-Agent": "scrapybara/2.5.1",
"X-Fern-SDK-Version": "2.6.0-beta.4",
"User-Agent": "scrapybara/2.6.0-beta.4",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -392,8 +392,8 @@ export class Browser {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "scrapybara",
"X-Fern-SDK-Version": "2.5.1",
"User-Agent": "scrapybara/2.5.1",
"X-Fern-SDK-Version": "2.6.0-beta.4",
"User-Agent": "scrapybara/2.6.0-beta.4",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -480,8 +480,8 @@ export class Browser {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "scrapybara",
"X-Fern-SDK-Version": "2.5.1",
"User-Agent": "scrapybara/2.5.1",
"X-Fern-SDK-Version": "2.6.0-beta.4",
"User-Agent": "scrapybara/2.6.0-beta.4",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -561,8 +561,8 @@ export class Browser {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "scrapybara",
"X-Fern-SDK-Version": "2.5.1",
"User-Agent": "scrapybara/2.5.1",
"X-Fern-SDK-Version": "2.6.0-beta.4",
"User-Agent": "scrapybara/2.6.0-beta.4",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/code/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ export class Code {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "scrapybara",
"X-Fern-SDK-Version": "2.5.1",
"User-Agent": "scrapybara/2.5.1",
"X-Fern-SDK-Version": "2.6.0-beta.4",
"User-Agent": "scrapybara/2.6.0-beta.4",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
12 changes: 6 additions & 6 deletions src/api/resources/env/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ export class Env {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "scrapybara",
"X-Fern-SDK-Version": "2.5.1",
"User-Agent": "scrapybara/2.5.1",
"X-Fern-SDK-Version": "2.6.0-beta.4",
"User-Agent": "scrapybara/2.6.0-beta.4",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -135,8 +135,8 @@ export class Env {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "scrapybara",
"X-Fern-SDK-Version": "2.5.1",
"User-Agent": "scrapybara/2.5.1",
"X-Fern-SDK-Version": "2.6.0-beta.4",
"User-Agent": "scrapybara/2.6.0-beta.4",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -220,8 +220,8 @@ export class Env {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "scrapybara",
"X-Fern-SDK-Version": "2.5.1",
"User-Agent": "scrapybara/2.5.1",
"X-Fern-SDK-Version": "2.6.0-beta.4",
"User-Agent": "scrapybara/2.6.0-beta.4",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
Loading
Loading