@getlatedev/node 0.2.319 → 0.2.321

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 CHANGED
@@ -8499,6 +8499,12 @@ type CreatePostData = {
8499
8499
  type CreatePostResponse = (PostCreateResponse);
8500
8500
  type CreatePostError = ({
8501
8501
  error?: string;
8502
+ } | {
8503
+ error?: string;
8504
+ /**
8505
+ * Stable machine-readable cause. Absent for ownership failures.
8506
+ */
8507
+ code?: 'ACCOUNT_DISCONNECTED' | 'PROFILE_OVER_LIMIT';
8502
8508
  } | {
8503
8509
  error?: string;
8504
8510
  details?: {
package/dist/index.d.ts CHANGED
@@ -8499,6 +8499,12 @@ type CreatePostData = {
8499
8499
  type CreatePostResponse = (PostCreateResponse);
8500
8500
  type CreatePostError = ({
8501
8501
  error?: string;
8502
+ } | {
8503
+ error?: string;
8504
+ /**
8505
+ * Stable machine-readable cause. Absent for ownership failures.
8506
+ */
8507
+ code?: 'ACCOUNT_DISCONNECTED' | 'PROFILE_OVER_LIMIT';
8502
8508
  } | {
8503
8509
  error?: string;
8504
8510
  details?: {
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: "@getlatedev/node",
39
- version: "0.2.319",
39
+ version: "0.2.321",
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: "@getlatedev/node",
8
- version: "0.2.319",
8
+ version: "0.2.321",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.319",
3
+ "version": "0.2.321",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -2470,7 +2470,7 @@ export const listInboxConversations = <ThrowOnError extends boolean = false>(opt
2470
2470
  *
2471
2471
  * X API tier requirement: DM write endpoints require X API Pro tier ($5,000/month) or Enterprise access. This applies to BYOK (Bring Your Own Key) users who provide their own X API credentials.
2472
2472
  *
2473
- * Rate limits: 200 requests per 15 minutes, 1,000 per 24 hours per user, 15,000 per 24 hours per app (shared across all DM endpoints).
2473
+ * Rate limits (X/Twitter only): X's DM API enforces 200 requests per 15 minutes, 1,000 per 24 hours per connected X account, and 15,000 per 24 hours per X developer app (shared across all DM endpoints). These limits do NOT apply to other platforms. WhatsApp sends are governed by Meta's per-number messaging tiers (unique business-initiated conversations per 24 hours) and per-number throughput instead.
2474
2474
  *
2475
2475
  */
2476
2476
  export const createInboxConversation = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<CreateInboxConversationData, ThrowOnError>) => {
@@ -8029,6 +8029,12 @@ export type CreatePostResponse = (PostCreateResponse);
8029
8029
 
8030
8030
  export type CreatePostError = ({
8031
8031
  error?: string;
8032
+ } | {
8033
+ error?: string;
8034
+ /**
8035
+ * Stable machine-readable cause. Absent for ownership failures.
8036
+ */
8037
+ code?: 'ACCOUNT_DISCONNECTED' | 'PROFILE_OVER_LIMIT';
8032
8038
  } | {
8033
8039
  error?: string;
8034
8040
  details?: {