@curviate/sdk 0.26.0 → 0.27.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 +69 -0
- package/dist/index.d.ts +40 -39
- package/package.json +1 -1
- package/src/generated/types.ts +36 -36
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,75 @@ Versioning: semantic. Minor for additive changes, patch for bug fixes; no stabil
|
|
|
7
7
|
|
|
8
8
|
---
|
|
9
9
|
|
|
10
|
+
## [0.27.0] - 2026-09-06
|
|
11
|
+
|
|
12
|
+
Fixture regenerated against the deployed production document
|
|
13
|
+
(`https://api.curviate.com`, `server_git_sha 2a86542f...`, 125 paths).
|
|
14
|
+
**BREAKING**: the `message.delivered` webhook event is gone from the catalogue,
|
|
15
|
+
from `CurviateEvent`, and from the events a subscription can be created with.
|
|
16
|
+
Everything else here is additive or description-only. Pre-1.0 a breaking change
|
|
17
|
+
ships as a minor, so a caret range on `0.26.x` will not pick this up.
|
|
18
|
+
|
|
19
|
+
### BREAKING
|
|
20
|
+
|
|
21
|
+
- **`message.delivered` is removed from the webhook event catalogue.** The
|
|
22
|
+
platform never emitted it, so no `event.event === 'message.delivered'` branch
|
|
23
|
+
has ever run: the event was subscribable and undeliverable. Two surfaces lose
|
|
24
|
+
the member.
|
|
25
|
+
- `CurviateEvent` (hand-written, `src/webhooks.ts`) drops its
|
|
26
|
+
`{ event: "message.delivered"; data: MessagePayload }` arm, going from 25
|
|
27
|
+
arms to 24. A `switch` on `event.event` that still lists it stops
|
|
28
|
+
compiling, and that arm was dead code in every build it ever shipped in.
|
|
29
|
+
- The generated create-events enum, `events` on the `messaging` variant of
|
|
30
|
+
the `POST /v1/webhooks` request body
|
|
31
|
+
(`operations["postV1Webhooks"]["requestBody"]`), goes from 8 members to 7.
|
|
32
|
+
Passing `"message.delivered"` to a create call is now a type error, and the
|
|
33
|
+
server rejects the value.
|
|
34
|
+
|
|
35
|
+
The two are pinned to each other by an exact two-way type equality in
|
|
36
|
+
`test/webhooks.constructEvent.test.ts`, so they cannot drift apart: that pin
|
|
37
|
+
is what failed first on this regeneration.
|
|
38
|
+
|
|
39
|
+
`GET /v1/webhooks/events` now reports 27 events, messaging 7, where it
|
|
40
|
+
reported 28 and 8.
|
|
41
|
+
|
|
42
|
+
**The read path is untyped and deliberately unaffected.** `events` on a
|
|
43
|
+
webhook returned by `GET /v1/webhooks` or `GET /v1/webhooks/{id}` is
|
|
44
|
+
`string[]`, not the create enum. A subscription created before 2026-09-06 may
|
|
45
|
+
still echo `message.delivered` in its stored `events` until the server-side
|
|
46
|
+
cleanup migration lands; it was never delivered. Reading such a subscription
|
|
47
|
+
back therefore neither breaks a build nor throws, and no migration is
|
|
48
|
+
required of a consumer that only lists webhooks.
|
|
49
|
+
|
|
50
|
+
**The replacement is a read, not an event**: `is_delivered` on the message
|
|
51
|
+
resource.
|
|
52
|
+
|
|
53
|
+
### Regenerated types
|
|
54
|
+
|
|
55
|
+
- **BREAKING for an exhaustive `switch` - `notices[].code` gains
|
|
56
|
+
`EXPANSION_WITHHELD_CEILING`.** On the same ten chat and message reads that
|
|
57
|
+
accept `expand=public_identifier`, alongside `EXPANSION_LIMIT_REACHED` and
|
|
58
|
+
`EXPANSION_WITHHELD_ACTIVITY_WINDOW`. The expansion was withheld because the
|
|
59
|
+
account is at an account-safety ceiling, not because the page ran out of
|
|
60
|
+
lookup budget and not because the account is outside its activity window.
|
|
61
|
+
Same consequence for the reader as its two siblings, `public_identifier` is
|
|
62
|
+
`null` for a reason that is not "no public profile", and a different remedy,
|
|
63
|
+
which is why it is a separate code rather than a reuse. Additive on the wire:
|
|
64
|
+
only a `switch` with a `never`-typed default arm stops compiling.
|
|
65
|
+
- Description-only, no type change:
|
|
66
|
+
- `SafetyWarning` now states that `hint.message` is the one field whose text
|
|
67
|
+
differs from the `BUDGET_EXHAUSTED` refusal. On a warn-posture ceiling
|
|
68
|
+
breach it says the action went through and how far past the ceiling the row
|
|
69
|
+
now stands, rather than telling the caller what was refused. The shape is
|
|
70
|
+
unchanged, so no branch moves; the string is longer and more specific.
|
|
71
|
+
- The `502` response documents that `retry_likely_to_succeed` is what
|
|
72
|
+
separates its two cases: a temporary upstream error is worth retrying, an
|
|
73
|
+
upstream response that could not be interpreted is not, and the latter
|
|
74
|
+
carries `retry_hint: {"kind": "never"}`. No new field, and the SDK's own
|
|
75
|
+
retry set is unchanged in this release.
|
|
76
|
+
- The `notices` description on the ten expansion reads now lists the ceiling
|
|
77
|
+
case as a third reason a person can go unresolved.
|
|
78
|
+
|
|
10
79
|
## [0.26.0] - 2026-09-06
|
|
11
80
|
|
|
12
81
|
Fixture regenerated against the deployed production document
|
package/dist/index.d.ts
CHANGED
|
@@ -2611,7 +2611,7 @@ interface paths {
|
|
|
2611
2611
|
};
|
|
2612
2612
|
/**
|
|
2613
2613
|
* List webhook event types
|
|
2614
|
-
* @description Returns the complete canonical event catalogue (
|
|
2614
|
+
* @description Returns the complete canonical event catalogue (27 events) grouped by source: messaging (7), user (2), account_status (15), plus 3 tier-gated events. A local catalogue read: no platform call is made.
|
|
2615
2615
|
*/
|
|
2616
2616
|
get: operations["getV1WebhooksEvents"];
|
|
2617
2617
|
put?: never;
|
|
@@ -2799,13 +2799,13 @@ interface components {
|
|
|
2799
2799
|
}[];
|
|
2800
2800
|
};
|
|
2801
2801
|
/**
|
|
2802
|
-
* @description Present on a successful response when this account crossed an account-safety ceiling while the affected budget row is on the default warn posture. The action still happened. Field-identical to the BUDGET_EXHAUSTED error body except that blocked is false, so one branch handles both postures and switching the account to enforce is a configuration change rather than a client rewrite.
|
|
2802
|
+
* @description Present on a successful response when this account crossed an account-safety ceiling while the affected budget row is on the default warn posture. The action still happened. Field-identical to the BUDGET_EXHAUSTED error body except that blocked is false and hint.message describes the outcome, so one branch handles both postures and switching the account to enforce is a configuration change rather than a client rewrite.
|
|
2803
2803
|
* @example {
|
|
2804
2804
|
* "row": "profile_views",
|
|
2805
2805
|
* "reset_at": "2026-09-05T00:00:00.000Z",
|
|
2806
2806
|
* "hint": {
|
|
2807
2807
|
* "parameter": "profile_views.ceiling",
|
|
2808
|
-
* "message": "This account is at its
|
|
2808
|
+
* "message": "This account is at its ceiling for profile_views. This action went through because profile_views.posture is warn, and it counted: 101 of 100 this window. Raise profile_views.ceiling, or wait for the window to reset at 2026-09-05T00:00:00.000Z."
|
|
2809
2809
|
* },
|
|
2810
2810
|
* "reason": "ceiling",
|
|
2811
2811
|
* "blocked": false
|
|
@@ -2819,7 +2819,7 @@ interface components {
|
|
|
2819
2819
|
hint: {
|
|
2820
2820
|
/** @description The settable parameter on PATCH /v1/{account_id}/safety-policy. */
|
|
2821
2821
|
parameter: string;
|
|
2822
|
-
/** @description What the condition is and what changing that parameter would do. */
|
|
2822
|
+
/** @description What the condition is and what changing that parameter would do. This is the one field whose text differs from the BUDGET_EXHAUSTED refusal: here it says the action went through, and on a ceiling breach how far past the ceiling this row now stands, rather than telling you to set posture to warn when it already is. Branch on parameter, reason and blocked, never on this text. */
|
|
2823
2823
|
message: string;
|
|
2824
2824
|
};
|
|
2825
2825
|
/**
|
|
@@ -6806,13 +6806,13 @@ interface operations {
|
|
|
6806
6806
|
}[];
|
|
6807
6807
|
/** @description Opaque cursor for the next page, or null at end-of-list. */
|
|
6808
6808
|
cursor: string | null;
|
|
6809
|
-
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs,
|
|
6809
|
+
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs, the account is outside its activity window at this hour and enforces it, or the account's profile_views budget is at its configured ceiling and enforces that. Absent whenever there is nothing to report, so a response that resolved everyone carries no such key. Branch on each entry's code, never on its message. */
|
|
6810
6810
|
notices?: {
|
|
6811
6811
|
/**
|
|
6812
|
-
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy.
|
|
6812
|
+
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy. EXPANSION_WITHHELD_CEILING: the profile lookups this page needed were refused because the account's profile_views budget is at its configured ceiling and it enforces that, so those people carry public_identifier null and their null does not mean they have no public profile either. Raise the profile_views ceiling on this account's safety policy, or ask for a smaller page.
|
|
6813
6813
|
* @enum {string}
|
|
6814
6814
|
*/
|
|
6815
|
-
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW";
|
|
6815
|
+
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW" | "EXPANSION_WITHHELD_CEILING";
|
|
6816
6816
|
/** @description One sentence explaining the condition and how to resolve it. */
|
|
6817
6817
|
message: string;
|
|
6818
6818
|
/** @description The request field the notice is about, here expand. */
|
|
@@ -6989,13 +6989,13 @@ interface operations {
|
|
|
6989
6989
|
/** @description Message body (content pass-through, never stored). */
|
|
6990
6990
|
text?: string | null;
|
|
6991
6991
|
} | null;
|
|
6992
|
-
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs,
|
|
6992
|
+
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs, the account is outside its activity window at this hour and enforces it, or the account's profile_views budget is at its configured ceiling and enforces that. Absent whenever there is nothing to report, so a response that resolved everyone carries no such key. Branch on each entry's code, never on its message. */
|
|
6993
6993
|
notices?: {
|
|
6994
6994
|
/**
|
|
6995
|
-
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy.
|
|
6995
|
+
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy. EXPANSION_WITHHELD_CEILING: the profile lookups this page needed were refused because the account's profile_views budget is at its configured ceiling and it enforces that, so those people carry public_identifier null and their null does not mean they have no public profile either. Raise the profile_views ceiling on this account's safety policy, or ask for a smaller page.
|
|
6996
6996
|
* @enum {string}
|
|
6997
6997
|
*/
|
|
6998
|
-
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW";
|
|
6998
|
+
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW" | "EXPANSION_WITHHELD_CEILING";
|
|
6999
6999
|
/** @description One sentence explaining the condition and how to resolve it. */
|
|
7000
7000
|
message: string;
|
|
7001
7001
|
/** @description The request field the notice is about, here expand. */
|
|
@@ -7165,13 +7165,13 @@ interface operations {
|
|
|
7165
7165
|
}[];
|
|
7166
7166
|
/** @description Opaque cursor for the next page, or null at end-of-list. */
|
|
7167
7167
|
cursor: string | null;
|
|
7168
|
-
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs,
|
|
7168
|
+
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs, the account is outside its activity window at this hour and enforces it, or the account's profile_views budget is at its configured ceiling and enforces that. Absent whenever there is nothing to report, so a response that resolved everyone carries no such key. Branch on each entry's code, never on its message. */
|
|
7169
7169
|
notices?: {
|
|
7170
7170
|
/**
|
|
7171
|
-
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy.
|
|
7171
|
+
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy. EXPANSION_WITHHELD_CEILING: the profile lookups this page needed were refused because the account's profile_views budget is at its configured ceiling and it enforces that, so those people carry public_identifier null and their null does not mean they have no public profile either. Raise the profile_views ceiling on this account's safety policy, or ask for a smaller page.
|
|
7172
7172
|
* @enum {string}
|
|
7173
7173
|
*/
|
|
7174
|
-
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW";
|
|
7174
|
+
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW" | "EXPANSION_WITHHELD_CEILING";
|
|
7175
7175
|
/** @description One sentence explaining the condition and how to resolve it. */
|
|
7176
7176
|
message: string;
|
|
7177
7177
|
/** @description The request field the notice is about, here expand. */
|
|
@@ -7508,13 +7508,13 @@ interface operations {
|
|
|
7508
7508
|
sent_at: number;
|
|
7509
7509
|
/** @description Message body (content pass-through, never stored). */
|
|
7510
7510
|
text?: string | null;
|
|
7511
|
-
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs,
|
|
7511
|
+
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs, the account is outside its activity window at this hour and enforces it, or the account's profile_views budget is at its configured ceiling and enforces that. Absent whenever there is nothing to report, so a response that resolved everyone carries no such key. Branch on each entry's code, never on its message. */
|
|
7512
7512
|
notices?: {
|
|
7513
7513
|
/**
|
|
7514
|
-
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy.
|
|
7514
|
+
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy. EXPANSION_WITHHELD_CEILING: the profile lookups this page needed were refused because the account's profile_views budget is at its configured ceiling and it enforces that, so those people carry public_identifier null and their null does not mean they have no public profile either. Raise the profile_views ceiling on this account's safety policy, or ask for a smaller page.
|
|
7515
7515
|
* @enum {string}
|
|
7516
7516
|
*/
|
|
7517
|
-
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW";
|
|
7517
|
+
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW" | "EXPANSION_WITHHELD_CEILING";
|
|
7518
7518
|
/** @description One sentence explaining the condition and how to resolve it. */
|
|
7519
7519
|
message: string;
|
|
7520
7520
|
/** @description The request field the notice is about, here expand. */
|
|
@@ -7714,13 +7714,13 @@ interface operations {
|
|
|
7714
7714
|
* @enum {boolean}
|
|
7715
7715
|
*/
|
|
7716
7716
|
filter_effective?: true;
|
|
7717
|
-
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs,
|
|
7717
|
+
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs, the account is outside its activity window at this hour and enforces it, or the account's profile_views budget is at its configured ceiling and enforces that. Absent whenever there is nothing to report, so a response that resolved everyone carries no such key. Branch on each entry's code, never on its message. */
|
|
7718
7718
|
notices?: {
|
|
7719
7719
|
/**
|
|
7720
|
-
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy.
|
|
7720
|
+
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy. EXPANSION_WITHHELD_CEILING: the profile lookups this page needed were refused because the account's profile_views budget is at its configured ceiling and it enforces that, so those people carry public_identifier null and their null does not mean they have no public profile either. Raise the profile_views ceiling on this account's safety policy, or ask for a smaller page.
|
|
7721
7721
|
* @enum {string}
|
|
7722
7722
|
*/
|
|
7723
|
-
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW";
|
|
7723
|
+
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW" | "EXPANSION_WITHHELD_CEILING";
|
|
7724
7724
|
/** @description One sentence explaining the condition and how to resolve it. */
|
|
7725
7725
|
message: string;
|
|
7726
7726
|
/** @description The request field the notice is about, here expand. */
|
|
@@ -10361,13 +10361,13 @@ interface operations {
|
|
|
10361
10361
|
}[];
|
|
10362
10362
|
/** @description Next-page cursor; follow until items is empty (presence is not a has-more guarantee). */
|
|
10363
10363
|
cursor?: string | null;
|
|
10364
|
-
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs,
|
|
10364
|
+
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs, the account is outside its activity window at this hour and enforces it, or the account's profile_views budget is at its configured ceiling and enforces that. Absent whenever there is nothing to report, so a response that resolved everyone carries no such key. Branch on each entry's code, never on its message. */
|
|
10365
10365
|
notices?: {
|
|
10366
10366
|
/**
|
|
10367
|
-
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy.
|
|
10367
|
+
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy. EXPANSION_WITHHELD_CEILING: the profile lookups this page needed were refused because the account's profile_views budget is at its configured ceiling and it enforces that, so those people carry public_identifier null and their null does not mean they have no public profile either. Raise the profile_views ceiling on this account's safety policy, or ask for a smaller page.
|
|
10368
10368
|
* @enum {string}
|
|
10369
10369
|
*/
|
|
10370
|
-
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW";
|
|
10370
|
+
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW" | "EXPANSION_WITHHELD_CEILING";
|
|
10371
10371
|
/** @description One sentence explaining the condition and how to resolve it. */
|
|
10372
10372
|
message: string;
|
|
10373
10373
|
/** @description The request field the notice is about, here expand. */
|
|
@@ -10783,13 +10783,13 @@ interface operations {
|
|
|
10783
10783
|
/** @description The vanity slug from the profile URL, for example jane-smith. Present only when the request asks for it with expand=public_identifier, and then always present, carrying the slug or null when the platform surfaces none for this person. */
|
|
10784
10784
|
public_identifier?: string | null;
|
|
10785
10785
|
};
|
|
10786
|
-
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs,
|
|
10786
|
+
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs, the account is outside its activity window at this hour and enforces it, or the account's profile_views budget is at its configured ceiling and enforces that. Absent whenever there is nothing to report, so a response that resolved everyone carries no such key. Branch on each entry's code, never on its message. */
|
|
10787
10787
|
notices?: {
|
|
10788
10788
|
/**
|
|
10789
|
-
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy.
|
|
10789
|
+
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy. EXPANSION_WITHHELD_CEILING: the profile lookups this page needed were refused because the account's profile_views budget is at its configured ceiling and it enforces that, so those people carry public_identifier null and their null does not mean they have no public profile either. Raise the profile_views ceiling on this account's safety policy, or ask for a smaller page.
|
|
10790
10790
|
* @enum {string}
|
|
10791
10791
|
*/
|
|
10792
|
-
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW";
|
|
10792
|
+
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW" | "EXPANSION_WITHHELD_CEILING";
|
|
10793
10793
|
/** @description One sentence explaining the condition and how to resolve it. */
|
|
10794
10794
|
message: string;
|
|
10795
10795
|
/** @description The request field the notice is about, here expand. */
|
|
@@ -11143,13 +11143,13 @@ interface operations {
|
|
|
11143
11143
|
}[];
|
|
11144
11144
|
/** @description Next-page cursor; follow until items is empty. */
|
|
11145
11145
|
cursor?: string | null;
|
|
11146
|
-
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs,
|
|
11146
|
+
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs, the account is outside its activity window at this hour and enforces it, or the account's profile_views budget is at its configured ceiling and enforces that. Absent whenever there is nothing to report, so a response that resolved everyone carries no such key. Branch on each entry's code, never on its message. */
|
|
11147
11147
|
notices?: {
|
|
11148
11148
|
/**
|
|
11149
|
-
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy.
|
|
11149
|
+
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy. EXPANSION_WITHHELD_CEILING: the profile lookups this page needed were refused because the account's profile_views budget is at its configured ceiling and it enforces that, so those people carry public_identifier null and their null does not mean they have no public profile either. Raise the profile_views ceiling on this account's safety policy, or ask for a smaller page.
|
|
11150
11150
|
* @enum {string}
|
|
11151
11151
|
*/
|
|
11152
|
-
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW";
|
|
11152
|
+
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW" | "EXPANSION_WITHHELD_CEILING";
|
|
11153
11153
|
/** @description One sentence explaining the condition and how to resolve it. */
|
|
11154
11154
|
message: string;
|
|
11155
11155
|
/** @description The request field the notice is about, here expand. */
|
|
@@ -11519,13 +11519,13 @@ interface operations {
|
|
|
11519
11519
|
[key: string]: unknown;
|
|
11520
11520
|
};
|
|
11521
11521
|
};
|
|
11522
|
-
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs,
|
|
11522
|
+
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs, the account is outside its activity window at this hour and enforces it, or the account's profile_views budget is at its configured ceiling and enforces that. Absent whenever there is nothing to report, so a response that resolved everyone carries no such key. Branch on each entry's code, never on its message. */
|
|
11523
11523
|
notices?: {
|
|
11524
11524
|
/**
|
|
11525
|
-
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy.
|
|
11525
|
+
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy. EXPANSION_WITHHELD_CEILING: the profile lookups this page needed were refused because the account's profile_views budget is at its configured ceiling and it enforces that, so those people carry public_identifier null and their null does not mean they have no public profile either. Raise the profile_views ceiling on this account's safety policy, or ask for a smaller page.
|
|
11526
11526
|
* @enum {string}
|
|
11527
11527
|
*/
|
|
11528
|
-
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW";
|
|
11528
|
+
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW" | "EXPANSION_WITHHELD_CEILING";
|
|
11529
11529
|
/** @description One sentence explaining the condition and how to resolve it. */
|
|
11530
11530
|
message: string;
|
|
11531
11531
|
/** @description The request field the notice is about, here expand. */
|
|
@@ -12725,13 +12725,13 @@ interface operations {
|
|
|
12725
12725
|
}[];
|
|
12726
12726
|
/** @description Next-page cursor. Follow until items is empty. */
|
|
12727
12727
|
cursor?: string | null;
|
|
12728
|
-
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs,
|
|
12728
|
+
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs, the account is outside its activity window at this hour and enforces it, or the account's profile_views budget is at its configured ceiling and enforces that. Absent whenever there is nothing to report, so a response that resolved everyone carries no such key. Branch on each entry's code, never on its message. */
|
|
12729
12729
|
notices?: {
|
|
12730
12730
|
/**
|
|
12731
|
-
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy.
|
|
12731
|
+
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy. EXPANSION_WITHHELD_CEILING: the profile lookups this page needed were refused because the account's profile_views budget is at its configured ceiling and it enforces that, so those people carry public_identifier null and their null does not mean they have no public profile either. Raise the profile_views ceiling on this account's safety policy, or ask for a smaller page.
|
|
12732
12732
|
* @enum {string}
|
|
12733
12733
|
*/
|
|
12734
|
-
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW";
|
|
12734
|
+
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW" | "EXPANSION_WITHHELD_CEILING";
|
|
12735
12735
|
/** @description One sentence explaining the condition and how to resolve it. */
|
|
12736
12736
|
message: string;
|
|
12737
12737
|
/** @description The request field the notice is about, here expand. */
|
|
@@ -12985,7 +12985,7 @@ interface operations {
|
|
|
12985
12985
|
"application/json": components["schemas"]["Error"];
|
|
12986
12986
|
};
|
|
12987
12987
|
};
|
|
12988
|
-
/** @description A temporary upstream error occurred, or the upstream response could not be interpreted.
|
|
12988
|
+
/** @description A temporary upstream error occurred, or the upstream response could not be interpreted. Check `retry_likely_to_succeed`: a temporary error is worth retrying, a response that could not be interpreted is not, and carries `retry_hint: {"kind": "never"}`. */
|
|
12989
12989
|
502: {
|
|
12990
12990
|
headers: {
|
|
12991
12991
|
[name: string]: unknown;
|
|
@@ -29753,7 +29753,7 @@ interface operations {
|
|
|
29753
29753
|
value: string;
|
|
29754
29754
|
}[];
|
|
29755
29755
|
/** @description Messaging events to subscribe to (default: [message.received]) */
|
|
29756
|
-
events?: ("message.received" | "message.
|
|
29756
|
+
events?: ("message.received" | "message.read" | "message.reaction" | "message.edited" | "message.deleted" | "chat.updated" | "chat.deleted")[];
|
|
29757
29757
|
/**
|
|
29758
29758
|
* @description Field-remapping keys for the messaging delivery payload
|
|
29759
29759
|
* @default []
|
|
@@ -33440,6 +33440,10 @@ interface CurviateEventEnvelope {
|
|
|
33440
33440
|
* the generated create-events enum (see `test/webhooks.constructEvent.test.ts`);
|
|
33441
33441
|
* it must never drift from the served catalogue again.
|
|
33442
33442
|
*
|
|
33443
|
+
* > Removed in 0.27.0 (BREAKING): `message.delivered`. The platform never
|
|
33444
|
+
* > emitted it, so no `event.event === 'message.delivered'` branch has ever
|
|
33445
|
+
* > run. The read-path replacement is `is_delivered` on the message resource.
|
|
33446
|
+
*
|
|
33443
33447
|
* @example
|
|
33444
33448
|
* const event = await constructEvent(rawBody, header, secret);
|
|
33445
33449
|
* if (event.event === 'message.received') {
|
|
@@ -33449,9 +33453,6 @@ interface CurviateEventEnvelope {
|
|
|
33449
33453
|
type CurviateEvent = CurviateEventEnvelope & ({
|
|
33450
33454
|
event: "message.received";
|
|
33451
33455
|
data: MessagePayload;
|
|
33452
|
-
} | {
|
|
33453
|
-
event: "message.delivered";
|
|
33454
|
-
data: MessagePayload;
|
|
33455
33456
|
} | {
|
|
33456
33457
|
event: "message.read";
|
|
33457
33458
|
data: MessagePayload;
|
package/package.json
CHANGED
package/src/generated/types.ts
CHANGED
|
@@ -2513,7 +2513,7 @@ export interface paths {
|
|
|
2513
2513
|
};
|
|
2514
2514
|
/**
|
|
2515
2515
|
* List webhook event types
|
|
2516
|
-
* @description Returns the complete canonical event catalogue (
|
|
2516
|
+
* @description Returns the complete canonical event catalogue (27 events) grouped by source: messaging (7), user (2), account_status (15), plus 3 tier-gated events. A local catalogue read: no platform call is made.
|
|
2517
2517
|
*/
|
|
2518
2518
|
get: operations["getV1WebhooksEvents"];
|
|
2519
2519
|
put?: never;
|
|
@@ -2702,13 +2702,13 @@ export interface components {
|
|
|
2702
2702
|
}[];
|
|
2703
2703
|
};
|
|
2704
2704
|
/**
|
|
2705
|
-
* @description Present on a successful response when this account crossed an account-safety ceiling while the affected budget row is on the default warn posture. The action still happened. Field-identical to the BUDGET_EXHAUSTED error body except that blocked is false, so one branch handles both postures and switching the account to enforce is a configuration change rather than a client rewrite.
|
|
2705
|
+
* @description Present on a successful response when this account crossed an account-safety ceiling while the affected budget row is on the default warn posture. The action still happened. Field-identical to the BUDGET_EXHAUSTED error body except that blocked is false and hint.message describes the outcome, so one branch handles both postures and switching the account to enforce is a configuration change rather than a client rewrite.
|
|
2706
2706
|
* @example {
|
|
2707
2707
|
* "row": "profile_views",
|
|
2708
2708
|
* "reset_at": "2026-09-05T00:00:00.000Z",
|
|
2709
2709
|
* "hint": {
|
|
2710
2710
|
* "parameter": "profile_views.ceiling",
|
|
2711
|
-
* "message": "This account is at its
|
|
2711
|
+
* "message": "This account is at its ceiling for profile_views. This action went through because profile_views.posture is warn, and it counted: 101 of 100 this window. Raise profile_views.ceiling, or wait for the window to reset at 2026-09-05T00:00:00.000Z."
|
|
2712
2712
|
* },
|
|
2713
2713
|
* "reason": "ceiling",
|
|
2714
2714
|
* "blocked": false
|
|
@@ -2722,7 +2722,7 @@ export interface components {
|
|
|
2722
2722
|
hint: {
|
|
2723
2723
|
/** @description The settable parameter on PATCH /v1/{account_id}/safety-policy. */
|
|
2724
2724
|
parameter: string;
|
|
2725
|
-
/** @description What the condition is and what changing that parameter would do. */
|
|
2725
|
+
/** @description What the condition is and what changing that parameter would do. This is the one field whose text differs from the BUDGET_EXHAUSTED refusal: here it says the action went through, and on a ceiling breach how far past the ceiling this row now stands, rather than telling you to set posture to warn when it already is. Branch on parameter, reason and blocked, never on this text. */
|
|
2726
2726
|
message: string;
|
|
2727
2727
|
};
|
|
2728
2728
|
/**
|
|
@@ -6710,13 +6710,13 @@ export interface operations {
|
|
|
6710
6710
|
}[];
|
|
6711
6711
|
/** @description Opaque cursor for the next page, or null at end-of-list. */
|
|
6712
6712
|
cursor: string | null;
|
|
6713
|
-
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs,
|
|
6713
|
+
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs, the account is outside its activity window at this hour and enforces it, or the account's profile_views budget is at its configured ceiling and enforces that. Absent whenever there is nothing to report, so a response that resolved everyone carries no such key. Branch on each entry's code, never on its message. */
|
|
6714
6714
|
notices?: {
|
|
6715
6715
|
/**
|
|
6716
|
-
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy.
|
|
6716
|
+
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy. EXPANSION_WITHHELD_CEILING: the profile lookups this page needed were refused because the account's profile_views budget is at its configured ceiling and it enforces that, so those people carry public_identifier null and their null does not mean they have no public profile either. Raise the profile_views ceiling on this account's safety policy, or ask for a smaller page.
|
|
6717
6717
|
* @enum {string}
|
|
6718
6718
|
*/
|
|
6719
|
-
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW";
|
|
6719
|
+
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW" | "EXPANSION_WITHHELD_CEILING";
|
|
6720
6720
|
/** @description One sentence explaining the condition and how to resolve it. */
|
|
6721
6721
|
message: string;
|
|
6722
6722
|
/** @description The request field the notice is about, here expand. */
|
|
@@ -6893,13 +6893,13 @@ export interface operations {
|
|
|
6893
6893
|
/** @description Message body (content pass-through, never stored). */
|
|
6894
6894
|
text?: string | null;
|
|
6895
6895
|
} | null;
|
|
6896
|
-
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs,
|
|
6896
|
+
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs, the account is outside its activity window at this hour and enforces it, or the account's profile_views budget is at its configured ceiling and enforces that. Absent whenever there is nothing to report, so a response that resolved everyone carries no such key. Branch on each entry's code, never on its message. */
|
|
6897
6897
|
notices?: {
|
|
6898
6898
|
/**
|
|
6899
|
-
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy.
|
|
6899
|
+
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy. EXPANSION_WITHHELD_CEILING: the profile lookups this page needed were refused because the account's profile_views budget is at its configured ceiling and it enforces that, so those people carry public_identifier null and their null does not mean they have no public profile either. Raise the profile_views ceiling on this account's safety policy, or ask for a smaller page.
|
|
6900
6900
|
* @enum {string}
|
|
6901
6901
|
*/
|
|
6902
|
-
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW";
|
|
6902
|
+
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW" | "EXPANSION_WITHHELD_CEILING";
|
|
6903
6903
|
/** @description One sentence explaining the condition and how to resolve it. */
|
|
6904
6904
|
message: string;
|
|
6905
6905
|
/** @description The request field the notice is about, here expand. */
|
|
@@ -7069,13 +7069,13 @@ export interface operations {
|
|
|
7069
7069
|
}[];
|
|
7070
7070
|
/** @description Opaque cursor for the next page, or null at end-of-list. */
|
|
7071
7071
|
cursor: string | null;
|
|
7072
|
-
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs,
|
|
7072
|
+
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs, the account is outside its activity window at this hour and enforces it, or the account's profile_views budget is at its configured ceiling and enforces that. Absent whenever there is nothing to report, so a response that resolved everyone carries no such key. Branch on each entry's code, never on its message. */
|
|
7073
7073
|
notices?: {
|
|
7074
7074
|
/**
|
|
7075
|
-
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy.
|
|
7075
|
+
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy. EXPANSION_WITHHELD_CEILING: the profile lookups this page needed were refused because the account's profile_views budget is at its configured ceiling and it enforces that, so those people carry public_identifier null and their null does not mean they have no public profile either. Raise the profile_views ceiling on this account's safety policy, or ask for a smaller page.
|
|
7076
7076
|
* @enum {string}
|
|
7077
7077
|
*/
|
|
7078
|
-
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW";
|
|
7078
|
+
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW" | "EXPANSION_WITHHELD_CEILING";
|
|
7079
7079
|
/** @description One sentence explaining the condition and how to resolve it. */
|
|
7080
7080
|
message: string;
|
|
7081
7081
|
/** @description The request field the notice is about, here expand. */
|
|
@@ -7412,13 +7412,13 @@ export interface operations {
|
|
|
7412
7412
|
sent_at: number;
|
|
7413
7413
|
/** @description Message body (content pass-through, never stored). */
|
|
7414
7414
|
text?: string | null;
|
|
7415
|
-
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs,
|
|
7415
|
+
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs, the account is outside its activity window at this hour and enforces it, or the account's profile_views budget is at its configured ceiling and enforces that. Absent whenever there is nothing to report, so a response that resolved everyone carries no such key. Branch on each entry's code, never on its message. */
|
|
7416
7416
|
notices?: {
|
|
7417
7417
|
/**
|
|
7418
|
-
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy.
|
|
7418
|
+
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy. EXPANSION_WITHHELD_CEILING: the profile lookups this page needed were refused because the account's profile_views budget is at its configured ceiling and it enforces that, so those people carry public_identifier null and their null does not mean they have no public profile either. Raise the profile_views ceiling on this account's safety policy, or ask for a smaller page.
|
|
7419
7419
|
* @enum {string}
|
|
7420
7420
|
*/
|
|
7421
|
-
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW";
|
|
7421
|
+
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW" | "EXPANSION_WITHHELD_CEILING";
|
|
7422
7422
|
/** @description One sentence explaining the condition and how to resolve it. */
|
|
7423
7423
|
message: string;
|
|
7424
7424
|
/** @description The request field the notice is about, here expand. */
|
|
@@ -7618,13 +7618,13 @@ export interface operations {
|
|
|
7618
7618
|
* @enum {boolean}
|
|
7619
7619
|
*/
|
|
7620
7620
|
filter_effective?: true;
|
|
7621
|
-
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs,
|
|
7621
|
+
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs, the account is outside its activity window at this hour and enforces it, or the account's profile_views budget is at its configured ceiling and enforces that. Absent whenever there is nothing to report, so a response that resolved everyone carries no such key. Branch on each entry's code, never on its message. */
|
|
7622
7622
|
notices?: {
|
|
7623
7623
|
/**
|
|
7624
|
-
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy.
|
|
7624
|
+
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy. EXPANSION_WITHHELD_CEILING: the profile lookups this page needed were refused because the account's profile_views budget is at its configured ceiling and it enforces that, so those people carry public_identifier null and their null does not mean they have no public profile either. Raise the profile_views ceiling on this account's safety policy, or ask for a smaller page.
|
|
7625
7625
|
* @enum {string}
|
|
7626
7626
|
*/
|
|
7627
|
-
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW";
|
|
7627
|
+
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW" | "EXPANSION_WITHHELD_CEILING";
|
|
7628
7628
|
/** @description One sentence explaining the condition and how to resolve it. */
|
|
7629
7629
|
message: string;
|
|
7630
7630
|
/** @description The request field the notice is about, here expand. */
|
|
@@ -10265,13 +10265,13 @@ export interface operations {
|
|
|
10265
10265
|
}[];
|
|
10266
10266
|
/** @description Next-page cursor; follow until items is empty (presence is not a has-more guarantee). */
|
|
10267
10267
|
cursor?: string | null;
|
|
10268
|
-
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs,
|
|
10268
|
+
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs, the account is outside its activity window at this hour and enforces it, or the account's profile_views budget is at its configured ceiling and enforces that. Absent whenever there is nothing to report, so a response that resolved everyone carries no such key. Branch on each entry's code, never on its message. */
|
|
10269
10269
|
notices?: {
|
|
10270
10270
|
/**
|
|
10271
|
-
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy.
|
|
10271
|
+
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy. EXPANSION_WITHHELD_CEILING: the profile lookups this page needed were refused because the account's profile_views budget is at its configured ceiling and it enforces that, so those people carry public_identifier null and their null does not mean they have no public profile either. Raise the profile_views ceiling on this account's safety policy, or ask for a smaller page.
|
|
10272
10272
|
* @enum {string}
|
|
10273
10273
|
*/
|
|
10274
|
-
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW";
|
|
10274
|
+
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW" | "EXPANSION_WITHHELD_CEILING";
|
|
10275
10275
|
/** @description One sentence explaining the condition and how to resolve it. */
|
|
10276
10276
|
message: string;
|
|
10277
10277
|
/** @description The request field the notice is about, here expand. */
|
|
@@ -10687,13 +10687,13 @@ export interface operations {
|
|
|
10687
10687
|
/** @description The vanity slug from the profile URL, for example jane-smith. Present only when the request asks for it with expand=public_identifier, and then always present, carrying the slug or null when the platform surfaces none for this person. */
|
|
10688
10688
|
public_identifier?: string | null;
|
|
10689
10689
|
};
|
|
10690
|
-
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs,
|
|
10690
|
+
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs, the account is outside its activity window at this hour and enforces it, or the account's profile_views budget is at its configured ceiling and enforces that. Absent whenever there is nothing to report, so a response that resolved everyone carries no such key. Branch on each entry's code, never on its message. */
|
|
10691
10691
|
notices?: {
|
|
10692
10692
|
/**
|
|
10693
|
-
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy.
|
|
10693
|
+
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy. EXPANSION_WITHHELD_CEILING: the profile lookups this page needed were refused because the account's profile_views budget is at its configured ceiling and it enforces that, so those people carry public_identifier null and their null does not mean they have no public profile either. Raise the profile_views ceiling on this account's safety policy, or ask for a smaller page.
|
|
10694
10694
|
* @enum {string}
|
|
10695
10695
|
*/
|
|
10696
|
-
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW";
|
|
10696
|
+
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW" | "EXPANSION_WITHHELD_CEILING";
|
|
10697
10697
|
/** @description One sentence explaining the condition and how to resolve it. */
|
|
10698
10698
|
message: string;
|
|
10699
10699
|
/** @description The request field the notice is about, here expand. */
|
|
@@ -11047,13 +11047,13 @@ export interface operations {
|
|
|
11047
11047
|
}[];
|
|
11048
11048
|
/** @description Next-page cursor; follow until items is empty. */
|
|
11049
11049
|
cursor?: string | null;
|
|
11050
|
-
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs,
|
|
11050
|
+
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs, the account is outside its activity window at this hour and enforces it, or the account's profile_views budget is at its configured ceiling and enforces that. Absent whenever there is nothing to report, so a response that resolved everyone carries no such key. Branch on each entry's code, never on its message. */
|
|
11051
11051
|
notices?: {
|
|
11052
11052
|
/**
|
|
11053
|
-
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy.
|
|
11053
|
+
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy. EXPANSION_WITHHELD_CEILING: the profile lookups this page needed were refused because the account's profile_views budget is at its configured ceiling and it enforces that, so those people carry public_identifier null and their null does not mean they have no public profile either. Raise the profile_views ceiling on this account's safety policy, or ask for a smaller page.
|
|
11054
11054
|
* @enum {string}
|
|
11055
11055
|
*/
|
|
11056
|
-
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW";
|
|
11056
|
+
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW" | "EXPANSION_WITHHELD_CEILING";
|
|
11057
11057
|
/** @description One sentence explaining the condition and how to resolve it. */
|
|
11058
11058
|
message: string;
|
|
11059
11059
|
/** @description The request field the notice is about, here expand. */
|
|
@@ -11423,13 +11423,13 @@ export interface operations {
|
|
|
11423
11423
|
[key: string]: unknown;
|
|
11424
11424
|
};
|
|
11425
11425
|
};
|
|
11426
|
-
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs,
|
|
11426
|
+
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs, the account is outside its activity window at this hour and enforces it, or the account's profile_views budget is at its configured ceiling and enforces that. Absent whenever there is nothing to report, so a response that resolved everyone carries no such key. Branch on each entry's code, never on its message. */
|
|
11427
11427
|
notices?: {
|
|
11428
11428
|
/**
|
|
11429
|
-
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy.
|
|
11429
|
+
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy. EXPANSION_WITHHELD_CEILING: the profile lookups this page needed were refused because the account's profile_views budget is at its configured ceiling and it enforces that, so those people carry public_identifier null and their null does not mean they have no public profile either. Raise the profile_views ceiling on this account's safety policy, or ask for a smaller page.
|
|
11430
11430
|
* @enum {string}
|
|
11431
11431
|
*/
|
|
11432
|
-
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW";
|
|
11432
|
+
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW" | "EXPANSION_WITHHELD_CEILING";
|
|
11433
11433
|
/** @description One sentence explaining the condition and how to resolve it. */
|
|
11434
11434
|
message: string;
|
|
11435
11435
|
/** @description The request field the notice is about, here expand. */
|
|
@@ -12629,13 +12629,13 @@ export interface operations {
|
|
|
12629
12629
|
}[];
|
|
12630
12630
|
/** @description Next-page cursor. Follow until items is empty. */
|
|
12631
12631
|
cursor?: string | null;
|
|
12632
|
-
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs,
|
|
12632
|
+
/** @description Present only when expand=public_identifier was asked for and some people on this page went unresolved for a reason the payload cannot show: more of them needed a profile lookup than one request performs, the account is outside its activity window at this hour and enforces it, or the account's profile_views budget is at its configured ceiling and enforces that. Absent whenever there is nothing to report, so a response that resolved everyone carries no such key. Branch on each entry's code, never on its message. */
|
|
12633
12633
|
notices?: {
|
|
12634
12634
|
/**
|
|
12635
|
-
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy.
|
|
12635
|
+
* @description EXPANSION_LIMIT_REACHED: more people on this page needed a profile lookup than one request performs, so the ones past the budget carry public_identifier null without ever having been looked up. Their null therefore does not mean the person has no public profile. Ask for a smaller page to resolve everyone. EXPANSION_WITHHELD_ACTIVITY_WINDOW: the profile lookups this page needed were refused because the account is outside its activity window at this hour and enforces it, so those people carry public_identifier null and their null does not mean they have no public profile either. Ask again inside the window, or widen the window on this account's safety policy. EXPANSION_WITHHELD_CEILING: the profile lookups this page needed were refused because the account's profile_views budget is at its configured ceiling and it enforces that, so those people carry public_identifier null and their null does not mean they have no public profile either. Raise the profile_views ceiling on this account's safety policy, or ask for a smaller page.
|
|
12636
12636
|
* @enum {string}
|
|
12637
12637
|
*/
|
|
12638
|
-
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW";
|
|
12638
|
+
code: "EXPANSION_LIMIT_REACHED" | "EXPANSION_WITHHELD_ACTIVITY_WINDOW" | "EXPANSION_WITHHELD_CEILING";
|
|
12639
12639
|
/** @description One sentence explaining the condition and how to resolve it. */
|
|
12640
12640
|
message: string;
|
|
12641
12641
|
/** @description The request field the notice is about, here expand. */
|
|
@@ -12889,7 +12889,7 @@ export interface operations {
|
|
|
12889
12889
|
"application/json": components["schemas"]["Error"];
|
|
12890
12890
|
};
|
|
12891
12891
|
};
|
|
12892
|
-
/** @description A temporary upstream error occurred, or the upstream response could not be interpreted.
|
|
12892
|
+
/** @description A temporary upstream error occurred, or the upstream response could not be interpreted. Check `retry_likely_to_succeed`: a temporary error is worth retrying, a response that could not be interpreted is not, and carries `retry_hint: {"kind": "never"}`. */
|
|
12893
12893
|
502: {
|
|
12894
12894
|
headers: {
|
|
12895
12895
|
[name: string]: unknown;
|
|
@@ -29657,7 +29657,7 @@ export interface operations {
|
|
|
29657
29657
|
value: string;
|
|
29658
29658
|
}[];
|
|
29659
29659
|
/** @description Messaging events to subscribe to (default: [message.received]) */
|
|
29660
|
-
events?: ("message.received" | "message.
|
|
29660
|
+
events?: ("message.received" | "message.read" | "message.reaction" | "message.edited" | "message.deleted" | "chat.updated" | "chat.deleted")[];
|
|
29661
29661
|
/**
|
|
29662
29662
|
* @description Field-remapping keys for the messaging delivery payload
|
|
29663
29663
|
* @default []
|