@zernio/node 0.2.1052 → 0.2.1054
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 +18 -0
- package/dist/index.d.ts +18 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +5 -3
- package/src/generated/types.gen.ts +18 -0
package/dist/index.d.mts
CHANGED
|
@@ -1973,6 +1973,12 @@ type AccountsListResponse = {
|
|
|
1973
1973
|
* Only present when page/limit params are provided
|
|
1974
1974
|
*/
|
|
1975
1975
|
pagination?: Pagination;
|
|
1976
|
+
/**
|
|
1977
|
+
* Only with profileIds and perProfile. Accounts matching the filters per profile ID; a profile with none is absent.
|
|
1978
|
+
*/
|
|
1979
|
+
profileTotals?: {
|
|
1980
|
+
[key: string]: (number);
|
|
1981
|
+
};
|
|
1976
1982
|
};
|
|
1977
1983
|
type AccountWithFollowerStats = SocialAccount & {
|
|
1978
1984
|
/**
|
|
@@ -10618,6 +10624,10 @@ type Profile = {
|
|
|
10618
10624
|
* Only present when includeOverLimit=true. Indicates if this profile exceeds the plan limit.
|
|
10619
10625
|
*/
|
|
10620
10626
|
isOverLimit?: boolean;
|
|
10627
|
+
/**
|
|
10628
|
+
* In the profile list. Connected accounts on the profile, including ones that need reconnecting; phone and SMS number internals and posting accounts hidden by an ads connect are not counted.
|
|
10629
|
+
*/
|
|
10630
|
+
accountCount?: number;
|
|
10621
10631
|
createdAt?: string;
|
|
10622
10632
|
};
|
|
10623
10633
|
type ProfileCreateResponse = {
|
|
@@ -19221,6 +19231,10 @@ type ListAccountsData = {
|
|
|
19221
19231
|
*
|
|
19222
19232
|
*/
|
|
19223
19233
|
page?: number;
|
|
19234
|
+
/**
|
|
19235
|
+
* Return a preview of each profile in profileIds: the newest account of every platform it has, topped up to at least N. Requires profileIds; cannot be combined with page and limit.
|
|
19236
|
+
*/
|
|
19237
|
+
perProfile?: number;
|
|
19224
19238
|
/**
|
|
19225
19239
|
* Filter accounts by platform (e.g. "instagram", "twitter").
|
|
19226
19240
|
*/
|
|
@@ -19229,6 +19243,10 @@ type ListAccountsData = {
|
|
|
19229
19243
|
* Filter accounts by profile ID. Must be a valid ObjectId.
|
|
19230
19244
|
*/
|
|
19231
19245
|
profileId?: string;
|
|
19246
|
+
/**
|
|
19247
|
+
* Comma-separated profile IDs (up to 50) to preview, together with perProfile. The response then also carries `profileTotals`.
|
|
19248
|
+
*/
|
|
19249
|
+
profileIds?: string;
|
|
19232
19250
|
/**
|
|
19233
19251
|
* 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.
|
|
19234
19252
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -1973,6 +1973,12 @@ type AccountsListResponse = {
|
|
|
1973
1973
|
* Only present when page/limit params are provided
|
|
1974
1974
|
*/
|
|
1975
1975
|
pagination?: Pagination;
|
|
1976
|
+
/**
|
|
1977
|
+
* Only with profileIds and perProfile. Accounts matching the filters per profile ID; a profile with none is absent.
|
|
1978
|
+
*/
|
|
1979
|
+
profileTotals?: {
|
|
1980
|
+
[key: string]: (number);
|
|
1981
|
+
};
|
|
1976
1982
|
};
|
|
1977
1983
|
type AccountWithFollowerStats = SocialAccount & {
|
|
1978
1984
|
/**
|
|
@@ -10618,6 +10624,10 @@ type Profile = {
|
|
|
10618
10624
|
* Only present when includeOverLimit=true. Indicates if this profile exceeds the plan limit.
|
|
10619
10625
|
*/
|
|
10620
10626
|
isOverLimit?: boolean;
|
|
10627
|
+
/**
|
|
10628
|
+
* In the profile list. Connected accounts on the profile, including ones that need reconnecting; phone and SMS number internals and posting accounts hidden by an ads connect are not counted.
|
|
10629
|
+
*/
|
|
10630
|
+
accountCount?: number;
|
|
10621
10631
|
createdAt?: string;
|
|
10622
10632
|
};
|
|
10623
10633
|
type ProfileCreateResponse = {
|
|
@@ -19221,6 +19231,10 @@ type ListAccountsData = {
|
|
|
19221
19231
|
*
|
|
19222
19232
|
*/
|
|
19223
19233
|
page?: number;
|
|
19234
|
+
/**
|
|
19235
|
+
* Return a preview of each profile in profileIds: the newest account of every platform it has, topped up to at least N. Requires profileIds; cannot be combined with page and limit.
|
|
19236
|
+
*/
|
|
19237
|
+
perProfile?: number;
|
|
19224
19238
|
/**
|
|
19225
19239
|
* Filter accounts by platform (e.g. "instagram", "twitter").
|
|
19226
19240
|
*/
|
|
@@ -19229,6 +19243,10 @@ type ListAccountsData = {
|
|
|
19229
19243
|
* Filter accounts by profile ID. Must be a valid ObjectId.
|
|
19230
19244
|
*/
|
|
19231
19245
|
profileId?: string;
|
|
19246
|
+
/**
|
|
19247
|
+
* Comma-separated profile IDs (up to 50) to preview, together with perProfile. The response then also carries `profileTotals`.
|
|
19248
|
+
*/
|
|
19249
|
+
profileIds?: string;
|
|
19232
19250
|
/**
|
|
19233
19251
|
* 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.
|
|
19234
19252
|
*
|
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.1054",
|
|
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.1054",
|
|
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
|
@@ -6142,9 +6142,11 @@ export const listBrandedCallingCallReasons = <ThrowOnError extends boolean = fal
|
|
|
6142
6142
|
* identity goes into carrier vetting on its own. Track it with `GET` or the
|
|
6143
6143
|
* `branded_calling.identity.status_updated` webhook.
|
|
6144
6144
|
*
|
|
6145
|
-
* Billing: $100 per identity per month
|
|
6146
|
-
*
|
|
6147
|
-
*
|
|
6145
|
+
* Billing: $100 per identity per month while it is verified. The first month is
|
|
6146
|
+
* charged when the carrier verifies the identity, never when it is filed: nothing
|
|
6147
|
+
* is charged while it is in our review or carrier vetting, or if it is rejected.
|
|
6148
|
+
* An edit that sends a verified identity back to vetting pauses the fee until it
|
|
6149
|
+
* is verified again. Branded calls add $0.10 each, counted
|
|
6148
6150
|
* on every outbound call from a verified branded number to a US destination
|
|
6149
6151
|
* (whether or not the callee's carrier displayed the branding); the surcharge
|
|
6150
6152
|
* shows as `brandedCallUSD` on the call's billing and in
|
|
@@ -10,6 +10,12 @@ export type AccountsListResponse = {
|
|
|
10
10
|
* Only present when page/limit params are provided
|
|
11
11
|
*/
|
|
12
12
|
pagination?: Pagination;
|
|
13
|
+
/**
|
|
14
|
+
* Only with profileIds and perProfile. Accounts matching the filters per profile ID; a profile with none is absent.
|
|
15
|
+
*/
|
|
16
|
+
profileTotals?: {
|
|
17
|
+
[key: string]: (number);
|
|
18
|
+
};
|
|
13
19
|
};
|
|
14
20
|
|
|
15
21
|
export type AccountWithFollowerStats = SocialAccount & {
|
|
@@ -9036,6 +9042,10 @@ export type Profile = {
|
|
|
9036
9042
|
* Only present when includeOverLimit=true. Indicates if this profile exceeds the plan limit.
|
|
9037
9043
|
*/
|
|
9038
9044
|
isOverLimit?: boolean;
|
|
9045
|
+
/**
|
|
9046
|
+
* In the profile list. Connected accounts on the profile, including ones that need reconnecting; phone and SMS number internals and posting accounts hidden by an ads connect are not counted.
|
|
9047
|
+
*/
|
|
9048
|
+
accountCount?: number;
|
|
9039
9049
|
createdAt?: string;
|
|
9040
9050
|
};
|
|
9041
9051
|
|
|
@@ -18087,6 +18097,10 @@ export type ListAccountsData = {
|
|
|
18087
18097
|
*
|
|
18088
18098
|
*/
|
|
18089
18099
|
page?: number;
|
|
18100
|
+
/**
|
|
18101
|
+
* Return a preview of each profile in profileIds: the newest account of every platform it has, topped up to at least N. Requires profileIds; cannot be combined with page and limit.
|
|
18102
|
+
*/
|
|
18103
|
+
perProfile?: number;
|
|
18090
18104
|
/**
|
|
18091
18105
|
* Filter accounts by platform (e.g. "instagram", "twitter").
|
|
18092
18106
|
*/
|
|
@@ -18095,6 +18109,10 @@ export type ListAccountsData = {
|
|
|
18095
18109
|
* Filter accounts by profile ID. Must be a valid ObjectId.
|
|
18096
18110
|
*/
|
|
18097
18111
|
profileId?: string;
|
|
18112
|
+
/**
|
|
18113
|
+
* Comma-separated profile IDs (up to 50) to preview, together with perProfile. The response then also carries `profileTotals`.
|
|
18114
|
+
*/
|
|
18115
|
+
profileIds?: string;
|
|
18098
18116
|
/**
|
|
18099
18117
|
* 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.
|
|
18100
18118
|
*
|