Skip to content

Commit 497a59b

Browse files
committed
Release 0.0.4
1 parent da4768c commit 497a59b

File tree

62 files changed

+644
-220
lines changed

Some content is hidden

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

62 files changed

+644
-220
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.3",
3+
"version": "0.0.4",
44
"private": false,
55
"repository": "https://github.com/devrev/sdk-typescript",
66
"main": "./index.js",

reference.md

Lines changed: 64 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1529,9 +1529,7 @@ Creates a code change object.
15291529
<dd>
15301530

15311531
```typescript
1532-
await client.codeChanges.create({
1533-
key: "value",
1534-
});
1532+
await client.codeChanges.create();
15351533
```
15361534

15371535
</dd>
@@ -7918,6 +7916,69 @@ await client.revUsers.listPost();
79187916
</dl>
79197917
</details>
79207918

7919+
<details><summary><code>client.revUsers.<a href="/src/api/resources/revUsers/client/Client.ts">scanPost</a>({ ...params }) -> DevRev.RevUsersScanResponse</code></summary>
7920+
<dl>
7921+
<dd>
7922+
7923+
#### 📝 Description
7924+
7925+
<dl>
7926+
<dd>
7927+
7928+
<dl>
7929+
<dd>
7930+
7931+
Scans through all Rev users.
7932+
7933+
</dd>
7934+
</dl>
7935+
</dd>
7936+
</dl>
7937+
7938+
#### 🔌 Usage
7939+
7940+
<dl>
7941+
<dd>
7942+
7943+
<dl>
7944+
<dd>
7945+
7946+
```typescript
7947+
await client.revUsers.scanPost();
7948+
```
7949+
7950+
</dd>
7951+
</dl>
7952+
</dd>
7953+
</dl>
7954+
7955+
#### ⚙️ Parameters
7956+
7957+
<dl>
7958+
<dd>
7959+
7960+
<dl>
7961+
<dd>
7962+
7963+
**request:** `DevRev.RevUsersScanRequest`
7964+
7965+
</dd>
7966+
</dl>
7967+
7968+
<dl>
7969+
<dd>
7970+
7971+
**requestOptions:** `RevUsers.RequestOptions`
7972+
7973+
</dd>
7974+
</dl>
7975+
</dd>
7976+
</dl>
7977+
7978+
</dd>
7979+
</dl>
7980+
</details>
7981+
79217982
<details><summary><code>client.revUsers.<a href="/src/api/resources/revUsers/client/Client.ts">unlinkRevUserFromRevOrg</a>({ ...params }) -> DevRev.UnlinkRevUserFromRevOrgResponse</code></summary>
79227983
<dl>
79237984
<dd>

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ 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.3",
73+
"X-Fern-SDK-Version": "0.0.4",
7474
"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,
@@ -220,7 +220,7 @@ 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.3",
223+
"X-Fern-SDK-Version": "0.0.4",
224224
"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,
@@ -367,7 +367,7 @@ 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.3",
370+
"X-Fern-SDK-Version": "0.0.4",
371371
"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,
@@ -507,7 +507,7 @@ 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.3",
510+
"X-Fern-SDK-Version": "0.0.4",
511511
"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,
@@ -655,7 +655,7 @@ 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.3",
658+
"X-Fern-SDK-Version": "0.0.4",
659659
"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,
@@ -806,7 +806,7 @@ 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.3",
809+
"X-Fern-SDK-Version": "0.0.4",
810810
"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,

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ 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.3",
69+
"X-Fern-SDK-Version": "0.0.4",
7070
"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,
@@ -210,7 +210,7 @@ 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.3",
213+
"X-Fern-SDK-Version": "0.0.4",
214214
"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,
@@ -350,7 +350,7 @@ 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.3",
353+
"X-Fern-SDK-Version": "0.0.4",
354354
"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,
@@ -500,7 +500,7 @@ 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.3",
503+
"X-Fern-SDK-Version": "0.0.4",
504504
"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,
@@ -647,7 +647,7 @@ 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.3",
650+
"X-Fern-SDK-Version": "0.0.4",
651651
"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,
@@ -787,7 +787,7 @@ 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.3",
790+
"X-Fern-SDK-Version": "0.0.4",
791791
"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,

src/api/resources/articles/client/requests/ArticlesCreateRequest.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ export interface ArticlesCreateRequest {
2020
articleType?: DevRev.ArticleType;
2121
/** The authors of the article. */
2222
authoredBy?: string[];
23+
/** Application-defined custom fields. */
24+
customFields?: Record<string, unknown>;
25+
customSchemaSpec?: DevRev.CustomSchemaSpec;
2326
/** Description for the article. */
2427
description?: string;
2528
/** ID of the extracted content artifact. */

src/api/resources/articles/client/requests/ArticlesUpdateRequest.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ export interface ArticlesUpdateRequest {
1515
appliesToParts?: DevRev.ArticlesUpdateRequestAppliesToParts;
1616
artifacts?: DevRev.ArticlesUpdateRequestArtifacts;
1717
authoredBy?: DevRev.ArticlesUpdateRequestAuthoredBy;
18+
/** Application-defined custom fields. */
19+
customFields?: Record<string, unknown>;
20+
customSchemaSpec?: DevRev.CustomSchemaSpec;
1821
/**
1922
* Updated description of the article object, or unchanged if not
2023
* provided.

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ 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.3",
72+
"X-Fern-SDK-Version": "0.0.4",
7373
"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,
@@ -217,7 +217,7 @@ 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.3",
220+
"X-Fern-SDK-Version": "0.0.4",
221221
"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,
@@ -367,7 +367,7 @@ 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.3",
370+
"X-Fern-SDK-Version": "0.0.4",
371371
"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,
@@ -516,7 +516,7 @@ 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.3",
519+
"X-Fern-SDK-Version": "0.0.4",
520520
"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,
@@ -656,7 +656,7 @@ 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.3",
659+
"X-Fern-SDK-Version": "0.0.4",
660660
"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,

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export class AuthConnection {
7777
Authorization: await this._getAuthorizationHeader(),
7878
"X-Fern-Language": "JavaScript",
7979
"X-Fern-SDK-Name": "@devrev/api",
80-
"X-Fern-SDK-Version": "0.0.3",
80+
"X-Fern-SDK-Version": "0.0.4",
8181
"x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
8282
"X-Fern-Runtime": core.RUNTIME.type,
8383
"X-Fern-Runtime-Version": core.RUNTIME.version,
@@ -221,7 +221,7 @@ export class AuthConnection {
221221
Authorization: await this._getAuthorizationHeader(),
222222
"X-Fern-Language": "JavaScript",
223223
"X-Fern-SDK-Name": "@devrev/api",
224-
"X-Fern-SDK-Version": "0.0.3",
224+
"X-Fern-SDK-Version": "0.0.4",
225225
"x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
226226
"X-Fern-Runtime": core.RUNTIME.type,
227227
"X-Fern-Runtime-Version": core.RUNTIME.version,
@@ -367,7 +367,7 @@ export class AuthConnection {
367367
Authorization: await this._getAuthorizationHeader(),
368368
"X-Fern-Language": "JavaScript",
369369
"X-Fern-SDK-Name": "@devrev/api",
370-
"X-Fern-SDK-Version": "0.0.3",
370+
"X-Fern-SDK-Version": "0.0.4",
371371
"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,
@@ -519,7 +519,7 @@ export class AuthConnection {
519519
Authorization: await this._getAuthorizationHeader(),
520520
"X-Fern-Language": "JavaScript",
521521
"X-Fern-SDK-Name": "@devrev/api",
522-
"X-Fern-SDK-Version": "0.0.3",
522+
"X-Fern-SDK-Version": "0.0.4",
523523
"x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
524524
"X-Fern-Runtime": core.RUNTIME.type,
525525
"X-Fern-Runtime-Version": core.RUNTIME.version,
@@ -663,7 +663,7 @@ export class AuthConnection {
663663
Authorization: await this._getAuthorizationHeader(),
664664
"X-Fern-Language": "JavaScript",
665665
"X-Fern-SDK-Name": "@devrev/api",
666-
"X-Fern-SDK-Version": "0.0.3",
666+
"X-Fern-SDK-Version": "0.0.4",
667667
"x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
668668
"X-Fern-Runtime": core.RUNTIME.type,
669669
"X-Fern-Runtime-Version": core.RUNTIME.version,
@@ -814,7 +814,7 @@ export class AuthConnection {
814814
Authorization: await this._getAuthorizationHeader(),
815815
"X-Fern-Language": "JavaScript",
816816
"X-Fern-SDK-Name": "@devrev/api",
817-
"X-Fern-SDK-Version": "0.0.3",
817+
"X-Fern-SDK-Version": "0.0.4",
818818
"x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
819819
"X-Fern-Runtime": core.RUNTIME.type,
820820
"X-Fern-Runtime-Version": core.RUNTIME.version,

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export class AuthTokens {
6868
Authorization: await this._getAuthorizationHeader(),
6969
"X-Fern-Language": "JavaScript",
7070
"X-Fern-SDK-Name": "@devrev/api",
71-
"X-Fern-SDK-Version": "0.0.3",
71+
"X-Fern-SDK-Version": "0.0.4",
7272
"x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
7373
"X-Fern-Runtime": core.RUNTIME.type,
7474
"X-Fern-Runtime-Version": core.RUNTIME.version,
@@ -217,7 +217,7 @@ export class AuthTokens {
217217
Authorization: await this._getAuthorizationHeader(),
218218
"X-Fern-Language": "JavaScript",
219219
"X-Fern-SDK-Name": "@devrev/api",
220-
"X-Fern-SDK-Version": "0.0.3",
220+
"X-Fern-SDK-Version": "0.0.4",
221221
"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,
@@ -362,7 +362,7 @@ export class AuthTokens {
362362
Authorization: await this._getAuthorizationHeader(),
363363
"X-Fern-Language": "JavaScript",
364364
"X-Fern-SDK-Name": "@devrev/api",
365-
"X-Fern-SDK-Version": "0.0.3",
365+
"X-Fern-SDK-Version": "0.0.4",
366366
"x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
367367
"X-Fern-Runtime": core.RUNTIME.type,
368368
"X-Fern-Runtime-Version": core.RUNTIME.version,
@@ -511,7 +511,7 @@ export class AuthTokens {
511511
Authorization: await this._getAuthorizationHeader(),
512512
"X-Fern-Language": "JavaScript",
513513
"X-Fern-SDK-Name": "@devrev/api",
514-
"X-Fern-SDK-Version": "0.0.3",
514+
"X-Fern-SDK-Version": "0.0.4",
515515
"x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
516516
"X-Fern-Runtime": core.RUNTIME.type,
517517
"X-Fern-Runtime-Version": core.RUNTIME.version,
@@ -660,7 +660,7 @@ export class AuthTokens {
660660
Authorization: await this._getAuthorizationHeader(),
661661
"X-Fern-Language": "JavaScript",
662662
"X-Fern-SDK-Name": "@devrev/api",
663-
"X-Fern-SDK-Version": "0.0.3",
663+
"X-Fern-SDK-Version": "0.0.4",
664664
"x-devrev-version": requestOptions?.xDevrevVersion ?? this._options?.xDevrevVersion ?? "2024-01-24",
665665
"X-Fern-Runtime": core.RUNTIME.type,
666666
"X-Fern-Runtime-Version": core.RUNTIME.version,
@@ -806,7 +806,7 @@ export class AuthTokens {
806806
Authorization: await this._getAuthorizationHeader(),
807807
"X-Fern-Language": "JavaScript",
808808
"X-Fern-SDK-Name": "@devrev/api",
809-
"X-Fern-SDK-Version": "0.0.3",
809+
"X-Fern-SDK-Version": "0.0.4",
810810
"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,

0 commit comments

Comments
 (0)