@vendasta/social-posts 5.50.0 → 5.51.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.
@@ -1,3 +1,8 @@
1
+ export declare enum ContentType {
2
+ CONTENT_TYPE_INVALID = 0,
3
+ CONTENT_TYPE_SOCIAL_POST = 1,
4
+ CONTENT_TYPE_BLOG_POST = 2
5
+ }
1
6
  export declare enum Role {
2
7
  INVALID = 0,
3
8
  USER = 1,
@@ -9,7 +9,7 @@ export { MediaType, } from './linkedin-v2.enum';
9
9
  export { ProvisionAction, } from './provisioning.enum';
10
10
  export { ContentLength, GenerateType, Network, PostCategory, Tone, XSubscriptionType, } from './api-v2.enum';
11
11
  export { ActionType, } from './chat-bot.enum';
12
- export { Role, } from './chat-bot-v2.enum';
12
+ export { ContentType, Role, } from './chat-bot-v2.enum';
13
13
  export { DraftType, DraftYoutubeCustomizationPrivacyStatus, } from './drafts.enum';
14
14
  export { FilterBy, VisibilityType, } from './drafts-api.enum';
15
15
  export { CallToActionType, MediaContentType, MediaType as SocialContentMediaType, PublishMode, SocialContentType, } from './social-content.enum';
@@ -10,6 +10,7 @@ export interface SendMessageV2RequestInterface {
10
10
  customInstructions?: string;
11
11
  messages?: ChatMessageInterface[];
12
12
  brandId?: string;
13
+ contentType?: e.ContentType;
13
14
  }
14
15
  export interface SendMessageV2ResponseInterface {
15
16
  messageResponse?: string;
@@ -15,6 +15,7 @@ export declare class SendMessageV2Request implements i.SendMessageV2RequestInter
15
15
  customInstructions: string;
16
16
  messages: ChatMessage[];
17
17
  brandId: string;
18
+ contentType: e.ContentType;
18
19
  static fromProto(proto: any): SendMessageV2Request;
19
20
  constructor(kwargs?: i.SendMessageV2RequestInterface);
20
21
  toApiJson(): object;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/social-posts",
3
- "version": "5.50.0",
3
+ "version": "5.51.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"