@getlatedev/node 0.2.444 → 0.2.446
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 +27 -3
- package/dist/index.d.ts +27 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +27 -3
package/dist/index.d.mts
CHANGED
|
@@ -16151,7 +16151,31 @@ type SendInboxMessageResponse = ({
|
|
|
16151
16151
|
});
|
|
16152
16152
|
type SendInboxMessageError = ({
|
|
16153
16153
|
error?: string;
|
|
16154
|
-
|
|
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);
|
|
@@ -18048,7 +18072,7 @@ type GetCallResponse = ({
|
|
|
18048
18072
|
contactName?: string;
|
|
18049
18073
|
});
|
|
18050
18074
|
});
|
|
18051
|
-
type GetCallError = ({
|
|
18075
|
+
type GetCallError = (ErrorResponse | {
|
|
18052
18076
|
error?: string;
|
|
18053
18077
|
} | unknown);
|
|
18054
18078
|
type GetCallRecordingData = {
|
|
@@ -18065,7 +18089,7 @@ type GetCallRecordingData = {
|
|
|
18065
18089
|
type GetCallRecordingResponse = ({
|
|
18066
18090
|
url?: string;
|
|
18067
18091
|
});
|
|
18068
|
-
type GetCallRecordingError = (unknown | {
|
|
18092
|
+
type GetCallRecordingError = (unknown | ErrorResponse | {
|
|
18069
18093
|
error?: string;
|
|
18070
18094
|
});
|
|
18071
18095
|
type CreateVoiceCallData = {
|
package/dist/index.d.ts
CHANGED
|
@@ -16151,7 +16151,31 @@ type SendInboxMessageResponse = ({
|
|
|
16151
16151
|
});
|
|
16152
16152
|
type SendInboxMessageError = ({
|
|
16153
16153
|
error?: string;
|
|
16154
|
-
|
|
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);
|
|
@@ -18048,7 +18072,7 @@ type GetCallResponse = ({
|
|
|
18048
18072
|
contactName?: string;
|
|
18049
18073
|
});
|
|
18050
18074
|
});
|
|
18051
|
-
type GetCallError = ({
|
|
18075
|
+
type GetCallError = (ErrorResponse | {
|
|
18052
18076
|
error?: string;
|
|
18053
18077
|
} | unknown);
|
|
18054
18078
|
type GetCallRecordingData = {
|
|
@@ -18065,7 +18089,7 @@ type GetCallRecordingData = {
|
|
|
18065
18089
|
type GetCallRecordingResponse = ({
|
|
18066
18090
|
url?: string;
|
|
18067
18091
|
});
|
|
18068
|
-
type GetCallRecordingError = (unknown | {
|
|
18092
|
+
type GetCallRecordingError = (unknown | ErrorResponse | {
|
|
18069
18093
|
error?: string;
|
|
18070
18094
|
});
|
|
18071
18095
|
type CreateVoiceCallData = {
|
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.
|
|
39
|
+
version: "0.2.446",
|
|
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.
|
|
8
|
+
version: "0.2.446",
|
|
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
|
@@ -15820,7 +15820,31 @@ export type SendInboxMessageResponse = ({
|
|
|
15820
15820
|
|
|
15821
15821
|
export type SendInboxMessageError = ({
|
|
15822
15822
|
error?: string;
|
|
15823
|
-
|
|
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);
|
|
@@ -17888,7 +17912,7 @@ export type GetCallResponse = ({
|
|
|
17888
17912
|
});
|
|
17889
17913
|
});
|
|
17890
17914
|
|
|
17891
|
-
export type GetCallError = ({
|
|
17915
|
+
export type GetCallError = (ErrorResponse | {
|
|
17892
17916
|
error?: string;
|
|
17893
17917
|
} | unknown);
|
|
17894
17918
|
|
|
@@ -17908,7 +17932,7 @@ export type GetCallRecordingResponse = ({
|
|
|
17908
17932
|
url?: string;
|
|
17909
17933
|
});
|
|
17910
17934
|
|
|
17911
|
-
export type GetCallRecordingError = (unknown | {
|
|
17935
|
+
export type GetCallRecordingError = (unknown | ErrorResponse | {
|
|
17912
17936
|
error?: string;
|
|
17913
17937
|
});
|
|
17914
17938
|
|