@zernio/node 0.2.31 → 0.2.33
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 +28 -4
- package/dist/index.d.ts +28 -4
- package/package.json +1 -1
- package/src/generated/types.gen.ts +28 -4
package/dist/index.d.mts
CHANGED
|
@@ -1884,6 +1884,20 @@ type SocialAccount = {
|
|
|
1884
1884
|
* Last time follower count was updated (only included if user has analytics add-on)
|
|
1885
1885
|
*/
|
|
1886
1886
|
followersLastUpdated?: string;
|
|
1887
|
+
/**
|
|
1888
|
+
* Platform-specific metadata. Fields vary by platform. For WhatsApp accounts, includes:
|
|
1889
|
+
* - `qualityRating`: Phone number quality rating from Meta (`GREEN`, `YELLOW`, `RED`, or `UNKNOWN`)
|
|
1890
|
+
* - `nameStatus`: Display name review status (`APPROVED`, `PENDING_REVIEW`, `DECLINED`, or `NONE`). Messages cannot be sent until the display name is approved by Meta.
|
|
1891
|
+
* - `messagingLimitTier`: Maximum unique business-initiated conversations per 24h rolling window (`TIER_250`, `TIER_1K`, `TIER_10K`, `TIER_100K`, or `TIER_UNLIMITED`). Scales automatically as quality rating improves.
|
|
1892
|
+
* - `verifiedName`: Meta-verified business display name
|
|
1893
|
+
* - `displayPhoneNumber`: Formatted phone number (e.g., "+1 555-123-4567")
|
|
1894
|
+
* - `wabaId`: WhatsApp Business Account ID
|
|
1895
|
+
* - `phoneNumberId`: Meta phone number ID
|
|
1896
|
+
*
|
|
1897
|
+
*/
|
|
1898
|
+
metadata?: {
|
|
1899
|
+
[key: string]: unknown;
|
|
1900
|
+
};
|
|
1887
1901
|
};
|
|
1888
1902
|
/**
|
|
1889
1903
|
* Text, images (up to 10), videos (up to 10), and mixed media albums. Captions up to 1024 chars for media, 4096 for text-only.
|
|
@@ -3810,6 +3824,18 @@ type UpdatePostMetadataData = {
|
|
|
3810
3824
|
* Public URL of a custom thumbnail image (JPEG, PNG, or GIF, max 2 MB, recommended 1280x720). Works on any video you own, including existing videos not published through Zernio. The channel must be verified (phone verification) to set custom thumbnails.
|
|
3811
3825
|
*/
|
|
3812
3826
|
thumbnailUrl?: string;
|
|
3827
|
+
/**
|
|
3828
|
+
* COPPA compliance flag. Set true for child-directed content (restricts comments, notifications, ad targeting).
|
|
3829
|
+
*/
|
|
3830
|
+
madeForKids?: boolean;
|
|
3831
|
+
/**
|
|
3832
|
+
* AI-generated content disclosure. Set true if the video contains synthetic content that could be mistaken for real. YouTube may add a label.
|
|
3833
|
+
*/
|
|
3834
|
+
containsSyntheticMedia?: boolean;
|
|
3835
|
+
/**
|
|
3836
|
+
* YouTube playlist ID to add the video to (e.g. 'PLxxxxxxxxxxxxx'). Use GET /v1/accounts/{id}/youtube-playlists to list available playlists. Only playlists owned by the channel are supported.
|
|
3837
|
+
*/
|
|
3838
|
+
playlistId?: string;
|
|
3813
3839
|
};
|
|
3814
3840
|
path: {
|
|
3815
3841
|
/**
|
|
@@ -5582,12 +5608,10 @@ type ConnectWhatsAppCredentialsResponse = ({
|
|
|
5582
5608
|
*/
|
|
5583
5609
|
displayName?: string;
|
|
5584
5610
|
isActive?: boolean;
|
|
5585
|
-
phoneNumber?: string;
|
|
5586
|
-
verifiedName?: string;
|
|
5587
5611
|
/**
|
|
5588
|
-
*
|
|
5612
|
+
* The connected phone number
|
|
5589
5613
|
*/
|
|
5590
|
-
|
|
5614
|
+
selectedPhoneNumber?: string;
|
|
5591
5615
|
};
|
|
5592
5616
|
});
|
|
5593
5617
|
type ConnectWhatsAppCredentialsError = (unknown);
|
package/dist/index.d.ts
CHANGED
|
@@ -1884,6 +1884,20 @@ type SocialAccount = {
|
|
|
1884
1884
|
* Last time follower count was updated (only included if user has analytics add-on)
|
|
1885
1885
|
*/
|
|
1886
1886
|
followersLastUpdated?: string;
|
|
1887
|
+
/**
|
|
1888
|
+
* Platform-specific metadata. Fields vary by platform. For WhatsApp accounts, includes:
|
|
1889
|
+
* - `qualityRating`: Phone number quality rating from Meta (`GREEN`, `YELLOW`, `RED`, or `UNKNOWN`)
|
|
1890
|
+
* - `nameStatus`: Display name review status (`APPROVED`, `PENDING_REVIEW`, `DECLINED`, or `NONE`). Messages cannot be sent until the display name is approved by Meta.
|
|
1891
|
+
* - `messagingLimitTier`: Maximum unique business-initiated conversations per 24h rolling window (`TIER_250`, `TIER_1K`, `TIER_10K`, `TIER_100K`, or `TIER_UNLIMITED`). Scales automatically as quality rating improves.
|
|
1892
|
+
* - `verifiedName`: Meta-verified business display name
|
|
1893
|
+
* - `displayPhoneNumber`: Formatted phone number (e.g., "+1 555-123-4567")
|
|
1894
|
+
* - `wabaId`: WhatsApp Business Account ID
|
|
1895
|
+
* - `phoneNumberId`: Meta phone number ID
|
|
1896
|
+
*
|
|
1897
|
+
*/
|
|
1898
|
+
metadata?: {
|
|
1899
|
+
[key: string]: unknown;
|
|
1900
|
+
};
|
|
1887
1901
|
};
|
|
1888
1902
|
/**
|
|
1889
1903
|
* Text, images (up to 10), videos (up to 10), and mixed media albums. Captions up to 1024 chars for media, 4096 for text-only.
|
|
@@ -3810,6 +3824,18 @@ type UpdatePostMetadataData = {
|
|
|
3810
3824
|
* Public URL of a custom thumbnail image (JPEG, PNG, or GIF, max 2 MB, recommended 1280x720). Works on any video you own, including existing videos not published through Zernio. The channel must be verified (phone verification) to set custom thumbnails.
|
|
3811
3825
|
*/
|
|
3812
3826
|
thumbnailUrl?: string;
|
|
3827
|
+
/**
|
|
3828
|
+
* COPPA compliance flag. Set true for child-directed content (restricts comments, notifications, ad targeting).
|
|
3829
|
+
*/
|
|
3830
|
+
madeForKids?: boolean;
|
|
3831
|
+
/**
|
|
3832
|
+
* AI-generated content disclosure. Set true if the video contains synthetic content that could be mistaken for real. YouTube may add a label.
|
|
3833
|
+
*/
|
|
3834
|
+
containsSyntheticMedia?: boolean;
|
|
3835
|
+
/**
|
|
3836
|
+
* YouTube playlist ID to add the video to (e.g. 'PLxxxxxxxxxxxxx'). Use GET /v1/accounts/{id}/youtube-playlists to list available playlists. Only playlists owned by the channel are supported.
|
|
3837
|
+
*/
|
|
3838
|
+
playlistId?: string;
|
|
3813
3839
|
};
|
|
3814
3840
|
path: {
|
|
3815
3841
|
/**
|
|
@@ -5582,12 +5608,10 @@ type ConnectWhatsAppCredentialsResponse = ({
|
|
|
5582
5608
|
*/
|
|
5583
5609
|
displayName?: string;
|
|
5584
5610
|
isActive?: boolean;
|
|
5585
|
-
phoneNumber?: string;
|
|
5586
|
-
verifiedName?: string;
|
|
5587
5611
|
/**
|
|
5588
|
-
*
|
|
5612
|
+
* The connected phone number
|
|
5589
5613
|
*/
|
|
5590
|
-
|
|
5614
|
+
selectedPhoneNumber?: string;
|
|
5591
5615
|
};
|
|
5592
5616
|
});
|
|
5593
5617
|
type ConnectWhatsAppCredentialsError = (unknown);
|
package/package.json
CHANGED
|
@@ -1420,6 +1420,20 @@ export type SocialAccount = {
|
|
|
1420
1420
|
* Last time follower count was updated (only included if user has analytics add-on)
|
|
1421
1421
|
*/
|
|
1422
1422
|
followersLastUpdated?: string;
|
|
1423
|
+
/**
|
|
1424
|
+
* Platform-specific metadata. Fields vary by platform. For WhatsApp accounts, includes:
|
|
1425
|
+
* - `qualityRating`: Phone number quality rating from Meta (`GREEN`, `YELLOW`, `RED`, or `UNKNOWN`)
|
|
1426
|
+
* - `nameStatus`: Display name review status (`APPROVED`, `PENDING_REVIEW`, `DECLINED`, or `NONE`). Messages cannot be sent until the display name is approved by Meta.
|
|
1427
|
+
* - `messagingLimitTier`: Maximum unique business-initiated conversations per 24h rolling window (`TIER_250`, `TIER_1K`, `TIER_10K`, `TIER_100K`, or `TIER_UNLIMITED`). Scales automatically as quality rating improves.
|
|
1428
|
+
* - `verifiedName`: Meta-verified business display name
|
|
1429
|
+
* - `displayPhoneNumber`: Formatted phone number (e.g., "+1 555-123-4567")
|
|
1430
|
+
* - `wabaId`: WhatsApp Business Account ID
|
|
1431
|
+
* - `phoneNumberId`: Meta phone number ID
|
|
1432
|
+
*
|
|
1433
|
+
*/
|
|
1434
|
+
metadata?: {
|
|
1435
|
+
[key: string]: unknown;
|
|
1436
|
+
};
|
|
1423
1437
|
};
|
|
1424
1438
|
|
|
1425
1439
|
/**
|
|
@@ -3512,6 +3526,18 @@ export type UpdatePostMetadataData = {
|
|
|
3512
3526
|
* Public URL of a custom thumbnail image (JPEG, PNG, or GIF, max 2 MB, recommended 1280x720). Works on any video you own, including existing videos not published through Zernio. The channel must be verified (phone verification) to set custom thumbnails.
|
|
3513
3527
|
*/
|
|
3514
3528
|
thumbnailUrl?: string;
|
|
3529
|
+
/**
|
|
3530
|
+
* COPPA compliance flag. Set true for child-directed content (restricts comments, notifications, ad targeting).
|
|
3531
|
+
*/
|
|
3532
|
+
madeForKids?: boolean;
|
|
3533
|
+
/**
|
|
3534
|
+
* AI-generated content disclosure. Set true if the video contains synthetic content that could be mistaken for real. YouTube may add a label.
|
|
3535
|
+
*/
|
|
3536
|
+
containsSyntheticMedia?: boolean;
|
|
3537
|
+
/**
|
|
3538
|
+
* YouTube playlist ID to add the video to (e.g. 'PLxxxxxxxxxxxxx'). Use GET /v1/accounts/{id}/youtube-playlists to list available playlists. Only playlists owned by the channel are supported.
|
|
3539
|
+
*/
|
|
3540
|
+
playlistId?: string;
|
|
3515
3541
|
};
|
|
3516
3542
|
path: {
|
|
3517
3543
|
/**
|
|
@@ -5421,12 +5447,10 @@ export type ConnectWhatsAppCredentialsResponse = ({
|
|
|
5421
5447
|
*/
|
|
5422
5448
|
displayName?: string;
|
|
5423
5449
|
isActive?: boolean;
|
|
5424
|
-
phoneNumber?: string;
|
|
5425
|
-
verifiedName?: string;
|
|
5426
5450
|
/**
|
|
5427
|
-
*
|
|
5451
|
+
* The connected phone number
|
|
5428
5452
|
*/
|
|
5429
|
-
|
|
5453
|
+
selectedPhoneNumber?: string;
|
|
5430
5454
|
};
|
|
5431
5455
|
});
|
|
5432
5456
|
|