@vendasta/social-posts 5.48.0 → 5.50.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.
Files changed (43) hide show
  1. package/esm2020/lib/_internal/enums/api-v2.enum.mjs +8 -1
  2. package/esm2020/lib/_internal/enums/drafts-api.enum.mjs +7 -1
  3. package/esm2020/lib/_internal/enums/image-generation.enum.mjs +42 -0
  4. package/esm2020/lib/_internal/enums/index.mjs +6 -4
  5. package/esm2020/lib/_internal/enums/openapiv2.enum.mjs +57 -0
  6. package/esm2020/lib/_internal/image-generation.api.service.mjs +40 -0
  7. package/esm2020/lib/_internal/index.mjs +2 -1
  8. package/esm2020/lib/_internal/interfaces/api-v2.interface.mjs +1 -1
  9. package/esm2020/lib/_internal/interfaces/drafts-api.interface.mjs +1 -1
  10. package/esm2020/lib/_internal/interfaces/image-generation.interface.mjs +2 -0
  11. package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
  12. package/esm2020/lib/_internal/interfaces/openapiv2.interface.mjs +8 -0
  13. package/esm2020/lib/_internal/objects/api-v2.mjs +71 -25
  14. package/esm2020/lib/_internal/objects/drafts-api.mjs +7 -1
  15. package/esm2020/lib/_internal/objects/image-generation.mjs +155 -0
  16. package/esm2020/lib/_internal/objects/index.mjs +5 -3
  17. package/esm2020/lib/_internal/objects/openapiv2.mjs +1191 -0
  18. package/esm2020/lib/_internal/social-posts-v2.api.service.mjs +7 -2
  19. package/esm2020/lib/social-post-v2.service.mjs +4 -1
  20. package/fesm2015/vendasta-social-posts.mjs +1825 -279
  21. package/fesm2015/vendasta-social-posts.mjs.map +1 -1
  22. package/fesm2020/vendasta-social-posts.mjs +1825 -279
  23. package/fesm2020/vendasta-social-posts.mjs.map +1 -1
  24. package/lib/_internal/enums/api-v2.enum.d.ts +6 -0
  25. package/lib/_internal/enums/drafts-api.enum.d.ts +5 -0
  26. package/lib/_internal/enums/image-generation.enum.d.ts +30 -0
  27. package/lib/_internal/enums/index.d.ts +5 -3
  28. package/lib/_internal/enums/openapiv2.enum.d.ts +43 -0
  29. package/lib/_internal/image-generation.api.service.d.ts +13 -0
  30. package/lib/_internal/index.d.ts +1 -0
  31. package/lib/_internal/interfaces/api-v2.interface.d.ts +15 -8
  32. package/lib/_internal/interfaces/drafts-api.interface.d.ts +1 -0
  33. package/lib/_internal/interfaces/image-generation.interface.d.ts +28 -0
  34. package/lib/_internal/interfaces/index.d.ts +4 -2
  35. package/lib/_internal/interfaces/openapiv2.interface.d.ts +246 -0
  36. package/lib/_internal/objects/api-v2.d.ts +28 -15
  37. package/lib/_internal/objects/drafts-api.d.ts +1 -0
  38. package/lib/_internal/objects/image-generation.d.ts +42 -0
  39. package/lib/_internal/objects/index.d.ts +4 -2
  40. package/lib/_internal/objects/openapiv2.d.ts +354 -0
  41. package/lib/_internal/social-posts-v2.api.service.d.ts +3 -2
  42. package/lib/social-post-v2.service.d.ts +2 -1
  43. package/package.json +1 -1
@@ -40,3 +40,9 @@ export declare enum Tone {
40
40
  PERSUASIVE = 9,
41
41
  EMPATHETIC = 10
42
42
  }
43
+ export declare enum XSubscriptionType {
44
+ X_SUBSCRIPTION_TYPE_INVALID = 0,
45
+ X_SUBSCRIPTION_TYPE_BASIC = 1,
46
+ X_SUBSCRIPTION_TYPE_PREMIUM = 2,
47
+ X_SUBSCRIPTION_TYPE_PREMIUM_PLUS = 3
48
+ }
@@ -1,3 +1,8 @@
1
+ export declare enum FilterBy {
2
+ FILTER_BY_INVALID = 0,
3
+ FILTER_BY_UPDATED = 1,
4
+ FILTER_BY_SCHEDULED = 2
5
+ }
1
6
  export declare enum VisibilityType {
2
7
  VISIBILITY_TYPE_INVALID = 0,
3
8
  VISIBILITY_TYPE_ALL = 1,
@@ -0,0 +1,30 @@
1
+ export declare enum ImageBackground {
2
+ IMAGE_BACKGROUND_UNSPECIFIED = 0,
3
+ IMAGE_BACKGROUND_TRANSPARENT = 1,
4
+ IMAGE_BACKGROUND_OPAQUE = 2,
5
+ IMAGE_BACKGROUND_AUTO = 3
6
+ }
7
+ export declare enum ImageModel {
8
+ IMAGE_MODEL_UNSPECIFIED = 0,
9
+ DALL_E_2 = 1,
10
+ DALL_E_3 = 2,
11
+ GPT_IMAGE_1 = 3,
12
+ GPT_IMAGE_1_5 = 4
13
+ }
14
+ export declare enum ImageOutputFormat {
15
+ IMAGE_OUTPUT_FORMAT_UNSPECIFIED = 0,
16
+ IMAGE_OUTPUT_FORMAT_PNG = 1,
17
+ IMAGE_OUTPUT_FORMAT_JPEG = 2,
18
+ IMAGE_OUTPUT_FORMAT_WEBP = 3
19
+ }
20
+ export declare enum ImageQuality {
21
+ IMAGE_QUALITY_UNSPECIFIED = 0,
22
+ IMAGE_QUALITY_LOW = 1,
23
+ IMAGE_QUALITY_MEDIUM = 2,
24
+ IMAGE_QUALITY_STANDARD = 3
25
+ }
26
+ export declare enum ImageStyle {
27
+ IMAGE_STYLE_UNSPECIFIED = 0,
28
+ IMAGE_STYLE_VIVID = 1,
29
+ IMAGE_STYLE_NATURAL = 2
30
+ }
@@ -2,13 +2,15 @@ export { CallToActionCallToActionType, SocialPostDeletionStatus, MLPostState, Me
2
2
  export { CustomizationStatus, RemoveReason, } from './multilocation-post.enum';
3
3
  export { SortBySortDirection, } from './engagement.enum';
4
4
  export { ImageSource, NamespaceType, } from './stock-image.enum';
5
+ export { SecuritySchemeFlow, SecuritySchemeIn, JSONSchemaJSONSchemaSimpleTypes, Scheme, HeaderParameterType, SecuritySchemeType, gatewayprotoc_gen_openapiv2optionsHeaderParameterType, gatewayprotoc_gen_openapiv2optionsJSONSchemaJSONSchemaSimpleTypes, gatewayprotoc_gen_openapiv2optionsScheme, gatewayprotoc_gen_openapiv2optionsSecuritySchemeType, gatewayprotoc_gen_openapiv2optionsSecuritySchemeIn, gatewayprotoc_gen_openapiv2optionsSecuritySchemeFlow, } from './openapiv2.enum';
5
6
  export { BulkPostStatus, } from './api.enum';
6
7
  export { PostStatusV2, PostTypeV2, YoutubeCustomizationV2PrivacyStatusV2, } from './social-post-v2.enum';
7
8
  export { MediaType, } from './linkedin-v2.enum';
8
9
  export { ProvisionAction, } from './provisioning.enum';
9
- export { ContentLength, GenerateType, Network, PostCategory, Tone, } from './api-v2.enum';
10
+ export { ContentLength, GenerateType, Network, PostCategory, Tone, XSubscriptionType, } from './api-v2.enum';
10
11
  export { ActionType, } from './chat-bot.enum';
11
12
  export { Role, } from './chat-bot-v2.enum';
12
13
  export { DraftType, DraftYoutubeCustomizationPrivacyStatus, } from './drafts.enum';
13
- export { VisibilityType, } from './drafts-api.enum';
14
- export { CallToActionType, MediaContentType, PublishMode, SocialContentType, } from './social-content.enum';
14
+ export { FilterBy, VisibilityType, } from './drafts-api.enum';
15
+ export { CallToActionType, MediaContentType, MediaType as SocialContentMediaType, PublishMode, SocialContentType, } from './social-content.enum';
16
+ export { ImageBackground, ImageModel, ImageOutputFormat, ImageQuality, ImageStyle, } from './image-generation.enum';
@@ -0,0 +1,43 @@
1
+ export declare enum SecuritySchemeFlow {
2
+ FLOW_INVALID = 0,
3
+ FLOW_IMPLICIT = 1,
4
+ FLOW_PASSWORD = 2,
5
+ FLOW_APPLICATION = 3,
6
+ FLOW_ACCESS_CODE = 4
7
+ }
8
+ export declare enum SecuritySchemeIn {
9
+ IN_INVALID = 0,
10
+ IN_QUERY = 1,
11
+ IN_HEADER = 2
12
+ }
13
+ export declare enum JSONSchemaJSONSchemaSimpleTypes {
14
+ UNKNOWN = 0,
15
+ ARRAY = 1,
16
+ BOOLEAN = 2,
17
+ INTEGER = 3,
18
+ NULL = 4,
19
+ NUMBER = 5,
20
+ OBJECT = 6,
21
+ STRING = 7
22
+ }
23
+ export declare enum Scheme {
24
+ UNKNOWN = 0,
25
+ HTTP = 1,
26
+ HTTPS = 2,
27
+ WS = 3,
28
+ WSS = 4
29
+ }
30
+ export declare enum HeaderParameterType {
31
+ UNKNOWN = 0,
32
+ STRING = 1,
33
+ NUMBER = 2,
34
+ INTEGER = 3,
35
+ BOOLEAN = 4
36
+ }
37
+ export declare enum SecuritySchemeType {
38
+ TYPE_INVALID = 0,
39
+ TYPE_BASIC = 1,
40
+ TYPE_API_KEY = 2,
41
+ TYPE_OAUTH2 = 3
42
+ }
43
+ export { HeaderParameterType as gatewayprotoc_gen_openapiv2optionsHeaderParameterType, JSONSchemaJSONSchemaSimpleTypes as gatewayprotoc_gen_openapiv2optionsJSONSchemaJSONSchemaSimpleTypes, Scheme as gatewayprotoc_gen_openapiv2optionsScheme, SecuritySchemeType as gatewayprotoc_gen_openapiv2optionsSecuritySchemeType, SecuritySchemeIn as gatewayprotoc_gen_openapiv2optionsSecuritySchemeIn, SecuritySchemeFlow as gatewayprotoc_gen_openapiv2optionsSecuritySchemeFlow, };
@@ -0,0 +1,13 @@
1
+ import { CreateOrEditRequest, CreateOrEditResponse } from './objects/';
2
+ import { CreateOrEditRequestInterface } from './interfaces/';
3
+ import { Observable } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ImageGenerationApiService {
6
+ private readonly hostService;
7
+ private readonly http;
8
+ private _host;
9
+ private apiOptions;
10
+ createOrEdit(r: CreateOrEditRequest | CreateOrEditRequestInterface): Observable<CreateOrEditResponse>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ImageGenerationApiService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<ImageGenerationApiService>;
13
+ }
@@ -12,6 +12,7 @@ export { ContentGenerationApiService } from './content-generation.api.service';
12
12
  export { CuratedContentApiService } from './curated-content.api.service';
13
13
  export { DraftsApiService } from './drafts.api.service';
14
14
  export { HashTagsApiService } from './hash-tags.api.service';
15
+ export { ImageGenerationApiService } from './image-generation.api.service';
15
16
  export { ImageLibraryApiService } from './image-library.api.service';
16
17
  export { LinkedinApiService } from './linkedin.api.service';
17
18
  export { MultilocationPostApiService } from './multilocation-post.api.service';
@@ -124,6 +124,13 @@ export interface GetMediaMetadataFromURLResponseInterface {
124
124
  blobType?: string;
125
125
  finalUrl?: string;
126
126
  }
127
+ export interface GetXSubscriptionTypeRequestInterface {
128
+ socialServiceId?: string;
129
+ businessId?: string;
130
+ }
131
+ export interface GetXSubscriptionTypeResponseInterface {
132
+ subscriptionType?: e.XSubscriptionType;
133
+ }
127
134
  export interface ImageBlobInterface {
128
135
  blob?: string;
129
136
  }
@@ -132,15 +139,15 @@ export interface ImageCreatedInterface {
132
139
  b64Json?: string;
133
140
  revisedPrompt?: string;
134
141
  }
135
- export interface GeneratePostsResponseImageResponseInterface {
142
+ export interface ImageResponseInterface {
136
143
  type?: string;
137
- webFormatUrl?: string;
144
+ webformatUrl?: string;
138
145
  fullHdUrl?: string;
139
146
  storageUrl?: string;
140
147
  }
141
- export interface ImageResponseInterface {
148
+ export interface GeneratePostsResponseImageResponseInterface {
142
149
  type?: string;
143
- webformatUrl?: string;
150
+ webFormatUrl?: string;
144
151
  fullHdUrl?: string;
145
152
  storageUrl?: string;
146
153
  }
@@ -202,14 +209,14 @@ export interface MediaUploadResponseInterface {
202
209
  export interface MultiResponseInterface {
203
210
  items?: string[];
204
211
  }
205
- export interface PostInterface {
206
- topic?: string;
207
- postContent?: PostContentInterface[];
208
- }
209
212
  export interface GeneratePostsResponsePostInterface {
210
213
  text?: string;
211
214
  imageResponse?: GeneratePostsResponseImageResponseInterface;
212
215
  }
216
+ export interface PostInterface {
217
+ topic?: string;
218
+ postContent?: PostContentInterface[];
219
+ }
213
220
  export interface PostContentInterface {
214
221
  socialNetwork?: e.Network;
215
222
  post?: string;
@@ -61,6 +61,7 @@ export interface ListDraftsRequestInterface {
61
61
  searchTerm?: string;
62
62
  networks?: string[];
63
63
  visibilityType?: e.VisibilityType;
64
+ filterBy?: e.FilterBy;
64
65
  }
65
66
  export interface ListDraftsResponseInterface {
66
67
  drafts?: DraftInterface[];
@@ -0,0 +1,28 @@
1
+ import { NamespaceInterface } from './stock-image.interface';
2
+ import * as e from '../enums';
3
+ export interface CreateOrEditRequestInterface {
4
+ namespace?: NamespaceInterface;
5
+ prompt?: string;
6
+ imageInputs?: ImageInputSourceInterface[];
7
+ model?: e.ImageModel;
8
+ imageCount?: number;
9
+ size?: string;
10
+ quality?: e.ImageQuality;
11
+ responseFormat?: string;
12
+ style?: e.ImageStyle;
13
+ background?: e.ImageBackground;
14
+ outputFormat?: e.ImageOutputFormat;
15
+ moderation?: string;
16
+ }
17
+ export interface CreateOrEditResponseInterface {
18
+ images?: GeneratedImageInterface[];
19
+ }
20
+ export interface GeneratedImageInterface {
21
+ url?: string;
22
+ b64Json?: string;
23
+ revisedPrompt?: string;
24
+ }
25
+ export interface ImageInputSourceInterface {
26
+ url?: string;
27
+ data?: string;
28
+ }
@@ -10,17 +10,19 @@ export { DateRangeInterface, EngagementParameterInterface, ListSocialPostEngagem
10
10
  export { ListStockImagesRequestInterface, ListStockImagesResponseInterface, NamespaceInterface, StockImageInterface, StockImageErrorInterface, } from './stock-image.interface';
11
11
  export { BlogAuthorInterface, BlogCategoryInterface, BlogWebsiteDetailsInterface, GetBlogWebsiteDetailsRequestInterface, GetBlogWebsiteDetailsResponseInterface, } from './blog-website-info.interface';
12
12
  export { AccessInterface, MCPOptionsInterface, } from './annotations.interface';
13
+ export { ContactInterface, EnumSchemaInterface, ResponseExamplesEntryInterface, ResponseExtensionsEntryInterface, SwaggerExtensionsEntryInterface, SecuritySchemeExtensionsEntryInterface, TagExtensionsEntryInterface, OperationExtensionsEntryInterface, JSONSchemaExtensionsEntryInterface, EnumSchemaExtensionsEntryInterface, InfoExtensionsEntryInterface, ExternalDocumentationInterface, JSONSchemaFieldConfigurationInterface, HeaderInterface, HeaderParameterInterface, ResponseHeadersEntryInterface, InfoInterface, JSONSchemaInterface, LicenseInterface, OperationInterface, ParametersInterface, ResponseInterface as OpenApiResponseInterface, OperationResponsesEntryInterface, SwaggerResponsesEntryInterface, SchemaInterface, ScopesScopeEntryInterface, ScopesInterface, SecurityDefinitionsInterface, SecurityDefinitionsSecurityEntryInterface, SecurityRequirementInterface, SecurityRequirementSecurityRequirementEntryInterface, SecurityRequirementSecurityRequirementValueInterface, SecuritySchemeInterface, SwaggerInterface, TagInterface, } from './openapiv2.interface';
13
14
  export { BulkCreateMultilocationPostRequestInterface, BulkCreateMultilocationPostResponseInterface, CreateMultilocationPostRequestInterface, CreateMultilocationPostResponseInterface, CreatePostTemplateRequestInterface, CreatePostTemplateResponseInterface, DateRangeFilterInterface, DeleteHashtagsRequestInterface, DeleteMultilocationPostRequestInterface, DeletePostTemplateRequestInterface, DeleteSocialPostRequestInterface, EditMultilocationPostRequestInterface, EditMultilocationPostResponseInterface, FetchFacebookMentionInfoRequestInterface, FetchFacebookMentionInfoResponseInterface, 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, FetchFacebookMentionInfoResponsePageInfoEntryInterface, PartnerListScheduledPostsResponseInterface, PartnerListScheduledSocialPostsRequestInterface, PostDataInterface, RemoveFromMultilocationPostRequestInterface, ReplaceHashtagsRequestInterface, SchedulePostRequestInterface, SchedulePostResponseInterface, ScheduleToAllPagesRequestInterface, ScheduleToAllPagesResponseInterface, SearchHashtagRequestInterface, SearchHashtagResponseInterface, SuggestMessageRequestInterface, SuggestMessageResponseInterface, UpdatePostTemplateRequestInterface, } from './api.interface';
14
15
  export { LinkV2Interface, MetadataV2Interface, PostActionV2Interface, PostContentV2Interface, PostCustomizationV2Interface, PostEventV2Interface, PostMediaV2Interface, SocialPostV2Interface, TikTokCustomizationV2Interface, YoutubeCustomizationV2Interface, } from './social-post-v2.interface';
15
16
  export { MediaInterface, } from './linkedin-v2.interface';
16
17
  export { AncestryInterface, CollectionInterface, ImageInterface, LinksInterface, PhotoInterface, SocialInterface, SourceInterface, SubAncestryInterface, TagsInterface, UrlsInterface, UserInterface, UserLinkInterface, } from './unsplash-image.interface';
17
18
  export { ProvisionRequestInterface, } from './provisioning.interface';
18
- 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';
19
+ export { AiInstructionsInterface, BlogPostCampaignInterface, CreateCommonAiInstructionsRequestInterface, CreateCommonAiInstructionsResponseInterface, CreateImageRequestInterface, CreateImageResponseInterface, CuratedContentPostInterface, DeletePostRequestInterface, FetchLibraryImagesRequestInterface, FetchLibraryImagesResponseInterface, GenerateAiRequestInterface, GenerateAiResponseInterface, GenerateBlogPostCampaignRequestInterface, GenerateContentMetaDataRequestInterface, GenerateContentMetaDataResponseInterface, GeneratePostCampaignRequestInterface, GeneratePostCampaignResponseInterface, GeneratePostsRequestInterface, GeneratePostsResponseInterface, GetCommonAiInstructionsRequestInterface, GetCommonAiInstructionsResponseInterface, GetMediaMetadataFromURLRequestInterface, GetMediaMetadataFromURLResponseInterface, GetXSubscriptionTypeRequestInterface, GetXSubscriptionTypeResponseInterface, ImageBlobInterface, ImageCreatedInterface, ImageResponseInterface, GeneratePostsResponseImageResponseInterface, ImageUrlInterface, KeywordGenerationInterface, KeywordListInterface, ListCuratedContentRequestInterface, ListCuratedContentResponseInterface, ListPostableSocialServiceRequestInterface, ListPostableSocialServiceResponseInterface, ListUnsplashImagesRequestInterface, ListUnsplashImagesResponseInterface, MediaUploadRequestInterface, MediaUploadResponseInterface, MultiResponseInterface, GeneratePostsResponsePostInterface, PostInterface, PostContentInterface, PostsGenerationInterface, RepostSocialPostRequestInterface, ResponseInterface, SocialPostOutputInterface, SocialPostRequestInterface, SocialPostResponseInterface, SocialServiceInterface, TitleGenerationInterface, UpdateCommonAiInstructionsRequestInterface, UpdateCommonAiInstructionsResponseInterface, UpdateSocialPostRequestInterface, UpdateSocialPostResponseInterface, UploadToStorageRequestInterface, UploadToStorageResponseInterface, UploadedMediaInterface, } from './api-v2.interface';
19
20
  export { ActionInterface, EndChatRequestInterface, SendMessageRequestInterface, SendMessageResponseInterface, StartChatRequestInterface, StartChatResponseInterface, } from './chat-bot.interface';
20
21
  export { ChatMessageInterface, SendMessageV2RequestInterface, SendMessageV2ResponseInterface, } from './chat-bot-v2.interface';
21
22
  export { BlogConnectionInterface, CreateBlogConnectionRequestInterface, CreateBlogConnectionResponseInterface, DeleteBlogConnectionRequestInterface, GetBlogConnectionRequestInterface, GetBlogConnectionResponseInterface, ListBlogConnectionRequestInterface, ListBlogConnectionResponseInterface, UpdateBlogConnectionRequestInterface, } from './blog-connection.interface';
22
- export { AuthorsRequestInterface, AuthorsResponseInterface, BlogImageInterface, BlogPostInterface, BlogVideoInterface, CategoryRequestInterface, CategoryResponseInterface, DeleteBlogPostRequestInterface, GetMultiBlogPostsRequestInterface, GetMultiBlogPostsResponseInterface, MediaPropertyInterface, PublishPostRequestInterface, PublishPostResponseInterface, RepostBlogPostRequestInterface, StatusRequestInterface, StatusResponseInterface, UpdateBlogPostRequestInterface, } from './wordpress-plugin.interface';
23
+ export { AuthorInterface as WpAuthorInterface, AuthorsRequestInterface, AuthorsResponseInterface, BlogImageInterface, BlogPostInterface, BlogVideoInterface, CategoryInterface as WpCategoryInterface, CategoryRequestInterface, CategoryResponseInterface, DeleteBlogPostRequestInterface, GetMultiBlogPostsRequestInterface, GetMultiBlogPostsResponseInterface, MediaPropertyInterface, PublishPostRequestInterface, PublishPostResponseInterface, RepostBlogPostRequestInterface, StatusRequestInterface, StatusResponseInterface, UpdateBlogPostRequestInterface, } from './wordpress-plugin.interface';
23
24
  export { CampaignInterface, CreateCampaignRequestInterface, CreateCampaignResponseInterface, DeleteCampaignRequestInterface, GetCampaignRequestInterface, GetCampaignResponseInterface, GetMultiCampaignsRequestInterface, GetMultiCampaignsResponseInterface, UpdateCampaignIdRequestInterface, UpdateCampaignRequestInterface, } from './campaign.interface';
24
25
  export { CampaignCustomizationInterface, CategoriesInterface, DraftInterface, DraftAuthorInterface, DraftBlogPostCustomizationInterface, DraftMediaInterface, DraftMetaDataInterface, DraftTikTokCustomizationInterface, DraftYoutubeCustomizationInterface, GMBPostCustomizationInterface, MlDraftPostInterface, SSIDDraftTypeInterface, } from './drafts.interface';
25
26
  export { CreateDraftRequestInterface, CreateDraftResponseInterface, CreateMultiDraftsRequestInterface, CreateMultiDraftsResponseInterface, DeleteDraftRequestInterface, GetDraftRequestInterface, GetDraftResponseInterface, ListDraftsByNetworkIdentifierRequestInterface, ListDraftsByNetworkIdentifierResponseInterface, ListDraftsRequestInterface, ListDraftsResponseInterface, ListMultilocationDraftsRequestInterface, ListMultilocationDraftsResponseInterface, MultiDeleteMLDraftPostsRequestInterface, UpdateDraftRequestInterface, UpdateDraftResponseInterface, UpdateMultiMLDraftsRequestInterface, } from './drafts-api.interface';
26
27
  export { BlogPostOptionsInterface, ContentMetadataInterface, CreateContentRequestInterface, CreateContentResponseInterface, GMBCustomizationInterface, LinkInterface, MediaItemInterface, SocialContentItemInterface, SocialContentResultInterface, SsidPostTypeInterface, } from './social-content.interface';
28
+ export { CreateOrEditRequestInterface, CreateOrEditResponseInterface, GeneratedImageInterface, ImageInputSourceInterface, } from './image-generation.interface';
@@ -0,0 +1,246 @@
1
+ import * as e from '../enums';
2
+ export interface ContactInterface {
3
+ name?: string;
4
+ url?: string;
5
+ email?: string;
6
+ }
7
+ export interface EnumSchemaInterface {
8
+ description?: string;
9
+ default?: string;
10
+ title?: string;
11
+ required?: boolean;
12
+ readOnly?: boolean;
13
+ externalDocs?: ExternalDocumentationInterface;
14
+ example?: string;
15
+ ref?: string;
16
+ extensions?: {
17
+ [key: string]: any;
18
+ };
19
+ }
20
+ export interface ResponseExamplesEntryInterface {
21
+ key?: string;
22
+ value?: string;
23
+ }
24
+ export interface ResponseExtensionsEntryInterface {
25
+ key?: string;
26
+ value?: any;
27
+ }
28
+ export interface SwaggerExtensionsEntryInterface {
29
+ key?: string;
30
+ value?: any;
31
+ }
32
+ export interface SecuritySchemeExtensionsEntryInterface {
33
+ key?: string;
34
+ value?: any;
35
+ }
36
+ export interface TagExtensionsEntryInterface {
37
+ key?: string;
38
+ value?: any;
39
+ }
40
+ export interface OperationExtensionsEntryInterface {
41
+ key?: string;
42
+ value?: any;
43
+ }
44
+ export interface JSONSchemaExtensionsEntryInterface {
45
+ key?: string;
46
+ value?: any;
47
+ }
48
+ export interface EnumSchemaExtensionsEntryInterface {
49
+ key?: string;
50
+ value?: any;
51
+ }
52
+ export interface InfoExtensionsEntryInterface {
53
+ key?: string;
54
+ value?: any;
55
+ }
56
+ export interface ExternalDocumentationInterface {
57
+ description?: string;
58
+ url?: string;
59
+ }
60
+ export interface JSONSchemaFieldConfigurationInterface {
61
+ pathParamName?: string;
62
+ deprecated?: boolean;
63
+ }
64
+ export interface HeaderInterface {
65
+ description?: string;
66
+ type?: string;
67
+ format?: string;
68
+ default?: string;
69
+ pattern?: string;
70
+ }
71
+ export interface HeaderParameterInterface {
72
+ name?: string;
73
+ description?: string;
74
+ type?: e.gatewayprotoc_gen_openapiv2optionsHeaderParameterType;
75
+ format?: string;
76
+ required?: boolean;
77
+ }
78
+ export interface ResponseHeadersEntryInterface {
79
+ key?: string;
80
+ value?: HeaderInterface;
81
+ }
82
+ export interface InfoInterface {
83
+ title?: string;
84
+ description?: string;
85
+ termsOfService?: string;
86
+ contact?: ContactInterface;
87
+ license?: LicenseInterface;
88
+ version?: string;
89
+ extensions?: {
90
+ [key: string]: any;
91
+ };
92
+ }
93
+ export interface JSONSchemaInterface {
94
+ ref?: string;
95
+ title?: string;
96
+ description?: string;
97
+ default?: string;
98
+ readOnly?: boolean;
99
+ example?: string;
100
+ multipleOf?: number;
101
+ maximum?: number;
102
+ exclusiveMaximum?: boolean;
103
+ minimum?: number;
104
+ exclusiveMinimum?: boolean;
105
+ maxLength?: number;
106
+ minLength?: number;
107
+ pattern?: string;
108
+ maxItems?: number;
109
+ minItems?: number;
110
+ uniqueItems?: boolean;
111
+ maxProperties?: number;
112
+ minProperties?: number;
113
+ required?: string[];
114
+ array?: string[];
115
+ type?: e.gatewayprotoc_gen_openapiv2optionsJSONSchemaJSONSchemaSimpleTypes[];
116
+ format?: string;
117
+ enum?: string[];
118
+ fieldConfiguration?: JSONSchemaFieldConfigurationInterface;
119
+ extensions?: {
120
+ [key: string]: any;
121
+ };
122
+ }
123
+ export interface LicenseInterface {
124
+ name?: string;
125
+ url?: string;
126
+ }
127
+ export interface OperationInterface {
128
+ tags?: string[];
129
+ summary?: string;
130
+ description?: string;
131
+ externalDocs?: ExternalDocumentationInterface;
132
+ operationId?: string;
133
+ consumes?: string[];
134
+ produces?: string[];
135
+ responses?: {
136
+ [key: string]: ResponseInterface;
137
+ };
138
+ schemes?: e.gatewayprotoc_gen_openapiv2optionsScheme[];
139
+ deprecated?: boolean;
140
+ security?: SecurityRequirementInterface[];
141
+ extensions?: {
142
+ [key: string]: any;
143
+ };
144
+ parameters?: ParametersInterface;
145
+ }
146
+ export interface ParametersInterface {
147
+ headers?: HeaderParameterInterface[];
148
+ }
149
+ export interface ResponseInterface {
150
+ description?: string;
151
+ schema?: SchemaInterface;
152
+ headers?: {
153
+ [key: string]: HeaderInterface;
154
+ };
155
+ examples?: {
156
+ [key: string]: string;
157
+ };
158
+ extensions?: {
159
+ [key: string]: any;
160
+ };
161
+ }
162
+ export interface OperationResponsesEntryInterface {
163
+ key?: string;
164
+ value?: ResponseInterface;
165
+ }
166
+ export interface SwaggerResponsesEntryInterface {
167
+ key?: string;
168
+ value?: ResponseInterface;
169
+ }
170
+ export interface SchemaInterface {
171
+ jsonSchema?: JSONSchemaInterface;
172
+ discriminator?: string;
173
+ readOnly?: boolean;
174
+ externalDocs?: ExternalDocumentationInterface;
175
+ example?: string;
176
+ }
177
+ export interface ScopesScopeEntryInterface {
178
+ key?: string;
179
+ value?: string;
180
+ }
181
+ export interface ScopesInterface {
182
+ scope?: {
183
+ [key: string]: string;
184
+ };
185
+ }
186
+ export interface SecurityDefinitionsInterface {
187
+ security?: {
188
+ [key: string]: SecuritySchemeInterface;
189
+ };
190
+ }
191
+ export interface SecurityDefinitionsSecurityEntryInterface {
192
+ key?: string;
193
+ value?: SecuritySchemeInterface;
194
+ }
195
+ export interface SecurityRequirementInterface {
196
+ securityRequirement?: {
197
+ [key: string]: SecurityRequirementSecurityRequirementValueInterface;
198
+ };
199
+ }
200
+ export interface SecurityRequirementSecurityRequirementEntryInterface {
201
+ key?: string;
202
+ value?: SecurityRequirementSecurityRequirementValueInterface;
203
+ }
204
+ export interface SecurityRequirementSecurityRequirementValueInterface {
205
+ scope?: string[];
206
+ }
207
+ export interface SecuritySchemeInterface {
208
+ type?: e.gatewayprotoc_gen_openapiv2optionsSecuritySchemeType;
209
+ description?: string;
210
+ name?: string;
211
+ in?: e.gatewayprotoc_gen_openapiv2optionsSecuritySchemeIn;
212
+ flow?: e.gatewayprotoc_gen_openapiv2optionsSecuritySchemeFlow;
213
+ authorizationUrl?: string;
214
+ tokenUrl?: string;
215
+ scopes?: ScopesInterface;
216
+ extensions?: {
217
+ [key: string]: any;
218
+ };
219
+ }
220
+ export interface SwaggerInterface {
221
+ swagger?: string;
222
+ info?: InfoInterface;
223
+ host?: string;
224
+ basePath?: string;
225
+ schemes?: e.gatewayprotoc_gen_openapiv2optionsScheme[];
226
+ consumes?: string[];
227
+ produces?: string[];
228
+ responses?: {
229
+ [key: string]: ResponseInterface;
230
+ };
231
+ securityDefinitions?: SecurityDefinitionsInterface;
232
+ security?: SecurityRequirementInterface[];
233
+ tags?: TagInterface[];
234
+ externalDocs?: ExternalDocumentationInterface;
235
+ extensions?: {
236
+ [key: string]: any;
237
+ };
238
+ }
239
+ export interface TagInterface {
240
+ name?: string;
241
+ description?: string;
242
+ externalDocs?: ExternalDocumentationInterface;
243
+ extensions?: {
244
+ [key: string]: any;
245
+ };
246
+ }
@@ -195,6 +195,19 @@ export declare class GetMediaMetadataFromURLResponse implements i.GetMediaMetada
195
195
  constructor(kwargs?: i.GetMediaMetadataFromURLResponseInterface);
196
196
  toApiJson(): object;
197
197
  }
198
+ export declare class GetXSubscriptionTypeRequest implements i.GetXSubscriptionTypeRequestInterface {
199
+ socialServiceId: string;
200
+ businessId: string;
201
+ static fromProto(proto: any): GetXSubscriptionTypeRequest;
202
+ constructor(kwargs?: i.GetXSubscriptionTypeRequestInterface);
203
+ toApiJson(): object;
204
+ }
205
+ export declare class GetXSubscriptionTypeResponse implements i.GetXSubscriptionTypeResponseInterface {
206
+ subscriptionType: e.XSubscriptionType;
207
+ static fromProto(proto: any): GetXSubscriptionTypeResponse;
208
+ constructor(kwargs?: i.GetXSubscriptionTypeResponseInterface);
209
+ toApiJson(): object;
210
+ }
198
211
  export declare class ImageBlob implements i.ImageBlobInterface {
199
212
  blob: string;
200
213
  static fromProto(proto: any): ImageBlob;
@@ -209,22 +222,22 @@ export declare class ImageCreated implements i.ImageCreatedInterface {
209
222
  constructor(kwargs?: i.ImageCreatedInterface);
210
223
  toApiJson(): object;
211
224
  }
212
- export declare class GeneratePostsResponseImageResponse implements i.GeneratePostsResponseImageResponseInterface {
225
+ export declare class ImageResponse implements i.ImageResponseInterface {
213
226
  type: string;
214
- webFormatUrl: string;
227
+ webformatUrl: string;
215
228
  fullHdUrl: string;
216
229
  storageUrl: string;
217
- static fromProto(proto: any): GeneratePostsResponseImageResponse;
218
- constructor(kwargs?: i.GeneratePostsResponseImageResponseInterface);
230
+ static fromProto(proto: any): ImageResponse;
231
+ constructor(kwargs?: i.ImageResponseInterface);
219
232
  toApiJson(): object;
220
233
  }
221
- export declare class ImageResponse implements i.ImageResponseInterface {
234
+ export declare class GeneratePostsResponseImageResponse implements i.GeneratePostsResponseImageResponseInterface {
222
235
  type: string;
223
- webformatUrl: string;
236
+ webFormatUrl: string;
224
237
  fullHdUrl: string;
225
238
  storageUrl: string;
226
- static fromProto(proto: any): ImageResponse;
227
- constructor(kwargs?: i.ImageResponseInterface);
239
+ static fromProto(proto: any): GeneratePostsResponseImageResponse;
240
+ constructor(kwargs?: i.GeneratePostsResponseImageResponseInterface);
228
241
  toApiJson(): object;
229
242
  }
230
243
  export declare class ImageUrl implements i.ImageUrlInterface {
@@ -321,13 +334,6 @@ export declare class MultiResponse implements i.MultiResponseInterface {
321
334
  constructor(kwargs?: i.MultiResponseInterface);
322
335
  toApiJson(): object;
323
336
  }
324
- export declare class Post implements i.PostInterface {
325
- topic: string;
326
- postContent: PostContent[];
327
- static fromProto(proto: any): Post;
328
- constructor(kwargs?: i.PostInterface);
329
- toApiJson(): object;
330
- }
331
337
  export declare class GeneratePostsResponsePost implements i.GeneratePostsResponsePostInterface {
332
338
  text: string;
333
339
  imageResponse: GeneratePostsResponseImageResponse;
@@ -335,6 +341,13 @@ export declare class GeneratePostsResponsePost implements i.GeneratePostsRespons
335
341
  constructor(kwargs?: i.GeneratePostsResponsePostInterface);
336
342
  toApiJson(): object;
337
343
  }
344
+ export declare class Post implements i.PostInterface {
345
+ topic: string;
346
+ postContent: PostContent[];
347
+ static fromProto(proto: any): Post;
348
+ constructor(kwargs?: i.PostInterface);
349
+ toApiJson(): object;
350
+ }
338
351
  export declare class PostContent implements i.PostContentInterface {
339
352
  socialNetwork: e.Network;
340
353
  post: string;
@@ -90,6 +90,7 @@ export declare class ListDraftsRequest implements i.ListDraftsRequestInterface {
90
90
  searchTerm: string;
91
91
  networks: string[];
92
92
  visibilityType: e.VisibilityType;
93
+ filterBy: e.FilterBy;
93
94
  static fromProto(proto: any): ListDraftsRequest;
94
95
  constructor(kwargs?: i.ListDraftsRequestInterface);
95
96
  toApiJson(): object;
@@ -0,0 +1,42 @@
1
+ import * as i from '../interfaces';
2
+ import { Namespace } from './stock-image';
3
+ import * as e from '../enums';
4
+ export declare function enumStringToValue<E>(enumRef: any, value: string): E;
5
+ export declare class CreateOrEditRequest implements i.CreateOrEditRequestInterface {
6
+ namespace: Namespace;
7
+ prompt: string;
8
+ imageInputs: ImageInputSource[];
9
+ model: e.ImageModel;
10
+ imageCount: number;
11
+ size: string;
12
+ quality: e.ImageQuality;
13
+ responseFormat: string;
14
+ style: e.ImageStyle;
15
+ background: e.ImageBackground;
16
+ outputFormat: e.ImageOutputFormat;
17
+ moderation: string;
18
+ static fromProto(proto: any): CreateOrEditRequest;
19
+ constructor(kwargs?: i.CreateOrEditRequestInterface);
20
+ toApiJson(): object;
21
+ }
22
+ export declare class CreateOrEditResponse implements i.CreateOrEditResponseInterface {
23
+ images: GeneratedImage[];
24
+ static fromProto(proto: any): CreateOrEditResponse;
25
+ constructor(kwargs?: i.CreateOrEditResponseInterface);
26
+ toApiJson(): object;
27
+ }
28
+ export declare class GeneratedImage implements i.GeneratedImageInterface {
29
+ url: string;
30
+ b64Json: string;
31
+ revisedPrompt: string;
32
+ static fromProto(proto: any): GeneratedImage;
33
+ constructor(kwargs?: i.GeneratedImageInterface);
34
+ toApiJson(): object;
35
+ }
36
+ export declare class ImageInputSource implements i.ImageInputSourceInterface {
37
+ url: string;
38
+ data: string;
39
+ static fromProto(proto: any): ImageInputSource;
40
+ constructor(kwargs?: i.ImageInputSourceInterface);
41
+ toApiJson(): object;
42
+ }