Skip to content

Commit

Permalink
V2 (#113)
Browse files Browse the repository at this point in the history
* chore: Bump version

* SDK regeneration

* chore: Add license

* chore: Add license

* chore: Bump version

* SDK regeneration

* chore: Update memory example

* chore: Version bump

* SDK regeneration

* chore: Version bump

* SDK regeneration

* SDK regeneration

* chore: unignore package json and yarn.lock

* update version

* SDK regeneration

* chore: Add package.json and yarn.lock to fernignore

* chore: remove package json from fernignore

* SDK regeneration

* chore: Update heading

* fix: tests

* fix: prepack command

* fix: prepack command

* chore: Version bump

* SDK regeneration

* SDK regeneration

* SDK regeneration

---------

Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
  • Loading branch information
paul-paliychuk and fern-api[bot] authored Jan 17, 2025
1 parent 44a8009 commit ec52d75
Show file tree
Hide file tree
Showing 31 changed files with 676 additions and 217 deletions.
2 changes: 2 additions & 0 deletions .fernignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ src/wrapper
src/extractor
src/index.ts
src/langchain
package.json
yarn.lock
.github
README.md
tests/sde.test.ts
Expand Down
2 changes: 1 addition & 1 deletion jest.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ export default {
preset: "ts-jest",
testEnvironment: "node",
moduleNameMapper: {
"(.+)\.js": "$1",
"(.+)\.js$": "$1",
},
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@getzep/zep-cloud",
"version": "2.3.0",
"version": "2.3.1",
"private": false,
"repository": "https://github.com/getzep/zep-js",
"description": "Zep: Fast, scalable building blocks for production LLM apps",
Expand Down
189 changes: 189 additions & 0 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -2634,6 +2634,132 @@ await client.group.add({
</dl>
</details>

<details><summary><code>client.group.<a href="/src/api/resources/group/client/Client.ts">listAllGroups</a>({ ...params }) -> Zep.GroupListResponse</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

List all groups with pagination.

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

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.group.listAllGroups();
```

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

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**request:** `Zep.GetGroupsOrderedRequest`

</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Group.RequestOptions`

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

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

<details><summary><code>client.group.<a href="/src/api/resources/group/client/Client.ts">getAGroup</a>(groupId) -> Zep.Group</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Get a group.

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

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.group.getAGroup("groupId");
```

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

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**groupId:** `string` — The group_id of the group to get.

</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Group.RequestOptions`

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

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

<details><summary><code>client.group.<a href="/src/api/resources/group/client/Client.ts">delete</a>(groupId) -> Zep.SuccessResponse</code></summary>
<dl>
<dd>
Expand Down Expand Up @@ -2697,6 +2823,69 @@ await client.group.delete("groupId");
</dl>
</details>

<details><summary><code>client.group.<a href="/src/api/resources/group/client/Client.ts">getFacts</a>(groupId) -> Zep.FactsResponse</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Get group facts.

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

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.group.getFacts("groupId");
```

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

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**groupId:** `string` — The group_id of the group to get.

</dd>
</dl>

<dl>
<dd>

**requestOptions:** `Group.RequestOptions`

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

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

## User

<details><summary><code>client.user.<a href="/src/api/resources/user/client/Client.ts">add</a>({ ...params }) -> Zep.User</code></summary>
Expand Down
52 changes: 26 additions & 26 deletions src/api/resources/document/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ export class Document {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "zep-cloud",
"X-Fern-SDK-Version": "2.3.0",
"User-Agent": "zep-cloud/2.3.0",
"X-Fern-SDK-Version": "2.3.1",
"User-Agent": "zep-cloud/2.3.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -147,8 +147,8 @@ export class Document {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "zep-cloud",
"X-Fern-SDK-Version": "2.3.0",
"User-Agent": "zep-cloud/2.3.0",
"X-Fern-SDK-Version": "2.3.1",
"User-Agent": "zep-cloud/2.3.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -264,8 +264,8 @@ export class Document {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "zep-cloud",
"X-Fern-SDK-Version": "2.3.0",
"User-Agent": "zep-cloud/2.3.0",
"X-Fern-SDK-Version": "2.3.1",
"User-Agent": "zep-cloud/2.3.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -380,8 +380,8 @@ export class Document {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "zep-cloud",
"X-Fern-SDK-Version": "2.3.0",
"User-Agent": "zep-cloud/2.3.0",
"X-Fern-SDK-Version": "2.3.1",
"User-Agent": "zep-cloud/2.3.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -497,8 +497,8 @@ export class Document {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "zep-cloud",
"X-Fern-SDK-Version": "2.3.0",
"User-Agent": "zep-cloud/2.3.0",
"X-Fern-SDK-Version": "2.3.1",
"User-Agent": "zep-cloud/2.3.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -616,8 +616,8 @@ export class Document {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "zep-cloud",
"X-Fern-SDK-Version": "2.3.0",
"User-Agent": "zep-cloud/2.3.0",
"X-Fern-SDK-Version": "2.3.1",
"User-Agent": "zep-cloud/2.3.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -725,8 +725,8 @@ export class Document {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "zep-cloud",
"X-Fern-SDK-Version": "2.3.0",
"User-Agent": "zep-cloud/2.3.0",
"X-Fern-SDK-Version": "2.3.1",
"User-Agent": "zep-cloud/2.3.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -836,8 +836,8 @@ export class Document {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "zep-cloud",
"X-Fern-SDK-Version": "2.3.0",
"User-Agent": "zep-cloud/2.3.0",
"X-Fern-SDK-Version": "2.3.1",
"User-Agent": "zep-cloud/2.3.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -947,8 +947,8 @@ export class Document {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "zep-cloud",
"X-Fern-SDK-Version": "2.3.0",
"User-Agent": "zep-cloud/2.3.0",
"X-Fern-SDK-Version": "2.3.1",
"User-Agent": "zep-cloud/2.3.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -1058,8 +1058,8 @@ export class Document {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "zep-cloud",
"X-Fern-SDK-Version": "2.3.0",
"User-Agent": "zep-cloud/2.3.0",
"X-Fern-SDK-Version": "2.3.1",
"User-Agent": "zep-cloud/2.3.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -1167,8 +1167,8 @@ export class Document {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "zep-cloud",
"X-Fern-SDK-Version": "2.3.0",
"User-Agent": "zep-cloud/2.3.0",
"X-Fern-SDK-Version": "2.3.1",
"User-Agent": "zep-cloud/2.3.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -1288,8 +1288,8 @@ export class Document {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "zep-cloud",
"X-Fern-SDK-Version": "2.3.0",
"User-Agent": "zep-cloud/2.3.0",
"X-Fern-SDK-Version": "2.3.1",
"User-Agent": "zep-cloud/2.3.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -1413,8 +1413,8 @@ export class Document {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "zep-cloud",
"X-Fern-SDK-Version": "2.3.0",
"User-Agent": "zep-cloud/2.3.0",
"X-Fern-SDK-Version": "2.3.1",
"User-Agent": "zep-cloud/2.3.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
8 changes: 4 additions & 4 deletions src/api/resources/graph/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ export class Graph {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "zep-cloud",
"X-Fern-SDK-Version": "2.3.0",
"User-Agent": "zep-cloud/2.3.0",
"X-Fern-SDK-Version": "2.3.1",
"User-Agent": "zep-cloud/2.3.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down Expand Up @@ -171,8 +171,8 @@ export class Graph {
headers: {
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "zep-cloud",
"X-Fern-SDK-Version": "2.3.0",
"User-Agent": "zep-cloud/2.3.0",
"X-Fern-SDK-Version": "2.3.1",
"User-Agent": "zep-cloud/2.3.1",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...(await this._getCustomAuthorizationHeaders()),
Expand Down
Loading

0 comments on commit ec52d75

Please sign in to comment.