@getlatedev/node 0.2.935 → 0.2.936
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 +24 -0
- package/dist/index.d.ts +24 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +24 -0
package/dist/index.d.mts
CHANGED
|
@@ -12375,6 +12375,14 @@ type WebhookPayloadPost = {
|
|
|
12375
12375
|
platformPostId?: string;
|
|
12376
12376
|
publishedUrl?: string;
|
|
12377
12377
|
error?: string;
|
|
12378
|
+
/**
|
|
12379
|
+
* Present when this target failed. Same taxonomy as `platforms[].errorCategory` on GET /v1/posts.
|
|
12380
|
+
*/
|
|
12381
|
+
errorCategory?: 'auth_expired' | 'user_content' | 'user_abuse' | 'account_issue' | 'platform_rejected' | 'platform_error' | 'platform_rate_limit' | 'quota_exhausted' | 'system_error' | 'unknown';
|
|
12382
|
+
/**
|
|
12383
|
+
* Present when this target failed. Who must act: user, platform or system (Zernio).
|
|
12384
|
+
*/
|
|
12385
|
+
errorSource?: 'user' | 'platform' | 'system';
|
|
12378
12386
|
platformError?: PostPlatformError;
|
|
12379
12387
|
}>;
|
|
12380
12388
|
/**
|
|
@@ -12438,6 +12446,14 @@ type WebhookPayloadPostPlatform = {
|
|
|
12438
12446
|
platformPostId?: string;
|
|
12439
12447
|
publishedUrl?: string;
|
|
12440
12448
|
error?: string;
|
|
12449
|
+
/**
|
|
12450
|
+
* Present when this target failed. Same taxonomy as `platforms[].errorCategory` on GET /v1/posts.
|
|
12451
|
+
*/
|
|
12452
|
+
errorCategory?: 'auth_expired' | 'user_content' | 'user_abuse' | 'account_issue' | 'platform_rejected' | 'platform_error' | 'platform_rate_limit' | 'quota_exhausted' | 'system_error' | 'unknown';
|
|
12453
|
+
/**
|
|
12454
|
+
* Present when this target failed. Who must act: user, platform or system (Zernio).
|
|
12455
|
+
*/
|
|
12456
|
+
errorSource?: 'user' | 'platform' | 'system';
|
|
12441
12457
|
platformError?: PostPlatformError;
|
|
12442
12458
|
}>;
|
|
12443
12459
|
/**
|
|
@@ -12471,6 +12487,14 @@ type WebhookPayloadPostPlatform = {
|
|
|
12471
12487
|
* Error message from the platform. Present on `failed` only.
|
|
12472
12488
|
*/
|
|
12473
12489
|
error?: string;
|
|
12490
|
+
/**
|
|
12491
|
+
* Error category for programmatic handling. Present on `failed` only. Same taxonomy as `platforms[].errorCategory` on GET /v1/posts.
|
|
12492
|
+
*/
|
|
12493
|
+
errorCategory?: 'auth_expired' | 'user_content' | 'user_abuse' | 'account_issue' | 'platform_rejected' | 'platform_error' | 'platform_rate_limit' | 'quota_exhausted' | 'system_error' | 'unknown';
|
|
12494
|
+
/**
|
|
12495
|
+
* Who must act on the failure: user (fix content or reconnect), platform (outage or policy), system (Zernio). Present on `failed` only.
|
|
12496
|
+
*/
|
|
12497
|
+
errorSource?: 'user' | 'platform' | 'system';
|
|
12474
12498
|
/**
|
|
12475
12499
|
* When the platform-side deletion was detected by Zernio sync (ISO 8601). Present only on `post.platform.deleted`.
|
|
12476
12500
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -12375,6 +12375,14 @@ type WebhookPayloadPost = {
|
|
|
12375
12375
|
platformPostId?: string;
|
|
12376
12376
|
publishedUrl?: string;
|
|
12377
12377
|
error?: string;
|
|
12378
|
+
/**
|
|
12379
|
+
* Present when this target failed. Same taxonomy as `platforms[].errorCategory` on GET /v1/posts.
|
|
12380
|
+
*/
|
|
12381
|
+
errorCategory?: 'auth_expired' | 'user_content' | 'user_abuse' | 'account_issue' | 'platform_rejected' | 'platform_error' | 'platform_rate_limit' | 'quota_exhausted' | 'system_error' | 'unknown';
|
|
12382
|
+
/**
|
|
12383
|
+
* Present when this target failed. Who must act: user, platform or system (Zernio).
|
|
12384
|
+
*/
|
|
12385
|
+
errorSource?: 'user' | 'platform' | 'system';
|
|
12378
12386
|
platformError?: PostPlatformError;
|
|
12379
12387
|
}>;
|
|
12380
12388
|
/**
|
|
@@ -12438,6 +12446,14 @@ type WebhookPayloadPostPlatform = {
|
|
|
12438
12446
|
platformPostId?: string;
|
|
12439
12447
|
publishedUrl?: string;
|
|
12440
12448
|
error?: string;
|
|
12449
|
+
/**
|
|
12450
|
+
* Present when this target failed. Same taxonomy as `platforms[].errorCategory` on GET /v1/posts.
|
|
12451
|
+
*/
|
|
12452
|
+
errorCategory?: 'auth_expired' | 'user_content' | 'user_abuse' | 'account_issue' | 'platform_rejected' | 'platform_error' | 'platform_rate_limit' | 'quota_exhausted' | 'system_error' | 'unknown';
|
|
12453
|
+
/**
|
|
12454
|
+
* Present when this target failed. Who must act: user, platform or system (Zernio).
|
|
12455
|
+
*/
|
|
12456
|
+
errorSource?: 'user' | 'platform' | 'system';
|
|
12441
12457
|
platformError?: PostPlatformError;
|
|
12442
12458
|
}>;
|
|
12443
12459
|
/**
|
|
@@ -12471,6 +12487,14 @@ type WebhookPayloadPostPlatform = {
|
|
|
12471
12487
|
* Error message from the platform. Present on `failed` only.
|
|
12472
12488
|
*/
|
|
12473
12489
|
error?: string;
|
|
12490
|
+
/**
|
|
12491
|
+
* Error category for programmatic handling. Present on `failed` only. Same taxonomy as `platforms[].errorCategory` on GET /v1/posts.
|
|
12492
|
+
*/
|
|
12493
|
+
errorCategory?: 'auth_expired' | 'user_content' | 'user_abuse' | 'account_issue' | 'platform_rejected' | 'platform_error' | 'platform_rate_limit' | 'quota_exhausted' | 'system_error' | 'unknown';
|
|
12494
|
+
/**
|
|
12495
|
+
* Who must act on the failure: user (fix content or reconnect), platform (outage or policy), system (Zernio). Present on `failed` only.
|
|
12496
|
+
*/
|
|
12497
|
+
errorSource?: 'user' | 'platform' | 'system';
|
|
12474
12498
|
/**
|
|
12475
12499
|
* When the platform-side deletion was detected by Zernio sync (ISO 8601). Present only on `post.platform.deleted`.
|
|
12476
12500
|
*/
|
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.936",
|
|
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.936",
|
|
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
|
@@ -11100,6 +11100,14 @@ export type WebhookPayloadPost = {
|
|
|
11100
11100
|
platformPostId?: string;
|
|
11101
11101
|
publishedUrl?: string;
|
|
11102
11102
|
error?: string;
|
|
11103
|
+
/**
|
|
11104
|
+
* Present when this target failed. Same taxonomy as `platforms[].errorCategory` on GET /v1/posts.
|
|
11105
|
+
*/
|
|
11106
|
+
errorCategory?: 'auth_expired' | 'user_content' | 'user_abuse' | 'account_issue' | 'platform_rejected' | 'platform_error' | 'platform_rate_limit' | 'quota_exhausted' | 'system_error' | 'unknown';
|
|
11107
|
+
/**
|
|
11108
|
+
* Present when this target failed. Who must act: user, platform or system (Zernio).
|
|
11109
|
+
*/
|
|
11110
|
+
errorSource?: 'user' | 'platform' | 'system';
|
|
11103
11111
|
platformError?: PostPlatformError;
|
|
11104
11112
|
}>;
|
|
11105
11113
|
/**
|
|
@@ -11165,6 +11173,14 @@ export type WebhookPayloadPostPlatform = {
|
|
|
11165
11173
|
platformPostId?: string;
|
|
11166
11174
|
publishedUrl?: string;
|
|
11167
11175
|
error?: string;
|
|
11176
|
+
/**
|
|
11177
|
+
* Present when this target failed. Same taxonomy as `platforms[].errorCategory` on GET /v1/posts.
|
|
11178
|
+
*/
|
|
11179
|
+
errorCategory?: 'auth_expired' | 'user_content' | 'user_abuse' | 'account_issue' | 'platform_rejected' | 'platform_error' | 'platform_rate_limit' | 'quota_exhausted' | 'system_error' | 'unknown';
|
|
11180
|
+
/**
|
|
11181
|
+
* Present when this target failed. Who must act: user, platform or system (Zernio).
|
|
11182
|
+
*/
|
|
11183
|
+
errorSource?: 'user' | 'platform' | 'system';
|
|
11168
11184
|
platformError?: PostPlatformError;
|
|
11169
11185
|
}>;
|
|
11170
11186
|
/**
|
|
@@ -11198,6 +11214,14 @@ export type WebhookPayloadPostPlatform = {
|
|
|
11198
11214
|
* Error message from the platform. Present on `failed` only.
|
|
11199
11215
|
*/
|
|
11200
11216
|
error?: string;
|
|
11217
|
+
/**
|
|
11218
|
+
* Error category for programmatic handling. Present on `failed` only. Same taxonomy as `platforms[].errorCategory` on GET /v1/posts.
|
|
11219
|
+
*/
|
|
11220
|
+
errorCategory?: 'auth_expired' | 'user_content' | 'user_abuse' | 'account_issue' | 'platform_rejected' | 'platform_error' | 'platform_rate_limit' | 'quota_exhausted' | 'system_error' | 'unknown';
|
|
11221
|
+
/**
|
|
11222
|
+
* Who must act on the failure: user (fix content or reconnect), platform (outage or policy), system (Zernio). Present on `failed` only.
|
|
11223
|
+
*/
|
|
11224
|
+
errorSource?: 'user' | 'platform' | 'system';
|
|
11201
11225
|
/**
|
|
11202
11226
|
* When the platform-side deletion was detected by Zernio sync (ISO 8601). Present only on `post.platform.deleted`.
|
|
11203
11227
|
*/
|