@zilfu/sdk 0.2.9 → 0.2.11
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 -4
- package/dist/index.d.ts +22 -4
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -625,7 +625,7 @@ type StoreSpaceRequest = {
|
|
|
625
625
|
*/
|
|
626
626
|
type StoreWebhookRequest = {
|
|
627
627
|
url: string;
|
|
628
|
-
events: Array<'post.published' | 'post.failed' | 'post.scheduled' | 'comment.published' | 'comment.failed' | 'account.connected' | 'account.disconnected'>;
|
|
628
|
+
events: Array<'post.published' | 'post.failed' | 'post.scheduled' | 'comment.published' | 'comment.failed' | 'comment.received' | 'account.connected' | 'account.disconnected'>;
|
|
629
629
|
};
|
|
630
630
|
/**
|
|
631
631
|
* UpdateBioBlockRequest
|
|
@@ -693,7 +693,7 @@ type UpdateSpaceRequest = {
|
|
|
693
693
|
type UpdateWebhookRequest = {
|
|
694
694
|
url?: string;
|
|
695
695
|
is_active?: boolean;
|
|
696
|
-
events?: Array<'post.published' | 'post.failed' | 'post.scheduled' | 'comment.published' | 'comment.failed' | 'account.connected' | 'account.disconnected'>;
|
|
696
|
+
events?: Array<'post.published' | 'post.failed' | 'post.scheduled' | 'comment.published' | 'comment.failed' | 'comment.received' | 'account.connected' | 'account.disconnected'>;
|
|
697
697
|
};
|
|
698
698
|
/**
|
|
699
699
|
* WebhookResource
|
|
@@ -1810,10 +1810,13 @@ type GetSpacesBySpacePostsData = {
|
|
|
1810
1810
|
space: number;
|
|
1811
1811
|
};
|
|
1812
1812
|
query?: {
|
|
1813
|
-
status?:
|
|
1814
|
-
|
|
1813
|
+
status?: PostStatus;
|
|
1814
|
+
'statuses[]'?: Array<PostStatus>;
|
|
1815
|
+
account_id?: number;
|
|
1816
|
+
'account_ids[]'?: Array<number>;
|
|
1815
1817
|
from?: string;
|
|
1816
1818
|
to?: string;
|
|
1819
|
+
per_page?: number;
|
|
1817
1820
|
};
|
|
1818
1821
|
url: '/spaces/{space}/posts';
|
|
1819
1822
|
};
|
|
@@ -1845,6 +1848,21 @@ type GetSpacesBySpacePostsErrors = {
|
|
|
1845
1848
|
*/
|
|
1846
1849
|
message: string;
|
|
1847
1850
|
};
|
|
1851
|
+
/**
|
|
1852
|
+
* Validation error
|
|
1853
|
+
*/
|
|
1854
|
+
422: {
|
|
1855
|
+
/**
|
|
1856
|
+
* Errors overview.
|
|
1857
|
+
*/
|
|
1858
|
+
message: string;
|
|
1859
|
+
/**
|
|
1860
|
+
* A detailed description of each field that failed validation.
|
|
1861
|
+
*/
|
|
1862
|
+
errors: {
|
|
1863
|
+
[key: string]: Array<string>;
|
|
1864
|
+
};
|
|
1865
|
+
};
|
|
1848
1866
|
};
|
|
1849
1867
|
type GetSpacesBySpacePostsError = GetSpacesBySpacePostsErrors[keyof GetSpacesBySpacePostsErrors];
|
|
1850
1868
|
type GetSpacesBySpacePostsResponses = {
|
package/dist/index.d.ts
CHANGED
|
@@ -625,7 +625,7 @@ type StoreSpaceRequest = {
|
|
|
625
625
|
*/
|
|
626
626
|
type StoreWebhookRequest = {
|
|
627
627
|
url: string;
|
|
628
|
-
events: Array<'post.published' | 'post.failed' | 'post.scheduled' | 'comment.published' | 'comment.failed' | 'account.connected' | 'account.disconnected'>;
|
|
628
|
+
events: Array<'post.published' | 'post.failed' | 'post.scheduled' | 'comment.published' | 'comment.failed' | 'comment.received' | 'account.connected' | 'account.disconnected'>;
|
|
629
629
|
};
|
|
630
630
|
/**
|
|
631
631
|
* UpdateBioBlockRequest
|
|
@@ -693,7 +693,7 @@ type UpdateSpaceRequest = {
|
|
|
693
693
|
type UpdateWebhookRequest = {
|
|
694
694
|
url?: string;
|
|
695
695
|
is_active?: boolean;
|
|
696
|
-
events?: Array<'post.published' | 'post.failed' | 'post.scheduled' | 'comment.published' | 'comment.failed' | 'account.connected' | 'account.disconnected'>;
|
|
696
|
+
events?: Array<'post.published' | 'post.failed' | 'post.scheduled' | 'comment.published' | 'comment.failed' | 'comment.received' | 'account.connected' | 'account.disconnected'>;
|
|
697
697
|
};
|
|
698
698
|
/**
|
|
699
699
|
* WebhookResource
|
|
@@ -1810,10 +1810,13 @@ type GetSpacesBySpacePostsData = {
|
|
|
1810
1810
|
space: number;
|
|
1811
1811
|
};
|
|
1812
1812
|
query?: {
|
|
1813
|
-
status?:
|
|
1814
|
-
|
|
1813
|
+
status?: PostStatus;
|
|
1814
|
+
'statuses[]'?: Array<PostStatus>;
|
|
1815
|
+
account_id?: number;
|
|
1816
|
+
'account_ids[]'?: Array<number>;
|
|
1815
1817
|
from?: string;
|
|
1816
1818
|
to?: string;
|
|
1819
|
+
per_page?: number;
|
|
1817
1820
|
};
|
|
1818
1821
|
url: '/spaces/{space}/posts';
|
|
1819
1822
|
};
|
|
@@ -1845,6 +1848,21 @@ type GetSpacesBySpacePostsErrors = {
|
|
|
1845
1848
|
*/
|
|
1846
1849
|
message: string;
|
|
1847
1850
|
};
|
|
1851
|
+
/**
|
|
1852
|
+
* Validation error
|
|
1853
|
+
*/
|
|
1854
|
+
422: {
|
|
1855
|
+
/**
|
|
1856
|
+
* Errors overview.
|
|
1857
|
+
*/
|
|
1858
|
+
message: string;
|
|
1859
|
+
/**
|
|
1860
|
+
* A detailed description of each field that failed validation.
|
|
1861
|
+
*/
|
|
1862
|
+
errors: {
|
|
1863
|
+
[key: string]: Array<string>;
|
|
1864
|
+
};
|
|
1865
|
+
};
|
|
1848
1866
|
};
|
|
1849
1867
|
type GetSpacesBySpacePostsError = GetSpacesBySpacePostsErrors[keyof GetSpacesBySpacePostsErrors];
|
|
1850
1868
|
type GetSpacesBySpacePostsResponses = {
|