@zernio/node 0.2.1061 → 0.2.1063

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
@@ -19158,6 +19158,10 @@ type DeleteProfileError = (unknown | ErrorResponse | {
19158
19158
  });
19159
19159
  type ListAccountsData = {
19160
19160
  query?: {
19161
+ /**
19162
+ * Only accounts of this kind. ads = ad accounts (Meta, Google, LinkedIn, Pinterest, TikTok, X, OpenAI), communication = WhatsApp, Telegram, Discord, Slack and iMessage, blogs = Shopify and WordPress, social = every other platform.
19163
+ */
19164
+ category?: 'social' | 'ads' | 'communication' | 'blogs';
19161
19165
  /**
19162
19166
  * When true, includes accounts from over-limit profiles.
19163
19167
  */
@@ -19167,6 +19171,10 @@ type ListAccountsData = {
19167
19171
  *
19168
19172
  */
19169
19173
  limit?: number;
19174
+ /**
19175
+ * Direction for `sort`.
19176
+ */
19177
+ order?: 'asc' | 'desc';
19170
19178
  /**
19171
19179
  * Page number (1-based). Must be provided together with limit to enable server-side pagination; sending only one of the two returns 400. Omit both for all accounts.
19172
19180
  *
@@ -19188,6 +19196,14 @@ type ListAccountsData = {
19188
19196
  * Comma-separated profile IDs (up to 50) to preview, together with perProfile. The response then also carries `profileTotals`.
19189
19197
  */
19190
19198
  profileIds?: string;
19199
+ /**
19200
+ * Case-insensitive match on the account username, display name or platform user id, or an exact account id. Combine with page/limit to paginate the matches.
19201
+ */
19202
+ search?: string;
19203
+ /**
19204
+ * Sort a paginated listing (page/limit) by account name, platform, profile name, status (accounts needing a reconnect first when ascending) or connection date. Ties keep the default order: platform, then newest first.
19205
+ */
19206
+ sort?: 'account' | 'platform' | 'profile' | 'status' | 'connected';
19191
19207
  /**
19192
19208
  * Filter accounts by connection status. `connected` returns healthy accounts; `disconnected` returns accounts that need reconnection (per the same reconnection check surfaced in the dashboard). Omit to return accounts in any status. When combined with page/limit, pagination totals reflect the filtered result set.
19193
19209
  *
package/dist/index.d.ts CHANGED
@@ -19158,6 +19158,10 @@ type DeleteProfileError = (unknown | ErrorResponse | {
19158
19158
  });
19159
19159
  type ListAccountsData = {
19160
19160
  query?: {
19161
+ /**
19162
+ * Only accounts of this kind. ads = ad accounts (Meta, Google, LinkedIn, Pinterest, TikTok, X, OpenAI), communication = WhatsApp, Telegram, Discord, Slack and iMessage, blogs = Shopify and WordPress, social = every other platform.
19163
+ */
19164
+ category?: 'social' | 'ads' | 'communication' | 'blogs';
19161
19165
  /**
19162
19166
  * When true, includes accounts from over-limit profiles.
19163
19167
  */
@@ -19167,6 +19171,10 @@ type ListAccountsData = {
19167
19171
  *
19168
19172
  */
19169
19173
  limit?: number;
19174
+ /**
19175
+ * Direction for `sort`.
19176
+ */
19177
+ order?: 'asc' | 'desc';
19170
19178
  /**
19171
19179
  * Page number (1-based). Must be provided together with limit to enable server-side pagination; sending only one of the two returns 400. Omit both for all accounts.
19172
19180
  *
@@ -19188,6 +19196,14 @@ type ListAccountsData = {
19188
19196
  * Comma-separated profile IDs (up to 50) to preview, together with perProfile. The response then also carries `profileTotals`.
19189
19197
  */
19190
19198
  profileIds?: string;
19199
+ /**
19200
+ * Case-insensitive match on the account username, display name or platform user id, or an exact account id. Combine with page/limit to paginate the matches.
19201
+ */
19202
+ search?: string;
19203
+ /**
19204
+ * Sort a paginated listing (page/limit) by account name, platform, profile name, status (accounts needing a reconnect first when ascending) or connection date. Ties keep the default order: platform, then newest first.
19205
+ */
19206
+ sort?: 'account' | 'platform' | 'profile' | 'status' | 'connected';
19191
19207
  /**
19192
19208
  * Filter accounts by connection status. `connected` returns healthy accounts; `disconnected` returns accounts that need reconnection (per the same reconnection check surfaced in the dashboard). Omit to return accounts in any status. When combined with page/limit, pagination totals reflect the filtered result set.
19193
19209
  *
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.1061",
39
+ version: "0.2.1063",
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.1061",
8
+ version: "0.2.1063",
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.1061",
3
+ "version": "0.2.1063",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -5535,7 +5535,8 @@ export const listImessageSenderOrders = <ThrowOnError extends boolean = false>(o
5535
5535
  * the response is 202 with the lifecycle object; poll
5536
5536
  * GET /v1/imessage/senders/{senderId} or subscribe to the
5537
5537
  * account.connected webhook. Billing starts at activation (monthly per
5538
- * sender, no proration). Requires usage-based billing and a valid
5538
+ * sender, no proration); when the account spend threshold is below the
5539
+ * sender price, the first month is charged before the number is bought. Requires usage-based billing and a valid
5539
5540
  * payment method. Pass purchaseIntentId to make retries idempotent —
5540
5541
  * the provider-side order is never retried automatically. Ordered phone
5541
5542
  * senders include SMS/RCS fallback with call forwarding and the ability
@@ -18023,6 +18023,10 @@ export type DeleteProfileError = (unknown | ErrorResponse | {
18023
18023
 
18024
18024
  export type ListAccountsData = {
18025
18025
  query?: {
18026
+ /**
18027
+ * Only accounts of this kind. ads = ad accounts (Meta, Google, LinkedIn, Pinterest, TikTok, X, OpenAI), communication = WhatsApp, Telegram, Discord, Slack and iMessage, blogs = Shopify and WordPress, social = every other platform.
18028
+ */
18029
+ category?: 'social' | 'ads' | 'communication' | 'blogs';
18026
18030
  /**
18027
18031
  * When true, includes accounts from over-limit profiles.
18028
18032
  */
@@ -18032,6 +18036,10 @@ export type ListAccountsData = {
18032
18036
  *
18033
18037
  */
18034
18038
  limit?: number;
18039
+ /**
18040
+ * Direction for `sort`.
18041
+ */
18042
+ order?: 'asc' | 'desc';
18035
18043
  /**
18036
18044
  * Page number (1-based). Must be provided together with limit to enable server-side pagination; sending only one of the two returns 400. Omit both for all accounts.
18037
18045
  *
@@ -18053,6 +18061,14 @@ export type ListAccountsData = {
18053
18061
  * Comma-separated profile IDs (up to 50) to preview, together with perProfile. The response then also carries `profileTotals`.
18054
18062
  */
18055
18063
  profileIds?: string;
18064
+ /**
18065
+ * Case-insensitive match on the account username, display name or platform user id, or an exact account id. Combine with page/limit to paginate the matches.
18066
+ */
18067
+ search?: string;
18068
+ /**
18069
+ * Sort a paginated listing (page/limit) by account name, platform, profile name, status (accounts needing a reconnect first when ascending) or connection date. Ties keep the default order: platform, then newest first.
18070
+ */
18071
+ sort?: 'account' | 'platform' | 'profile' | 'status' | 'connected';
18056
18072
  /**
18057
18073
  * Filter accounts by connection status. `connected` returns healthy accounts; `disconnected` returns accounts that need reconnection (per the same reconnection check surfaced in the dashboard). Omit to return accounts in any status. When combined with page/limit, pagination totals reflect the filtered result set.
18058
18074
  *