@parra/parra-js-sdk 0.3.461 → 0.3.463
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/ParraAPI.d.ts +13 -23
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
@@ -1215,7 +1215,7 @@ export interface CreateMessageAttachment {
|
|
1215
1215
|
image_asset_id?: string;
|
1216
1216
|
}
|
1217
1217
|
export interface CreateMessageRequestBody {
|
1218
|
-
content
|
1218
|
+
content?: string | null;
|
1219
1219
|
attachments?: Array<CreateMessageAttachment>;
|
1220
1220
|
}
|
1221
1221
|
export interface FlagMessageRequestBody {
|
@@ -1591,11 +1591,13 @@ export interface SocialAccountXData {
|
|
1591
1591
|
}
|
1592
1592
|
export type SocialAccountData = SocialAccountYoutubeData | SocialAccountXData;
|
1593
1593
|
export interface SocialAccountYoutubeMetrics {
|
1594
|
+
last_synced_at: string;
|
1594
1595
|
subscriber_count: number;
|
1595
1596
|
view_count: number;
|
1596
1597
|
video_count: number;
|
1597
1598
|
}
|
1598
1599
|
export interface SocialAccountXMetrics {
|
1600
|
+
last_synced_at: string;
|
1599
1601
|
follower_count: number;
|
1600
1602
|
following_count: number;
|
1601
1603
|
post_count: number;
|
@@ -4805,7 +4807,7 @@ declare class ParraAPI {
|
|
4805
4807
|
sort?: string;
|
4806
4808
|
created_at?: string;
|
4807
4809
|
}, options?: Options) => Promise<MessageCollectionResponse>;
|
4808
|
-
createMessageForChatChannel: (tenant_id: string, channel_id: string, body
|
4810
|
+
createMessageForChatChannel: (tenant_id: string, channel_id: string, body?: CreateMessageRequestBody, options?: Options) => Promise<Message>;
|
4809
4811
|
deleteChatMessage: (tenant_id: string, message_id: string, options?: Options) => Promise<Response>;
|
4810
4812
|
flagChatMessage: (tenant_id: string, message_id: string, body?: FlagMessageRequestBody, options?: Options) => Promise<Response>;
|
4811
4813
|
addReactionToChatMessage: (tenant_id: string, message_id: string, body: CreateReactionRequestBody, options?: Options) => Promise<Reaction>;
|
@@ -4834,38 +4836,26 @@ declare class ParraAPI {
|
|
4834
4836
|
updateContentCardById: (tenant_id: string, content_card_id: string, body?: UpdateContentCardRequestBody, options?: Options) => Promise<ContentCard>;
|
4835
4837
|
deleteContentCardById: (tenant_id: string, content_card_id: string, options?: Options) => Promise<Response>;
|
4836
4838
|
paginateCreatorUpdateSendersForTenant: (tenant_id: string, query?: {
|
4837
|
-
|
4838
|
-
|
4839
|
-
$skip?: number;
|
4840
|
-
$orderby?: string;
|
4841
|
-
$filter?: string;
|
4842
|
-
$expand?: string;
|
4843
|
-
$search?: string;
|
4839
|
+
limit?: number;
|
4840
|
+
offset?: number;
|
4844
4841
|
}, options?: Options) => Promise<CreatorUpdateSenderCollectionResponse>;
|
4845
4842
|
createCreatorUpdateSenderForTenant: (tenant_id: string, body: CreateCreatorUpdateSenderRequestBody, options?: Options) => Promise<CreatorUpdateSender>;
|
4846
4843
|
updateCreatorUpdateSenderById: (tenant_id: string, creator_update_sender_id: string, body?: UpdateCreatorUpdateSenderRequestBody, options?: Options) => Promise<CreatorUpdateSender>;
|
4847
4844
|
deleteCreatorUpdateSenderById: (tenant_id: string, creator_update_sender_id: string, options?: Options) => Promise<Response>;
|
4848
4845
|
createCreatorUpdateTemplateForTenant: (tenant_id: string, body: CreateCreatorUpdateTemplateRequestBody, options?: Options) => Promise<CreatorUpdateTemplate>;
|
4849
4846
|
paginateCreatorUpdateTemplatesForTenant: (tenant_id: string, query?: {
|
4850
|
-
|
4851
|
-
|
4852
|
-
$skip?: number;
|
4853
|
-
$orderby?: string;
|
4854
|
-
$filter?: string;
|
4855
|
-
$expand?: string;
|
4856
|
-
$search?: string;
|
4847
|
+
limit?: number;
|
4848
|
+
offset?: number;
|
4857
4849
|
}, options?: Options) => Promise<CreatorUpdateTemplateCollectionResponse>;
|
4858
4850
|
updateCreatorUpdateTemplateById: (tenant_id: string, creator_update_template_id: string, body?: UpdateCreatorUpdateTemplateRequestBody, options?: Options) => Promise<CreatorUpdateTemplate>;
|
4859
4851
|
deleteCreatorUpdateTemplateById: (tenant_id: string, creator_update_template_id: string, options?: Options) => Promise<Response>;
|
4860
4852
|
createCreatorUpdateForTenant: (tenant_id: string, body?: CreateCreatorUpdateRequestBody, options?: Options) => Promise<CreatorUpdate>;
|
4861
4853
|
paginateCreatorUpdatesForTenant: (tenant_id: string, query?: {
|
4862
|
-
|
4863
|
-
|
4864
|
-
|
4865
|
-
|
4866
|
-
|
4867
|
-
$expand?: string;
|
4868
|
-
$search?: string;
|
4854
|
+
limit?: number;
|
4855
|
+
offset?: number;
|
4856
|
+
topic?: string;
|
4857
|
+
search?: string;
|
4858
|
+
status?: string;
|
4869
4859
|
}, options?: Options) => Promise<CreatorUpdateCollectionResponse>;
|
4870
4860
|
getCreatorUpdate: (tenant_id: string, creator_update_id: string, options?: Options) => Promise<CreatorUpdate>;
|
4871
4861
|
updateCreatorUpdate: (tenant_id: string, creator_update_id: string, body?: UpdateCreatorUpdateRequestBody, options?: Options) => Promise<CreatorUpdate>;
|