@vendasta/social-posts 5.14.1 → 5.15.1

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.
@@ -36,7 +36,8 @@ export declare enum SocialPostService {
36
36
  GOOGLE_PLUS = 3,
37
37
  GOOGLE_MY_BUSINESS = 4,
38
38
  UNKNOWN = 5,
39
- INSTAGRAM = 6
39
+ INSTAGRAM = 6,
40
+ CURATED_CONTENT = 7
40
41
  }
41
42
  export declare enum TemplateType {
42
43
  TEMPLATE_UNSET = 0,
@@ -34,6 +34,10 @@ export interface MediaUploadRequestInterface {
34
34
  export interface MediaUploadResponseInterface {
35
35
  uploadUrns?: string[];
36
36
  }
37
+ export interface RepostSocialPostRequestInterface {
38
+ socialPostId?: string;
39
+ accountGroupId?: string;
40
+ }
37
41
  export interface SocialPostOutputInterface {
38
42
  internalPostId?: string;
39
43
  socialPost?: SocialPostV2Interface;
@@ -8,4 +8,4 @@ export { TenorGifMediaMapEntryInterface, TenorGifInterface, TenorMediaObjectInte
8
8
  export { CreateMultilocationPostRequestInterface, CreateMultilocationPostResponseInterface, CreatePostTemplateRequestInterface, CreatePostTemplateResponseInterface, DateRangeFilterInterface, DeleteHashtagsRequestInterface, DeleteMultilocationPostRequestInterface, DeletePostTemplateRequestInterface, DeleteSocialPostRequestInterface, EditMultilocationPostRequestInterface, EditMultilocationPostResponseInterface, PartnerListScheduledSocialPostsRequestFiltersInterface, GenerateCSVForPerformanceStatsRequestInterface, GenerateCSVForPerformanceStatsResponseInterface, GetGeneratedCSVForPerformanceStatsRequestInterface, GetGeneratedCSVForPerformanceStatsResponseInterface, GetMultiSocialPostStatsRequestInterface, GetMultiSocialPostStatsResponseInterface, GetMultiSocialPostsRequestInterface, GetMultiSocialPostsResponseInterface, GetMultilocationPostRequestInterface, GetMultilocationPostResponseInterface, GetPostTemplateRequestInterface, GetPostTemplateResponseInterface, GetScheduledPostCountRequestInterface, GetScheduledPostCountResponseInterface, GetTenorAnonymousIdRequestInterface, GetTenorAnonymousIdResponseInterface, ListMultilocationPostsForBrandRequestInterface, ListMultilocationPostsForBrandResponseInterface, ListPixabayImagesRequestInterface, ListPixabayImagesResponseInterface, ListPostTemplatesRequestInterface, ListPostTemplatesResponseInterface, ListSocialPostsRequestInterface, ListSocialPostsResponseInterface, ListTenorGifsRequestInterface, ListTenorGifsResponseInterface, PartnerListScheduledPostsResponseInterface, PartnerListScheduledSocialPostsRequestInterface, PostDataInterface, RemoveFromMultilocationPostRequestInterface, ReplaceHashtagsRequestInterface, SchedulePostRequestInterface, SchedulePostResponseInterface, ScheduleToAllPagesRequestInterface, ScheduleToAllPagesResponseInterface, SearchHashtagRequestInterface, SearchHashtagResponseInterface, SuggestMessageRequestInterface, SuggestMessageResponseInterface, UpdatePostTemplateRequestInterface, } from './api.interface';
9
9
  export { LinkV2Interface, MetadataV2Interface, PostActionV2Interface, PostContentV2Interface, PostCustomizationV2Interface, PostEventV2Interface, PostMediaV2Interface, SocialPostV2Interface, } from './social-post-v2.interface';
10
10
  export { MediaInterface, } from './linkedin-v2.interface';
11
- export { CreateImageRequestInterface, CreateImageResponseInterface, DeletePostRequestInterface, ImageBlobInterface, ImageCreatedInterface, ImageUrlInterface, MediaUploadRequestInterface, MediaUploadResponseInterface, SocialPostOutputInterface, SocialPostRequestInterface, SocialPostResponseInterface, UpdateSocialPostRequestInterface, UpdateSocialPostResponseInterface, } from './api-v2.interface';
11
+ export { CreateImageRequestInterface, CreateImageResponseInterface, DeletePostRequestInterface, ImageBlobInterface, ImageCreatedInterface, ImageUrlInterface, MediaUploadRequestInterface, MediaUploadResponseInterface, RepostSocialPostRequestInterface, SocialPostOutputInterface, SocialPostRequestInterface, SocialPostResponseInterface, UpdateSocialPostRequestInterface, UpdateSocialPostResponseInterface, } from './api-v2.interface';
@@ -48,4 +48,6 @@ export interface SocialPostV2Interface {
48
48
  internalPostId?: string;
49
49
  metadata?: MetadataV2Interface[];
50
50
  partnerId?: string;
51
+ brandId?: string;
52
+ multilocationPostId?: string;
51
53
  }
@@ -60,6 +60,13 @@ export declare class MediaUploadResponse implements i.MediaUploadResponseInterfa
60
60
  constructor(kwargs?: i.MediaUploadResponseInterface);
61
61
  toApiJson(): object;
62
62
  }
63
+ export declare class RepostSocialPostRequest implements i.RepostSocialPostRequestInterface {
64
+ socialPostId: string;
65
+ accountGroupId: string;
66
+ static fromProto(proto: any): RepostSocialPostRequest;
67
+ constructor(kwargs?: i.RepostSocialPostRequestInterface);
68
+ toApiJson(): object;
69
+ }
63
70
  export declare class SocialPostOutput implements i.SocialPostOutputInterface {
64
71
  internalPostId: string;
65
72
  socialPost: SocialPostV2;
@@ -8,4 +8,4 @@ export { TenorGifMediaMapEntry, TenorGif, TenorMediaObject, } from './tenor-gif'
8
8
  export { CreateMultilocationPostRequest, CreateMultilocationPostResponse, CreatePostTemplateRequest, CreatePostTemplateResponse, DateRangeFilter, DeleteHashtagsRequest, DeleteMultilocationPostRequest, DeletePostTemplateRequest, DeleteSocialPostRequest, EditMultilocationPostRequest, EditMultilocationPostResponse, PartnerListScheduledSocialPostsRequestFilters, GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, GetPostTemplateRequest, GetPostTemplateResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListTenorGifsRequest, ListTenorGifsResponse, PartnerListScheduledPostsResponse, PartnerListScheduledSocialPostsRequest, PostData, RemoveFromMultilocationPostRequest, ReplaceHashtagsRequest, SchedulePostRequest, SchedulePostResponse, ScheduleToAllPagesRequest, ScheduleToAllPagesResponse, SearchHashtagRequest, SearchHashtagResponse, SuggestMessageRequest, SuggestMessageResponse, UpdatePostTemplateRequest, } from './api';
9
9
  export { LinkV2, MetadataV2, PostActionV2, PostContentV2, PostCustomizationV2, PostEventV2, PostMediaV2, SocialPostV2, } from './social-post-v2';
10
10
  export { Media, } from './linkedin-v2';
11
- export { CreateImageRequest, CreateImageResponse, DeletePostRequest, ImageBlob, ImageCreated, ImageUrl, MediaUploadRequest, MediaUploadResponse, SocialPostOutput, SocialPostRequest, SocialPostResponse, UpdateSocialPostRequest, UpdateSocialPostResponse, } from './api-v2';
11
+ export { CreateImageRequest, CreateImageResponse, DeletePostRequest, ImageBlob, ImageCreated, ImageUrl, MediaUploadRequest, MediaUploadResponse, RepostSocialPostRequest, SocialPostOutput, SocialPostRequest, SocialPostResponse, UpdateSocialPostRequest, UpdateSocialPostResponse, } from './api-v2';
@@ -71,6 +71,8 @@ export declare class SocialPostV2 implements i.SocialPostV2Interface {
71
71
  internalPostId: string;
72
72
  metadata: MetadataV2[];
73
73
  partnerId: string;
74
+ brandId: string;
75
+ multilocationPostId: string;
74
76
  static fromProto(proto: any): SocialPostV2;
75
77
  constructor(kwargs?: i.SocialPostV2Interface);
76
78
  toApiJson(): object;
@@ -1,6 +1,6 @@
1
- import { CreateImageRequest, CreateImageResponse, ImageBlob, ImageUrl, SocialPostRequest, SocialPostResponse, UpdateSocialPostRequest, UpdateSocialPostResponse } from './objects/';
2
- import { CreateImageRequestInterface, ImageUrlInterface, SocialPostRequestInterface, UpdateSocialPostRequestInterface } from './interfaces/';
3
- import { HttpClient } from '@angular/common/http';
1
+ import { CreateImageRequest, CreateImageResponse, ImageBlob, ImageUrl, RepostSocialPostRequest, SocialPostRequest, SocialPostResponse, UpdateSocialPostRequest, UpdateSocialPostResponse } from './objects/';
2
+ import { CreateImageRequestInterface, ImageUrlInterface, RepostSocialPostRequestInterface, SocialPostRequestInterface, UpdateSocialPostRequestInterface } from './interfaces/';
3
+ import { HttpClient, HttpResponse } from '@angular/common/http';
4
4
  import { HostService } from '../_generated/host.service';
5
5
  import { Observable } from 'rxjs';
6
6
  import * as i0 from "@angular/core";
@@ -15,6 +15,7 @@ export declare class SocialPostsV2ApiService {
15
15
  createImages(r: CreateImageRequest | CreateImageRequestInterface): Observable<CreateImageResponse>;
16
16
  getImageByUrl(r: ImageUrl | ImageUrlInterface): Observable<ImageBlob>;
17
17
  generateVariations(r: ImageUrl | ImageUrlInterface): Observable<CreateImageResponse>;
18
+ repostSocialPost(r: RepostSocialPostRequest | RepostSocialPostRequestInterface): Observable<HttpResponse<null>>;
18
19
  static ɵfac: i0.ɵɵFactoryDeclaration<SocialPostsV2ApiService, never>;
19
20
  static ɵprov: i0.ɵɵInjectableDeclaration<SocialPostsV2ApiService>;
20
21
  }
@@ -2,6 +2,7 @@ import { Observable } from 'rxjs';
2
2
  import { CreateImageResponse, ImageBlob, SocialPostResponse } from './_internal/objects/api-v2';
3
3
  import { SocialPostsV2ApiService } from './_internal/social-posts-v2.api.service';
4
4
  import { SocialPostRequestInterface } from './_internal/interfaces';
5
+ import { HttpResponse } from "@angular/common/http";
5
6
  import * as i0 from "@angular/core";
6
7
  export declare class SocialPostsV2Service {
7
8
  private socialpostV2ApiService;
@@ -10,6 +11,7 @@ export declare class SocialPostsV2Service {
10
11
  createImage(businessId: string, prompt: string, imageAmount?: number, size?: string): Observable<CreateImageResponse>;
11
12
  getImageByUrl(url: string): Observable<ImageBlob>;
12
13
  generateVariations(url: string): Observable<CreateImageResponse>;
14
+ repostSocialPost(socialPostId: string, businessId: string): Observable<HttpResponse<null>>;
13
15
  static ɵfac: i0.ɵɵFactoryDeclaration<SocialPostsV2Service, never>;
14
16
  static ɵprov: i0.ɵɵInjectableDeclaration<SocialPostsV2Service>;
15
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/social-posts",
3
- "version": "5.14.1",
3
+ "version": "5.15.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"