@go-labs-sg/bb 3.3.0 → 3.5.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/command-reference.md +2 -2
- package/dist/index.js +5 -6
- package/package.json +2 -2
package/command-reference.md
CHANGED
|
@@ -184,7 +184,7 @@ Effects: state-change.
|
|
|
184
184
|
|
|
185
185
|
Payload fields (--payload JSON)
|
|
186
186
|
Required: name: string; budget: decimal string; paymentTerm: string; categoryId: string; projectId: string
|
|
187
|
-
Optional: sourceBudgetId: string; unavailableItemReviewAcknowledged: boolean (only after review)
|
|
187
|
+
Optional: sourceBudgetId: string; unavailableItemReviewAcknowledged: boolean (only after review)
|
|
188
188
|
Example: bb create-budget --payload '{"name":"Event budget","budget":"1500","paymentTerm":"Net 30","categoryId":"<category-id>","projectId":"<project-id>"}'
|
|
189
189
|
|
|
190
190
|
## `bb budget update`
|
|
@@ -197,7 +197,7 @@ Effects: state-change.
|
|
|
197
197
|
|
|
198
198
|
Payload fields (--payload JSON)
|
|
199
199
|
Required: id: string; name: string; budget: decimal string; paymentTerm: string; categoryId: string; projectId: string
|
|
200
|
-
Optional: sourceBudgetId: string
|
|
200
|
+
Optional: sourceBudgetId: string
|
|
201
201
|
Example: bb update-budget --payload '{"id":"<budget-id>","name":"Event budget","budget":"1500","paymentTerm":"Net 30","categoryId":"<category-id>","projectId":"<project-id>"}'
|
|
202
202
|
|
|
203
203
|
## `bb budget delete`
|
package/dist/index.js
CHANGED
|
@@ -35,7 +35,7 @@ var __toESM = (mod, isNodeMode, target) => {
|
|
|
35
35
|
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
36
36
|
var __require = import.meta.require;
|
|
37
37
|
|
|
38
|
-
// ../../../node_modules/.bun/dotenv@18.0.
|
|
38
|
+
// ../../../node_modules/.bun/dotenv@18.0.9/node_modules/dotenv/dist/index.cjs
|
|
39
39
|
var require_dist = __commonJS(function(exports, module) {
|
|
40
40
|
var j = (e, n) => () => {
|
|
41
41
|
try {
|
|
@@ -367,7 +367,7 @@ var require_dist = __commonJS(function(exports, module) {
|
|
|
367
367
|
}
|
|
368
368
|
function Ee(e) {
|
|
369
369
|
let n = J(), t = { encoding: n.encoding || "utf8", quiet: n.quiet, debug: n.debug === true, override: n.override === true, fast: n.fast === true, paths: [".env"], defaultPath: true };
|
|
370
|
-
return n.path
|
|
370
|
+
return n.path && (t.paths = [n.path], t.defaultPath = false), e.pathSet && (t.paths = e.paths, t.defaultPath = false), e.quiet != null && (t.quiet = e.quiet), e.debug != null && (t.debug = e.debug), e.override != null && (t.override = e.override), e.fast != null && (t.fast = e.fast), t;
|
|
371
371
|
}
|
|
372
372
|
function be(e) {
|
|
373
373
|
let n = {}, t = [], o = { override: e.override, debug: e.debug };
|
|
@@ -7896,8 +7896,7 @@ function parseCreateBudgetPayload(raw) {
|
|
|
7896
7896
|
sourceBudgetId: optionalString(o.sourceBudgetId),
|
|
7897
7897
|
...o.unavailableItemReviewAcknowledged !== undefined && {
|
|
7898
7898
|
unavailableItemReviewAcknowledged: o.unavailableItemReviewAcknowledged
|
|
7899
|
-
}
|
|
7900
|
-
pipedriveDealId: optionalString(o.pipedriveDealId)
|
|
7899
|
+
}
|
|
7901
7900
|
};
|
|
7902
7901
|
}
|
|
7903
7902
|
function parseUpdateBudgetPayload(raw) {
|
|
@@ -11079,12 +11078,12 @@ function parseOptionalNumber(raw, label) {
|
|
|
11079
11078
|
var payloadHelp = {
|
|
11080
11079
|
"create-budget": {
|
|
11081
11080
|
required: "name: string; budget: decimal string; paymentTerm: string; categoryId: string; projectId: string",
|
|
11082
|
-
optional: "sourceBudgetId: string; unavailableItemReviewAcknowledged: boolean (only after review)
|
|
11081
|
+
optional: "sourceBudgetId: string; unavailableItemReviewAcknowledged: boolean (only after review)",
|
|
11083
11082
|
example: '{"name":"Event budget","budget":"1500","paymentTerm":"Net 30","categoryId":"<category-id>","projectId":"<project-id>"}'
|
|
11084
11083
|
},
|
|
11085
11084
|
"update-budget": {
|
|
11086
11085
|
required: "id: string; name: string; budget: decimal string; paymentTerm: string; categoryId: string; projectId: string",
|
|
11087
|
-
optional: "sourceBudgetId: string
|
|
11086
|
+
optional: "sourceBudgetId: string",
|
|
11088
11087
|
example: '{"id":"<budget-id>","name":"Event budget","budget":"1500","paymentTerm":"Net 30","categoryId":"<category-id>","projectId":"<project-id>"}'
|
|
11089
11088
|
},
|
|
11090
11089
|
"create-item": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@go-labs-sg/bb",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.0",
|
|
4
4
|
"description": "Budget Builder CLI for AI agents — manage budgets, bills, claims, quotations, and customer invoices with explicit workflow previews for sensitive changes.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
],
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@trpc/client": "^11.19.0",
|
|
23
|
-
"dotenv": "^18.0.
|
|
23
|
+
"dotenv": "^18.0.9",
|
|
24
24
|
"mime-types": "^3.0.2",
|
|
25
25
|
"superjson": "^2.2.6"
|
|
26
26
|
},
|