@parra/parra-js-sdk 0.3.315 → 0.3.317

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