conductor-node 12.8.1 → 12.9.0
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/CHANGELOG.md +13 -0
- package/README.md +14 -28
- package/package.json +1 -1
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 12.9.0 (2025-06-06)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v12.8.1...v12.9.0](https://github.com/conductor-is/quickbooks-desktop-node/compare/v12.8.1...v12.9.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **mcp:** implement support for binary responses ([e5261e6](https://github.com/conductor-is/quickbooks-desktop-node/commit/e5261e6e4aaf89d7a06aeed09214e18a84d1a83c))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Chores
|
|
13
|
+
|
|
14
|
+
* **docs:** use top-level-await in example snippets ([1b9e6e3](https://github.com/conductor-is/quickbooks-desktop-node/commit/1b9e6e39772f0bc760599e41fd20d674338dd90c))
|
|
15
|
+
|
|
3
16
|
## 12.8.1 (2025-06-03)
|
|
4
17
|
|
|
5
18
|
Full Changelog: [v12.8.0...v12.8.1](https://github.com/conductor-is/quickbooks-desktop-node/compare/v12.8.0...v12.8.1)
|
package/README.md
CHANGED
|
@@ -72,14 +72,10 @@ const conductor = new Conductor({
|
|
|
72
72
|
apiKey: process.env['CONDUCTOR_SECRET_KEY'], // This is the default and can be omitted
|
|
73
73
|
});
|
|
74
74
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
const invoice = page.data[0];
|
|
75
|
+
const page = await conductor.qbd.invoices.list({ conductorEndUserId: 'YOUR_END_USER_ID' });
|
|
76
|
+
const invoice = page.data[0];
|
|
78
77
|
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
main();
|
|
78
|
+
console.log(invoice.id);
|
|
83
79
|
```
|
|
84
80
|
|
|
85
81
|
### Request & Response types
|
|
@@ -94,12 +90,8 @@ const conductor = new Conductor({
|
|
|
94
90
|
apiKey: process.env['CONDUCTOR_SECRET_KEY'], // This is the default and can be omitted
|
|
95
91
|
});
|
|
96
92
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
const [invoice]: [Conductor.Qbd.Invoice] = await conductor.qbd.invoices.list(params);
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
main();
|
|
93
|
+
const params: Conductor.Qbd.InvoiceListParams = { conductorEndUserId: 'YOUR_END_USER_ID' };
|
|
94
|
+
const [invoice]: [Conductor.Qbd.Invoice] = await conductor.qbd.invoices.list(params);
|
|
103
95
|
```
|
|
104
96
|
|
|
105
97
|
Documentation for each method, request param, and response field are available in docstrings and will appear on hover in most modern editors.
|
|
@@ -112,21 +104,15 @@ a subclass of `APIError` will be thrown:
|
|
|
112
104
|
|
|
113
105
|
<!-- prettier-ignore -->
|
|
114
106
|
```ts
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
.
|
|
118
|
-
.
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
throw err;
|
|
125
|
-
}
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
main();
|
|
107
|
+
const page = await conductor.qbd.invoices.list({ conductorEndUserId: 'YOUR_END_USER_ID' }).catch(async (err) => {
|
|
108
|
+
if (err instanceof Conductor.APIError) {
|
|
109
|
+
console.log(err.status); // 400
|
|
110
|
+
console.log(err.name); // BadRequestError
|
|
111
|
+
console.log(err.headers); // {server: 'nginx', ...}
|
|
112
|
+
} else {
|
|
113
|
+
throw err;
|
|
114
|
+
}
|
|
115
|
+
});
|
|
130
116
|
```
|
|
131
117
|
|
|
132
118
|
Error codes are as follows:
|
package/package.json
CHANGED
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '12.
|
|
1
|
+
export const VERSION = '12.9.0'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "12.
|
|
1
|
+
export declare const VERSION = "12.9.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '12.
|
|
1
|
+
export const VERSION = '12.9.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|