@zernio/node 0.2.31 → 0.2.32
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 +16 -4
- package/dist/index.d.ts +16 -4
- package/package.json +1 -1
- package/src/generated/types.gen.ts +16 -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.
|
|
@@ -5582,12 +5596,10 @@ type ConnectWhatsAppCredentialsResponse = ({
|
|
|
5582
5596
|
*/
|
|
5583
5597
|
displayName?: string;
|
|
5584
5598
|
isActive?: boolean;
|
|
5585
|
-
phoneNumber?: string;
|
|
5586
|
-
verifiedName?: string;
|
|
5587
5599
|
/**
|
|
5588
|
-
*
|
|
5600
|
+
* The connected phone number
|
|
5589
5601
|
*/
|
|
5590
|
-
|
|
5602
|
+
selectedPhoneNumber?: string;
|
|
5591
5603
|
};
|
|
5592
5604
|
});
|
|
5593
5605
|
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.
|
|
@@ -5582,12 +5596,10 @@ type ConnectWhatsAppCredentialsResponse = ({
|
|
|
5582
5596
|
*/
|
|
5583
5597
|
displayName?: string;
|
|
5584
5598
|
isActive?: boolean;
|
|
5585
|
-
phoneNumber?: string;
|
|
5586
|
-
verifiedName?: string;
|
|
5587
5599
|
/**
|
|
5588
|
-
*
|
|
5600
|
+
* The connected phone number
|
|
5589
5601
|
*/
|
|
5590
|
-
|
|
5602
|
+
selectedPhoneNumber?: string;
|
|
5591
5603
|
};
|
|
5592
5604
|
});
|
|
5593
5605
|
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
|
/**
|
|
@@ -5421,12 +5435,10 @@ export type ConnectWhatsAppCredentialsResponse = ({
|
|
|
5421
5435
|
*/
|
|
5422
5436
|
displayName?: string;
|
|
5423
5437
|
isActive?: boolean;
|
|
5424
|
-
phoneNumber?: string;
|
|
5425
|
-
verifiedName?: string;
|
|
5426
5438
|
/**
|
|
5427
|
-
*
|
|
5439
|
+
* The connected phone number
|
|
5428
5440
|
*/
|
|
5429
|
-
|
|
5441
|
+
selectedPhoneNumber?: string;
|
|
5430
5442
|
};
|
|
5431
5443
|
});
|
|
5432
5444
|
|