@ancha-labs/cli 0.4.37 → 0.4.39

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.
@@ -88,7 +88,7 @@ The new tools are LinkedIn Ads (202610), Salesforce (REST v67.0), Gong (v2), Goo
88
88
 
89
89
  **NetSuite** (SuiteTalk REST record v1 and SuiteQL): customers, vendors, items, sales orders, invoices, credit memos, customer payments, vendor bills, bill payments and journal entries. Credit preferences govern credit purchases; named A/R and A/P journal lines participate in payments and aging. Select journal credits through a payment’s `credit` sublist, including zero-cash invoice settlement. Run `ancha connect netsuite --lang ts` (or `--lang py`). Point the client at `NETSUITE_API_URL` instead of `https://{account}.suitetalk.api.netsuite.com`; use `NETSUITE_RECORD_URL` for records and `NETSUITE_SUITEQL_URL` for queries. Send `NETSUITE_ACCESS_TOKEN` as a Bearer token, or sign OAuth 1.0 TBA requests with HMAC-SHA256 using `NETSUITE_ACCOUNT_ID` as realm and `NETSUITE_CONSUMER_KEY`, `NETSUITE_CONSUMER_SECRET`, `NETSUITE_TOKEN_ID` and `NETSUITE_TOKEN_SECRET`. For OAuth 2.0, get tokens from `NETSUITE_TOKEN_URL`: the client credentials grant with a JWT signed by `NETSUITE_PRIVATE_KEY` (ES256, `kid` `NETSUITE_CERTIFICATE_ID`, `iss` `NETSUITE_CLIENT_ID`), or the authorization code grant (PKCE, refresh tokens) with `NETSUITE_CLIENT_ID` and `NETSUITE_CLIENT_SECRET` through `/app/login/oauth2/authorize.nl` on `NETSUITE_API_URL`. SuiteQL POSTs need `Prefer: transient` and a JSON body containing `q`; record creates return 204 with a `Location` header. `Prefer: respond-async` runs a request, or a batch of up to 100 records, as a job: poll `/services/rest/async/v1/job/{id}` until `completed` is true, then read each task's result. Agents that use NetSuite's AI Connector Service get Oracle's 25 MCP Standard Tools (records, record actions, reports, saved searches, SuiteQL, the File Cabinet and session information) at `NETSUITE_API_URL` plus `/services/mcp/v1/all`, with `NETSUITE_ACCESS_TOKEN` or an OAuth 2.0 token issued for the `mcp` scope; `ANCHA_MCP_NETSUITE_URL` and `ANCHA_MCP_NETSUITE_TOKEN` serve the same tools at the world's MCP endpoint.
90
90
 
91
- **QuickBooks Online** (Accounting API v3): customers, vendors, accounts, service and non-inventory items, invoices, payments, bills, expenses, credits, deposits, transfers and journal entries. Agents can query the books, read accrual financial and aging reports, retrieve changes through CDC and submit batches. Run `ancha connect quickbooks --lang ts` (or `--lang py`). Point the client at `QUICKBOOKS_API_URL` and send requests to `/v3/company/{QUICKBOOKS_REALM_ID}/...`. Send `Accept: application/json` for JSON responses; XML is the default. Write entity bodies with `Content-Type: application/json`; updates take the current `Id` and `SyncToken`, with `sparse: true` to keep omitted fields. Use `QUICKBOOKS_ACCESS_TOKEN` as a Bearer token. Access tokens last one hour on the world's clock. Refresh by POSTing a form to `QUICKBOOKS_TOKEN_URL` with `grant_type=refresh_token` and `refresh_token` set to `QUICKBOOKS_REFRESH_TOKEN`, using HTTP Basic authentication with `QUICKBOOKS_CLIENT_ID` and `QUICKBOOKS_CLIENT_SECRET`; save the returned access and refresh tokens. Intuit and QuickBooks are registered trademarks of Intuit Inc. Ancha is not affiliated with or endorsed by Intuit.
91
+ **QuickBooks Online** (Accounting API v3): customers, vendors, accounts, service and non-inventory items, invoices, payments, bills, expenses, credits, deposits, transfers, journal entries, time activities, attachments, tax agencies, tax codes and seeded exchange rates. Agents can upload and download attachments, retrieve transaction PDFs, query the books, read financial, sales and aging reports, retrieve changes through CDC and submit batches. Reports include ProfitAndLoss, ProfitAndLossDetail, BalanceSheet, TrialBalance, GeneralLedger, TransactionList, CashFlow, AccountList, CustomerSales, ItemSales, CustomerIncome, VendorExpenses, ClassSales, DepartmentSales, AgedReceivables, AgedReceivableDetail, AgedPayables, AgedPayableDetail, CustomerBalance, CustomerBalanceDetail, VendorBalance, VendorBalanceDetail and InventoryValuationSummary. Select `accounting_method=Accrual` or `Cash`; use `start_date`, `end_date`, `report_date` or `date_macro` to choose the reporting period. Run `ancha connect quickbooks --lang ts` (or `--lang py`). Point the client at `QUICKBOOKS_API_URL` and send requests to `/v3/company/{QUICKBOOKS_REALM_ID}/...`. Entity and report responses are JSON; send `Accept: application/xml` for XML. Transaction PDF routes return `application/pdf`. Upload attachments to `/upload` with `multipart/form-data`. Write entity bodies with `Content-Type: application/json`; updates take the current `Id` and `SyncToken`, with `sparse: true` to keep omitted fields. Use `QUICKBOOKS_ACCESS_TOKEN` as a Bearer token. Access tokens last one hour on the world's clock. Refresh by POSTing a form to `QUICKBOOKS_TOKEN_URL` with `grant_type=refresh_token` and `refresh_token` set to `QUICKBOOKS_REFRESH_TOKEN`, using HTTP Basic authentication with `QUICKBOOKS_CLIENT_ID` and `QUICKBOOKS_CLIENT_SECRET`; save the returned access and refresh tokens. Intuit and QuickBooks are registered trademarks of Intuit Inc. Ancha is not affiliated with or endorsed by Intuit.
92
92
 
93
93
  Some replicas are measured against their vendor's own OpenAPI description: the official SDK calls every endpoint the replica claims and each response is checked. `ancha twins list --json` gives those replicas a `conformance` object (`claimed`, `exercised`, `sdkCalls`, `sdkFailures`, `mismatches`, `accepted`, and the pinned `source` descriptions); a difference is `accepted` only with a written reason. `ancha twins coverage <tool>` prints the same numbers under its table.
94
94