@zernio/node 0.2.867 → 0.2.868
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 +0 -25
- package/dist/index.d.ts +0 -25
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +2 -0
- package/src/generated/types.gen.ts +0 -25
package/dist/index.d.mts
CHANGED
|
@@ -22445,11 +22445,6 @@ type TestWebhookError = (unknown | {
|
|
|
22445
22445
|
});
|
|
22446
22446
|
type ListLogsData = {
|
|
22447
22447
|
query?: {
|
|
22448
|
-
/**
|
|
22449
|
-
* Alias of accountId, kept for existing callers
|
|
22450
|
-
* @deprecated
|
|
22451
|
-
*/
|
|
22452
|
-
account_id?: string;
|
|
22453
22448
|
/**
|
|
22454
22449
|
* Filter by connected account ID
|
|
22455
22450
|
*/
|
|
@@ -22458,11 +22453,6 @@ type ListLogsData = {
|
|
|
22458
22453
|
* Filter by action (e.g., post.published, message.sent, account.connected, webhook.delivered)
|
|
22459
22454
|
*/
|
|
22460
22455
|
action?: string;
|
|
22461
|
-
/**
|
|
22462
|
-
* Alias of apiKeyId, kept for existing callers
|
|
22463
|
-
* @deprecated
|
|
22464
|
-
*/
|
|
22465
|
-
api_key_id?: string;
|
|
22466
22456
|
/**
|
|
22467
22457
|
* Filter by the API key that made the request (api_request logs)
|
|
22468
22458
|
*/
|
|
@@ -22479,11 +22469,6 @@ type ListLogsData = {
|
|
|
22479
22469
|
* Precise start instant (ISO 8601); narrows within the day range
|
|
22480
22470
|
*/
|
|
22481
22471
|
from?: string;
|
|
22482
|
-
/**
|
|
22483
|
-
* Alias of includeReadReceipts, kept for existing callers
|
|
22484
|
-
* @deprecated
|
|
22485
|
-
*/
|
|
22486
|
-
include_read_receipts?: boolean;
|
|
22487
22472
|
/**
|
|
22488
22473
|
* Include message.read / message.delivered events (hidden by default for messaging logs)
|
|
22489
22474
|
*/
|
|
@@ -22496,11 +22481,6 @@ type ListLogsData = {
|
|
|
22496
22481
|
* Filter by platform
|
|
22497
22482
|
*/
|
|
22498
22483
|
platform?: 'tiktok' | 'instagram' | 'whatsapp' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'all';
|
|
22499
|
-
/**
|
|
22500
|
-
* Alias of requestId, kept for existing callers
|
|
22501
|
-
* @deprecated
|
|
22502
|
-
*/
|
|
22503
|
-
request_id?: string;
|
|
22504
22484
|
/**
|
|
22505
22485
|
* Correlation ID. Returns every log spawned by a single API request
|
|
22506
22486
|
*/
|
|
@@ -22517,11 +22497,6 @@ type ListLogsData = {
|
|
|
22517
22497
|
* Filter by status
|
|
22518
22498
|
*/
|
|
22519
22499
|
status?: 'success' | 'failed' | 'pending' | 'skipped' | 'all';
|
|
22520
|
-
/**
|
|
22521
|
-
* Alias of statusCode, kept for existing callers
|
|
22522
|
-
* @deprecated
|
|
22523
|
-
*/
|
|
22524
|
-
status_code?: number;
|
|
22525
22500
|
/**
|
|
22526
22501
|
* Filter by exact HTTP status code (api_request logs)
|
|
22527
22502
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -22445,11 +22445,6 @@ type TestWebhookError = (unknown | {
|
|
|
22445
22445
|
});
|
|
22446
22446
|
type ListLogsData = {
|
|
22447
22447
|
query?: {
|
|
22448
|
-
/**
|
|
22449
|
-
* Alias of accountId, kept for existing callers
|
|
22450
|
-
* @deprecated
|
|
22451
|
-
*/
|
|
22452
|
-
account_id?: string;
|
|
22453
22448
|
/**
|
|
22454
22449
|
* Filter by connected account ID
|
|
22455
22450
|
*/
|
|
@@ -22458,11 +22453,6 @@ type ListLogsData = {
|
|
|
22458
22453
|
* Filter by action (e.g., post.published, message.sent, account.connected, webhook.delivered)
|
|
22459
22454
|
*/
|
|
22460
22455
|
action?: string;
|
|
22461
|
-
/**
|
|
22462
|
-
* Alias of apiKeyId, kept for existing callers
|
|
22463
|
-
* @deprecated
|
|
22464
|
-
*/
|
|
22465
|
-
api_key_id?: string;
|
|
22466
22456
|
/**
|
|
22467
22457
|
* Filter by the API key that made the request (api_request logs)
|
|
22468
22458
|
*/
|
|
@@ -22479,11 +22469,6 @@ type ListLogsData = {
|
|
|
22479
22469
|
* Precise start instant (ISO 8601); narrows within the day range
|
|
22480
22470
|
*/
|
|
22481
22471
|
from?: string;
|
|
22482
|
-
/**
|
|
22483
|
-
* Alias of includeReadReceipts, kept for existing callers
|
|
22484
|
-
* @deprecated
|
|
22485
|
-
*/
|
|
22486
|
-
include_read_receipts?: boolean;
|
|
22487
22472
|
/**
|
|
22488
22473
|
* Include message.read / message.delivered events (hidden by default for messaging logs)
|
|
22489
22474
|
*/
|
|
@@ -22496,11 +22481,6 @@ type ListLogsData = {
|
|
|
22496
22481
|
* Filter by platform
|
|
22497
22482
|
*/
|
|
22498
22483
|
platform?: 'tiktok' | 'instagram' | 'whatsapp' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'all';
|
|
22499
|
-
/**
|
|
22500
|
-
* Alias of requestId, kept for existing callers
|
|
22501
|
-
* @deprecated
|
|
22502
|
-
*/
|
|
22503
|
-
request_id?: string;
|
|
22504
22484
|
/**
|
|
22505
22485
|
* Correlation ID. Returns every log spawned by a single API request
|
|
22506
22486
|
*/
|
|
@@ -22517,11 +22497,6 @@ type ListLogsData = {
|
|
|
22517
22497
|
* Filter by status
|
|
22518
22498
|
*/
|
|
22519
22499
|
status?: 'success' | 'failed' | 'pending' | 'skipped' | 'all';
|
|
22520
|
-
/**
|
|
22521
|
-
* Alias of statusCode, kept for existing callers
|
|
22522
|
-
* @deprecated
|
|
22523
|
-
*/
|
|
22524
|
-
status_code?: number;
|
|
22525
22500
|
/**
|
|
22526
22501
|
* Filter by exact HTTP status code (api_request logs)
|
|
22527
22502
|
*/
|
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: "@zernio/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.868",
|
|
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: "@zernio/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.868",
|
|
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
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -3668,6 +3668,8 @@ export const testWebhook = <ThrowOnError extends boolean = false>(options: Optio
|
|
|
3668
3668
|
* List activity logs
|
|
3669
3669
|
* Unified logs endpoint. Returns logs for publishing, connections, webhooks, and messaging.
|
|
3670
3670
|
* Filter by type, platform, status, and time range. Logs are retained for 90 days.
|
|
3671
|
+
* Legacy query aliases remain accepted: `account_id` for `accountId`, `request_id` for `requestId`,
|
|
3672
|
+
* `status_code` for `statusCode`, `api_key_id` for `apiKeyId`, and `include_read_receipts` for `includeReadReceipts`.
|
|
3671
3673
|
*
|
|
3672
3674
|
*/
|
|
3673
3675
|
export const listLogs = <ThrowOnError extends boolean = false>(options?: OptionsLegacyParser<ListLogsData, ThrowOnError>) => {
|
|
@@ -21890,11 +21890,6 @@ export type TestWebhookError = (unknown | {
|
|
|
21890
21890
|
|
|
21891
21891
|
export type ListLogsData = {
|
|
21892
21892
|
query?: {
|
|
21893
|
-
/**
|
|
21894
|
-
* Alias of accountId, kept for existing callers
|
|
21895
|
-
* @deprecated
|
|
21896
|
-
*/
|
|
21897
|
-
account_id?: string;
|
|
21898
21893
|
/**
|
|
21899
21894
|
* Filter by connected account ID
|
|
21900
21895
|
*/
|
|
@@ -21903,11 +21898,6 @@ export type ListLogsData = {
|
|
|
21903
21898
|
* Filter by action (e.g., post.published, message.sent, account.connected, webhook.delivered)
|
|
21904
21899
|
*/
|
|
21905
21900
|
action?: string;
|
|
21906
|
-
/**
|
|
21907
|
-
* Alias of apiKeyId, kept for existing callers
|
|
21908
|
-
* @deprecated
|
|
21909
|
-
*/
|
|
21910
|
-
api_key_id?: string;
|
|
21911
21901
|
/**
|
|
21912
21902
|
* Filter by the API key that made the request (api_request logs)
|
|
21913
21903
|
*/
|
|
@@ -21924,11 +21914,6 @@ export type ListLogsData = {
|
|
|
21924
21914
|
* Precise start instant (ISO 8601); narrows within the day range
|
|
21925
21915
|
*/
|
|
21926
21916
|
from?: string;
|
|
21927
|
-
/**
|
|
21928
|
-
* Alias of includeReadReceipts, kept for existing callers
|
|
21929
|
-
* @deprecated
|
|
21930
|
-
*/
|
|
21931
|
-
include_read_receipts?: boolean;
|
|
21932
21917
|
/**
|
|
21933
21918
|
* Include message.read / message.delivered events (hidden by default for messaging logs)
|
|
21934
21919
|
*/
|
|
@@ -21941,11 +21926,6 @@ export type ListLogsData = {
|
|
|
21941
21926
|
* Filter by platform
|
|
21942
21927
|
*/
|
|
21943
21928
|
platform?: 'tiktok' | 'instagram' | 'whatsapp' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'all';
|
|
21944
|
-
/**
|
|
21945
|
-
* Alias of requestId, kept for existing callers
|
|
21946
|
-
* @deprecated
|
|
21947
|
-
*/
|
|
21948
|
-
request_id?: string;
|
|
21949
21929
|
/**
|
|
21950
21930
|
* Correlation ID. Returns every log spawned by a single API request
|
|
21951
21931
|
*/
|
|
@@ -21962,11 +21942,6 @@ export type ListLogsData = {
|
|
|
21962
21942
|
* Filter by status
|
|
21963
21943
|
*/
|
|
21964
21944
|
status?: 'success' | 'failed' | 'pending' | 'skipped' | 'all';
|
|
21965
|
-
/**
|
|
21966
|
-
* Alias of statusCode, kept for existing callers
|
|
21967
|
-
* @deprecated
|
|
21968
|
-
*/
|
|
21969
|
-
status_code?: number;
|
|
21970
21945
|
/**
|
|
21971
21946
|
* Filter by exact HTTP status code (api_request logs)
|
|
21972
21947
|
*/
|