@getlatedev/node 0.2.444 → 0.2.445

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
@@ -16151,7 +16151,31 @@ type SendInboxMessageResponse = ({
16151
16151
  });
16152
16152
  type SendInboxMessageError = ({
16153
16153
  error?: string;
16154
- code?: 'PLATFORM_LIMITATION';
16154
+ /**
16155
+ * Stable machine-readable reason. PLATFORM_LIMITATION covers a capability the platform does not offer (e.g. Bluesky and Reddit DMs reject media); MISSING_PARTICIPANT means the stored conversation has no recipient to send to.
16156
+ */
16157
+ code?: 'PLATFORM_LIMITATION' | 'MISSING_PARTICIPANT';
16158
+ /**
16159
+ * Instagram/Facebook only. Meta's own diagnostic fields for the rejected send, passed through verbatim so you can tell failure classes apart and quote them to Meta. Absent when the failure did not come from Meta.
16160
+ */
16161
+ platformError?: {
16162
+ /**
16163
+ * Meta error code
16164
+ */
16165
+ code?: number;
16166
+ /**
16167
+ * Meta error_subcode
16168
+ */
16169
+ subcode?: number;
16170
+ /**
16171
+ * Meta fbtrace_id, quote this in a Meta bug report
16172
+ */
16173
+ fbtraceId?: string;
16174
+ /**
16175
+ * Meta error type (e.g. OAuthException)
16176
+ */
16177
+ type?: string;
16178
+ };
16155
16179
  } | {
16156
16180
  error?: string;
16157
16181
  } | unknown);
package/dist/index.d.ts CHANGED
@@ -16151,7 +16151,31 @@ type SendInboxMessageResponse = ({
16151
16151
  });
16152
16152
  type SendInboxMessageError = ({
16153
16153
  error?: string;
16154
- code?: 'PLATFORM_LIMITATION';
16154
+ /**
16155
+ * Stable machine-readable reason. PLATFORM_LIMITATION covers a capability the platform does not offer (e.g. Bluesky and Reddit DMs reject media); MISSING_PARTICIPANT means the stored conversation has no recipient to send to.
16156
+ */
16157
+ code?: 'PLATFORM_LIMITATION' | 'MISSING_PARTICIPANT';
16158
+ /**
16159
+ * Instagram/Facebook only. Meta's own diagnostic fields for the rejected send, passed through verbatim so you can tell failure classes apart and quote them to Meta. Absent when the failure did not come from Meta.
16160
+ */
16161
+ platformError?: {
16162
+ /**
16163
+ * Meta error code
16164
+ */
16165
+ code?: number;
16166
+ /**
16167
+ * Meta error_subcode
16168
+ */
16169
+ subcode?: number;
16170
+ /**
16171
+ * Meta fbtrace_id, quote this in a Meta bug report
16172
+ */
16173
+ fbtraceId?: string;
16174
+ /**
16175
+ * Meta error type (e.g. OAuthException)
16176
+ */
16177
+ type?: string;
16178
+ };
16155
16179
  } | {
16156
16180
  error?: string;
16157
16181
  } | unknown);
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.444",
39
+ version: "0.2.445",
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.444",
8
+ version: "0.2.445",
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.444",
3
+ "version": "0.2.445",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -15820,7 +15820,31 @@ export type SendInboxMessageResponse = ({
15820
15820
 
15821
15821
  export type SendInboxMessageError = ({
15822
15822
  error?: string;
15823
- code?: 'PLATFORM_LIMITATION';
15823
+ /**
15824
+ * Stable machine-readable reason. PLATFORM_LIMITATION covers a capability the platform does not offer (e.g. Bluesky and Reddit DMs reject media); MISSING_PARTICIPANT means the stored conversation has no recipient to send to.
15825
+ */
15826
+ code?: 'PLATFORM_LIMITATION' | 'MISSING_PARTICIPANT';
15827
+ /**
15828
+ * Instagram/Facebook only. Meta's own diagnostic fields for the rejected send, passed through verbatim so you can tell failure classes apart and quote them to Meta. Absent when the failure did not come from Meta.
15829
+ */
15830
+ platformError?: {
15831
+ /**
15832
+ * Meta error code
15833
+ */
15834
+ code?: number;
15835
+ /**
15836
+ * Meta error_subcode
15837
+ */
15838
+ subcode?: number;
15839
+ /**
15840
+ * Meta fbtrace_id, quote this in a Meta bug report
15841
+ */
15842
+ fbtraceId?: string;
15843
+ /**
15844
+ * Meta error type (e.g. OAuthException)
15845
+ */
15846
+ type?: string;
15847
+ };
15824
15848
  } | {
15825
15849
  error?: string;
15826
15850
  } | unknown);