conductor-node 11.9.0 → 11.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -6,8 +6,8 @@
6
6
  <img alt="Conductor logo" src="https://github.com/conductor-is/quickbooks-desktop-api/assets/170023/d67464b8-53a7-4d33-afeb-05a2efde1fa8" width="325">
7
7
  </picture>
8
8
  </a>
9
- <h3>QuickBooks Desktop API for Node.js/TypeScript, Python, and REST</h3>
10
- <a href="https://docs.conductor.is/overview/quickstart">Quickstart</a>
9
+ <h3>QuickBooks Desktop API for Python, Node.js, TypeScript, and REST</h3>
10
+ <a href="https://docs.conductor.is/quickstart">Quickstart</a>
11
11
  <span>&nbsp;&nbsp;•&nbsp;&nbsp;</span>
12
12
  <a href="https://conductor.is">Website</a>
13
13
  <span>&nbsp;&nbsp;•&nbsp;&nbsp;</span>
@@ -27,7 +27,7 @@
27
27
 
28
28
  ## What is Conductor?
29
29
 
30
- Conductor is a real-time, fully-typed API for **QuickBooks Desktop** (sometimes called QuickBooks Enterprise), available via Node.js/TypeScript, Python, and REST. In just a few lines, get real-time access to fetch, create, or update [_any_ QuickBooks Desktop object type](https://docs.conductor.is/qbd/api#supported-object-types) and receive a fully-typed response. Check out [the documentation](https://docs.conductor.is) to get started.
30
+ Conductor is a real-time, fully-typed API for **QuickBooks Desktop** (sometimes called QuickBooks Enterprise), available via Python, Node.js, TypeScript, and REST. In just a few lines, get real-time access to fetch, create, or update [_any_ QuickBooks Desktop object type](https://docs.conductor.is/qbd/api#supported-object-types) and receive a fully-typed response. Check out [the documentation](https://docs.conductor.is) to get started.
31
31
 
32
32
  Conductor, the company, is building a data integration platform for vertical SaaS companies, starting with QuickBooks Desktop. Our team has spent over a decade building companies, scaling vast software systems, and obsessing over quality.
33
33
 
@@ -41,7 +41,7 @@ Conductor, the company, is building a data integration platform for vertical Saa
41
41
  - **Any data type:** Query, create, or update any QuickBooks Desktop data type.
42
42
  - **Real-time**: Get real-time updates on your QuickBooks Desktop data. No queues, no polling.
43
43
  - **Modern API:** JSON-based REST API, replacing the old XML-based SOAP model.
44
- - **Typed Node.js client:** Fully typed library with autocomplete, inline docs, and type validation for endpoints, parameters, and responses.
44
+ - **Typed client libraries:** Fully typed libraries in Node.js and Python with autocomplete, inline docs, and type validation for endpoints, parameters, and responses.
45
45
  - **Request handling:** Invisibly manages queues, timeouts, retries, and pagination.
46
46
  - **Multi-company support:** Connects to multiple QuickBooks Desktop company files.
47
47
  - **Validation:** Sanitizes and validates all inputs and outputs.
@@ -56,17 +56,15 @@ This repository is a library for conveniently accessing Conductor's QuickBooks D
56
56
 
57
57
  ## Requirements
58
58
 
59
- 1. A Conductor API key pair: one secret key, one publishable key. **Please [sign up to join the beta](https://73a5v9t55ed.typeform.com/to/VRX7rfrN).**
60
- 2. Node.js v16 or later.
59
+ 1. A Conductor account. Sign up [here](https://dashboard.conductor.is/sign-up).
60
+ 2. A QuickBooks Desktop instance for testing. If you don't have one, you can [create a free test instance](https://docs.conductor.is/qbd/test-instance).
61
61
 
62
62
  ## Documentation
63
63
 
64
- 1. [Get Started](https://docs.conductor.is/overview/get-started)
65
- 2. [Quickstart](https://docs.conductor.is/overview/quickstart)
66
- 3. [Node.js / TypeScript API](https://docs.conductor.is/qbd/api)
67
- 4. [REST API](https://docs.conductor.is/qbd/rest)
68
- 5. [API Reference](https://docs.conductor.is/apis)
69
- 6. [Error Handling](https://docs.conductor.is/usage/error-handling)
64
+ 1. [Quickstart](https://docs.conductor.is/quickstart)
65
+ 2. [Node.js / TypeScript API](https://docs.conductor.is/qbd/api)
66
+ 3. [API Reference](https://docs.conductor.is/apis)
67
+ 4. [Error Handling](https://docs.conductor.is/usage/error-handling)
70
68
 
71
69
  ## Installation
72
70
 
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-node",
3
- "version": "11.9.0",
3
+ "version": "11.10.1",
4
4
  "description": "QuickBooks Desktop API for Node.js and TypeScript",
5
5
  "keywords": [
6
6
  "QuickBooks",
@@ -17,7 +17,7 @@
17
17
  "Intuit"
18
18
  ],
19
19
  "homepage": "https://conductor.is",
20
- "repository": "github:conductor-is/conductor-node",
20
+ "repository": "github:conductor-is/quickbooks-desktop-api",
21
21
  "license": "MIT",
22
22
  "author": "Conductor <support@conductor.is>",
23
23
  "type": "commonjs",
@@ -36,7 +36,7 @@
36
36
  "prepublishOnly": "pnpm jest"
37
37
  },
38
38
  "dependencies": {
39
- "axios": "^1.7.7"
39
+ "axios": "^1.7.9"
40
40
  },
41
41
  "devDependencies": {
42
42
  "axios-mock-adapter": "^1.22.0",
@@ -7,7 +7,7 @@ class BaseIntegration {
7
7
  }
8
8
  /** Not intended for public use. */
9
9
  async sendRequest(endUserId, integrationSlug, payload) {
10
- const { data } = await this.httpClient.post(`/end-users/${endUserId}/request/${integrationSlug}`, payload);
10
+ const { data } = await this.httpClient.post(`/end-users/${endUserId}/passthrough/${integrationSlug}`, payload);
11
11
  return data;
12
12
  }
13
13
  }
@@ -25,6 +25,13 @@ export interface IntegrationConnection {
25
25
  * The date and time of your last API request to this IntegrationConnection.
26
26
  */
27
27
  readonly lastRequestAt: string | null;
28
+ /**
29
+ * The date and time of your last *successful* API request to this
30
+ * IntegrationConnection. This represents an end-to-end request that the
31
+ * integration fully processed and returned without any connection or business
32
+ * logic errors.
33
+ */
34
+ readonly lastSuccessfulRequestAt: string | null;
28
35
  }
29
36
  export interface ApiListResponse<T> {
30
37
  readonly url: string;
@@ -25,18 +25,21 @@ function checkForUpdates() {
25
25
  .then((response) => {
26
26
  const latestVersion = response.data.latest;
27
27
  if (currentVersion !== latestVersion) {
28
- let updateCommand = "npm install";
29
- if (process.env["npm_execpath"]?.includes("yarn") === true) {
30
- updateCommand = "yarn add";
31
- }
32
- else if (process.env["npm_execpath"]?.includes("pnpm") === true) {
33
- updateCommand = "pnpm add";
34
- }
35
28
  console.warn(createFramedMessage([
36
- `🟡 Update available for Conductor! ${currentVersion} -> ${latestVersion}`,
29
+ "🚨 MAJOR UPDATE AVAILABLE! 🚨",
30
+ `${currentVersion} ➡️ ${latestVersion}`,
37
31
  "",
38
- "Run the following to update:",
39
- ` ${updateCommand} ${packageName}@latest`,
32
+ " This is an entirely new SDK with amazing improvements:",
33
+ "• 📄 Automatic pagination",
34
+ "• 🔄 Automatic retry",
35
+ "• 🎯 Significantly improved naming",
36
+ "• 🏗️ Simplified structure",
37
+ "",
38
+ "⚠️ While your current version will continue to work,",
39
+ "it will not receive any more updates.",
40
+ "",
41
+ "🔥 UPGRADE GUIDE 🔥",
42
+ "→ https://docs.conductor.is/qbd-api/upgrade-node ←",
40
43
  ]));
41
44
  }
42
45
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-node",
3
- "version": "11.9.0",
3
+ "version": "11.10.1",
4
4
  "description": "QuickBooks Desktop API for Node.js and TypeScript",
5
5
  "keywords": [
6
6
  "QuickBooks",
@@ -17,7 +17,7 @@
17
17
  "Intuit"
18
18
  ],
19
19
  "homepage": "https://conductor.is",
20
- "repository": "github:conductor-is/conductor-node",
20
+ "repository": "github:conductor-is/quickbooks-desktop-api",
21
21
  "license": "MIT",
22
22
  "author": "Conductor <support@conductor.is>",
23
23
  "type": "commonjs",
@@ -36,7 +36,7 @@
36
36
  "prepublishOnly": "pnpm jest"
37
37
  },
38
38
  "dependencies": {
39
- "axios": "^1.7.7"
39
+ "axios": "^1.7.9"
40
40
  },
41
41
  "devDependencies": {
42
42
  "axios-mock-adapter": "^1.22.0",