@go-labs-sg/bb 3.21.0 → 3.22.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/README.md +8 -9
- package/command-manifest.json +1 -1
- package/command-reference.md +4 -4
- package/dist/index.js +774 -953
- package/dist/index.js.map +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -68,7 +68,7 @@ Roll out the API and maintained CLI together: `suppliers`/`pageCount` and offset
|
|
|
68
68
|
|
|
69
69
|
**Supplier detail shape:** `supplier.getSupplierById` / `bb get-supplier-details` return the full supplier in one read and keep every supplier field the detail page and pending-update diff compare (contact, banking, PayNow, payment/role/certification ids, address, pending update), with `createdBy` narrowed to `{ id, name, email, image, role }`, attachments to `{ id, name, key, size }`, payment method/role/certification/tags to `{ id, name }` and each catalogue item to `{ id, catalogueCode, name, cost, descriptionRichText, itemCategory { id, name }, _count }`. Approvals carry their ids, status, timestamps and approver/responder users, not budget/bill/quotation links. `lowerCaseName`, the QuickBooks id and sync token, and `createdById` are no longer included.
|
|
70
70
|
|
|
71
|
-
**Project detail shape:** `project.getProjectById` returns the project's own scheduling, ownership,
|
|
71
|
+
**Project detail shape:** `project.getProjectById` returns the project's own scheduling, ownership, Asana-task, QuickBooks and win fields plus the derived calendar and Asana fields, with `company { id, name }`, `asanaProject { gid, url }`, `insideSales`/`businessDevelopment`/`wonBy { id, name }`, `projectManager { id, name, email, bannedAt }` and `contactPerson { id, displayName, firstName, lastName }`. `project.getProjectDetailsById` / `bb get-project` returns the same project fields with only the derived Asana fields, `company { id, name }`, `asanaProject { gid, url }`, `wonBy { id, name }` and `contactPerson { id, displayName, firstName, lastName, email, mobile }`; it has no assignment relations or calendar fields. Both no longer include lost/override reasons, deal-automation and deal-lost bookkeeping columns, `winProofRequirement` or the payment-schedule lead days.
|
|
72
72
|
|
|
73
73
|
**Dashboard read shapes:** `get-dashboard`, `get-monthly-metrics` and `get-financial-overview` (and the web user dashboard) now read only the budget, item, discount and commission fields their totals use, and `get-estimate-performance` reads only budget status; their outputs are unchanged. The web-only `dashboard.getSupplierById` supplier read selects just the analytics card fields; its output is unchanged.
|
|
74
74
|
|
|
@@ -82,7 +82,7 @@ Roll out the API and maintained CLI together: `suppliers`/`pageCount` and offset
|
|
|
82
82
|
|
|
83
83
|
**Bill item, quotation download and invoice-candidate reads:** `bill.getBudgetItemsForBill` / `getBudgetItemsForProject` rows now carry only the budget-item fields the bill, claim, quotation and line-item screens use: `item { id, catalogueCode }`, `supplier { id, name, gstRegistered, lowerCaseName }` (plus `address` on the project list for supplier verification), `itemCategory { id, name }`, and, on the project list only, `actualSpendings[] { id, amount, supplier }` (the bill list has no spendings). Neither is called by the CLI. `bb quotation pdf download` / `download-quotation-pdf` (`quotation.getSignedDownloadUrl`) returns `attachment { id, name, size, supplierQuotationFileRole }` with the signed `url`, without the internal storage key and row bookkeeping. `bb customer-invoice existing list` / `list-available-qbo-customer-invoices` (`customerInvoice.getExistingInvoiceCandidates`) reads only the budget state and project access fields; its output is unchanged.
|
|
84
84
|
|
|
85
|
-
**Project and item-category list read shapes:** `bb project list` / `bb list-projects` (`project.getAllProjects`) items keep every column the project table, cards and edit dialog use. They drop the deal-automation, calendar,
|
|
85
|
+
**Project and item-category list read shapes:** `bb project list` / `bb list-projects` (`project.getAllProjects`) items keep every column the project table, cards and edit dialog use. They drop the deal-automation, calendar, win-override and lost-reason bookkeeping columns. Their relations narrow to `contactPerson { id, displayName, email }`, `company { id, name }`, `createdBy { id, name, email, image }` and `wonBy { id, name }`; `asanaProjectGid`/`asanaProjectUrl` are unchanged. Use `bb get-project <id>` for project details. `bb list-item-categories` rows carry `createdBy { id, name, email, image }` instead of the full user row.
|
|
86
86
|
|
|
87
87
|
**Customer invoice detail shape:** `customerInvoice.getInvoiceDetail` / `bb get-customer-invoice` return only what the web invoice page reads: batch status, totals, budget name, project permission ids, creator, approval approvers, operation/QuickBooks error state and per-invoice summaries (label, milestone, status, amounts, billing address, customer memo, email delivery). Invoice lines, history, QuickBooks ids/dates and full approval people are no longer included. Use `get-customer-invoice-invoices <batchId>`, `get-customer-invoice-lines <invoiceId>`, `get-customer-invoice-approvals <batchId>` and `get-customer-invoice-history <batchId>`; the last three are newest-first `{ items, pageInfo }` pages. `list-customer-invoices` rows likewise carry only the list columns (budget/project/company names, creator, invoice labels/doc numbers and amounts).
|
|
88
88
|
|
|
@@ -205,7 +205,7 @@ Budget approvals apply only to the current pending request: material edits and s
|
|
|
205
205
|
|
|
206
206
|
`bb budget item supplier update --budgetItemId <id> --supplierId <id>` treats an eligible supplier/GST snapshot change as a material financial edit: it supersedes pending budget approvals and applies the standard budget/estimate reset policy. An identical supplier is a no-op. Refresh the budget and request approval again after an actual swap. Quotation signing also claims the exact selected allocation rows, so deleting an allocated budget item (including deletion during a budget restore) conflicts with an in-flight old submission or assigned final approval even if the parent quotation timestamp did not change. Existing capacity, bill-allocation deletion restrictions and attempt-specific cleanup are not bypassed.
|
|
207
207
|
|
|
208
|
-
`create-project` requires an existing Asana Deals lead task. In non-interactive runs pass `--asanaTaskId`; interactive runs can select a match with `--asanaSearch`.
|
|
208
|
+
`create-project` requires an existing Asana Deals lead task. In non-interactive runs pass `--asanaTaskId`; interactive runs can select a match with `--asanaSearch`. For a new direct client, create the lead task in the website form first.
|
|
209
209
|
|
|
210
210
|
## Shared catalogue editing
|
|
211
211
|
|
|
@@ -459,9 +459,8 @@ bb inbound processing update <source-id> --mode SHADOW --enabled true --allow-st
|
|
|
459
459
|
```
|
|
460
460
|
|
|
461
461
|
Mapping saves create and activate an immutable version. Automation configuration
|
|
462
|
-
stores
|
|
463
|
-
secrets, including
|
|
464
|
-
the Asana section IDs used by the four Slack stage commands. Processing can
|
|
462
|
+
stores Asana, Google Calendar, and the public GOSH brief URL without
|
|
463
|
+
secrets, including the Asana section IDs. Processing can
|
|
465
464
|
remain in `SHADOW` to create durable plans without provider writes; use `ACTIVE`
|
|
466
465
|
only after disabling the matching n8n Typeform trigger. These commands do not
|
|
467
466
|
enable company, project, or QuickBooks creation.
|
|
@@ -478,11 +477,11 @@ with the BB project's `/budgets` URL; an unmapped field is left untouched.
|
|
|
478
477
|
Older inbound snapshots can use the current BB Link mapping for their original
|
|
479
478
|
source and Asana Deals project.
|
|
480
479
|
|
|
481
|
-
Project Calendar descriptions list `bb
|
|
480
|
+
Project Calendar descriptions list `bb :` and `asana deal:` links
|
|
482
481
|
when available. The `asana project:` line appears only after a win and an
|
|
483
482
|
operational Asana project exists. Persisting that Asana project queues a Calendar
|
|
484
483
|
refresh, including recovery paths. Inbound response identity is retained for
|
|
485
|
-
safe reconciliation. Calendar and configured Asana
|
|
484
|
+
safe reconciliation. Calendar and configured Asana synchronization failures
|
|
486
485
|
remain retryable in the durable lifecycle outbox.
|
|
487
486
|
|
|
488
487
|
### Mutation safety
|
|
@@ -739,7 +738,7 @@ Admin/Lead users can run `bb supplier approve <supplierId>` to directly re-appro
|
|
|
739
738
|
| **Quotations** | `list-quotations` (project, budget, supplier, status, requester and text-search filters; newest-first cursor pages via `--limit` / `--cursor` / `--direction` returning `{ items, pageInfo }`; `--page` / `--perPage` / `--pageSize` are rejected), `count-quotations` (`quotation.getCounts`: filters only, returns `totalCount`, status facets that ignore their own status filter, and `--includeMetrics true` amount metrics), `get-quotation` (web quotation shape), `get-quotation-line-items` (`<quotationId>`; newest-first cursor pages, `--limit 1-100`, `--cursor`), `upload-quotation-attachment` (`<projectId>` + PDF/JPEG/PNG path up to 20MB; returns attachment JSON for payload use), `cleanup-staged-quotation-attachments`, `create-quotation` (`--payload` for `quotation.createDraft`; include `amountWithoutGst`, `gstAmount`, and `lineAmounts` entries `{ budgetItemId, amount }` for multiple selected items; `documentOnly: true` with all amounts `0` creates a $0 supplier document that is never a bill source and does not count as quotation coverage), `update-quotation` (`--payload`; updates a `DRAFT` or `REJECTED` quotation; a full replace, so resend `documentOnly: true` for a document-only quotation), `delete-quotation`, `submit-quotation`, `approve-quotation`, `reject-quotation`, `download-quotation-pdf` (`original`, `staff`, or `final`). PDF work runs in queued jobs, not in the request: `create-quotation` / `update-quotation` queue the upload check and PDF conversion, `submit-quotation` and `approve-quotation` queue the staff-signed and final signed PDFs. `get-quotation` reports `pdfProcessing` (`PROCESSING` or `FAILED`, with the step and error) until the PDF is linked, and `download-quotation-pdf` answers "still processing" meanwhile. `create-quotation`, `update-quotation`, `submit-quotation` and `get-quotation` return `gstMismatch`: `null`, or `{ basis, expectedGstAmount, enteredGstAmount, difference, message }` when a non-zero `gstAmount` is more than $0.05 away from the expected GST. `basis` `TAXABLE_LINES` is the bill calculation for the quoted lines (9% of each in-scope line, rounded per line; none for a non-GST-registered supplier); `FULL_SUBTOTAL` is 9% of `amountWithoutGst`, used when line amounts are unknown. It is a warning only; GST `0` is always accepted |
|
|
740
739
|
| **Customer invoices** | `check-customer-invoice-readiness`, `list-eligible-customer-invoice-budgets`, `preview-customer-invoice-amount`, `list-available-qbo-customer-invoices`, `list-customer-invoices` (global/project/budget filters; cursor pages via `--limit` / `--cursor` / `--direction` returning `{ items, pageInfo }`, `--page` / `--perPage` rejected; `--sortBy totalInvoiceAmount` sorts provider-confirmed totals including GST, with unknown amounts last), `count-customer-invoices` (`customerInvoice.getCounts`: filters only; `totalCount`, lifecycle status facets that ignore their own status filter, and amount metrics), `get-customer-invoice` (web-shaped batch), `get-customer-invoice-invoices`, `get-customer-invoice-lines`, `get-customer-invoice-approvals`, `get-customer-invoice-history`, `get-customer-invoice-payments` (live QuickBooks payments for one invoice), `get-customer-invoice-email-context`, `preview-qbo-customer-invoice`, `import-qbo-customer-invoice` (BB-only link with reviewed token), `create-customer-invoice`, `resubmit-customer-invoice` (original requester only; one replacement after confirmed expiry voiding; repeated calls return the same replacement), `discard-customer-invoice`, `delete-customer-invoice`, `void-customer-invoice`, `approve-customer-invoice` (admin), `reject-customer-invoice` (admin), `send-customer-invoice-to-contact-person`, `download-customer-invoice-pdf` (non-admins cannot download while approval is pending), `mark-customer-invoice-sent-externally` (admin; `--sentAt` ISO, `--recipients` comma list, optional `--note`; records an APPROVED invoice as SENT/EXTERNAL, sends no email), `sync-customer-invoice` (status only: QuickBooks edits to bill-to address, memo, bill email or total are held as `qboDetailsDrift` and admins are emailed once per QuickBooks revision), `update-customer-invoice-details` (bill-to address and memo; external QuickBooks write; bill email is managed in QuickBooks), `update-customer-invoice-qbo-drift` (admin; `--resolution ACCEPT_QBO` writes BB only, `KEEP_BB` queues BB's address and memo to QuickBooks) |
|
|
741
740
|
| **Approvals** | `list-approvals` / `get-pending-approvals` (`--type budget\|supplier\|bill\|quotation\|customer_invoice\|all`), `approve-bill` / `reject-bill` (send reply email), `approve-budget` / `reject-budget` (send reply email), `approve-supplier` / `reject-supplier` (send reply email; approval and Lead/Admin re-approval queue the QuickBooks vendor sync, and the supplier is usable once it confirms), `approve-quotation` / `reject-quotation`, `approve-customer-invoice` / `reject-customer-invoice` |
|
|
742
|
-
| **Companies & projects** | `list-companies`, `get-company`, `create-company` / `use-existing-company` (save the BB company now and queue its QuickBooks customer find/create or link, returning `quickBooksSyncQueued` / `operationId`; a QBO-only import passes `--name` from `search-existing-companies`; estimates, invoices and QuickBooks projects wait until the customer is linked; `get-company-quickbooks-sync-status` shows the queued or stopped link), `update-company` (`--payload`), `delete-company`, `list-projects`, `get-project` (its budget overview returns `totalRevenue`, calculated only from Estimate Accepted and Estimate Closed budgets), `get-project-hub-status` (saved state only, no provider read; a project whose hub link exists only in its Asana notes shows as not set up until `setup-project-hub` links that existing hub; also reports `rotation` while a web-started share-link rotation is `QUEUED` or has `FAILED`; the rotation runs as a queued job and the current link keeps working until it finishes), `setup-project-hub`, `sync-project-hub-commercial-documents`, `create-project` (required: `--name`, `--companyId`, `--contactPersonId`, `--insideSalesId`, `--businessDevelopmentId`, `--venue`, `--startDate` as ISO datetime for project/window start; when `--asanaTaskId` is omitted, the CLI searches open Asana lead tasks in the Deals project, prompts for one of the top five matches, and
|
|
741
|
+
| **Companies & projects** | `list-companies`, `get-company`, `create-company` / `use-existing-company` (save the BB company now and queue its QuickBooks customer find/create or link, returning `quickBooksSyncQueued` / `operationId`; a QBO-only import passes `--name` from `search-existing-companies`; estimates, invoices and QuickBooks projects wait until the customer is linked; `get-company-quickbooks-sync-status` shows the queued or stopped link), `update-company` (`--payload`), `delete-company`, `list-projects`, `get-project` (its budget overview returns `totalRevenue`, calculated only from Estimate Accepted and Estimate Closed budgets), `get-project-hub-status` (saved state only, no provider read; a project whose hub link exists only in its Asana notes shows as not set up until `setup-project-hub` links that existing hub; also reports `rotation` while a web-started share-link rotation is `QUEUED` or has `FAILED`; the rotation runs as a queued job and the current link keeps working until it finishes), `setup-project-hub`, `sync-project-hub-commercial-documents`, `create-project` (required: `--name`, `--companyId`, `--contactPersonId`, `--insideSalesId`, `--businessDevelopmentId`, `--venue`, `--startDate` as ISO datetime for project/window start; when `--asanaTaskId` is omitted, the CLI searches open Asana lead tasks in the Deals project, prompts for one of the top five matches, and links the selected deal card; optional `--asanaSearch`, `--pax`, `--endDate`, `--description`, `--projectManagerId`; always requests QBO project import like the web app; the deal card name is updated by a queued job reported as `asanaNameSyncQueued` / `asanaNameSyncOperationId`), `update-project` (`--payload` with `dateRange.from` / `dateRange.to` for the project window; optional `projectManagerId` and `requestQboAccountantNotification` in JSON; a rename queues the Asana project and deal card rename and returns `asanaNameSyncQueued` / `asanaNameSyncOperationId`; a Business Development change queues the deal card assignee update and returns `asanaAssigneeSyncQueued` / `asanaAssigneeSyncOperationId`, with `integrationWarnings` only when the deal card or Asana user mapping is missing — the request never calls Asana), `delete-project`, `check-project-reconciliation <id>` (runs the web app's live checks without changing status), `reconcile-project <id>` (reruns checks transactionally and marks an eligible project `RECONCILED`), `complete-project <id>` (reruns validation, marks a reconciled project `COMPLETED`, and queues QuickBooks placeholder cleanup), `import-qbo-project`, `update-project-status` (`<id>` `<status>`: `PITCH` \| `WON` \| `COMPLETED` \| `RECONCILED` \| `LOST`; close-out follows `WON` → `RECONCILED` → `COMPLETED`, and reconciliation requires every accepted/closed budget line to have an Approved/Paid bill or claim or be explicitly Not Utilized; marking `COMPLETED` queues deletion of every remaining project placeholder bill from QuickBooks; for `PITCH` → `WON` also pass a Budget Builder user `--projectManagerId` or `--projectManagerEmail`; when marking `WON` without an accepted/closed budget or proof, pass `--wonOverrideReason`) |
|
|
743
742
|
| **Contacts** | `list-contacts`, `create-contact-person` (`--payload`), `update-contact-person` (`--payload`) |
|
|
744
743
|
| **Suppliers & items** | `list-suppliers` (defaults to active suppliers, `--perPage 10`, sorted by `createdAt` desc; supports `--name`, `--sortBy` for scalar supplier fields, `--sortDir`, `--createdBy`, `--gstRegistered`, `--status`, `--supplierTags`, `--active false` for archived suppliers; each row carries `quickBooksSync` while a QuickBooks vendor job is queued or stopped), `create-supplier` (`--payload`; when supplier status is `PENDING_APPROVAL`, also runs `supplier.createSupplierApproval` and `email.sendSupplierApprovalRequestEmail`; a Lead/Admin create or archived-name revival instead queues the QuickBooks vendor create or link, returning `quickBooksSyncQueued` and `operationId`, and the supplier becomes usable once QuickBooks confirms), `update-supplier` (`--payload`; when supplier status is `PENDING_APPROVAL`, also runs `supplier.createSupplierApproval` and `email.sendSupplierApprovalRequestEmail`), `delete-suppliers` (`--ids` CSV; admin; archives/deactivates related items), `reactivate-suppliers` (`--ids` CSV; admin; queues one job per inactive supplier that reactivates or links its QuickBooks vendor and only then makes the supplier and its supplier-deactivated items active; returns `queuedSuppliers` and `operations`), `create-certification` / `create-payment-method` / `create-supplier-role` / `create-supplier-tag` (`--name`), `get-supplier-details` (includes `quickBooksSync` while a QuickBooks vendor job is `QUEUED` or has `FAILED`, and `supplierApprovalSummary` for pending approvers, superseded approvers, and the actual responder/respondedAt metadata), `get-supplier-overview` / `get-supplier-usage` / `get-supplier-items` `<supplierId>` (the supplier page's per-tab reads: profile, approvals and tab counts without usage or items; usage rows with spending; inventory items), `get-supplier-analytics` (admin; cursor pages: `--limit` / `--cursor` / `--direction`, optional `--name`, `--status` CSV, `--gstRegistered true|false`, `--createdBy`, `--timeFrame` (with `--startDate`/`--endDate` for `CUSTOM` only), `--sortBy name|gstRegistered|status|phone|email|updatedAt|createdAt`, `--sortDir`; `--page` / `--perPage` rejected; invalid filters are rejected instead of silently widening results), `count-supplier-analytics` (admin; `{ totalCount }` for the same filters), `list-items` (`--includeQuickBooksDeactivationPending true` discovers interrupted QuickBooks deactivations for Admin retry), `create-item` (`--payload`; saves the item and queues its QuickBooks item create, returning `quickBooksSyncQueued` and `operationId`; edits, archives and reactivation wait until that create links the QuickBooks item), `update-item` (`--payload`), `archive-items` (`--ids` CSV, max 100; Budget Builder-only; open estimates retain unavailable snapshot lines for resolution), `delete-item` (admin; archives in Budget Builder and makes the item inactive in QuickBooks; blocked while an open estimate references it), `get-item`, `list-item-categories` (cursor pages of active categories: `--limit` / `--cursor` / `--direction`, optional `--name`, `--sortBy createdAt|name|itemCount|createdBy`, `--sortDir`; `--page` / `--perPage` rejected), `count-item-categories` (`{ totalCount }` for the same `--name`), `create-item-category` / `update-item-category` / `delete-item-categories` (admin; `--ids` CSV for delete; `create-item-category` saves the category and queues its QuickBooks create or link — `list-item-categories` rows show `quickBooksSync` while it is queued or stopped, and items can be created in the category meanwhile; `update-item-category` saves the name immediately and queues the QuickBooks rename for a linked category, returning `quickBooksSyncQueued` and `operationId`) |
|
|
745
744
|
| **Dashboard & users** | `whoami` (current authenticated identity and role), `list-users` (forward cursor pages, name A–Z: `--limit` / `--cursor`, optional `--q` matching name or email, optional `--projectTeamOnly true` for the active `@getout.sg` users accepted as Inside Sales, Business Development or Project Manager; `--page` / `--perPage` rejected), `count-users` (`{ totalCount }` for the same `--q` and `--projectTeamOnly`), `create-user` (admin; provisions an API-only service identity with no Google sign-in; `--email`, optional `--name`, optional `--role` defaulting to `USER`), `create-api-key` (`--name`; defaults to the caller; admin-only `--userId` for another user; raw key shown once), `list-api-keys` (newest-first cursor pages: `--limit` 1–100, `--cursor`; returns `{ items, pageInfo }`; defaults to the caller; admin-only `--userId` for another user), `revoke-api-key` (key ID; admin-only `--userId` for another user), `get-user-performance`, `get-dashboard`, `get-monthly-metrics`, `get-system-overview`, `get-estimate-performance`, `get-financial-overview` (performance/dashboard commands are admin-only) |
|
package/command-manifest.json
CHANGED
|
@@ -7284,7 +7284,7 @@
|
|
|
7284
7284
|
{
|
|
7285
7285
|
"path": ["project", "create"],
|
|
7286
7286
|
"legacyAliases": ["create-project", "create_project"],
|
|
7287
|
-
"summary": "Create a project linked to an existing Asana Deals lead task. Supply --asanaTaskId in non-interactive use; interactive use searches for and selects a lead task (optionally --asanaSearch).
|
|
7287
|
+
"summary": "Create a project linked to an existing Asana Deals lead task. Supply --asanaTaskId in non-interactive use; interactive use searches for and selects a lead task (optionally --asanaSearch). For a new direct client, create the lead task using the website form first.",
|
|
7288
7288
|
"globalOptions": [
|
|
7289
7289
|
{
|
|
7290
7290
|
"name": "--help",
|
package/command-reference.md
CHANGED
|
@@ -1174,7 +1174,7 @@ Effects: state-change, external-write.
|
|
|
1174
1174
|
|
|
1175
1175
|
## `bb project create`
|
|
1176
1176
|
|
|
1177
|
-
Create a project linked to an existing Asana Deals lead task. Supply --asanaTaskId in non-interactive use; interactive use searches for and selects a lead task (optionally --asanaSearch).
|
|
1177
|
+
Create a project linked to an existing Asana Deals lead task. Supply --asanaTaskId in non-interactive use; interactive use searches for and selects a lead task (optionally --asanaSearch). For a new direct client, create the lead task using the website form first.
|
|
1178
1178
|
|
|
1179
1179
|
Legacy aliases: `create-project`, `create_project`.
|
|
1180
1180
|
|
|
@@ -1190,7 +1190,7 @@ Effects: state-change, external-write.
|
|
|
1190
1190
|
|
|
1191
1191
|
Payload fields (--payload JSON)
|
|
1192
1192
|
Required: id: string; name: string; companyId: string; contactPersonId: string; asanaTaskId: string; insideSalesId: string; businessDevelopmentId: string; venue: string; dateRange: {from: ISO date}
|
|
1193
|
-
Optional: dateRange.to: ISO date; projectManagerId: string; pax: string; description: string;
|
|
1193
|
+
Optional: dateRange.to: ISO date; projectManagerId: string; pax: string; description: string; requestQboAccountantNotification: boolean; confirmEstimateInvalidation: boolean. Changing companyId requires a contactPersonId from the new company; the company change itself does not reject existing estimates or touch existing invoices, but date, pax or venue changes in the same save still require confirmEstimateInvalidation.
|
|
1194
1194
|
Example: bb update-project --payload '{"id":"<project-id>","name":"Launch","companyId":"<company-id>","contactPersonId":"<contact-id>","asanaTaskId":"<asana-task-id>","insideSalesId":"<user-id>","businessDevelopmentId":"<user-id>","venue":"Hall","dateRange":{"from":"2026-10-01T09:00:00Z"}}'
|
|
1195
1195
|
|
|
1196
1196
|
## `bb project delete`
|
|
@@ -1837,9 +1837,9 @@ Legacy aliases: `save-inbound-automation-config`, `save_inbound_automation_confi
|
|
|
1837
1837
|
Effects: state-change.
|
|
1838
1838
|
|
|
1839
1839
|
Payload fields (--payload JSON)
|
|
1840
|
-
Required: positional <sourceId>; asanaCustomFields: object; asanaDefaultAssigneeId: string|null; asanaDefaultAssigneeName: string|null; asanaFollowerIds: string[]; asanaProjectId: string; asanaSectionId: string; asanaWonSectionId: string; asanaLostSectionId: string; googleCalendarId: string; googleCalendarTimeZone: string; goshBriefBaseUrl: URL
|
|
1840
|
+
Required: positional <sourceId>; asanaCustomFields: object; asanaDefaultAssigneeId: string|null; asanaDefaultAssigneeName: string|null; asanaFollowerIds: string[]; asanaProjectId: string; asanaSectionId: string; asanaWonSectionId: string; asanaLostSectionId: string; googleCalendarId: string; googleCalendarTimeZone: string; goshBriefBaseUrl: URL
|
|
1841
1841
|
Optional: asanaDiscussionSectionId, asanaFirstContactSectionId, asanaFirstProposalSentSectionId, asanaProposalWipSectionId: string|null; googlePitchCalendarId: string|null (PITCH project events; must differ from googleCalendarId; null keeps them in googleCalendarId); asanaCustomFields.*: mapped IDs
|
|
1842
|
-
Example: bb save-inbound-automation-config <sourceId> --payload '{"asanaCustomFields":{},"asanaDefaultAssigneeId":null,"asanaDefaultAssigneeName":null,"asanaFollowerIds":[],"asanaProjectId":"<asana-project-id>","asanaSectionId":"<asana-section-id>","asanaWonSectionId":"<asana-won-id>","asanaLostSectionId":"<asana-lost-id>","googleCalendarId":"team@example.com","googleCalendarTimeZone":"Asia/Singapore","goshBriefBaseUrl":"https://example.com/brief"
|
|
1842
|
+
Example: bb save-inbound-automation-config <sourceId> --payload '{"asanaCustomFields":{},"asanaDefaultAssigneeId":null,"asanaDefaultAssigneeName":null,"asanaFollowerIds":[],"asanaProjectId":"<asana-project-id>","asanaSectionId":"<asana-section-id>","asanaWonSectionId":"<asana-won-id>","asanaLostSectionId":"<asana-lost-id>","googleCalendarId":"team@example.com","googleCalendarTimeZone":"Asia/Singapore","goshBriefBaseUrl":"https://example.com/brief"}'
|
|
1843
1843
|
|
|
1844
1844
|
## `bb inbound processing update`
|
|
1845
1845
|
|