conductor-node 7.2.0 → 7.3.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/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-node",
3
- "version": "7.2.0",
3
+ "version": "7.3.0",
4
4
  "description": "Easily integrate with the entire QuickBooks Desktop API with fully-typed async TypeScript",
5
5
  "author": "Danny Nemer <hi@DannyNemer.com>",
6
6
  "license": "MIT",
@@ -44,12 +44,12 @@ export default class Client {
44
44
  * @param integrationConnectionId The ID of the integration connection.
45
45
  * @returns result Object with the following properties:
46
46
  * @returns result.isConnected Whether we can connect to QBD.
47
- * @returns result.devErrorMessage If `isConnected` is `false`, a
48
- * developer-friendly error message; e.g., "The end-user's computer is likely
49
- * off". Else, `null`.
50
- * @returns result.endUserErrorMessage If `isConnected` is `false`, a
51
- * user-friendly error message; e.g., "Please ensure your computer is on and
52
- * QuickBooks Desktop is open". Else, `null`.
47
+ * @returns result.devErrorMessage If `isConnected=false`, this will be the
48
+ * corresponding error message for the developer; e.g., "The end-user's
49
+ * computer is likely off".
50
+ * @returns result.endUserErrorMessage If `isConnected=false`, this will be
51
+ * the corresponding error message for the end-user; e.g., "Please ensure your
52
+ * computer is on and QuickBooks Desktop is open".
53
53
  */
54
54
  getConnectionStatus(integrationConnectionId: GraphqlGetConnectionStatusQueryVariables["integrationConnectionId"]): Promise<GraphqlGetConnectionStatusQuery["integrationConnection"]["connectionStatus"]>;
55
55
  integrationRequest(input: GraphqlIntegrationRequestInput): Promise<GraphqlIntegrationRequestQuery["integrationRequest"]>;
@@ -84,12 +84,12 @@ class Client {
84
84
  * @param integrationConnectionId The ID of the integration connection.
85
85
  * @returns result Object with the following properties:
86
86
  * @returns result.isConnected Whether we can connect to QBD.
87
- * @returns result.devErrorMessage If `isConnected` is `false`, a
88
- * developer-friendly error message; e.g., "The end-user's computer is likely
89
- * off". Else, `null`.
90
- * @returns result.endUserErrorMessage If `isConnected` is `false`, a
91
- * user-friendly error message; e.g., "Please ensure your computer is on and
92
- * QuickBooks Desktop is open". Else, `null`.
87
+ * @returns result.devErrorMessage If `isConnected=false`, this will be the
88
+ * corresponding error message for the developer; e.g., "The end-user's
89
+ * computer is likely off".
90
+ * @returns result.endUserErrorMessage If `isConnected=false`, this will be
91
+ * the corresponding error message for the end-user; e.g., "Please ensure your
92
+ * computer is on and QuickBooks Desktop is open".
93
93
  */
94
94
  async getConnectionStatus(integrationConnectionId) {
95
95
  return this.graphqlOperations
@@ -781,6 +781,8 @@ export interface BillRet {
781
781
 
782
782
  Note (especially relevant to `CheckAdd` requests): When `RefNumber` is left blank in an SDK transaction add request (that is, or ), the `RefNumber` will be left blank in QuickBooks. This behavior is new as of QBFC3. It used to select the next sequential reference number since the last one used by QuickBooks, as though no `RefNumber` had been provided. This is especially relevant to `CheckAdd` requests because with the current behavior, you will not know the number until the check is printed. */
783
783
  RefNumber?: string;
784
+ /** If `IsPending` is set to true, the bill has not been completed or in draft version. */
785
+ IsPending?: boolean;
784
786
  /** Refers to the payment terms associated with this entity. (This will be an item on the `DateDrivenTerms` or `StandardTerms` list.) If a `TermsRef` aggregate includes both `FullName` and `ListID`, `FullName` will be ignored. */
785
787
  TermsRef?: TermsRef;
786
788
  /** Appears in the A/P register and in reports that include this bill. */
@@ -995,6 +997,8 @@ export interface CheckRet {
995
997
  Address?: Address;
996
998
  /** The address expressed as an address block of `Addr1` through `Addr5`, depending on the number of lines in the original request that created the address. */
997
999
  AddressBlock?: AddressBlock;
1000
+ /** If `IsPending` is set to true, the check has not been completed or in draft version. */
1001
+ IsPending?: boolean;
998
1002
  /** If `IsToBePrinted` is set to true, this transaction is on a list of forms to be printed later. The user can then choose to print all these forms at once. Notice that setting this field to true does not actually perform the printing. Only the QuickBooks user can do that from within QuickBooks. This cannot be done from the SDK. Setting this field to false does not prevent the QuickBooks user from printing the transaction later. It simply results in the transaction NOT being placed in the list of transactions to be printed. */
999
1003
  IsToBePrinted?: boolean;
1000
1004
  /** For future use with international versions of QuickBooks. */
@@ -2588,6 +2592,8 @@ export interface ItemLineAdd {
2588
2592
  SerialNumber?: string;
2589
2593
  /** The lot number of the asset. */
2590
2594
  LotNumber?: string;
2595
+ /** The expiration date of the inventory serial/lot number. Expiration `Date` is supported from QB Desktop 2023 (USA & Canada) and SDK 16.0. */
2596
+ ExpirationDateForSerialLotNumber: string;
2591
2597
  /** A descriptive text field. */
2592
2598
  Desc?: string;
2593
2599
  /** `QuantityFor` transactions: If an item line add on a transaction request specifies `Quantity` and `Amount` but not `Rate`, QuickBooks will use `Quantity` and `Amount` to calculate `Rate`. Likewise, if a request specifies `Quantity` and `Rate` but not `Amount`, QuickBooks will calculate the `Amount`. If a transaction add request includes a reference to an `ItemDiscount` item, do not include a `Quantity` element as well, or you will get an error. For Item requests: `Quantity` indicates how many of this item there are. */
@@ -2642,6 +2648,8 @@ export interface ItemLineMod {
2642
2648
  SerialNumber?: string;
2643
2649
  /** The lot number of the asset. */
2644
2650
  LotNumber?: string;
2651
+ /** The expiration date of the inventory serial/lot number. Expiration `Date` is supported from QB Desktop 2023 (USA & Canada) and SDK 16.0. */
2652
+ ExpirationDateForSerialLotNumber?: string;
2645
2653
  /** A descriptive text field. */
2646
2654
  Desc?: string;
2647
2655
  /** `QuantityFor` transactions: If an item line add on a transaction request specifies `Quantity` and `Amount` but not `Rate`, QuickBooks will use `Quantity` and `Amount` to calculate `Rate`. Likewise, if a request specifies `Quantity` and `Rate` but not `Amount`, QuickBooks will calculate the `Amount`. If a transaction add request includes a reference to an `ItemDiscount` item, do not include a `Quantity` element as well, or you will get an error. For Item requests: `Quantity` indicates how many of this item there are. */
@@ -2696,6 +2704,8 @@ export interface ItemLineRet {
2696
2704
  SerialNumber?: string;
2697
2705
  /** The lot number of the asset. */
2698
2706
  LotNumber?: string;
2707
+ /** The expiration date of the inventory serial/lot number. Expiration `Date` is supported from QB Desktop 2023 (USA & Canada) and SDK 16.0. */
2708
+ ExpirationDateForSerialLotNumber: string;
2699
2709
  /** A descriptive text field. */
2700
2710
  Desc?: string;
2701
2711
  /** `QuantityFor` transactions: If an item line add on a transaction request specifies `Quantity` and `Amount` but not `Rate`, QuickBooks will use `Quantity` and `Amount` to calculate `Rate`. Likewise, if a request specifies `Quantity` and `Rate` but not `Amount`, QuickBooks will calculate the `Amount`. If a transaction add request includes a reference to an `ItemDiscount` item, do not include a `Quantity` element as well, or you will get an error. For Item requests: `Quantity` indicates how many of this item there are. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-node",
3
- "version": "7.2.0",
3
+ "version": "7.3.0",
4
4
  "description": "Easily integrate with the entire QuickBooks Desktop API with fully-typed async TypeScript",
5
5
  "author": "Danny Nemer <hi@DannyNemer.com>",
6
6
  "license": "MIT",