@smartlyqofficial/node 0.1.55 → 0.1.57
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 +29 -1
- package/dist/index.d.ts +29 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -477,7 +477,7 @@ type SocialPostScheduleRequest = {
|
|
|
477
477
|
*/
|
|
478
478
|
queue_id?: number;
|
|
479
479
|
/**
|
|
480
|
-
* IANA timezone scheduled_time is expressed in (default UTC). Ignored with queue_id (the queue's own timezone applies).
|
|
480
|
+
* IANA timezone scheduled_time is expressed in when it carries no offset, e.g. Europe/Athens (default UTC). A scheduled_time ending in Z or an offset such as +03:00 is taken as given. Also applies to platform_options.{platform}.scheduled_time. Ignored with queue_id (the queue's own timezone applies).
|
|
481
481
|
*/
|
|
482
482
|
timezone?: string;
|
|
483
483
|
/**
|
|
@@ -1016,6 +1016,10 @@ type ShortsClip = {
|
|
|
1016
1016
|
title?: string;
|
|
1017
1017
|
hook_text?: string;
|
|
1018
1018
|
transcript?: string;
|
|
1019
|
+
/**
|
|
1020
|
+
* The clip's aspect ratio.
|
|
1021
|
+
*/
|
|
1022
|
+
format?: '9:16' | '4:5' | '1:1' | '16:9';
|
|
1019
1023
|
clip_url?: string;
|
|
1020
1024
|
thumbnail?: string;
|
|
1021
1025
|
duration_ms?: number;
|
|
@@ -4650,6 +4654,14 @@ type GetAccountHealthResponses = {
|
|
|
4650
4654
|
* Days until the token expires.
|
|
4651
4655
|
*/
|
|
4652
4656
|
validity_days?: number;
|
|
4657
|
+
/**
|
|
4658
|
+
* Whether the account must be reconnected before it can post again (stored verdict of the token check or a refused publish).
|
|
4659
|
+
*/
|
|
4660
|
+
needs_reconnect?: boolean;
|
|
4661
|
+
/**
|
|
4662
|
+
* Why it must be reconnected, in words for the user, when known (e.g. the password was changed, the role on the Page was removed, a permission is missing). null otherwise.
|
|
4663
|
+
*/
|
|
4664
|
+
reconnect_reason?: string | null;
|
|
4653
4665
|
};
|
|
4654
4666
|
meta?: RequestMeta;
|
|
4655
4667
|
};
|
|
@@ -6191,6 +6203,10 @@ type GenerateShortsData = {
|
|
|
6191
6203
|
* false = clean clips with no captions, hook, logo or music (caption_style and caption_format cannot be used then).
|
|
6192
6204
|
*/
|
|
6193
6205
|
apply_brand_template?: boolean;
|
|
6206
|
+
/**
|
|
6207
|
+
* Output format (aspect ratio) of every clip: 9:16 vertical (TikTok, Reels, Shorts), 4:5 portrait (Instagram feed), 1:1 square or 16:9 landscape (YouTube, LinkedIn). The speaker is followed and the captions, hook, logo and CTA are placed for that canvas. GET /v1/shorts/caption-styles lists them with their pixel size.
|
|
6208
|
+
*/
|
|
6209
|
+
format?: '9:16' | '4:5' | '1:1' | '16:9';
|
|
6194
6210
|
/**
|
|
6195
6211
|
* Public HTTPS URL to POST `job.completed` or `job.failed` to when this job finishes (same envelope, signature and retries as registered webhooks). It is signed with this job's own `webhook_secret`, returned once in the 202.
|
|
6196
6212
|
*/
|
|
@@ -6400,6 +6416,10 @@ type GetShortsResponses = {
|
|
|
6400
6416
|
* Whether the clips got stock b-roll: asked for, or the brand template's (false when the job turned it off).
|
|
6401
6417
|
*/
|
|
6402
6418
|
magic_broll?: boolean;
|
|
6419
|
+
/**
|
|
6420
|
+
* The clips' aspect ratio (9:16 for jobs made before formats existed).
|
|
6421
|
+
*/
|
|
6422
|
+
format?: '9:16' | '4:5' | '1:1' | '16:9';
|
|
6403
6423
|
};
|
|
6404
6424
|
/**
|
|
6405
6425
|
* Why the job failed (empty otherwise).
|
|
@@ -9539,6 +9559,14 @@ type BulkAccountHealthResponses = {
|
|
|
9539
9559
|
status?: string;
|
|
9540
9560
|
token_expired?: boolean;
|
|
9541
9561
|
validity_days?: number;
|
|
9562
|
+
/**
|
|
9563
|
+
* Whether the account must be reconnected before it can post again (stored verdict of the token check or a refused publish).
|
|
9564
|
+
*/
|
|
9565
|
+
needs_reconnect?: boolean;
|
|
9566
|
+
/**
|
|
9567
|
+
* Why it must be reconnected, in words for the user, when known (e.g. the password was changed, the role on the Page was removed, a permission is missing). null otherwise.
|
|
9568
|
+
*/
|
|
9569
|
+
reconnect_reason?: string | null;
|
|
9542
9570
|
}>;
|
|
9543
9571
|
};
|
|
9544
9572
|
meta?: RequestMeta;
|
package/dist/index.d.ts
CHANGED
|
@@ -477,7 +477,7 @@ type SocialPostScheduleRequest = {
|
|
|
477
477
|
*/
|
|
478
478
|
queue_id?: number;
|
|
479
479
|
/**
|
|
480
|
-
* IANA timezone scheduled_time is expressed in (default UTC). Ignored with queue_id (the queue's own timezone applies).
|
|
480
|
+
* IANA timezone scheduled_time is expressed in when it carries no offset, e.g. Europe/Athens (default UTC). A scheduled_time ending in Z or an offset such as +03:00 is taken as given. Also applies to platform_options.{platform}.scheduled_time. Ignored with queue_id (the queue's own timezone applies).
|
|
481
481
|
*/
|
|
482
482
|
timezone?: string;
|
|
483
483
|
/**
|
|
@@ -1016,6 +1016,10 @@ type ShortsClip = {
|
|
|
1016
1016
|
title?: string;
|
|
1017
1017
|
hook_text?: string;
|
|
1018
1018
|
transcript?: string;
|
|
1019
|
+
/**
|
|
1020
|
+
* The clip's aspect ratio.
|
|
1021
|
+
*/
|
|
1022
|
+
format?: '9:16' | '4:5' | '1:1' | '16:9';
|
|
1019
1023
|
clip_url?: string;
|
|
1020
1024
|
thumbnail?: string;
|
|
1021
1025
|
duration_ms?: number;
|
|
@@ -4650,6 +4654,14 @@ type GetAccountHealthResponses = {
|
|
|
4650
4654
|
* Days until the token expires.
|
|
4651
4655
|
*/
|
|
4652
4656
|
validity_days?: number;
|
|
4657
|
+
/**
|
|
4658
|
+
* Whether the account must be reconnected before it can post again (stored verdict of the token check or a refused publish).
|
|
4659
|
+
*/
|
|
4660
|
+
needs_reconnect?: boolean;
|
|
4661
|
+
/**
|
|
4662
|
+
* Why it must be reconnected, in words for the user, when known (e.g. the password was changed, the role on the Page was removed, a permission is missing). null otherwise.
|
|
4663
|
+
*/
|
|
4664
|
+
reconnect_reason?: string | null;
|
|
4653
4665
|
};
|
|
4654
4666
|
meta?: RequestMeta;
|
|
4655
4667
|
};
|
|
@@ -6191,6 +6203,10 @@ type GenerateShortsData = {
|
|
|
6191
6203
|
* false = clean clips with no captions, hook, logo or music (caption_style and caption_format cannot be used then).
|
|
6192
6204
|
*/
|
|
6193
6205
|
apply_brand_template?: boolean;
|
|
6206
|
+
/**
|
|
6207
|
+
* Output format (aspect ratio) of every clip: 9:16 vertical (TikTok, Reels, Shorts), 4:5 portrait (Instagram feed), 1:1 square or 16:9 landscape (YouTube, LinkedIn). The speaker is followed and the captions, hook, logo and CTA are placed for that canvas. GET /v1/shorts/caption-styles lists them with their pixel size.
|
|
6208
|
+
*/
|
|
6209
|
+
format?: '9:16' | '4:5' | '1:1' | '16:9';
|
|
6194
6210
|
/**
|
|
6195
6211
|
* Public HTTPS URL to POST `job.completed` or `job.failed` to when this job finishes (same envelope, signature and retries as registered webhooks). It is signed with this job's own `webhook_secret`, returned once in the 202.
|
|
6196
6212
|
*/
|
|
@@ -6400,6 +6416,10 @@ type GetShortsResponses = {
|
|
|
6400
6416
|
* Whether the clips got stock b-roll: asked for, or the brand template's (false when the job turned it off).
|
|
6401
6417
|
*/
|
|
6402
6418
|
magic_broll?: boolean;
|
|
6419
|
+
/**
|
|
6420
|
+
* The clips' aspect ratio (9:16 for jobs made before formats existed).
|
|
6421
|
+
*/
|
|
6422
|
+
format?: '9:16' | '4:5' | '1:1' | '16:9';
|
|
6403
6423
|
};
|
|
6404
6424
|
/**
|
|
6405
6425
|
* Why the job failed (empty otherwise).
|
|
@@ -9539,6 +9559,14 @@ type BulkAccountHealthResponses = {
|
|
|
9539
9559
|
status?: string;
|
|
9540
9560
|
token_expired?: boolean;
|
|
9541
9561
|
validity_days?: number;
|
|
9562
|
+
/**
|
|
9563
|
+
* Whether the account must be reconnected before it can post again (stored verdict of the token check or a refused publish).
|
|
9564
|
+
*/
|
|
9565
|
+
needs_reconnect?: boolean;
|
|
9566
|
+
/**
|
|
9567
|
+
* Why it must be reconnected, in words for the user, when known (e.g. the password was changed, the role on the Page was removed, a permission is missing). null otherwise.
|
|
9568
|
+
*/
|
|
9569
|
+
reconnect_reason?: string | null;
|
|
9542
9570
|
}>;
|
|
9543
9571
|
};
|
|
9544
9572
|
meta?: RequestMeta;
|