conductor-node 11.6.3 → 11.6.4
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;
|
|
@@ -10120,6 +10158,8 @@ export interface ReportAccountFilter {
|
|
|
10120
10158
|
/** 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
10159
|
FullNameWithChildren?: string;
|
|
10122
10160
|
}
|
|
10161
|
+
/** @default: ReportEndDate */
|
|
10162
|
+
export type ReportAgingAsOf = "ReportEndDate" | "Today";
|
|
10123
10163
|
/** @default: None */
|
|
10124
10164
|
export type ReportBasis = "Accrual" | "Cash" | "None";
|
|
10125
10165
|
export type ReportCalendar = "CalendarYear" | "FiscalYear" | "TaxYear";
|
|
@@ -10140,7 +10180,9 @@ export interface ReportData {
|
|
|
10140
10180
|
TextRow?: TextRow | TextRow[];
|
|
10141
10181
|
/** 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
10182
|
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.
|
|
10183
|
+
/** 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.
|
|
10184
|
+
|
|
10185
|
+
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. */
|
|
10144
10186
|
TotalRow?: TotalRow;
|
|
10145
10187
|
}
|
|
10146
10188
|
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";
|
|
@@ -10163,7 +10205,9 @@ export type ReportingPeriod = "Monthly" | "Quarterly";
|
|
|
10163
10205
|
export interface ReportItemFilter {
|
|
10164
10206
|
/** Allows you to report on a specific item type. */
|
|
10165
10207
|
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`.
|
|
10208
|
+
/** 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`.
|
|
10209
|
+
|
|
10210
|
+
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
10211
|
ListID?: string[] | string;
|
|
10168
10212
|
/** 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
10213
|
FullName?: string[] | string;
|
|
@@ -10182,7 +10226,9 @@ export type ReportModifiedDateRangeMacro = "All" | "LastMonth" | "LastMonthToDat
|
|
|
10182
10226
|
/** @default: Today */
|
|
10183
10227
|
export type ReportOpenBalanceAsOf = "ReportEndDate" | "Today";
|
|
10184
10228
|
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).
|
|
10229
|
+
/** 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).
|
|
10230
|
+
|
|
10231
|
+
If you omit `FromReportDate`, it will be set to 1970-01-01T00:00:00 (1969-12-31T16:00:00-08:00 PST). */
|
|
10186
10232
|
FromReportDate?: string;
|
|
10187
10233
|
/** 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
10234
|
ToReportDate?: string;
|
|
@@ -10193,7 +10239,9 @@ export interface ReportRet {
|
|
|
10193
10239
|
ReportTitle: string;
|
|
10194
10240
|
/** The subtitle for this report. */
|
|
10195
10241
|
ReportSubtitle: string;
|
|
10196
|
-
/** If `ReportBasis` is
|
|
10242
|
+
/** If `ReportBasis` is
|
|
10243
|
+
|
|
10244
|
+
`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
10245
|
ReportBasis?: ReportBasis;
|
|
10198
10246
|
/** The number of rows in the report. */
|
|
10199
10247
|
NumRows: number;
|
|
@@ -10213,7 +10261,55 @@ export interface ReportTxnTypeFilter {
|
|
|
10213
10261
|
export type ReturnColumns = "ActiveOnly" | "All" | "NonZero";
|
|
10214
10262
|
export type ReturnRows = "ActiveOnly" | "All" | "NonZero";
|
|
10215
10263
|
export interface RowData {
|
|
10216
|
-
/** An enumerated value that shows the type of data that this row contains. Values:
|
|
10264
|
+
/** An enumerated value that shows the type of data that this row contains. Values:
|
|
10265
|
+
|
|
10266
|
+
account
|
|
10267
|
+
|
|
10268
|
+
class
|
|
10269
|
+
|
|
10270
|
+
customer
|
|
10271
|
+
|
|
10272
|
+
`customerMessage`
|
|
10273
|
+
|
|
10274
|
+
`customerType`
|
|
10275
|
+
|
|
10276
|
+
employee
|
|
10277
|
+
|
|
10278
|
+
item
|
|
10279
|
+
|
|
10280
|
+
`jobType`
|
|
10281
|
+
|
|
10282
|
+
label
|
|
10283
|
+
|
|
10284
|
+
`memorizedTxn`
|
|
10285
|
+
|
|
10286
|
+
`memorizedReport`
|
|
10287
|
+
|
|
10288
|
+
name
|
|
10289
|
+
|
|
10290
|
+
`otherName`
|
|
10291
|
+
|
|
10292
|
+
`paymentMethod`
|
|
10293
|
+
|
|
10294
|
+
`payrollItem`
|
|
10295
|
+
|
|
10296
|
+
`salesRep`
|
|
10297
|
+
|
|
10298
|
+
`salesTaxCode`
|
|
10299
|
+
|
|
10300
|
+
`shipMethod`
|
|
10301
|
+
|
|
10302
|
+
state
|
|
10303
|
+
|
|
10304
|
+
style
|
|
10305
|
+
|
|
10306
|
+
terms
|
|
10307
|
+
|
|
10308
|
+
`toDo`
|
|
10309
|
+
|
|
10310
|
+
vendor
|
|
10311
|
+
|
|
10312
|
+
`vendorType` */
|
|
10217
10313
|
RowType: RowType;
|
|
10218
10314
|
/** The data in this cell of the report. */
|
|
10219
10315
|
Value: string;
|