conductor-node 10.4.1 → 10.5.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": "10.4.1",
3
+ "version": "10.5.0",
4
4
  "description": "Easily integrate the entire QuickBooks Desktop API using fully-typed async TypeScript",
5
5
  "keywords": [
6
6
  "QuickBooks Desktop",
@@ -701,6 +701,26 @@ export default class QbdIntegration extends BaseIntegration {
701
701
  */
702
702
  query: (endUserId: string, params: QbdTypes.CustomerTypeQueryRq) => Promise<NonNullable<QbdTypes.CustomerTypeQueryRs["CustomerTypeRet"]>>;
703
703
  };
704
+ dateDrivenTerms: {
705
+ /**
706
+ * Date-driven terms show the day of the month by which payment is due and
707
+ * can include a discount for early payment. For example, the following
708
+ * date-driven term means that payment is due on the 30th of the month, with
709
+ * a 1% discount if payment is made by the 10th: "1% 10 Net 30".
710
+ *
711
+ * Payments with standard terms, on the other hand, are due within a certain
712
+ * number of days.
713
+ *
714
+ * See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/DateDrivenTermsAdd
715
+ */
716
+ add: (endUserId: string, params: QbdTypes.DateDrivenTermsAddRq["DateDrivenTermsAdd"]) => Promise<NonNullable<QbdTypes.DateDrivenTermsAddRs["DateDrivenTermsRet"]>>;
717
+ /**
718
+ * Queries for the specified date-driven terms or set of terms.
719
+ *
720
+ * See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/DateDrivenTermsQuery
721
+ */
722
+ query: (endUserId: string, params: QbdTypes.DateDrivenTermsQueryRq) => Promise<NonNullable<QbdTypes.DateDrivenTermsQueryRs["DateDrivenTermsRet"]>>;
723
+ };
704
724
  deposit: {
705
725
  /**
706
726
  * After you receive payments from customers (see `ReceivePayment`), you can
@@ -2137,6 +2157,25 @@ export default class QbdIntegration extends BaseIntegration {
2137
2157
  */
2138
2158
  query: (endUserId: string, params: QbdTypes.SalesTaxPaymentCheckQueryRq) => Promise<NonNullable<QbdTypes.SalesTaxPaymentCheckQueryRs["SalesTaxPaymentCheckRet"]>>;
2139
2159
  };
2160
+ standardTerms: {
2161
+ /**
2162
+ * Adds a standard term. Standard terms show the number of days within which
2163
+ * payment is due and can include a discount for early payment. For example,
2164
+ * the following standard term means that payment is due in 30 days, with a
2165
+ * 1% discount if payment is made within 10 days: "1% 10 Net 30".
2166
+ *
2167
+ * Payments with date-driven terms, on the other hand, are due by a certain date.
2168
+ *
2169
+ * See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/StandardTermsAdd
2170
+ */
2171
+ add: (endUserId: string, params: QbdTypes.StandardTermsAddRq["StandardTermsAdd"]) => Promise<NonNullable<QbdTypes.StandardTermsAddRs["StandardTermsRet"]>>;
2172
+ /**
2173
+ * Queries for the specified standard term or set of terms.
2174
+ *
2175
+ * See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/StandardTermsQuery
2176
+ */
2177
+ query: (endUserId: string, params: QbdTypes.StandardTermsQueryRq) => Promise<NonNullable<QbdTypes.StandardTermsQueryRs["StandardTermsRet"]>>;
2178
+ };
2140
2179
  timeTracking: {
2141
2180
  /**
2142
2181
  * The time-tracking transactions that are returned in this query include
@@ -706,6 +706,26 @@ class QbdIntegration extends BaseIntegration_1.default {
706
706
  */
707
707
  query: async (endUserId, params) => this.sendRequestWrapper(endUserId, { CustomerTypeQueryRq: params }, "CustomerTypeQueryRs", "CustomerTypeRet"),
708
708
  };
709
+ dateDrivenTerms = {
710
+ /**
711
+ * Date-driven terms show the day of the month by which payment is due and
712
+ * can include a discount for early payment. For example, the following
713
+ * date-driven term means that payment is due on the 30th of the month, with
714
+ * a 1% discount if payment is made by the 10th: "1% 10 Net 30".
715
+ *
716
+ * Payments with standard terms, on the other hand, are due within a certain
717
+ * number of days.
718
+ *
719
+ * See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/DateDrivenTermsAdd
720
+ */
721
+ add: async (endUserId, params) => this.sendRequestWrapper(endUserId, { DateDrivenTermsAddRq: { DateDrivenTermsAdd: params } }, "DateDrivenTermsAddRs", "DateDrivenTermsRet"),
722
+ /**
723
+ * Queries for the specified date-driven terms or set of terms.
724
+ *
725
+ * See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/DateDrivenTermsQuery
726
+ */
727
+ query: async (endUserId, params) => this.sendRequestWrapper(endUserId, { DateDrivenTermsQueryRq: params }, "DateDrivenTermsQueryRs", "DateDrivenTermsRet"),
728
+ };
709
729
  deposit = {
710
730
  /**
711
731
  * After you receive payments from customers (see `ReceivePayment`), you can
@@ -2142,6 +2162,25 @@ class QbdIntegration extends BaseIntegration_1.default {
2142
2162
  */
2143
2163
  query: async (endUserId, params) => this.sendRequestWrapper(endUserId, { SalesTaxPaymentCheckQueryRq: params }, "SalesTaxPaymentCheckQueryRs", "SalesTaxPaymentCheckRet"),
2144
2164
  };
2165
+ standardTerms = {
2166
+ /**
2167
+ * Adds a standard term. Standard terms show the number of days within which
2168
+ * payment is due and can include a discount for early payment. For example,
2169
+ * the following standard term means that payment is due in 30 days, with a
2170
+ * 1% discount if payment is made within 10 days: "1% 10 Net 30".
2171
+ *
2172
+ * Payments with date-driven terms, on the other hand, are due by a certain date.
2173
+ *
2174
+ * See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/StandardTermsAdd
2175
+ */
2176
+ add: async (endUserId, params) => this.sendRequestWrapper(endUserId, { StandardTermsAddRq: { StandardTermsAdd: params } }, "StandardTermsAddRs", "StandardTermsRet"),
2177
+ /**
2178
+ * Queries for the specified standard term or set of terms.
2179
+ *
2180
+ * See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/StandardTermsQuery
2181
+ */
2182
+ query: async (endUserId, params) => this.sendRequestWrapper(endUserId, { StandardTermsQueryRq: params }, "StandardTermsQueryRs", "StandardTermsRet"),
2183
+ };
2145
2184
  timeTracking = {
2146
2185
  /**
2147
2186
  * The time-tracking transactions that are returned in this query include
@@ -3524,6 +3524,74 @@ export interface DataRow {
3524
3524
  ColData?: ColData | ColData[];
3525
3525
  }
3526
3526
  export type DataType = "AMTTYPE" | "BOOLTYPE" | "DATETIMETYPE" | "DATETYPE" | "ENUMTYPE" | "GUIDTYPE" | "IDTYPE" | "INTTYPE" | "PERCENTTYPE" | "PRICETYPE" | "QUANTYPE" | "STRTYPE" | "TIMEINTERVALTYPE";
3527
+ export interface DateDrivenTermsAdd {
3528
+ /** The case-insensitive name of a list object, not including the names of its ancestors. `Name` must be unique, unless it is the `Name` of a “hierarchical” list object. List objects in different hierarchies can have duplicate names because their `FullNames` will still be unique. For example, two objects could both have the `Name` kitchen, but they could have unique `FullNames`, such as Job12:kitchen and Baker:kitchen. For built-in currencies, `Name` is the internationally accepted currency name and is not editable. */
3529
+ Name: string;
3530
+ /** If `IsActive` is true, this object is currently enabled for use by QuickBooks. The default value is true. */
3531
+ IsActive?: boolean;
3532
+ /** The day of the month when full payment is due with no discount. */
3533
+ DayOfMonthDue: number;
3534
+ /** Handles cases when an invoice or bill is issued close to its due date. If the invoice or bill is issued within this many days of the due date, payment is not due until the following month. For example, with a `DayOfMonthDue` of 15 and a `DueNextMonthDays` of 2, an invoice issued on May 13th would not be due until June 15th. */
3535
+ DueNextMonthDays?: number;
3536
+ /** If the payment is made by this day of the month, then `DiscountPct` applies. */
3537
+ DiscountDayOfMonth?: number;
3538
+ /** If payment is received by `DiscountDayOfMonth`, then this discount will apply to the payment. `DiscountPct` must be between 0 and 100. */
3539
+ DiscountPct?: string;
3540
+ }
3541
+ export interface DateDrivenTermsAddRq {
3542
+ DateDrivenTermsAdd: DateDrivenTermsAdd;
3543
+ /** You use this if you want to limit the data that will be returned in the response. In this list, you specify the name of each top-level element or aggregate that you want to be returned in the response to the request. You cannot specify fields within an aggregate, for example, you cannot specify a `City` within an `Address`: you must specify `Address` and will get the entire address. The names specified in the list are not parsed, so you must be especially careful to supply valid names, properly cased. No error is returned in the status code if you specify an invalid name. Notice that if you want to return custom data or private data extensions, you must specify the `DataExtRet` element and you must supply the `OwnerID` set to either a value of 0 (custom data) or the GUID for the private data. */
3544
+ IncludeRetElement?: string[] | string;
3545
+ }
3546
+ export interface DateDrivenTermsAddRs {
3547
+ DateDrivenTermsRet?: DateDrivenTermsRet;
3548
+ ErrorRecovery?: ErrorRecovery;
3549
+ }
3550
+ export interface DateDrivenTermsQueryRq {
3551
+ /** One or more `ListID` values. Along with `FullName`, `ListID` is a way to identify a list object. When a list object is added to QuickBooks through the SDK or through the QuickBooks user interface, the server assigns it a `ListID`. A `ListID` is not unique across lists, but it is unique across each particular type of list. For example, two customers could not have the same `ListID`, and a customer could not have the same `ListID` as an employee (because Customer and Employee are both name lists). But a customer could have the same `ListID` as a non-inventory item. */
3552
+ ListID?: string[] | string;
3553
+ /** A list of one or more `FullName` values. `FullName` (along with `ListID`) is a way to identify a list object. The `FullName` is the name prefixed by the names of each ancestor, for example `Jones:Kitchen:Cabinets`. `FullName` values are not case-sensitive. */
3554
+ FullName?: string[] | string;
3555
+ /** Limits the number of objects that a query returns. (To get a count of how many objects could possibly be returned, use the `metaData` query attribute.) If you include a `MaxReturned` value, it must be at least 1. */
3556
+ MaxReturned?: number;
3557
+ /** Used in filters to select list objects based on whether or not they are currently enabled for use by QuickBooks. The default value is `asActiveOnly`, which selects only list objects that are active. */
3558
+ ActiveStatus?: ActiveStatus;
3559
+ /** Selects objects modified on or after this date. See the note below regarding QBFC usage.For desktop versions of QuickBooks, the `FromModifiedDate` and `ToModifiedDate` must be between 1970-01-01 and 2038-01-19T03:14:07 (2038-01-18T19:14:07-08:00 PST). (The time portion of the field was not supported in qbXML version 1.0 or 1.1.) Also, for desktop versions of QuickBooks, if `FromModifiedDate` includes a date but not a time (for example, if you set `FromModifiedDate` to 2003-02-14), the time is assumed to be zero (2003-02-14T00:00:00). If you omit `FromModifiedDate`, it will be set to 1970-01-01T00:00:00 (1969-12-31T16:00:00-08:00 PST).For QBOE, the `FromModifiedDate` and `ToModifiedDate` must be between 1900-01-01T00:00:00 and 9999-12-31T00:00:00. If `FromModifiedDate` includes a date but not a time (for example, if you set `FromModifiedDate` to 2003-02-14), the time is assumed to be zero (2003-02-14T00:00:00). If you omit `FromModifiedDate`, it will be set to 1900-01-01T00:00:00.`Note`: When specifying this in QBFC, you need to supply the parameter `asDateOnly`, which is a Boolean. If `asDateOnly` is true, the date value will be represented as a date only (without a time). If `asDateOnly` is false, the date value will be represented as date and time, padded with zeros if necessary, and set to the beginning of the day if no time is provided. The `asDateOnly` parameter is especially useful in the `ToModifiedDate` field of a query: If `asDateOnly` is set to true in the `ToModifiedDate` field of a query, then the query includes elements modified up to the end of the day. If `asDateOnly` is false, the query includes elements modified up to the specified time (or up to the beginning of the day if no time is included). */
3560
+ FromModifiedDate?: string;
3561
+ /** Selects objects modified on or before this date. See the note below on QBFC usage.For desktop versions of QuickBooks, the `ToModifiedDate` and `FromModifiedDate` must be between 01/01/1970 and 2038-01-19T03:14:07 (2038-01-18T19:14:07-08:00 PST). (Note that the time portion of the field was not supported in qbXML version 1.0 or 1.1.) If `ToModifiedDate` includes a date but not a time (for example, if you set `ToModifiedDate` to 2003-02-14), the time is assumed to be the end of the day (2003-02-14T23:59:59). If you omit `ToModifiedDate` altogether, it will be set to 2038-01-19T03:14:07 (2038-01-18T19:14:07-08:00 PST).For QBOE, the `ToModifiedDate` and `FromModifiedDate` must be between 01/01/1900 and 9999-12-31T00:00:00. If `ToModifiedDate` includes a date but not a time (for example, if you set `ToModifiedDate` to 2003-02-14), the time is assumed to be the end of the day (2003-02-14T23:59:59). If you omit `ToModifiedDate` altogether, it will be set to 9999-12-31T00:00:00.`Note`: When specifying this in QBFC, you need to supply the parameter `asDateOnly`, which is a Boolean. If `asDateOnly` is true, the date value will be represented as a date only (without a time). If `asDateOnly` is false, the date value will be represented as date and time, padded with zeros if necessary, and set to the beginning of the day if no time is provided. The `asDateOnly` parameter is especially useful in the `ToModifiedDate` field of a query: If `asDateOnly` is set to true in the `ToModifiedDate` field of a query, then the query includes elements modified up to the end of the day. If `asDateOnly` is false, the query includes elements modified up to the specified time (or up to the beginning of the day if no time is included). */
3562
+ ToModifiedDate?: string;
3563
+ /** Filters according to the object’s `Name`. */
3564
+ NameFilter?: NameFilter;
3565
+ /** Filters according to the object’s `Name`. */
3566
+ NameRangeFilter?: NameRangeFilter;
3567
+ /** You use this if you want to limit the data that will be returned in the response. In this list, you specify the name of each top-level element or aggregate that you want to be returned in the response to the request. You cannot specify fields within an aggregate, for example, you cannot specify a `City` within an `Address`: you must specify `Address` and will get the entire address. The names specified in the list are not parsed, so you must be especially careful to supply valid names, properly cased. No error is returned in the status code if you specify an invalid name. Notice that if you want to return custom data or private data extensions, you must specify the `DataExtRet` element and you must supply the `OwnerID` set to either a value of 0 (custom data) or the GUID for the private data. */
3568
+ IncludeRetElement?: string[] | string;
3569
+ }
3570
+ export interface DateDrivenTermsQueryRs {
3571
+ DateDrivenTermsRet: DateDrivenTermsRet[];
3572
+ }
3573
+ export interface DateDrivenTermsRet {
3574
+ /** Along with `FullName`, `ListID` is a way to identify a list object. When a list object is added to QuickBooks through the SDK or through the QuickBooks user interface, the server assigns it a `ListID`. A `ListID` is not unique across lists, but it is unique across each particular type of list. For example, two customers could not have the same `ListID`, and a customer could not have the same `ListID` as an employee (because Customer and Employee are both name lists). But a customer could have the same `ListID` as a non-inventory item. */
3575
+ ListID: string;
3576
+ /** Time the object was created. */
3577
+ TimeCreated: string;
3578
+ /** Time the object was last modified. */
3579
+ TimeModified: string;
3580
+ /** A number that the server generates and assigns to this object. Every time the object is changed, the server will change its `EditSequence` value. When you try to modify a list object, you must provide its `EditSequence`. The server compares the `EditSequence` you provide with the `EditSequence` in memory to make sure you are dealing with the latest copy of the object. If you are not, the server will reject the request and return an error. Because `EditSequence` is only used to check whether two objects match, there is no reason to interpret its value. */
3581
+ EditSequence: string;
3582
+ /** The case-insensitive name of a list object, not including the names of its ancestors. `Name` must be unique, unless it is the `Name` of a “hierarchical” list object. List objects in different hierarchies can have duplicate names because their `FullNames` will still be unique. For example, two objects could both have the `Name` kitchen, but they could have unique `FullNames`, such as Job12:kitchen and Baker:kitchen. For built-in currencies, `Name` is the internationally accepted currency name and is not editable. */
3583
+ Name: string;
3584
+ /** If `IsActive` is true, this object is currently enabled for use by QuickBooks. The default value is true. */
3585
+ IsActive?: boolean;
3586
+ /** The day of the month when full payment is due with no discount. */
3587
+ DayOfMonthDue: number;
3588
+ /** Handles cases when an invoice or bill is issued close to its due date. If the invoice or bill is issued within this many days of the due date, payment is not due until the following month. For example, with a `DayOfMonthDue` of 15 and a `DueNextMonthDays` of 2, an invoice issued on May 13th would not be due until June 15th. */
3589
+ DueNextMonthDays?: number;
3590
+ /** If the payment is made by this day of the month, then `DiscountPct` applies. */
3591
+ DiscountDayOfMonth?: number;
3592
+ /** If payment is received by `DiscountDayOfMonth`, then this discount will apply to the payment. `DiscountPct` must be between 0 and 100. */
3593
+ DiscountPct?: string;
3594
+ }
3527
3595
  export type DateMacro = "All" | "LastCalendarQuarter" | "LastCalendarQuarterToDate" | "LastCalendarYear" | "LastCalendarYearToDate" | "LastFiscalQuarter" | "LastFiscalQuarterToDate" | "LastFiscalYear" | "LastFiscalYearToDate" | "LastMonth" | "LastMonthToDate" | "LastWeek" | "LastWeekToDate" | "NextCalendarQuarter" | "NextCalendarYear" | "NextFiscalQuarter" | "NextFiscalYear" | "NextFourWeeks" | "NextMonth" | "NextWeek" | "ThisCalendarQuarter" | "ThisCalendarQuarterToDate" | "ThisCalendarYear" | "ThisCalendarYearToDate" | "ThisFiscalQuarter" | "ThisFiscalQuarterToDate" | "ThisFiscalYear" | "ThisFiscalYearToDate" | "ThisMonth" | "ThisMonthToDate" | "ThisWeek" | "ThisWeekToDate" | "Today" | "Yesterday";
3528
3596
  /** @default: 2 */
3529
3597
  export type DecimalPlaces = "0" | "2";
@@ -11468,6 +11536,70 @@ export interface SiteFilter {
11468
11536
  export type SOChannel = "Blank" | "Ecommerce";
11469
11537
  export type SpecialAccountType = "AccountsPayable" | "AccountsReceivable" | "CondenseItemAdjustmentExpenses" | "CostOfGoodsSold" | "DirectDepositLiabilities" | "Estimates" | "ExchangeGainLoss" | "InventoryAssets" | "ItemReceiptAccount" | "OpeningBalanceEquity" | "PayrollExpenses" | "PayrollLiabilities" | "PettyCash" | "PurchaseOrders" | "ReconciliationDifferences" | "RetainedEarnings" | "SalesOrders" | "SalesTaxPayable" | "UncategorizedExpenses" | "UncategorizedIncome" | "UndepositedFunds";
11470
11538
  export type SpecialItemType = "FinanceCharge" | "ReimbursableExpenseGroup" | "ReimbursableExpenseSubtotal";
11539
+ export interface StandardTermsAdd {
11540
+ /** The case-insensitive name of a list object, not including the names of its ancestors. `Name` must be unique, unless it is the `Name` of a “hierarchical” list object. List objects in different hierarchies can have duplicate names because their `FullNames` will still be unique. For example, two objects could both have the `Name` kitchen, but they could have unique `FullNames`, such as Job12:kitchen and Baker:kitchen. For built-in currencies, `Name` is the internationally accepted currency name and is not editable. */
11541
+ Name: string;
11542
+ /** If `IsActive` is true, this object is currently enabled for use by QuickBooks. The default value is true. */
11543
+ IsActive?: boolean;
11544
+ /** The number of days until payment is due. */
11545
+ StdDueDays?: number;
11546
+ /** If payment is received within `StdDiscountDays` number of days, then `DiscountPct` will apply to the payment. */
11547
+ StdDiscountDays?: number;
11548
+ /** If payment is received within `StdDiscountDays` number of days, then this discount will apply to the payment. `DiscountPct` must be between 0 and 100. */
11549
+ DiscountPct?: string;
11550
+ }
11551
+ export interface StandardTermsAddRq {
11552
+ StandardTermsAdd: StandardTermsAdd;
11553
+ /** You use this if you want to limit the data that will be returned in the response. In this list, you specify the name of each top-level element or aggregate that you want to be returned in the response to the request. You cannot specify fields within an aggregate, for example, you cannot specify a `City` within an `Address`: you must specify `Address` and will get the entire address. The names specified in the list are not parsed, so you must be especially careful to supply valid names, properly cased. No error is returned in the status code if you specify an invalid name. Notice that if you want to return custom data or private data extensions, you must specify the `DataExtRet` element and you must supply the `OwnerID` set to either a value of 0 (custom data) or the GUID for the private data. */
11554
+ IncludeRetElement?: string[] | string;
11555
+ }
11556
+ export interface StandardTermsAddRs {
11557
+ StandardTermsRet?: StandardTermsRet;
11558
+ ErrorRecovery?: ErrorRecovery;
11559
+ }
11560
+ export interface StandardTermsQueryRq {
11561
+ /** One or more `ListID` values. Along with `FullName`, `ListID` is a way to identify a list object. When a list object is added to QuickBooks through the SDK or through the QuickBooks user interface, the server assigns it a `ListID`. A `ListID` is not unique across lists, but it is unique across each particular type of list. For example, two customers could not have the same `ListID`, and a customer could not have the same `ListID` as an employee (because Customer and Employee are both name lists). But a customer could have the same `ListID` as a non-inventory item. */
11562
+ ListID?: string[] | string;
11563
+ /** A list of one or more `FullName` values. `FullName` (along with `ListID`) is a way to identify a list object. The `FullName` is the name prefixed by the names of each ancestor, for example `Jones:Kitchen:Cabinets`. `FullName` values are not case-sensitive. */
11564
+ FullName?: string[] | string;
11565
+ /** Limits the number of objects that a query returns. (To get a count of how many objects could possibly be returned, use the `metaData` query attribute.) If you include a `MaxReturned` value, it must be at least 1. */
11566
+ MaxReturned?: number;
11567
+ /** Used in filters to select list objects based on whether or not they are currently enabled for use by QuickBooks. The default value is `asActiveOnly`, which selects only list objects that are active. */
11568
+ ActiveStatus?: ActiveStatus;
11569
+ /** Selects objects modified on or after this date. See the note below regarding QBFC usage.For desktop versions of QuickBooks, the `FromModifiedDate` and `ToModifiedDate` must be between 1970-01-01 and 2038-01-19T03:14:07 (2038-01-18T19:14:07-08:00 PST). (The time portion of the field was not supported in qbXML version 1.0 or 1.1.) Also, for desktop versions of QuickBooks, if `FromModifiedDate` includes a date but not a time (for example, if you set `FromModifiedDate` to 2003-02-14), the time is assumed to be zero (2003-02-14T00:00:00). If you omit `FromModifiedDate`, it will be set to 1970-01-01T00:00:00 (1969-12-31T16:00:00-08:00 PST).For QBOE, the `FromModifiedDate` and `ToModifiedDate` must be between 1900-01-01T00:00:00 and 9999-12-31T00:00:00. If `FromModifiedDate` includes a date but not a time (for example, if you set `FromModifiedDate` to 2003-02-14), the time is assumed to be zero (2003-02-14T00:00:00). If you omit `FromModifiedDate`, it will be set to 1900-01-01T00:00:00.`Note`: When specifying this in QBFC, you need to supply the parameter `asDateOnly`, which is a Boolean. If `asDateOnly` is true, the date value will be represented as a date only (without a time). If `asDateOnly` is false, the date value will be represented as date and time, padded with zeros if necessary, and set to the beginning of the day if no time is provided. The `asDateOnly` parameter is especially useful in the `ToModifiedDate` field of a query: If `asDateOnly` is set to true in the `ToModifiedDate` field of a query, then the query includes elements modified up to the end of the day. If `asDateOnly` is false, the query includes elements modified up to the specified time (or up to the beginning of the day if no time is included). */
11570
+ FromModifiedDate?: string;
11571
+ /** Selects objects modified on or before this date. See the note below on QBFC usage.For desktop versions of QuickBooks, the `ToModifiedDate` and `FromModifiedDate` must be between 01/01/1970 and 2038-01-19T03:14:07 (2038-01-18T19:14:07-08:00 PST). (Note that the time portion of the field was not supported in qbXML version 1.0 or 1.1.) If `ToModifiedDate` includes a date but not a time (for example, if you set `ToModifiedDate` to 2003-02-14), the time is assumed to be the end of the day (2003-02-14T23:59:59). If you omit `ToModifiedDate` altogether, it will be set to 2038-01-19T03:14:07 (2038-01-18T19:14:07-08:00 PST).For QBOE, the `ToModifiedDate` and `FromModifiedDate` must be between 01/01/1900 and 9999-12-31T00:00:00. If `ToModifiedDate` includes a date but not a time (for example, if you set `ToModifiedDate` to 2003-02-14), the time is assumed to be the end of the day (2003-02-14T23:59:59). If you omit `ToModifiedDate` altogether, it will be set to 9999-12-31T00:00:00.`Note`: When specifying this in QBFC, you need to supply the parameter `asDateOnly`, which is a Boolean. If `asDateOnly` is true, the date value will be represented as a date only (without a time). If `asDateOnly` is false, the date value will be represented as date and time, padded with zeros if necessary, and set to the beginning of the day if no time is provided. The `asDateOnly` parameter is especially useful in the `ToModifiedDate` field of a query: If `asDateOnly` is set to true in the `ToModifiedDate` field of a query, then the query includes elements modified up to the end of the day. If `asDateOnly` is false, the query includes elements modified up to the specified time (or up to the beginning of the day if no time is included). */
11572
+ ToModifiedDate?: string;
11573
+ /** Filters according to the object’s `Name`. */
11574
+ NameFilter?: NameFilter;
11575
+ /** Filters according to the object’s `Name`. */
11576
+ NameRangeFilter?: NameRangeFilter;
11577
+ /** You use this if you want to limit the data that will be returned in the response. In this list, you specify the name of each top-level element or aggregate that you want to be returned in the response to the request. You cannot specify fields within an aggregate, for example, you cannot specify a `City` within an `Address`: you must specify `Address` and will get the entire address. The names specified in the list are not parsed, so you must be especially careful to supply valid names, properly cased. No error is returned in the status code if you specify an invalid name. Notice that if you want to return custom data or private data extensions, you must specify the `DataExtRet` element and you must supply the `OwnerID` set to either a value of 0 (custom data) or the GUID for the private data. */
11578
+ IncludeRetElement?: string[] | string;
11579
+ }
11580
+ export interface StandardTermsQueryRs {
11581
+ StandardTermsRet: StandardTermsRet[];
11582
+ }
11583
+ export interface StandardTermsRet {
11584
+ /** Along with `FullName`, `ListID` is a way to identify a list object. When a list object is added to QuickBooks through the SDK or through the QuickBooks user interface, the server assigns it a `ListID`. A `ListID` is not unique across lists, but it is unique across each particular type of list. For example, two customers could not have the same `ListID`, and a customer could not have the same `ListID` as an employee (because Customer and Employee are both name lists). But a customer could have the same `ListID` as a non-inventory item. */
11585
+ ListID: string;
11586
+ /** Time the object was created. */
11587
+ TimeCreated: string;
11588
+ /** Time the object was last modified. */
11589
+ TimeModified: string;
11590
+ /** A number that the server generates and assigns to this object. Every time the object is changed, the server will change its `EditSequence` value. When you try to modify a list object, you must provide its `EditSequence`. The server compares the `EditSequence` you provide with the `EditSequence` in memory to make sure you are dealing with the latest copy of the object. If you are not, the server will reject the request and return an error. Because `EditSequence` is only used to check whether two objects match, there is no reason to interpret its value. */
11591
+ EditSequence: string;
11592
+ /** The case-insensitive name of a list object, not including the names of its ancestors. `Name` must be unique, unless it is the `Name` of a “hierarchical” list object. List objects in different hierarchies can have duplicate names because their `FullNames` will still be unique. For example, two objects could both have the `Name` kitchen, but they could have unique `FullNames`, such as Job12:kitchen and Baker:kitchen. For built-in currencies, `Name` is the internationally accepted currency name and is not editable. */
11593
+ Name: string;
11594
+ /** If `IsActive` is true, this object is currently enabled for use by QuickBooks. The default value is true. */
11595
+ IsActive?: boolean;
11596
+ /** The number of days until payment is due. */
11597
+ StdDueDays?: number;
11598
+ /** If payment is received within `StdDiscountDays` number of days, then `DiscountPct` will apply to the payment. */
11599
+ StdDiscountDays?: number;
11600
+ /** If payment is received within `StdDiscountDays` number of days, then this discount will apply to the payment. `DiscountPct` must be between 0 and 100. */
11601
+ DiscountPct?: string;
11602
+ }
11471
11603
  /** @default: Hot */
11472
11604
  export type Status = "Cold" | "Hot" | "Warm";
11473
11605
  export interface SubscribedServices {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "conductor-node",
3
- "version": "10.4.1",
3
+ "version": "10.5.0",
4
4
  "description": "Easily integrate the entire QuickBooks Desktop API using fully-typed async TypeScript",
5
5
  "keywords": [
6
6
  "QuickBooks Desktop",