@isnap/sdk 1.3.0-next.188 → 1.3.0-next.190
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/dist/generated/openapi.d.ts +12 -2
- package/package.json +1 -1
|
@@ -2264,7 +2264,7 @@ export interface paths {
|
|
|
2264
2264
|
};
|
|
2265
2265
|
/**
|
|
2266
2266
|
* Get a line's quota snapshot
|
|
2267
|
-
* @description Five-bucket quota snapshot: new-contacts, known-contacts, total daily messages, hourly, and minute counters with their effective limits plus 80%-warning flags. Drives the dashboard usage panel and partner self-service throttle decisions.
|
|
2267
|
+
* @description Five-bucket quota snapshot: new-contacts, known-contacts, total daily messages, hourly, and minute counters with their effective limits plus 80%-warning flags, alongside the reply lane's rolling budget. Each bucket also reports `*_frees_at` — the instant it drops back under its limit, or `null` when it has room now. Drives the dashboard usage panel and partner self-service throttle decisions.
|
|
2268
2268
|
*/
|
|
2269
2269
|
get: {
|
|
2270
2270
|
parameters: {
|
|
@@ -4104,7 +4104,7 @@ export interface paths {
|
|
|
4104
4104
|
};
|
|
4105
4105
|
/**
|
|
4106
4106
|
* List messages
|
|
4107
|
-
* @description Cursor-paginated list of messages, newest first. Each item carries the full `MessageV1` shape — partners can write a uniform handler over both `GET /v1/messages` and `GET /v1/messages/{id}`. Filter by `line_id`, `status`, `direction`, or `kind` (`message` drops the separate reaction/voice rows for a clean feed; `reaction`/`voice` fetch only those; omit for all kinds); pass an opaque `cursor` from the previous page's `next_cursor` to advance.
|
|
4107
|
+
* @description Cursor-paginated list of messages, newest first by default. Each item carries the full `MessageV1` shape — partners can write a uniform handler over both `GET /v1/messages` and `GET /v1/messages/{id}`. Filter by `line_id`, `status`, `direction`, or `kind` (`message` drops the separate reaction/voice rows for a clean feed; `reaction`/`voice` fetch only those; omit for all kinds); pass an opaque `cursor` from the previous page's `next_cursor` to advance. `sort=scheduled_for` serves the queue in departure order instead (rows with no `scheduled_for` last in either direction); `order` flips the direction. A cursor belongs to the sort it was minted for — replaying it under a different `sort`/`order` restarts from the first page.
|
|
4108
4108
|
*/
|
|
4109
4109
|
get: {
|
|
4110
4110
|
parameters: {
|
|
@@ -4115,6 +4115,10 @@ export interface paths {
|
|
|
4115
4115
|
since?: string;
|
|
4116
4116
|
until?: string;
|
|
4117
4117
|
kind?: "message" | "voice" | "reaction";
|
|
4118
|
+
/** @description Ordering key. `created_at` (default) is arrival order; `scheduled_for` is departure order — the same instant the `scheduled_for` field reads back, with rows that have none last in both directions. */
|
|
4119
|
+
sort?: "created_at" | "scheduled_for";
|
|
4120
|
+
/** @description Ordering direction. Defaults to `desc` for `sort=created_at` (newest first) and `asc` for `sort=scheduled_for` (soonest first). */
|
|
4121
|
+
order?: "asc" | "desc";
|
|
4118
4122
|
cursor?: string;
|
|
4119
4123
|
limit?: number;
|
|
4120
4124
|
};
|
|
@@ -7321,6 +7325,12 @@ export interface components {
|
|
|
7321
7325
|
minute_message_limit: number;
|
|
7322
7326
|
daily_replies_used: number;
|
|
7323
7327
|
daily_reply_limit: number;
|
|
7328
|
+
minute_frees_at: string | null;
|
|
7329
|
+
hourly_frees_at: string | null;
|
|
7330
|
+
daily_total_frees_at: string | null;
|
|
7331
|
+
daily_new_frees_at: string | null;
|
|
7332
|
+
daily_known_frees_at: string | null;
|
|
7333
|
+
daily_reply_frees_at: string | null;
|
|
7324
7334
|
buckets_warning: components["schemas"]["BucketsWarning"];
|
|
7325
7335
|
};
|
|
7326
7336
|
BucketsWarning: {
|