@go-labs-sg/bb 2.48.0 → 3.0.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 +102 -14
- package/command-manifest.json +2309 -233
- package/command-reference.md +283 -27
- package/dist/index.js +2389 -756
- package/package.json +2 -2
- package/role-aware-agent-guide.md +7 -0
package/command-reference.md
CHANGED
|
@@ -51,12 +51,20 @@ Effects: none.
|
|
|
51
51
|
|
|
52
52
|
## `bb budget list`
|
|
53
53
|
|
|
54
|
-
List budgets. Omit --active for active budgets only; use --active false or --active all for Admin-only historical reads.
|
|
54
|
+
List one cursor page of budgets ({ items, pageInfo }; --limit/--cursor/--direction). Omit --active for active budgets only; use --active false or --active all for Admin-only historical reads.
|
|
55
55
|
|
|
56
56
|
Legacy aliases: `list-budgets`, `list_budgets`.
|
|
57
57
|
|
|
58
58
|
Effects: none.
|
|
59
59
|
|
|
60
|
+
## `bb budget count`
|
|
61
|
+
|
|
62
|
+
Count budgets matching filters: totalCount plus status and active facets. Omit --active for active budgets only.
|
|
63
|
+
|
|
64
|
+
Legacy aliases: `count-budgets`, `count_budgets`.
|
|
65
|
+
|
|
66
|
+
Effects: none.
|
|
67
|
+
|
|
60
68
|
## `bb budget get`
|
|
61
69
|
|
|
62
70
|
Get a budget by ID. Omit --includeInactive for active budgets only; --includeInactive is an Admin-only historical read.
|
|
@@ -99,7 +107,7 @@ Effects: none.
|
|
|
99
107
|
|
|
100
108
|
## `bb budget category list`
|
|
101
109
|
|
|
102
|
-
|
|
110
|
+
List budget categories with cursor pagination. [--q] [--limit 1-100] [--cursor <token>] Active categories, name A–Z. Returns { items, pageInfo }; follow nextCursor with the same --q.
|
|
103
111
|
|
|
104
112
|
Legacy aliases: `get-budget-categories`, `get_budget_categories`.
|
|
105
113
|
|
|
@@ -131,7 +139,7 @@ Effects: state-change, delete, external-write, financial-write.
|
|
|
131
139
|
|
|
132
140
|
## `bb budget status update`
|
|
133
141
|
|
|
134
|
-
Update
|
|
142
|
+
Update budget status. APPROVED requires a current Lead/Admin role; budget management permission alone is insufficient. Ordinary users must request approval. Status changes invalidate old pending requests.
|
|
135
143
|
|
|
136
144
|
Legacy aliases: `update-budget-status`, `update_budget_status`.
|
|
137
145
|
|
|
@@ -139,7 +147,7 @@ Effects: state-change, external-write, financial-write.
|
|
|
139
147
|
|
|
140
148
|
## `bb budget approval create`
|
|
141
149
|
|
|
142
|
-
|
|
150
|
+
Request budget approval for the current content, superseding older pending requests. Existing Lead/Admin autoapproval remains available.
|
|
143
151
|
|
|
144
152
|
Legacy aliases: `create-budget-approval`, `create_budget_approval`.
|
|
145
153
|
|
|
@@ -250,7 +258,7 @@ Effects: state-change.
|
|
|
250
258
|
|
|
251
259
|
## `bb budget item supplier update`
|
|
252
260
|
|
|
253
|
-
|
|
261
|
+
Change a budget item's eligible supplier/GST snapshot as a material financial edit. Supersede pending approvals and apply the standard budget-to-DRAFT reset policy; inspect and request approval again. An unchanged supplier is a no-op.
|
|
254
262
|
|
|
255
263
|
Legacy aliases: `update-budget-item-supplier`, `update_budget_item_supplier`.
|
|
256
264
|
|
|
@@ -348,7 +356,7 @@ Effects: state-change, external-write, financial-write.
|
|
|
348
356
|
|
|
349
357
|
## `bb bill list`
|
|
350
358
|
|
|
351
|
-
List bills.
|
|
359
|
+
List bills with cursor pagination. [--projectId] [--budgetId] [--status CSV] [--search <text>] [--isClaimable true|false] [--createdByIds <csv>] [--sortBy createdAt|amount|status] [--sortDir asc|desc] [--limit 1-100] [--cursor <token>] [--direction forward|backward] Returns { items, pageInfo }; pass nextCursor with --direction forward or previousCursor with --direction backward, keeping the same filters and sort. --page/--pageSize/--perPage are rejected.
|
|
352
360
|
|
|
353
361
|
Legacy aliases: `list-bills`, `list_bills`.
|
|
354
362
|
|
|
@@ -356,12 +364,28 @@ Effects: none.
|
|
|
356
364
|
|
|
357
365
|
## `bb claim list`
|
|
358
366
|
|
|
359
|
-
List claims.
|
|
367
|
+
List reimbursable claims with cursor pagination. Same flags as list-bills (--limit 1-100, --cursor, --direction forward|backward); ignores --isClaimable. Returns { items, pageInfo }.
|
|
360
368
|
|
|
361
369
|
Legacy aliases: `list-claims`, `list_claims`.
|
|
362
370
|
|
|
363
371
|
Effects: none.
|
|
364
372
|
|
|
373
|
+
## `bb bill count`
|
|
374
|
+
|
|
375
|
+
Count Bills.
|
|
376
|
+
|
|
377
|
+
Legacy aliases: `count-bills`, `count_bills`.
|
|
378
|
+
|
|
379
|
+
Effects: none.
|
|
380
|
+
|
|
381
|
+
## `bb claim count`
|
|
382
|
+
|
|
383
|
+
Count Claims.
|
|
384
|
+
|
|
385
|
+
Legacy aliases: `count-claims`, `count_claims`.
|
|
386
|
+
|
|
387
|
+
Effects: none.
|
|
388
|
+
|
|
365
389
|
## `bb bill approval create`
|
|
366
390
|
|
|
367
391
|
Create Bill Approval.
|
|
@@ -485,7 +509,7 @@ Effects: state-change.
|
|
|
485
509
|
|
|
486
510
|
## `bb bill attachment list`
|
|
487
511
|
|
|
488
|
-
|
|
512
|
+
List bill attachments with cursor pagination. <billId> [--limit 1-50] [--cursor <token>] Newest first. Returns { items, pageInfo }; follow nextCursor.
|
|
489
513
|
|
|
490
514
|
Legacy aliases: `get-bill-attachments`, `get_bill_attachments`.
|
|
491
515
|
|
|
@@ -541,12 +565,20 @@ Effects: none.
|
|
|
541
565
|
|
|
542
566
|
## `bb quotation list`
|
|
543
567
|
|
|
544
|
-
List quotations.
|
|
568
|
+
List quotations with cursor pagination. [--projectId] [--budgetId] [--supplierId] [--status CSV] [--createdBy CSV] [--search] [--limit 1-100] [--cursor <token>] [--direction forward|backward] Newest first; returns { items, pageInfo }. Follow nextCursor/previousCursor with the same filters. --page/--pageSize/--perPage are rejected; --requesterIds remains an alias for --createdBy.
|
|
545
569
|
|
|
546
570
|
Legacy aliases: `list-quotations`, `list_quotations`.
|
|
547
571
|
|
|
548
572
|
Effects: none.
|
|
549
573
|
|
|
574
|
+
## `bb quotation count`
|
|
575
|
+
|
|
576
|
+
Count Quotations.
|
|
577
|
+
|
|
578
|
+
Legacy aliases: `count-quotations`, `count_quotations`.
|
|
579
|
+
|
|
580
|
+
Effects: none.
|
|
581
|
+
|
|
550
582
|
## `bb quotation get`
|
|
551
583
|
|
|
552
584
|
Get quotation.
|
|
@@ -565,7 +597,7 @@ Effects: state-change.
|
|
|
565
597
|
|
|
566
598
|
## `bb quotation attachment staged cleanup`
|
|
567
599
|
|
|
568
|
-
|
|
600
|
+
Queue independent cleanup operations for unattached staged quotation uploads; returns operation IDs and queued/skipped counts, not deletion confirmation. Arguments: <projectId> --keys <csv>.
|
|
569
601
|
|
|
570
602
|
Legacy aliases: `cleanup-staged-quotation-attachments`, `cleanup_staged_quotation_attachments`.
|
|
571
603
|
|
|
@@ -607,7 +639,7 @@ Effects: state-change, delete.
|
|
|
607
639
|
|
|
608
640
|
## `bb quotation submit`
|
|
609
641
|
|
|
610
|
-
Submit
|
|
642
|
+
Submit a quotation for signing and approval. Claim the captured revision and exact allocation selection; concurrent edits, budget-item deletion or restore cascades conflict instead of attaching old signed PDFs. Refresh and resubmit the current content.
|
|
611
643
|
|
|
612
644
|
Legacy aliases: `submit-quotation`, `submit_quotation`.
|
|
613
645
|
|
|
@@ -615,7 +647,7 @@ Effects: state-change.
|
|
|
615
647
|
|
|
616
648
|
## `bb quotation approve`
|
|
617
649
|
|
|
618
|
-
Approve
|
|
650
|
+
Approve your assigned pending quotation as a current Admin. Claim the captured revision and exact allocation selection after signing; concurrent changes conflict and roll back the decision, signed attachment and email/outbox. Refresh and review the current content before retrying.
|
|
619
651
|
|
|
620
652
|
Legacy aliases: `approve-quotation`, `approve_quotation`.
|
|
621
653
|
|
|
@@ -671,12 +703,20 @@ Effects: none.
|
|
|
671
703
|
|
|
672
704
|
## `bb customer-invoice list`
|
|
673
705
|
|
|
674
|
-
List customer invoices.
|
|
706
|
+
List customer invoice batches with cursor pagination. [budgetId] [--projectId <id>] [--companyIds CSV] [--projectIds CSV] [--budgetIds CSV] [--createdByIds CSV] [--status CSV] [--search] [--sortBy createdAt|status|totalInvoiceAmount|approvalExpiresAt] [--sortDir asc|desc] [--limit 1-100] [--cursor <token>] [--direction forward|backward] Returns { items, pageInfo }; follow nextCursor/previousCursor with the same filters and sort. --page/--perPage are rejected. No scope flag lists invoices globally. --projectId uses the project scope. A positional budgetId is a backward-compatible shortcut for --budgetIds.
|
|
675
707
|
|
|
676
708
|
Legacy aliases: `list-customer-invoices`, `list_customer_invoices`.
|
|
677
709
|
|
|
678
710
|
Effects: none.
|
|
679
711
|
|
|
712
|
+
## `bb customer-invoice count`
|
|
713
|
+
|
|
714
|
+
Count Customer Invoices.
|
|
715
|
+
|
|
716
|
+
Legacy aliases: `count-customer-invoices`, `count_customer_invoices`.
|
|
717
|
+
|
|
718
|
+
Effects: none.
|
|
719
|
+
|
|
680
720
|
## `bb customer-invoice get`
|
|
681
721
|
|
|
682
722
|
Get customer invoice.
|
|
@@ -817,7 +857,7 @@ Effects: state-change, email.
|
|
|
817
857
|
|
|
818
858
|
## `bb budget approve`
|
|
819
859
|
|
|
820
|
-
|
|
860
|
+
Decide your assigned pending budget approval as a current Lead/Admin. Material edits supersede old requests; inspect the latest content and use a fresh request after edits.
|
|
821
861
|
|
|
822
862
|
Legacy aliases: `approve-budget`, `approve_budget`.
|
|
823
863
|
|
|
@@ -825,7 +865,7 @@ Effects: state-change, email.
|
|
|
825
865
|
|
|
826
866
|
## `bb budget reject`
|
|
827
867
|
|
|
828
|
-
|
|
868
|
+
Decide your assigned pending budget approval as a current Lead/Admin. Material edits supersede old requests; inspect the latest content and use a fresh request after edits.
|
|
829
869
|
|
|
830
870
|
Legacy aliases: `reject-budget`, `reject_budget`.
|
|
831
871
|
|
|
@@ -857,12 +897,20 @@ Effects: none.
|
|
|
857
897
|
|
|
858
898
|
## `bb company list`
|
|
859
899
|
|
|
860
|
-
List companies.
|
|
900
|
+
List companies with cursor pagination. Returns { items, pageInfo }; default sort is createdAt descending with limit 20. Pass nextCursor forward or previousCursor backward unchanged. Legacy page/perPage flags are rejected.
|
|
861
901
|
|
|
862
902
|
Legacy aliases: `list-companies`, `list_companies`.
|
|
863
903
|
|
|
864
904
|
Effects: none.
|
|
865
905
|
|
|
906
|
+
## `bb company count`
|
|
907
|
+
|
|
908
|
+
Count companies independently from list pagination. Returns { totalCount, counts: { active: { true, false } } }; accepts filters only and rejects pagination/sorting flags.
|
|
909
|
+
|
|
910
|
+
Legacy aliases: `count-companies`, `count_companies`.
|
|
911
|
+
|
|
912
|
+
Effects: none.
|
|
913
|
+
|
|
866
914
|
## `bb company get`
|
|
867
915
|
|
|
868
916
|
Get company.
|
|
@@ -873,7 +921,7 @@ Effects: none.
|
|
|
873
921
|
|
|
874
922
|
## `bb company search`
|
|
875
923
|
|
|
876
|
-
Search BB and QuickBooks companies without writes. --query <name> [--
|
|
924
|
+
Search BB and QuickBooks companies without writes. --query <name> [--limit 1-50] [--cursor <token>]. Returns { items, totalCount, pageInfo }; follow pageInfo.nextCursor with the same --query. Legacy --page is rejected.
|
|
877
925
|
|
|
878
926
|
Legacy aliases: `search-existing-companies`, `search_existing_companies`.
|
|
879
927
|
|
|
@@ -897,7 +945,7 @@ Effects: state-change, external-write.
|
|
|
897
945
|
|
|
898
946
|
## `bb company update`
|
|
899
947
|
|
|
900
|
-
|
|
948
|
+
Save company fields in BB and queue independent QuickBooks name/website synchronization; returns operation ID, not provider completion.
|
|
901
949
|
|
|
902
950
|
Legacy aliases: `update-company`, `update_company`.
|
|
903
951
|
|
|
@@ -908,6 +956,14 @@ Payload fields (--payload JSON)
|
|
|
908
956
|
Optional: confirmDistinct: boolean
|
|
909
957
|
Example: bb update-company --payload '{"id":"<company-id>","name":"Example Co","website":"https://example.com"}'
|
|
910
958
|
|
|
959
|
+
## `bb company sync status`
|
|
960
|
+
|
|
961
|
+
Read saved company synchronization status without provider calls or polling; use companyId.
|
|
962
|
+
|
|
963
|
+
Legacy aliases: `get-company-quickbooks-sync-status`, `get_company_quickbooks_sync_status`.
|
|
964
|
+
|
|
965
|
+
Effects: none.
|
|
966
|
+
|
|
911
967
|
## `bb company delete`
|
|
912
968
|
|
|
913
969
|
Delete Company.
|
|
@@ -918,12 +974,20 @@ Effects: state-change, delete, external-write.
|
|
|
918
974
|
|
|
919
975
|
## `bb project list`
|
|
920
976
|
|
|
921
|
-
List projects.
|
|
977
|
+
List projects with cursor pagination. Returns { items, pageInfo }; default sort is createdAt descending with limit 20. Supports legacy --status plus optional --statuses, WON-date filters (--wonFrom, --wonTo, --wonWithinDays) and --sortBy wonAt; pass nextCursor forward or previousCursor backward unchanged. Legacy page/perPage flags are rejected.
|
|
922
978
|
|
|
923
979
|
Legacy aliases: `list-projects`, `list_projects`.
|
|
924
980
|
|
|
925
981
|
Effects: none.
|
|
926
982
|
|
|
983
|
+
## `bb project count`
|
|
984
|
+
|
|
985
|
+
Count projects independently from list pagination. Returns { totalCount, counts: { status, active: { true, false } } }; accepts project filters only and rejects pagination/sorting flags.
|
|
986
|
+
|
|
987
|
+
Legacy aliases: `count-projects`, `count_projects`.
|
|
988
|
+
|
|
989
|
+
Effects: none.
|
|
990
|
+
|
|
927
991
|
## `bb project hub list`
|
|
928
992
|
|
|
929
993
|
List project hubs.
|
|
@@ -932,6 +996,14 @@ Legacy aliases: `list-project-hubs`, `list_project_hubs`.
|
|
|
932
996
|
|
|
933
997
|
Effects: none.
|
|
934
998
|
|
|
999
|
+
## `bb project hub count`
|
|
1000
|
+
|
|
1001
|
+
Count Project Hubs.
|
|
1002
|
+
|
|
1003
|
+
Legacy aliases: `count-project-hubs`, `count_project_hubs`.
|
|
1004
|
+
|
|
1005
|
+
Effects: none.
|
|
1006
|
+
|
|
935
1007
|
## `bb project get`
|
|
936
1008
|
|
|
937
1009
|
Get project.
|
|
@@ -1075,9 +1147,17 @@ Legacy aliases: `list-suppliers`, `list_suppliers`.
|
|
|
1075
1147
|
|
|
1076
1148
|
Effects: none.
|
|
1077
1149
|
|
|
1150
|
+
## `bb supplier count`
|
|
1151
|
+
|
|
1152
|
+
Count Suppliers.
|
|
1153
|
+
|
|
1154
|
+
Legacy aliases: `count-suppliers`, `count_suppliers`.
|
|
1155
|
+
|
|
1156
|
+
Effects: none.
|
|
1157
|
+
|
|
1078
1158
|
## `bb supplier create`
|
|
1079
1159
|
|
|
1080
|
-
Create
|
|
1160
|
+
Create a supplier using --payload JSON; pending-approval suppliers also request approval and send emails. Reusing an archived name requires Admin; normal users and Leads must ask an Admin to reactivate it before editing. Recreation preserves the existing approval status and creator.
|
|
1081
1161
|
|
|
1082
1162
|
Legacy aliases: `create-supplier`, `create_supplier`.
|
|
1083
1163
|
|
|
@@ -1151,20 +1231,36 @@ Effects: state-change.
|
|
|
1151
1231
|
|
|
1152
1232
|
## `bb supplier analytics get`
|
|
1153
1233
|
|
|
1154
|
-
|
|
1234
|
+
List supplier analytics rows with cursor pagination. [--name] [--status CSV] [--gstRegistered true|false] [--createdBy <text>] [--timeFrame ALL|LAST_YEAR|LAST_6_MONTHS|LAST_3_MONTHS|CUSTOM] [--startDate <ISO> --endDate <ISO>] [--sortBy name|gstRegistered|status|phone|email|updatedAt|createdAt] [--sortDir asc|desc] [--limit 1-100] [--cursor <token>] [--direction forward|backward] Admin. Returns { items, pageInfo }; follow nextCursor/previousCursor with the same filters and sort. --page/--perPage are rejected.
|
|
1155
1235
|
|
|
1156
1236
|
Legacy aliases: `get-supplier-analytics`, `get_supplier_analytics`.
|
|
1157
1237
|
|
|
1158
1238
|
Effects: none.
|
|
1159
1239
|
|
|
1240
|
+
## `bb supplier analytics count`
|
|
1241
|
+
|
|
1242
|
+
Count Supplier Analytics.
|
|
1243
|
+
|
|
1244
|
+
Legacy aliases: `count-supplier-analytics`, `count_supplier_analytics`.
|
|
1245
|
+
|
|
1246
|
+
Effects: none.
|
|
1247
|
+
|
|
1160
1248
|
## `bb item list`
|
|
1161
1249
|
|
|
1162
|
-
List items.
|
|
1250
|
+
List one cursor page of catalogue items ({ items, pageInfo }; --limit/--cursor/--direction, optional --sortBy/--sortDir). --page/--perPage are rejected.
|
|
1163
1251
|
|
|
1164
1252
|
Legacy aliases: `list-items`, `list_items`.
|
|
1165
1253
|
|
|
1166
1254
|
Effects: none.
|
|
1167
1255
|
|
|
1256
|
+
## `bb item count`
|
|
1257
|
+
|
|
1258
|
+
Count catalogue items matching filters: total plus category and supplier facets (each ignores its own filter).
|
|
1259
|
+
|
|
1260
|
+
Legacy aliases: `count-items`, `count_items`.
|
|
1261
|
+
|
|
1262
|
+
Effects: none.
|
|
1263
|
+
|
|
1168
1264
|
## `bb item get`
|
|
1169
1265
|
|
|
1170
1266
|
Get item.
|
|
@@ -1173,6 +1269,14 @@ Legacy aliases: `get-item`, `get_item`.
|
|
|
1173
1269
|
|
|
1174
1270
|
Effects: none.
|
|
1175
1271
|
|
|
1272
|
+
## `bb item sync status`
|
|
1273
|
+
|
|
1274
|
+
Read saved item QuickBooks synchronization status without provider calls or polling; use itemId.
|
|
1275
|
+
|
|
1276
|
+
Legacy aliases: `get-item-quickbooks-sync-status`, `get_item_quickbooks_sync_status`.
|
|
1277
|
+
|
|
1278
|
+
Effects: none.
|
|
1279
|
+
|
|
1176
1280
|
## `bb item create`
|
|
1177
1281
|
|
|
1178
1282
|
Create Item.
|
|
@@ -1217,12 +1321,20 @@ Effects: state-change, delete, external-write.
|
|
|
1217
1321
|
|
|
1218
1322
|
## `bb item category list`
|
|
1219
1323
|
|
|
1220
|
-
List item categories.
|
|
1324
|
+
List one cursor page of active item categories ({ items, pageInfo }; --limit/--cursor/--direction, optional --name/--sortBy/--sortDir). --page/--perPage are rejected.
|
|
1221
1325
|
|
|
1222
1326
|
Legacy aliases: `list-item-categories`, `list_item_categories`.
|
|
1223
1327
|
|
|
1224
1328
|
Effects: none.
|
|
1225
1329
|
|
|
1330
|
+
## `bb item category count`
|
|
1331
|
+
|
|
1332
|
+
Count active item categories matching --name: { totalCount }.
|
|
1333
|
+
|
|
1334
|
+
Legacy aliases: `count-item-categories`, `count_item_categories`.
|
|
1335
|
+
|
|
1336
|
+
Effects: none.
|
|
1337
|
+
|
|
1226
1338
|
## `bb item category create`
|
|
1227
1339
|
|
|
1228
1340
|
Create Item Category.
|
|
@@ -1249,12 +1361,20 @@ Effects: state-change, delete.
|
|
|
1249
1361
|
|
|
1250
1362
|
## `bb user list`
|
|
1251
1363
|
|
|
1252
|
-
List users.
|
|
1364
|
+
List users with cursor pagination. [--q] [--limit 1-100] [--cursor <token>] Name A–Z. Returns { items, pageInfo }; follow nextCursor with the same --q. --page/--perPage are rejected.
|
|
1253
1365
|
|
|
1254
1366
|
Legacy aliases: `list-users`, `list_users`.
|
|
1255
1367
|
|
|
1256
1368
|
Effects: none.
|
|
1257
1369
|
|
|
1370
|
+
## `bb user count`
|
|
1371
|
+
|
|
1372
|
+
Count Users.
|
|
1373
|
+
|
|
1374
|
+
Legacy aliases: `count-users`, `count_users`.
|
|
1375
|
+
|
|
1376
|
+
Effects: none.
|
|
1377
|
+
|
|
1258
1378
|
## `bb user create`
|
|
1259
1379
|
|
|
1260
1380
|
Create User.
|
|
@@ -1273,7 +1393,7 @@ Effects: state-change.
|
|
|
1273
1393
|
|
|
1274
1394
|
## `bb user api-key list`
|
|
1275
1395
|
|
|
1276
|
-
List
|
|
1396
|
+
List API keys with cursor pagination. [--userId <userId>] [--limit 1-100] [--cursor <token>] (newest first, { items, pageInfo }; defaults to the caller; admin required for another user)
|
|
1277
1397
|
|
|
1278
1398
|
Legacy aliases: `list-api-keys`, `list_api_keys`.
|
|
1279
1399
|
|
|
@@ -1343,6 +1463,14 @@ Legacy aliases: `get-recent-errors`, `get_recent_errors`.
|
|
|
1343
1463
|
|
|
1344
1464
|
Effects: none.
|
|
1345
1465
|
|
|
1466
|
+
## `bb error recent count`
|
|
1467
|
+
|
|
1468
|
+
Count Errors.
|
|
1469
|
+
|
|
1470
|
+
Legacy aliases: `count-errors`, `count_errors`.
|
|
1471
|
+
|
|
1472
|
+
Effects: none.
|
|
1473
|
+
|
|
1346
1474
|
## `bb error metrics get`
|
|
1347
1475
|
|
|
1348
1476
|
Get error metrics.
|
|
@@ -1353,20 +1481,132 @@ Effects: none.
|
|
|
1353
1481
|
|
|
1354
1482
|
## `bb integration operation list`
|
|
1355
1483
|
|
|
1356
|
-
List integration operations.
|
|
1484
|
+
List one cursor page of integration operations, newest first ({ items, pageInfo }; --limit/--cursor/--direction). --page/--perPage are rejected. Admin only.
|
|
1357
1485
|
|
|
1358
1486
|
Legacy aliases: `list-integration-operations`, `list_integration_operations`.
|
|
1359
1487
|
|
|
1360
1488
|
Effects: none.
|
|
1361
1489
|
|
|
1490
|
+
## `bb integration operation count`
|
|
1491
|
+
|
|
1492
|
+
Count integration operations matching filters: { totalCount, filterOptions }. Admin only.
|
|
1493
|
+
|
|
1494
|
+
Legacy aliases: `count-integration-operations`, `count_integration_operations`.
|
|
1495
|
+
|
|
1496
|
+
Effects: none.
|
|
1497
|
+
|
|
1498
|
+
## `bb integration operation get`
|
|
1499
|
+
|
|
1500
|
+
Admin-only read of one integration job: who queued it, the records it is for with app links, saved QuickBooks progress, admin actions and Retry state. No provider calls. Argument: <operationId>.
|
|
1501
|
+
|
|
1502
|
+
Legacy aliases: `get-integration-operation`, `get_integration_operation`.
|
|
1503
|
+
|
|
1504
|
+
Effects: none.
|
|
1505
|
+
|
|
1362
1506
|
## `bb integration operation retry`
|
|
1363
1507
|
|
|
1364
|
-
|
|
1508
|
+
Admin-only retry of a failed integration job. QuickBooks jobs with a saved attempt check QuickBooks first: applied changes finish without resending, provably unapplied ones are sent again, unprovable ones stay stopped with the reason. Argument: <operationId>.
|
|
1365
1509
|
|
|
1366
1510
|
Legacy aliases: `retry-integration-operation`, `retry_integration_operation`.
|
|
1367
1511
|
|
|
1368
1512
|
Effects: state-change, external-write.
|
|
1369
1513
|
|
|
1514
|
+
## `bb integration operation reconcile-resource`
|
|
1515
|
+
|
|
1516
|
+
Admin-only check of a saved QuickBooks invoice/company/item job outcome; reads the provider only when uncertain. Applied changes are finished locally without repeating the provider mutation; provably unapplied ones are queued again. Argument: <operationId>.
|
|
1517
|
+
|
|
1518
|
+
Legacy aliases: `reconcile-resource-operation`, `reconcile_resource_operation`.
|
|
1519
|
+
|
|
1520
|
+
Effects: state-change.
|
|
1521
|
+
|
|
1522
|
+
## `bb webhook event-type list`
|
|
1523
|
+
|
|
1524
|
+
List the outbound webhook event catalogue with group and live/planned status.
|
|
1525
|
+
|
|
1526
|
+
Legacy aliases: `list-webhook-event-types`, `list_webhook_event_types`.
|
|
1527
|
+
|
|
1528
|
+
Effects: none.
|
|
1529
|
+
|
|
1530
|
+
## `bb webhook endpoint list`
|
|
1531
|
+
|
|
1532
|
+
List webhook endpoints.
|
|
1533
|
+
|
|
1534
|
+
Legacy aliases: `list-webhook-endpoints`, `list_webhook_endpoints`.
|
|
1535
|
+
|
|
1536
|
+
Effects: none.
|
|
1537
|
+
|
|
1538
|
+
## `bb webhook endpoint get`
|
|
1539
|
+
|
|
1540
|
+
Get webhook endpoint.
|
|
1541
|
+
|
|
1542
|
+
Legacy aliases: `get-webhook-endpoint`, `get_webhook_endpoint`.
|
|
1543
|
+
|
|
1544
|
+
Effects: none.
|
|
1545
|
+
|
|
1546
|
+
## `bb webhook endpoint create`
|
|
1547
|
+
|
|
1548
|
+
Admin-only: subscribe an HTTPS endpoint to BB events. --name --url --events <type|prefix.*|*,...>. Prints the whsec_ signing secret once; deliveries use Standard Webhooks headers.
|
|
1549
|
+
|
|
1550
|
+
Legacy aliases: `create-webhook-endpoint`, `create_webhook_endpoint`.
|
|
1551
|
+
|
|
1552
|
+
Effects: state-change.
|
|
1553
|
+
|
|
1554
|
+
## `bb webhook endpoint update`
|
|
1555
|
+
|
|
1556
|
+
Update Webhook Endpoint.
|
|
1557
|
+
|
|
1558
|
+
Legacy aliases: `update-webhook-endpoint`, `update_webhook_endpoint`.
|
|
1559
|
+
|
|
1560
|
+
Effects: state-change.
|
|
1561
|
+
|
|
1562
|
+
## `bb webhook endpoint delete`
|
|
1563
|
+
|
|
1564
|
+
Delete Webhook Endpoint.
|
|
1565
|
+
|
|
1566
|
+
Legacy aliases: `delete-webhook-endpoint`, `delete_webhook_endpoint`.
|
|
1567
|
+
|
|
1568
|
+
Effects: state-change, delete.
|
|
1569
|
+
|
|
1570
|
+
## `bb webhook secret rotate`
|
|
1571
|
+
|
|
1572
|
+
Admin-only: issue a new signing secret; older secrets keep signing for --previousSecretTtlHours (default 24). Prints the new secret once. Argument: <endpointId>.
|
|
1573
|
+
|
|
1574
|
+
Legacy aliases: `rotate-webhook-secret`, `rotate_webhook_secret`.
|
|
1575
|
+
|
|
1576
|
+
Effects: state-change.
|
|
1577
|
+
|
|
1578
|
+
## `bb webhook endpoint test`
|
|
1579
|
+
|
|
1580
|
+
Admin-only: send a signed webhook.test event to one endpoint. Argument: <endpointId>.
|
|
1581
|
+
|
|
1582
|
+
Legacy aliases: `send-webhook-test-event`, `send_webhook_test_event`.
|
|
1583
|
+
|
|
1584
|
+
Effects: state-change.
|
|
1585
|
+
|
|
1586
|
+
## `bb webhook delivery list`
|
|
1587
|
+
|
|
1588
|
+
List webhook deliveries.
|
|
1589
|
+
|
|
1590
|
+
Legacy aliases: `list-webhook-deliveries`, `list_webhook_deliveries`.
|
|
1591
|
+
|
|
1592
|
+
Effects: none.
|
|
1593
|
+
|
|
1594
|
+
## `bb webhook delivery get`
|
|
1595
|
+
|
|
1596
|
+
Admin-only: one webhook delivery with payload and attempts (status codes, errors, durations). Argument: <deliveryId>.
|
|
1597
|
+
|
|
1598
|
+
Legacy aliases: `get-webhook-delivery`, `get_webhook_delivery`.
|
|
1599
|
+
|
|
1600
|
+
Effects: none.
|
|
1601
|
+
|
|
1602
|
+
## `bb webhook delivery replay`
|
|
1603
|
+
|
|
1604
|
+
Admin-only: resend a finished webhook delivery with the same eventId on a fresh attempt chain. Argument: <deliveryId>.
|
|
1605
|
+
|
|
1606
|
+
Legacy aliases: `replay-webhook-delivery`, `replay_webhook_delivery`.
|
|
1607
|
+
|
|
1608
|
+
Effects: state-change, external-write.
|
|
1609
|
+
|
|
1370
1610
|
## `bb inbound source list`
|
|
1371
1611
|
|
|
1372
1612
|
List inbound sources.
|
|
@@ -1375,6 +1615,14 @@ Legacy aliases: `list-inbound-sources`, `list_inbound_sources`.
|
|
|
1375
1615
|
|
|
1376
1616
|
Effects: none.
|
|
1377
1617
|
|
|
1618
|
+
## `bb inbound source count`
|
|
1619
|
+
|
|
1620
|
+
Count Inbound Sources.
|
|
1621
|
+
|
|
1622
|
+
Legacy aliases: `count-inbound-sources`, `count_inbound_sources`.
|
|
1623
|
+
|
|
1624
|
+
Effects: none.
|
|
1625
|
+
|
|
1378
1626
|
## `bb inbound source create`
|
|
1379
1627
|
|
|
1380
1628
|
Create Inbound Source.
|
|
@@ -1407,6 +1655,14 @@ Legacy aliases: `list-inbound-submissions`, `list_inbound_submissions`.
|
|
|
1407
1655
|
|
|
1408
1656
|
Effects: none.
|
|
1409
1657
|
|
|
1658
|
+
## `bb inbound submission count`
|
|
1659
|
+
|
|
1660
|
+
Count Inbound Submissions.
|
|
1661
|
+
|
|
1662
|
+
Legacy aliases: `count-inbound-submissions`, `count_inbound_submissions`.
|
|
1663
|
+
|
|
1664
|
+
Effects: none.
|
|
1665
|
+
|
|
1410
1666
|
## `bb inbound submission get`
|
|
1411
1667
|
|
|
1412
1668
|
Get inbound submission.
|