@zernio/node 0.2.262 → 0.2.264
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 +27 -23
- package/dist/index.d.ts +27 -23
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +27 -23
package/dist/index.d.mts
CHANGED
|
@@ -805,7 +805,7 @@ type AccountWithFollowerStats = SocialAccount & {
|
|
|
805
805
|
*/
|
|
806
806
|
mediaCount?: number;
|
|
807
807
|
/**
|
|
808
|
-
* Total videos (YouTube
|
|
808
|
+
* Total videos (YouTube, TikTok)
|
|
809
809
|
*/
|
|
810
810
|
videoCount?: number;
|
|
811
811
|
/**
|
|
@@ -1904,7 +1904,7 @@ type DiscordPlatformData = {
|
|
|
1904
1904
|
};
|
|
1905
1905
|
footer?: {
|
|
1906
1906
|
/**
|
|
1907
|
-
* Footer text (max 2
|
|
1907
|
+
* Footer text (max 2,048 chars)
|
|
1908
1908
|
*/
|
|
1909
1909
|
text?: string;
|
|
1910
1910
|
icon_url?: string;
|
|
@@ -1926,7 +1926,7 @@ type DiscordPlatformData = {
|
|
|
1926
1926
|
*/
|
|
1927
1927
|
name: string;
|
|
1928
1928
|
/**
|
|
1929
|
-
* Field value (max 1
|
|
1929
|
+
* Field value (max 1,024 chars)
|
|
1930
1930
|
*/
|
|
1931
1931
|
value: string;
|
|
1932
1932
|
/**
|
|
@@ -2850,6 +2850,10 @@ type LinkedInPlatformData = {
|
|
|
2850
2850
|
* Set to true to disable automatic link previews for URLs in the post content (default is false)
|
|
2851
2851
|
*/
|
|
2852
2852
|
disableLinkPreview?: boolean;
|
|
2853
|
+
/**
|
|
2854
|
+
* LinkedIn post link to repost (use the post's "Copy link to post" action), or a urn:li:share / urn:li:ugcPost / urn:li:groupPost URN. The published post becomes a quote-reshare: your content is shown as the commentary and the original post is embedded underneath (LinkedIn's "repost with your thoughts"). Mutually exclusive with media. Works on personal profiles and organization pages.
|
|
2855
|
+
*/
|
|
2856
|
+
reshareUrl?: string;
|
|
2853
2857
|
geoRestriction?: GeoRestriction;
|
|
2854
2858
|
};
|
|
2855
2859
|
/**
|
|
@@ -3366,7 +3370,7 @@ type RedditPost = {
|
|
|
3366
3370
|
author?: string;
|
|
3367
3371
|
subreddit?: string;
|
|
3368
3372
|
/**
|
|
3369
|
-
* Post URL (may be a gallery URL
|
|
3373
|
+
* Post URL (may be a gallery URL, external link, or self-post URL)
|
|
3370
3374
|
*/
|
|
3371
3375
|
url?: string;
|
|
3372
3376
|
/**
|
|
@@ -3456,7 +3460,7 @@ type SharedAdAccount = {
|
|
|
3456
3460
|
id: string;
|
|
3457
3461
|
name?: string;
|
|
3458
3462
|
/**
|
|
3459
|
-
* Business Manager id that owns the ad account
|
|
3463
|
+
* Business Manager id that owns the ad account, when reported.
|
|
3460
3464
|
*/
|
|
3461
3465
|
businessId?: string;
|
|
3462
3466
|
};
|
|
@@ -4814,7 +4818,7 @@ type WebhookPayloadConversationStarted = {
|
|
|
4814
4818
|
platform: 'instagram' | 'facebook' | 'telegram' | 'whatsapp' | 'twitter' | 'reddit' | 'bluesky';
|
|
4815
4819
|
platformConversationId: string;
|
|
4816
4820
|
/**
|
|
4817
|
-
* Contact's platform identifier (IGSID
|
|
4821
|
+
* Contact's platform identifier (IGSID, PSID, wa_id, etc.)
|
|
4818
4822
|
*/
|
|
4819
4823
|
participantId?: string;
|
|
4820
4824
|
participantName: string;
|
|
@@ -8799,7 +8803,7 @@ type ConfigureTikTokAdsBrandIdentityData = {
|
|
|
8799
8803
|
type ConfigureTikTokAdsBrandIdentityResponse = ({
|
|
8800
8804
|
success?: boolean;
|
|
8801
8805
|
/**
|
|
8802
|
-
* The TikTok-assigned identity_id
|
|
8806
|
+
* The TikTok-assigned identity_id, cached on the account.
|
|
8803
8807
|
*/
|
|
8804
8808
|
identityId?: string;
|
|
8805
8809
|
displayName?: string;
|
|
@@ -9114,7 +9118,7 @@ type GetGoogleBusinessVerificationsResponse = ({
|
|
|
9114
9118
|
*/
|
|
9115
9119
|
voiceOfMerchantState?: {
|
|
9116
9120
|
/**
|
|
9117
|
-
* True when the listing is verified and published (eligible to surface reviews
|
|
9121
|
+
* True when the listing is verified and published (eligible to surface reviews, edits, etc.).
|
|
9118
9122
|
*/
|
|
9119
9123
|
hasVoiceOfMerchant?: boolean;
|
|
9120
9124
|
/**
|
|
@@ -10080,7 +10084,7 @@ type BatchGetGoogleBusinessReviewsResponse = ({
|
|
|
10080
10084
|
*/
|
|
10081
10085
|
name?: string;
|
|
10082
10086
|
/**
|
|
10083
|
-
* The review object (reviewId
|
|
10087
|
+
* The review object (reviewId, starRating, comment, reviewer, createTime, updateTime, reviewReply)
|
|
10084
10088
|
*/
|
|
10085
10089
|
review?: {
|
|
10086
10090
|
[key: string]: unknown;
|
|
@@ -12740,7 +12744,7 @@ type GetInboxConversationMessagesResponse = ({
|
|
|
12740
12744
|
reactions?: Array<{
|
|
12741
12745
|
emoji?: string;
|
|
12742
12746
|
/**
|
|
12743
|
-
* true if the connected account reacted
|
|
12747
|
+
* true if the connected account reacted, false if the contact did.
|
|
12744
12748
|
*/
|
|
12745
12749
|
fromMe?: boolean;
|
|
12746
12750
|
reactedAt?: string;
|
|
@@ -13083,7 +13087,7 @@ type SendInboxMessageData = {
|
|
|
13083
13087
|
*/
|
|
13084
13088
|
text?: string;
|
|
13085
13089
|
/**
|
|
13086
|
-
* Callback data (inline_keyboard only
|
|
13090
|
+
* Callback data (inline_keyboard only, max 64 bytes)
|
|
13087
13091
|
*/
|
|
13088
13092
|
callbackData?: string;
|
|
13089
13093
|
/**
|
|
@@ -13657,11 +13661,11 @@ type GetInboxPostCommentsResponse = ({
|
|
|
13657
13661
|
canReply?: boolean;
|
|
13658
13662
|
canDelete?: boolean;
|
|
13659
13663
|
/**
|
|
13660
|
-
* Whether this comment can be hidden (Facebook
|
|
13664
|
+
* Whether this comment can be hidden (Facebook, Instagram, Threads)
|
|
13661
13665
|
*/
|
|
13662
13666
|
canHide?: boolean;
|
|
13663
13667
|
/**
|
|
13664
|
-
* Whether this comment can be liked (Facebook
|
|
13668
|
+
* Whether this comment can be liked (Facebook, Twitter/X, Bluesky, Reddit)
|
|
13665
13669
|
*/
|
|
13666
13670
|
canLike?: boolean;
|
|
13667
13671
|
/**
|
|
@@ -13715,11 +13719,11 @@ type GetInboxPostCommentsResponse = ({
|
|
|
13715
13719
|
*/
|
|
13716
13720
|
selftext?: string;
|
|
13717
13721
|
/**
|
|
13718
|
-
* Reddit username
|
|
13722
|
+
* Reddit username, without the u/ prefix
|
|
13719
13723
|
*/
|
|
13720
13724
|
author?: string;
|
|
13721
13725
|
/**
|
|
13722
|
-
* Subreddit name
|
|
13726
|
+
* Subreddit name, without the r/ prefix
|
|
13723
13727
|
*/
|
|
13724
13728
|
subreddit?: string;
|
|
13725
13729
|
/**
|
|
@@ -13727,7 +13731,7 @@ type GetInboxPostCommentsResponse = ({
|
|
|
13727
13731
|
*/
|
|
13728
13732
|
permalink?: string;
|
|
13729
13733
|
/**
|
|
13730
|
-
* For link posts
|
|
13734
|
+
* For link posts, the external URL; for self-posts, the Reddit permalink
|
|
13731
13735
|
*/
|
|
13732
13736
|
url?: string;
|
|
13733
13737
|
/**
|
|
@@ -14486,7 +14490,7 @@ type EnableWhatsAppCallingData = {
|
|
|
14486
14490
|
forwardTo: string;
|
|
14487
14491
|
sipAuthUsername?: string;
|
|
14488
14492
|
/**
|
|
14489
|
-
* Stored encrypted
|
|
14493
|
+
* Stored encrypted, never returned by any endpoint.
|
|
14490
14494
|
*/
|
|
14491
14495
|
sipAuthPassword?: string;
|
|
14492
14496
|
recordingEnabled?: boolean;
|
|
@@ -14541,7 +14545,7 @@ type GetWhatsAppCallPermissionsData = {
|
|
|
14541
14545
|
query: {
|
|
14542
14546
|
accountId: string;
|
|
14543
14547
|
/**
|
|
14544
|
-
* Consumer wa_id (E.164
|
|
14548
|
+
* Consumer wa_id (E.164, leading + optional)
|
|
14545
14549
|
*/
|
|
14546
14550
|
to: string;
|
|
14547
14551
|
};
|
|
@@ -14566,7 +14570,7 @@ type InitiateWhatsAppCallData = {
|
|
|
14566
14570
|
body: {
|
|
14567
14571
|
accountId: string;
|
|
14568
14572
|
/**
|
|
14569
|
-
* Consumer wa_id (E.164
|
|
14573
|
+
* Consumer wa_id (E.164, leading + optional)
|
|
14570
14574
|
*/
|
|
14571
14575
|
to: string;
|
|
14572
14576
|
/**
|
|
@@ -15130,7 +15134,7 @@ type GetWhatsAppPhoneNumbersResponse = ({
|
|
|
15130
15134
|
country?: string;
|
|
15131
15135
|
status?: 'pending_payment' | 'pending_regulatory' | 'regulatory_declined' | 'provisioning' | 'verifying' | 'active' | 'suspended' | 'releasing' | 'released';
|
|
15132
15136
|
/**
|
|
15133
|
-
* For regulated numbers
|
|
15137
|
+
* For regulated numbers, who it's registered for (company or person) — set from the submitted KYC.
|
|
15134
15138
|
*/
|
|
15135
15139
|
registrantName?: (string) | null;
|
|
15136
15140
|
/**
|
|
@@ -15472,7 +15476,7 @@ type ValidateWhatsAppNumberKycAddressData = {
|
|
|
15472
15476
|
*/
|
|
15473
15477
|
locality: string;
|
|
15474
15478
|
/**
|
|
15475
|
-
* State / province / region. When omitted
|
|
15479
|
+
* State / province / region. When omitted, the pre-check is skipped (the final submit still validates).
|
|
15476
15480
|
*/
|
|
15477
15481
|
administrative_area?: string;
|
|
15478
15482
|
postal_code: string;
|
|
@@ -17318,7 +17322,7 @@ type TriggerWorkflowData = {
|
|
|
17318
17322
|
*/
|
|
17319
17323
|
conversationId?: string;
|
|
17320
17324
|
/**
|
|
17321
|
-
* Simulated inbound text
|
|
17325
|
+
* Simulated inbound text, seeded as the run's lastMessage variable
|
|
17322
17326
|
*/
|
|
17323
17327
|
text?: string;
|
|
17324
17328
|
};
|
|
@@ -17415,7 +17419,7 @@ type ListWorkflowVersionsResponse = ({
|
|
|
17415
17419
|
*/
|
|
17416
17420
|
createdByEmail?: (string) | null;
|
|
17417
17421
|
/**
|
|
17418
|
-
* When non-null
|
|
17422
|
+
* When non-null, this snapshot was created by restoring that version
|
|
17419
17423
|
*/
|
|
17420
17424
|
restoredFromVersion?: (number) | null;
|
|
17421
17425
|
createdAt?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -805,7 +805,7 @@ type AccountWithFollowerStats = SocialAccount & {
|
|
|
805
805
|
*/
|
|
806
806
|
mediaCount?: number;
|
|
807
807
|
/**
|
|
808
|
-
* Total videos (YouTube
|
|
808
|
+
* Total videos (YouTube, TikTok)
|
|
809
809
|
*/
|
|
810
810
|
videoCount?: number;
|
|
811
811
|
/**
|
|
@@ -1904,7 +1904,7 @@ type DiscordPlatformData = {
|
|
|
1904
1904
|
};
|
|
1905
1905
|
footer?: {
|
|
1906
1906
|
/**
|
|
1907
|
-
* Footer text (max 2
|
|
1907
|
+
* Footer text (max 2,048 chars)
|
|
1908
1908
|
*/
|
|
1909
1909
|
text?: string;
|
|
1910
1910
|
icon_url?: string;
|
|
@@ -1926,7 +1926,7 @@ type DiscordPlatformData = {
|
|
|
1926
1926
|
*/
|
|
1927
1927
|
name: string;
|
|
1928
1928
|
/**
|
|
1929
|
-
* Field value (max 1
|
|
1929
|
+
* Field value (max 1,024 chars)
|
|
1930
1930
|
*/
|
|
1931
1931
|
value: string;
|
|
1932
1932
|
/**
|
|
@@ -2850,6 +2850,10 @@ type LinkedInPlatformData = {
|
|
|
2850
2850
|
* Set to true to disable automatic link previews for URLs in the post content (default is false)
|
|
2851
2851
|
*/
|
|
2852
2852
|
disableLinkPreview?: boolean;
|
|
2853
|
+
/**
|
|
2854
|
+
* LinkedIn post link to repost (use the post's "Copy link to post" action), or a urn:li:share / urn:li:ugcPost / urn:li:groupPost URN. The published post becomes a quote-reshare: your content is shown as the commentary and the original post is embedded underneath (LinkedIn's "repost with your thoughts"). Mutually exclusive with media. Works on personal profiles and organization pages.
|
|
2855
|
+
*/
|
|
2856
|
+
reshareUrl?: string;
|
|
2853
2857
|
geoRestriction?: GeoRestriction;
|
|
2854
2858
|
};
|
|
2855
2859
|
/**
|
|
@@ -3366,7 +3370,7 @@ type RedditPost = {
|
|
|
3366
3370
|
author?: string;
|
|
3367
3371
|
subreddit?: string;
|
|
3368
3372
|
/**
|
|
3369
|
-
* Post URL (may be a gallery URL
|
|
3373
|
+
* Post URL (may be a gallery URL, external link, or self-post URL)
|
|
3370
3374
|
*/
|
|
3371
3375
|
url?: string;
|
|
3372
3376
|
/**
|
|
@@ -3456,7 +3460,7 @@ type SharedAdAccount = {
|
|
|
3456
3460
|
id: string;
|
|
3457
3461
|
name?: string;
|
|
3458
3462
|
/**
|
|
3459
|
-
* Business Manager id that owns the ad account
|
|
3463
|
+
* Business Manager id that owns the ad account, when reported.
|
|
3460
3464
|
*/
|
|
3461
3465
|
businessId?: string;
|
|
3462
3466
|
};
|
|
@@ -4814,7 +4818,7 @@ type WebhookPayloadConversationStarted = {
|
|
|
4814
4818
|
platform: 'instagram' | 'facebook' | 'telegram' | 'whatsapp' | 'twitter' | 'reddit' | 'bluesky';
|
|
4815
4819
|
platformConversationId: string;
|
|
4816
4820
|
/**
|
|
4817
|
-
* Contact's platform identifier (IGSID
|
|
4821
|
+
* Contact's platform identifier (IGSID, PSID, wa_id, etc.)
|
|
4818
4822
|
*/
|
|
4819
4823
|
participantId?: string;
|
|
4820
4824
|
participantName: string;
|
|
@@ -8799,7 +8803,7 @@ type ConfigureTikTokAdsBrandIdentityData = {
|
|
|
8799
8803
|
type ConfigureTikTokAdsBrandIdentityResponse = ({
|
|
8800
8804
|
success?: boolean;
|
|
8801
8805
|
/**
|
|
8802
|
-
* The TikTok-assigned identity_id
|
|
8806
|
+
* The TikTok-assigned identity_id, cached on the account.
|
|
8803
8807
|
*/
|
|
8804
8808
|
identityId?: string;
|
|
8805
8809
|
displayName?: string;
|
|
@@ -9114,7 +9118,7 @@ type GetGoogleBusinessVerificationsResponse = ({
|
|
|
9114
9118
|
*/
|
|
9115
9119
|
voiceOfMerchantState?: {
|
|
9116
9120
|
/**
|
|
9117
|
-
* True when the listing is verified and published (eligible to surface reviews
|
|
9121
|
+
* True when the listing is verified and published (eligible to surface reviews, edits, etc.).
|
|
9118
9122
|
*/
|
|
9119
9123
|
hasVoiceOfMerchant?: boolean;
|
|
9120
9124
|
/**
|
|
@@ -10080,7 +10084,7 @@ type BatchGetGoogleBusinessReviewsResponse = ({
|
|
|
10080
10084
|
*/
|
|
10081
10085
|
name?: string;
|
|
10082
10086
|
/**
|
|
10083
|
-
* The review object (reviewId
|
|
10087
|
+
* The review object (reviewId, starRating, comment, reviewer, createTime, updateTime, reviewReply)
|
|
10084
10088
|
*/
|
|
10085
10089
|
review?: {
|
|
10086
10090
|
[key: string]: unknown;
|
|
@@ -12740,7 +12744,7 @@ type GetInboxConversationMessagesResponse = ({
|
|
|
12740
12744
|
reactions?: Array<{
|
|
12741
12745
|
emoji?: string;
|
|
12742
12746
|
/**
|
|
12743
|
-
* true if the connected account reacted
|
|
12747
|
+
* true if the connected account reacted, false if the contact did.
|
|
12744
12748
|
*/
|
|
12745
12749
|
fromMe?: boolean;
|
|
12746
12750
|
reactedAt?: string;
|
|
@@ -13083,7 +13087,7 @@ type SendInboxMessageData = {
|
|
|
13083
13087
|
*/
|
|
13084
13088
|
text?: string;
|
|
13085
13089
|
/**
|
|
13086
|
-
* Callback data (inline_keyboard only
|
|
13090
|
+
* Callback data (inline_keyboard only, max 64 bytes)
|
|
13087
13091
|
*/
|
|
13088
13092
|
callbackData?: string;
|
|
13089
13093
|
/**
|
|
@@ -13657,11 +13661,11 @@ type GetInboxPostCommentsResponse = ({
|
|
|
13657
13661
|
canReply?: boolean;
|
|
13658
13662
|
canDelete?: boolean;
|
|
13659
13663
|
/**
|
|
13660
|
-
* Whether this comment can be hidden (Facebook
|
|
13664
|
+
* Whether this comment can be hidden (Facebook, Instagram, Threads)
|
|
13661
13665
|
*/
|
|
13662
13666
|
canHide?: boolean;
|
|
13663
13667
|
/**
|
|
13664
|
-
* Whether this comment can be liked (Facebook
|
|
13668
|
+
* Whether this comment can be liked (Facebook, Twitter/X, Bluesky, Reddit)
|
|
13665
13669
|
*/
|
|
13666
13670
|
canLike?: boolean;
|
|
13667
13671
|
/**
|
|
@@ -13715,11 +13719,11 @@ type GetInboxPostCommentsResponse = ({
|
|
|
13715
13719
|
*/
|
|
13716
13720
|
selftext?: string;
|
|
13717
13721
|
/**
|
|
13718
|
-
* Reddit username
|
|
13722
|
+
* Reddit username, without the u/ prefix
|
|
13719
13723
|
*/
|
|
13720
13724
|
author?: string;
|
|
13721
13725
|
/**
|
|
13722
|
-
* Subreddit name
|
|
13726
|
+
* Subreddit name, without the r/ prefix
|
|
13723
13727
|
*/
|
|
13724
13728
|
subreddit?: string;
|
|
13725
13729
|
/**
|
|
@@ -13727,7 +13731,7 @@ type GetInboxPostCommentsResponse = ({
|
|
|
13727
13731
|
*/
|
|
13728
13732
|
permalink?: string;
|
|
13729
13733
|
/**
|
|
13730
|
-
* For link posts
|
|
13734
|
+
* For link posts, the external URL; for self-posts, the Reddit permalink
|
|
13731
13735
|
*/
|
|
13732
13736
|
url?: string;
|
|
13733
13737
|
/**
|
|
@@ -14486,7 +14490,7 @@ type EnableWhatsAppCallingData = {
|
|
|
14486
14490
|
forwardTo: string;
|
|
14487
14491
|
sipAuthUsername?: string;
|
|
14488
14492
|
/**
|
|
14489
|
-
* Stored encrypted
|
|
14493
|
+
* Stored encrypted, never returned by any endpoint.
|
|
14490
14494
|
*/
|
|
14491
14495
|
sipAuthPassword?: string;
|
|
14492
14496
|
recordingEnabled?: boolean;
|
|
@@ -14541,7 +14545,7 @@ type GetWhatsAppCallPermissionsData = {
|
|
|
14541
14545
|
query: {
|
|
14542
14546
|
accountId: string;
|
|
14543
14547
|
/**
|
|
14544
|
-
* Consumer wa_id (E.164
|
|
14548
|
+
* Consumer wa_id (E.164, leading + optional)
|
|
14545
14549
|
*/
|
|
14546
14550
|
to: string;
|
|
14547
14551
|
};
|
|
@@ -14566,7 +14570,7 @@ type InitiateWhatsAppCallData = {
|
|
|
14566
14570
|
body: {
|
|
14567
14571
|
accountId: string;
|
|
14568
14572
|
/**
|
|
14569
|
-
* Consumer wa_id (E.164
|
|
14573
|
+
* Consumer wa_id (E.164, leading + optional)
|
|
14570
14574
|
*/
|
|
14571
14575
|
to: string;
|
|
14572
14576
|
/**
|
|
@@ -15130,7 +15134,7 @@ type GetWhatsAppPhoneNumbersResponse = ({
|
|
|
15130
15134
|
country?: string;
|
|
15131
15135
|
status?: 'pending_payment' | 'pending_regulatory' | 'regulatory_declined' | 'provisioning' | 'verifying' | 'active' | 'suspended' | 'releasing' | 'released';
|
|
15132
15136
|
/**
|
|
15133
|
-
* For regulated numbers
|
|
15137
|
+
* For regulated numbers, who it's registered for (company or person) — set from the submitted KYC.
|
|
15134
15138
|
*/
|
|
15135
15139
|
registrantName?: (string) | null;
|
|
15136
15140
|
/**
|
|
@@ -15472,7 +15476,7 @@ type ValidateWhatsAppNumberKycAddressData = {
|
|
|
15472
15476
|
*/
|
|
15473
15477
|
locality: string;
|
|
15474
15478
|
/**
|
|
15475
|
-
* State / province / region. When omitted
|
|
15479
|
+
* State / province / region. When omitted, the pre-check is skipped (the final submit still validates).
|
|
15476
15480
|
*/
|
|
15477
15481
|
administrative_area?: string;
|
|
15478
15482
|
postal_code: string;
|
|
@@ -17318,7 +17322,7 @@ type TriggerWorkflowData = {
|
|
|
17318
17322
|
*/
|
|
17319
17323
|
conversationId?: string;
|
|
17320
17324
|
/**
|
|
17321
|
-
* Simulated inbound text
|
|
17325
|
+
* Simulated inbound text, seeded as the run's lastMessage variable
|
|
17322
17326
|
*/
|
|
17323
17327
|
text?: string;
|
|
17324
17328
|
};
|
|
@@ -17415,7 +17419,7 @@ type ListWorkflowVersionsResponse = ({
|
|
|
17415
17419
|
*/
|
|
17416
17420
|
createdByEmail?: (string) | null;
|
|
17417
17421
|
/**
|
|
17418
|
-
* When non-null
|
|
17422
|
+
* When non-null, this snapshot was created by restoring that version
|
|
17419
17423
|
*/
|
|
17420
17424
|
restoredFromVersion?: (number) | null;
|
|
17421
17425
|
createdAt?: string;
|
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.264",
|
|
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.264",
|
|
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
|
@@ -45,7 +45,7 @@ export type AccountWithFollowerStats = SocialAccount & {
|
|
|
45
45
|
*/
|
|
46
46
|
mediaCount?: number;
|
|
47
47
|
/**
|
|
48
|
-
* Total videos (YouTube
|
|
48
|
+
* Total videos (YouTube, TikTok)
|
|
49
49
|
*/
|
|
50
50
|
videoCount?: number;
|
|
51
51
|
/**
|
|
@@ -1179,7 +1179,7 @@ export type DiscordPlatformData = {
|
|
|
1179
1179
|
};
|
|
1180
1180
|
footer?: {
|
|
1181
1181
|
/**
|
|
1182
|
-
* Footer text (max 2
|
|
1182
|
+
* Footer text (max 2,048 chars)
|
|
1183
1183
|
*/
|
|
1184
1184
|
text?: string;
|
|
1185
1185
|
icon_url?: string;
|
|
@@ -1201,7 +1201,7 @@ export type DiscordPlatformData = {
|
|
|
1201
1201
|
*/
|
|
1202
1202
|
name: string;
|
|
1203
1203
|
/**
|
|
1204
|
-
* Field value (max 1
|
|
1204
|
+
* Field value (max 1,024 chars)
|
|
1205
1205
|
*/
|
|
1206
1206
|
value: string;
|
|
1207
1207
|
/**
|
|
@@ -2171,6 +2171,10 @@ export type LinkedInPlatformData = {
|
|
|
2171
2171
|
* Set to true to disable automatic link previews for URLs in the post content (default is false)
|
|
2172
2172
|
*/
|
|
2173
2173
|
disableLinkPreview?: boolean;
|
|
2174
|
+
/**
|
|
2175
|
+
* LinkedIn post link to repost (use the post's "Copy link to post" action), or a urn:li:share / urn:li:ugcPost / urn:li:groupPost URN. The published post becomes a quote-reshare: your content is shown as the commentary and the original post is embedded underneath (LinkedIn's "repost with your thoughts"). Mutually exclusive with media. Works on personal profiles and organization pages.
|
|
2176
|
+
*/
|
|
2177
|
+
reshareUrl?: string;
|
|
2174
2178
|
geoRestriction?: GeoRestriction;
|
|
2175
2179
|
};
|
|
2176
2180
|
|
|
@@ -2729,7 +2733,7 @@ export type RedditPost = {
|
|
|
2729
2733
|
author?: string;
|
|
2730
2734
|
subreddit?: string;
|
|
2731
2735
|
/**
|
|
2732
|
-
* Post URL (may be a gallery URL
|
|
2736
|
+
* Post URL (may be a gallery URL, external link, or self-post URL)
|
|
2733
2737
|
*/
|
|
2734
2738
|
url?: string;
|
|
2735
2739
|
/**
|
|
@@ -2822,7 +2826,7 @@ export type SharedAdAccount = {
|
|
|
2822
2826
|
id: string;
|
|
2823
2827
|
name?: string;
|
|
2824
2828
|
/**
|
|
2825
|
-
* Business Manager id that owns the ad account
|
|
2829
|
+
* Business Manager id that owns the ad account, when reported.
|
|
2826
2830
|
*/
|
|
2827
2831
|
businessId?: string;
|
|
2828
2832
|
};
|
|
@@ -4239,7 +4243,7 @@ export type WebhookPayloadConversationStarted = {
|
|
|
4239
4243
|
platform: 'instagram' | 'facebook' | 'telegram' | 'whatsapp' | 'twitter' | 'reddit' | 'bluesky';
|
|
4240
4244
|
platformConversationId: string;
|
|
4241
4245
|
/**
|
|
4242
|
-
* Contact's platform identifier (IGSID
|
|
4246
|
+
* Contact's platform identifier (IGSID, PSID, wa_id, etc.)
|
|
4243
4247
|
*/
|
|
4244
4248
|
participantId?: string;
|
|
4245
4249
|
participantName: string;
|
|
@@ -8491,7 +8495,7 @@ export type ConfigureTikTokAdsBrandIdentityData = {
|
|
|
8491
8495
|
export type ConfigureTikTokAdsBrandIdentityResponse = ({
|
|
8492
8496
|
success?: boolean;
|
|
8493
8497
|
/**
|
|
8494
|
-
* The TikTok-assigned identity_id
|
|
8498
|
+
* The TikTok-assigned identity_id, cached on the account.
|
|
8495
8499
|
*/
|
|
8496
8500
|
identityId?: string;
|
|
8497
8501
|
displayName?: string;
|
|
@@ -8824,7 +8828,7 @@ export type GetGoogleBusinessVerificationsResponse = ({
|
|
|
8824
8828
|
*/
|
|
8825
8829
|
voiceOfMerchantState?: {
|
|
8826
8830
|
/**
|
|
8827
|
-
* True when the listing is verified and published (eligible to surface reviews
|
|
8831
|
+
* True when the listing is verified and published (eligible to surface reviews, edits, etc.).
|
|
8828
8832
|
*/
|
|
8829
8833
|
hasVoiceOfMerchant?: boolean;
|
|
8830
8834
|
/**
|
|
@@ -9850,7 +9854,7 @@ export type BatchGetGoogleBusinessReviewsResponse = ({
|
|
|
9850
9854
|
*/
|
|
9851
9855
|
name?: string;
|
|
9852
9856
|
/**
|
|
9853
|
-
* The review object (reviewId
|
|
9857
|
+
* The review object (reviewId, starRating, comment, reviewer, createTime, updateTime, reviewReply)
|
|
9854
9858
|
*/
|
|
9855
9859
|
review?: {
|
|
9856
9860
|
[key: string]: unknown;
|
|
@@ -12716,7 +12720,7 @@ export type GetInboxConversationMessagesResponse = ({
|
|
|
12716
12720
|
reactions?: Array<{
|
|
12717
12721
|
emoji?: string;
|
|
12718
12722
|
/**
|
|
12719
|
-
* true if the connected account reacted
|
|
12723
|
+
* true if the connected account reacted, false if the contact did.
|
|
12720
12724
|
*/
|
|
12721
12725
|
fromMe?: boolean;
|
|
12722
12726
|
reactedAt?: string;
|
|
@@ -13061,7 +13065,7 @@ export type SendInboxMessageData = {
|
|
|
13061
13065
|
*/
|
|
13062
13066
|
text?: string;
|
|
13063
13067
|
/**
|
|
13064
|
-
* Callback data (inline_keyboard only
|
|
13068
|
+
* Callback data (inline_keyboard only, max 64 bytes)
|
|
13065
13069
|
*/
|
|
13066
13070
|
callbackData?: string;
|
|
13067
13071
|
/**
|
|
@@ -13690,11 +13694,11 @@ export type GetInboxPostCommentsResponse = ({
|
|
|
13690
13694
|
canReply?: boolean;
|
|
13691
13695
|
canDelete?: boolean;
|
|
13692
13696
|
/**
|
|
13693
|
-
* Whether this comment can be hidden (Facebook
|
|
13697
|
+
* Whether this comment can be hidden (Facebook, Instagram, Threads)
|
|
13694
13698
|
*/
|
|
13695
13699
|
canHide?: boolean;
|
|
13696
13700
|
/**
|
|
13697
|
-
* Whether this comment can be liked (Facebook
|
|
13701
|
+
* Whether this comment can be liked (Facebook, Twitter/X, Bluesky, Reddit)
|
|
13698
13702
|
*/
|
|
13699
13703
|
canLike?: boolean;
|
|
13700
13704
|
/**
|
|
@@ -13748,11 +13752,11 @@ export type GetInboxPostCommentsResponse = ({
|
|
|
13748
13752
|
*/
|
|
13749
13753
|
selftext?: string;
|
|
13750
13754
|
/**
|
|
13751
|
-
* Reddit username
|
|
13755
|
+
* Reddit username, without the u/ prefix
|
|
13752
13756
|
*/
|
|
13753
13757
|
author?: string;
|
|
13754
13758
|
/**
|
|
13755
|
-
* Subreddit name
|
|
13759
|
+
* Subreddit name, without the r/ prefix
|
|
13756
13760
|
*/
|
|
13757
13761
|
subreddit?: string;
|
|
13758
13762
|
/**
|
|
@@ -13760,7 +13764,7 @@ export type GetInboxPostCommentsResponse = ({
|
|
|
13760
13764
|
*/
|
|
13761
13765
|
permalink?: string;
|
|
13762
13766
|
/**
|
|
13763
|
-
* For link posts
|
|
13767
|
+
* For link posts, the external URL; for self-posts, the Reddit permalink
|
|
13764
13768
|
*/
|
|
13765
13769
|
url?: string;
|
|
13766
13770
|
/**
|
|
@@ -14587,7 +14591,7 @@ export type EnableWhatsAppCallingData = {
|
|
|
14587
14591
|
forwardTo: string;
|
|
14588
14592
|
sipAuthUsername?: string;
|
|
14589
14593
|
/**
|
|
14590
|
-
* Stored encrypted
|
|
14594
|
+
* Stored encrypted, never returned by any endpoint.
|
|
14591
14595
|
*/
|
|
14592
14596
|
sipAuthPassword?: string;
|
|
14593
14597
|
recordingEnabled?: boolean;
|
|
@@ -14651,7 +14655,7 @@ export type GetWhatsAppCallPermissionsData = {
|
|
|
14651
14655
|
query: {
|
|
14652
14656
|
accountId: string;
|
|
14653
14657
|
/**
|
|
14654
|
-
* Consumer wa_id (E.164
|
|
14658
|
+
* Consumer wa_id (E.164, leading + optional)
|
|
14655
14659
|
*/
|
|
14656
14660
|
to: string;
|
|
14657
14661
|
};
|
|
@@ -14679,7 +14683,7 @@ export type InitiateWhatsAppCallData = {
|
|
|
14679
14683
|
body: {
|
|
14680
14684
|
accountId: string;
|
|
14681
14685
|
/**
|
|
14682
|
-
* Consumer wa_id (E.164
|
|
14686
|
+
* Consumer wa_id (E.164, leading + optional)
|
|
14683
14687
|
*/
|
|
14684
14688
|
to: string;
|
|
14685
14689
|
/**
|
|
@@ -15295,7 +15299,7 @@ export type GetWhatsAppPhoneNumbersResponse = ({
|
|
|
15295
15299
|
country?: string;
|
|
15296
15300
|
status?: 'pending_payment' | 'pending_regulatory' | 'regulatory_declined' | 'provisioning' | 'verifying' | 'active' | 'suspended' | 'releasing' | 'released';
|
|
15297
15301
|
/**
|
|
15298
|
-
* For regulated numbers
|
|
15302
|
+
* For regulated numbers, who it's registered for (company or person) — set from the submitted KYC.
|
|
15299
15303
|
*/
|
|
15300
15304
|
registrantName?: (string) | null;
|
|
15301
15305
|
/**
|
|
@@ -15659,7 +15663,7 @@ export type ValidateWhatsAppNumberKycAddressData = {
|
|
|
15659
15663
|
*/
|
|
15660
15664
|
locality: string;
|
|
15661
15665
|
/**
|
|
15662
|
-
* State / province / region. When omitted
|
|
15666
|
+
* State / province / region. When omitted, the pre-check is skipped (the final submit still validates).
|
|
15663
15667
|
*/
|
|
15664
15668
|
administrative_area?: string;
|
|
15665
15669
|
postal_code: string;
|
|
@@ -17693,7 +17697,7 @@ export type TriggerWorkflowData = {
|
|
|
17693
17697
|
*/
|
|
17694
17698
|
conversationId?: string;
|
|
17695
17699
|
/**
|
|
17696
|
-
* Simulated inbound text
|
|
17700
|
+
* Simulated inbound text, seeded as the run's lastMessage variable
|
|
17697
17701
|
*/
|
|
17698
17702
|
text?: string;
|
|
17699
17703
|
};
|
|
@@ -17800,7 +17804,7 @@ export type ListWorkflowVersionsResponse = ({
|
|
|
17800
17804
|
*/
|
|
17801
17805
|
createdByEmail?: (string) | null;
|
|
17802
17806
|
/**
|
|
17803
|
-
* When non-null
|
|
17807
|
+
* When non-null, this snapshot was created by restoring that version
|
|
17804
17808
|
*/
|
|
17805
17809
|
restoredFromVersion?: (number) | null;
|
|
17806
17810
|
createdAt?: string;
|