@smartlyqofficial/node 0.1.56 → 0.1.58
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
|
/**
|
|
@@ -4654,6 +4654,14 @@ type GetAccountHealthResponses = {
|
|
|
4654
4654
|
* Days until the token expires.
|
|
4655
4655
|
*/
|
|
4656
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;
|
|
4657
4665
|
};
|
|
4658
4666
|
meta?: RequestMeta;
|
|
4659
4667
|
};
|
|
@@ -5761,6 +5769,10 @@ type ConnectSocialAccountStatusResponses = {
|
|
|
5761
5769
|
type ConnectSocialAccountStatusResponse = ConnectSocialAccountStatusResponses[keyof ConnectSocialAccountStatusResponses];
|
|
5762
5770
|
type ConnectSocialAccountData = {
|
|
5763
5771
|
body?: {
|
|
5772
|
+
/**
|
|
5773
|
+
* X (twitter) only: X is charged per action (posts, replies, DMs, fetched items) at X's price, unlike the other networks. Send true to agree for this workspace; without an agreement (here or in the app) connecting X returns 422 X_CHARGES_NOT_ACCEPTED.
|
|
5774
|
+
*/
|
|
5775
|
+
accept_x_charges?: boolean;
|
|
5764
5776
|
/**
|
|
5765
5777
|
* Optional URL to redirect the user to after they finish authorizing.
|
|
5766
5778
|
*/
|
|
@@ -8557,6 +8569,10 @@ type CreateProfileConnectLinkData = {
|
|
|
8557
8569
|
* Subset of platforms to offer (default: all 13)
|
|
8558
8570
|
*/
|
|
8559
8571
|
platforms?: Array<string>;
|
|
8572
|
+
/**
|
|
8573
|
+
* X (twitter) only: X is charged per action (posts, replies, DMs, fetched items) at X's price, unlike the other networks. Send true to agree for this workspace; without an agreement (here or in the app) connecting X returns 422 X_CHARGES_NOT_ACCEPTED.
|
|
8574
|
+
*/
|
|
8575
|
+
accept_x_charges?: boolean;
|
|
8560
8576
|
/**
|
|
8561
8577
|
* Where the customer lands after each connect (default: back on the hosted page)
|
|
8562
8578
|
*/
|
|
@@ -8603,6 +8619,10 @@ type CreateProfileConnectLinkResponses = {
|
|
|
8603
8619
|
type CreateProfileConnectLinkResponse = CreateProfileConnectLinkResponses[keyof CreateProfileConnectLinkResponses];
|
|
8604
8620
|
type CreateProfileConnectUrlData = {
|
|
8605
8621
|
body?: {
|
|
8622
|
+
/**
|
|
8623
|
+
* X (twitter) only: X is charged per action (posts, replies, DMs, fetched items) at X's price, unlike the other networks. Send true to agree for this workspace; without an agreement (here or in the app) connecting X returns 422 X_CHARGES_NOT_ACCEPTED.
|
|
8624
|
+
*/
|
|
8625
|
+
accept_x_charges?: boolean;
|
|
8606
8626
|
return_url?: string;
|
|
8607
8627
|
};
|
|
8608
8628
|
path: {
|
|
@@ -9551,6 +9571,14 @@ type BulkAccountHealthResponses = {
|
|
|
9551
9571
|
status?: string;
|
|
9552
9572
|
token_expired?: boolean;
|
|
9553
9573
|
validity_days?: number;
|
|
9574
|
+
/**
|
|
9575
|
+
* Whether the account must be reconnected before it can post again (stored verdict of the token check or a refused publish).
|
|
9576
|
+
*/
|
|
9577
|
+
needs_reconnect?: boolean;
|
|
9578
|
+
/**
|
|
9579
|
+
* 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.
|
|
9580
|
+
*/
|
|
9581
|
+
reconnect_reason?: string | null;
|
|
9554
9582
|
}>;
|
|
9555
9583
|
};
|
|
9556
9584
|
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
|
/**
|
|
@@ -4654,6 +4654,14 @@ type GetAccountHealthResponses = {
|
|
|
4654
4654
|
* Days until the token expires.
|
|
4655
4655
|
*/
|
|
4656
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;
|
|
4657
4665
|
};
|
|
4658
4666
|
meta?: RequestMeta;
|
|
4659
4667
|
};
|
|
@@ -5761,6 +5769,10 @@ type ConnectSocialAccountStatusResponses = {
|
|
|
5761
5769
|
type ConnectSocialAccountStatusResponse = ConnectSocialAccountStatusResponses[keyof ConnectSocialAccountStatusResponses];
|
|
5762
5770
|
type ConnectSocialAccountData = {
|
|
5763
5771
|
body?: {
|
|
5772
|
+
/**
|
|
5773
|
+
* X (twitter) only: X is charged per action (posts, replies, DMs, fetched items) at X's price, unlike the other networks. Send true to agree for this workspace; without an agreement (here or in the app) connecting X returns 422 X_CHARGES_NOT_ACCEPTED.
|
|
5774
|
+
*/
|
|
5775
|
+
accept_x_charges?: boolean;
|
|
5764
5776
|
/**
|
|
5765
5777
|
* Optional URL to redirect the user to after they finish authorizing.
|
|
5766
5778
|
*/
|
|
@@ -8557,6 +8569,10 @@ type CreateProfileConnectLinkData = {
|
|
|
8557
8569
|
* Subset of platforms to offer (default: all 13)
|
|
8558
8570
|
*/
|
|
8559
8571
|
platforms?: Array<string>;
|
|
8572
|
+
/**
|
|
8573
|
+
* X (twitter) only: X is charged per action (posts, replies, DMs, fetched items) at X's price, unlike the other networks. Send true to agree for this workspace; without an agreement (here or in the app) connecting X returns 422 X_CHARGES_NOT_ACCEPTED.
|
|
8574
|
+
*/
|
|
8575
|
+
accept_x_charges?: boolean;
|
|
8560
8576
|
/**
|
|
8561
8577
|
* Where the customer lands after each connect (default: back on the hosted page)
|
|
8562
8578
|
*/
|
|
@@ -8603,6 +8619,10 @@ type CreateProfileConnectLinkResponses = {
|
|
|
8603
8619
|
type CreateProfileConnectLinkResponse = CreateProfileConnectLinkResponses[keyof CreateProfileConnectLinkResponses];
|
|
8604
8620
|
type CreateProfileConnectUrlData = {
|
|
8605
8621
|
body?: {
|
|
8622
|
+
/**
|
|
8623
|
+
* X (twitter) only: X is charged per action (posts, replies, DMs, fetched items) at X's price, unlike the other networks. Send true to agree for this workspace; without an agreement (here or in the app) connecting X returns 422 X_CHARGES_NOT_ACCEPTED.
|
|
8624
|
+
*/
|
|
8625
|
+
accept_x_charges?: boolean;
|
|
8606
8626
|
return_url?: string;
|
|
8607
8627
|
};
|
|
8608
8628
|
path: {
|
|
@@ -9551,6 +9571,14 @@ type BulkAccountHealthResponses = {
|
|
|
9551
9571
|
status?: string;
|
|
9552
9572
|
token_expired?: boolean;
|
|
9553
9573
|
validity_days?: number;
|
|
9574
|
+
/**
|
|
9575
|
+
* Whether the account must be reconnected before it can post again (stored verdict of the token check or a refused publish).
|
|
9576
|
+
*/
|
|
9577
|
+
needs_reconnect?: boolean;
|
|
9578
|
+
/**
|
|
9579
|
+
* 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.
|
|
9580
|
+
*/
|
|
9581
|
+
reconnect_reason?: string | null;
|
|
9554
9582
|
}>;
|
|
9555
9583
|
};
|
|
9556
9584
|
meta?: RequestMeta;
|