@smartlyqofficial/node 0.1.9 → 0.1.10
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.cts +22 -6
- package/dist/index.d.ts +22 -6
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -392,9 +392,9 @@ type SocialPostCreateRequest = {
|
|
|
392
392
|
*/
|
|
393
393
|
content: string;
|
|
394
394
|
/**
|
|
395
|
-
* Target platforms. Use `twitter` for X and `gmb` for Google Business.
|
|
395
|
+
* Target platforms. Use `twitter` for X and `gmb` for Google Business. `telegram` posts via the workspace's connected bot (created with @BotFather); `discord` posts via the connected server webhook. Both are connected in the dashboard's Social Accounts page.
|
|
396
396
|
*/
|
|
397
|
-
platforms: Array<'facebook' | 'instagram' | 'twitter' | 'linkedin' | 'youtube' | 'tiktok' | 'gmb' | 'threads' | 'bluesky' | 'tumblr'>;
|
|
397
|
+
platforms: Array<'facebook' | 'instagram' | 'twitter' | 'linkedin' | 'youtube' | 'tiktok' | 'gmb' | 'threads' | 'bluesky' | 'tumblr' | 'telegram' | 'discord'>;
|
|
398
398
|
/**
|
|
399
399
|
* IDs of connected social accounts to post to
|
|
400
400
|
*/
|
|
@@ -427,9 +427,9 @@ type SocialPostScheduleRequest = {
|
|
|
427
427
|
*/
|
|
428
428
|
content: string;
|
|
429
429
|
/**
|
|
430
|
-
* Target platforms. Use `twitter` for X and `gmb` for Google Business.
|
|
430
|
+
* Target platforms. Use `twitter` for X and `gmb` for Google Business. `telegram` posts via the workspace's connected bot (created with @BotFather); `discord` posts via the connected server webhook. Both are connected in the dashboard's Social Accounts page.
|
|
431
431
|
*/
|
|
432
|
-
platforms: Array<'facebook' | 'instagram' | 'twitter' | 'linkedin' | 'youtube' | 'tiktok' | 'gmb' | 'threads' | 'bluesky' | 'tumblr'>;
|
|
432
|
+
platforms: Array<'facebook' | 'instagram' | 'twitter' | 'linkedin' | 'youtube' | 'tiktok' | 'gmb' | 'threads' | 'bluesky' | 'tumblr' | 'telegram' | 'discord'>;
|
|
433
433
|
/**
|
|
434
434
|
* IDs of connected social accounts
|
|
435
435
|
*/
|
|
@@ -488,9 +488,9 @@ type SocialPostScheduleRequest = {
|
|
|
488
488
|
type SocialPostUpdateRequest = {
|
|
489
489
|
content?: string;
|
|
490
490
|
/**
|
|
491
|
-
* Target platforms. Use `twitter` for X and `gmb` for Google Business.
|
|
491
|
+
* Target platforms. Use `twitter` for X and `gmb` for Google Business. `telegram` posts via the workspace's connected bot (created with @BotFather); `discord` posts via the connected server webhook. Both are connected in the dashboard's Social Accounts page.
|
|
492
492
|
*/
|
|
493
|
-
platforms?: Array<'facebook' | 'instagram' | 'twitter' | 'linkedin' | 'youtube' | 'tiktok' | 'gmb' | 'threads' | 'bluesky' | 'tumblr'>;
|
|
493
|
+
platforms?: Array<'facebook' | 'instagram' | 'twitter' | 'linkedin' | 'youtube' | 'tiktok' | 'gmb' | 'threads' | 'bluesky' | 'tumblr' | 'telegram' | 'discord'>;
|
|
494
494
|
account_ids?: Array<number>;
|
|
495
495
|
scheduled_time?: string;
|
|
496
496
|
media_urls?: Array<string>;
|
|
@@ -504,6 +504,22 @@ type SocialPost = {
|
|
|
504
504
|
scheduled_time?: string;
|
|
505
505
|
published_at?: string;
|
|
506
506
|
created_at?: string;
|
|
507
|
+
/**
|
|
508
|
+
* Live progress inside a publish run: validating (pre-publish checks), processing_media (auto-transcode inspecting/converting media), publishing (dispatching to platforms). null when the post is idle or has reached a final status.
|
|
509
|
+
*/
|
|
510
|
+
publish_stage?: 'validating' | 'processing_media' | 'publishing';
|
|
511
|
+
/**
|
|
512
|
+
* Per-platform permalinks of the published posts, keyed by platform (arrays of URLs). Two reserved keys: _errors holds per-platform failure reasons (plus _post for a whole-post failure), and _transcodes lists what auto-transcode fixed per platform (e.g. 'Frame rate was 15fps (below the 23fps minimum); raised to 30fps.').
|
|
513
|
+
*/
|
|
514
|
+
post_urls?: {
|
|
515
|
+
[key: string]: unknown;
|
|
516
|
+
};
|
|
517
|
+
/**
|
|
518
|
+
* Per-platform remote post IDs assigned by each platform, keyed by platform.
|
|
519
|
+
*/
|
|
520
|
+
post_ids?: {
|
|
521
|
+
[key: string]: unknown;
|
|
522
|
+
};
|
|
507
523
|
};
|
|
508
524
|
type SocialPostResponse = {
|
|
509
525
|
success?: true;
|
package/dist/index.d.ts
CHANGED
|
@@ -392,9 +392,9 @@ type SocialPostCreateRequest = {
|
|
|
392
392
|
*/
|
|
393
393
|
content: string;
|
|
394
394
|
/**
|
|
395
|
-
* Target platforms. Use `twitter` for X and `gmb` for Google Business.
|
|
395
|
+
* Target platforms. Use `twitter` for X and `gmb` for Google Business. `telegram` posts via the workspace's connected bot (created with @BotFather); `discord` posts via the connected server webhook. Both are connected in the dashboard's Social Accounts page.
|
|
396
396
|
*/
|
|
397
|
-
platforms: Array<'facebook' | 'instagram' | 'twitter' | 'linkedin' | 'youtube' | 'tiktok' | 'gmb' | 'threads' | 'bluesky' | 'tumblr'>;
|
|
397
|
+
platforms: Array<'facebook' | 'instagram' | 'twitter' | 'linkedin' | 'youtube' | 'tiktok' | 'gmb' | 'threads' | 'bluesky' | 'tumblr' | 'telegram' | 'discord'>;
|
|
398
398
|
/**
|
|
399
399
|
* IDs of connected social accounts to post to
|
|
400
400
|
*/
|
|
@@ -427,9 +427,9 @@ type SocialPostScheduleRequest = {
|
|
|
427
427
|
*/
|
|
428
428
|
content: string;
|
|
429
429
|
/**
|
|
430
|
-
* Target platforms. Use `twitter` for X and `gmb` for Google Business.
|
|
430
|
+
* Target platforms. Use `twitter` for X and `gmb` for Google Business. `telegram` posts via the workspace's connected bot (created with @BotFather); `discord` posts via the connected server webhook. Both are connected in the dashboard's Social Accounts page.
|
|
431
431
|
*/
|
|
432
|
-
platforms: Array<'facebook' | 'instagram' | 'twitter' | 'linkedin' | 'youtube' | 'tiktok' | 'gmb' | 'threads' | 'bluesky' | 'tumblr'>;
|
|
432
|
+
platforms: Array<'facebook' | 'instagram' | 'twitter' | 'linkedin' | 'youtube' | 'tiktok' | 'gmb' | 'threads' | 'bluesky' | 'tumblr' | 'telegram' | 'discord'>;
|
|
433
433
|
/**
|
|
434
434
|
* IDs of connected social accounts
|
|
435
435
|
*/
|
|
@@ -488,9 +488,9 @@ type SocialPostScheduleRequest = {
|
|
|
488
488
|
type SocialPostUpdateRequest = {
|
|
489
489
|
content?: string;
|
|
490
490
|
/**
|
|
491
|
-
* Target platforms. Use `twitter` for X and `gmb` for Google Business.
|
|
491
|
+
* Target platforms. Use `twitter` for X and `gmb` for Google Business. `telegram` posts via the workspace's connected bot (created with @BotFather); `discord` posts via the connected server webhook. Both are connected in the dashboard's Social Accounts page.
|
|
492
492
|
*/
|
|
493
|
-
platforms?: Array<'facebook' | 'instagram' | 'twitter' | 'linkedin' | 'youtube' | 'tiktok' | 'gmb' | 'threads' | 'bluesky' | 'tumblr'>;
|
|
493
|
+
platforms?: Array<'facebook' | 'instagram' | 'twitter' | 'linkedin' | 'youtube' | 'tiktok' | 'gmb' | 'threads' | 'bluesky' | 'tumblr' | 'telegram' | 'discord'>;
|
|
494
494
|
account_ids?: Array<number>;
|
|
495
495
|
scheduled_time?: string;
|
|
496
496
|
media_urls?: Array<string>;
|
|
@@ -504,6 +504,22 @@ type SocialPost = {
|
|
|
504
504
|
scheduled_time?: string;
|
|
505
505
|
published_at?: string;
|
|
506
506
|
created_at?: string;
|
|
507
|
+
/**
|
|
508
|
+
* Live progress inside a publish run: validating (pre-publish checks), processing_media (auto-transcode inspecting/converting media), publishing (dispatching to platforms). null when the post is idle or has reached a final status.
|
|
509
|
+
*/
|
|
510
|
+
publish_stage?: 'validating' | 'processing_media' | 'publishing';
|
|
511
|
+
/**
|
|
512
|
+
* Per-platform permalinks of the published posts, keyed by platform (arrays of URLs). Two reserved keys: _errors holds per-platform failure reasons (plus _post for a whole-post failure), and _transcodes lists what auto-transcode fixed per platform (e.g. 'Frame rate was 15fps (below the 23fps minimum); raised to 30fps.').
|
|
513
|
+
*/
|
|
514
|
+
post_urls?: {
|
|
515
|
+
[key: string]: unknown;
|
|
516
|
+
};
|
|
517
|
+
/**
|
|
518
|
+
* Per-platform remote post IDs assigned by each platform, keyed by platform.
|
|
519
|
+
*/
|
|
520
|
+
post_ids?: {
|
|
521
|
+
[key: string]: unknown;
|
|
522
|
+
};
|
|
507
523
|
};
|
|
508
524
|
type SocialPostResponse = {
|
|
509
525
|
success?: true;
|