Skip to content

Commit da4768c

Browse files
committed
Release 0.0.3
1 parent a8fc44b commit da4768c

File tree

76 files changed

+1032
-512
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+1032
-512
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@devrev/api",
3-
"version": "0.0.2",
3+
"version": "0.0.3",
44
"private": false,
55
"repository": "https://github.com/devrev/sdk-typescript",
66
"main": "./index.js",

reference.md

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9303,6 +9303,71 @@ await client.snapIns.resourcesPost({
93039303
</dl>
93049304
</details>
93059305

9306+
<details><summary><code>client.snapIns.<a href="/src/api/resources/snapIns/client/Client.ts">update</a>({ ...params }) -> DevRev.SnapInsUpdateResponse</code></summary>
9307+
<dl>
9308+
<dd>
9309+
9310+
#### 📝 Description
9311+
9312+
<dl>
9313+
<dd>
9314+
9315+
<dl>
9316+
<dd>
9317+
9318+
Updates a snap-in.
9319+
9320+
</dd>
9321+
</dl>
9322+
</dd>
9323+
</dl>
9324+
9325+
#### 🔌 Usage
9326+
9327+
<dl>
9328+
<dd>
9329+
9330+
<dl>
9331+
<dd>
9332+
9333+
```typescript
9334+
await client.snapIns.update({
9335+
id: "id",
9336+
});
9337+
```
9338+
9339+
</dd>
9340+
</dl>
9341+
</dd>
9342+
</dl>
9343+
9344+
#### ⚙️ Parameters
9345+
9346+
<dl>
9347+
<dd>
9348+
9349+
<dl>
9350+
<dd>
9351+
9352+
**request:** `DevRev.SnapInsUpdateRequest`
9353+
9354+
</dd>
9355+
</dl>
9356+
9357+
<dl>
9358+
<dd>
9359+
9360+
**requestOptions:** `SnapIns.RequestOptions`
9361+
9362+
</dd>
9363+
</dl>
9364+
</dd>
9365+
</dl>
9366+
9367+
</dd>
9368+
</dl>
9369+
</details>
9370+
93069371
## snap-widgets
93079372

93089373
<details><summary><code>client.snapWidgets.<a href="/src/api/resources/snapWidgets/client/Client.ts">create</a>({ ...params }) -> DevRev.SnapWidgetsCreateResponse</code></summary>

src/Client.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ export declare namespace DevRevClient {
4242
interface Options {
4343
environment?: core.Supplier<environments.DevRevEnvironment | string>;
4444
token?: core.Supplier<core.BearerToken | undefined>;
45-
/** Override the X-DevRev-Version header */
46-
xDevRevVersion?: "2024-01-24";
45+
/** Override the x-devrev-version header */
46+
xDevrevVersion?: "2024-01-24";
4747
fetcher?: core.FetchFunction;
4848
}
4949

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

src/api/resources/accounts/client/Client.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ export declare namespace Accounts {
1313
interface Options {
1414
environment?: core.Supplier<environments.DevRevEnvironment | string>;
1515
token?: core.Supplier<core.BearerToken | undefined>;
16-
/** Override the X-DevRev-Version header */
17-
xDevRevVersion?: "2024-01-24";
16+
/** Override the x-devrev-version header */
17+
xDevrevVersion?: "2024-01-24";
1818
fetcher?: core.FetchFunction;
1919
}
2020

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

@@ -70,8 +70,8 @@ export class Accounts {
7070
Authorization: await this._getAuthorizationHeader(),
7171
"X-Fern-Language": "JavaScript",
7272
"X-Fern-SDK-Name": "@devrev/api",
73-
"X-Fern-SDK-Version": "0.0.2",
74-
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
73+
"X-Fern-SDK-Version": "0.0.3",
74+
"x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
7575
"X-Fern-Runtime": core.RUNTIME.type,
7676
"X-Fern-Runtime-Version": core.RUNTIME.version,
7777
},
@@ -220,8 +220,8 @@ export class Accounts {
220220
Authorization: await this._getAuthorizationHeader(),
221221
"X-Fern-Language": "JavaScript",
222222
"X-Fern-SDK-Name": "@devrev/api",
223-
"X-Fern-SDK-Version": "0.0.2",
224-
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
223+
"X-Fern-SDK-Version": "0.0.3",
224+
"x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
225225
"X-Fern-Runtime": core.RUNTIME.type,
226226
"X-Fern-Runtime-Version": core.RUNTIME.version,
227227
},
@@ -367,8 +367,8 @@ export class Accounts {
367367
Authorization: await this._getAuthorizationHeader(),
368368
"X-Fern-Language": "JavaScript",
369369
"X-Fern-SDK-Name": "@devrev/api",
370-
"X-Fern-SDK-Version": "0.0.2",
371-
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
370+
"X-Fern-SDK-Version": "0.0.3",
371+
"x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
372372
"X-Fern-Runtime": core.RUNTIME.type,
373373
"X-Fern-Runtime-Version": core.RUNTIME.version,
374374
},
@@ -507,8 +507,8 @@ export class Accounts {
507507
Authorization: await this._getAuthorizationHeader(),
508508
"X-Fern-Language": "JavaScript",
509509
"X-Fern-SDK-Name": "@devrev/api",
510-
"X-Fern-SDK-Version": "0.0.2",
511-
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
510+
"X-Fern-SDK-Version": "0.0.3",
511+
"x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
512512
"X-Fern-Runtime": core.RUNTIME.type,
513513
"X-Fern-Runtime-Version": core.RUNTIME.version,
514514
},
@@ -655,8 +655,8 @@ export class Accounts {
655655
Authorization: await this._getAuthorizationHeader(),
656656
"X-Fern-Language": "JavaScript",
657657
"X-Fern-SDK-Name": "@devrev/api",
658-
"X-Fern-SDK-Version": "0.0.2",
659-
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
658+
"X-Fern-SDK-Version": "0.0.3",
659+
"x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
660660
"X-Fern-Runtime": core.RUNTIME.type,
661661
"X-Fern-Runtime-Version": core.RUNTIME.version,
662662
},
@@ -806,8 +806,8 @@ export class Accounts {
806806
Authorization: await this._getAuthorizationHeader(),
807807
"X-Fern-Language": "JavaScript",
808808
"X-Fern-SDK-Name": "@devrev/api",
809-
"X-Fern-SDK-Version": "0.0.2",
810-
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
809+
"X-Fern-SDK-Version": "0.0.3",
810+
"x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
811811
"X-Fern-Runtime": core.RUNTIME.type,
812812
"X-Fern-Runtime-Version": core.RUNTIME.version,
813813
},

src/api/resources/articles/client/Client.ts

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ export declare namespace Articles {
1313
interface Options {
1414
environment?: core.Supplier<environments.DevRevEnvironment | string>;
1515
token?: core.Supplier<core.BearerToken | undefined>;
16-
/** Override the X-DevRev-Version header */
17-
xDevRevVersion?: "2024-01-24";
16+
/** Override the x-devrev-version header */
17+
xDevrevVersion?: "2024-01-24";
1818
fetcher?: core.FetchFunction;
1919
}
2020

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

@@ -66,8 +66,8 @@ export class Articles {
6666
Authorization: await this._getAuthorizationHeader(),
6767
"X-Fern-Language": "JavaScript",
6868
"X-Fern-SDK-Name": "@devrev/api",
69-
"X-Fern-SDK-Version": "0.0.2",
70-
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
69+
"X-Fern-SDK-Version": "0.0.3",
70+
"x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
7171
"X-Fern-Runtime": core.RUNTIME.type,
7272
"X-Fern-Runtime-Version": core.RUNTIME.version,
7373
},
@@ -210,8 +210,8 @@ export class Articles {
210210
Authorization: await this._getAuthorizationHeader(),
211211
"X-Fern-Language": "JavaScript",
212212
"X-Fern-SDK-Name": "@devrev/api",
213-
"X-Fern-SDK-Version": "0.0.2",
214-
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
213+
"X-Fern-SDK-Version": "0.0.3",
214+
"x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
215215
"X-Fern-Runtime": core.RUNTIME.type,
216216
"X-Fern-Runtime-Version": core.RUNTIME.version,
217217
},
@@ -350,8 +350,8 @@ export class Articles {
350350
Authorization: await this._getAuthorizationHeader(),
351351
"X-Fern-Language": "JavaScript",
352352
"X-Fern-SDK-Name": "@devrev/api",
353-
"X-Fern-SDK-Version": "0.0.2",
354-
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
353+
"X-Fern-SDK-Version": "0.0.3",
354+
"x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
355355
"X-Fern-Runtime": core.RUNTIME.type,
356356
"X-Fern-Runtime-Version": core.RUNTIME.version,
357357
},
@@ -500,8 +500,8 @@ export class Articles {
500500
Authorization: await this._getAuthorizationHeader(),
501501
"X-Fern-Language": "JavaScript",
502502
"X-Fern-SDK-Name": "@devrev/api",
503-
"X-Fern-SDK-Version": "0.0.2",
504-
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
503+
"X-Fern-SDK-Version": "0.0.3",
504+
"x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
505505
"X-Fern-Runtime": core.RUNTIME.type,
506506
"X-Fern-Runtime-Version": core.RUNTIME.version,
507507
},
@@ -647,8 +647,8 @@ export class Articles {
647647
Authorization: await this._getAuthorizationHeader(),
648648
"X-Fern-Language": "JavaScript",
649649
"X-Fern-SDK-Name": "@devrev/api",
650-
"X-Fern-SDK-Version": "0.0.2",
651-
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
650+
"X-Fern-SDK-Version": "0.0.3",
651+
"x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
652652
"X-Fern-Runtime": core.RUNTIME.type,
653653
"X-Fern-Runtime-Version": core.RUNTIME.version,
654654
},
@@ -787,8 +787,8 @@ export class Articles {
787787
Authorization: await this._getAuthorizationHeader(),
788788
"X-Fern-Language": "JavaScript",
789789
"X-Fern-SDK-Name": "@devrev/api",
790-
"X-Fern-SDK-Version": "0.0.2",
791-
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
790+
"X-Fern-SDK-Version": "0.0.3",
791+
"x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
792792
"X-Fern-Runtime": core.RUNTIME.type,
793793
"X-Fern-Runtime-Version": core.RUNTIME.version,
794794
},

src/api/resources/artifacts/client/Client.ts

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ export declare namespace Artifacts {
1313
interface Options {
1414
environment?: core.Supplier<environments.DevRevEnvironment | string>;
1515
token?: core.Supplier<core.BearerToken | undefined>;
16-
/** Override the X-DevRev-Version header */
17-
xDevRevVersion?: "2024-01-24";
16+
/** Override the x-devrev-version header */
17+
xDevrevVersion?: "2024-01-24";
1818
fetcher?: core.FetchFunction;
1919
}
2020

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

@@ -69,8 +69,8 @@ export class Artifacts {
6969
Authorization: await this._getAuthorizationHeader(),
7070
"X-Fern-Language": "JavaScript",
7171
"X-Fern-SDK-Name": "@devrev/api",
72-
"X-Fern-SDK-Version": "0.0.2",
73-
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
72+
"X-Fern-SDK-Version": "0.0.3",
73+
"x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
7474
"X-Fern-Runtime": core.RUNTIME.type,
7575
"X-Fern-Runtime-Version": core.RUNTIME.version,
7676
},
@@ -217,8 +217,8 @@ export class Artifacts {
217217
Authorization: await this._getAuthorizationHeader(),
218218
"X-Fern-Language": "JavaScript",
219219
"X-Fern-SDK-Name": "@devrev/api",
220-
"X-Fern-SDK-Version": "0.0.2",
221-
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
220+
"X-Fern-SDK-Version": "0.0.3",
221+
"x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
222222
"X-Fern-Runtime": core.RUNTIME.type,
223223
"X-Fern-Runtime-Version": core.RUNTIME.version,
224224
},
@@ -367,8 +367,8 @@ export class Artifacts {
367367
Authorization: await this._getAuthorizationHeader(),
368368
"X-Fern-Language": "JavaScript",
369369
"X-Fern-SDK-Name": "@devrev/api",
370-
"X-Fern-SDK-Version": "0.0.2",
371-
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
370+
"X-Fern-SDK-Version": "0.0.3",
371+
"x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
372372
"X-Fern-Runtime": core.RUNTIME.type,
373373
"X-Fern-Runtime-Version": core.RUNTIME.version,
374374
},
@@ -516,8 +516,8 @@ export class Artifacts {
516516
Authorization: await this._getAuthorizationHeader(),
517517
"X-Fern-Language": "JavaScript",
518518
"X-Fern-SDK-Name": "@devrev/api",
519-
"X-Fern-SDK-Version": "0.0.2",
520-
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
519+
"X-Fern-SDK-Version": "0.0.3",
520+
"x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
521521
"X-Fern-Runtime": core.RUNTIME.type,
522522
"X-Fern-Runtime-Version": core.RUNTIME.version,
523523
},
@@ -656,8 +656,8 @@ export class Artifacts {
656656
Authorization: await this._getAuthorizationHeader(),
657657
"X-Fern-Language": "JavaScript",
658658
"X-Fern-SDK-Name": "@devrev/api",
659-
"X-Fern-SDK-Version": "0.0.2",
660-
"X-DevRev-Version": requestOptions?.xDevRevVersion ?? this._options?.xDevRevVersion ?? "2024-01-24",
659+
"X-Fern-SDK-Version": "0.0.3",
660+
"x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
661661
"X-Fern-Runtime": core.RUNTIME.type,
662662
"X-Fern-Runtime-Version": core.RUNTIME.version,
663663
},

0 commit comments

Comments
 (0)