@parra/parra-js-sdk 0.3.314 → 0.3.316
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 +7 -2
- package/package.json +1 -1
package/dist/ParraAPI.d.ts
CHANGED
|
@@ -783,8 +783,9 @@ export interface CreateCreatorAttachmentAttachmentRequestBody {
|
|
|
783
783
|
url: string;
|
|
784
784
|
}
|
|
785
785
|
export interface CreateCreatorUpdateRequestBody {
|
|
786
|
-
title
|
|
786
|
+
title: string;
|
|
787
787
|
description?: string;
|
|
788
|
+
attachments?: Array<CreateCreatorAttachmentAttachmentRequestBody>;
|
|
788
789
|
}
|
|
789
790
|
export declare enum CreatorUpdateStatus {
|
|
790
791
|
draft = "draft",
|
|
@@ -820,6 +821,10 @@ export interface CreatorUpdateCollectionResponse {
|
|
|
820
821
|
total_count: number;
|
|
821
822
|
data: Array<CreatorUpdate>;
|
|
822
823
|
}
|
|
824
|
+
export interface UpdateCreatorUpdateRequestBody {
|
|
825
|
+
title?: string;
|
|
826
|
+
description?: string;
|
|
827
|
+
}
|
|
823
828
|
export declare enum FeedItemType {
|
|
824
829
|
youtubeVideo = "youtube_video",
|
|
825
830
|
contentCard = "content_card",
|
|
@@ -3519,7 +3524,7 @@ declare class ParraAPI {
|
|
|
3519
3524
|
createCreatorUpdateForTenant: (tenant_id: string, body: CreateCreatorUpdateRequestBody, options?: Options) => Promise<CreatorUpdate>;
|
|
3520
3525
|
paginateCreatorUpdatesForTenant: (tenant_id: string, options?: Options) => Promise<CreatorUpdateCollectionResponse>;
|
|
3521
3526
|
getCreatorUpdate: (tenant_id: string, creator_update_id: string, options?: Options) => Promise<CreatorUpdate>;
|
|
3522
|
-
updateCreatorUpdate: (tenant_id: string, creator_update_id: string, body?:
|
|
3527
|
+
updateCreatorUpdate: (tenant_id: string, creator_update_id: string, body?: UpdateCreatorUpdateRequestBody, options?: Options) => Promise<CreatorUpdate>;
|
|
3523
3528
|
deleteCreatorUpdate: (tenant_id: string, creator_update_id: string, options?: Options) => Promise<Response>;
|
|
3524
3529
|
sendCreatorUpdateForTenant: (tenant_id: string, creator_update_id: string, options?: Options) => Promise<CreatorUpdate>;
|
|
3525
3530
|
deleteAttachmentForCreatorUpdateById: (tenant_id: string, creator_update_id: string, creator_update_attachment_id: string, options?: Options) => Promise<Response>;
|