@zernio/node 0.2.866 → 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 CHANGED
@@ -19749,14 +19749,9 @@ type ConnectWhatsAppEmbeddedSignupData = {
19749
19749
  */
19750
19750
  expectedPhoneNumber?: string;
19751
19751
  /**
19752
- * Hosted signup page only. When present, the response also carries `redirectUrl`, the URL the user should land on, with the outcome mapped exactly like the redirect flow (success params, or `error` and `platform` with the same values). Must be an absolute http(s) URL or a custom app scheme.
19752
+ * Hosted signup page only. When present, the response also carries `redirectUrl`, the URL the user should land on, with the outcome mapped exactly like the redirect flow (success params, or `error` and `platform` with the same values). Must be an absolute http(s) URL or a custom app scheme. The legacy spelling `redirectUrl` remains accepted as an alias.
19753
19753
  */
19754
19754
  redirect_url?: string;
19755
- /**
19756
- * Alias of redirect_url, kept for existing callers
19757
- * @deprecated
19758
- */
19759
- redirectUrl?: string;
19760
19755
  /**
19761
19756
  * Hosted signup page only. Append the connect token to the success redirect, as the redirect flow does for API-key callers.
19762
19757
  */
@@ -22450,11 +22445,6 @@ type TestWebhookError = (unknown | {
22450
22445
  });
22451
22446
  type ListLogsData = {
22452
22447
  query?: {
22453
- /**
22454
- * Alias of accountId, kept for existing callers
22455
- * @deprecated
22456
- */
22457
- account_id?: string;
22458
22448
  /**
22459
22449
  * Filter by connected account ID
22460
22450
  */
@@ -22463,11 +22453,6 @@ type ListLogsData = {
22463
22453
  * Filter by action (e.g., post.published, message.sent, account.connected, webhook.delivered)
22464
22454
  */
22465
22455
  action?: string;
22466
- /**
22467
- * Alias of apiKeyId, kept for existing callers
22468
- * @deprecated
22469
- */
22470
- api_key_id?: string;
22471
22456
  /**
22472
22457
  * Filter by the API key that made the request (api_request logs)
22473
22458
  */
@@ -22484,11 +22469,6 @@ type ListLogsData = {
22484
22469
  * Precise start instant (ISO 8601); narrows within the day range
22485
22470
  */
22486
22471
  from?: string;
22487
- /**
22488
- * Alias of includeReadReceipts, kept for existing callers
22489
- * @deprecated
22490
- */
22491
- include_read_receipts?: boolean;
22492
22472
  /**
22493
22473
  * Include message.read / message.delivered events (hidden by default for messaging logs)
22494
22474
  */
@@ -22501,11 +22481,6 @@ type ListLogsData = {
22501
22481
  * Filter by platform
22502
22482
  */
22503
22483
  platform?: 'tiktok' | 'instagram' | 'whatsapp' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'all';
22504
- /**
22505
- * Alias of requestId, kept for existing callers
22506
- * @deprecated
22507
- */
22508
- request_id?: string;
22509
22484
  /**
22510
22485
  * Correlation ID. Returns every log spawned by a single API request
22511
22486
  */
@@ -22522,11 +22497,6 @@ type ListLogsData = {
22522
22497
  * Filter by status
22523
22498
  */
22524
22499
  status?: 'success' | 'failed' | 'pending' | 'skipped' | 'all';
22525
- /**
22526
- * Alias of statusCode, kept for existing callers
22527
- * @deprecated
22528
- */
22529
- status_code?: number;
22530
22500
  /**
22531
22501
  * Filter by exact HTTP status code (api_request logs)
22532
22502
  */
package/dist/index.d.ts CHANGED
@@ -19749,14 +19749,9 @@ type ConnectWhatsAppEmbeddedSignupData = {
19749
19749
  */
19750
19750
  expectedPhoneNumber?: string;
19751
19751
  /**
19752
- * Hosted signup page only. When present, the response also carries `redirectUrl`, the URL the user should land on, with the outcome mapped exactly like the redirect flow (success params, or `error` and `platform` with the same values). Must be an absolute http(s) URL or a custom app scheme.
19752
+ * Hosted signup page only. When present, the response also carries `redirectUrl`, the URL the user should land on, with the outcome mapped exactly like the redirect flow (success params, or `error` and `platform` with the same values). Must be an absolute http(s) URL or a custom app scheme. The legacy spelling `redirectUrl` remains accepted as an alias.
19753
19753
  */
19754
19754
  redirect_url?: string;
19755
- /**
19756
- * Alias of redirect_url, kept for existing callers
19757
- * @deprecated
19758
- */
19759
- redirectUrl?: string;
19760
19755
  /**
19761
19756
  * Hosted signup page only. Append the connect token to the success redirect, as the redirect flow does for API-key callers.
19762
19757
  */
@@ -22450,11 +22445,6 @@ type TestWebhookError = (unknown | {
22450
22445
  });
22451
22446
  type ListLogsData = {
22452
22447
  query?: {
22453
- /**
22454
- * Alias of accountId, kept for existing callers
22455
- * @deprecated
22456
- */
22457
- account_id?: string;
22458
22448
  /**
22459
22449
  * Filter by connected account ID
22460
22450
  */
@@ -22463,11 +22453,6 @@ type ListLogsData = {
22463
22453
  * Filter by action (e.g., post.published, message.sent, account.connected, webhook.delivered)
22464
22454
  */
22465
22455
  action?: string;
22466
- /**
22467
- * Alias of apiKeyId, kept for existing callers
22468
- * @deprecated
22469
- */
22470
- api_key_id?: string;
22471
22456
  /**
22472
22457
  * Filter by the API key that made the request (api_request logs)
22473
22458
  */
@@ -22484,11 +22469,6 @@ type ListLogsData = {
22484
22469
  * Precise start instant (ISO 8601); narrows within the day range
22485
22470
  */
22486
22471
  from?: string;
22487
- /**
22488
- * Alias of includeReadReceipts, kept for existing callers
22489
- * @deprecated
22490
- */
22491
- include_read_receipts?: boolean;
22492
22472
  /**
22493
22473
  * Include message.read / message.delivered events (hidden by default for messaging logs)
22494
22474
  */
@@ -22501,11 +22481,6 @@ type ListLogsData = {
22501
22481
  * Filter by platform
22502
22482
  */
22503
22483
  platform?: 'tiktok' | 'instagram' | 'whatsapp' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'all';
22504
- /**
22505
- * Alias of requestId, kept for existing callers
22506
- * @deprecated
22507
- */
22508
- request_id?: string;
22509
22484
  /**
22510
22485
  * Correlation ID. Returns every log spawned by a single API request
22511
22486
  */
@@ -22522,11 +22497,6 @@ type ListLogsData = {
22522
22497
  * Filter by status
22523
22498
  */
22524
22499
  status?: 'success' | 'failed' | 'pending' | 'skipped' | 'all';
22525
- /**
22526
- * Alias of statusCode, kept for existing callers
22527
- * @deprecated
22528
- */
22529
- status_code?: number;
22530
22500
  /**
22531
22501
  * Filter by exact HTTP status code (api_request logs)
22532
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.866",
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.866",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.866",
3
+ "version": "0.2.868",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -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>) => {
@@ -18949,14 +18949,9 @@ export type ConnectWhatsAppEmbeddedSignupData = {
18949
18949
  */
18950
18950
  expectedPhoneNumber?: string;
18951
18951
  /**
18952
- * Hosted signup page only. When present, the response also carries `redirectUrl`, the URL the user should land on, with the outcome mapped exactly like the redirect flow (success params, or `error` and `platform` with the same values). Must be an absolute http(s) URL or a custom app scheme.
18952
+ * Hosted signup page only. When present, the response also carries `redirectUrl`, the URL the user should land on, with the outcome mapped exactly like the redirect flow (success params, or `error` and `platform` with the same values). Must be an absolute http(s) URL or a custom app scheme. The legacy spelling `redirectUrl` remains accepted as an alias.
18953
18953
  */
18954
18954
  redirect_url?: string;
18955
- /**
18956
- * Alias of redirect_url, kept for existing callers
18957
- * @deprecated
18958
- */
18959
- redirectUrl?: string;
18960
18955
  /**
18961
18956
  * Hosted signup page only. Append the connect token to the success redirect, as the redirect flow does for API-key callers.
18962
18957
  */
@@ -21895,11 +21890,6 @@ export type TestWebhookError = (unknown | {
21895
21890
 
21896
21891
  export type ListLogsData = {
21897
21892
  query?: {
21898
- /**
21899
- * Alias of accountId, kept for existing callers
21900
- * @deprecated
21901
- */
21902
- account_id?: string;
21903
21893
  /**
21904
21894
  * Filter by connected account ID
21905
21895
  */
@@ -21908,11 +21898,6 @@ export type ListLogsData = {
21908
21898
  * Filter by action (e.g., post.published, message.sent, account.connected, webhook.delivered)
21909
21899
  */
21910
21900
  action?: string;
21911
- /**
21912
- * Alias of apiKeyId, kept for existing callers
21913
- * @deprecated
21914
- */
21915
- api_key_id?: string;
21916
21901
  /**
21917
21902
  * Filter by the API key that made the request (api_request logs)
21918
21903
  */
@@ -21929,11 +21914,6 @@ export type ListLogsData = {
21929
21914
  * Precise start instant (ISO 8601); narrows within the day range
21930
21915
  */
21931
21916
  from?: string;
21932
- /**
21933
- * Alias of includeReadReceipts, kept for existing callers
21934
- * @deprecated
21935
- */
21936
- include_read_receipts?: boolean;
21937
21917
  /**
21938
21918
  * Include message.read / message.delivered events (hidden by default for messaging logs)
21939
21919
  */
@@ -21946,11 +21926,6 @@ export type ListLogsData = {
21946
21926
  * Filter by platform
21947
21927
  */
21948
21928
  platform?: 'tiktok' | 'instagram' | 'whatsapp' | 'facebook' | 'youtube' | 'linkedin' | 'twitter' | 'threads' | 'pinterest' | 'reddit' | 'bluesky' | 'googlebusiness' | 'telegram' | 'snapchat' | 'all';
21949
- /**
21950
- * Alias of requestId, kept for existing callers
21951
- * @deprecated
21952
- */
21953
- request_id?: string;
21954
21929
  /**
21955
21930
  * Correlation ID. Returns every log spawned by a single API request
21956
21931
  */
@@ -21967,11 +21942,6 @@ export type ListLogsData = {
21967
21942
  * Filter by status
21968
21943
  */
21969
21944
  status?: 'success' | 'failed' | 'pending' | 'skipped' | 'all';
21970
- /**
21971
- * Alias of statusCode, kept for existing callers
21972
- * @deprecated
21973
- */
21974
- status_code?: number;
21975
21945
  /**
21976
21946
  * Filter by exact HTTP status code (api_request logs)
21977
21947
  */