@zernio/node 0.2.3 → 0.2.5
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 +21 -0
- package/dist/index.d.ts +21 -0
- package/package.json +1 -1
- package/src/generated/types.gen.ts +21 -0
package/dist/index.d.mts
CHANGED
|
@@ -1935,6 +1935,19 @@ type TwitterPlatformData = {
|
|
|
1935
1935
|
content?: string;
|
|
1936
1936
|
mediaItems?: Array<MediaItem>;
|
|
1937
1937
|
}>;
|
|
1938
|
+
/**
|
|
1939
|
+
* Create a poll with this tweet. Mutually exclusive with media attachments and threads.
|
|
1940
|
+
*/
|
|
1941
|
+
poll?: {
|
|
1942
|
+
/**
|
|
1943
|
+
* Poll options (2-4 choices, max 25 characters each)
|
|
1944
|
+
*/
|
|
1945
|
+
options: Array<(string)>;
|
|
1946
|
+
/**
|
|
1947
|
+
* Poll duration in minutes (5 min to 7 days)
|
|
1948
|
+
*/
|
|
1949
|
+
duration_minutes: number;
|
|
1950
|
+
};
|
|
1938
1951
|
};
|
|
1939
1952
|
/**
|
|
1940
1953
|
* Controls who can reply to the tweet. "following" allows only people you follow, "mentionedUsers" allows only mentioned users, "subscribers" allows only subscribers, "verified" allows only verified users. Omit for default (everyone can reply). For threads, applies to the first tweet only. Cannot be combined with replyToTweetId.
|
|
@@ -6505,6 +6518,14 @@ type SendInboxMessageData = {
|
|
|
6505
6518
|
* Message text
|
|
6506
6519
|
*/
|
|
6507
6520
|
message?: string;
|
|
6521
|
+
/**
|
|
6522
|
+
* URL of the attachment to send (image, video, audio, or file). The URL must be publicly accessible. For binary file uploads, use multipart/form-data instead.
|
|
6523
|
+
*/
|
|
6524
|
+
attachmentUrl?: string;
|
|
6525
|
+
/**
|
|
6526
|
+
* Type of attachment. Defaults to file if not specified.
|
|
6527
|
+
*/
|
|
6528
|
+
attachmentType?: 'image' | 'video' | 'audio' | 'file';
|
|
6508
6529
|
/**
|
|
6509
6530
|
* Quick reply buttons. Mutually exclusive with buttons. Max 13 items.
|
|
6510
6531
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -1935,6 +1935,19 @@ type TwitterPlatformData = {
|
|
|
1935
1935
|
content?: string;
|
|
1936
1936
|
mediaItems?: Array<MediaItem>;
|
|
1937
1937
|
}>;
|
|
1938
|
+
/**
|
|
1939
|
+
* Create a poll with this tweet. Mutually exclusive with media attachments and threads.
|
|
1940
|
+
*/
|
|
1941
|
+
poll?: {
|
|
1942
|
+
/**
|
|
1943
|
+
* Poll options (2-4 choices, max 25 characters each)
|
|
1944
|
+
*/
|
|
1945
|
+
options: Array<(string)>;
|
|
1946
|
+
/**
|
|
1947
|
+
* Poll duration in minutes (5 min to 7 days)
|
|
1948
|
+
*/
|
|
1949
|
+
duration_minutes: number;
|
|
1950
|
+
};
|
|
1938
1951
|
};
|
|
1939
1952
|
/**
|
|
1940
1953
|
* Controls who can reply to the tweet. "following" allows only people you follow, "mentionedUsers" allows only mentioned users, "subscribers" allows only subscribers, "verified" allows only verified users. Omit for default (everyone can reply). For threads, applies to the first tweet only. Cannot be combined with replyToTweetId.
|
|
@@ -6505,6 +6518,14 @@ type SendInboxMessageData = {
|
|
|
6505
6518
|
* Message text
|
|
6506
6519
|
*/
|
|
6507
6520
|
message?: string;
|
|
6521
|
+
/**
|
|
6522
|
+
* URL of the attachment to send (image, video, audio, or file). The URL must be publicly accessible. For binary file uploads, use multipart/form-data instead.
|
|
6523
|
+
*/
|
|
6524
|
+
attachmentUrl?: string;
|
|
6525
|
+
/**
|
|
6526
|
+
* Type of attachment. Defaults to file if not specified.
|
|
6527
|
+
*/
|
|
6528
|
+
attachmentType?: 'image' | 'video' | 'audio' | 'file';
|
|
6508
6529
|
/**
|
|
6509
6530
|
* Quick reply buttons. Mutually exclusive with buttons. Max 13 items.
|
|
6510
6531
|
*/
|
package/package.json
CHANGED
|
@@ -1563,6 +1563,19 @@ export type TwitterPlatformData = {
|
|
|
1563
1563
|
content?: string;
|
|
1564
1564
|
mediaItems?: Array<MediaItem>;
|
|
1565
1565
|
}>;
|
|
1566
|
+
/**
|
|
1567
|
+
* Create a poll with this tweet. Mutually exclusive with media attachments and threads.
|
|
1568
|
+
*/
|
|
1569
|
+
poll?: {
|
|
1570
|
+
/**
|
|
1571
|
+
* Poll options (2-4 choices, max 25 characters each)
|
|
1572
|
+
*/
|
|
1573
|
+
options: Array<(string)>;
|
|
1574
|
+
/**
|
|
1575
|
+
* Poll duration in minutes (5 min to 7 days)
|
|
1576
|
+
*/
|
|
1577
|
+
duration_minutes: number;
|
|
1578
|
+
};
|
|
1566
1579
|
};
|
|
1567
1580
|
|
|
1568
1581
|
/**
|
|
@@ -6525,6 +6538,14 @@ export type SendInboxMessageData = {
|
|
|
6525
6538
|
* Message text
|
|
6526
6539
|
*/
|
|
6527
6540
|
message?: string;
|
|
6541
|
+
/**
|
|
6542
|
+
* URL of the attachment to send (image, video, audio, or file). The URL must be publicly accessible. For binary file uploads, use multipart/form-data instead.
|
|
6543
|
+
*/
|
|
6544
|
+
attachmentUrl?: string;
|
|
6545
|
+
/**
|
|
6546
|
+
* Type of attachment. Defaults to file if not specified.
|
|
6547
|
+
*/
|
|
6548
|
+
attachmentType?: 'image' | 'video' | 'audio' | 'file';
|
|
6528
6549
|
/**
|
|
6529
6550
|
* Quick reply buttons. Mutually exclusive with buttons. Max 13 items.
|
|
6530
6551
|
*/
|