@tenkeybridge/mcp 0.9.0 → 0.10.1
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/README.md +1 -1
- package/dist/cli.js +149 -8
- package/dist/cli.js.map +1 -1
- package/dist/index.cjs +149 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +149 -8
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -25,6 +25,7 @@ interface EntityAccessorLike {
|
|
|
25
25
|
}
|
|
26
26
|
type GatewayClient = Record<string, unknown> & {
|
|
27
27
|
query(entity: string, opts?: QueryOptions): Promise<unknown>;
|
|
28
|
+
connection?(): Promise<unknown>;
|
|
28
29
|
report?(name: string, params?: Record<string, string>): Promise<unknown>;
|
|
29
30
|
setClearedStatus?(args: {
|
|
30
31
|
TxnId: string;
|
|
@@ -97,6 +98,6 @@ declare function resolveEntityName(name: string): EntityName | undefined;
|
|
|
97
98
|
type CatalogSummaryRow = Pick<CatalogEntry, "entity" | "verdict" | "group" | "read" | "write" | "headline" | "usage">;
|
|
98
99
|
declare function catalogSummary(): CatalogSummaryRow[];
|
|
99
100
|
|
|
100
|
-
declare const PKG_VERSION = "0.
|
|
101
|
+
declare const PKG_VERSION = "0.10.1";
|
|
101
102
|
|
|
102
103
|
export { CATALOG, type CatalogEntry, type CatalogField, type CatalogSummaryRow, type CatalogUnsupported, type EntityAccessorLike, type GatewayClient, type McpAuth, type McpConfig, PKG_VERSION, SERVER_NAME, buildServer, catalogSummary, defaultTokenFile, loadConfig, persistRefreshToken, readStoredRefreshToken, registerResources, registerTools, resolveCatalog, resolveEntityName, toolVisible };
|
package/dist/index.d.ts
CHANGED
|
@@ -25,6 +25,7 @@ interface EntityAccessorLike {
|
|
|
25
25
|
}
|
|
26
26
|
type GatewayClient = Record<string, unknown> & {
|
|
27
27
|
query(entity: string, opts?: QueryOptions): Promise<unknown>;
|
|
28
|
+
connection?(): Promise<unknown>;
|
|
28
29
|
report?(name: string, params?: Record<string, string>): Promise<unknown>;
|
|
29
30
|
setClearedStatus?(args: {
|
|
30
31
|
TxnId: string;
|
|
@@ -97,6 +98,6 @@ declare function resolveEntityName(name: string): EntityName | undefined;
|
|
|
97
98
|
type CatalogSummaryRow = Pick<CatalogEntry, "entity" | "verdict" | "group" | "read" | "write" | "headline" | "usage">;
|
|
98
99
|
declare function catalogSummary(): CatalogSummaryRow[];
|
|
99
100
|
|
|
100
|
-
declare const PKG_VERSION = "0.
|
|
101
|
+
declare const PKG_VERSION = "0.10.1";
|
|
101
102
|
|
|
102
103
|
export { CATALOG, type CatalogEntry, type CatalogField, type CatalogSummaryRow, type CatalogUnsupported, type EntityAccessorLike, type GatewayClient, type McpAuth, type McpConfig, PKG_VERSION, SERVER_NAME, buildServer, catalogSummary, defaultTokenFile, loadConfig, persistRefreshToken, readStoredRefreshToken, registerResources, registerTools, resolveCatalog, resolveEntityName, toolVisible };
|
package/dist/index.js
CHANGED
|
@@ -751,6 +751,33 @@ var CATALOG = {
|
|
|
751
751
|
}
|
|
752
752
|
]
|
|
753
753
|
},
|
|
754
|
+
"Connection": {
|
|
755
|
+
"entity": "Connection",
|
|
756
|
+
"verdict": "live",
|
|
757
|
+
"group": "platform",
|
|
758
|
+
"read": "partial",
|
|
759
|
+
"write": "none",
|
|
760
|
+
"headline": "GET /v3/company/{companyId}/connection: whether the company file is connected right now, answered from presence alone (never reaches QuickBooks). A TenkeyBridge extension; QuickBooks Online has no equivalent.",
|
|
761
|
+
"usage": "GET /v3/company/{companyId}/connection",
|
|
762
|
+
"fields": [
|
|
763
|
+
{
|
|
764
|
+
"qbo": "Connection.online",
|
|
765
|
+
"support": "full",
|
|
766
|
+
"note": "true when the agent socket is open or the Web Connector is online (a sandbox realm is always online). An offline file is a normal 200 answer with online false, never a 503."
|
|
767
|
+
},
|
|
768
|
+
{
|
|
769
|
+
"qbo": "Connection.transport",
|
|
770
|
+
"support": "full",
|
|
771
|
+
"note": "The leg that would serve a call now: agent, qbwc or sandbox; null when offline."
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
"qbo": "Connection.lastSeenAt",
|
|
775
|
+
"support": "partial",
|
|
776
|
+
"note": "Now when an agent is connected; otherwise the Web Connector's last poll time; null when no Web Connector check-in is stored (an agent-only file reads null once disconnected)."
|
|
777
|
+
}
|
|
778
|
+
],
|
|
779
|
+
"unsupported": []
|
|
780
|
+
},
|
|
754
781
|
"CreditCardPayment": {
|
|
755
782
|
"entity": "CreditCardPayment",
|
|
756
783
|
"verdict": "gap",
|
|
@@ -1390,6 +1417,11 @@ var CATALOG = {
|
|
|
1390
1417
|
"support": "full",
|
|
1391
1418
|
"note": "Desktop TargetBonus, a money amount. Accepted on create and update without a payroll subscription (verified live on QuickBooks Enterprise 24, 2026-10-15); Desktop's create response omits it but reads return it."
|
|
1392
1419
|
},
|
|
1420
|
+
{
|
|
1421
|
+
"qbo": "PayrollInfo",
|
|
1422
|
+
"support": "partial",
|
|
1423
|
+
"note": "TenkeyBridge extension, read-only: Desktop's EmployeePayrollInfo as { PayPeriod, ClassRef, Earnings: [{ PayrollItemRef, Rate | RatePercent }], UseTimeDataToCreatePaychecks, SickHours, VacationHours } with hours as decimal numbers (PT40H30M0S reads 40.5). Present only when the file has a payroll subscription and the integrated app may access personal data (Edit, Preferences, Integrated Applications); otherwise absent. A create carrying PayrollInfo, or an update that changes it, answers 422 UNSUPPORTED_BY_DESKTOP; an unchanged echo on update is ignored. Not filterable."
|
|
1424
|
+
},
|
|
1393
1425
|
{
|
|
1394
1426
|
"qbo": "AdditionalContactRef",
|
|
1395
1427
|
"support": "none",
|
|
@@ -1404,9 +1436,9 @@ var CATALOG = {
|
|
|
1404
1436
|
"note": "QBO employees are deactivated, not deleted. Desktop can delete an employee with no transactions, but TenkeyBridge keeps deactivate-only to match QBO (sparse update with Active:false)."
|
|
1405
1437
|
},
|
|
1406
1438
|
{
|
|
1407
|
-
"case": "
|
|
1439
|
+
"case": "Writing payroll fields",
|
|
1408
1440
|
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
1409
|
-
"note": "Pay
|
|
1441
|
+
"note": "Pay periods, earnings rates and sick or vacation hours are read-only (see PayrollInfo). Set them in QuickBooks Desktop."
|
|
1410
1442
|
}
|
|
1411
1443
|
]
|
|
1412
1444
|
},
|
|
@@ -2223,6 +2255,64 @@ var CATALOG = {
|
|
|
2223
2255
|
}
|
|
2224
2256
|
]
|
|
2225
2257
|
},
|
|
2258
|
+
"Paycheck": {
|
|
2259
|
+
"entity": "Paycheck",
|
|
2260
|
+
"verdict": "live",
|
|
2261
|
+
"group": "transactions",
|
|
2262
|
+
"read": "partial",
|
|
2263
|
+
"write": "none",
|
|
2264
|
+
"headline": "TenkeyBridge extension: read-only list of QuickBooks Desktop payroll paychecks (header rows: employee, bank account, date, check number, net pay). QuickBooks Online has no Paycheck entity. Needs a payroll subscription and the personal-data permission",
|
|
2265
|
+
"fields": [
|
|
2266
|
+
{
|
|
2267
|
+
"qbo": "MetaData",
|
|
2268
|
+
"support": "full",
|
|
2269
|
+
"note": "Id is Desktop's TxnID. CreateTime and LastUpdatedTime come from Desktop's TimeCreated / TimeModified. There is no SyncToken: Desktop's paycheck rows carry no EditSequence."
|
|
2270
|
+
},
|
|
2271
|
+
{
|
|
2272
|
+
"qbo": "TxnDate",
|
|
2273
|
+
"support": "full",
|
|
2274
|
+
"note": "The check date. Pushed to Desktop as a TransactionDateRangeFilter."
|
|
2275
|
+
},
|
|
2276
|
+
{
|
|
2277
|
+
"qbo": "DocNumber",
|
|
2278
|
+
"support": "full",
|
|
2279
|
+
"note": "Desktop RefNumber. Filters on it are applied by the gateway after the read."
|
|
2280
|
+
},
|
|
2281
|
+
{
|
|
2282
|
+
"qbo": "EmployeeRef",
|
|
2283
|
+
"support": "full",
|
|
2284
|
+
"note": "Desktop EntityRef, the employee. An equality filter is pushed to Desktop as a TransactionEntityFilter."
|
|
2285
|
+
},
|
|
2286
|
+
{
|
|
2287
|
+
"qbo": "BankAccountRef",
|
|
2288
|
+
"support": "full",
|
|
2289
|
+
"note": "Desktop AccountRef, the bank account the check is drawn on."
|
|
2290
|
+
},
|
|
2291
|
+
{
|
|
2292
|
+
"qbo": "NetPay",
|
|
2293
|
+
"support": "full",
|
|
2294
|
+
"note": "Desktop Amount with the sign flipped: Desktop reports money out as negative, NetPay is the positive take-home amount. Filterable, applied by the gateway."
|
|
2295
|
+
}
|
|
2296
|
+
],
|
|
2297
|
+
"unsupported": [
|
|
2298
|
+
{
|
|
2299
|
+
"case": "Earnings, taxes and deductions",
|
|
2300
|
+
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2301
|
+
"note": "qbXML has no paycheck detail query: the paycheck list answers header rows only. Pay stub lines (earnings, taxes, deductions, hours) come from the payroll reports."
|
|
2302
|
+
},
|
|
2303
|
+
{
|
|
2304
|
+
"case": "create, update, delete or void",
|
|
2305
|
+
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2306
|
+
"note": "Paycheck is read-only through TenkeyBridge. Paychecks are created in QuickBooks Desktop payroll.",
|
|
2307
|
+
"workaround": "Create or void the paycheck in QuickBooks Desktop (Employees, Pay Employees); it shows up on the next read."
|
|
2308
|
+
},
|
|
2309
|
+
{
|
|
2310
|
+
"case": "File without payroll",
|
|
2311
|
+
"error": "PAYROLL_SUBSCRIPTION_REQUIRED",
|
|
2312
|
+
"note": "Desktop answers status 3262 when the company file has no payroll subscription (422 PAYROLL_SUBSCRIPTION_REQUIRED), and 3261 when the integrated app lacks the personal-data permission (403 QB_PERSONAL_DATA_DENIED)."
|
|
2313
|
+
}
|
|
2314
|
+
]
|
|
2315
|
+
},
|
|
2226
2316
|
"Payment": {
|
|
2227
2317
|
"entity": "Payment",
|
|
2228
2318
|
"verdict": "live",
|
|
@@ -2351,6 +2441,43 @@ var CATALOG = {
|
|
|
2351
2441
|
}
|
|
2352
2442
|
]
|
|
2353
2443
|
},
|
|
2444
|
+
"PayrollItemWage": {
|
|
2445
|
+
"entity": "PayrollItemWage",
|
|
2446
|
+
"verdict": "live",
|
|
2447
|
+
"group": "lists",
|
|
2448
|
+
"read": "full",
|
|
2449
|
+
"write": "none",
|
|
2450
|
+
"headline": "TenkeyBridge extension: read/query the payroll wage items (Regular Pay, Overtime Pay, ...) a TimeActivity can name; QuickBooks Desktop only",
|
|
2451
|
+
"fields": [
|
|
2452
|
+
{
|
|
2453
|
+
"qbo": "Name",
|
|
2454
|
+
"support": "full",
|
|
2455
|
+
"note": "Up to 31 characters."
|
|
2456
|
+
},
|
|
2457
|
+
{
|
|
2458
|
+
"qbo": "Active",
|
|
2459
|
+
"support": "full",
|
|
2460
|
+
"note": "Queries return active items only unless you filter on Active."
|
|
2461
|
+
},
|
|
2462
|
+
{
|
|
2463
|
+
"qbo": "WageType",
|
|
2464
|
+
"support": "full",
|
|
2465
|
+
"note": "Desktop's enum string, unchanged: Bonus, Commission, HourlyOvertime, HourlyRegular, HourlySick, HourlyVacation, SalaryRegular, SalarySick, SalaryVacation."
|
|
2466
|
+
},
|
|
2467
|
+
{
|
|
2468
|
+
"qbo": "ExpenseAccountRef",
|
|
2469
|
+
"support": "full"
|
|
2470
|
+
}
|
|
2471
|
+
],
|
|
2472
|
+
"unsupported": [
|
|
2473
|
+
{
|
|
2474
|
+
"case": "Create, update, deactivate or delete",
|
|
2475
|
+
"error": "UNSUPPORTED_BY_DESKTOP",
|
|
2476
|
+
"note": "PayrollItemWage is read-only through TenkeyBridge. Reading wage items works on a company file without a payroll subscription.",
|
|
2477
|
+
"workaround": "Create or edit the wage item in QuickBooks Desktop (Lists, Payroll Item List); it shows up on the next read."
|
|
2478
|
+
}
|
|
2479
|
+
]
|
|
2480
|
+
},
|
|
2354
2481
|
"Preferences": {
|
|
2355
2482
|
"entity": "Preferences",
|
|
2356
2483
|
"verdict": "live",
|
|
@@ -2910,7 +3037,7 @@ var CATALOG = {
|
|
|
2910
3037
|
{
|
|
2911
3038
|
"qbo": "Desktop extension reports",
|
|
2912
3039
|
"support": "full",
|
|
2913
|
-
"note": "ProfitAndLossByClass, ProfitAndLossByJob, ProfitAndLossPrevYearComp, ProfitAndLossYTDComp, BalanceSheetPrevYearComp, BalanceSheetByClass, PurchaseByVendorSummary, PurchaseByItemSummary, SalesByRepSummary, InventoryStockStatusByItem, OpenInvoices, UnpaidBillsDetail, OpenPOs, SalesByCustomerDetail, SalesByItemDetail, IncomeByCustomerDetail, ExpenseByVendorDetail, PurchaseByVendorDetail, DepositDetail, CheckDetail, BalanceSheetDetail, CollectionsReport, and since Reports wave 4 TxnDetailByAccount, UnbilledCostsByJob, AuditTrail, 1099Detail, SalesByRepDetail, PurchaseByItemDetail, OpenPOsByJob, EstimatesByJob, JobProgressInvoicesVsEstimates, OpenSalesOrderByCustomer, OpenSalesOrderByItem, PendingSales, IncomeTaxDetail, MissingChecks, SalesTaxRevenueSummary, IncomeTaxSummary, BalanceSheetSummary, InventoryStockStatusByVendor, and the Job and Time reports JobProfitabilitySummary, JobEstimatesVsActualsSummary, ItemProfitability, ItemEstimatesVsActuals, JobProfitabilityDetail, JobEstimatesVsActualsDetail, TimeByJobSummary, TimeByJobDetail, TimeByItem, TimeByName, and since Reports wave 5 PhysicalInventoryWorksheet (a bare snapshot: Desktop refuses every period, filter, basis and column option on it, so the gateway refuses them too) and the Advanced Inventory reports InventoryValuationSummaryBySite, LotNumberInStockBySite and SerialNumberInStockBySite (sent bare; a company file without Advanced Inventory answers 3250, which becomes a 422 REPORT_FEATURE_UNAVAILABLE naming the feature; not live-proven past that gate, and unavailable in the sandbox). Filters are enabled only where they were proven live on QuickBooks Enterprise 24 (2026-10-20): customer/vendor, item, class, account type, transaction type and modified date on the detail reports (not the account filter on UnbilledCostsByJob and PendingSales, which Desktop fails with an internal error), the same minus modified date on the summaries, all but vendor on the four Job summaries, customer, item and class on the Time reports; the two Job detail reports require a customer or job Id and take no other filter; MissingChecks requires account Ids (Desktop refuses a bare query and an account type, as it does ReportBasis) and takes transaction type, class, modified date and columns. 1099Detail takes no filter at all (an entity filter crashed QuickBooks, so the gateway refuses every filter on it before it reaches Desktop). The Time reports take no columns (Desktop refuses Duration). Desktop reports with no QBO twin, served under their Desktop names in the same QBO report JSON."
|
|
3040
|
+
"note": "ProfitAndLossByClass, ProfitAndLossByJob, ProfitAndLossPrevYearComp, ProfitAndLossYTDComp, BalanceSheetPrevYearComp, BalanceSheetByClass, PurchaseByVendorSummary, PurchaseByItemSummary, SalesByRepSummary, InventoryStockStatusByItem, OpenInvoices, UnpaidBillsDetail, OpenPOs, SalesByCustomerDetail, SalesByItemDetail, IncomeByCustomerDetail, ExpenseByVendorDetail, PurchaseByVendorDetail, DepositDetail, CheckDetail, BalanceSheetDetail, CollectionsReport, and since Reports wave 4 TxnDetailByAccount, UnbilledCostsByJob, AuditTrail, 1099Detail, SalesByRepDetail, PurchaseByItemDetail, OpenPOsByJob, EstimatesByJob, JobProgressInvoicesVsEstimates, OpenSalesOrderByCustomer, OpenSalesOrderByItem, PendingSales, IncomeTaxDetail, MissingChecks, SalesTaxRevenueSummary, IncomeTaxSummary, BalanceSheetSummary, InventoryStockStatusByVendor, and the Job and Time reports JobProfitabilitySummary, JobEstimatesVsActualsSummary, ItemProfitability, ItemEstimatesVsActuals, JobProfitabilityDetail, JobEstimatesVsActualsDetail, TimeByJobSummary, TimeByJobDetail, TimeByItem, TimeByName, and since Reports wave 5 PhysicalInventoryWorksheet (a bare snapshot: Desktop refuses every period, filter, basis and column option on it, so the gateway refuses them too) and the Advanced Inventory reports InventoryValuationSummaryBySite, LotNumberInStockBySite and SerialNumberInStockBySite (sent bare; a company file without Advanced Inventory answers 3250, which becomes a 422 REPORT_FEATURE_UNAVAILABLE naming the feature; not live-proven past that gate, and unavailable in the sandbox). Six payroll reports (2026-12-03): PayrollTransactionDetail, PayrollItemDetail, PayrollTransactionsByPayee and PayrollReviewDetail (PayrollDetailReportQueryRq) and PayrollSummary and EmployeeEarningsSummary (PayrollSummaryReportQueryRq). They take a period only (start_date/end_date or date_macro): no filter, column split, accounting_method or columns, because only the period was proven live, and anything else is refused before Desktop. They need a QuickBooks Desktop payroll subscription (status 3262 becomes 422 PAYROLL_SUBSCRIPTION_REQUIRED) and the integrated-application personal-data permission (status 3261 becomes 403 QB_PERSONAL_DATA_DENIED). The sandbox replays one fixed capture of each. Filters are enabled only where they were proven live on QuickBooks Enterprise 24 (2026-10-20): customer/vendor, item, class, account type, transaction type and modified date on the detail reports (not the account filter on UnbilledCostsByJob and PendingSales, which Desktop fails with an internal error), the same minus modified date on the summaries, all but vendor on the four Job summaries, customer, item and class on the Time reports; the two Job detail reports require a customer or job Id and take no other filter; MissingChecks requires account Ids (Desktop refuses a bare query and an account type, as it does ReportBasis) and takes transaction type, class, modified date and columns. 1099Detail takes no filter at all (an entity filter crashed QuickBooks, so the gateway refuses every filter on it before it reaches Desktop). The Time reports take no columns (Desktop refuses Duration). Desktop reports with no QBO twin, served under their Desktop names in the same QBO report JSON."
|
|
2914
3041
|
},
|
|
2915
3042
|
{
|
|
2916
3043
|
"qbo": "start_date / end_date / date_macro",
|
|
@@ -3643,9 +3770,8 @@ var CATALOG = {
|
|
|
3643
3770
|
},
|
|
3644
3771
|
{
|
|
3645
3772
|
"qbo": "PayrollItemRef",
|
|
3646
|
-
"support": "
|
|
3647
|
-
"note":
|
|
3648
|
-
"error": "UNSUPPORTED_BY_DESKTOP"
|
|
3773
|
+
"support": "full",
|
|
3774
|
+
"note": 'TenkeyBridge extension (QBO Accounting has no equivalent): maps to Desktop PayrollItemWageRef, read from and written to the entry as { value, name }. Pick a wage item from the PayrollItemWage list (Regular Pay, Overtime Pay, ...). Required on every entry for an employee whose "Use time data to create paychecks" is on: without it QuickBooks refuses the save (statusCode 3180, "Activities for this employee must have a payroll item"). For an employee set not to use time data it is optional and stored when sent. Vendor entries accept and store one too. A sparse update that omits it keeps the stored item; sending a different one changes it; it cannot be cleared.'
|
|
3649
3775
|
},
|
|
3650
3776
|
{
|
|
3651
3777
|
"qbo": "TxnNumber",
|
|
@@ -4094,7 +4220,7 @@ function registerTools(server, client, access) {
|
|
|
4094
4220
|
hide("run_report", server.registerTool(
|
|
4095
4221
|
"run_report",
|
|
4096
4222
|
{
|
|
4097
|
-
description: "Run a QuickBooks Desktop report and get QBO-style report JSON (Header, Columns, Rows). Report names are QBO names such as ProfitAndLoss, BalanceSheet or CashFlow, plus Desktop extension reports. Params use QBO names, e.g. start_date, end_date, date_macro, accounting_method, summarize_column_by, customer, vendor, item, class, account, account_type, transaction_type, columns, report_date, start_moddate, end_moddate. BudgetOverview and BudgetVsActuals take fiscal_year instead of dates; MissingChecks requires account, and JobProfitabilityDetail and JobEstimatesVsActualsDetail require customer. ClassSales gives income by class; TransactionListWithSplits lists every split line. Read compat://entity/reports for the available reports and which params each takes.",
|
|
4223
|
+
description: "Run a QuickBooks Desktop report and get QBO-style report JSON (Header, Columns, Rows). Report names are QBO names such as ProfitAndLoss, BalanceSheet or CashFlow, plus Desktop extension reports. Params use QBO names, e.g. start_date, end_date, date_macro, accounting_method, summarize_column_by, customer, vendor, item, class, account, account_type, transaction_type, columns, report_date, start_moddate, end_moddate. BudgetOverview and BudgetVsActuals take fiscal_year instead of dates; MissingChecks requires account, and JobProfitabilityDetail and JobEstimatesVsActualsDetail require customer. ClassSales gives income by class; TransactionListWithSplits lists every split line. The payroll reports (PayrollTransactionDetail, PayrollSummary and four more) take a period only (start_date, end_date or date_macro). Read compat://entity/reports for the available reports and which params each takes.",
|
|
4098
4224
|
inputSchema: {
|
|
4099
4225
|
report: z.string().describe('Report name, e.g. "ProfitAndLoss" (case-insensitive).'),
|
|
4100
4226
|
params: z.record(z.string()).optional().describe('Query params, e.g. { "date_macro": "Last Month" }.')
|
|
@@ -4109,6 +4235,21 @@ function registerTools(server, client, access) {
|
|
|
4109
4235
|
}
|
|
4110
4236
|
}
|
|
4111
4237
|
));
|
|
4238
|
+
hide("get_connection", server.registerTool(
|
|
4239
|
+
"get_connection",
|
|
4240
|
+
{
|
|
4241
|
+
description: "Check whether the QuickBooks company file is reachable right now: { online, transport (agent, qbwc, sandbox or null), lastSeenAt }. An offline file answers online false, not an error. For a Web Connector file lastSeenAt is the last stored check-in and can be null or slightly behind while online is true. Costs no QuickBooks round trip.",
|
|
4242
|
+
inputSchema: {}
|
|
4243
|
+
},
|
|
4244
|
+
async () => {
|
|
4245
|
+
if (!client.connection) return fail("This TenkeyBridge client has no connection() method; upgrade @tenkeybridge/client to 0.10.1.");
|
|
4246
|
+
try {
|
|
4247
|
+
return ok(await client.connection());
|
|
4248
|
+
} catch (err) {
|
|
4249
|
+
return failure(err);
|
|
4250
|
+
}
|
|
4251
|
+
}
|
|
4252
|
+
));
|
|
4112
4253
|
hide("get", server.registerTool(
|
|
4113
4254
|
"get",
|
|
4114
4255
|
{
|
|
@@ -4266,7 +4407,7 @@ function registerTools(server, client, access) {
|
|
|
4266
4407
|
}
|
|
4267
4408
|
|
|
4268
4409
|
// src/version.ts
|
|
4269
|
-
var PKG_VERSION = "0.
|
|
4410
|
+
var PKG_VERSION = "0.10.1";
|
|
4270
4411
|
|
|
4271
4412
|
// src/server.ts
|
|
4272
4413
|
var SERVER_NAME = "tenkeybridge";
|