@zernio/node 0.2.1820 → 0.2.1821
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 +56 -1
- package/dist/index.d.ts +56 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +56 -1
package/dist/index.d.mts
CHANGED
|
@@ -42053,7 +42053,62 @@ type ConnectAdsResponse = (({
|
|
|
42053
42053
|
authUrl?: string;
|
|
42054
42054
|
state?: string;
|
|
42055
42055
|
}));
|
|
42056
|
-
type ConnectAdsError = (unknown | ErrorResponse
|
|
42056
|
+
type ConnectAdsError = (unknown | ErrorResponse | {
|
|
42057
|
+
/**
|
|
42058
|
+
* Human-readable error message suitable for end-user display.
|
|
42059
|
+
*/
|
|
42060
|
+
error: string;
|
|
42061
|
+
/**
|
|
42062
|
+
* Machine-readable error code. Stable across versions.
|
|
42063
|
+
*/
|
|
42064
|
+
code: 'PAYMENT_REQUIRED';
|
|
42065
|
+
/**
|
|
42066
|
+
* Discriminator for which gate fired.
|
|
42067
|
+
*/
|
|
42068
|
+
reason: 'free_tier_exceeded' | 'twitter_passthrough' | 'enterprise_required' | 'card_verification_required';
|
|
42069
|
+
/**
|
|
42070
|
+
* Link to the relevant documentation page.
|
|
42071
|
+
*/
|
|
42072
|
+
documentation_url?: string;
|
|
42073
|
+
/**
|
|
42074
|
+
* Deep-link to send the end-user to. For
|
|
42075
|
+
* `free_tier_exceeded` and `twitter_passthrough` this opens
|
|
42076
|
+
* the add-payment-method drawer on the Zernio billing page.
|
|
42077
|
+
* For `enterprise_required` this is the Zernio enterprise
|
|
42078
|
+
* contact page.
|
|
42079
|
+
*
|
|
42080
|
+
*/
|
|
42081
|
+
dashboard_url?: string;
|
|
42082
|
+
/**
|
|
42083
|
+
* Structured context for SDK clients that want to render their own UX. Keys vary by `reason`.
|
|
42084
|
+
*/
|
|
42085
|
+
details?: {
|
|
42086
|
+
/**
|
|
42087
|
+
* How many accounts the free tier allows. Only set when reason=free_tier_exceeded.
|
|
42088
|
+
*/
|
|
42089
|
+
free_tier_account_limit?: number;
|
|
42090
|
+
/**
|
|
42091
|
+
* How many accounts the team currently has connected. Set when reason=free_tier_exceeded or reason=enterprise_required.
|
|
42092
|
+
*/
|
|
42093
|
+
current_account_count?: number;
|
|
42094
|
+
/**
|
|
42095
|
+
* Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
|
|
42096
|
+
*/
|
|
42097
|
+
has_payment_method?: boolean;
|
|
42098
|
+
/**
|
|
42099
|
+
* One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
|
|
42100
|
+
*/
|
|
42101
|
+
verification_amount_cents?: number;
|
|
42102
|
+
/**
|
|
42103
|
+
* The negotiated connected-account cap from the
|
|
42104
|
+
* team's enterprise contract. Self-service teams
|
|
42105
|
+
* have no cap and never receive this reason. Only
|
|
42106
|
+
* set when reason=enterprise_required.
|
|
42107
|
+
*
|
|
42108
|
+
*/
|
|
42109
|
+
effective_account_limit?: number;
|
|
42110
|
+
};
|
|
42111
|
+
});
|
|
42057
42112
|
type CompleteMetaAdsBusinessLoginData = {
|
|
42058
42113
|
query: {
|
|
42059
42114
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -42053,7 +42053,62 @@ type ConnectAdsResponse = (({
|
|
|
42053
42053
|
authUrl?: string;
|
|
42054
42054
|
state?: string;
|
|
42055
42055
|
}));
|
|
42056
|
-
type ConnectAdsError = (unknown | ErrorResponse
|
|
42056
|
+
type ConnectAdsError = (unknown | ErrorResponse | {
|
|
42057
|
+
/**
|
|
42058
|
+
* Human-readable error message suitable for end-user display.
|
|
42059
|
+
*/
|
|
42060
|
+
error: string;
|
|
42061
|
+
/**
|
|
42062
|
+
* Machine-readable error code. Stable across versions.
|
|
42063
|
+
*/
|
|
42064
|
+
code: 'PAYMENT_REQUIRED';
|
|
42065
|
+
/**
|
|
42066
|
+
* Discriminator for which gate fired.
|
|
42067
|
+
*/
|
|
42068
|
+
reason: 'free_tier_exceeded' | 'twitter_passthrough' | 'enterprise_required' | 'card_verification_required';
|
|
42069
|
+
/**
|
|
42070
|
+
* Link to the relevant documentation page.
|
|
42071
|
+
*/
|
|
42072
|
+
documentation_url?: string;
|
|
42073
|
+
/**
|
|
42074
|
+
* Deep-link to send the end-user to. For
|
|
42075
|
+
* `free_tier_exceeded` and `twitter_passthrough` this opens
|
|
42076
|
+
* the add-payment-method drawer on the Zernio billing page.
|
|
42077
|
+
* For `enterprise_required` this is the Zernio enterprise
|
|
42078
|
+
* contact page.
|
|
42079
|
+
*
|
|
42080
|
+
*/
|
|
42081
|
+
dashboard_url?: string;
|
|
42082
|
+
/**
|
|
42083
|
+
* Structured context for SDK clients that want to render their own UX. Keys vary by `reason`.
|
|
42084
|
+
*/
|
|
42085
|
+
details?: {
|
|
42086
|
+
/**
|
|
42087
|
+
* How many accounts the free tier allows. Only set when reason=free_tier_exceeded.
|
|
42088
|
+
*/
|
|
42089
|
+
free_tier_account_limit?: number;
|
|
42090
|
+
/**
|
|
42091
|
+
* How many accounts the team currently has connected. Set when reason=free_tier_exceeded or reason=enterprise_required.
|
|
42092
|
+
*/
|
|
42093
|
+
current_account_count?: number;
|
|
42094
|
+
/**
|
|
42095
|
+
* Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
|
|
42096
|
+
*/
|
|
42097
|
+
has_payment_method?: boolean;
|
|
42098
|
+
/**
|
|
42099
|
+
* One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
|
|
42100
|
+
*/
|
|
42101
|
+
verification_amount_cents?: number;
|
|
42102
|
+
/**
|
|
42103
|
+
* The negotiated connected-account cap from the
|
|
42104
|
+
* team's enterprise contract. Self-service teams
|
|
42105
|
+
* have no cap and never receive this reason. Only
|
|
42106
|
+
* set when reason=enterprise_required.
|
|
42107
|
+
*
|
|
42108
|
+
*/
|
|
42109
|
+
effective_account_limit?: number;
|
|
42110
|
+
};
|
|
42111
|
+
});
|
|
42057
42112
|
type CompleteMetaAdsBusinessLoginData = {
|
|
42058
42113
|
query: {
|
|
42059
42114
|
/**
|
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.1821",
|
|
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.1821",
|
|
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
|
@@ -41302,7 +41302,62 @@ export type ConnectAdsResponse = (({
|
|
|
41302
41302
|
state?: string;
|
|
41303
41303
|
}));
|
|
41304
41304
|
|
|
41305
|
-
export type ConnectAdsError = (unknown | ErrorResponse
|
|
41305
|
+
export type ConnectAdsError = (unknown | ErrorResponse | {
|
|
41306
|
+
/**
|
|
41307
|
+
* Human-readable error message suitable for end-user display.
|
|
41308
|
+
*/
|
|
41309
|
+
error: string;
|
|
41310
|
+
/**
|
|
41311
|
+
* Machine-readable error code. Stable across versions.
|
|
41312
|
+
*/
|
|
41313
|
+
code: 'PAYMENT_REQUIRED';
|
|
41314
|
+
/**
|
|
41315
|
+
* Discriminator for which gate fired.
|
|
41316
|
+
*/
|
|
41317
|
+
reason: 'free_tier_exceeded' | 'twitter_passthrough' | 'enterprise_required' | 'card_verification_required';
|
|
41318
|
+
/**
|
|
41319
|
+
* Link to the relevant documentation page.
|
|
41320
|
+
*/
|
|
41321
|
+
documentation_url?: string;
|
|
41322
|
+
/**
|
|
41323
|
+
* Deep-link to send the end-user to. For
|
|
41324
|
+
* `free_tier_exceeded` and `twitter_passthrough` this opens
|
|
41325
|
+
* the add-payment-method drawer on the Zernio billing page.
|
|
41326
|
+
* For `enterprise_required` this is the Zernio enterprise
|
|
41327
|
+
* contact page.
|
|
41328
|
+
*
|
|
41329
|
+
*/
|
|
41330
|
+
dashboard_url?: string;
|
|
41331
|
+
/**
|
|
41332
|
+
* Structured context for SDK clients that want to render their own UX. Keys vary by `reason`.
|
|
41333
|
+
*/
|
|
41334
|
+
details?: {
|
|
41335
|
+
/**
|
|
41336
|
+
* How many accounts the free tier allows. Only set when reason=free_tier_exceeded.
|
|
41337
|
+
*/
|
|
41338
|
+
free_tier_account_limit?: number;
|
|
41339
|
+
/**
|
|
41340
|
+
* How many accounts the team currently has connected. Set when reason=free_tier_exceeded or reason=enterprise_required.
|
|
41341
|
+
*/
|
|
41342
|
+
current_account_count?: number;
|
|
41343
|
+
/**
|
|
41344
|
+
* Whether the team currently has a card on file in Stripe. Set when reason=free_tier_exceeded or reason=twitter_passthrough.
|
|
41345
|
+
*/
|
|
41346
|
+
has_payment_method?: boolean;
|
|
41347
|
+
/**
|
|
41348
|
+
* One-time card verification charge in USD cents, credited to usage. Only set when reason=card_verification_required.
|
|
41349
|
+
*/
|
|
41350
|
+
verification_amount_cents?: number;
|
|
41351
|
+
/**
|
|
41352
|
+
* The negotiated connected-account cap from the
|
|
41353
|
+
* team's enterprise contract. Self-service teams
|
|
41354
|
+
* have no cap and never receive this reason. Only
|
|
41355
|
+
* set when reason=enterprise_required.
|
|
41356
|
+
*
|
|
41357
|
+
*/
|
|
41358
|
+
effective_account_limit?: number;
|
|
41359
|
+
};
|
|
41360
|
+
});
|
|
41306
41361
|
|
|
41307
41362
|
export type CompleteMetaAdsBusinessLoginData = {
|
|
41308
41363
|
query: {
|