@zernio/node 0.2.174 → 0.2.175
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/index.d.mts +6 -5
- package/dist/index.d.ts +6 -5
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +6 -5
- package/src/generated/types.gen.ts +6 -5
package/dist/index.d.mts
CHANGED
|
@@ -10759,9 +10759,10 @@ type GetInboxConversationMessagesData = {
|
|
|
10759
10759
|
limit?: number;
|
|
10760
10760
|
/**
|
|
10761
10761
|
* Order of returned messages. Default `asc` (oldest first, chat style).
|
|
10762
|
-
*
|
|
10763
|
-
*
|
|
10764
|
-
*
|
|
10762
|
+
* Twitter, Instagram, Telegram, WhatsApp and Reddit honor this order
|
|
10763
|
+
* across cursor pages. For Facebook and Bluesky, only intra-page
|
|
10764
|
+
* ordering is affected — pages always walk newest→oldest. See
|
|
10765
|
+
* `sortOrderApplied` in the response.
|
|
10765
10766
|
*
|
|
10766
10767
|
*/
|
|
10767
10768
|
sortOrder?: 'asc' | 'desc';
|
|
@@ -10781,8 +10782,8 @@ type GetInboxConversationMessagesResponse = ({
|
|
|
10781
10782
|
};
|
|
10782
10783
|
/**
|
|
10783
10784
|
* Sort order actually applied to the returned page. May
|
|
10784
|
-
* differ from the requested `sortOrder` for
|
|
10785
|
-
*
|
|
10785
|
+
* differ from the requested `sortOrder` for Facebook and
|
|
10786
|
+
* Bluesky (always `desc` regardless of request).
|
|
10786
10787
|
*
|
|
10787
10788
|
*/
|
|
10788
10789
|
sortOrderApplied?: 'asc' | 'desc';
|
package/dist/index.d.ts
CHANGED
|
@@ -10759,9 +10759,10 @@ type GetInboxConversationMessagesData = {
|
|
|
10759
10759
|
limit?: number;
|
|
10760
10760
|
/**
|
|
10761
10761
|
* Order of returned messages. Default `asc` (oldest first, chat style).
|
|
10762
|
-
*
|
|
10763
|
-
*
|
|
10764
|
-
*
|
|
10762
|
+
* Twitter, Instagram, Telegram, WhatsApp and Reddit honor this order
|
|
10763
|
+
* across cursor pages. For Facebook and Bluesky, only intra-page
|
|
10764
|
+
* ordering is affected — pages always walk newest→oldest. See
|
|
10765
|
+
* `sortOrderApplied` in the response.
|
|
10765
10766
|
*
|
|
10766
10767
|
*/
|
|
10767
10768
|
sortOrder?: 'asc' | 'desc';
|
|
@@ -10781,8 +10782,8 @@ type GetInboxConversationMessagesResponse = ({
|
|
|
10781
10782
|
};
|
|
10782
10783
|
/**
|
|
10783
10784
|
* Sort order actually applied to the returned page. May
|
|
10784
|
-
* differ from the requested `sortOrder` for
|
|
10785
|
-
*
|
|
10785
|
+
* differ from the requested `sortOrder` for Facebook and
|
|
10786
|
+
* Bluesky (always `desc` regardless of request).
|
|
10786
10787
|
*
|
|
10787
10788
|
*/
|
|
10788
10789
|
sortOrderApplied?: 'asc' | 'desc';
|
package/dist/index.js
CHANGED
|
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
36
36
|
// package.json
|
|
37
37
|
var package_default = {
|
|
38
38
|
name: "@zernio/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.175",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
package/dist/index.mjs
CHANGED
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5
5
|
// package.json
|
|
6
6
|
var package_default = {
|
|
7
7
|
name: "@zernio/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.175",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
package/package.json
CHANGED
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -1981,11 +1981,12 @@ export const updateInboxConversation = <ThrowOnError extends boolean = false>(op
|
|
|
1981
1981
|
*
|
|
1982
1982
|
* Sort order: defaults to `asc` (oldest first, chat style). For the
|
|
1983
1983
|
* "show me the latest messages" pattern, pass `?sortOrder=desc&limit=N`.
|
|
1984
|
-
*
|
|
1985
|
-
*
|
|
1986
|
-
*
|
|
1987
|
-
*
|
|
1988
|
-
*
|
|
1984
|
+
* Twitter, Instagram, Telegram, WhatsApp and Reddit honor the requested
|
|
1985
|
+
* order from the local message store. For Facebook and Bluesky, the
|
|
1986
|
+
* upstream APIs only return newest-first and have no order parameter —
|
|
1987
|
+
* sort order is best-effort and only reverses items within a single page
|
|
1988
|
+
* (pages still walk newest→oldest). The response field `sortOrderApplied`
|
|
1989
|
+
* tells you what was actually applied.
|
|
1989
1990
|
*
|
|
1990
1991
|
* Reddit threads are paginated client-side because Reddit's API has no
|
|
1991
1992
|
* per-thread cursor. Very long threads may be upstream-truncated by
|
|
@@ -10731,9 +10731,10 @@ export type GetInboxConversationMessagesData = {
|
|
|
10731
10731
|
limit?: number;
|
|
10732
10732
|
/**
|
|
10733
10733
|
* Order of returned messages. Default `asc` (oldest first, chat style).
|
|
10734
|
-
*
|
|
10735
|
-
*
|
|
10736
|
-
*
|
|
10734
|
+
* Twitter, Instagram, Telegram, WhatsApp and Reddit honor this order
|
|
10735
|
+
* across cursor pages. For Facebook and Bluesky, only intra-page
|
|
10736
|
+
* ordering is affected — pages always walk newest→oldest. See
|
|
10737
|
+
* `sortOrderApplied` in the response.
|
|
10737
10738
|
*
|
|
10738
10739
|
*/
|
|
10739
10740
|
sortOrder?: 'asc' | 'desc';
|
|
@@ -10754,8 +10755,8 @@ export type GetInboxConversationMessagesResponse = ({
|
|
|
10754
10755
|
};
|
|
10755
10756
|
/**
|
|
10756
10757
|
* Sort order actually applied to the returned page. May
|
|
10757
|
-
* differ from the requested `sortOrder` for
|
|
10758
|
-
*
|
|
10758
|
+
* differ from the requested `sortOrder` for Facebook and
|
|
10759
|
+
* Bluesky (always `desc` regardless of request).
|
|
10759
10760
|
*
|
|
10760
10761
|
*/
|
|
10761
10762
|
sortOrderApplied?: 'asc' | 'desc';
|