conductor-node 11.6.3 → 11.6.5
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
|
@@ -2117,6 +2117,16 @@ export default class QbdIntegration extends BaseIntegration {
|
|
|
2117
2117
|
* needs.
|
|
2118
2118
|
*/
|
|
2119
2119
|
report: {
|
|
2120
|
+
/**
|
|
2121
|
+
* Generates an aging report, which tracks outstanding invoices (in accounts
|
|
2122
|
+
* receivable accounts) and unpaid bills (in accounts payable accounts).
|
|
2123
|
+
*
|
|
2124
|
+
* Note that you could use a collections report instead of the aging query,
|
|
2125
|
+
* if that better suited your needs.
|
|
2126
|
+
*
|
|
2127
|
+
* See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/AgingReportQuery
|
|
2128
|
+
*/
|
|
2129
|
+
aging: (endUserId: string, params: QbdTypes.AgingReportQueryRq) => Promise<NonNullable<QbdTypes.AgingReportQueryRs["ReportRet"]>>;
|
|
2120
2130
|
/**
|
|
2121
2131
|
* Generates budget reports similar to the budget report functionality that
|
|
2122
2132
|
* is available within the QuickBooks UI. (From the main QB menubar select
|
|
@@ -2122,6 +2122,16 @@ class QbdIntegration extends BaseIntegration_1.default {
|
|
|
2122
2122
|
* needs.
|
|
2123
2123
|
*/
|
|
2124
2124
|
report = {
|
|
2125
|
+
/**
|
|
2126
|
+
* Generates an aging report, which tracks outstanding invoices (in accounts
|
|
2127
|
+
* receivable accounts) and unpaid bills (in accounts payable accounts).
|
|
2128
|
+
*
|
|
2129
|
+
* Note that you could use a collections report instead of the aging query,
|
|
2130
|
+
* if that better suited your needs.
|
|
2131
|
+
*
|
|
2132
|
+
* See more: https://developer.intuit.com/app/developer/qbdesktop/docs/api-reference/qbdesktop/AgingReportQuery
|
|
2133
|
+
*/
|
|
2134
|
+
aging: async (endUserId, params) => this.sendRequestWrapper(endUserId, { AgingReportQueryRq: params }, "AgingReportQueryRs", "ReportRet"),
|
|
2125
2135
|
/**
|
|
2126
2136
|
* Generates budget reports similar to the budget report functionality that
|
|
2127
2137
|
* is available within the QuickBooks UI. (From the main QB menubar select
|
|
@@ -297,6 +297,44 @@ export interface AddressBlock {
|
|
|
297
297
|
}
|
|
298
298
|
export type AdjustBillingRateRelativeTo = "CurrentCustomRate" | "StandardRate";
|
|
299
299
|
export type AdjustRelativeTo = "Cost" | "CurrentCustomPrice" | "StandardPrice";
|
|
300
|
+
export interface AgingReportQueryRq {
|
|
301
|
+
/** The type of aging report being queried. */
|
|
302
|
+
AgingReportType: AgingReportType;
|
|
303
|
+
/** Set `DisplayReport` to true to display this report within the QuickBooks UI. (Default is false.) If you want the request to display the report without returning any data to your application, set the `responseData` attribute to `includeNone`. */
|
|
304
|
+
DisplayReport?: boolean;
|
|
305
|
+
/** If you omit both `ToReportDate` and `FromReportDate`, the report will cover the current fiscal year to date. */
|
|
306
|
+
ReportPeriod?: ReportPeriod;
|
|
307
|
+
/** The time period covered by this report. */
|
|
308
|
+
ReportDateMacro?: ReportDateMacro;
|
|
309
|
+
/** Allows you to query for a specified account type or for specific list elements. */
|
|
310
|
+
ReportAccountFilter?: ReportAccountFilter;
|
|
311
|
+
/** Allows you to query for a specified name type (customer, employee, vendor, or other) or query for specific list elements. */
|
|
312
|
+
ReportEntityFilter?: ReportEntityFilter;
|
|
313
|
+
/** Allows you to query for a specified item type (for example, discount, inventory, or non-inventory) or query for specific list elements. */
|
|
314
|
+
ReportItemFilter?: ReportItemFilter;
|
|
315
|
+
/** Allows you to query for a specified class. Classes can be used to separate transactions into meaningful categories. (For example, transactions could be classified according to department, business location, or type of work.) In QuickBooks, class tracking is off by default. */
|
|
316
|
+
ReportClassFilter?: ReportClassFilter;
|
|
317
|
+
/** Allows you to report on specific transaction types (for example, charge, check, deposit, or estimate). */
|
|
318
|
+
ReportTxnTypeFilter?: ReportTxnTypeFilter;
|
|
319
|
+
/** Returns reports that were modified between these two dates (inclusive). The range of acceptable dates for both `FromReportModifiedDate` and `ToReportModifiedDate` is 1970-01-01 to 2038-01-19T03:14:07 (2038-01-18T19:14:07-08:00 PST). */
|
|
320
|
+
ReportModifiedDateRangeFilter?: ReportModifiedDateRangeFilter;
|
|
321
|
+
/** The time period covered by this report. */
|
|
322
|
+
ReportModifiedDateRangeMacro?: ReportModifiedDateRangeMacro;
|
|
323
|
+
/** The level of detail to include in the report. */
|
|
324
|
+
ReportDetailLevelFilter?: ReportDetailLevelFilter;
|
|
325
|
+
/** Allows you to query for posting reports, non-posting reports, or reports that are either one. */
|
|
326
|
+
ReportPostingStatusFilter?: ReportPostingStatusFilter;
|
|
327
|
+
/** A list of enum values showing which columns you want the report to return. (The report won’t return columns other than the ones you specify here.) */
|
|
328
|
+
IncludeColumn?: IncludeColumn | IncludeColumn[];
|
|
329
|
+
/** Indicates whether this report should include all accounts or just those that are currently in use. */
|
|
330
|
+
IncludeAccounts?: IncludeAccounts;
|
|
331
|
+
/** The report will return aging information up to the `ReportAgingAsOf` date. */
|
|
332
|
+
ReportAgingAsOf?: ReportAgingAsOf;
|
|
333
|
+
}
|
|
334
|
+
export interface AgingReportQueryRs {
|
|
335
|
+
ReportRet: ReportRet[];
|
|
336
|
+
}
|
|
337
|
+
export type AgingReportType = "APAgingDetail" | "APAgingSummary" | "ARAgingDetail" | "ARAgingSummary" | "CollectionsReport";
|
|
300
338
|
export interface APAccountRef {
|
|
301
339
|
/** 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. */
|
|
302
340
|
ListID?: string;
|
|
@@ -1698,7 +1736,7 @@ export interface ColData {
|
|
|
1698
1736
|
/** The data in this cell of the report. */
|
|
1699
1737
|
Value: string;
|
|
1700
1738
|
/** The data type: IDTYPE, STRTYPE, and so on. */
|
|
1701
|
-
DataType
|
|
1739
|
+
DataType?: DataType;
|
|
1702
1740
|
}
|
|
1703
1741
|
export interface ColDesc {
|
|
1704
1742
|
/** A list of `IColTitle` objects, each of which represents a title for this column. For example, if the first two rows of this column were titles, two `IColTitle` objects would be returned. */
|
|
@@ -1708,7 +1746,7 @@ export interface ColDesc {
|
|
|
1708
1746
|
/** An identifying number that corresponds to the position of this column in the report. The columns are numbered from left to right, starting with 1. */
|
|
1709
1747
|
ColID: number;
|
|
1710
1748
|
/** The data type: IDTYPE, STRTYPE, and so on. */
|
|
1711
|
-
DataType
|
|
1749
|
+
DataType?: DataType;
|
|
1712
1750
|
}
|
|
1713
1751
|
export interface ColTitle {
|
|
1714
1752
|
/** The number of this title row. For example, if the first three rows of a report were titles, `titleRow` of the third of these rows would be 3. */
|
|
@@ -3628,6 +3666,8 @@ export interface DataRow {
|
|
|
3628
3666
|
RowData?: RowData;
|
|
3629
3667
|
/** A list of `IColData` objects, each of which describes the data in one cell of the report. */
|
|
3630
3668
|
ColData?: ColData | ColData[];
|
|
3669
|
+
/** The row number. Rows are numbered from top to bottom, starting with 1. */
|
|
3670
|
+
RowNumber: number;
|
|
3631
3671
|
}
|
|
3632
3672
|
export type DataType = "AMTTYPE" | "BOOLTYPE" | "DATETIMETYPE" | "DATETYPE" | "ENUMTYPE" | "GUIDTYPE" | "IDTYPE" | "INTTYPE" | "PERCENTTYPE" | "PRICETYPE" | "QUANTYPE" | "STRTYPE" | "TIMEINTERVALTYPE";
|
|
3633
3673
|
export interface DateDrivenTermsAdd {
|
|
@@ -10120,6 +10160,8 @@ export interface ReportAccountFilter {
|
|
|
10120
10160
|
/** Allows you to filter for data that relates to the specified object and its descendants. For names that do not have children, `FullNameWithChildren` is exactly the same as `FullName`. */
|
|
10121
10161
|
FullNameWithChildren?: string;
|
|
10122
10162
|
}
|
|
10163
|
+
/** @default: ReportEndDate */
|
|
10164
|
+
export type ReportAgingAsOf = "ReportEndDate" | "Today";
|
|
10123
10165
|
/** @default: None */
|
|
10124
10166
|
export type ReportBasis = "Accrual" | "Cash" | "None";
|
|
10125
10167
|
export type ReportCalendar = "CalendarYear" | "FiscalYear" | "TaxYear";
|
|
@@ -10140,8 +10182,10 @@ export interface ReportData {
|
|
|
10140
10182
|
TextRow?: TextRow | TextRow[];
|
|
10141
10183
|
/** A row that contains a calculated subtotal of the data in all the rows since the last `SubTotalRow` and, usually, a single underline. There can be multiple `SubTotalRow` aggregates in a report. */
|
|
10142
10184
|
SubtotalRow?: SubtotalRow | SubtotalRow[];
|
|
10143
|
-
/** A row that contains a calculated total of all the data that has come before and a double underline. There will only be one `TotalRow` per report.
|
|
10144
|
-
|
|
10185
|
+
/** A row that contains a calculated total of all the data that has come before and a double underline. There will only be one `TotalRow` per report.
|
|
10186
|
+
|
|
10187
|
+
If `TotalRow` does not include any numerical values, the columns required to show the total values are not part of the report. These columns were not included when the report was customized. */
|
|
10188
|
+
TotalRow?: TotalRow | TotalRow[];
|
|
10145
10189
|
}
|
|
10146
10190
|
export type ReportDateMacro = "All" | "LastMonth" | "LastMonthToDate" | "LastQuarter" | "LastQuarterToDate" | "LastWeek" | "LastWeekToDate" | "LastYear" | "LastYearToDate" | "NextFourWeeks" | "NextMonth" | "NextQuarter" | "NextWeek" | "NextYear" | "ThisMonth" | "ThisMonthToDate" | "ThisQuarter" | "ThisQuarterToDate" | "ThisWeek" | "ThisWeekToDate" | "ThisYear" | "ThisYearToDate" | "Today" | "Yesterday";
|
|
10147
10191
|
/** @default: All */
|
|
@@ -10163,7 +10207,9 @@ export type ReportingPeriod = "Monthly" | "Quarterly";
|
|
|
10163
10207
|
export interface ReportItemFilter {
|
|
10164
10208
|
/** Allows you to report on a specific item type. */
|
|
10165
10209
|
ItemTypeFilter?: ItemTypeFilter;
|
|
10166
|
-
/** 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`.
|
|
10210
|
+
/** 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`.
|
|
10211
|
+
|
|
10212
|
+
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. */
|
|
10167
10213
|
ListID?: string[] | string;
|
|
10168
10214
|
/** 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. */
|
|
10169
10215
|
FullName?: string[] | string;
|
|
@@ -10182,7 +10228,9 @@ export type ReportModifiedDateRangeMacro = "All" | "LastMonth" | "LastMonthToDat
|
|
|
10182
10228
|
/** @default: Today */
|
|
10183
10229
|
export type ReportOpenBalanceAsOf = "ReportEndDate" | "Today";
|
|
10184
10230
|
export interface ReportPeriod {
|
|
10185
|
-
/** Selects information from this date and later. The range of acceptable `FromReportDate` and `ToReportDate` values depends on how the report dates are determined. If the report dates are based on the dates of transactions, the range is 01/01/1901 to 12/31/9999. If the report dates are based on modification dates, the range will be 1970-01-01 to 2038-01-19T03:14:07 (2038-01-18T19:14:07-08:00 PST).
|
|
10231
|
+
/** Selects information from this date and later. The range of acceptable `FromReportDate` and `ToReportDate` values depends on how the report dates are determined. If the report dates are based on the dates of transactions, the range is 01/01/1901 to 12/31/9999. If the report dates are based on modification dates, the range will be 1970-01-01 to 2038-01-19T03:14:07 (2038-01-18T19:14:07-08:00 PST).
|
|
10232
|
+
|
|
10233
|
+
If you omit `FromReportDate`, it will be set to 1970-01-01T00:00:00 (1969-12-31T16:00:00-08:00 PST). */
|
|
10186
10234
|
FromReportDate?: string;
|
|
10187
10235
|
/** Selects information created on this date or earlier. The range of acceptable `ToReportDate` and `FromReportDate` values depends on how the report dates are determined. If the report dates are based on the dates of transactions, the range is 01/01/1901 to 12/31/9999. If the report dates are based on modification dates, the range will be 1970-01-01 to 2038-01-19T03:14:07 (2038-01-18T19:14:07-08:00 PST). If you omit `ToReportDate`, it will be set to 2038-01-19T03:14:07 (2038-01-18T19:14:07-08:00 PST). */
|
|
10188
10236
|
ToReportDate?: string;
|
|
@@ -10193,7 +10241,9 @@ export interface ReportRet {
|
|
|
10193
10241
|
ReportTitle: string;
|
|
10194
10242
|
/** The subtitle for this report. */
|
|
10195
10243
|
ReportSubtitle: string;
|
|
10196
|
-
/** If `ReportBasis` is
|
|
10244
|
+
/** If `ReportBasis` is
|
|
10245
|
+
|
|
10246
|
+
`rbCash`, the report bases income and expenses on the dates when money changed hands. `rbAccrual`, the report bases income on the dates when customers were invoiced and bases expenses on the dates when bills were entered. `rbNone`, the report uses the default `ReportBasis`, which is either the QuickBooks Preference setting or the QuickBooks default for a given type of report. In a report response, the SDK returns `rbNone` for reports that do not support `ReportBasis`. (The 1099 report, for example, has its own basis for generation.) */
|
|
10197
10247
|
ReportBasis?: ReportBasis;
|
|
10198
10248
|
/** The number of rows in the report. */
|
|
10199
10249
|
NumRows: number;
|
|
@@ -10213,7 +10263,55 @@ export interface ReportTxnTypeFilter {
|
|
|
10213
10263
|
export type ReturnColumns = "ActiveOnly" | "All" | "NonZero";
|
|
10214
10264
|
export type ReturnRows = "ActiveOnly" | "All" | "NonZero";
|
|
10215
10265
|
export interface RowData {
|
|
10216
|
-
/** An enumerated value that shows the type of data that this row contains. Values:
|
|
10266
|
+
/** An enumerated value that shows the type of data that this row contains. Values:
|
|
10267
|
+
|
|
10268
|
+
account
|
|
10269
|
+
|
|
10270
|
+
class
|
|
10271
|
+
|
|
10272
|
+
customer
|
|
10273
|
+
|
|
10274
|
+
`customerMessage`
|
|
10275
|
+
|
|
10276
|
+
`customerType`
|
|
10277
|
+
|
|
10278
|
+
employee
|
|
10279
|
+
|
|
10280
|
+
item
|
|
10281
|
+
|
|
10282
|
+
`jobType`
|
|
10283
|
+
|
|
10284
|
+
label
|
|
10285
|
+
|
|
10286
|
+
`memorizedTxn`
|
|
10287
|
+
|
|
10288
|
+
`memorizedReport`
|
|
10289
|
+
|
|
10290
|
+
name
|
|
10291
|
+
|
|
10292
|
+
`otherName`
|
|
10293
|
+
|
|
10294
|
+
`paymentMethod`
|
|
10295
|
+
|
|
10296
|
+
`payrollItem`
|
|
10297
|
+
|
|
10298
|
+
`salesRep`
|
|
10299
|
+
|
|
10300
|
+
`salesTaxCode`
|
|
10301
|
+
|
|
10302
|
+
`shipMethod`
|
|
10303
|
+
|
|
10304
|
+
state
|
|
10305
|
+
|
|
10306
|
+
style
|
|
10307
|
+
|
|
10308
|
+
terms
|
|
10309
|
+
|
|
10310
|
+
`toDo`
|
|
10311
|
+
|
|
10312
|
+
vendor
|
|
10313
|
+
|
|
10314
|
+
`vendorType` */
|
|
10217
10315
|
RowType: RowType;
|
|
10218
10316
|
/** The data in this cell of the report. */
|
|
10219
10317
|
Value: string;
|
|
@@ -11800,6 +11898,7 @@ export interface SubtotalRow {
|
|
|
11800
11898
|
RowData?: RowData;
|
|
11801
11899
|
/** A list of `IColData` objects, each of which describes the data in one cell of the report. */
|
|
11802
11900
|
ColData?: ColData | ColData[];
|
|
11901
|
+
RowNumber: number;
|
|
11803
11902
|
}
|
|
11804
11903
|
export type SummarizeBudgetColumnsBy = "Class" | "Customer" | "Date";
|
|
11805
11904
|
export type SummarizeBudgetRowsBy = "Account" | "Class" | "Customer";
|
|
@@ -11849,7 +11948,6 @@ export interface TermsRef {
|
|
|
11849
11948
|
FullName?: string;
|
|
11850
11949
|
}
|
|
11851
11950
|
export interface TextRow {
|
|
11852
|
-
/** The row number. Rows are numbered from top to bottom, starting with 1. */
|
|
11853
11951
|
RowNumber: number;
|
|
11854
11952
|
/** The data in this cell of the report. */
|
|
11855
11953
|
Value: string;
|
|
@@ -12038,6 +12136,7 @@ export interface TotalRow {
|
|
|
12038
12136
|
RowData?: RowData;
|
|
12039
12137
|
/** A list of `IColData` objects, each of which describes the data in one cell of the report. */
|
|
12040
12138
|
ColData?: ColData | ColData[];
|
|
12139
|
+
RowNumber: number;
|
|
12041
12140
|
}
|
|
12042
12141
|
export interface TransactionAccountFilter {
|
|
12043
12142
|
/** Allows you to report on a specific account type. */
|
|
@@ -12373,7 +12472,7 @@ export interface TransferInventoryLineRet {
|
|
|
12373
12472
|
/** The lot number of the asset. */
|
|
12374
12473
|
LotNumber?: string;
|
|
12375
12474
|
/** The expiration date of the inventory serial/lot number. Expiration `Date` is supported from QB Desktop 2023 version 3 (USA & Canada) and SDK 16.0. */
|
|
12376
|
-
ExpirationDateForSerialLotNumber
|
|
12475
|
+
ExpirationDateForSerialLotNumber?: string;
|
|
12377
12476
|
}
|
|
12378
12477
|
export interface TransferInventoryMod {
|
|
12379
12478
|
/** QuickBooks generates a unique `TxnID` for each transaction that is added to QuickBooks. A `TxnID` returned from a request can be used to refer to the transaction in subsequent requests. Notice that you cannot supply the `TxnID` of a `TimeTracking` transaction to `TransactionQueryRq` requests. If you do, you get an error stating that no such record could be found, even though the transaction is in QuickBooks. This behavior reflects the behavior in the QuicKBooks UI in the Find window. */
|