@robbeverhelst/do 1.289.0 → 1.290.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.
Files changed (2) hide show
  1. package/dist/do.js +32 -8
  2. package/package.json +1 -1
package/dist/do.js CHANGED
@@ -3975,7 +3975,8 @@ var notificationType = pgEnum("notification_type", [
3975
3975
  "card",
3976
3976
  "bank_link",
3977
3977
  "import_failed",
3978
- "animal_ask"
3978
+ "animal_ask",
3979
+ "life_block"
3979
3980
  ]);
3980
3981
  var notificationDomain = pgEnum("notification_domain", [
3981
3982
  "task",
@@ -4043,6 +4044,7 @@ var notifications = pgTable("notifications", {
4043
4044
  groupKey: text("group_key"),
4044
4045
  actor: text("actor"),
4045
4046
  digestId: text("digest_id"),
4047
+ display: jsonb("display").$type(),
4046
4048
  createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow()
4047
4049
  }, (t) => [
4048
4050
  unique("notifications_tenant_dedupe_uniq").on(t.tenantId, t.dedupeKey),
@@ -21317,6 +21319,10 @@ var houseValueRowSchema = object({
21317
21319
  model: string2().nullable(),
21318
21320
  placeId: string2().nullable(),
21319
21321
  placeTitle: string2().nullable(),
21322
+ placeGroup: string2().nullable().default(null),
21323
+ withHouse: boolean3().default(false),
21324
+ paidApprox: boolean3().default(false),
21325
+ borrowedFrom: string2().nullable().default(null),
21320
21326
  bought: day.nullable(),
21321
21327
  paid: number2().nullable(),
21322
21328
  now: number2().nullable(),
@@ -21329,9 +21335,15 @@ var houseValueSchema = object({
21329
21335
  rows: array(houseValueRowSchema),
21330
21336
  totals: object({
21331
21337
  now: number2(),
21332
- paid: number2()
21338
+ paid: number2(),
21339
+ newForOld: number2().default(0)
21333
21340
  }),
21334
- policy: object({ documentId: string2(), title: string2(), insuredValue: number2() }).nullable()
21341
+ policy: object({
21342
+ documentId: string2(),
21343
+ title: string2(),
21344
+ insuredValue: number2(),
21345
+ lastClaim: object({ kind: string2(), on: day }).nullable().default(null)
21346
+ }).nullable()
21335
21347
  });
21336
21348
  var upkeepMonthMarkSchema = _enum2(["done", "due", "planned", "late"]).nullable();
21337
21349
  var houseUpkeepRoutineSchema = object({
@@ -21600,7 +21612,7 @@ var postRunSchema = object({
21600
21612
  status: runStatusSchema,
21601
21613
  steps: array(runStepSchema).max(12).optional()
21602
21614
  });
21603
- var POST_RECEIPT_ABOUT_VALUES = ["red_flags", "saved"];
21615
+ var POST_RECEIPT_ABOUT_VALUES = ["red_flags", "saved", "vet_visit"];
21604
21616
  var POST_RECEIPT_SOURCE_MAX = 80;
21605
21617
  var postReceiptInputSchema = object({
21606
21618
  nodeId: ulidSchema,
@@ -24197,9 +24209,18 @@ var peopleOverviewSchema = object({
24197
24209
  lastSeenAt: exports_coerce.date().nullable(),
24198
24210
  lastTalkedAt: exports_coerce.date().nullable(),
24199
24211
  rhythmDays: number2().int(),
24200
- ring: number2()
24212
+ ring: number2(),
24213
+ phone: string2().nullable().default(null)
24201
24214
  })),
24202
- heardLately: array(contactMomentViewSchema)
24215
+ heardLately: array(contactMomentViewSchema),
24216
+ lent: array(object({
24217
+ itemId: ulidSchema,
24218
+ title: string2(),
24219
+ contactId: ulidSchema,
24220
+ contactTitle: string2(),
24221
+ since: keyDateDaySchema,
24222
+ needFor: object({ taskId: ulidSchema, title: string2(), on: keyDateDaySchema }).nullable()
24223
+ })).default([])
24203
24224
  });
24204
24225
  var personPrivateNoteSchema = object({
24205
24226
  body: string2().nullable(),
@@ -28294,6 +28315,9 @@ var assetFacetSchema = object({
28294
28315
  lastServicedAt: isoDateString2.nullish(),
28295
28316
  purchasedAt: isoDateString2.nullish(),
28296
28317
  purchasePrice: number2().min(0).max(1e7).nullish(),
28318
+ priceApprox: boolean3().nullish(),
28319
+ cameWithHouse: boolean3().nullish(),
28320
+ newPrice: number2().min(0).max(1e7).nullish(),
28297
28321
  merchant: string2().min(1).max(200).nullish(),
28298
28322
  merchantContactId: string2().min(1).max(64).nullish(),
28299
28323
  installedAt: isoDateString2.nullish(),
@@ -28694,7 +28718,7 @@ function parseCapture2(input, now) {
28694
28718
 
28695
28719
  // src/meta.ts
28696
28720
  var CLI_NAME = "do";
28697
- var VERSION = "1.289.0";
28721
+ var VERSION = "1.290.0";
28698
28722
  var API_PREFIX = "/api/v1";
28699
28723
  var DEFAULT_API_URL = "http://localhost:3001";
28700
28724
 
@@ -33744,7 +33768,7 @@ var COMMAND_SPECS = [
33744
33768
  ],
33745
33769
  scopes: ["animals:write"],
33746
33770
  returns: "AnimalVetVisit",
33747
- notes: 'POST /api/v1/animals/{id}/vet-visits (`animal_vet_visit`, mockup 03). The visit is the receipt: post it with `receipt: { nodeId: <visit id> }`. `do animals vet-visit <dog> --data \'{"reason":"booster","vaccine":{"name":"DHPPi + L4","source":"sticker"},"weight":{"value":37.8}}\'`.'
33771
+ notes: 'POST /api/v1/animals/{id}/vet-visits (`animal_vet_visit`, mockup 03). The visit is the receipt: post it with `receipt: { nodeId: <animal id>, about: "vet_visit", parts: [<visit id>] }`. `do animals vet-visit <dog> --data \'{"reason":"booster","vaccine":{"name":"DHPPi + L4","source":"sticker"},"weight":{"value":37.8}}\'`.'
33748
33772
  },
33749
33773
  {
33750
33774
  path: ["animals", "vet-visit-get"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@robbeverhelst/do",
3
- "version": "1.289.0",
3
+ "version": "1.290.0",
4
4
  "private": false,
5
5
  "description": "do — the agent-drivable CLI over the public /api/v1 surface",
6
6
  "homepage": "https://github.com/robbeverhelst/do/tree/main/apps/cli",