conductor-node 11.6.10 → 11.6.11

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/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-node",
3
- "version": "11.6.10",
3
+ "version": "11.6.11",
4
4
  "description": "QuickBooks Desktop API for Node.js and TypeScript",
5
5
  "keywords": [
6
6
  "QuickBooks",
@@ -36,7 +36,7 @@
36
36
  "prepublishOnly": "pnpm jest"
37
37
  },
38
38
  "dependencies": {
39
- "axios": "^1.7.2"
39
+ "axios": "^1.7.3"
40
40
  },
41
41
  "devDependencies": {
42
42
  "axios-mock-adapter": "^1.22.0",
@@ -2718,8 +2718,8 @@ export default class QbdIntegration extends BaseIntegration {
2718
2718
  query: (endUserId: string, params?: QbdTypes.TransactionQueryRq) => Promise<NonNullable<QbdTypes.TransactionQueryRs["TransactionRet"]>>;
2719
2719
  /**
2720
2720
  * Deleting a transaction removes it completely and irreversibly. (Using a
2721
- * TxnVoid request to void a transaction, on the other hand, sets its amount
2722
- * to zero but keeps a record of it in QuickBooks.)
2721
+ * `TxnVoid` request to void a transaction, on the other hand, sets its
2722
+ * amount to zero but keeps a record of it in QuickBooks.)
2723
2723
  *
2724
2724
  * If you try to delete or void a transaction while it is in use, you will
2725
2725
  * get an error. You will also get an error if you try to delete or void a
@@ -2730,7 +2730,7 @@ export default class QbdIntegration extends BaseIntegration {
2730
2730
  * QuickBooks.
2731
2731
  *
2732
2732
  * The mode in which a QuickBooks company file is open (single-user or
2733
- * multi0user) does not impact your application’s ability to delete
2733
+ * multi-user) does not impact your application’s ability to delete
2734
2734
  * transaction objects from it. (List objects can only be deleted if the
2735
2735
  * company file is open in single-user mode.)
2736
2736
  *
@@ -2738,16 +2738,16 @@ export default class QbdIntegration extends BaseIntegration {
2738
2738
  */
2739
2739
  delete: (endUserId: string, params: QbdTypes.TxnDelRq) => Promise<NonNullable<QbdTypes.TxnDelRs>>;
2740
2740
  /**
2741
- * Voiding a transaction sets its amount to zero but keeps a record of it
2742
- * in QuickBooks. (Using `TxnDel` to delete a transaction, on the other
2743
- * hand, removes the transaction completely.)
2741
+ * Voiding a transaction sets its amount to zero but keeps a record of it in
2742
+ * QuickBooks. (Using `TxnDel` to delete a transaction, on the other hand,
2743
+ * removes the transaction completely.)
2744
2744
  *
2745
2745
  * If you try to void or delete a transaction while it is in use, you will
2746
2746
  * get an error. You will also get an error if you try to void or delete a
2747
2747
  * transaction (say a sales receipt) while a linked transaction (such as a
2748
2748
  * deposit) is in use. If you try to void or delete a transaction that was
2749
- * created before the company’s closing date, you might or might not get
2750
- * an error, depending on the permissions and passwords that are set in
2749
+ * created before the company’s closing date, you might or might not get an
2750
+ * error, depending on the permissions and passwords that are set in
2751
2751
  * QuickBooks.
2752
2752
  *
2753
2753
  * The mode in which a QuickBooks company file is open (single-user or
@@ -2723,8 +2723,8 @@ class QbdIntegration extends BaseIntegration_1.default {
2723
2723
  query: async (endUserId, params = {}) => this.sendRequestWrapper(endUserId, { TransactionQueryRq: params }, "TransactionQueryRs", "TransactionRet"),
2724
2724
  /**
2725
2725
  * Deleting a transaction removes it completely and irreversibly. (Using a
2726
- * TxnVoid request to void a transaction, on the other hand, sets its amount
2727
- * to zero but keeps a record of it in QuickBooks.)
2726
+ * `TxnVoid` request to void a transaction, on the other hand, sets its
2727
+ * amount to zero but keeps a record of it in QuickBooks.)
2728
2728
  *
2729
2729
  * If you try to delete or void a transaction while it is in use, you will
2730
2730
  * get an error. You will also get an error if you try to delete or void a
@@ -2735,31 +2735,30 @@ class QbdIntegration extends BaseIntegration_1.default {
2735
2735
  * QuickBooks.
2736
2736
  *
2737
2737
  * The mode in which a QuickBooks company file is open (single-user or
2738
- * multi0user) does not impact your application’s ability to delete
2738
+ * multi-user) does not impact your application’s ability to delete
2739
2739
  * transaction objects from it. (List objects can only be deleted if the
2740
2740
  * company file is open in single-user mode.)
2741
2741
  *
2742
2742
  * See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/TxnDel
2743
2743
  */
2744
2744
  delete: async (endUserId, params) =>
2745
- // Call `this.sendRequest` directly instead of using
2746
- // `this.sendRequestWrapper` because `TxnDel` has a unique input and
2745
+ // Call `this.sendRequest()` directly instead of using
2746
+ // `this.sendRequestWrapper()` because `TxnDel` has a unique input and
2747
2747
  // output structure.
2748
- this.sendRequest(endUserId, "quickbooks_desktop",
2749
- // We must needlessly assert the type even though `QbdTypes.TxnDelRq` is
2750
- // a valid form of `Record<string, unknown>`.
2751
- params),
2748
+ this.sendRequest(endUserId, "quickbooks_desktop", {
2749
+ TxnDelRq: params,
2750
+ }),
2752
2751
  /**
2753
- * Voiding a transaction sets its amount to zero but keeps a record of it
2754
- * in QuickBooks. (Using `TxnDel` to delete a transaction, on the other
2755
- * hand, removes the transaction completely.)
2752
+ * Voiding a transaction sets its amount to zero but keeps a record of it in
2753
+ * QuickBooks. (Using `TxnDel` to delete a transaction, on the other hand,
2754
+ * removes the transaction completely.)
2756
2755
  *
2757
2756
  * If you try to void or delete a transaction while it is in use, you will
2758
2757
  * get an error. You will also get an error if you try to void or delete a
2759
2758
  * transaction (say a sales receipt) while a linked transaction (such as a
2760
2759
  * deposit) is in use. If you try to void or delete a transaction that was
2761
- * created before the company’s closing date, you might or might not get
2762
- * an error, depending on the permissions and passwords that are set in
2760
+ * created before the company’s closing date, you might or might not get an
2761
+ * error, depending on the permissions and passwords that are set in
2763
2762
  * QuickBooks.
2764
2763
  *
2765
2764
  * The mode in which a QuickBooks company file is open (single-user or
@@ -2769,13 +2768,12 @@ class QbdIntegration extends BaseIntegration_1.default {
2769
2768
  * See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/TxnVoid
2770
2769
  */
2771
2770
  void: async (endUserId, params) =>
2772
- // Call `this.sendRequest` directly instead of using
2773
- // `this.sendRequestWrapper` because `TxnVoid` has a unique input and
2771
+ // Call `this.sendRequest()` directly instead of using
2772
+ // `this.sendRequestWrapper()` because `TxnVoid` has a unique input and
2774
2773
  // output structure.
2775
- this.sendRequest(endUserId, "quickbooks_desktop",
2776
- // We must needlessly assert the type even though `QbdTypes.TxnVoidRq`
2777
- // is a valid form of `Record<string, unknown>`.
2778
- params),
2774
+ this.sendRequest(endUserId, "quickbooks_desktop", {
2775
+ TxnVoidRq: params,
2776
+ }),
2779
2777
  };
2780
2778
  /**
2781
2779
  * A transfer is a transaction that moves money from one account to another
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-node",
3
- "version": "11.6.10",
3
+ "version": "11.6.11",
4
4
  "description": "QuickBooks Desktop API for Node.js and TypeScript",
5
5
  "keywords": [
6
6
  "QuickBooks",
@@ -36,7 +36,7 @@
36
36
  "prepublishOnly": "pnpm jest"
37
37
  },
38
38
  "dependencies": {
39
- "axios": "^1.7.2"
39
+ "axios": "^1.7.3"
40
40
  },
41
41
  "devDependencies": {
42
42
  "axios-mock-adapter": "^1.22.0",