@curviate/sdk 0.16.0 → 0.18.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/CHANGELOG.md +25 -0
- package/dist/index.d.ts +545 -36
- package/dist/index.js +62 -0
- package/package.json +1 -1
- package/src/generated/types.ts +480 -31
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,31 @@ Versioning: semantic — minor for additive changes, patch for bug fixes; no sta
|
|
|
9
9
|
|
|
10
10
|
## [Unreleased]
|
|
11
11
|
|
|
12
|
+
## [0.18.0] — 2026-07-17
|
|
13
|
+
|
|
14
|
+
### Added
|
|
15
|
+
|
|
16
|
+
- **`companies.sendMessage(identifier, chatId, body)`**: reply to a company-inbox
|
|
17
|
+
conversation as the page. `POST /v1/{account_id}/companies/{identifier}/chats/{chat_id}/messages`.
|
|
18
|
+
`chatId` must be the send-ready `COMPANY_` chat id from `inboxes.listChats()`, not the
|
|
19
|
+
`2-…` id `companies.chats()`/`chat()`/`searchChats()` return; a non-`COMPANY_` id is
|
|
20
|
+
rejected with a guiding 400. Reply-only. The response echoes `sent_as`, the acting
|
|
21
|
+
identity actually used.
|
|
22
|
+
|
|
23
|
+
## [0.17.0] — 2026-07-17
|
|
24
|
+
|
|
25
|
+
### Added
|
|
26
|
+
|
|
27
|
+
- **`companies.followInvite(identifier, body)`**: invite the connected
|
|
28
|
+
account's 1st-degree connections to follow a company page it administers with the
|
|
29
|
+
invite-to-follow entitlement. Pass the `AC…` member ids from an `invitableFollowers()`
|
|
30
|
+
read. `POST /v1/{account_id}/companies/{identifier}/follow-invite`. All-or-nothing:
|
|
31
|
+
for an all-valid request, resolves to one outcome per requested invitee, in request
|
|
32
|
+
order (`status: "invited" | "already_invited" | "ineligible" | "not_found"`); if any
|
|
33
|
+
invitee id is invalid, the whole request rejects with a 404, not a partial result.
|
|
34
|
+
Re-inviting an already-invited member is a safe no-op (the same `invitation_id`,
|
|
35
|
+
never a duplicate).
|
|
36
|
+
|
|
12
37
|
## [0.16.0] — 2026-07-17
|
|
13
38
|
|
|
14
39
|
Mostly additive, plus one breaking removal on the connect/reconnect body.
|