@zernio/node 0.2.886 → 0.2.888
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 +7 -2
- package/dist/index.d.ts +7 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +7 -2
package/dist/index.d.mts
CHANGED
|
@@ -10143,7 +10143,7 @@ type Webhook = {
|
|
|
10143
10143
|
*/
|
|
10144
10144
|
profileIds?: Array<(string)>;
|
|
10145
10145
|
/**
|
|
10146
|
-
* Connected accounts this subscription receives events for (allowlist). Absent or empty means every account. Same semantics as `profileIds`, keyed on the account: an aggregate `post.*` event is attributed to every account the post targets. A subscription with both lists must be satisfied on both. Applied when the event is emitted; a redelivery replays a delivery already made to this endpoint and a test fire ignores the list.
|
|
10146
|
+
* Connected accounts this subscription receives events for (allowlist). Absent or empty means every account. Same semantics as `profileIds`, keyed on the account: an aggregate `post.*` event is attributed to every account the post targets. Events that name no connected account (`verification.*`, `phone_number.*`, and `whatsapp.number.*`, which carry the phone number) are not delivered to an account-scoped subscription. A subscription with both lists must be satisfied on both. Applied when the event is emitted; a redelivery replays a delivery already made to this endpoint and a test fire ignores the list.
|
|
10147
10147
|
*/
|
|
10148
10148
|
accountIds?: Array<(string)>;
|
|
10149
10149
|
};
|
|
@@ -16806,7 +16806,7 @@ type GetConnectUrlData = {
|
|
|
16806
16806
|
* oauth_denied, invalid_callback, invalid_state, unsupported_platform, connection_failed,
|
|
16807
16807
|
* internal_error, token_exchange_failed, byok_config_error, personal_account_not_supported,
|
|
16808
16808
|
* missing_google_permissions, missing_tiktok_permissions, platform_requires_destination,
|
|
16809
|
-
* reconnect_account_mismatch, invalid_request
|
|
16809
|
+
* reconnect_account_mismatch, instagram_login_method_mismatch, invalid_request
|
|
16810
16810
|
*
|
|
16811
16811
|
* Access and limits:
|
|
16812
16812
|
* profile_not_found, invalid_profile_id, access_denied, account_limit_exceeded,
|
|
@@ -16851,6 +16851,11 @@ type GetConnectUrlData = {
|
|
|
16851
16851
|
* already-connected account needs, so nothing was changed and it keeps working as before.
|
|
16852
16852
|
* It is user-fixable: connect again and accept every permission on TikTok's screen.
|
|
16853
16853
|
*
|
|
16854
|
+
* 4. `instagram_login_method_mismatch` means an Instagram Login authorization landed on a
|
|
16855
|
+
* profile whose Instagram account is connected through Facebook Login, so nothing was
|
|
16856
|
+
* changed and it keeps working as before. To refresh it, connect again with
|
|
16857
|
+
* `loginMethod=facebook_login`. To move it to Instagram Login, disconnect it first.
|
|
16858
|
+
*
|
|
16854
16859
|
*/
|
|
16855
16860
|
redirect_url?: string;
|
|
16856
16861
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -10143,7 +10143,7 @@ type Webhook = {
|
|
|
10143
10143
|
*/
|
|
10144
10144
|
profileIds?: Array<(string)>;
|
|
10145
10145
|
/**
|
|
10146
|
-
* Connected accounts this subscription receives events for (allowlist). Absent or empty means every account. Same semantics as `profileIds`, keyed on the account: an aggregate `post.*` event is attributed to every account the post targets. A subscription with both lists must be satisfied on both. Applied when the event is emitted; a redelivery replays a delivery already made to this endpoint and a test fire ignores the list.
|
|
10146
|
+
* Connected accounts this subscription receives events for (allowlist). Absent or empty means every account. Same semantics as `profileIds`, keyed on the account: an aggregate `post.*` event is attributed to every account the post targets. Events that name no connected account (`verification.*`, `phone_number.*`, and `whatsapp.number.*`, which carry the phone number) are not delivered to an account-scoped subscription. A subscription with both lists must be satisfied on both. Applied when the event is emitted; a redelivery replays a delivery already made to this endpoint and a test fire ignores the list.
|
|
10147
10147
|
*/
|
|
10148
10148
|
accountIds?: Array<(string)>;
|
|
10149
10149
|
};
|
|
@@ -16806,7 +16806,7 @@ type GetConnectUrlData = {
|
|
|
16806
16806
|
* oauth_denied, invalid_callback, invalid_state, unsupported_platform, connection_failed,
|
|
16807
16807
|
* internal_error, token_exchange_failed, byok_config_error, personal_account_not_supported,
|
|
16808
16808
|
* missing_google_permissions, missing_tiktok_permissions, platform_requires_destination,
|
|
16809
|
-
* reconnect_account_mismatch, invalid_request
|
|
16809
|
+
* reconnect_account_mismatch, instagram_login_method_mismatch, invalid_request
|
|
16810
16810
|
*
|
|
16811
16811
|
* Access and limits:
|
|
16812
16812
|
* profile_not_found, invalid_profile_id, access_denied, account_limit_exceeded,
|
|
@@ -16851,6 +16851,11 @@ type GetConnectUrlData = {
|
|
|
16851
16851
|
* already-connected account needs, so nothing was changed and it keeps working as before.
|
|
16852
16852
|
* It is user-fixable: connect again and accept every permission on TikTok's screen.
|
|
16853
16853
|
*
|
|
16854
|
+
* 4. `instagram_login_method_mismatch` means an Instagram Login authorization landed on a
|
|
16855
|
+
* profile whose Instagram account is connected through Facebook Login, so nothing was
|
|
16856
|
+
* changed and it keeps working as before. To refresh it, connect again with
|
|
16857
|
+
* `loginMethod=facebook_login`. To move it to Instagram Login, disconnect it first.
|
|
16858
|
+
*
|
|
16854
16859
|
*/
|
|
16855
16860
|
redirect_url?: string;
|
|
16856
16861
|
/**
|
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.888",
|
|
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.888",
|
|
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
|
@@ -8807,7 +8807,7 @@ export type Webhook = {
|
|
|
8807
8807
|
*/
|
|
8808
8808
|
profileIds?: Array<(string)>;
|
|
8809
8809
|
/**
|
|
8810
|
-
* Connected accounts this subscription receives events for (allowlist). Absent or empty means every account. Same semantics as `profileIds`, keyed on the account: an aggregate `post.*` event is attributed to every account the post targets. A subscription with both lists must be satisfied on both. Applied when the event is emitted; a redelivery replays a delivery already made to this endpoint and a test fire ignores the list.
|
|
8810
|
+
* Connected accounts this subscription receives events for (allowlist). Absent or empty means every account. Same semantics as `profileIds`, keyed on the account: an aggregate `post.*` event is attributed to every account the post targets. Events that name no connected account (`verification.*`, `phone_number.*`, and `whatsapp.number.*`, which carry the phone number) are not delivered to an account-scoped subscription. A subscription with both lists must be satisfied on both. Applied when the event is emitted; a redelivery replays a delivery already made to this endpoint and a test fire ignores the list.
|
|
8811
8811
|
*/
|
|
8812
8812
|
accountIds?: Array<(string)>;
|
|
8813
8813
|
};
|
|
@@ -15846,7 +15846,7 @@ export type GetConnectUrlData = {
|
|
|
15846
15846
|
* oauth_denied, invalid_callback, invalid_state, unsupported_platform, connection_failed,
|
|
15847
15847
|
* internal_error, token_exchange_failed, byok_config_error, personal_account_not_supported,
|
|
15848
15848
|
* missing_google_permissions, missing_tiktok_permissions, platform_requires_destination,
|
|
15849
|
-
* reconnect_account_mismatch, invalid_request
|
|
15849
|
+
* reconnect_account_mismatch, instagram_login_method_mismatch, invalid_request
|
|
15850
15850
|
*
|
|
15851
15851
|
* Access and limits:
|
|
15852
15852
|
* profile_not_found, invalid_profile_id, access_denied, account_limit_exceeded,
|
|
@@ -15891,6 +15891,11 @@ export type GetConnectUrlData = {
|
|
|
15891
15891
|
* already-connected account needs, so nothing was changed and it keeps working as before.
|
|
15892
15892
|
* It is user-fixable: connect again and accept every permission on TikTok's screen.
|
|
15893
15893
|
*
|
|
15894
|
+
* 4. `instagram_login_method_mismatch` means an Instagram Login authorization landed on a
|
|
15895
|
+
* profile whose Instagram account is connected through Facebook Login, so nothing was
|
|
15896
|
+
* changed and it keeps working as before. To refresh it, connect again with
|
|
15897
|
+
* `loginMethod=facebook_login`. To move it to Instagram Login, disconnect it first.
|
|
15898
|
+
*
|
|
15894
15899
|
*/
|
|
15895
15900
|
redirect_url?: string;
|
|
15896
15901
|
/**
|