@getlatedev/node 0.2.1156 → 0.2.1158

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
@@ -7267,7 +7267,8 @@ type ErrorResponse = {
7267
7267
  /**
7268
7268
  * Additional structured context (e.g. field-level validation errors), for example
7269
7269
  * `privateReplyConsumed` on the private-reply endpoint's 400 when the comment's
7270
- * single reply is already spent.
7270
+ * single reply is already spent, and `privateReplyOutcome: "unknown"` on its 502 when Meta
7271
+ * answered a server error and the reply may have been delivered.
7271
7272
  *
7272
7273
  * On a Google Ads 429 it carries `quotaExhausted: true`, which marks the failure as
7273
7274
  * Google's own ads quota rather than a Zernio rate limit, so you can keep calling
package/dist/index.d.ts CHANGED
@@ -7267,7 +7267,8 @@ type ErrorResponse = {
7267
7267
  /**
7268
7268
  * Additional structured context (e.g. field-level validation errors), for example
7269
7269
  * `privateReplyConsumed` on the private-reply endpoint's 400 when the comment's
7270
- * single reply is already spent.
7270
+ * single reply is already spent, and `privateReplyOutcome: "unknown"` on its 502 when Meta
7271
+ * answered a server error and the reply may have been delivered.
7271
7272
  *
7272
7273
  * On a Google Ads 429 it carries `quotaExhausted: true`, which marks the failure as
7273
7274
  * Google's own ads quota rather than a Zernio rate limit, so you can keep calling
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.1156",
39
+ version: "0.2.1158",
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.1156",
8
+ version: "0.2.1158",
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.1156",
3
+ "version": "0.2.1158",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -4936,6 +4936,9 @@ export const unlikePost = <ThrowOnError extends boolean = false>(options: Option
4936
4936
  * non-followers and add buttons once they reply. `quickReplies` and `buttons` are mutually
4937
4937
  * exclusive. When the comment's single private reply is spent (by this call or an earlier
4938
4938
  * one) the 400 carries `details.privateReplyConsumed: true`; never retry it.
4939
+ * A 502 means Meta answered a server error after receiving the reply; it carries
4940
+ * `details.privateReplyOutcome: "unknown"`, the reply is usually delivered and the comment's
4941
+ * private reply spent, so check the conversation before retrying.
4939
4942
  *
4940
4943
  */
4941
4944
  export const sendPrivateReplyToComment = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<SendPrivateReplyToCommentData, ThrowOnError>) => {
@@ -9443,7 +9446,7 @@ export const updateCommentAutomation = <ThrowOnError extends boolean = false>(op
9443
9446
 
9444
9447
  /**
9445
9448
  * Delete automation
9446
- * Permanently delete an automation and all its trigger logs.
9449
+ * Delete an automation. Its trigger logs are kept so tracked links already sent in DMs keep redirecting; they are removed with the account.
9447
9450
  */
9448
9451
  export const deleteCommentAutomation = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<DeleteCommentAutomationData, ThrowOnError>) => {
9449
9452
  return (options?.client ?? client).delete<DeleteCommentAutomationResponse, DeleteCommentAutomationError, ThrowOnError>({
@@ -5473,7 +5473,8 @@ export type ErrorResponse = {
5473
5473
  /**
5474
5474
  * Additional structured context (e.g. field-level validation errors), for example
5475
5475
  * `privateReplyConsumed` on the private-reply endpoint's 400 when the comment's
5476
- * single reply is already spent.
5476
+ * single reply is already spent, and `privateReplyOutcome: "unknown"` on its 502 when Meta
5477
+ * answered a server error and the reply may have been delivered.
5477
5478
  *
5478
5479
  * On a Google Ads 429 it carries `quotaExhausted: true`, which marks the failure as
5479
5480
  * Google's own ads quota rather than a Zernio rate limit, so you can keep calling