Build 315 - version-major by pipedrive-github-actions-bot[bot] · Pull Request #709 · pipedrive/client-nodejs · GitHub
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
60 changes: 60 additions & 0 deletions CHANGELOG.md
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ You can retrieve the api_token from your existing Pipedrive account’s settings

```typescript
import express from "express";
import { Configuration, DealsApi } from "pipedrive/v1";
import { Configuration, DealsApi } from "pipedrive/v2";

const app = express();

Expand Down Expand Up @@ -73,7 +73,7 @@ To set up authentication in the API client, you need the following information.
Next, initialize the API client as follows:

```typescript
import { OAuth2Configuration, Configuration } from 'pipedrive/v1';
import { OAuth2Configuration, Configuration } from 'pipedrive/v2';

// Configuration parameters and credentials
const oauth2 = new OAuth2Configuration({
Expand Down Expand Up @@ -150,7 +150,7 @@ This code snippet stores the access token in a session for an express applicatio
import express from "express";
import cookieParse from "cookie-parser";
import cookeSession from "cookie-session";
import { Configuration, DealsApi, OAuth2Configuration } from "pipedrive/v1";
import { Configuration, DealsApi, OAuth2Configuration } from "pipedrive/v2";

const app = express();

Expand Down Expand Up @@ -194,7 +194,7 @@ It then redirects back to the base endpoint for calling endpoints from the SDK.
```typescript

import express from "express";
import { Configuration, DealsApi, OAuth2Configuration } from "pipedrive/v1";
import { Configuration, DealsApi, OAuth2Configuration } from "pipedrive/v2";
import cookieParser from "cookie-parser";
import cookieSession from "cookie-session";

Expand Down
56 changes: 0 additions & 56 deletions docs/v1.md
Loading
Loading