@vendasta/social-posts 5.43.2 → 5.45.0
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/esm2020/lib/_internal/index.mjs +2 -1
- package/esm2020/lib/_internal/interfaces/api-v2.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/pexels-image.interface.mjs +8 -0
- package/esm2020/lib/_internal/objects/api-v2.mjs +171 -17
- package/esm2020/lib/_internal/objects/api.mjs +63 -1
- package/esm2020/lib/_internal/objects/index.mjs +4 -3
- package/esm2020/lib/_internal/objects/pexels-image.mjs +54 -0
- package/esm2020/lib/_internal/pexels-images.api.service.mjs +40 -0
- package/esm2020/lib/_internal/social-posts-v2.api.service.mjs +12 -2
- package/esm2020/lib/social-post-v2.service.mjs +10 -2
- package/fesm2015/vendasta-social-posts.mjs +350 -30
- package/fesm2015/vendasta-social-posts.mjs.map +1 -1
- package/fesm2020/vendasta-social-posts.mjs +350 -30
- package/fesm2020/vendasta-social-posts.mjs.map +1 -1
- package/lib/_internal/index.d.ts +1 -0
- package/lib/_internal/interfaces/api-v2.interface.d.ts +36 -4
- package/lib/_internal/interfaces/api.interface.d.ts +10 -0
- package/lib/_internal/interfaces/index.d.ts +3 -2
- package/lib/_internal/interfaces/pexels-image.interface.d.ts +9 -0
- package/lib/_internal/objects/api-v2.d.ts +54 -7
- package/lib/_internal/objects/api.d.ts +16 -0
- package/lib/_internal/objects/index.d.ts +3 -2
- package/lib/_internal/objects/pexels-image.d.ts +14 -0
- package/lib/_internal/pexels-images.api.service.d.ts +13 -0
- package/lib/_internal/social-posts-v2.api.service.d.ts +4 -2
- package/lib/social-post-v2.service.d.ts +3 -1
- package/package.json +1 -1
package/lib/_internal/index.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ export { HashTagsApiService } from './hash-tags.api.service';
|
|
|
13
13
|
export { LinkedinApiService } from './linkedin.api.service';
|
|
14
14
|
export { MultilocationPostApiService } from './multilocation-post.api.service';
|
|
15
15
|
export { PartnerSocialPostsApiService } from './partner-social-posts.api.service';
|
|
16
|
+
export { PexelsImagesApiService } from './pexels-images.api.service';
|
|
16
17
|
export { PixabayImagesApiService } from './pixabay-images.api.service';
|
|
17
18
|
export { PostPerformanceApiService } from './post-performance.api.service';
|
|
18
19
|
export { PostTemplatesApiService } from './post-templates.api.service';
|
|
@@ -117,6 +117,13 @@ export interface GetCommonAiInstructionsRequestInterface {
|
|
|
117
117
|
export interface GetCommonAiInstructionsResponseInterface {
|
|
118
118
|
aiInstructions?: AiInstructionsInterface;
|
|
119
119
|
}
|
|
120
|
+
export interface GetMediaMetadataFromURLRequestInterface {
|
|
121
|
+
url?: string;
|
|
122
|
+
}
|
|
123
|
+
export interface GetMediaMetadataFromURLResponseInterface {
|
|
124
|
+
blobType?: string;
|
|
125
|
+
finalUrl?: string;
|
|
126
|
+
}
|
|
120
127
|
export interface ImageBlobInterface {
|
|
121
128
|
blob?: string;
|
|
122
129
|
}
|
|
@@ -161,6 +168,12 @@ export interface ListCuratedContentResponseInterface {
|
|
|
161
168
|
hasMore?: boolean;
|
|
162
169
|
nextCursor?: string;
|
|
163
170
|
}
|
|
171
|
+
export interface ListPostableSocialServiceRequestInterface {
|
|
172
|
+
businessId?: string;
|
|
173
|
+
}
|
|
174
|
+
export interface ListPostableSocialServiceResponseInterface {
|
|
175
|
+
postableSocialService?: SocialServiceInterface[];
|
|
176
|
+
}
|
|
164
177
|
export interface ListUnsplashImagesRequestInterface {
|
|
165
178
|
query?: string;
|
|
166
179
|
page?: number;
|
|
@@ -189,14 +202,14 @@ export interface MediaUploadResponseInterface {
|
|
|
189
202
|
export interface MultiResponseInterface {
|
|
190
203
|
items?: string[];
|
|
191
204
|
}
|
|
192
|
-
export interface GeneratePostsResponsePostInterface {
|
|
193
|
-
text?: string;
|
|
194
|
-
imageResponse?: GeneratePostsResponseImageResponseInterface;
|
|
195
|
-
}
|
|
196
205
|
export interface PostInterface {
|
|
197
206
|
topic?: string;
|
|
198
207
|
postContent?: PostContentInterface[];
|
|
199
208
|
}
|
|
209
|
+
export interface GeneratePostsResponsePostInterface {
|
|
210
|
+
text?: string;
|
|
211
|
+
imageResponse?: GeneratePostsResponseImageResponseInterface;
|
|
212
|
+
}
|
|
200
213
|
export interface PostContentInterface {
|
|
201
214
|
socialNetwork?: e.Network;
|
|
202
215
|
post?: string;
|
|
@@ -229,6 +242,25 @@ export interface SocialPostRequestInterface {
|
|
|
229
242
|
export interface SocialPostResponseInterface {
|
|
230
243
|
socialPosts?: SocialPostOutputInterface[];
|
|
231
244
|
}
|
|
245
|
+
export interface SocialServiceInterface {
|
|
246
|
+
ssid?: string;
|
|
247
|
+
spid?: string;
|
|
248
|
+
accountGroupId?: string;
|
|
249
|
+
isAuthenticated?: boolean;
|
|
250
|
+
profileUrl?: string;
|
|
251
|
+
profileImageUrl?: string;
|
|
252
|
+
serviceType?: string;
|
|
253
|
+
socialProfileId?: string;
|
|
254
|
+
isSyncing?: boolean;
|
|
255
|
+
clientTags?: string[];
|
|
256
|
+
serviceId?: string;
|
|
257
|
+
isDisabledFlag?: boolean;
|
|
258
|
+
socialTokenBroken?: boolean;
|
|
259
|
+
name?: string;
|
|
260
|
+
fullName?: string;
|
|
261
|
+
collectPostsFlag?: boolean;
|
|
262
|
+
collectStatsFlag?: boolean;
|
|
263
|
+
}
|
|
232
264
|
export interface TitleGenerationInterface {
|
|
233
265
|
blogTitle?: string;
|
|
234
266
|
}
|
|
@@ -2,6 +2,7 @@ import { FieldMaskInterface } from './field-mask.interface';
|
|
|
2
2
|
import { HashtagInterface } from './hashtag.interface';
|
|
3
3
|
import { LocationInterface, BulkUploadMultilocationInterface, MultilocationPostErrorInterface, PostCustomizationInterface, MultilocationPostInterface, MultilocationServicesInterface } from './multilocation-post.interface';
|
|
4
4
|
import { MediaEntryInterface, MetaDataInterface, SSIDPostTypeInterface, MLPostCategoryInterface, YoutubeCustomizationInterface, SocialPostInterface, PostTemplateInterface, SocialPostDataInterface, SchedulePostStatusInterface } from './social-posts.interface';
|
|
5
|
+
import { PexelsImageInterface } from './pexels-image.interface';
|
|
5
6
|
import { PixabayImageInterface } from './pixabay-image.interface';
|
|
6
7
|
import { SocialPostStatsInterface } from './social-post-stats.interface';
|
|
7
8
|
import { TenorGifInterface } from './tenor-gif.interface';
|
|
@@ -174,6 +175,15 @@ export interface ListMultilocationPostsForBrandResponseInterface {
|
|
|
174
175
|
hasMore?: boolean;
|
|
175
176
|
failedSocialPosts?: SocialPostInterface[];
|
|
176
177
|
}
|
|
178
|
+
export interface ListPexelsImagesRequestInterface {
|
|
179
|
+
query?: string;
|
|
180
|
+
pageNumber?: number;
|
|
181
|
+
pageSize?: number;
|
|
182
|
+
}
|
|
183
|
+
export interface ListPexelsImagesResponseInterface {
|
|
184
|
+
totalHits?: number;
|
|
185
|
+
pexelsImages?: PexelsImageInterface[];
|
|
186
|
+
}
|
|
177
187
|
export interface ListPixabayImagesRequestInterface {
|
|
178
188
|
query?: string;
|
|
179
189
|
cursor?: string;
|
|
@@ -5,12 +5,13 @@ export { BulkUploadMultilocationInterface, LocationInterface, MultilocationPostI
|
|
|
5
5
|
export { PixabayImageInterface, } from './pixabay-image.interface';
|
|
6
6
|
export { FacebookPostStatsInterface, SocialPostStatsInterface, TwitterPostStatsInterface, } from './social-post-stats.interface';
|
|
7
7
|
export { TenorGifMediaMapEntryInterface, TenorGifInterface, TenorMediaObjectInterface, } from './tenor-gif.interface';
|
|
8
|
-
export {
|
|
8
|
+
export { PexelsImageInterface, } from './pexels-image.interface';
|
|
9
|
+
export { BulkCreateMultilocationPostRequestInterface, BulkCreateMultilocationPostResponseInterface, 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, ListPexelsImagesRequestInterface, ListPexelsImagesResponseInterface, 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
10
|
export { AccessInterface, MCPOptionsInterface, } from './annotations.interface';
|
|
10
11
|
export { LinkV2Interface, MetadataV2Interface, PostActionV2Interface, PostContentV2Interface, PostCustomizationV2Interface, PostEventV2Interface, PostMediaV2Interface, SocialPostV2Interface, TikTokCustomizationV2Interface, YoutubeCustomizationV2Interface, } from './social-post-v2.interface';
|
|
11
12
|
export { MediaInterface, } from './linkedin-v2.interface';
|
|
12
13
|
export { AncestryInterface, CollectionInterface, ImageInterface, LinksInterface, PhotoInterface, SocialInterface, SourceInterface, SubAncestryInterface, TagsInterface, UrlsInterface, UserInterface, UserLinkInterface, } from './unsplash-image.interface';
|
|
13
|
-
export { AiInstructionsInterface, BlogPostCampaignInterface, CreateCommonAiInstructionsRequestInterface, CreateCommonAiInstructionsResponseInterface, CreateImageRequestInterface, CreateImageResponseInterface, CuratedContentPostInterface, DeletePostRequestInterface, FetchLibraryImagesRequestInterface, FetchLibraryImagesResponseInterface, GenerateAiRequestInterface, GenerateAiResponseInterface, GenerateBlogPostCampaignRequestInterface, GenerateContentMetaDataRequestInterface, GenerateContentMetaDataResponseInterface, GeneratePostCampaignRequestInterface, GeneratePostCampaignResponseInterface, GeneratePostsRequestInterface, GeneratePostsResponseInterface, GetCommonAiInstructionsRequestInterface, GetCommonAiInstructionsResponseInterface, ImageBlobInterface, ImageCreatedInterface, GeneratePostsResponseImageResponseInterface, ImageResponseInterface, ImageUrlInterface, KeywordGenerationInterface, KeywordListInterface, ListCuratedContentRequestInterface, ListCuratedContentResponseInterface, ListUnsplashImagesRequestInterface, ListUnsplashImagesResponseInterface, MediaUploadRequestInterface, MediaUploadResponseInterface, MultiResponseInterface,
|
|
14
|
+
export { AiInstructionsInterface, BlogPostCampaignInterface, CreateCommonAiInstructionsRequestInterface, CreateCommonAiInstructionsResponseInterface, CreateImageRequestInterface, CreateImageResponseInterface, CuratedContentPostInterface, DeletePostRequestInterface, FetchLibraryImagesRequestInterface, FetchLibraryImagesResponseInterface, GenerateAiRequestInterface, GenerateAiResponseInterface, GenerateBlogPostCampaignRequestInterface, GenerateContentMetaDataRequestInterface, GenerateContentMetaDataResponseInterface, GeneratePostCampaignRequestInterface, GeneratePostCampaignResponseInterface, GeneratePostsRequestInterface, GeneratePostsResponseInterface, GetCommonAiInstructionsRequestInterface, GetCommonAiInstructionsResponseInterface, GetMediaMetadataFromURLRequestInterface, GetMediaMetadataFromURLResponseInterface, ImageBlobInterface, ImageCreatedInterface, GeneratePostsResponseImageResponseInterface, ImageResponseInterface, ImageUrlInterface, KeywordGenerationInterface, KeywordListInterface, ListCuratedContentRequestInterface, ListCuratedContentResponseInterface, ListPostableSocialServiceRequestInterface, ListPostableSocialServiceResponseInterface, ListUnsplashImagesRequestInterface, ListUnsplashImagesResponseInterface, MediaUploadRequestInterface, MediaUploadResponseInterface, MultiResponseInterface, PostInterface, GeneratePostsResponsePostInterface, PostContentInterface, PostsGenerationInterface, RepostSocialPostRequestInterface, ResponseInterface, SocialPostOutputInterface, SocialPostRequestInterface, SocialPostResponseInterface, SocialServiceInterface, TitleGenerationInterface, UpdateCommonAiInstructionsRequestInterface, UpdateCommonAiInstructionsResponseInterface, UpdateSocialPostRequestInterface, UpdateSocialPostResponseInterface, UploadToStorageRequestInterface, UploadToStorageResponseInterface, UploadedMediaInterface, } from './api-v2.interface';
|
|
14
15
|
export { ActionInterface, EndChatRequestInterface, SendMessageRequestInterface, SendMessageResponseInterface, StartChatRequestInterface, StartChatResponseInterface, } from './chat-bot.interface';
|
|
15
16
|
export { ChatMessageInterface, SendMessageV2RequestInterface, SendMessageV2ResponseInterface, } from './chat-bot-v2.interface';
|
|
16
17
|
export { BlogConnectionInterface, CreateBlogConnectionRequestInterface, CreateBlogConnectionResponseInterface, DeleteBlogConnectionRequestInterface, GetBlogConnectionRequestInterface, GetBlogConnectionResponseInterface, ListBlogConnectionRequestInterface, ListBlogConnectionResponseInterface, UpdateBlogConnectionRequestInterface, } from './blog-connection.interface';
|
|
@@ -182,6 +182,19 @@ export declare class GetCommonAiInstructionsResponse implements i.GetCommonAiIns
|
|
|
182
182
|
constructor(kwargs?: i.GetCommonAiInstructionsResponseInterface);
|
|
183
183
|
toApiJson(): object;
|
|
184
184
|
}
|
|
185
|
+
export declare class GetMediaMetadataFromURLRequest implements i.GetMediaMetadataFromURLRequestInterface {
|
|
186
|
+
url: string;
|
|
187
|
+
static fromProto(proto: any): GetMediaMetadataFromURLRequest;
|
|
188
|
+
constructor(kwargs?: i.GetMediaMetadataFromURLRequestInterface);
|
|
189
|
+
toApiJson(): object;
|
|
190
|
+
}
|
|
191
|
+
export declare class GetMediaMetadataFromURLResponse implements i.GetMediaMetadataFromURLResponseInterface {
|
|
192
|
+
blobType: string;
|
|
193
|
+
finalUrl: string;
|
|
194
|
+
static fromProto(proto: any): GetMediaMetadataFromURLResponse;
|
|
195
|
+
constructor(kwargs?: i.GetMediaMetadataFromURLResponseInterface);
|
|
196
|
+
toApiJson(): object;
|
|
197
|
+
}
|
|
185
198
|
export declare class ImageBlob implements i.ImageBlobInterface {
|
|
186
199
|
blob: string;
|
|
187
200
|
static fromProto(proto: any): ImageBlob;
|
|
@@ -253,6 +266,18 @@ export declare class ListCuratedContentResponse implements i.ListCuratedContentR
|
|
|
253
266
|
constructor(kwargs?: i.ListCuratedContentResponseInterface);
|
|
254
267
|
toApiJson(): object;
|
|
255
268
|
}
|
|
269
|
+
export declare class ListPostableSocialServiceRequest implements i.ListPostableSocialServiceRequestInterface {
|
|
270
|
+
businessId: string;
|
|
271
|
+
static fromProto(proto: any): ListPostableSocialServiceRequest;
|
|
272
|
+
constructor(kwargs?: i.ListPostableSocialServiceRequestInterface);
|
|
273
|
+
toApiJson(): object;
|
|
274
|
+
}
|
|
275
|
+
export declare class ListPostableSocialServiceResponse implements i.ListPostableSocialServiceResponseInterface {
|
|
276
|
+
postableSocialService: SocialService[];
|
|
277
|
+
static fromProto(proto: any): ListPostableSocialServiceResponse;
|
|
278
|
+
constructor(kwargs?: i.ListPostableSocialServiceResponseInterface);
|
|
279
|
+
toApiJson(): object;
|
|
280
|
+
}
|
|
256
281
|
export declare class ListUnsplashImagesRequest implements i.ListUnsplashImagesRequestInterface {
|
|
257
282
|
query: string;
|
|
258
283
|
page: number;
|
|
@@ -296,13 +321,6 @@ export declare class MultiResponse implements i.MultiResponseInterface {
|
|
|
296
321
|
constructor(kwargs?: i.MultiResponseInterface);
|
|
297
322
|
toApiJson(): object;
|
|
298
323
|
}
|
|
299
|
-
export declare class GeneratePostsResponsePost implements i.GeneratePostsResponsePostInterface {
|
|
300
|
-
text: string;
|
|
301
|
-
imageResponse: GeneratePostsResponseImageResponse;
|
|
302
|
-
static fromProto(proto: any): GeneratePostsResponsePost;
|
|
303
|
-
constructor(kwargs?: i.GeneratePostsResponsePostInterface);
|
|
304
|
-
toApiJson(): object;
|
|
305
|
-
}
|
|
306
324
|
export declare class Post implements i.PostInterface {
|
|
307
325
|
topic: string;
|
|
308
326
|
postContent: PostContent[];
|
|
@@ -310,6 +328,13 @@ export declare class Post implements i.PostInterface {
|
|
|
310
328
|
constructor(kwargs?: i.PostInterface);
|
|
311
329
|
toApiJson(): object;
|
|
312
330
|
}
|
|
331
|
+
export declare class GeneratePostsResponsePost implements i.GeneratePostsResponsePostInterface {
|
|
332
|
+
text: string;
|
|
333
|
+
imageResponse: GeneratePostsResponseImageResponse;
|
|
334
|
+
static fromProto(proto: any): GeneratePostsResponsePost;
|
|
335
|
+
constructor(kwargs?: i.GeneratePostsResponsePostInterface);
|
|
336
|
+
toApiJson(): object;
|
|
337
|
+
}
|
|
313
338
|
export declare class PostContent implements i.PostContentInterface {
|
|
314
339
|
socialNetwork: e.Network;
|
|
315
340
|
post: string;
|
|
@@ -363,6 +388,28 @@ export declare class SocialPostResponse implements i.SocialPostResponseInterface
|
|
|
363
388
|
constructor(kwargs?: i.SocialPostResponseInterface);
|
|
364
389
|
toApiJson(): object;
|
|
365
390
|
}
|
|
391
|
+
export declare class SocialService implements i.SocialServiceInterface {
|
|
392
|
+
ssid: string;
|
|
393
|
+
spid: string;
|
|
394
|
+
accountGroupId: string;
|
|
395
|
+
isAuthenticated: boolean;
|
|
396
|
+
profileUrl: string;
|
|
397
|
+
profileImageUrl: string;
|
|
398
|
+
serviceType: string;
|
|
399
|
+
socialProfileId: string;
|
|
400
|
+
isSyncing: boolean;
|
|
401
|
+
clientTags: string[];
|
|
402
|
+
serviceId: string;
|
|
403
|
+
isDisabledFlag: boolean;
|
|
404
|
+
socialTokenBroken: boolean;
|
|
405
|
+
name: string;
|
|
406
|
+
fullName: string;
|
|
407
|
+
collectPostsFlag: boolean;
|
|
408
|
+
collectStatsFlag: boolean;
|
|
409
|
+
static fromProto(proto: any): SocialService;
|
|
410
|
+
constructor(kwargs?: i.SocialServiceInterface);
|
|
411
|
+
toApiJson(): object;
|
|
412
|
+
}
|
|
366
413
|
export declare class TitleGeneration implements i.TitleGenerationInterface {
|
|
367
414
|
blogTitle: string;
|
|
368
415
|
static fromProto(proto: any): TitleGeneration;
|
|
@@ -3,6 +3,7 @@ import { FieldMask } from './field-mask';
|
|
|
3
3
|
import { Hashtag } from './hashtag';
|
|
4
4
|
import { Location, BulkUploadMultilocation, MultilocationPostError, PostCustomization, MultilocationPost, MultilocationServices } from './multilocation-post';
|
|
5
5
|
import { MediaEntry, MetaData, SSIDPostType, MLPostCategory, YoutubeCustomization, SocialPost, PostTemplate, SocialPostData, SchedulePostStatus } from './social-posts';
|
|
6
|
+
import { PexelsImage } from './pexels-image';
|
|
6
7
|
import { PixabayImage } from './pixabay-image';
|
|
7
8
|
import { SocialPostStats } from './social-post-stats';
|
|
8
9
|
import { TenorGif } from './tenor-gif';
|
|
@@ -272,6 +273,21 @@ export declare class ListMultilocationPostsForBrandResponse implements i.ListMul
|
|
|
272
273
|
constructor(kwargs?: i.ListMultilocationPostsForBrandResponseInterface);
|
|
273
274
|
toApiJson(): object;
|
|
274
275
|
}
|
|
276
|
+
export declare class ListPexelsImagesRequest implements i.ListPexelsImagesRequestInterface {
|
|
277
|
+
query: string;
|
|
278
|
+
pageNumber: number;
|
|
279
|
+
pageSize: number;
|
|
280
|
+
static fromProto(proto: any): ListPexelsImagesRequest;
|
|
281
|
+
constructor(kwargs?: i.ListPexelsImagesRequestInterface);
|
|
282
|
+
toApiJson(): object;
|
|
283
|
+
}
|
|
284
|
+
export declare class ListPexelsImagesResponse implements i.ListPexelsImagesResponseInterface {
|
|
285
|
+
totalHits: number;
|
|
286
|
+
pexelsImages: PexelsImage[];
|
|
287
|
+
static fromProto(proto: any): ListPexelsImagesResponse;
|
|
288
|
+
constructor(kwargs?: i.ListPexelsImagesResponseInterface);
|
|
289
|
+
toApiJson(): object;
|
|
290
|
+
}
|
|
275
291
|
export declare class ListPixabayImagesRequest implements i.ListPixabayImagesRequestInterface {
|
|
276
292
|
query: string;
|
|
277
293
|
cursor: string;
|
|
@@ -5,12 +5,13 @@ export { BulkUploadMultilocation, Location, MultilocationPost, MultilocationPost
|
|
|
5
5
|
export { PixabayImage, } from './pixabay-image';
|
|
6
6
|
export { FacebookPostStats, SocialPostStats, TwitterPostStats, } from './social-post-stats';
|
|
7
7
|
export { TenorGifMediaMapEntry, TenorGif, TenorMediaObject, } from './tenor-gif';
|
|
8
|
-
export {
|
|
8
|
+
export { PexelsImage, } from './pexels-image';
|
|
9
|
+
export { BulkCreateMultilocationPostRequest, BulkCreateMultilocationPostResponse, 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, ListPexelsImagesRequest, ListPexelsImagesResponse, 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
10
|
export { Access, MCPOptions, } from './annotations';
|
|
10
11
|
export { LinkV2, MetadataV2, PostActionV2, PostContentV2, PostCustomizationV2, PostEventV2, PostMediaV2, SocialPostV2, TikTokCustomizationV2, YoutubeCustomizationV2, } from './social-post-v2';
|
|
11
12
|
export { Media, } from './linkedin-v2';
|
|
12
13
|
export { Ancestry, Collection, Image, Links, Photo, Social, Source, SubAncestry, Tags, Urls, User, UserLink, } from './unsplash-image';
|
|
13
|
-
export { AiInstructions, BlogPostCampaign, CreateCommonAiInstructionsRequest, CreateCommonAiInstructionsResponse, CreateImageRequest, CreateImageResponse, CuratedContentPost, DeletePostRequest, FetchLibraryImagesRequest, FetchLibraryImagesResponse, GenerateAiRequest, GenerateAiResponse, GenerateBlogPostCampaignRequest, GenerateContentMetaDataRequest, GenerateContentMetaDataResponse, GeneratePostCampaignRequest, GeneratePostCampaignResponse, GeneratePostsRequest, GeneratePostsResponse, GetCommonAiInstructionsRequest, GetCommonAiInstructionsResponse, ImageBlob, ImageCreated, GeneratePostsResponseImageResponse, ImageResponse, ImageUrl, KeywordGeneration, KeywordList, ListCuratedContentRequest, ListCuratedContentResponse, ListUnsplashImagesRequest, ListUnsplashImagesResponse, MediaUploadRequest, MediaUploadResponse, MultiResponse,
|
|
14
|
+
export { AiInstructions, BlogPostCampaign, CreateCommonAiInstructionsRequest, CreateCommonAiInstructionsResponse, CreateImageRequest, CreateImageResponse, CuratedContentPost, DeletePostRequest, FetchLibraryImagesRequest, FetchLibraryImagesResponse, GenerateAiRequest, GenerateAiResponse, GenerateBlogPostCampaignRequest, GenerateContentMetaDataRequest, GenerateContentMetaDataResponse, GeneratePostCampaignRequest, GeneratePostCampaignResponse, GeneratePostsRequest, GeneratePostsResponse, GetCommonAiInstructionsRequest, GetCommonAiInstructionsResponse, GetMediaMetadataFromURLRequest, GetMediaMetadataFromURLResponse, ImageBlob, ImageCreated, GeneratePostsResponseImageResponse, ImageResponse, ImageUrl, KeywordGeneration, KeywordList, ListCuratedContentRequest, ListCuratedContentResponse, ListPostableSocialServiceRequest, ListPostableSocialServiceResponse, ListUnsplashImagesRequest, ListUnsplashImagesResponse, MediaUploadRequest, MediaUploadResponse, MultiResponse, Post, GeneratePostsResponsePost, PostContent, PostsGeneration, RepostSocialPostRequest, Response, SocialPostOutput, SocialPostRequest, SocialPostResponse, SocialService, TitleGeneration, UpdateCommonAiInstructionsRequest, UpdateCommonAiInstructionsResponse, UpdateSocialPostRequest, UpdateSocialPostResponse, UploadToStorageRequest, UploadToStorageResponse, UploadedMedia, } from './api-v2';
|
|
14
15
|
export { Action, EndChatRequest, SendMessageRequest, SendMessageResponse, StartChatRequest, StartChatResponse, } from './chat-bot';
|
|
15
16
|
export { ChatMessage, SendMessageV2Request, SendMessageV2Response, } from './chat-bot-v2';
|
|
16
17
|
export { BlogConnection, CreateBlogConnectionRequest, CreateBlogConnectionResponse, DeleteBlogConnectionRequest, GetBlogConnectionRequest, GetBlogConnectionResponse, ListBlogConnectionRequest, ListBlogConnectionResponse, UpdateBlogConnectionRequest, } from './blog-connection';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i from '../interfaces';
|
|
2
|
+
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
3
|
+
export declare class PexelsImage implements i.PexelsImageInterface {
|
|
4
|
+
imageId: number;
|
|
5
|
+
imagePreviewUrl: string;
|
|
6
|
+
pexelsPageUrl: string;
|
|
7
|
+
photographerName: string;
|
|
8
|
+
photographerUrl: string;
|
|
9
|
+
width: number;
|
|
10
|
+
height: number;
|
|
11
|
+
static fromProto(proto: any): PexelsImage;
|
|
12
|
+
constructor(kwargs?: i.PexelsImageInterface);
|
|
13
|
+
toApiJson(): object;
|
|
14
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ListPexelsImagesRequest, ListPexelsImagesResponse } from './objects/';
|
|
2
|
+
import { ListPexelsImagesRequestInterface } from './interfaces/';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PexelsImagesApiService {
|
|
6
|
+
private readonly hostService;
|
|
7
|
+
private readonly http;
|
|
8
|
+
private _host;
|
|
9
|
+
private apiOptions;
|
|
10
|
+
listPexelsImages(r: ListPexelsImagesRequest | ListPexelsImagesRequestInterface): Observable<ListPexelsImagesResponse>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PexelsImagesApiService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PexelsImagesApiService>;
|
|
13
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CreateImageRequest, CreateImageResponse, ImageBlob, ImageUrl, RepostSocialPostRequest, SocialPostRequest, SocialPostResponse, UpdateSocialPostRequest, UpdateSocialPostResponse } from './objects/';
|
|
2
|
-
import { CreateImageRequestInterface, ImageUrlInterface, RepostSocialPostRequestInterface, SocialPostRequestInterface, UpdateSocialPostRequestInterface } from './interfaces/';
|
|
1
|
+
import { CreateImageRequest, CreateImageResponse, GetMediaMetadataFromURLRequest, GetMediaMetadataFromURLResponse, ImageBlob, ImageUrl, ListPostableSocialServiceRequest, ListPostableSocialServiceResponse, RepostSocialPostRequest, SocialPostRequest, SocialPostResponse, UpdateSocialPostRequest, UpdateSocialPostResponse } from './objects/';
|
|
2
|
+
import { CreateImageRequestInterface, GetMediaMetadataFromURLRequestInterface, ImageUrlInterface, ListPostableSocialServiceRequestInterface, RepostSocialPostRequestInterface, SocialPostRequestInterface, UpdateSocialPostRequestInterface } from './interfaces/';
|
|
3
3
|
import { HttpResponse } from '@angular/common/http';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -14,6 +14,8 @@ export declare class SocialPostsV2ApiService {
|
|
|
14
14
|
getImageByUrl(r: ImageUrl | ImageUrlInterface): Observable<ImageBlob>;
|
|
15
15
|
generateVariations(r: ImageUrl | ImageUrlInterface): Observable<CreateImageResponse>;
|
|
16
16
|
repostSocialPost(r: RepostSocialPostRequest | RepostSocialPostRequestInterface): Observable<HttpResponse<null>>;
|
|
17
|
+
listPostableSocialServices(r: ListPostableSocialServiceRequest | ListPostableSocialServiceRequestInterface): Observable<ListPostableSocialServiceResponse>;
|
|
18
|
+
getMediaMetadataFromUrl(r: GetMediaMetadataFromURLRequest | GetMediaMetadataFromURLRequestInterface): Observable<GetMediaMetadataFromURLResponse>;
|
|
17
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<SocialPostsV2ApiService, never>;
|
|
18
20
|
static ɵprov: i0.ɵɵInjectableDeclaration<SocialPostsV2ApiService>;
|
|
19
21
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { CreateImageResponse, ImageBlob, SocialPostResponse } from './_internal/objects/api-v2';
|
|
2
|
+
import { CreateImageResponse, GetMediaMetadataFromURLResponse, ImageBlob, ListPostableSocialServiceResponse, SocialPostResponse } from './_internal/objects/api-v2';
|
|
3
3
|
import { SocialPostsV2ApiService } from './_internal/social-posts-v2.api.service';
|
|
4
4
|
import { CreateImageRequestInterface, SocialPostRequestInterface } from './_internal/interfaces';
|
|
5
5
|
import { HttpResponse } from "@angular/common/http";
|
|
@@ -12,6 +12,8 @@ export declare class SocialPostsV2Service {
|
|
|
12
12
|
getImageByUrl(url: string): Observable<ImageBlob>;
|
|
13
13
|
generateVariations(url: string): Observable<CreateImageResponse>;
|
|
14
14
|
repostSocialPost(socialPostId: string, businessId: string): Observable<HttpResponse<null>>;
|
|
15
|
+
listPostableSocialServices(businessId: string): Observable<ListPostableSocialServiceResponse>;
|
|
16
|
+
getMediaMetadataFromUrl(url: string): Observable<GetMediaMetadataFromURLResponse>;
|
|
15
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<SocialPostsV2Service, never>;
|
|
16
18
|
static ɵprov: i0.ɵɵInjectableDeclaration<SocialPostsV2Service>;
|
|
17
19
|
}
|