{"version":3,"sources":["node_modules/@vendasta/social-posts/fesm2020/vendasta-social-posts.mjs"],"sourcesContent":["import * as i0 from '@angular/core';\nimport { Injectable, inject } from '@angular/core';\nimport { of } from 'rxjs';\nimport { HttpClient, HttpHeaders } from '@angular/common/http';\nimport { map } from 'rxjs/operators';\nfunction enumStringToValue$g(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass FieldMask {\n static fromProto(proto) {\n let m = new FieldMask();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.paths !== 'undefined') {\n toReturn['paths'] = this.paths;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$f(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass Hashtag {\n static fromProto(proto) {\n let m = new Hashtag();\n m = Object.assign(m, proto);\n if (proto.usedCount) {\n m.usedCount = parseInt(proto.usedCount, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.keyword !== 'undefined') {\n toReturn['keyword'] = this.keyword;\n }\n if (typeof this.usedCount !== 'undefined') {\n toReturn['usedCount'] = this.usedCount;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar CallToActionCallToActionType = /*#__PURE__*/function (CallToActionCallToActionType) {\n CallToActionCallToActionType[CallToActionCallToActionType[\"LEARN_MORE\"] = 0] = \"LEARN_MORE\";\n CallToActionCallToActionType[CallToActionCallToActionType[\"BOOK\"] = 1] = \"BOOK\";\n CallToActionCallToActionType[CallToActionCallToActionType[\"ORDER\"] = 2] = \"ORDER\";\n CallToActionCallToActionType[CallToActionCallToActionType[\"SHOP\"] = 3] = \"SHOP\";\n CallToActionCallToActionType[CallToActionCallToActionType[\"SIGN_UP\"] = 4] = \"SIGN_UP\";\n CallToActionCallToActionType[CallToActionCallToActionType[\"GET_OFFER\"] = 5] = \"GET_OFFER\";\n CallToActionCallToActionType[CallToActionCallToActionType[\"CALL\"] = 6] = \"CALL\";\n return CallToActionCallToActionType;\n}(CallToActionCallToActionType || {});\nvar SocialPostDeletionStatus = /*#__PURE__*/function (SocialPostDeletionStatus) {\n SocialPostDeletionStatus[SocialPostDeletionStatus[\"NONE\"] = 0] = \"NONE\";\n SocialPostDeletionStatus[SocialPostDeletionStatus[\"FAILED\"] = 1] = \"FAILED\";\n SocialPostDeletionStatus[SocialPostDeletionStatus[\"IN_PROGRESS\"] = 2] = \"IN_PROGRESS\";\n return SocialPostDeletionStatus;\n}(SocialPostDeletionStatus || {});\nvar MessageLength = /*#__PURE__*/function (MessageLength) {\n MessageLength[MessageLength[\"SHORT_FORM\"] = 0] = \"SHORT_FORM\";\n MessageLength[MessageLength[\"LONG_FORM\"] = 1] = \"LONG_FORM\";\n return MessageLength;\n}(MessageLength || {});\nvar PostType = /*#__PURE__*/function (PostType) {\n PostType[PostType[\"POST_TYPE_INVALID\"] = 0] = \"POST_TYPE_INVALID\";\n PostType[PostType[\"POST_TYPE_IMAGE\"] = 1] = \"POST_TYPE_IMAGE\";\n PostType[PostType[\"POST_TYPE_VIDEO\"] = 2] = \"POST_TYPE_VIDEO\";\n PostType[PostType[\"POST_TYPE_GIF\"] = 3] = \"POST_TYPE_GIF\";\n PostType[PostType[\"POST_TYPE_REEL\"] = 4] = \"POST_TYPE_REEL\";\n PostType[PostType[\"POST_TYPE_CAROUSEL\"] = 5] = \"POST_TYPE_CAROUSEL\";\n PostType[PostType[\"POST_TYPE_STORIES\"] = 6] = \"POST_TYPE_STORIES\";\n PostType[PostType[\"POST_TYPE_TEXT\"] = 7] = \"POST_TYPE_TEXT\";\n return PostType;\n}(PostType || {});\nvar PostingStatus = /*#__PURE__*/function (PostingStatus) {\n PostingStatus[PostingStatus[\"POSTING_IN_PROGRESS\"] = 0] = \"POSTING_IN_PROGRESS\";\n PostingStatus[PostingStatus[\"POSTING_FAILED\"] = 1] = \"POSTING_FAILED\";\n PostingStatus[PostingStatus[\"POSTING_COMPLETED\"] = 2] = \"POSTING_COMPLETED\";\n return PostingStatus;\n}(PostingStatus || {});\nvar YoutubeCustomizationPrivacyStatus = /*#__PURE__*/function (YoutubeCustomizationPrivacyStatus) {\n YoutubeCustomizationPrivacyStatus[YoutubeCustomizationPrivacyStatus[\"YOUTUBE_PRIVACY_STATUS_INVALID\"] = 0] = \"YOUTUBE_PRIVACY_STATUS_INVALID\";\n YoutubeCustomizationPrivacyStatus[YoutubeCustomizationPrivacyStatus[\"YOUTUBE_PRIVACY_STATUS_PUBLIC\"] = 1] = \"YOUTUBE_PRIVACY_STATUS_PUBLIC\";\n YoutubeCustomizationPrivacyStatus[YoutubeCustomizationPrivacyStatus[\"YOUTUBE_PRIVACY_STATUS_PRIVATE\"] = 2] = \"YOUTUBE_PRIVACY_STATUS_PRIVATE\";\n YoutubeCustomizationPrivacyStatus[YoutubeCustomizationPrivacyStatus[\"YOUTUBE_PRIVACY_STATUS_UNLISTED\"] = 3] = \"YOUTUBE_PRIVACY_STATUS_UNLISTED\";\n return YoutubeCustomizationPrivacyStatus;\n}(YoutubeCustomizationPrivacyStatus || {});\nvar SocialPostService = /*#__PURE__*/function (SocialPostService) {\n SocialPostService[SocialPostService[\"TWITTER\"] = 0] = \"TWITTER\";\n SocialPostService[SocialPostService[\"FACEBOOK\"] = 1] = \"FACEBOOK\";\n SocialPostService[SocialPostService[\"LINKED_IN\"] = 2] = \"LINKED_IN\";\n SocialPostService[SocialPostService[\"GOOGLE_PLUS\"] = 3] = \"GOOGLE_PLUS\";\n SocialPostService[SocialPostService[\"GOOGLE_MY_BUSINESS\"] = 4] = \"GOOGLE_MY_BUSINESS\";\n SocialPostService[SocialPostService[\"UNKNOWN\"] = 5] = \"UNKNOWN\";\n SocialPostService[SocialPostService[\"INSTAGRAM\"] = 6] = \"INSTAGRAM\";\n SocialPostService[SocialPostService[\"CURATED_CONTENT\"] = 7] = \"CURATED_CONTENT\";\n SocialPostService[SocialPostService[\"YOUTUBE\"] = 8] = \"YOUTUBE\";\n SocialPostService[SocialPostService[\"TIKTOK\"] = 9] = \"TIKTOK\";\n SocialPostService[SocialPostService[\"WORDPRESS\"] = 10] = \"WORDPRESS\";\n return SocialPostService;\n}(SocialPostService || {});\nvar TemplateType = /*#__PURE__*/function (TemplateType) {\n TemplateType[TemplateType[\"TEMPLATE_UNSET\"] = 0] = \"TEMPLATE_UNSET\";\n TemplateType[TemplateType[\"TEMPLATE_CUSTOM\"] = 1] = \"TEMPLATE_CUSTOM\";\n TemplateType[TemplateType[\"TEMPLATE_SOCIAL_POST\"] = 2] = \"TEMPLATE_SOCIAL_POST\";\n return TemplateType;\n}(TemplateType || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar RemoveReason = /*#__PURE__*/function (RemoveReason) {\n RemoveReason[RemoveReason[\"REMOVE_REASON_EDIT\"] = 0] = \"REMOVE_REASON_EDIT\";\n RemoveReason[RemoveReason[\"REMOVE_REASON_DELETE\"] = 1] = \"REMOVE_REASON_DELETE\";\n return RemoveReason;\n}(RemoveReason || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar PostStatusV2 = /*#__PURE__*/function (PostStatusV2) {\n PostStatusV2[PostStatusV2[\"POST_STATUS_INVALID\"] = 0] = \"POST_STATUS_INVALID\";\n PostStatusV2[PostStatusV2[\"POST_STATUS_SUCCESS\"] = 1] = \"POST_STATUS_SUCCESS\";\n PostStatusV2[PostStatusV2[\"POST_STATUS_ERROR\"] = 2] = \"POST_STATUS_ERROR\";\n return PostStatusV2;\n}(PostStatusV2 || {});\nvar PostTypeV2 = /*#__PURE__*/function (PostTypeV2) {\n PostTypeV2[PostTypeV2[\"POST_TYPE_INVALID\"] = 0] = \"POST_TYPE_INVALID\";\n PostTypeV2[PostTypeV2[\"POST_TYPE_IMAGE\"] = 1] = \"POST_TYPE_IMAGE\";\n PostTypeV2[PostTypeV2[\"POST_TYPE_VIDEO\"] = 2] = \"POST_TYPE_VIDEO\";\n PostTypeV2[PostTypeV2[\"POST_TYPE_GIF\"] = 3] = \"POST_TYPE_GIF\";\n PostTypeV2[PostTypeV2[\"POST_TYPE_MULTI_MEDIA\"] = 4] = \"POST_TYPE_MULTI_MEDIA\";\n PostTypeV2[PostTypeV2[\"POST_TYPE_TEXT\"] = 5] = \"POST_TYPE_TEXT\";\n PostTypeV2[PostTypeV2[\"POST_TYPE_STORIES\"] = 6] = \"POST_TYPE_STORIES\";\n return PostTypeV2;\n}(PostTypeV2 || {});\nvar YoutubeCustomizationV2PrivacyStatusV2 = /*#__PURE__*/function (YoutubeCustomizationV2PrivacyStatusV2) {\n YoutubeCustomizationV2PrivacyStatusV2[YoutubeCustomizationV2PrivacyStatusV2[\"YOUTUBE_PRIVACY_STATUS_INVALID\"] = 0] = \"YOUTUBE_PRIVACY_STATUS_INVALID\";\n YoutubeCustomizationV2PrivacyStatusV2[YoutubeCustomizationV2PrivacyStatusV2[\"YOUTUBE_PRIVACY_STATUS_PUBLIC\"] = 1] = \"YOUTUBE_PRIVACY_STATUS_PUBLIC\";\n YoutubeCustomizationV2PrivacyStatusV2[YoutubeCustomizationV2PrivacyStatusV2[\"YOUTUBE_PRIVACY_STATUS_PRIVATE\"] = 2] = \"YOUTUBE_PRIVACY_STATUS_PRIVATE\";\n YoutubeCustomizationV2PrivacyStatusV2[YoutubeCustomizationV2PrivacyStatusV2[\"YOUTUBE_PRIVACY_STATUS_UNLISTED\"] = 3] = \"YOUTUBE_PRIVACY_STATUS_UNLISTED\";\n return YoutubeCustomizationV2PrivacyStatusV2;\n}(YoutubeCustomizationV2PrivacyStatusV2 || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar MediaType = /*#__PURE__*/function (MediaType) {\n MediaType[MediaType[\"MEDIA_TYPE_INVALID\"] = 0] = \"MEDIA_TYPE_INVALID\";\n MediaType[MediaType[\"MEDIA_TYPE_IMAGE\"] = 1] = \"MEDIA_TYPE_IMAGE\";\n MediaType[MediaType[\"MEDIA_TYPE_VIDEO\"] = 2] = \"MEDIA_TYPE_VIDEO\";\n MediaType[MediaType[\"MEDIA_TYPE_GIF\"] = 3] = \"MEDIA_TYPE_GIF\";\n MediaType[MediaType[\"MEDIA_TYPE_CAROUSEL\"] = 4] = \"MEDIA_TYPE_CAROUSEL\";\n return MediaType;\n}(MediaType || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar ContentLength = /*#__PURE__*/function (ContentLength) {\n ContentLength[ContentLength[\"SHORT_FORM\"] = 0] = \"SHORT_FORM\";\n ContentLength[ContentLength[\"MEDIUM_FORM\"] = 1] = \"MEDIUM_FORM\";\n ContentLength[ContentLength[\"LONG_FORM\"] = 2] = \"LONG_FORM\";\n return ContentLength;\n}(ContentLength || {});\nvar GenerateType = /*#__PURE__*/function (GenerateType) {\n GenerateType[GenerateType[\"TITLE\"] = 0] = \"TITLE\";\n GenerateType[GenerateType[\"OUTLINE\"] = 1] = \"OUTLINE\";\n GenerateType[GenerateType[\"BLOG\"] = 2] = \"BLOG\";\n return GenerateType;\n}(GenerateType || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar ActionType = /*#__PURE__*/function (ActionType) {\n ActionType[ActionType[\"RESPOND\"] = 0] = \"RESPOND\";\n ActionType[ActionType[\"CHANGE_TONE\"] = 1] = \"CHANGE_TONE\";\n return ActionType;\n}(ActionType || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\nvar Role = /*#__PURE__*/function (Role) {\n Role[Role[\"INVALID\"] = 0] = \"INVALID\";\n Role[Role[\"USER\"] = 1] = \"USER\";\n Role[Role[\"AI_BOT\"] = 2] = \"AI_BOT\";\n return Role;\n}(Role || {});\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums Index.\n// *********************************\n\nfunction enumStringToValue$e(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nlet Author$1 = class Author {\n static fromProto(proto) {\n let m = new Author();\n m = Object.assign(m, proto);\n if (proto.id) {\n m.id = parseInt(proto.id, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n return toReturn;\n }\n};\nclass BlogPostCustomization {\n static fromProto(proto) {\n let m = new BlogPostCustomization();\n m = Object.assign(m, proto);\n if (proto.author) {\n m.author = Author$1.fromProto(proto.author);\n }\n if (proto.categories) {\n m.categories = proto.categories.map(Category$1.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.siteType !== 'undefined') {\n toReturn['siteType'] = this.siteType;\n }\n if (typeof this.author !== 'undefined' && this.author !== null) {\n toReturn['author'] = 'toApiJson' in this.author ? this.author.toApiJson() : this.author;\n }\n if (typeof this.categories !== 'undefined' && this.categories !== null) {\n toReturn['categories'] = 'toApiJson' in this.categories ? this.categories.toApiJson() : this.categories;\n }\n if (typeof this.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\n }\n return toReturn;\n }\n}\nclass CallToAction {\n static fromProto(proto) {\n let m = new CallToAction();\n m = Object.assign(m, proto);\n if (proto.actionType) {\n m.actionType = enumStringToValue$e(CallToActionCallToActionType, proto.actionType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.url !== 'undefined') {\n toReturn['url'] = this.url;\n }\n if (typeof this.actionType !== 'undefined') {\n toReturn['actionType'] = this.actionType;\n }\n return toReturn;\n }\n}\nlet Category$1 = class Category {\n static fromProto(proto) {\n let m = new Category();\n m = Object.assign(m, proto);\n if (proto.id) {\n m.id = parseInt(proto.id, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n return toReturn;\n }\n};\nclass Error {\n static fromProto(proto) {\n let m = new Error();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.reason !== 'undefined') {\n toReturn['reason'] = this.reason;\n }\n if (typeof this.category !== 'undefined') {\n toReturn['category'] = this.category;\n }\n return toReturn;\n }\n}\nclass Event {\n static fromProto(proto) {\n let m = new Event();\n m = Object.assign(m, proto);\n if (proto.startDatetime) {\n m.startDatetime = new Date(proto.startDatetime);\n }\n if (proto.endDatetime) {\n m.endDatetime = new Date(proto.endDatetime);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.title !== 'undefined') {\n toReturn['title'] = this.title;\n }\n if (typeof this.startDatetime !== 'undefined' && this.startDatetime !== null) {\n toReturn['startDatetime'] = 'toApiJson' in this.startDatetime ? this.startDatetime.toApiJson() : this.startDatetime;\n }\n if (typeof this.endDatetime !== 'undefined' && this.endDatetime !== null) {\n toReturn['endDatetime'] = 'toApiJson' in this.endDatetime ? this.endDatetime.toApiJson() : this.endDatetime;\n }\n return toReturn;\n }\n}\nclass MediaEntry {\n static fromProto(proto) {\n let m = new MediaEntry();\n m = Object.assign(m, proto);\n if (proto.metaData) {\n m.metaData = proto.metaData.map(MetaData.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.mediaEntryId !== 'undefined') {\n toReturn['mediaEntryId'] = this.mediaEntryId;\n }\n if (typeof this.mediaUrl !== 'undefined') {\n toReturn['mediaUrl'] = this.mediaUrl;\n }\n if (typeof this.mediaType !== 'undefined') {\n toReturn['mediaType'] = this.mediaType;\n }\n if (typeof this.containerId !== 'undefined') {\n toReturn['containerId'] = this.containerId;\n }\n if (typeof this.metaData !== 'undefined' && this.metaData !== null) {\n toReturn['metaData'] = 'toApiJson' in this.metaData ? this.metaData.toApiJson() : this.metaData;\n }\n if (typeof this.mediaPath !== 'undefined') {\n toReturn['mediaPath'] = this.mediaPath;\n }\n return toReturn;\n }\n}\nclass MetaData {\n static fromProto(proto) {\n let m = new MetaData();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.propertyName !== 'undefined') {\n toReturn['propertyName'] = this.propertyName;\n }\n if (typeof this.propertyValue !== 'undefined') {\n toReturn['propertyValue'] = this.propertyValue;\n }\n return toReturn;\n }\n}\nclass PostTemplate {\n static fromProto(proto) {\n let m = new PostTemplate();\n m = Object.assign(m, proto);\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n if (proto.postDateTime) {\n m.postDateTime = new Date(proto.postDateTime);\n }\n if (proto.mediaEntries) {\n m.mediaEntries = proto.mediaEntries.map(MediaEntry.fromProto);\n }\n if (proto.metaData) {\n m.metaData = proto.metaData.map(MetaData.fromProto);\n }\n if (proto.postType) {\n m.postType = enumStringToValue$e(PostType, proto.postType);\n }\n if (proto.youtubeCustomization) {\n m.youtubeCustomization = YoutubeCustomization.fromProto(proto.youtubeCustomization);\n }\n if (proto.tiktokCustomization) {\n m.tiktokCustomization = TikTokCustomization.fromProto(proto.tiktokCustomization);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.templateId !== 'undefined') {\n toReturn['templateId'] = this.templateId;\n }\n if (typeof this.title !== 'undefined') {\n toReturn['title'] = this.title;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n if (typeof this.postText !== 'undefined') {\n toReturn['postText'] = this.postText;\n }\n if (typeof this.postDateTime !== 'undefined' && this.postDateTime !== null) {\n toReturn['postDateTime'] = 'toApiJson' in this.postDateTime ? this.postDateTime.toApiJson() : this.postDateTime;\n }\n if (typeof this.gmbPostCustomization !== 'undefined') {\n toReturn['gmbPostCustomization'] = this.gmbPostCustomization;\n }\n if (typeof this.imageUrl !== 'undefined') {\n toReturn['imageUrl'] = this.imageUrl;\n }\n if (typeof this.imagePath !== 'undefined') {\n toReturn['imagePath'] = this.imagePath;\n }\n if (typeof this.imageSize !== 'undefined') {\n toReturn['imageSize'] = this.imageSize;\n }\n if (typeof this.previews !== 'undefined') {\n toReturn['previews'] = this.previews;\n }\n if (typeof this.options !== 'undefined') {\n toReturn['options'] = this.options;\n }\n if (typeof this.videoUrl !== 'undefined') {\n toReturn['videoUrl'] = this.videoUrl;\n }\n if (typeof this.mediaEntries !== 'undefined' && this.mediaEntries !== null) {\n toReturn['mediaEntries'] = 'toApiJson' in this.mediaEntries ? this.mediaEntries.toApiJson() : this.mediaEntries;\n }\n if (typeof this.metaData !== 'undefined' && this.metaData !== null) {\n toReturn['metaData'] = 'toApiJson' in this.metaData ? this.metaData.toApiJson() : this.metaData;\n }\n if (typeof this.postType !== 'undefined') {\n toReturn['postType'] = this.postType;\n }\n if (typeof this.youtubeCustomization !== 'undefined' && this.youtubeCustomization !== null) {\n toReturn['youtubeCustomization'] = 'toApiJson' in this.youtubeCustomization ? this.youtubeCustomization.toApiJson() : this.youtubeCustomization;\n }\n if (typeof this.tiktokCustomization !== 'undefined' && this.tiktokCustomization !== null) {\n toReturn['tiktokCustomization'] = 'toApiJson' in this.tiktokCustomization ? this.tiktokCustomization.toApiJson() : this.tiktokCustomization;\n }\n return toReturn;\n }\n}\nclass SSIDPostType {\n static fromProto(proto) {\n let m = new SSIDPostType();\n m = Object.assign(m, proto);\n if (proto.postType) {\n m.postType = enumStringToValue$e(PostType, proto.postType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.socialServiceId !== 'undefined') {\n toReturn['socialServiceId'] = this.socialServiceId;\n }\n if (typeof this.postType !== 'undefined') {\n toReturn['postType'] = this.postType;\n }\n return toReturn;\n }\n}\nclass SchedulePostStatus {\n static fromProto(proto) {\n let m = new SchedulePostStatus();\n m = Object.assign(m, proto);\n if (proto.error) {\n m.error = Error.fromProto(proto.error);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.socialPostId !== 'undefined') {\n toReturn['socialPostId'] = this.socialPostId;\n }\n if (typeof this.socialServiceId !== 'undefined') {\n toReturn['socialServiceId'] = this.socialServiceId;\n }\n if (typeof this.socialServiceLabel !== 'undefined') {\n toReturn['socialServiceLabel'] = this.socialServiceLabel;\n }\n if (typeof this.error !== 'undefined' && this.error !== null) {\n toReturn['error'] = 'toApiJson' in this.error ? this.error.toApiJson() : this.error;\n }\n return toReturn;\n }\n}\nclass SocialPost {\n static fromProto(proto) {\n let m = new SocialPost();\n m = Object.assign(m, proto);\n if (proto.posted) {\n m.posted = new Date(proto.posted);\n }\n if (proto.deletionStatus) {\n m.deletionStatus = enumStringToValue$e(SocialPostDeletionStatus, proto.deletionStatus);\n }\n if (proto.service) {\n m.service = enumStringToValue$e(SocialPostService, proto.service);\n }\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.scheduled) {\n m.scheduled = new Date(proto.scheduled);\n }\n if (proto.status) {\n m.status = enumStringToValue$e(PostingStatus, proto.status);\n }\n if (proto.event) {\n m.event = Event.fromProto(proto.event);\n }\n if (proto.callToAction) {\n m.callToAction = CallToAction.fromProto(proto.callToAction);\n }\n if (proto.error) {\n m.error = Error.fromProto(proto.error);\n }\n if (proto.postType) {\n m.postType = enumStringToValue$e(PostType, proto.postType);\n }\n if (proto.mediaEntries) {\n m.mediaEntries = proto.mediaEntries.map(MediaEntry.fromProto);\n }\n if (proto.metaData) {\n m.metaData = proto.metaData.map(MetaData.fromProto);\n }\n if (proto.youtubeCustomization) {\n m.youtubeCustomization = YoutubeCustomization.fromProto(proto.youtubeCustomization);\n }\n if (proto.tiktokCustomization) {\n m.tiktokCustomization = TikTokCustomization.fromProto(proto.tiktokCustomization);\n }\n if (proto.blogPostCustomization) {\n m.blogPostCustomization = BlogPostCustomization.fromProto(proto.blogPostCustomization);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.socialPostId !== 'undefined') {\n toReturn['socialPostId'] = this.socialPostId;\n }\n if (typeof this.postText !== 'undefined') {\n toReturn['postText'] = this.postText;\n }\n if (typeof this.posted !== 'undefined' && this.posted !== null) {\n toReturn['posted'] = 'toApiJson' in this.posted ? this.posted.toApiJson() : this.posted;\n }\n if (typeof this.isError !== 'undefined') {\n toReturn['isError'] = this.isError;\n }\n if (typeof this.deletionStatus !== 'undefined') {\n toReturn['deletionStatus'] = this.deletionStatus;\n }\n if (typeof this.service !== 'undefined') {\n toReturn['service'] = this.service;\n }\n if (typeof this.permalink !== 'undefined') {\n toReturn['permalink'] = this.permalink;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.profileUrl !== 'undefined') {\n toReturn['profileUrl'] = this.profileUrl;\n }\n if (typeof this.profileImageUrl !== 'undefined') {\n toReturn['profileImageUrl'] = this.profileImageUrl;\n }\n if (typeof this.scheduled !== 'undefined' && this.scheduled !== null) {\n toReturn['scheduled'] = 'toApiJson' in this.scheduled ? this.scheduled.toApiJson() : this.scheduled;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.imageUrl !== 'undefined') {\n toReturn['imageUrl'] = this.imageUrl;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.username !== 'undefined') {\n toReturn['username'] = this.username;\n }\n if (typeof this.parentId !== 'undefined') {\n toReturn['parentId'] = this.parentId;\n }\n if (typeof this.socialServiceId !== 'undefined') {\n toReturn['socialServiceId'] = this.socialServiceId;\n }\n if (typeof this.event !== 'undefined' && this.event !== null) {\n toReturn['event'] = 'toApiJson' in this.event ? this.event.toApiJson() : this.event;\n }\n if (typeof this.callToAction !== 'undefined' && this.callToAction !== null) {\n toReturn['callToAction'] = 'toApiJson' in this.callToAction ? this.callToAction.toApiJson() : this.callToAction;\n }\n if (typeof this.videoUrl !== 'undefined') {\n toReturn['videoUrl'] = this.videoUrl;\n }\n if (typeof this.error !== 'undefined' && this.error !== null) {\n toReturn['error'] = 'toApiJson' in this.error ? this.error.toApiJson() : this.error;\n }\n if (typeof this.imageUrls !== 'undefined') {\n toReturn['imageUrls'] = this.imageUrls;\n }\n if (typeof this.linkPreviewImageUrl !== 'undefined') {\n toReturn['linkPreviewImageUrl'] = this.linkPreviewImageUrl;\n }\n if (typeof this.brandId !== 'undefined') {\n toReturn['brandId'] = this.brandId;\n }\n if (typeof this.multilocationPostId !== 'undefined') {\n toReturn['multilocationPostId'] = this.multilocationPostId;\n }\n if (typeof this.postType !== 'undefined') {\n toReturn['postType'] = this.postType;\n }\n if (typeof this.mediaEntries !== 'undefined' && this.mediaEntries !== null) {\n toReturn['mediaEntries'] = 'toApiJson' in this.mediaEntries ? this.mediaEntries.toApiJson() : this.mediaEntries;\n }\n if (typeof this.metaData !== 'undefined' && this.metaData !== null) {\n toReturn['metaData'] = 'toApiJson' in this.metaData ? this.metaData.toApiJson() : this.metaData;\n }\n if (typeof this.title !== 'undefined') {\n toReturn['title'] = this.title;\n }\n if (typeof this.youtubeCustomization !== 'undefined' && this.youtubeCustomization !== null) {\n toReturn['youtubeCustomization'] = 'toApiJson' in this.youtubeCustomization ? this.youtubeCustomization.toApiJson() : this.youtubeCustomization;\n }\n if (typeof this.tiktokCustomization !== 'undefined' && this.tiktokCustomization !== null) {\n toReturn['tiktokCustomization'] = 'toApiJson' in this.tiktokCustomization ? this.tiktokCustomization.toApiJson() : this.tiktokCustomization;\n }\n if (typeof this.blogPostCustomization !== 'undefined' && this.blogPostCustomization !== null) {\n toReturn['blogPostCustomization'] = 'toApiJson' in this.blogPostCustomization ? this.blogPostCustomization.toApiJson() : this.blogPostCustomization;\n }\n return toReturn;\n }\n}\nclass SocialPostData {\n static fromProto(proto) {\n let m = new SocialPostData();\n m = Object.assign(m, proto);\n if (proto.scheduleFor) {\n m.scheduleFor = new Date(proto.scheduleFor);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.postText !== 'undefined') {\n toReturn['postText'] = this.postText;\n }\n if (typeof this.imageUrl !== 'undefined') {\n toReturn['imageUrl'] = this.imageUrl;\n }\n if (typeof this.scheduleFor !== 'undefined' && this.scheduleFor !== null) {\n toReturn['scheduleFor'] = 'toApiJson' in this.scheduleFor ? this.scheduleFor.toApiJson() : this.scheduleFor;\n }\n return toReturn;\n }\n}\nclass TikTokCustomization {\n static fromProto(proto) {\n let m = new TikTokCustomization();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.allowComment !== 'undefined') {\n toReturn['allowComment'] = this.allowComment;\n }\n if (typeof this.allowDuet !== 'undefined') {\n toReturn['allowDuet'] = this.allowDuet;\n }\n if (typeof this.allowStitch !== 'undefined') {\n toReturn['allowStitch'] = this.allowStitch;\n }\n return toReturn;\n }\n}\nclass YoutubeCustomization {\n static fromProto(proto) {\n let m = new YoutubeCustomization();\n m = Object.assign(m, proto);\n if (proto.privacyStatus) {\n m.privacyStatus = enumStringToValue$e(YoutubeCustomizationPrivacyStatus, proto.privacyStatus);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.title !== 'undefined') {\n toReturn['title'] = this.title;\n }\n if (typeof this.privacyStatus !== 'undefined') {\n toReturn['privacyStatus'] = this.privacyStatus;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$d(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass Location {\n static fromProto(proto) {\n let m = new Location();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.socialServiceIds !== 'undefined') {\n toReturn['socialServiceIds'] = this.socialServiceIds;\n }\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n return toReturn;\n }\n}\nclass MultilocationPost {\n static fromProto(proto) {\n let m = new MultilocationPost();\n m = Object.assign(m, proto);\n if (proto.originalScheduledDate) {\n m.originalScheduledDate = new Date(proto.originalScheduledDate);\n }\n if (proto.originalLocations) {\n m.originalLocations = proto.originalLocations.map(Location.fromProto);\n }\n if (proto.editedLocations) {\n m.editedLocations = proto.editedLocations.map(Location.fromProto);\n }\n if (proto.deletedLocations) {\n m.deletedLocations = proto.deletedLocations.map(Location.fromProto);\n }\n if (proto.mediaEntries) {\n m.mediaEntries = proto.mediaEntries.map(MediaEntry.fromProto);\n }\n if (proto.metaData) {\n m.metaData = proto.metaData.map(MetaData.fromProto);\n }\n if (proto.customization) {\n m.customization = PostCustomization.fromProto(proto.customization);\n }\n if (proto.postTypes) {\n m.postTypes = proto.postTypes.map(SSIDPostType.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.brandId !== 'undefined') {\n toReturn['brandId'] = this.brandId;\n }\n if (typeof this.multilocationId !== 'undefined') {\n toReturn['multilocationId'] = this.multilocationId;\n }\n if (typeof this.originalText !== 'undefined') {\n toReturn['originalText'] = this.originalText;\n }\n if (typeof this.originalScheduledDate !== 'undefined' && this.originalScheduledDate !== null) {\n toReturn['originalScheduledDate'] = 'toApiJson' in this.originalScheduledDate ? this.originalScheduledDate.toApiJson() : this.originalScheduledDate;\n }\n if (typeof this.originalMedia !== 'undefined') {\n toReturn['originalMedia'] = this.originalMedia;\n }\n if (typeof this.originalLocations !== 'undefined' && this.originalLocations !== null) {\n toReturn['originalLocations'] = 'toApiJson' in this.originalLocations ? this.originalLocations.toApiJson() : this.originalLocations;\n }\n if (typeof this.editedLocations !== 'undefined' && this.editedLocations !== null) {\n toReturn['editedLocations'] = 'toApiJson' in this.editedLocations ? this.editedLocations.toApiJson() : this.editedLocations;\n }\n if (typeof this.deletedLocations !== 'undefined' && this.deletedLocations !== null) {\n toReturn['deletedLocations'] = 'toApiJson' in this.deletedLocations ? this.deletedLocations.toApiJson() : this.deletedLocations;\n }\n if (typeof this.originalGifs !== 'undefined') {\n toReturn['originalGifs'] = this.originalGifs;\n }\n if (typeof this.originalVideos !== 'undefined') {\n toReturn['originalVideos'] = this.originalVideos;\n }\n if (typeof this.mediaEntries !== 'undefined' && this.mediaEntries !== null) {\n toReturn['mediaEntries'] = 'toApiJson' in this.mediaEntries ? this.mediaEntries.toApiJson() : this.mediaEntries;\n }\n if (typeof this.metaData !== 'undefined' && this.metaData !== null) {\n toReturn['metaData'] = 'toApiJson' in this.metaData ? this.metaData.toApiJson() : this.metaData;\n }\n if (typeof this.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\n }\n if (typeof this.customization !== 'undefined' && this.customization !== null) {\n toReturn['customization'] = 'toApiJson' in this.customization ? this.customization.toApiJson() : this.customization;\n }\n if (typeof this.linkShortCode !== 'undefined') {\n toReturn['linkShortCode'] = this.linkShortCode;\n }\n if (typeof this.postTypes !== 'undefined' && this.postTypes !== null) {\n toReturn['postTypes'] = 'toApiJson' in this.postTypes ? this.postTypes.toApiJson() : this.postTypes;\n }\n return toReturn;\n }\n}\nclass MultilocationPostError {\n static fromProto(proto) {\n let m = new MultilocationPostError();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.socialServiceId !== 'undefined') {\n toReturn['socialServiceId'] = this.socialServiceId;\n }\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.errorReason !== 'undefined') {\n toReturn['errorReason'] = this.errorReason;\n }\n return toReturn;\n }\n}\nclass PostAction {\n static fromProto(proto) {\n let m = new PostAction();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.type !== 'undefined') {\n toReturn['type'] = this.type;\n }\n if (typeof this.linkUrl !== 'undefined') {\n toReturn['linkUrl'] = this.linkUrl;\n }\n return toReturn;\n }\n}\nclass PostCustomization {\n static fromProto(proto) {\n let m = new PostCustomization();\n m = Object.assign(m, proto);\n if (proto.event) {\n m.event = PostEvent.fromProto(proto.event);\n }\n if (proto.action) {\n m.action = PostAction.fromProto(proto.action);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.event !== 'undefined' && this.event !== null) {\n toReturn['event'] = 'toApiJson' in this.event ? this.event.toApiJson() : this.event;\n }\n if (typeof this.action !== 'undefined' && this.action !== null) {\n toReturn['action'] = 'toApiJson' in this.action ? this.action.toApiJson() : this.action;\n }\n return toReturn;\n }\n}\nclass PostEvent {\n static fromProto(proto) {\n let m = new PostEvent();\n m = Object.assign(m, proto);\n if (proto.start) {\n m.start = new Date(proto.start);\n }\n if (proto.end) {\n m.end = new Date(proto.end);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.title !== 'undefined') {\n toReturn['title'] = this.title;\n }\n if (typeof this.start !== 'undefined' && this.start !== null) {\n toReturn['start'] = 'toApiJson' in this.start ? this.start.toApiJson() : this.start;\n }\n if (typeof this.end !== 'undefined' && this.end !== null) {\n toReturn['end'] = 'toApiJson' in this.end ? this.end.toApiJson() : this.end;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$c(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass PixabayImage {\n static fromProto(proto) {\n let m = new PixabayImage();\n m = Object.assign(m, proto);\n if (proto.id) {\n m.id = parseInt(proto.id, 10);\n }\n if (proto.previewWidth) {\n m.previewWidth = parseInt(proto.previewWidth, 10);\n }\n if (proto.previewHeight) {\n m.previewHeight = parseInt(proto.previewHeight, 10);\n }\n if (proto.webformatWidth) {\n m.webformatWidth = parseInt(proto.webformatWidth, 10);\n }\n if (proto.webformatHeight) {\n m.webformatHeight = parseInt(proto.webformatHeight, 10);\n }\n if (proto.imageWidth) {\n m.imageWidth = parseInt(proto.imageWidth, 10);\n }\n if (proto.imageHeight) {\n m.imageHeight = parseInt(proto.imageHeight, 10);\n }\n if (proto.imageSize) {\n m.imageSize = parseInt(proto.imageSize, 10);\n }\n if (proto.views) {\n m.views = parseInt(proto.views, 10);\n }\n if (proto.downloads) {\n m.downloads = parseInt(proto.downloads, 10);\n }\n if (proto.favorites) {\n m.favorites = parseInt(proto.favorites, 10);\n }\n if (proto.likes) {\n m.likes = parseInt(proto.likes, 10);\n }\n if (proto.comments) {\n m.comments = parseInt(proto.comments, 10);\n }\n if (proto.userId) {\n m.userId = parseInt(proto.userId, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.pageUrl !== 'undefined') {\n toReturn['pageUrl'] = this.pageUrl;\n }\n if (typeof this.type !== 'undefined') {\n toReturn['type'] = this.type;\n }\n if (typeof this.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\n }\n if (typeof this.previewUrl !== 'undefined') {\n toReturn['previewUrl'] = this.previewUrl;\n }\n if (typeof this.previewWidth !== 'undefined') {\n toReturn['previewWidth'] = this.previewWidth;\n }\n if (typeof this.previewHeight !== 'undefined') {\n toReturn['previewHeight'] = this.previewHeight;\n }\n if (typeof this.webformatUrl !== 'undefined') {\n toReturn['webformatUrl'] = this.webformatUrl;\n }\n if (typeof this.webformatWidth !== 'undefined') {\n toReturn['webformatWidth'] = this.webformatWidth;\n }\n if (typeof this.webformatHeight !== 'undefined') {\n toReturn['webformatHeight'] = this.webformatHeight;\n }\n if (typeof this.largeImageUrl !== 'undefined') {\n toReturn['largeImageUrl'] = this.largeImageUrl;\n }\n if (typeof this.fullHdUrl !== 'undefined') {\n toReturn['fullHdUrl'] = this.fullHdUrl;\n }\n if (typeof this.imageUrl !== 'undefined') {\n toReturn['imageUrl'] = this.imageUrl;\n }\n if (typeof this.imageWidth !== 'undefined') {\n toReturn['imageWidth'] = this.imageWidth;\n }\n if (typeof this.imageHeight !== 'undefined') {\n toReturn['imageHeight'] = this.imageHeight;\n }\n if (typeof this.imageSize !== 'undefined') {\n toReturn['imageSize'] = this.imageSize;\n }\n if (typeof this.views !== 'undefined') {\n toReturn['views'] = this.views;\n }\n if (typeof this.downloads !== 'undefined') {\n toReturn['downloads'] = this.downloads;\n }\n if (typeof this.favorites !== 'undefined') {\n toReturn['favorites'] = this.favorites;\n }\n if (typeof this.likes !== 'undefined') {\n toReturn['likes'] = this.likes;\n }\n if (typeof this.comments !== 'undefined') {\n toReturn['comments'] = this.comments;\n }\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n if (typeof this.user !== 'undefined') {\n toReturn['user'] = this.user;\n }\n if (typeof this.userImageUrl !== 'undefined') {\n toReturn['userImageUrl'] = this.userImageUrl;\n }\n if (typeof this.storageUrl !== 'undefined') {\n toReturn['storageUrl'] = this.storageUrl;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$b(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass FacebookPostStats {\n static fromProto(proto) {\n let m = new FacebookPostStats();\n m = Object.assign(m, proto);\n if (proto.commentCount) {\n m.commentCount = parseInt(proto.commentCount, 10);\n }\n if (proto.shareCount) {\n m.shareCount = parseInt(proto.shareCount, 10);\n }\n if (proto.likeCount) {\n m.likeCount = parseInt(proto.likeCount, 10);\n }\n if (proto.reactions) {\n m.reactions = parseInt(proto.reactions, 10);\n }\n if (proto.peopleReached) {\n m.peopleReached = parseInt(proto.peopleReached, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.commentCount !== 'undefined') {\n toReturn['commentCount'] = this.commentCount;\n }\n if (typeof this.shareCount !== 'undefined') {\n toReturn['shareCount'] = this.shareCount;\n }\n if (typeof this.likeCount !== 'undefined') {\n toReturn['likeCount'] = this.likeCount;\n }\n if (typeof this.hasLike !== 'undefined') {\n toReturn['hasLike'] = this.hasLike;\n }\n if (typeof this.canLike !== 'undefined') {\n toReturn['canLike'] = this.canLike;\n }\n if (typeof this.reactions !== 'undefined') {\n toReturn['reactions'] = this.reactions;\n }\n if (typeof this.peopleReached !== 'undefined') {\n toReturn['peopleReached'] = this.peopleReached;\n }\n return toReturn;\n }\n}\nclass SocialPostStats {\n static fromProto(proto) {\n let m = new SocialPostStats();\n m = Object.assign(m, proto);\n if (proto.facebookPostStats) {\n m.facebookPostStats = FacebookPostStats.fromProto(proto.facebookPostStats);\n }\n if (proto.twitterPostStats) {\n m.twitterPostStats = TwitterPostStats.fromProto(proto.twitterPostStats);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.internalPostId !== 'undefined') {\n toReturn['internalPostId'] = this.internalPostId;\n }\n if (typeof this.facebookPostStats !== 'undefined' && this.facebookPostStats !== null) {\n toReturn['facebookPostStats'] = 'toApiJson' in this.facebookPostStats ? this.facebookPostStats.toApiJson() : this.facebookPostStats;\n }\n if (typeof this.twitterPostStats !== 'undefined' && this.twitterPostStats !== null) {\n toReturn['twitterPostStats'] = 'toApiJson' in this.twitterPostStats ? this.twitterPostStats.toApiJson() : this.twitterPostStats;\n }\n return toReturn;\n }\n}\nclass TwitterPostStats {\n static fromProto(proto) {\n let m = new TwitterPostStats();\n m = Object.assign(m, proto);\n if (proto.favourites) {\n m.favourites = parseInt(proto.favourites, 10);\n }\n if (proto.retweets) {\n m.retweets = parseInt(proto.retweets, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.favourites !== 'undefined') {\n toReturn['favourites'] = this.favourites;\n }\n if (typeof this.hasFavourited !== 'undefined') {\n toReturn['hasFavourited'] = this.hasFavourited;\n }\n if (typeof this.retweets !== 'undefined') {\n toReturn['retweets'] = this.retweets;\n }\n if (typeof this.hasRetweeted !== 'undefined') {\n toReturn['hasRetweeted'] = this.hasRetweeted;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$a(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass TenorGifMediaMapEntry {\n static fromProto(proto) {\n let m = new TenorGifMediaMapEntry();\n m = Object.assign(m, proto);\n if (proto.value) {\n m.value = TenorMediaObject.fromProto(proto.value);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.key !== 'undefined') {\n toReturn['key'] = this.key;\n }\n if (typeof this.value !== 'undefined' && this.value !== null) {\n toReturn['value'] = 'toApiJson' in this.value ? this.value.toApiJson() : this.value;\n }\n return toReturn;\n }\n}\nclass TenorGif {\n static fromProto(proto) {\n let m = new TenorGif();\n m = Object.assign(m, proto);\n if (proto.mediaMap) {\n m.mediaMap = Object.keys(proto.mediaMap).reduce((obj, k) => {\n obj[k] = TenorMediaObject.fromProto(proto.mediaMap[k]);\n return obj;\n }, {});\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.mediaMap !== 'undefined' && this.mediaMap !== null) {\n toReturn['mediaMap'] = 'toApiJson' in this.mediaMap ? this.mediaMap.toApiJson() : this.mediaMap;\n }\n if (typeof this.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\n }\n if (typeof this.hasAudio !== 'undefined') {\n toReturn['hasAudio'] = this.hasAudio;\n }\n if (typeof this.title !== 'undefined') {\n toReturn['title'] = this.title;\n }\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.created !== 'undefined') {\n toReturn['created'] = this.created;\n }\n return toReturn;\n }\n}\nclass TenorMediaObject {\n static fromProto(proto) {\n let m = new TenorMediaObject();\n m = Object.assign(m, proto);\n if (proto.dimensions) {\n m.dimensions = proto.dimensions.map(i => parseInt(i, 10));\n }\n if (proto.size) {\n m.size = parseInt(proto.size, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.preview !== 'undefined') {\n toReturn['preview'] = this.preview;\n }\n if (typeof this.url !== 'undefined') {\n toReturn['url'] = this.url;\n }\n if (typeof this.dimensions !== 'undefined') {\n toReturn['dimensions'] = this.dimensions;\n }\n if (typeof this.size !== 'undefined') {\n toReturn['size'] = this.size;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$9(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass CreateMultilocationPostRequest {\n static fromProto(proto) {\n let m = new CreateMultilocationPostRequest();\n m = Object.assign(m, proto);\n if (proto.scheduledDate) {\n m.scheduledDate = new Date(proto.scheduledDate);\n }\n if (proto.locations) {\n m.locations = proto.locations.map(Location.fromProto);\n }\n if (proto.mediaEntries) {\n m.mediaEntries = proto.mediaEntries.map(MediaEntry.fromProto);\n }\n if (proto.metaData) {\n m.metaData = proto.metaData.map(MetaData.fromProto);\n }\n if (proto.customization) {\n m.customization = PostCustomization.fromProto(proto.customization);\n }\n if (proto.postTypes) {\n m.postTypes = proto.postTypes.map(SSIDPostType.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.brandId !== 'undefined') {\n toReturn['brandId'] = this.brandId;\n }\n if (typeof this.text !== 'undefined') {\n toReturn['text'] = this.text;\n }\n if (typeof this.media !== 'undefined') {\n toReturn['media'] = this.media;\n }\n if (typeof this.scheduledDate !== 'undefined' && this.scheduledDate !== null) {\n toReturn['scheduledDate'] = 'toApiJson' in this.scheduledDate ? this.scheduledDate.toApiJson() : this.scheduledDate;\n }\n if (typeof this.locations !== 'undefined' && this.locations !== null) {\n toReturn['locations'] = 'toApiJson' in this.locations ? this.locations.toApiJson() : this.locations;\n }\n if (typeof this.gifs !== 'undefined') {\n toReturn['gifs'] = this.gifs;\n }\n if (typeof this.videos !== 'undefined') {\n toReturn['videos'] = this.videos;\n }\n if (typeof this.mediaEntries !== 'undefined' && this.mediaEntries !== null) {\n toReturn['mediaEntries'] = 'toApiJson' in this.mediaEntries ? this.mediaEntries.toApiJson() : this.mediaEntries;\n }\n if (typeof this.metaData !== 'undefined' && this.metaData !== null) {\n toReturn['metaData'] = 'toApiJson' in this.metaData ? this.metaData.toApiJson() : this.metaData;\n }\n if (typeof this.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\n }\n if (typeof this.customization !== 'undefined' && this.customization !== null) {\n toReturn['customization'] = 'toApiJson' in this.customization ? this.customization.toApiJson() : this.customization;\n }\n if (typeof this.linkShortCode !== 'undefined') {\n toReturn['linkShortCode'] = this.linkShortCode;\n }\n if (typeof this.postTypes !== 'undefined' && this.postTypes !== null) {\n toReturn['postTypes'] = 'toApiJson' in this.postTypes ? this.postTypes.toApiJson() : this.postTypes;\n }\n return toReturn;\n }\n}\nclass CreateMultilocationPostResponse {\n static fromProto(proto) {\n let m = new CreateMultilocationPostResponse();\n m = Object.assign(m, proto);\n if (proto.post) {\n m.post = MultilocationPost.fromProto(proto.post);\n }\n if (proto.errors) {\n m.errors = proto.errors.map(MultilocationPostError.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.post !== 'undefined' && this.post !== null) {\n toReturn['post'] = 'toApiJson' in this.post ? this.post.toApiJson() : this.post;\n }\n if (typeof this.errors !== 'undefined' && this.errors !== null) {\n toReturn['errors'] = 'toApiJson' in this.errors ? this.errors.toApiJson() : this.errors;\n }\n return toReturn;\n }\n}\nclass CreatePostTemplateRequest {\n static fromProto(proto) {\n let m = new CreatePostTemplateRequest();\n m = Object.assign(m, proto);\n if (proto.postDateTime) {\n m.postDateTime = new Date(proto.postDateTime);\n }\n if (proto.mediaEntries) {\n m.mediaEntries = proto.mediaEntries.map(MediaEntry.fromProto);\n }\n if (proto.metaData) {\n m.metaData = proto.metaData.map(MetaData.fromProto);\n }\n if (proto.postType) {\n m.postType = enumStringToValue$9(PostType, proto.postType);\n }\n if (proto.youtubeCustomization) {\n m.youtubeCustomization = YoutubeCustomization.fromProto(proto.youtubeCustomization);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.title !== 'undefined') {\n toReturn['title'] = this.title;\n }\n if (typeof this.postText !== 'undefined') {\n toReturn['postText'] = this.postText;\n }\n if (typeof this.postDateTime !== 'undefined' && this.postDateTime !== null) {\n toReturn['postDateTime'] = 'toApiJson' in this.postDateTime ? this.postDateTime.toApiJson() : this.postDateTime;\n }\n if (typeof this.gmbPostCustomization !== 'undefined') {\n toReturn['gmbPostCustomization'] = this.gmbPostCustomization;\n }\n if (typeof this.imageUrl !== 'undefined') {\n toReturn['imageUrl'] = this.imageUrl;\n }\n if (typeof this.imagePath !== 'undefined') {\n toReturn['imagePath'] = this.imagePath;\n }\n if (typeof this.imageSize !== 'undefined') {\n toReturn['imageSize'] = this.imageSize;\n }\n if (typeof this.previews !== 'undefined') {\n toReturn['previews'] = this.previews;\n }\n if (typeof this.options !== 'undefined') {\n toReturn['options'] = this.options;\n }\n if (typeof this.videoUrl !== 'undefined') {\n toReturn['videoUrl'] = this.videoUrl;\n }\n if (typeof this.mediaEntries !== 'undefined' && this.mediaEntries !== null) {\n toReturn['mediaEntries'] = 'toApiJson' in this.mediaEntries ? this.mediaEntries.toApiJson() : this.mediaEntries;\n }\n if (typeof this.metaData !== 'undefined' && this.metaData !== null) {\n toReturn['metaData'] = 'toApiJson' in this.metaData ? this.metaData.toApiJson() : this.metaData;\n }\n if (typeof this.postType !== 'undefined') {\n toReturn['postType'] = this.postType;\n }\n if (typeof this.youtubeCustomization !== 'undefined' && this.youtubeCustomization !== null) {\n toReturn['youtubeCustomization'] = 'toApiJson' in this.youtubeCustomization ? this.youtubeCustomization.toApiJson() : this.youtubeCustomization;\n }\n return toReturn;\n }\n}\nclass CreatePostTemplateResponse {\n static fromProto(proto) {\n let m = new CreatePostTemplateResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.templateId !== 'undefined') {\n toReturn['templateId'] = this.templateId;\n }\n return toReturn;\n }\n}\nclass DateRangeFilter {\n static fromProto(proto) {\n let m = new DateRangeFilter();\n m = Object.assign(m, proto);\n if (proto.beginRange) {\n m.beginRange = new Date(proto.beginRange);\n }\n if (proto.endRange) {\n m.endRange = new Date(proto.endRange);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.beginRange !== 'undefined' && this.beginRange !== null) {\n toReturn['beginRange'] = 'toApiJson' in this.beginRange ? this.beginRange.toApiJson() : this.beginRange;\n }\n if (typeof this.endRange !== 'undefined' && this.endRange !== null) {\n toReturn['endRange'] = 'toApiJson' in this.endRange ? this.endRange.toApiJson() : this.endRange;\n }\n return toReturn;\n }\n}\nclass DeleteHashtagsRequest {\n static fromProto(proto) {\n let m = new DeleteHashtagsRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.keyword !== 'undefined') {\n toReturn['keyword'] = this.keyword;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass DeleteMultilocationPostRequest {\n static fromProto(proto) {\n let m = new DeleteMultilocationPostRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.brandId !== 'undefined') {\n toReturn['brandId'] = this.brandId;\n }\n if (typeof this.multilocationId !== 'undefined') {\n toReturn['multilocationId'] = this.multilocationId;\n }\n return toReturn;\n }\n}\nclass DeletePostTemplateRequest {\n static fromProto(proto) {\n let m = new DeletePostTemplateRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.templateId !== 'undefined') {\n toReturn['templateId'] = this.templateId;\n }\n return toReturn;\n }\n}\nclass DeleteSocialPostRequest {\n static fromProto(proto) {\n let m = new DeleteSocialPostRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.socialPostId !== 'undefined') {\n toReturn['socialPostId'] = this.socialPostId;\n }\n return toReturn;\n }\n}\nclass EditMultilocationPostRequest {\n static fromProto(proto) {\n let m = new EditMultilocationPostRequest();\n m = Object.assign(m, proto);\n if (proto.scheduledDate) {\n m.scheduledDate = new Date(proto.scheduledDate);\n }\n if (proto.fieldMask) {\n m.fieldMask = FieldMask.fromProto(proto.fieldMask);\n }\n if (proto.locations) {\n m.locations = proto.locations.map(Location.fromProto);\n }\n if (proto.mediaEntries) {\n m.mediaEntries = proto.mediaEntries.map(MediaEntry.fromProto);\n }\n if (proto.metaData) {\n m.metaData = proto.metaData.map(MetaData.fromProto);\n }\n if (proto.customization) {\n m.customization = PostCustomization.fromProto(proto.customization);\n }\n if (proto.postTypes) {\n m.postTypes = proto.postTypes.map(SSIDPostType.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.brandId !== 'undefined') {\n toReturn['brandId'] = this.brandId;\n }\n if (typeof this.multilocationId !== 'undefined') {\n toReturn['multilocationId'] = this.multilocationId;\n }\n if (typeof this.text !== 'undefined') {\n toReturn['text'] = this.text;\n }\n if (typeof this.media !== 'undefined') {\n toReturn['media'] = this.media;\n }\n if (typeof this.scheduledDate !== 'undefined' && this.scheduledDate !== null) {\n toReturn['scheduledDate'] = 'toApiJson' in this.scheduledDate ? this.scheduledDate.toApiJson() : this.scheduledDate;\n }\n if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {\n toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? this.fieldMask.toApiJson() : this.fieldMask;\n }\n if (typeof this.gifs !== 'undefined') {\n toReturn['gifs'] = this.gifs;\n }\n if (typeof this.videos !== 'undefined') {\n toReturn['videos'] = this.videos;\n }\n if (typeof this.locations !== 'undefined' && this.locations !== null) {\n toReturn['locations'] = 'toApiJson' in this.locations ? this.locations.toApiJson() : this.locations;\n }\n if (typeof this.mediaEntries !== 'undefined' && this.mediaEntries !== null) {\n toReturn['mediaEntries'] = 'toApiJson' in this.mediaEntries ? this.mediaEntries.toApiJson() : this.mediaEntries;\n }\n if (typeof this.metaData !== 'undefined' && this.metaData !== null) {\n toReturn['metaData'] = 'toApiJson' in this.metaData ? this.metaData.toApiJson() : this.metaData;\n }\n if (typeof this.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\n }\n if (typeof this.customization !== 'undefined' && this.customization !== null) {\n toReturn['customization'] = 'toApiJson' in this.customization ? this.customization.toApiJson() : this.customization;\n }\n if (typeof this.linkShortCode !== 'undefined') {\n toReturn['linkShortCode'] = this.linkShortCode;\n }\n if (typeof this.postTypes !== 'undefined' && this.postTypes !== null) {\n toReturn['postTypes'] = 'toApiJson' in this.postTypes ? this.postTypes.toApiJson() : this.postTypes;\n }\n return toReturn;\n }\n}\nclass EditMultilocationPostResponse {\n static fromProto(proto) {\n let m = new EditMultilocationPostResponse();\n m = Object.assign(m, proto);\n if (proto.post) {\n m.post = MultilocationPost.fromProto(proto.post);\n }\n if (proto.errors) {\n m.errors = proto.errors.map(MultilocationPostError.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.post !== 'undefined' && this.post !== null) {\n toReturn['post'] = 'toApiJson' in this.post ? this.post.toApiJson() : this.post;\n }\n if (typeof this.errors !== 'undefined' && this.errors !== null) {\n toReturn['errors'] = 'toApiJson' in this.errors ? this.errors.toApiJson() : this.errors;\n }\n return toReturn;\n }\n}\nclass PartnerListScheduledSocialPostsRequestFilters {\n static fromProto(proto) {\n let m = new PartnerListScheduledSocialPostsRequestFilters();\n m = Object.assign(m, proto);\n if (proto.dateRange) {\n m.dateRange = DateRangeFilter.fromProto(proto.dateRange);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.dateRange !== 'undefined' && this.dateRange !== null) {\n toReturn['dateRange'] = 'toApiJson' in this.dateRange ? this.dateRange.toApiJson() : this.dateRange;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass GenerateCSVForPerformanceStatsRequest {\n static fromProto(proto) {\n let m = new GenerateCSVForPerformanceStatsRequest();\n m = Object.assign(m, proto);\n if (proto.postData) {\n m.postData = proto.postData.map(PostData.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.postData !== 'undefined' && this.postData !== null) {\n toReturn['postData'] = 'toApiJson' in this.postData ? this.postData.toApiJson() : this.postData;\n }\n if (typeof this.includeHeaders !== 'undefined') {\n toReturn['includeHeaders'] = this.includeHeaders;\n }\n return toReturn;\n }\n}\nclass GenerateCSVForPerformanceStatsResponse {\n static fromProto(proto) {\n let m = new GenerateCSVForPerformanceStatsResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.generatedId !== 'undefined') {\n toReturn['generatedId'] = this.generatedId;\n }\n return toReturn;\n }\n}\nclass GetGeneratedCSVForPerformanceStatsRequest {\n static fromProto(proto) {\n let m = new GetGeneratedCSVForPerformanceStatsRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.generatedId !== 'undefined') {\n toReturn['generatedId'] = this.generatedId;\n }\n return toReturn;\n }\n}\nclass GetGeneratedCSVForPerformanceStatsResponse {\n static fromProto(proto) {\n let m = new GetGeneratedCSVForPerformanceStatsResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.url !== 'undefined') {\n toReturn['url'] = this.url;\n }\n return toReturn;\n }\n}\nclass GetMultiSocialPostStatsRequest {\n static fromProto(proto) {\n let m = new GetMultiSocialPostStatsRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.internalPostIds !== 'undefined') {\n toReturn['internalPostIds'] = this.internalPostIds;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass GetMultiSocialPostStatsResponse {\n static fromProto(proto) {\n let m = new GetMultiSocialPostStatsResponse();\n m = Object.assign(m, proto);\n if (proto.socialPostStats) {\n m.socialPostStats = proto.socialPostStats.map(SocialPostStats.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.socialPostStats !== 'undefined' && this.socialPostStats !== null) {\n toReturn['socialPostStats'] = 'toApiJson' in this.socialPostStats ? this.socialPostStats.toApiJson() : this.socialPostStats;\n }\n return toReturn;\n }\n}\nclass GetMultiSocialPostsRequest {\n static fromProto(proto) {\n let m = new GetMultiSocialPostsRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.internalPostIds !== 'undefined') {\n toReturn['internalPostIds'] = this.internalPostIds;\n }\n return toReturn;\n }\n}\nclass GetMultiSocialPostsResponse {\n static fromProto(proto) {\n let m = new GetMultiSocialPostsResponse();\n m = Object.assign(m, proto);\n if (proto.socialPosts) {\n m.socialPosts = proto.socialPosts.map(SocialPost.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.socialPosts !== 'undefined' && this.socialPosts !== null) {\n toReturn['socialPosts'] = 'toApiJson' in this.socialPosts ? this.socialPosts.toApiJson() : this.socialPosts;\n }\n return toReturn;\n }\n}\nclass GetMultilocationPostRequest {\n static fromProto(proto) {\n let m = new GetMultilocationPostRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.brandId !== 'undefined') {\n toReturn['brandId'] = this.brandId;\n }\n if (typeof this.multilocationId !== 'undefined') {\n toReturn['multilocationId'] = this.multilocationId;\n }\n return toReturn;\n }\n}\nclass GetMultilocationPostResponse {\n static fromProto(proto) {\n let m = new GetMultilocationPostResponse();\n m = Object.assign(m, proto);\n if (proto.multilocationPost) {\n m.multilocationPost = MultilocationPost.fromProto(proto.multilocationPost);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.multilocationPost !== 'undefined' && this.multilocationPost !== null) {\n toReturn['multilocationPost'] = 'toApiJson' in this.multilocationPost ? this.multilocationPost.toApiJson() : this.multilocationPost;\n }\n return toReturn;\n }\n}\nclass GetPostTemplateRequest {\n static fromProto(proto) {\n let m = new GetPostTemplateRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.templateId !== 'undefined') {\n toReturn['templateId'] = this.templateId;\n }\n return toReturn;\n }\n}\nclass GetPostTemplateResponse {\n static fromProto(proto) {\n let m = new GetPostTemplateResponse();\n m = Object.assign(m, proto);\n if (proto.postTemplate) {\n m.postTemplate = PostTemplate.fromProto(proto.postTemplate);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.postTemplate !== 'undefined' && this.postTemplate !== null) {\n toReturn['postTemplate'] = 'toApiJson' in this.postTemplate ? this.postTemplate.toApiJson() : this.postTemplate;\n }\n return toReturn;\n }\n}\nclass GetScheduledPostCountRequest {\n static fromProto(proto) {\n let m = new GetScheduledPostCountRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.socialServiceIds !== 'undefined') {\n toReturn['socialServiceIds'] = this.socialServiceIds;\n }\n return toReturn;\n }\n}\nclass GetScheduledPostCountResponse {\n static fromProto(proto) {\n let m = new GetScheduledPostCountResponse();\n m = Object.assign(m, proto);\n if (proto.count) {\n m.count = parseInt(proto.count, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.count !== 'undefined') {\n toReturn['count'] = this.count;\n }\n return toReturn;\n }\n}\nclass GetTenorAnonymousIdRequest {\n static fromProto(proto) {\n let m = new GetTenorAnonymousIdRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n return toReturn;\n }\n}\nclass GetTenorAnonymousIdResponse {\n static fromProto(proto) {\n let m = new GetTenorAnonymousIdResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.anonymousId !== 'undefined') {\n toReturn['anonymousId'] = this.anonymousId;\n }\n return toReturn;\n }\n}\nclass ListMultilocationPostsForBrandRequest {\n static fromProto(proto) {\n let m = new ListMultilocationPostsForBrandRequest();\n m = Object.assign(m, proto);\n if (proto.startDate) {\n m.startDate = new Date(proto.startDate);\n }\n if (proto.endDate) {\n m.endDate = new Date(proto.endDate);\n }\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.brandId !== 'undefined') {\n toReturn['brandId'] = this.brandId;\n }\n if (typeof this.startDate !== 'undefined' && this.startDate !== null) {\n toReturn['startDate'] = 'toApiJson' in this.startDate ? this.startDate.toApiJson() : this.startDate;\n }\n if (typeof this.endDate !== 'undefined' && this.endDate !== null) {\n toReturn['endDate'] = 'toApiJson' in this.endDate ? this.endDate.toApiJson() : this.endDate;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n return toReturn;\n }\n}\nclass ListMultilocationPostsForBrandResponse {\n static fromProto(proto) {\n let m = new ListMultilocationPostsForBrandResponse();\n m = Object.assign(m, proto);\n if (proto.multilocationPosts) {\n m.multilocationPosts = proto.multilocationPosts.map(MultilocationPost.fromProto);\n }\n if (proto.failedSocialPosts) {\n m.failedSocialPosts = proto.failedSocialPosts.map(SocialPost.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.multilocationPosts !== 'undefined' && this.multilocationPosts !== null) {\n toReturn['multilocationPosts'] = 'toApiJson' in this.multilocationPosts ? this.multilocationPosts.toApiJson() : this.multilocationPosts;\n }\n if (typeof this.nextCursor !== 'undefined') {\n toReturn['nextCursor'] = this.nextCursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n if (typeof this.failedSocialPosts !== 'undefined' && this.failedSocialPosts !== null) {\n toReturn['failedSocialPosts'] = 'toApiJson' in this.failedSocialPosts ? this.failedSocialPosts.toApiJson() : this.failedSocialPosts;\n }\n return toReturn;\n }\n}\nclass ListPixabayImagesRequest {\n static fromProto(proto) {\n let m = new ListPixabayImagesRequest();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.query !== 'undefined') {\n toReturn['query'] = this.query;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n if (typeof this.includeLocalUrl !== 'undefined') {\n toReturn['includeLocalUrl'] = this.includeLocalUrl;\n }\n if (typeof this.agid !== 'undefined') {\n toReturn['agid'] = this.agid;\n }\n return toReturn;\n }\n}\nclass ListPixabayImagesResponse {\n static fromProto(proto) {\n let m = new ListPixabayImagesResponse();\n m = Object.assign(m, proto);\n if (proto.total) {\n m.total = parseInt(proto.total, 10);\n }\n if (proto.totalHits) {\n m.totalHits = parseInt(proto.totalHits, 10);\n }\n if (proto.hits) {\n m.hits = proto.hits.map(PixabayImage.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.total !== 'undefined') {\n toReturn['total'] = this.total;\n }\n if (typeof this.totalHits !== 'undefined') {\n toReturn['totalHits'] = this.totalHits;\n }\n if (typeof this.hits !== 'undefined' && this.hits !== null) {\n toReturn['hits'] = 'toApiJson' in this.hits ? this.hits.toApiJson() : this.hits;\n }\n return toReturn;\n }\n}\nclass ListPostTemplatesRequest {\n static fromProto(proto) {\n let m = new ListPostTemplatesRequest();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n return toReturn;\n }\n}\nclass ListPostTemplatesResponse {\n static fromProto(proto) {\n let m = new ListPostTemplatesResponse();\n m = Object.assign(m, proto);\n if (proto.postTemplate) {\n m.postTemplate = proto.postTemplate.map(PostTemplate.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.postTemplate !== 'undefined' && this.postTemplate !== null) {\n toReturn['postTemplate'] = 'toApiJson' in this.postTemplate ? this.postTemplate.toApiJson() : this.postTemplate;\n }\n if (typeof this.nextCursor !== 'undefined') {\n toReturn['nextCursor'] = this.nextCursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n return toReturn;\n }\n}\nclass ListSocialPostsRequest {\n static fromProto(proto) {\n let m = new ListSocialPostsRequest();\n m = Object.assign(m, proto);\n if (proto.start) {\n m.start = new Date(proto.start);\n }\n if (proto.end) {\n m.end = new Date(proto.end);\n }\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.start !== 'undefined' && this.start !== null) {\n toReturn['start'] = 'toApiJson' in this.start ? this.start.toApiJson() : this.start;\n }\n if (typeof this.end !== 'undefined' && this.end !== null) {\n toReturn['end'] = 'toApiJson' in this.end ? this.end.toApiJson() : this.end;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.socialServiceIds !== 'undefined') {\n toReturn['socialServiceIds'] = this.socialServiceIds;\n }\n if (typeof this.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n return toReturn;\n }\n}\nclass ListSocialPostsResponse {\n static fromProto(proto) {\n let m = new ListSocialPostsResponse();\n m = Object.assign(m, proto);\n if (proto.socialPosts) {\n m.socialPosts = proto.socialPosts.map(SocialPost.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.socialPosts !== 'undefined' && this.socialPosts !== null) {\n toReturn['socialPosts'] = 'toApiJson' in this.socialPosts ? this.socialPosts.toApiJson() : this.socialPosts;\n }\n if (typeof this.nextCursor !== 'undefined') {\n toReturn['nextCursor'] = this.nextCursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n return toReturn;\n }\n}\nclass ListTenorGifsRequest {\n static fromProto(proto) {\n let m = new ListTenorGifsRequest();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.query !== 'undefined') {\n toReturn['query'] = this.query;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n if (typeof this.locale !== 'undefined') {\n toReturn['locale'] = this.locale;\n }\n if (typeof this.anonymousId !== 'undefined') {\n toReturn['anonymousId'] = this.anonymousId;\n }\n if (typeof this.mediaFilter !== 'undefined') {\n toReturn['mediaFilter'] = this.mediaFilter;\n }\n if (typeof this.aspectRatioRange !== 'undefined') {\n toReturn['aspectRatioRange'] = this.aspectRatioRange;\n }\n if (typeof this.contentFilter !== 'undefined') {\n toReturn['contentFilter'] = this.contentFilter;\n }\n return toReturn;\n }\n}\nclass ListTenorGifsResponse {\n static fromProto(proto) {\n let m = new ListTenorGifsResponse();\n m = Object.assign(m, proto);\n if (proto.results) {\n m.results = proto.results.map(TenorGif.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.next !== 'undefined') {\n toReturn['next'] = this.next;\n }\n if (typeof this.results !== 'undefined' && this.results !== null) {\n toReturn['results'] = 'toApiJson' in this.results ? this.results.toApiJson() : this.results;\n }\n return toReturn;\n }\n}\nclass PartnerListScheduledPostsResponse {\n static fromProto(proto) {\n let m = new PartnerListScheduledPostsResponse();\n m = Object.assign(m, proto);\n if (proto.socialPosts) {\n m.socialPosts = proto.socialPosts.map(SocialPost.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.socialPosts !== 'undefined' && this.socialPosts !== null) {\n toReturn['socialPosts'] = 'toApiJson' in this.socialPosts ? this.socialPosts.toApiJson() : this.socialPosts;\n }\n if (typeof this.nextCursor !== 'undefined') {\n toReturn['nextCursor'] = this.nextCursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n return toReturn;\n }\n}\nclass PartnerListScheduledSocialPostsRequest {\n static fromProto(proto) {\n let m = new PartnerListScheduledSocialPostsRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {\n m.filters = PartnerListScheduledSocialPostsRequestFilters.fromProto(proto.filters);\n }\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.filters !== 'undefined' && this.filters !== null) {\n toReturn['filters'] = 'toApiJson' in this.filters ? this.filters.toApiJson() : this.filters;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n return toReturn;\n }\n}\nclass PostData {\n static fromProto(proto) {\n let m = new PostData();\n m = Object.assign(m, proto);\n if (proto.reach) {\n m.reach = parseInt(proto.reach, 10);\n }\n if (proto.views) {\n m.views = parseInt(proto.views, 10);\n }\n if (proto.clicks) {\n m.clicks = parseInt(proto.clicks, 10);\n }\n if (proto.comments) {\n m.comments = parseInt(proto.comments, 10);\n }\n if (proto.shares) {\n m.shares = parseInt(proto.shares, 10);\n }\n if (proto.reactions) {\n m.reactions = parseInt(proto.reactions, 10);\n }\n if (proto.saves) {\n m.saves = parseInt(proto.saves, 10);\n }\n if (proto.likes) {\n m.likes = parseInt(proto.likes, 10);\n }\n if (proto.videoViews) {\n m.videoViews = parseInt(proto.videoViews, 10);\n }\n if (proto.retweets) {\n m.retweets = parseInt(proto.retweets, 10);\n }\n if (proto.favourites) {\n m.favourites = parseInt(proto.favourites, 10);\n }\n if (proto.impressions) {\n m.impressions = parseInt(proto.impressions, 10);\n }\n if (proto.commentsCount) {\n m.commentsCount = parseInt(proto.commentsCount, 10);\n }\n if (proto.likeCount) {\n m.likeCount = parseInt(proto.likeCount, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.postId !== 'undefined') {\n toReturn['postId'] = this.postId;\n }\n if (typeof this.reach !== 'undefined') {\n toReturn['reach'] = this.reach;\n }\n if (typeof this.engagement !== 'undefined') {\n toReturn['engagement'] = this.engagement;\n }\n if (typeof this.views !== 'undefined') {\n toReturn['views'] = this.views;\n }\n if (typeof this.clicks !== 'undefined') {\n toReturn['clicks'] = this.clicks;\n }\n if (typeof this.comments !== 'undefined') {\n toReturn['comments'] = this.comments;\n }\n if (typeof this.shares !== 'undefined') {\n toReturn['shares'] = this.shares;\n }\n if (typeof this.reactions !== 'undefined') {\n toReturn['reactions'] = this.reactions;\n }\n if (typeof this.saves !== 'undefined') {\n toReturn['saves'] = this.saves;\n }\n if (typeof this.likes !== 'undefined') {\n toReturn['likes'] = this.likes;\n }\n if (typeof this.videoViews !== 'undefined') {\n toReturn['videoViews'] = this.videoViews;\n }\n if (typeof this.retweets !== 'undefined') {\n toReturn['retweets'] = this.retweets;\n }\n if (typeof this.favourites !== 'undefined') {\n toReturn['favourites'] = this.favourites;\n }\n if (typeof this.impressions !== 'undefined') {\n toReturn['impressions'] = this.impressions;\n }\n if (typeof this.commentsCount !== 'undefined') {\n toReturn['commentsCount'] = this.commentsCount;\n }\n if (typeof this.likeCount !== 'undefined') {\n toReturn['likeCount'] = this.likeCount;\n }\n return toReturn;\n }\n}\nclass RemoveFromMultilocationPostRequest {\n static fromProto(proto) {\n let m = new RemoveFromMultilocationPostRequest();\n m = Object.assign(m, proto);\n if (proto.reason) {\n m.reason = enumStringToValue$9(RemoveReason, proto.reason);\n }\n if (proto.locations) {\n m.locations = proto.locations.map(Location.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.reason !== 'undefined') {\n toReturn['reason'] = this.reason;\n }\n if (typeof this.brandId !== 'undefined') {\n toReturn['brandId'] = this.brandId;\n }\n if (typeof this.multilocationId !== 'undefined') {\n toReturn['multilocationId'] = this.multilocationId;\n }\n if (typeof this.locations !== 'undefined' && this.locations !== null) {\n toReturn['locations'] = 'toApiJson' in this.locations ? this.locations.toApiJson() : this.locations;\n }\n return toReturn;\n }\n}\nclass ReplaceHashtagsRequest {\n static fromProto(proto) {\n let m = new ReplaceHashtagsRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.keyword !== 'undefined') {\n toReturn['keyword'] = this.keyword;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass SchedulePostRequest {\n static fromProto(proto) {\n let m = new SchedulePostRequest();\n m = Object.assign(m, proto);\n if (proto.socialPost) {\n m.socialPost = SocialPostData.fromProto(proto.socialPost);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.socialPost !== 'undefined' && this.socialPost !== null) {\n toReturn['socialPost'] = 'toApiJson' in this.socialPost ? this.socialPost.toApiJson() : this.socialPost;\n }\n if (typeof this.socialServiceIds !== 'undefined') {\n toReturn['socialServiceIds'] = this.socialServiceIds;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass SchedulePostResponse {\n static fromProto(proto) {\n let m = new SchedulePostResponse();\n m = Object.assign(m, proto);\n if (proto.statuses) {\n m.statuses = proto.statuses.map(SchedulePostStatus.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.statuses !== 'undefined' && this.statuses !== null) {\n toReturn['statuses'] = 'toApiJson' in this.statuses ? this.statuses.toApiJson() : this.statuses;\n }\n return toReturn;\n }\n}\nclass ScheduleToAllPagesRequest {\n static fromProto(proto) {\n let m = new ScheduleToAllPagesRequest();\n m = Object.assign(m, proto);\n if (proto.socialPost) {\n m.socialPost = SocialPostData.fromProto(proto.socialPost);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.socialPost !== 'undefined' && this.socialPost !== null) {\n toReturn['socialPost'] = 'toApiJson' in this.socialPost ? this.socialPost.toApiJson() : this.socialPost;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass ScheduleToAllPagesResponse {\n static fromProto(proto) {\n let m = new ScheduleToAllPagesResponse();\n m = Object.assign(m, proto);\n if (proto.statuses) {\n m.statuses = proto.statuses.map(SchedulePostStatus.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.statuses !== 'undefined' && this.statuses !== null) {\n toReturn['statuses'] = 'toApiJson' in this.statuses ? this.statuses.toApiJson() : this.statuses;\n }\n return toReturn;\n }\n}\nclass SearchHashtagRequest {\n static fromProto(proto) {\n let m = new SearchHashtagRequest();\n m = Object.assign(m, proto);\n if (proto.limit) {\n m.limit = parseInt(proto.limit, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.searchTerm !== 'undefined') {\n toReturn['searchTerm'] = this.searchTerm;\n }\n if (typeof this.limit !== 'undefined') {\n toReturn['limit'] = this.limit;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass SearchHashtagResponse {\n static fromProto(proto) {\n let m = new SearchHashtagResponse();\n m = Object.assign(m, proto);\n if (proto.hashtags) {\n m.hashtags = proto.hashtags.map(Hashtag.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.hashtags !== 'undefined' && this.hashtags !== null) {\n toReturn['hashtags'] = 'toApiJson' in this.hashtags ? this.hashtags.toApiJson() : this.hashtags;\n }\n return toReturn;\n }\n}\nclass SuggestMessageRequest {\n static fromProto(proto) {\n let m = new SuggestMessageRequest();\n m = Object.assign(m, proto);\n if (proto.length) {\n m.length = enumStringToValue$9(MessageLength, proto.length);\n }\n if (proto.type) {\n m.type = enumStringToValue$9(TemplateType, proto.type);\n }\n if (proto.metadata) {\n m.metadata = proto.metadata.map(MetaData.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.prompt !== 'undefined') {\n toReturn['prompt'] = this.prompt;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.length !== 'undefined') {\n toReturn['length'] = this.length;\n }\n if (typeof this.type !== 'undefined') {\n toReturn['type'] = this.type;\n }\n if (typeof this.metadata !== 'undefined' && this.metadata !== null) {\n toReturn['metadata'] = 'toApiJson' in this.metadata ? this.metadata.toApiJson() : this.metadata;\n }\n return toReturn;\n }\n}\nclass SuggestMessageResponse {\n static fromProto(proto) {\n let m = new SuggestMessageResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.message !== 'undefined') {\n toReturn['message'] = this.message;\n }\n return toReturn;\n }\n}\nclass UpdatePostTemplateRequest {\n static fromProto(proto) {\n let m = new UpdatePostTemplateRequest();\n m = Object.assign(m, proto);\n if (proto.postDateTime) {\n m.postDateTime = new Date(proto.postDateTime);\n }\n if (proto.mediaEntries) {\n m.mediaEntries = proto.mediaEntries.map(MediaEntry.fromProto);\n }\n if (proto.metaData) {\n m.metaData = proto.metaData.map(MetaData.fromProto);\n }\n if (proto.postType) {\n m.postType = enumStringToValue$9(PostType, proto.postType);\n }\n if (proto.youtubeCustomization) {\n m.youtubeCustomization = YoutubeCustomization.fromProto(proto.youtubeCustomization);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n if (typeof this.templateId !== 'undefined') {\n toReturn['templateId'] = this.templateId;\n }\n if (typeof this.title !== 'undefined') {\n toReturn['title'] = this.title;\n }\n if (typeof this.postText !== 'undefined') {\n toReturn['postText'] = this.postText;\n }\n if (typeof this.postDateTime !== 'undefined' && this.postDateTime !== null) {\n toReturn['postDateTime'] = 'toApiJson' in this.postDateTime ? this.postDateTime.toApiJson() : this.postDateTime;\n }\n if (typeof this.gmbPostCustomization !== 'undefined') {\n toReturn['gmbPostCustomization'] = this.gmbPostCustomization;\n }\n if (typeof this.imageUrl !== 'undefined') {\n toReturn['imageUrl'] = this.imageUrl;\n }\n if (typeof this.imagePath !== 'undefined') {\n toReturn['imagePath'] = this.imagePath;\n }\n if (typeof this.imageSize !== 'undefined') {\n toReturn['imageSize'] = this.imageSize;\n }\n if (typeof this.previews !== 'undefined') {\n toReturn['previews'] = this.previews;\n }\n if (typeof this.options !== 'undefined') {\n toReturn['options'] = this.options;\n }\n if (typeof this.videoUrl !== 'undefined') {\n toReturn['videoUrl'] = this.videoUrl;\n }\n if (typeof this.mediaEntries !== 'undefined' && this.mediaEntries !== null) {\n toReturn['mediaEntries'] = 'toApiJson' in this.mediaEntries ? this.mediaEntries.toApiJson() : this.mediaEntries;\n }\n if (typeof this.metaData !== 'undefined' && this.metaData !== null) {\n toReturn['metaData'] = 'toApiJson' in this.metaData ? this.metaData.toApiJson() : this.metaData;\n }\n if (typeof this.postType !== 'undefined') {\n toReturn['postType'] = this.postType;\n }\n if (typeof this.youtubeCustomization !== 'undefined' && this.youtubeCustomization !== null) {\n toReturn['youtubeCustomization'] = 'toApiJson' in this.youtubeCustomization ? this.youtubeCustomization.toApiJson() : this.youtubeCustomization;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$8(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass Access {\n static fromProto(proto) {\n let m = new Access();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.scope !== 'undefined') {\n toReturn['scope'] = this.scope;\n }\n if (typeof this.public !== 'undefined') {\n toReturn['public'] = this.public;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$7(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass LinkV2 {\n static fromProto(proto) {\n let m = new LinkV2();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.picture !== 'undefined') {\n toReturn['picture'] = this.picture;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.title !== 'undefined') {\n toReturn['title'] = this.title;\n }\n if (typeof this.url !== 'undefined') {\n toReturn['url'] = this.url;\n }\n if (typeof this.shortcode !== 'undefined') {\n toReturn['shortcode'] = this.shortcode;\n }\n return toReturn;\n }\n}\nclass MetadataV2 {\n static fromProto(proto) {\n let m = new MetadataV2();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.value !== 'undefined') {\n toReturn['value'] = this.value;\n }\n return toReturn;\n }\n}\nclass PostActionV2 {\n static fromProto(proto) {\n let m = new PostActionV2();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.type !== 'undefined') {\n toReturn['type'] = this.type;\n }\n if (typeof this.linkUrl !== 'undefined') {\n toReturn['linkUrl'] = this.linkUrl;\n }\n return toReturn;\n }\n}\nclass PostContentV2 {\n static fromProto(proto) {\n let m = new PostContentV2();\n m = Object.assign(m, proto);\n if (proto.medias) {\n m.medias = proto.medias.map(PostMediaV2.fromProto);\n }\n if (proto.links) {\n m.links = proto.links.map(LinkV2.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.postText !== 'undefined') {\n toReturn['postText'] = this.postText;\n }\n if (typeof this.medias !== 'undefined' && this.medias !== null) {\n toReturn['medias'] = 'toApiJson' in this.medias ? this.medias.toApiJson() : this.medias;\n }\n if (typeof this.links !== 'undefined' && this.links !== null) {\n toReturn['links'] = 'toApiJson' in this.links ? this.links.toApiJson() : this.links;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.title !== 'undefined') {\n toReturn['title'] = this.title;\n }\n return toReturn;\n }\n}\nclass PostCustomizationV2 {\n static fromProto(proto) {\n let m = new PostCustomizationV2();\n m = Object.assign(m, proto);\n if (proto.event) {\n m.event = PostEventV2.fromProto(proto.event);\n }\n if (proto.action) {\n m.action = PostActionV2.fromProto(proto.action);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.event !== 'undefined' && this.event !== null) {\n toReturn['event'] = 'toApiJson' in this.event ? this.event.toApiJson() : this.event;\n }\n if (typeof this.action !== 'undefined' && this.action !== null) {\n toReturn['action'] = 'toApiJson' in this.action ? this.action.toApiJson() : this.action;\n }\n return toReturn;\n }\n}\nclass PostEventV2 {\n static fromProto(proto) {\n let m = new PostEventV2();\n m = Object.assign(m, proto);\n if (proto.start) {\n m.start = new Date(proto.start);\n }\n if (proto.end) {\n m.end = new Date(proto.end);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.title !== 'undefined') {\n toReturn['title'] = this.title;\n }\n if (typeof this.start !== 'undefined' && this.start !== null) {\n toReturn['start'] = 'toApiJson' in this.start ? this.start.toApiJson() : this.start;\n }\n if (typeof this.end !== 'undefined' && this.end !== null) {\n toReturn['end'] = 'toApiJson' in this.end ? this.end.toApiJson() : this.end;\n }\n return toReturn;\n }\n}\nclass PostMediaV2 {\n static fromProto(proto) {\n let m = new PostMediaV2();\n m = Object.assign(m, proto);\n if (proto.metadata) {\n m.metadata = proto.metadata.map(MetadataV2.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.mediaId !== 'undefined') {\n toReturn['mediaId'] = this.mediaId;\n }\n if (typeof this.mediaUrl !== 'undefined') {\n toReturn['mediaUrl'] = this.mediaUrl;\n }\n if (typeof this.mediaType !== 'undefined') {\n toReturn['mediaType'] = this.mediaType;\n }\n if (typeof this.containerId !== 'undefined') {\n toReturn['containerId'] = this.containerId;\n }\n if (typeof this.metadata !== 'undefined' && this.metadata !== null) {\n toReturn['metadata'] = 'toApiJson' in this.metadata ? this.metadata.toApiJson() : this.metadata;\n }\n return toReturn;\n }\n}\nclass SocialPostV2 {\n static fromProto(proto) {\n let m = new SocialPostV2();\n m = Object.assign(m, proto);\n if (proto.postContent) {\n m.postContent = PostContentV2.fromProto(proto.postContent);\n }\n if (proto.scheduled) {\n m.scheduled = new Date(proto.scheduled);\n }\n if (proto.customization) {\n m.customization = PostCustomizationV2.fromProto(proto.customization);\n }\n if (proto.postType) {\n m.postType = enumStringToValue$7(PostTypeV2, proto.postType);\n }\n if (proto.metadata) {\n m.metadata = proto.metadata.map(MetadataV2.fromProto);\n }\n if (proto.youtubeCustomization) {\n m.youtubeCustomization = YoutubeCustomizationV2.fromProto(proto.youtubeCustomization);\n }\n if (proto.tiktokCustomization) {\n m.tiktokCustomization = TikTokCustomizationV2.fromProto(proto.tiktokCustomization);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.socialServiceId !== 'undefined') {\n toReturn['socialServiceId'] = this.socialServiceId;\n }\n if (typeof this.postContent !== 'undefined' && this.postContent !== null) {\n toReturn['postContent'] = 'toApiJson' in this.postContent ? this.postContent.toApiJson() : this.postContent;\n }\n if (typeof this.scheduled !== 'undefined' && this.scheduled !== null) {\n toReturn['scheduled'] = 'toApiJson' in this.scheduled ? this.scheduled.toApiJson() : this.scheduled;\n }\n if (typeof this.customization !== 'undefined' && this.customization !== null) {\n toReturn['customization'] = 'toApiJson' in this.customization ? this.customization.toApiJson() : this.customization;\n }\n if (typeof this.postType !== 'undefined') {\n toReturn['postType'] = this.postType;\n }\n if (typeof this.internalPostId !== 'undefined') {\n toReturn['internalPostId'] = this.internalPostId;\n }\n if (typeof this.metadata !== 'undefined' && this.metadata !== null) {\n toReturn['metadata'] = 'toApiJson' in this.metadata ? this.metadata.toApiJson() : this.metadata;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.brandId !== 'undefined') {\n toReturn['brandId'] = this.brandId;\n }\n if (typeof this.multilocationPostId !== 'undefined') {\n toReturn['multilocationPostId'] = this.multilocationPostId;\n }\n if (typeof this.youtubeCustomization !== 'undefined' && this.youtubeCustomization !== null) {\n toReturn['youtubeCustomization'] = 'toApiJson' in this.youtubeCustomization ? this.youtubeCustomization.toApiJson() : this.youtubeCustomization;\n }\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n if (typeof this.shareId !== 'undefined') {\n toReturn['shareId'] = this.shareId;\n }\n if (typeof this.tiktokCustomization !== 'undefined' && this.tiktokCustomization !== null) {\n toReturn['tiktokCustomization'] = 'toApiJson' in this.tiktokCustomization ? this.tiktokCustomization.toApiJson() : this.tiktokCustomization;\n }\n return toReturn;\n }\n}\nclass TikTokCustomizationV2 {\n static fromProto(proto) {\n let m = new TikTokCustomizationV2();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.allowComment !== 'undefined') {\n toReturn['allowComment'] = this.allowComment;\n }\n if (typeof this.allowDuet !== 'undefined') {\n toReturn['allowDuet'] = this.allowDuet;\n }\n if (typeof this.allowStitch !== 'undefined') {\n toReturn['allowStitch'] = this.allowStitch;\n }\n return toReturn;\n }\n}\nclass YoutubeCustomizationV2 {\n static fromProto(proto) {\n let m = new YoutubeCustomizationV2();\n m = Object.assign(m, proto);\n if (proto.privacyStatus) {\n m.privacyStatus = enumStringToValue$7(YoutubeCustomizationV2PrivacyStatusV2, proto.privacyStatus);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.privacyStatus !== 'undefined') {\n toReturn['privacyStatus'] = this.privacyStatus;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$6(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass Media {\n static fromProto(proto) {\n let m = new Media();\n m = Object.assign(m, proto);\n if (proto.mediaType) {\n m.mediaType = enumStringToValue$6(MediaType, proto.mediaType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.url !== 'undefined') {\n toReturn['url'] = this.url;\n }\n if (typeof this.mediaType !== 'undefined') {\n toReturn['mediaType'] = this.mediaType;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$5(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass Ancestry {\n static fromProto(proto) {\n let m = new Ancestry();\n m = Object.assign(m, proto);\n if (proto.type) {\n m.type = SubAncestry.fromProto(proto.type);\n }\n if (proto.category) {\n m.category = SubAncestry.fromProto(proto.category);\n }\n if (proto.subcategory) {\n m.subcategory = SubAncestry.fromProto(proto.subcategory);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.type !== 'undefined' && this.type !== null) {\n toReturn['type'] = 'toApiJson' in this.type ? this.type.toApiJson() : this.type;\n }\n if (typeof this.category !== 'undefined' && this.category !== null) {\n toReturn['category'] = 'toApiJson' in this.category ? this.category.toApiJson() : this.category;\n }\n if (typeof this.subcategory !== 'undefined' && this.subcategory !== null) {\n toReturn['subcategory'] = 'toApiJson' in this.subcategory ? this.subcategory.toApiJson() : this.subcategory;\n }\n return toReturn;\n }\n}\nclass Collection {\n static fromProto(proto) {\n let m = new Collection();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.title !== 'undefined') {\n toReturn['title'] = this.title;\n }\n if (typeof this.publishedAt !== 'undefined') {\n toReturn['publishedAt'] = this.publishedAt;\n }\n if (typeof this.lastCollectedAt !== 'undefined') {\n toReturn['lastCollectedAt'] = this.lastCollectedAt;\n }\n if (typeof this.updatedAt !== 'undefined') {\n toReturn['updatedAt'] = this.updatedAt;\n }\n if (typeof this.coverPhoto !== 'undefined') {\n toReturn['coverPhoto'] = this.coverPhoto;\n }\n if (typeof this.user !== 'undefined') {\n toReturn['user'] = this.user;\n }\n return toReturn;\n }\n}\nclass Image {\n static fromProto(proto) {\n let m = new Image();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.small !== 'undefined') {\n toReturn['small'] = this.small;\n }\n if (typeof this.medium !== 'undefined') {\n toReturn['medium'] = this.medium;\n }\n if (typeof this.large !== 'undefined') {\n toReturn['large'] = this.large;\n }\n return toReturn;\n }\n}\nclass Links {\n static fromProto(proto) {\n let m = new Links();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.self !== 'undefined') {\n toReturn['self'] = this.self;\n }\n if (typeof this.html !== 'undefined') {\n toReturn['html'] = this.html;\n }\n if (typeof this.download !== 'undefined') {\n toReturn['download'] = this.download;\n }\n if (typeof this.downloadLocation !== 'undefined') {\n toReturn['downloadLocation'] = this.downloadLocation;\n }\n return toReturn;\n }\n}\nclass Photo {\n static fromProto(proto) {\n let m = new Photo();\n m = Object.assign(m, proto);\n if (proto.width) {\n m.width = parseInt(proto.width, 10);\n }\n if (proto.height) {\n m.height = parseInt(proto.height, 10);\n }\n if (proto.urls) {\n m.urls = Urls.fromProto(proto.urls);\n }\n if (proto.links) {\n m.links = Links.fromProto(proto.links);\n }\n if (proto.likes) {\n m.likes = parseInt(proto.likes, 10);\n }\n if (proto.currentUserCollections) {\n m.currentUserCollections = proto.currentUserCollections.map(Collection.fromProto);\n }\n if (proto.user) {\n m.user = User.fromProto(proto.user);\n }\n if (proto.tags) {\n m.tags = proto.tags.map(Tags.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.slug !== 'undefined') {\n toReturn['slug'] = this.slug;\n }\n if (typeof this.createdAt !== 'undefined') {\n toReturn['createdAt'] = this.createdAt;\n }\n if (typeof this.updatedAt !== 'undefined') {\n toReturn['updatedAt'] = this.updatedAt;\n }\n if (typeof this.promotedAt !== 'undefined') {\n toReturn['promotedAt'] = this.promotedAt;\n }\n if (typeof this.width !== 'undefined') {\n toReturn['width'] = this.width;\n }\n if (typeof this.height !== 'undefined') {\n toReturn['height'] = this.height;\n }\n if (typeof this.color !== 'undefined') {\n toReturn['color'] = this.color;\n }\n if (typeof this.blurHash !== 'undefined') {\n toReturn['blurHash'] = this.blurHash;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.altDescription !== 'undefined') {\n toReturn['altDescription'] = this.altDescription;\n }\n if (typeof this.breadcrumbs !== 'undefined') {\n toReturn['breadcrumbs'] = this.breadcrumbs;\n }\n if (typeof this.urls !== 'undefined' && this.urls !== null) {\n toReturn['urls'] = 'toApiJson' in this.urls ? this.urls.toApiJson() : this.urls;\n }\n if (typeof this.links !== 'undefined' && this.links !== null) {\n toReturn['links'] = 'toApiJson' in this.links ? this.links.toApiJson() : this.links;\n }\n if (typeof this.likes !== 'undefined') {\n toReturn['likes'] = this.likes;\n }\n if (typeof this.likedByUser !== 'undefined') {\n toReturn['likedByUser'] = this.likedByUser;\n }\n if (typeof this.currentUserCollections !== 'undefined' && this.currentUserCollections !== null) {\n toReturn['currentUserCollections'] = 'toApiJson' in this.currentUserCollections ? this.currentUserCollections.toApiJson() : this.currentUserCollections;\n }\n if (typeof this.sponsorship !== 'undefined') {\n toReturn['sponsorship'] = this.sponsorship;\n }\n if (typeof this.user !== 'undefined' && this.user !== null) {\n toReturn['user'] = 'toApiJson' in this.user ? this.user.toApiJson() : this.user;\n }\n if (typeof this.tags !== 'undefined' && this.tags !== null) {\n toReturn['tags'] = 'toApiJson' in this.tags ? this.tags.toApiJson() : this.tags;\n }\n if (typeof this.storageUrl !== 'undefined') {\n toReturn['storageUrl'] = this.storageUrl;\n }\n return toReturn;\n }\n}\nclass Social {\n static fromProto(proto) {\n let m = new Social();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.instagramUsername !== 'undefined') {\n toReturn['instagramUsername'] = this.instagramUsername;\n }\n if (typeof this.portfolioUrl !== 'undefined') {\n toReturn['portfolioUrl'] = this.portfolioUrl;\n }\n if (typeof this.twitterUsername !== 'undefined') {\n toReturn['twitterUsername'] = this.twitterUsername;\n }\n if (typeof this.paypalEmail !== 'undefined') {\n toReturn['paypalEmail'] = this.paypalEmail;\n }\n return toReturn;\n }\n}\nclass Source {\n static fromProto(proto) {\n let m = new Source();\n m = Object.assign(m, proto);\n if (proto.ancestry) {\n m.ancestry = Ancestry.fromProto(proto.ancestry);\n }\n if (proto.coverPhoto) {\n m.coverPhoto = Photo.fromProto(proto.coverPhoto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.ancestry !== 'undefined' && this.ancestry !== null) {\n toReturn['ancestry'] = 'toApiJson' in this.ancestry ? this.ancestry.toApiJson() : this.ancestry;\n }\n if (typeof this.title !== 'undefined') {\n toReturn['title'] = this.title;\n }\n if (typeof this.subtitle !== 'undefined') {\n toReturn['subtitle'] = this.subtitle;\n }\n if (typeof this.description !== 'undefined') {\n toReturn['description'] = this.description;\n }\n if (typeof this.metaTitle !== 'undefined') {\n toReturn['metaTitle'] = this.metaTitle;\n }\n if (typeof this.metaDescription !== 'undefined') {\n toReturn['metaDescription'] = this.metaDescription;\n }\n if (typeof this.coverPhoto !== 'undefined' && this.coverPhoto !== null) {\n toReturn['coverPhoto'] = 'toApiJson' in this.coverPhoto ? this.coverPhoto.toApiJson() : this.coverPhoto;\n }\n return toReturn;\n }\n}\nclass SubAncestry {\n static fromProto(proto) {\n let m = new SubAncestry();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.slug !== 'undefined') {\n toReturn['slug'] = this.slug;\n }\n if (typeof this.prettySlug !== 'undefined') {\n toReturn['prettySlug'] = this.prettySlug;\n }\n return toReturn;\n }\n}\nclass Tags {\n static fromProto(proto) {\n let m = new Tags();\n m = Object.assign(m, proto);\n if (proto.source) {\n m.source = Source.fromProto(proto.source);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.type !== 'undefined') {\n toReturn['type'] = this.type;\n }\n if (typeof this.title !== 'undefined') {\n toReturn['title'] = this.title;\n }\n if (typeof this.source !== 'undefined' && this.source !== null) {\n toReturn['source'] = 'toApiJson' in this.source ? this.source.toApiJson() : this.source;\n }\n return toReturn;\n }\n}\nclass Urls {\n static fromProto(proto) {\n let m = new Urls();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.raw !== 'undefined') {\n toReturn['raw'] = this.raw;\n }\n if (typeof this.full !== 'undefined') {\n toReturn['full'] = this.full;\n }\n if (typeof this.regular !== 'undefined') {\n toReturn['regular'] = this.regular;\n }\n if (typeof this.small !== 'undefined') {\n toReturn['small'] = this.small;\n }\n if (typeof this.thumb !== 'undefined') {\n toReturn['thumb'] = this.thumb;\n }\n if (typeof this.smallS3 !== 'undefined') {\n toReturn['smallS3'] = this.smallS3;\n }\n return toReturn;\n }\n}\nclass User {\n static fromProto(proto) {\n let m = new User();\n m = Object.assign(m, proto);\n if (proto.links) {\n m.links = UserLink.fromProto(proto.links);\n }\n if (proto.profileImage) {\n m.profileImage = Image.fromProto(proto.profileImage);\n }\n if (proto.totalCollections) {\n m.totalCollections = parseInt(proto.totalCollections, 10);\n }\n if (proto.totalLikes) {\n m.totalLikes = parseInt(proto.totalLikes, 10);\n }\n if (proto.totalPhotos) {\n m.totalPhotos = parseInt(proto.totalPhotos, 10);\n }\n if (proto.totalPromotedPhotos) {\n m.totalPromotedPhotos = parseInt(proto.totalPromotedPhotos, 10);\n }\n if (proto.social) {\n m.social = Social.fromProto(proto.social);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.updatedAt !== 'undefined') {\n toReturn['updatedAt'] = this.updatedAt;\n }\n if (typeof this.username !== 'undefined') {\n toReturn['username'] = this.username;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.firstName !== 'undefined') {\n toReturn['firstName'] = this.firstName;\n }\n if (typeof this.lastName !== 'undefined') {\n toReturn['lastName'] = this.lastName;\n }\n if (typeof this.twitterUsername !== 'undefined') {\n toReturn['twitterUsername'] = this.twitterUsername;\n }\n if (typeof this.portfolioUrl !== 'undefined') {\n toReturn['portfolioUrl'] = this.portfolioUrl;\n }\n if (typeof this.bio !== 'undefined') {\n toReturn['bio'] = this.bio;\n }\n if (typeof this.location !== 'undefined') {\n toReturn['location'] = this.location;\n }\n if (typeof this.links !== 'undefined' && this.links !== null) {\n toReturn['links'] = 'toApiJson' in this.links ? this.links.toApiJson() : this.links;\n }\n if (typeof this.profileImage !== 'undefined' && this.profileImage !== null) {\n toReturn['profileImage'] = 'toApiJson' in this.profileImage ? this.profileImage.toApiJson() : this.profileImage;\n }\n if (typeof this.instagramUsername !== 'undefined') {\n toReturn['instagramUsername'] = this.instagramUsername;\n }\n if (typeof this.totalCollections !== 'undefined') {\n toReturn['totalCollections'] = this.totalCollections;\n }\n if (typeof this.totalLikes !== 'undefined') {\n toReturn['totalLikes'] = this.totalLikes;\n }\n if (typeof this.totalPhotos !== 'undefined') {\n toReturn['totalPhotos'] = this.totalPhotos;\n }\n if (typeof this.totalPromotedPhotos !== 'undefined') {\n toReturn['totalPromotedPhotos'] = this.totalPromotedPhotos;\n }\n if (typeof this.acceptedTos !== 'undefined') {\n toReturn['acceptedTos'] = this.acceptedTos;\n }\n if (typeof this.forHire !== 'undefined') {\n toReturn['forHire'] = this.forHire;\n }\n if (typeof this.social !== 'undefined' && this.social !== null) {\n toReturn['social'] = 'toApiJson' in this.social ? this.social.toApiJson() : this.social;\n }\n return toReturn;\n }\n}\nclass UserLink {\n static fromProto(proto) {\n let m = new UserLink();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.self !== 'undefined') {\n toReturn['self'] = this.self;\n }\n if (typeof this.html !== 'undefined') {\n toReturn['html'] = this.html;\n }\n if (typeof this.photos !== 'undefined') {\n toReturn['photos'] = this.photos;\n }\n if (typeof this.likes !== 'undefined') {\n toReturn['likes'] = this.likes;\n }\n if (typeof this.portfolio !== 'undefined') {\n toReturn['portfolio'] = this.portfolio;\n }\n if (typeof this.following !== 'undefined') {\n toReturn['following'] = this.following;\n }\n if (typeof this.followers !== 'undefined') {\n toReturn['followers'] = this.followers;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$4(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass AiInstructions {\n static fromProto(proto) {\n let m = new AiInstructions();\n m = Object.assign(m, proto);\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.commonAiInstructions !== 'undefined') {\n toReturn['commonAiInstructions'] = this.commonAiInstructions;\n }\n if (typeof this.dataUsageStatus !== 'undefined') {\n toReturn['dataUsageStatus'] = this.dataUsageStatus;\n }\n if (typeof this.aiBlogInstructions !== 'undefined') {\n toReturn['aiBlogInstructions'] = this.aiBlogInstructions;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n return toReturn;\n }\n}\nclass CreateCommonAiInstructionsRequest {\n static fromProto(proto) {\n let m = new CreateCommonAiInstructionsRequest();\n m = Object.assign(m, proto);\n if (proto.aiInstructions) {\n m.aiInstructions = AiInstructions.fromProto(proto.aiInstructions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.aiInstructions !== 'undefined' && this.aiInstructions !== null) {\n toReturn['aiInstructions'] = 'toApiJson' in this.aiInstructions ? this.aiInstructions.toApiJson() : this.aiInstructions;\n }\n return toReturn;\n }\n}\nclass CreateCommonAiInstructionsResponse {\n static fromProto(proto) {\n let m = new CreateCommonAiInstructionsResponse();\n m = Object.assign(m, proto);\n if (proto.aiInstructions) {\n m.aiInstructions = AiInstructions.fromProto(proto.aiInstructions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.aiInstructions !== 'undefined' && this.aiInstructions !== null) {\n toReturn['aiInstructions'] = 'toApiJson' in this.aiInstructions ? this.aiInstructions.toApiJson() : this.aiInstructions;\n }\n return toReturn;\n }\n}\nclass CreateImageRequest {\n static fromProto(proto) {\n let m = new CreateImageRequest();\n m = Object.assign(m, proto);\n if (proto.metadata) {\n m.metadata = proto.metadata.map(MetadataV2.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.prompt !== 'undefined') {\n toReturn['prompt'] = this.prompt;\n }\n if (typeof this.imageAmount !== 'undefined') {\n toReturn['imageAmount'] = this.imageAmount;\n }\n if (typeof this.size !== 'undefined') {\n toReturn['size'] = this.size;\n }\n if (typeof this.responseFormat !== 'undefined') {\n toReturn['responseFormat'] = this.responseFormat;\n }\n if (typeof this.metadata !== 'undefined' && this.metadata !== null) {\n toReturn['metadata'] = 'toApiJson' in this.metadata ? this.metadata.toApiJson() : this.metadata;\n }\n if (typeof this.model !== 'undefined') {\n toReturn['model'] = this.model;\n }\n if (typeof this.style !== 'undefined') {\n toReturn['style'] = this.style;\n }\n if (typeof this.quality !== 'undefined') {\n toReturn['quality'] = this.quality;\n }\n return toReturn;\n }\n}\nclass CreateImageResponse {\n static fromProto(proto) {\n let m = new CreateImageResponse();\n m = Object.assign(m, proto);\n if (proto.createdId) {\n m.createdId = parseInt(proto.createdId, 10);\n }\n if (proto.generatedImages) {\n m.generatedImages = proto.generatedImages.map(ImageCreated.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.createdId !== 'undefined') {\n toReturn['createdId'] = this.createdId;\n }\n if (typeof this.generatedImages !== 'undefined' && this.generatedImages !== null) {\n toReturn['generatedImages'] = 'toApiJson' in this.generatedImages ? this.generatedImages.toApiJson() : this.generatedImages;\n }\n return toReturn;\n }\n}\nclass CuratedContentPost {\n static fromProto(proto) {\n let m = new CuratedContentPost();\n m = Object.assign(m, proto);\n if (proto.media) {\n m.media = proto.media.map(UploadedMedia.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.text !== 'undefined') {\n toReturn['text'] = this.text;\n }\n if (typeof this.media !== 'undefined' && this.media !== null) {\n toReturn['media'] = 'toApiJson' in this.media ? this.media.toApiJson() : this.media;\n }\n if (typeof this.errors !== 'undefined') {\n toReturn['errors'] = this.errors;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.createdAt !== 'undefined') {\n toReturn['createdAt'] = this.createdAt;\n }\n if (typeof this.postedAt !== 'undefined') {\n toReturn['postedAt'] = this.postedAt;\n }\n return toReturn;\n }\n}\nclass DeletePostRequest {\n static fromProto(proto) {\n let m = new DeletePostRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.accessToken !== 'undefined') {\n toReturn['accessToken'] = this.accessToken;\n }\n if (typeof this.postId !== 'undefined') {\n toReturn['postId'] = this.postId;\n }\n return toReturn;\n }\n}\nclass GenerateAiRequest {\n static fromProto(proto) {\n let m = new GenerateAiRequest();\n m = Object.assign(m, proto);\n if (proto.length) {\n m.length = enumStringToValue$4(ContentLength, proto.length);\n }\n if (proto.generateType) {\n m.generateType = enumStringToValue$4(GenerateType, proto.generateType);\n }\n if (proto.metadata) {\n m.metadata = proto.metadata.map(MetadataV2.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.goal !== 'undefined') {\n toReturn['goal'] = this.goal;\n }\n if (typeof this.instruction !== 'undefined') {\n toReturn['instruction'] = this.instruction;\n }\n if (typeof this.keyword !== 'undefined') {\n toReturn['keyword'] = this.keyword;\n }\n if (typeof this.tone !== 'undefined') {\n toReturn['tone'] = this.tone;\n }\n if (typeof this.length !== 'undefined') {\n toReturn['length'] = this.length;\n }\n if (typeof this.generateType !== 'undefined') {\n toReturn['generateType'] = this.generateType;\n }\n if (typeof this.metadata !== 'undefined' && this.metadata !== null) {\n toReturn['metadata'] = 'toApiJson' in this.metadata ? this.metadata.toApiJson() : this.metadata;\n }\n return toReturn;\n }\n}\nclass GenerateAiResponse {\n static fromProto(proto) {\n let m = new GenerateAiResponse();\n m = Object.assign(m, proto);\n if (proto.multiResult) {\n m.multiResult = MultiResponse.fromProto(proto.multiResult);\n }\n if (proto.result) {\n m.result = Response.fromProto(proto.result);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.multiResult !== 'undefined' && this.multiResult !== null) {\n toReturn['multiResult'] = 'toApiJson' in this.multiResult ? this.multiResult.toApiJson() : this.multiResult;\n }\n if (typeof this.result !== 'undefined' && this.result !== null) {\n toReturn['result'] = 'toApiJson' in this.result ? this.result.toApiJson() : this.result;\n }\n return toReturn;\n }\n}\nclass GeneratePostsRequest {\n static fromProto(proto) {\n let m = new GeneratePostsRequest();\n m = Object.assign(m, proto);\n if (proto.numberOfPosts) {\n m.numberOfPosts = parseInt(proto.numberOfPosts, 10);\n }\n if (proto.postLength) {\n m.postLength = parseInt(proto.postLength, 10);\n }\n if (proto.metadata) {\n m.metadata = proto.metadata.map(MetadataV2.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.numberOfPosts !== 'undefined') {\n toReturn['numberOfPosts'] = this.numberOfPosts;\n }\n if (typeof this.topic !== 'undefined') {\n toReturn['topic'] = this.topic;\n }\n if (typeof this.commonInstructions !== 'undefined') {\n toReturn['commonInstructions'] = this.commonInstructions;\n }\n if (typeof this.tone !== 'undefined') {\n toReturn['tone'] = this.tone;\n }\n if (typeof this.postLength !== 'undefined') {\n toReturn['postLength'] = this.postLength;\n }\n if (typeof this.metadata !== 'undefined' && this.metadata !== null) {\n toReturn['metadata'] = 'toApiJson' in this.metadata ? this.metadata.toApiJson() : this.metadata;\n }\n return toReturn;\n }\n}\nclass GeneratePostsResponse {\n static fromProto(proto) {\n let m = new GeneratePostsResponse();\n m = Object.assign(m, proto);\n if (proto.posts) {\n m.posts = proto.posts.map(GeneratePostsResponsePost.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.posts !== 'undefined' && this.posts !== null) {\n toReturn['posts'] = 'toApiJson' in this.posts ? this.posts.toApiJson() : this.posts;\n }\n if (typeof this.keyword !== 'undefined') {\n toReturn['keyword'] = this.keyword;\n }\n return toReturn;\n }\n}\nclass GetCommonAiInstructionsRequest {\n static fromProto(proto) {\n let m = new GetCommonAiInstructionsRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n return toReturn;\n }\n}\nclass GetCommonAiInstructionsResponse {\n static fromProto(proto) {\n let m = new GetCommonAiInstructionsResponse();\n m = Object.assign(m, proto);\n if (proto.aiInstructions) {\n m.aiInstructions = AiInstructions.fromProto(proto.aiInstructions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.aiInstructions !== 'undefined' && this.aiInstructions !== null) {\n toReturn['aiInstructions'] = 'toApiJson' in this.aiInstructions ? this.aiInstructions.toApiJson() : this.aiInstructions;\n }\n return toReturn;\n }\n}\nclass ImageBlob {\n static fromProto(proto) {\n let m = new ImageBlob();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.blob !== 'undefined') {\n toReturn['blob'] = this.blob;\n }\n return toReturn;\n }\n}\nclass ImageCreated {\n static fromProto(proto) {\n let m = new ImageCreated();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.url !== 'undefined') {\n toReturn['url'] = this.url;\n }\n if (typeof this.b64Json !== 'undefined') {\n toReturn['b64Json'] = this.b64Json;\n }\n if (typeof this.revisedPrompt !== 'undefined') {\n toReturn['revisedPrompt'] = this.revisedPrompt;\n }\n return toReturn;\n }\n}\nclass ImageUrl {\n static fromProto(proto) {\n let m = new ImageUrl();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.url !== 'undefined') {\n toReturn['url'] = this.url;\n }\n return toReturn;\n }\n}\nclass ListCuratedContentRequest {\n static fromProto(proto) {\n let m = new ListCuratedContentRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.feedId !== 'undefined') {\n toReturn['feedId'] = this.feedId;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n return toReturn;\n }\n}\nclass ListCuratedContentResponse {\n static fromProto(proto) {\n let m = new ListCuratedContentResponse();\n m = Object.assign(m, proto);\n if (proto.posts) {\n m.posts = proto.posts.map(CuratedContentPost.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.posts !== 'undefined' && this.posts !== null) {\n toReturn['posts'] = 'toApiJson' in this.posts ? this.posts.toApiJson() : this.posts;\n }\n if (typeof this.externalId !== 'undefined') {\n toReturn['externalId'] = this.externalId;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n if (typeof this.nextCursor !== 'undefined') {\n toReturn['nextCursor'] = this.nextCursor;\n }\n return toReturn;\n }\n}\nclass ListUnsplashImagesRequest {\n static fromProto(proto) {\n let m = new ListUnsplashImagesRequest();\n m = Object.assign(m, proto);\n if (proto.page) {\n m.page = parseInt(proto.page, 10);\n }\n if (proto.perPage) {\n m.perPage = parseInt(proto.perPage, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.query !== 'undefined') {\n toReturn['query'] = this.query;\n }\n if (typeof this.page !== 'undefined') {\n toReturn['page'] = this.page;\n }\n if (typeof this.perPage !== 'undefined') {\n toReturn['perPage'] = this.perPage;\n }\n if (typeof this.orderBy !== 'undefined') {\n toReturn['orderBy'] = this.orderBy;\n }\n if (typeof this.collection !== 'undefined') {\n toReturn['collection'] = this.collection;\n }\n if (typeof this.contentFilter !== 'undefined') {\n toReturn['contentFilter'] = this.contentFilter;\n }\n if (typeof this.color !== 'undefined') {\n toReturn['color'] = this.color;\n }\n if (typeof this.orientation !== 'undefined') {\n toReturn['orientation'] = this.orientation;\n }\n if (typeof this.random !== 'undefined') {\n toReturn['random'] = this.random;\n }\n if (typeof this.includeLocalUrl !== 'undefined') {\n toReturn['includeLocalUrl'] = this.includeLocalUrl;\n }\n return toReturn;\n }\n}\nclass ListUnsplashImagesResponse {\n static fromProto(proto) {\n let m = new ListUnsplashImagesResponse();\n m = Object.assign(m, proto);\n if (proto.total) {\n m.total = parseInt(proto.total, 10);\n }\n if (proto.totalPages) {\n m.totalPages = parseInt(proto.totalPages, 10);\n }\n if (proto.results) {\n m.results = proto.results.map(Photo.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.total !== 'undefined') {\n toReturn['total'] = this.total;\n }\n if (typeof this.totalPages !== 'undefined') {\n toReturn['totalPages'] = this.totalPages;\n }\n if (typeof this.results !== 'undefined' && this.results !== null) {\n toReturn['results'] = 'toApiJson' in this.results ? this.results.toApiJson() : this.results;\n }\n return toReturn;\n }\n}\nclass MediaUploadRequest {\n static fromProto(proto) {\n let m = new MediaUploadRequest();\n m = Object.assign(m, proto);\n if (proto.medias) {\n m.medias = proto.medias.map(Media.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.accessToken !== 'undefined') {\n toReturn['accessToken'] = this.accessToken;\n }\n if (typeof this.owner !== 'undefined') {\n toReturn['owner'] = this.owner;\n }\n if (typeof this.medias !== 'undefined' && this.medias !== null) {\n toReturn['medias'] = 'toApiJson' in this.medias ? this.medias.toApiJson() : this.medias;\n }\n return toReturn;\n }\n}\nclass MediaUploadResponse {\n static fromProto(proto) {\n let m = new MediaUploadResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.uploadUrns !== 'undefined') {\n toReturn['uploadUrns'] = this.uploadUrns;\n }\n return toReturn;\n }\n}\nclass MultiResponse {\n static fromProto(proto) {\n let m = new MultiResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.items !== 'undefined') {\n toReturn['items'] = this.items;\n }\n return toReturn;\n }\n}\nclass GeneratePostsResponsePost {\n static fromProto(proto) {\n let m = new GeneratePostsResponsePost();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.text !== 'undefined') {\n toReturn['text'] = this.text;\n }\n return toReturn;\n }\n}\nclass RepostSocialPostRequest {\n static fromProto(proto) {\n let m = new RepostSocialPostRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.socialPostId !== 'undefined') {\n toReturn['socialPostId'] = this.socialPostId;\n }\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n return toReturn;\n }\n}\nclass Response {\n static fromProto(proto) {\n let m = new Response();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.content !== 'undefined') {\n toReturn['content'] = this.content;\n }\n return toReturn;\n }\n}\nclass SocialPostOutput {\n static fromProto(proto) {\n let m = new SocialPostOutput();\n m = Object.assign(m, proto);\n if (proto.socialPost) {\n m.socialPost = SocialPostV2.fromProto(proto.socialPost);\n }\n if (proto.metadata) {\n m.metadata = proto.metadata.map(MetadataV2.fromProto);\n }\n if (proto.status) {\n m.status = enumStringToValue$4(PostStatusV2, proto.status);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.internalPostId !== 'undefined') {\n toReturn['internalPostId'] = this.internalPostId;\n }\n if (typeof this.socialPost !== 'undefined' && this.socialPost !== null) {\n toReturn['socialPost'] = 'toApiJson' in this.socialPost ? this.socialPost.toApiJson() : this.socialPost;\n }\n if (typeof this.metadata !== 'undefined' && this.metadata !== null) {\n toReturn['metadata'] = 'toApiJson' in this.metadata ? this.metadata.toApiJson() : this.metadata;\n }\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.statusMessage !== 'undefined') {\n toReturn['statusMessage'] = this.statusMessage;\n }\n return toReturn;\n }\n}\nclass SocialPostRequest {\n static fromProto(proto) {\n let m = new SocialPostRequest();\n m = Object.assign(m, proto);\n if (proto.socialPosts) {\n m.socialPosts = proto.socialPosts.map(SocialPostV2.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.socialPosts !== 'undefined' && this.socialPosts !== null) {\n toReturn['socialPosts'] = 'toApiJson' in this.socialPosts ? this.socialPosts.toApiJson() : this.socialPosts;\n }\n return toReturn;\n }\n}\nclass SocialPostResponse {\n static fromProto(proto) {\n let m = new SocialPostResponse();\n m = Object.assign(m, proto);\n if (proto.socialPosts) {\n m.socialPosts = proto.socialPosts.map(SocialPostOutput.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.socialPosts !== 'undefined' && this.socialPosts !== null) {\n toReturn['socialPosts'] = 'toApiJson' in this.socialPosts ? this.socialPosts.toApiJson() : this.socialPosts;\n }\n return toReturn;\n }\n}\nclass UpdateCommonAiInstructionsRequest {\n static fromProto(proto) {\n let m = new UpdateCommonAiInstructionsRequest();\n m = Object.assign(m, proto);\n if (proto.aiInstructions) {\n m.aiInstructions = AiInstructions.fromProto(proto.aiInstructions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.aiInstructions !== 'undefined' && this.aiInstructions !== null) {\n toReturn['aiInstructions'] = 'toApiJson' in this.aiInstructions ? this.aiInstructions.toApiJson() : this.aiInstructions;\n }\n return toReturn;\n }\n}\nclass UpdateCommonAiInstructionsResponse {\n static fromProto(proto) {\n let m = new UpdateCommonAiInstructionsResponse();\n m = Object.assign(m, proto);\n if (proto.aiInstructions) {\n m.aiInstructions = AiInstructions.fromProto(proto.aiInstructions);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.aiInstructions !== 'undefined' && this.aiInstructions !== null) {\n toReturn['aiInstructions'] = 'toApiJson' in this.aiInstructions ? this.aiInstructions.toApiJson() : this.aiInstructions;\n }\n return toReturn;\n }\n}\nclass UpdateSocialPostRequest {\n static fromProto(proto) {\n let m = new UpdateSocialPostRequest();\n m = Object.assign(m, proto);\n if (proto.socialPost) {\n m.socialPost = SocialPostV2.fromProto(proto.socialPost);\n }\n if (proto.metadata) {\n m.metadata = proto.metadata.map(MetadataV2.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.socialPost !== 'undefined' && this.socialPost !== null) {\n toReturn['socialPost'] = 'toApiJson' in this.socialPost ? this.socialPost.toApiJson() : this.socialPost;\n }\n if (typeof this.isError !== 'undefined') {\n toReturn['isError'] = this.isError;\n }\n if (typeof this.errors !== 'undefined') {\n toReturn['errors'] = this.errors;\n }\n if (typeof this.errorCategory !== 'undefined') {\n toReturn['errorCategory'] = this.errorCategory;\n }\n if (typeof this.postId !== 'undefined') {\n toReturn['postId'] = this.postId;\n }\n if (typeof this.metadata !== 'undefined' && this.metadata !== null) {\n toReturn['metadata'] = 'toApiJson' in this.metadata ? this.metadata.toApiJson() : this.metadata;\n }\n if (typeof this.permalink !== 'undefined') {\n toReturn['permalink'] = this.permalink;\n }\n return toReturn;\n }\n}\nclass UpdateSocialPostResponse {\n static fromProto(proto) {\n let m = new UpdateSocialPostResponse();\n m = Object.assign(m, proto);\n if (proto.socialPost) {\n m.socialPost = SocialPostV2.fromProto(proto.socialPost);\n }\n if (proto.metadata) {\n m.metadata = proto.metadata.map(MetadataV2.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.socialPost !== 'undefined' && this.socialPost !== null) {\n toReturn['socialPost'] = 'toApiJson' in this.socialPost ? this.socialPost.toApiJson() : this.socialPost;\n }\n if (typeof this.isError !== 'undefined') {\n toReturn['isError'] = this.isError;\n }\n if (typeof this.errors !== 'undefined') {\n toReturn['errors'] = this.errors;\n }\n if (typeof this.errorCategory !== 'undefined') {\n toReturn['errorCategory'] = this.errorCategory;\n }\n if (typeof this.postId !== 'undefined') {\n toReturn['postId'] = this.postId;\n }\n if (typeof this.metadata !== 'undefined' && this.metadata !== null) {\n toReturn['metadata'] = 'toApiJson' in this.metadata ? this.metadata.toApiJson() : this.metadata;\n }\n return toReturn;\n }\n}\nclass UploadToStorageRequest {\n static fromProto(proto) {\n let m = new UploadToStorageRequest();\n m = Object.assign(m, proto);\n if (proto.mediaType) {\n m.mediaType = enumStringToValue$4(MediaType, proto.mediaType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.url !== 'undefined') {\n toReturn['url'] = this.url;\n }\n if (typeof this.mediaType !== 'undefined') {\n toReturn['mediaType'] = this.mediaType;\n }\n if (typeof this.agid !== 'undefined') {\n toReturn['agid'] = this.agid;\n }\n return toReturn;\n }\n}\nclass UploadToStorageResponse {\n static fromProto(proto) {\n let m = new UploadToStorageResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.url !== 'undefined') {\n toReturn['url'] = this.url;\n }\n return toReturn;\n }\n}\nclass UploadedMedia {\n static fromProto(proto) {\n let m = new UploadedMedia();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.type !== 'undefined') {\n toReturn['type'] = this.type;\n }\n if (typeof this.url !== 'undefined') {\n toReturn['url'] = this.url;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$3(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass Action {\n static fromProto(proto) {\n let m = new Action();\n m = Object.assign(m, proto);\n if (proto.actionType) {\n m.actionType = enumStringToValue$3(ActionType, proto.actionType);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.actionType !== 'undefined') {\n toReturn['actionType'] = this.actionType;\n }\n if (typeof this.actionPayload !== 'undefined') {\n toReturn['actionPayload'] = this.actionPayload;\n }\n return toReturn;\n }\n}\nclass EndChatRequest {\n static fromProto(proto) {\n let m = new EndChatRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.threadId !== 'undefined') {\n toReturn['threadId'] = this.threadId;\n }\n return toReturn;\n }\n}\nclass SendMessageRequest {\n static fromProto(proto) {\n let m = new SendMessageRequest();\n m = Object.assign(m, proto);\n if (proto.actions) {\n m.actions = proto.actions.map(Action.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.messageContent !== 'undefined') {\n toReturn['messageContent'] = this.messageContent;\n }\n if (typeof this.threadId !== 'undefined') {\n toReturn['threadId'] = this.threadId;\n }\n if (typeof this.actions !== 'undefined' && this.actions !== null) {\n toReturn['actions'] = 'toApiJson' in this.actions ? this.actions.toApiJson() : this.actions;\n }\n return toReturn;\n }\n}\nclass SendMessageResponse {\n static fromProto(proto) {\n let m = new SendMessageResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.messageResponse !== 'undefined') {\n toReturn['messageResponse'] = this.messageResponse;\n }\n if (typeof this.threadId !== 'undefined') {\n toReturn['threadId'] = this.threadId;\n }\n return toReturn;\n }\n}\nclass StartChatRequest {\n static fromProto(proto) {\n let m = new StartChatRequest();\n m = Object.assign(m, proto);\n if (proto.metadata) {\n m.metadata = proto.metadata.map(MetadataV2.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.metadata !== 'undefined' && this.metadata !== null) {\n toReturn['metadata'] = 'toApiJson' in this.metadata ? this.metadata.toApiJson() : this.metadata;\n }\n return toReturn;\n }\n}\nclass StartChatResponse {\n static fromProto(proto) {\n let m = new StartChatResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.assistantId !== 'undefined') {\n toReturn['assistantId'] = this.assistantId;\n }\n if (typeof this.threadId !== 'undefined') {\n toReturn['threadId'] = this.threadId;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$2(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass ChatMessage {\n static fromProto(proto) {\n let m = new ChatMessage();\n m = Object.assign(m, proto);\n if (proto.role) {\n m.role = enumStringToValue$2(Role, proto.role);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.role !== 'undefined') {\n toReturn['role'] = this.role;\n }\n if (typeof this.content !== 'undefined') {\n toReturn['content'] = this.content;\n }\n return toReturn;\n }\n}\nclass SendMessageV2Request {\n static fromProto(proto) {\n let m = new SendMessageV2Request();\n m = Object.assign(m, proto);\n if (proto.messages) {\n m.messages = proto.messages.map(ChatMessage.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.marketId !== 'undefined') {\n toReturn['marketId'] = this.marketId;\n }\n if (typeof this.customInstructions !== 'undefined') {\n toReturn['customInstructions'] = this.customInstructions;\n }\n if (typeof this.messages !== 'undefined' && this.messages !== null) {\n toReturn['messages'] = 'toApiJson' in this.messages ? this.messages.toApiJson() : this.messages;\n }\n if (typeof this.brandId !== 'undefined') {\n toReturn['brandId'] = this.brandId;\n }\n return toReturn;\n }\n}\nclass SendMessageV2Response {\n static fromProto(proto) {\n let m = new SendMessageV2Response();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.messageResponse !== 'undefined') {\n toReturn['messageResponse'] = this.messageResponse;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue$1(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass BlogConnection {\n static fromProto(proto) {\n let m = new BlogConnection();\n m = Object.assign(m, proto);\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.socialServiceId !== 'undefined') {\n toReturn['socialServiceId'] = this.socialServiceId;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.apiKey !== 'undefined') {\n toReturn['apiKey'] = this.apiKey;\n }\n if (typeof this.logo !== 'undefined') {\n toReturn['logo'] = this.logo;\n }\n if (typeof this.pluginStatus !== 'undefined') {\n toReturn['pluginStatus'] = this.pluginStatus;\n }\n if (typeof this.version !== 'undefined') {\n toReturn['version'] = this.version;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n if (typeof this.siteUrl !== 'undefined') {\n toReturn['siteUrl'] = this.siteUrl;\n }\n return toReturn;\n }\n}\nclass CreateBlogConnectionRequest {\n static fromProto(proto) {\n let m = new CreateBlogConnectionRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.apiKey !== 'undefined') {\n toReturn['apiKey'] = this.apiKey;\n }\n if (typeof this.logo !== 'undefined') {\n toReturn['logo'] = this.logo;\n }\n if (typeof this.pluginStatus !== 'undefined') {\n toReturn['pluginStatus'] = this.pluginStatus;\n }\n if (typeof this.version !== 'undefined') {\n toReturn['version'] = this.version;\n }\n if (typeof this.siteUrl !== 'undefined') {\n toReturn['siteUrl'] = this.siteUrl;\n }\n return toReturn;\n }\n}\nclass CreateBlogConnectionResponse {\n static fromProto(proto) {\n let m = new CreateBlogConnectionResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.socialServiceId !== 'undefined') {\n toReturn['socialServiceId'] = this.socialServiceId;\n }\n return toReturn;\n }\n}\nclass DeleteBlogConnectionRequest {\n static fromProto(proto) {\n let m = new DeleteBlogConnectionRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.socialServiceId !== 'undefined') {\n toReturn['socialServiceId'] = this.socialServiceId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass GetBlogConnectionRequest {\n static fromProto(proto) {\n let m = new GetBlogConnectionRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.socialServiceId !== 'undefined') {\n toReturn['socialServiceId'] = this.socialServiceId;\n }\n return toReturn;\n }\n}\nclass GetBlogConnectionResponse {\n static fromProto(proto) {\n let m = new GetBlogConnectionResponse();\n m = Object.assign(m, proto);\n if (proto.blogConnection) {\n m.blogConnection = BlogConnection.fromProto(proto.blogConnection);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.blogConnection !== 'undefined' && this.blogConnection !== null) {\n toReturn['blogConnection'] = 'toApiJson' in this.blogConnection ? this.blogConnection.toApiJson() : this.blogConnection;\n }\n return toReturn;\n }\n}\nclass ListBlogConnectionRequest {\n static fromProto(proto) {\n let m = new ListBlogConnectionRequest();\n m = Object.assign(m, proto);\n if (proto.pageSize) {\n m.pageSize = parseInt(proto.pageSize, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.pageSize !== 'undefined') {\n toReturn['pageSize'] = this.pageSize;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n return toReturn;\n }\n}\nclass ListBlogConnectionResponse {\n static fromProto(proto) {\n let m = new ListBlogConnectionResponse();\n m = Object.assign(m, proto);\n if (proto.blogConnections) {\n m.blogConnections = proto.blogConnections.map(BlogConnection.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.blogConnections !== 'undefined' && this.blogConnections !== null) {\n toReturn['blogConnections'] = 'toApiJson' in this.blogConnections ? this.blogConnections.toApiJson() : this.blogConnections;\n }\n if (typeof this.cursor !== 'undefined') {\n toReturn['cursor'] = this.cursor;\n }\n if (typeof this.hasMore !== 'undefined') {\n toReturn['hasMore'] = this.hasMore;\n }\n return toReturn;\n }\n}\nclass UpdateBlogConnectionRequest {\n static fromProto(proto) {\n let m = new UpdateBlogConnectionRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.socialServiceId !== 'undefined') {\n toReturn['socialServiceId'] = this.socialServiceId;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.apiKey !== 'undefined') {\n toReturn['apiKey'] = this.apiKey;\n }\n if (typeof this.logo !== 'undefined') {\n toReturn['logo'] = this.logo;\n }\n if (typeof this.pluginStatus !== 'undefined') {\n toReturn['pluginStatus'] = this.pluginStatus;\n }\n if (typeof this.version !== 'undefined') {\n toReturn['version'] = this.version;\n }\n if (typeof this.siteUrl !== 'undefined') {\n toReturn['siteUrl'] = this.siteUrl;\n }\n return toReturn;\n }\n}\nfunction enumStringToValue(enumRef, value) {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\nclass Author {\n static fromProto(proto) {\n let m = new Author();\n m = Object.assign(m, proto);\n if (proto.id) {\n m.id = parseInt(proto.id, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n return toReturn;\n }\n}\nclass AuthorsRequest {\n static fromProto(proto) {\n let m = new AuthorsRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.socialServiceId !== 'undefined') {\n toReturn['socialServiceId'] = this.socialServiceId;\n }\n return toReturn;\n }\n}\nclass AuthorsResponse {\n static fromProto(proto) {\n let m = new AuthorsResponse();\n m = Object.assign(m, proto);\n if (proto.authors) {\n m.authors = proto.authors.map(Author.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.authors !== 'undefined' && this.authors !== null) {\n toReturn['authors'] = 'toApiJson' in this.authors ? this.authors.toApiJson() : this.authors;\n }\n return toReturn;\n }\n}\nclass BlogImage {\n static fromProto(proto) {\n let m = new BlogImage();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.path !== 'undefined') {\n toReturn['path'] = this.path;\n }\n if (typeof this.publicUrl !== 'undefined') {\n toReturn['publicUrl'] = this.publicUrl;\n }\n return toReturn;\n }\n}\nclass BlogPost {\n static fromProto(proto) {\n let m = new BlogPost();\n m = Object.assign(m, proto);\n if (proto.images) {\n m.images = proto.images.map(MediaProperty.fromProto);\n }\n if (proto.video) {\n m.video = proto.video.map(MediaProperty.fromProto);\n }\n if (proto.author) {\n m.author = Author.fromProto(proto.author);\n }\n if (proto.categories) {\n m.categories = proto.categories.map(Category.fromProto);\n }\n if (proto.postDateTime) {\n m.postDateTime = new Date(proto.postDateTime);\n }\n if (proto.postedDateTime) {\n m.postedDateTime = new Date(proto.postedDateTime);\n }\n if (proto.pageViews) {\n m.pageViews = parseInt(proto.pageViews, 10);\n }\n if (proto.commentsCount) {\n m.commentsCount = parseInt(proto.commentsCount, 10);\n }\n if (proto.created) {\n m.created = new Date(proto.created);\n }\n if (proto.updated) {\n m.updated = new Date(proto.updated);\n }\n if (proto.deleted) {\n m.deleted = new Date(proto.deleted);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.internalPostId !== 'undefined') {\n toReturn['internalPostId'] = this.internalPostId;\n }\n if (typeof this.socialServiceId !== 'undefined') {\n toReturn['socialServiceId'] = this.socialServiceId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.postId !== 'undefined') {\n toReturn['postId'] = this.postId;\n }\n if (typeof this.title !== 'undefined') {\n toReturn['title'] = this.title;\n }\n if (typeof this.content !== 'undefined') {\n toReturn['content'] = this.content;\n }\n if (typeof this.images !== 'undefined' && this.images !== null) {\n toReturn['images'] = 'toApiJson' in this.images ? this.images.toApiJson() : this.images;\n }\n if (typeof this.video !== 'undefined' && this.video !== null) {\n toReturn['video'] = 'toApiJson' in this.video ? this.video.toApiJson() : this.video;\n }\n if (typeof this.permalink !== 'undefined') {\n toReturn['permalink'] = this.permalink;\n }\n if (typeof this.siteType !== 'undefined') {\n toReturn['siteType'] = this.siteType;\n }\n if (typeof this.author !== 'undefined' && this.author !== null) {\n toReturn['author'] = 'toApiJson' in this.author ? this.author.toApiJson() : this.author;\n }\n if (typeof this.categories !== 'undefined' && this.categories !== null) {\n toReturn['categories'] = 'toApiJson' in this.categories ? this.categories.toApiJson() : this.categories;\n }\n if (typeof this.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\n }\n if (typeof this.error !== 'undefined') {\n toReturn['error'] = this.error;\n }\n if (typeof this.postDateTime !== 'undefined' && this.postDateTime !== null) {\n toReturn['postDateTime'] = 'toApiJson' in this.postDateTime ? this.postDateTime.toApiJson() : this.postDateTime;\n }\n if (typeof this.postedDateTime !== 'undefined' && this.postedDateTime !== null) {\n toReturn['postedDateTime'] = 'toApiJson' in this.postedDateTime ? this.postedDateTime.toApiJson() : this.postedDateTime;\n }\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n if (typeof this.userName !== 'undefined') {\n toReturn['userName'] = this.userName;\n }\n if (typeof this.pageViews !== 'undefined') {\n toReturn['pageViews'] = this.pageViews;\n }\n if (typeof this.commentsCount !== 'undefined') {\n toReturn['commentsCount'] = this.commentsCount;\n }\n if (typeof this.created !== 'undefined' && this.created !== null) {\n toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;\n }\n if (typeof this.updated !== 'undefined' && this.updated !== null) {\n toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;\n }\n if (typeof this.deleted !== 'undefined' && this.deleted !== null) {\n toReturn['deleted'] = 'toApiJson' in this.deleted ? this.deleted.toApiJson() : this.deleted;\n }\n return toReturn;\n }\n}\nclass BlogVideo {\n static fromProto(proto) {\n let m = new BlogVideo();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.path !== 'undefined') {\n toReturn['path'] = this.path;\n }\n if (typeof this.publicUrl !== 'undefined') {\n toReturn['publicUrl'] = this.publicUrl;\n }\n return toReturn;\n }\n}\nclass Category {\n static fromProto(proto) {\n let m = new Category();\n m = Object.assign(m, proto);\n if (proto.id) {\n m.id = parseInt(proto.id, 10);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.id !== 'undefined') {\n toReturn['id'] = this.id;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n return toReturn;\n }\n}\nclass CategoryRequest {\n static fromProto(proto) {\n let m = new CategoryRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.socialServiceId !== 'undefined') {\n toReturn['socialServiceId'] = this.socialServiceId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n return toReturn;\n }\n}\nclass CategoryResponse {\n static fromProto(proto) {\n let m = new CategoryResponse();\n m = Object.assign(m, proto);\n if (proto.categories) {\n m.categories = proto.categories.map(Category.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.categories !== 'undefined' && this.categories !== null) {\n toReturn['categories'] = 'toApiJson' in this.categories ? this.categories.toApiJson() : this.categories;\n }\n return toReturn;\n }\n}\nclass DeleteBlogPostRequest {\n static fromProto(proto) {\n let m = new DeleteBlogPostRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.internalPostId !== 'undefined') {\n toReturn['internalPostId'] = this.internalPostId;\n }\n if (typeof this.parentPostId !== 'undefined') {\n toReturn['parentPostId'] = this.parentPostId;\n }\n return toReturn;\n }\n}\nclass GetMultiBlogPostsRequest {\n static fromProto(proto) {\n let m = new GetMultiBlogPostsRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.socialServiceId !== 'undefined') {\n toReturn['socialServiceId'] = this.socialServiceId;\n }\n if (typeof this.blogPostId !== 'undefined') {\n toReturn['blogPostId'] = this.blogPostId;\n }\n return toReturn;\n }\n}\nclass GetMultiBlogPostsResponse {\n static fromProto(proto) {\n let m = new GetMultiBlogPostsResponse();\n m = Object.assign(m, proto);\n if (proto.blogPosts) {\n m.blogPosts = proto.blogPosts.map(BlogPost.fromProto);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.blogPosts !== 'undefined' && this.blogPosts !== null) {\n toReturn['blogPosts'] = 'toApiJson' in this.blogPosts ? this.blogPosts.toApiJson() : this.blogPosts;\n }\n return toReturn;\n }\n}\nclass MediaProperty {\n static fromProto(proto) {\n let m = new MediaProperty();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.path !== 'undefined') {\n toReturn['path'] = this.path;\n }\n if (typeof this.publicUrl !== 'undefined') {\n toReturn['publicUrl'] = this.publicUrl;\n }\n return toReturn;\n }\n}\nclass PublishPostRequest {\n static fromProto(proto) {\n let m = new PublishPostRequest();\n m = Object.assign(m, proto);\n if (proto.images) {\n m.images = proto.images.map(BlogImage.fromProto);\n }\n if (proto.videos) {\n m.videos = proto.videos.map(BlogVideo.fromProto);\n }\n if (proto.author) {\n m.author = Author.fromProto(proto.author);\n }\n if (proto.categories) {\n m.categories = proto.categories.map(Category.fromProto);\n }\n if (proto.postDateTime) {\n m.postDateTime = new Date(proto.postDateTime);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.socialServiceId !== 'undefined') {\n toReturn['socialServiceId'] = this.socialServiceId;\n }\n if (typeof this.title !== 'undefined') {\n toReturn['title'] = this.title;\n }\n if (typeof this.content !== 'undefined') {\n toReturn['content'] = this.content;\n }\n if (typeof this.images !== 'undefined' && this.images !== null) {\n toReturn['images'] = 'toApiJson' in this.images ? this.images.toApiJson() : this.images;\n }\n if (typeof this.videos !== 'undefined' && this.videos !== null) {\n toReturn['videos'] = 'toApiJson' in this.videos ? this.videos.toApiJson() : this.videos;\n }\n if (typeof this.siteType !== 'undefined') {\n toReturn['siteType'] = this.siteType;\n }\n if (typeof this.author !== 'undefined' && this.author !== null) {\n toReturn['author'] = 'toApiJson' in this.author ? this.author.toApiJson() : this.author;\n }\n if (typeof this.categories !== 'undefined' && this.categories !== null) {\n toReturn['categories'] = 'toApiJson' in this.categories ? this.categories.toApiJson() : this.categories;\n }\n if (typeof this.tags !== 'undefined') {\n toReturn['tags'] = this.tags;\n }\n if (typeof this.postTags !== 'undefined') {\n toReturn['postTags'] = this.postTags;\n }\n if (typeof this.postDateTime !== 'undefined' && this.postDateTime !== null) {\n toReturn['postDateTime'] = 'toApiJson' in this.postDateTime ? this.postDateTime.toApiJson() : this.postDateTime;\n }\n if (typeof this.userId !== 'undefined') {\n toReturn['userId'] = this.userId;\n }\n if (typeof this.userName !== 'undefined') {\n toReturn['userName'] = this.userName;\n }\n if (typeof this.partnerId !== 'undefined') {\n toReturn['partnerId'] = this.partnerId;\n }\n if (typeof this.internalPostId !== 'undefined') {\n toReturn['internalPostId'] = this.internalPostId;\n }\n return toReturn;\n }\n}\nclass PublishPostResponse {\n static fromProto(proto) {\n let m = new PublishPostResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.internalPostId !== 'undefined') {\n toReturn['internalPostId'] = this.internalPostId;\n }\n return toReturn;\n }\n}\nclass RepostBlogPostRequest {\n static fromProto(proto) {\n let m = new RepostBlogPostRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.blogPostId !== 'undefined') {\n toReturn['blogPostId'] = this.blogPostId;\n }\n if (typeof this.accountGroupId !== 'undefined') {\n toReturn['accountGroupId'] = this.accountGroupId;\n }\n return toReturn;\n }\n}\nclass StatusRequest {\n static fromProto(proto) {\n let m = new StatusRequest();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.businessId !== 'undefined') {\n toReturn['businessId'] = this.businessId;\n }\n if (typeof this.apiKey !== 'undefined') {\n toReturn['apiKey'] = this.apiKey;\n }\n if (typeof this.siteUrl !== 'undefined') {\n toReturn['siteUrl'] = this.siteUrl;\n }\n return toReturn;\n }\n}\nclass StatusResponse {\n static fromProto(proto) {\n let m = new StatusResponse();\n m = Object.assign(m, proto);\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.status !== 'undefined') {\n toReturn['status'] = this.status;\n }\n if (typeof this.version !== 'undefined') {\n toReturn['version'] = this.version;\n }\n if (typeof this.logo !== 'undefined') {\n toReturn['logo'] = this.logo;\n }\n if (typeof this.name !== 'undefined') {\n toReturn['name'] = this.name;\n }\n return toReturn;\n }\n}\nclass UpdateBlogPostRequest {\n static fromProto(proto) {\n let m = new UpdateBlogPostRequest();\n m = Object.assign(m, proto);\n if (proto.blogPost) {\n m.blogPost = BlogPost.fromProto(proto.blogPost);\n }\n return m;\n }\n constructor(kwargs) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n toApiJson() {\n const toReturn = {};\n if (typeof this.blogPost !== 'undefined' && this.blogPost !== null) {\n toReturn['blogPost'] = 'toApiJson' in this.blogPost ? this.blogPost.toApiJson() : this.blogPost;\n }\n return toReturn;\n }\n}\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Objects Index.\n// *********************************\n\nconst environment = (window ? window['environment'] : 'prod') ?? 'prod';\nconst hostMap = {\n 'local': 'social-post.vendasta-local.com',\n 'test': '',\n 'demo': 'social-posts-demo.apigateway.co',\n 'prod': 'social-posts-prod.apigateway.co',\n 'production': 'social-posts-prod.apigateway.co'\n};\nlet HostService = /*#__PURE__*/(() => {\n class HostService {\n get host() {\n return hostMap[environment.toLowerCase()];\n }\n get hostWithScheme() {\n return 'https://' + this.host;\n }\n }\n HostService.ɵfac = function HostService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || HostService)();\n };\n HostService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: HostService,\n factory: HostService.ɵfac,\n providedIn: 'root'\n });\n return HostService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet SocialPostsApiService = /*#__PURE__*/(() => {\n class SocialPostsApiService {\n constructor() {\n this.hostService = inject(HostService);\n this.http = inject(HttpClient);\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n list(r) {\n const request = r.toApiJson ? r : new ListSocialPostsRequest(r);\n return this.http.post(this._host + \"/socialposts.v1.SocialPosts/List\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListSocialPostsResponse.fromProto(resp)));\n }\n deleteSocialPost(r) {\n const request = r.toApiJson ? r : new DeleteSocialPostRequest(r);\n return this.http.post(this._host + \"/socialposts.v1.SocialPosts/DeleteSocialPost\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n scheduleToAllPages(r) {\n const request = r.toApiJson ? r : new ScheduleToAllPagesRequest(r);\n return this.http.post(this._host + \"/socialposts.v1.SocialPosts/ScheduleToAllPages\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ScheduleToAllPagesResponse.fromProto(resp)));\n }\n schedule(r) {\n const request = r.toApiJson ? r : new SchedulePostRequest(r);\n return this.http.post(this._host + \"/socialposts.v1.SocialPosts/Schedule\", request.toApiJson(), this.apiOptions()).pipe(map(resp => SchedulePostResponse.fromProto(resp)));\n }\n getMultiSocialPosts(r) {\n const request = r.toApiJson ? r : new GetMultiSocialPostsRequest(r);\n return this.http.post(this._host + \"/socialposts.v1.SocialPosts/GetMultiSocialPosts\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiSocialPostsResponse.fromProto(resp)));\n }\n getMultiSocialPostStats(r) {\n const request = r.toApiJson ? r : new GetMultiSocialPostStatsRequest(r);\n return this.http.post(this._host + \"/socialposts.v1.SocialPosts/GetMultiSocialPostStats\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiSocialPostStatsResponse.fromProto(resp)));\n }\n getScheduledPostCount(r) {\n const request = r.toApiJson ? r : new GetScheduledPostCountRequest(r);\n return this.http.post(this._host + \"/socialposts.v1.SocialPosts/GetScheduledPostCount\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetScheduledPostCountResponse.fromProto(resp)));\n }\n suggestMessage(r) {\n const request = r.toApiJson ? r : new SuggestMessageRequest(r);\n return this.http.post(this._host + \"/socialposts.v1.SocialPosts/SuggestMessage\", request.toApiJson(), this.apiOptions()).pipe(map(resp => SuggestMessageResponse.fromProto(resp)));\n }\n }\n SocialPostsApiService.ɵfac = function SocialPostsApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || SocialPostsApiService)();\n };\n SocialPostsApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: SocialPostsApiService,\n factory: SocialPostsApiService.ɵfac,\n providedIn: 'root'\n });\n return SocialPostsApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet SocialPostsService = /*#__PURE__*/(() => {\n class SocialPostsService {\n constructor(socialPostsApiService) {\n this.socialPostsApiService = socialPostsApiService;\n }\n list(start, end, socialServiceIds, businessId, partnerId, cursor, tags, pageSize) {\n const req = new ListSocialPostsRequest({\n start: start,\n end: end,\n businessId: businessId,\n partnerId: partnerId,\n cursor: cursor,\n socialServiceIds: socialServiceIds,\n tags: tags,\n pageSize: pageSize\n });\n return this.socialPostsApiService.list(req);\n }\n getMultiSocialPosts(businessId, internalPostIds) {\n if (!internalPostIds || internalPostIds.length === 0) {\n const res = new GetMultiSocialPostsResponse();\n return of(res);\n }\n const req = new GetMultiSocialPostsRequest({\n businessId: businessId,\n internalPostIds: internalPostIds\n });\n return this.socialPostsApiService.getMultiSocialPosts(req);\n }\n getScheduledPostCount(partnerId, businessId, socialServiceIds) {\n const req = new GetScheduledPostCountRequest({\n partnerId: partnerId,\n businessId: businessId,\n socialServiceIds: socialServiceIds\n });\n return this.socialPostsApiService.getScheduledPostCount(req);\n }\n suggestMessage(businessId, prompt, postLength, templateType, metadata) {\n const req = new SuggestMessageRequest({\n businessId: businessId,\n prompt: prompt,\n length: postLength,\n type: templateType,\n metadata: metadata\n });\n return this.socialPostsApiService.suggestMessage(req);\n }\n }\n SocialPostsService.ɵfac = function SocialPostsService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || SocialPostsService)(i0.ɵɵinject(SocialPostsApiService));\n };\n SocialPostsService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: SocialPostsService,\n factory: SocialPostsService.ɵfac,\n providedIn: 'root'\n });\n return SocialPostsService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet PostTemplatesApiService = /*#__PURE__*/(() => {\n class PostTemplatesApiService {\n constructor() {\n this.hostService = inject(HostService);\n this.http = inject(HttpClient);\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n updatePostTemplate(r) {\n const request = r.toApiJson ? r : new UpdatePostTemplateRequest(r);\n return this.http.post(this._host + \"/socialposts.v1.PostTemplates/UpdatePostTemplate\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n createPostTemplate(r) {\n const request = r.toApiJson ? r : new CreatePostTemplateRequest(r);\n return this.http.post(this._host + \"/socialposts.v1.PostTemplates/CreatePostTemplate\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreatePostTemplateResponse.fromProto(resp)));\n }\n getPostTemplate(r) {\n const request = r.toApiJson ? r : new GetPostTemplateRequest(r);\n return this.http.post(this._host + \"/socialposts.v1.PostTemplates/GetPostTemplate\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetPostTemplateResponse.fromProto(resp)));\n }\n listPostTemplates(r) {\n const request = r.toApiJson ? r : new ListPostTemplatesRequest(r);\n return this.http.post(this._host + \"/socialposts.v1.PostTemplates/ListPostTemplates\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListPostTemplatesResponse.fromProto(resp)));\n }\n deletePostTemplate(r) {\n const request = r.toApiJson ? r : new DeletePostTemplateRequest(r);\n return this.http.post(this._host + \"/socialposts.v1.PostTemplates/DeletePostTemplate\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n }\n PostTemplatesApiService.ɵfac = function PostTemplatesApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || PostTemplatesApiService)();\n };\n PostTemplatesApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: PostTemplatesApiService,\n factory: PostTemplatesApiService.ɵfac,\n providedIn: 'root'\n });\n return PostTemplatesApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet BlogConnectionApiService = /*#__PURE__*/(() => {\n class BlogConnectionApiService {\n constructor() {\n this.hostService = inject(HostService);\n this.http = inject(HttpClient);\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n create(r) {\n const request = r.toApiJson ? r : new CreateBlogConnectionRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.BlogConnectionService/Create\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateBlogConnectionResponse.fromProto(resp)));\n }\n update(r) {\n const request = r.toApiJson ? r : new UpdateBlogConnectionRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.BlogConnectionService/Update\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n list(r) {\n const request = r.toApiJson ? r : new ListBlogConnectionRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.BlogConnectionService/List\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListBlogConnectionResponse.fromProto(resp)));\n }\n get(r) {\n const request = r.toApiJson ? r : new GetBlogConnectionRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.BlogConnectionService/Get\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetBlogConnectionResponse.fromProto(resp)));\n }\n delete(r) {\n const request = r.toApiJson ? r : new DeleteBlogConnectionRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.BlogConnectionService/Delete\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n }\n BlogConnectionApiService.ɵfac = function BlogConnectionApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || BlogConnectionApiService)();\n };\n BlogConnectionApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: BlogConnectionApiService,\n factory: BlogConnectionApiService.ɵfac,\n providedIn: 'root'\n });\n return BlogConnectionApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet BlogPostsApiService = /*#__PURE__*/(() => {\n class BlogPostsApiService {\n constructor() {\n this.hostService = inject(HostService);\n this.http = inject(HttpClient);\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n getMultiBlogPosts(r) {\n const request = r.toApiJson ? r : new GetMultiBlogPostsRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.BlogPostsService/GetMultiBlogPosts\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultiBlogPostsResponse.fromProto(resp)));\n }\n updateBlogPost(r) {\n const request = r.toApiJson ? r : new UpdateBlogPostRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.BlogPostsService/UpdateBlogPost\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n deleteBlogPost(r) {\n const request = r.toApiJson ? r : new DeleteBlogPostRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.BlogPostsService/DeleteBlogPost\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n }\n BlogPostsApiService.ɵfac = function BlogPostsApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || BlogPostsApiService)();\n };\n BlogPostsApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: BlogPostsApiService,\n factory: BlogPostsApiService.ɵfac,\n providedIn: 'root'\n });\n return BlogPostsApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet ChatBotApiService = /*#__PURE__*/(() => {\n class ChatBotApiService {\n constructor() {\n this.hostService = inject(HostService);\n this.http = inject(HttpClient);\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n startChat(r) {\n const request = r.toApiJson ? r : new StartChatRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.ChatBot/StartChat\", request.toApiJson(), this.apiOptions()).pipe(map(resp => StartChatResponse.fromProto(resp)));\n }\n sendMessage(r) {\n const request = r.toApiJson ? r : new SendMessageRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.ChatBot/SendMessage\", request.toApiJson(), this.apiOptions()).pipe(map(resp => SendMessageResponse.fromProto(resp)));\n }\n endChat(r) {\n const request = r.toApiJson ? r : new EndChatRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.ChatBot/EndChat\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n }\n ChatBotApiService.ɵfac = function ChatBotApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || ChatBotApiService)();\n };\n ChatBotApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: ChatBotApiService,\n factory: ChatBotApiService.ɵfac,\n providedIn: 'root'\n });\n return ChatBotApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet ChatBotV2ApiService = /*#__PURE__*/(() => {\n class ChatBotV2ApiService {\n constructor() {\n this.hostService = inject(HostService);\n this.http = inject(HttpClient);\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n sendMessageV2(r) {\n const request = r.toApiJson ? r : new SendMessageV2Request(r);\n return this.http.post(this._host + \"/socialposts.v2.ChatBotV2/SendMessageV2\", request.toApiJson(), this.apiOptions()).pipe(map(resp => SendMessageV2Response.fromProto(resp)));\n }\n }\n ChatBotV2ApiService.ɵfac = function ChatBotV2ApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || ChatBotV2ApiService)();\n };\n ChatBotV2ApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: ChatBotV2ApiService,\n factory: ChatBotV2ApiService.ɵfac,\n providedIn: 'root'\n });\n return ChatBotV2ApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet CommonAiInstructionsApiService = /*#__PURE__*/(() => {\n class CommonAiInstructionsApiService {\n constructor() {\n this.hostService = inject(HostService);\n this.http = inject(HttpClient);\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n createCommonAiInstructions(r) {\n const request = r.toApiJson ? r : new CreateCommonAiInstructionsRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.CommonAiInstructions/CreateCommonAiInstructions\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateCommonAiInstructionsResponse.fromProto(resp)));\n }\n updateCommonAiInstructions(r) {\n const request = r.toApiJson ? r : new UpdateCommonAiInstructionsRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.CommonAiInstructions/UpdateCommonAiInstructions\", request.toApiJson(), this.apiOptions()).pipe(map(resp => UpdateCommonAiInstructionsResponse.fromProto(resp)));\n }\n getCommonAiInstructions(r) {\n const request = r.toApiJson ? r : new GetCommonAiInstructionsRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.CommonAiInstructions/GetCommonAiInstructions\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetCommonAiInstructionsResponse.fromProto(resp)));\n }\n }\n CommonAiInstructionsApiService.ɵfac = function CommonAiInstructionsApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || CommonAiInstructionsApiService)();\n };\n CommonAiInstructionsApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: CommonAiInstructionsApiService,\n factory: CommonAiInstructionsApiService.ɵfac,\n providedIn: 'root'\n });\n return CommonAiInstructionsApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet ContentGenerationApiService = /*#__PURE__*/(() => {\n class ContentGenerationApiService {\n constructor() {\n this.hostService = inject(HostService);\n this.http = inject(HttpClient);\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n generatePosts(r) {\n const request = r.toApiJson ? r : new GeneratePostsRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.ContentGeneration/GeneratePosts\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GeneratePostsResponse.fromProto(resp)));\n }\n generate(r) {\n const request = r.toApiJson ? r : new GenerateAiRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.ContentGeneration/Generate\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GenerateAiResponse.fromProto(resp)));\n }\n }\n ContentGenerationApiService.ɵfac = function ContentGenerationApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || ContentGenerationApiService)();\n };\n ContentGenerationApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: ContentGenerationApiService,\n factory: ContentGenerationApiService.ɵfac,\n providedIn: 'root'\n });\n return ContentGenerationApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet CuratedContentApiService = /*#__PURE__*/(() => {\n class CuratedContentApiService {\n constructor() {\n this.hostService = inject(HostService);\n this.http = inject(HttpClient);\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n list(r) {\n const request = r.toApiJson ? r : new ListCuratedContentRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.CuratedContent/List\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListCuratedContentResponse.fromProto(resp)));\n }\n }\n CuratedContentApiService.ɵfac = function CuratedContentApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || CuratedContentApiService)();\n };\n CuratedContentApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: CuratedContentApiService,\n factory: CuratedContentApiService.ɵfac,\n providedIn: 'root'\n });\n return CuratedContentApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet HashTagsApiService = /*#__PURE__*/(() => {\n class HashTagsApiService {\n constructor() {\n this.hostService = inject(HostService);\n this.http = inject(HttpClient);\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n replaceHashtags(r) {\n const request = r.toApiJson ? r : new ReplaceHashtagsRequest(r);\n return this.http.post(this._host + \"/socialposts.v1.HashTags/ReplaceHashtags\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n deleteHashtags(r) {\n const request = r.toApiJson ? r : new DeleteHashtagsRequest(r);\n return this.http.post(this._host + \"/socialposts.v1.HashTags/DeleteHashtags\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n searchHashtag(r) {\n const request = r.toApiJson ? r : new SearchHashtagRequest(r);\n return this.http.post(this._host + \"/socialposts.v1.HashTags/SearchHashtag\", request.toApiJson(), this.apiOptions()).pipe(map(resp => SearchHashtagResponse.fromProto(resp)));\n }\n }\n HashTagsApiService.ɵfac = function HashTagsApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || HashTagsApiService)();\n };\n HashTagsApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: HashTagsApiService,\n factory: HashTagsApiService.ɵfac,\n providedIn: 'root'\n });\n return HashTagsApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet LinkedinApiService = /*#__PURE__*/(() => {\n class LinkedinApiService {\n constructor() {\n this.hostService = inject(HostService);\n this.http = inject(HttpClient);\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n deletePost(r) {\n const request = r.toApiJson ? r : new DeletePostRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.Linkedin/DeletePost\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n uploadMedia(r) {\n const request = r.toApiJson ? r : new MediaUploadRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.Linkedin/UploadMedia\", request.toApiJson(), this.apiOptions()).pipe(map(resp => MediaUploadResponse.fromProto(resp)));\n }\n }\n LinkedinApiService.ɵfac = function LinkedinApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || LinkedinApiService)();\n };\n LinkedinApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: LinkedinApiService,\n factory: LinkedinApiService.ɵfac,\n providedIn: 'root'\n });\n return LinkedinApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet MultilocationPostApiService = /*#__PURE__*/(() => {\n class MultilocationPostApiService {\n constructor() {\n this.hostService = inject(HostService);\n this.http = inject(HttpClient);\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n createMultilocationPost(r) {\n const request = r.toApiJson ? r : new CreateMultilocationPostRequest(r);\n return this.http.post(this._host + \"/socialposts.v1.MultilocationPostService/CreateMultilocationPost\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateMultilocationPostResponse.fromProto(resp)));\n }\n editMultilocationPost(r) {\n const request = r.toApiJson ? r : new EditMultilocationPostRequest(r);\n return this.http.post(this._host + \"/socialposts.v1.MultilocationPostService/EditMultilocationPost\", request.toApiJson(), this.apiOptions()).pipe(map(resp => EditMultilocationPostResponse.fromProto(resp)));\n }\n removeFromMultilocationPost(r) {\n const request = r.toApiJson ? r : new RemoveFromMultilocationPostRequest(r);\n return this.http.post(this._host + \"/socialposts.v1.MultilocationPostService/RemoveFromMultilocationPost\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n listMultilocationPostsForBrand(r) {\n const request = r.toApiJson ? r : new ListMultilocationPostsForBrandRequest(r);\n return this.http.post(this._host + \"/socialposts.v1.MultilocationPostService/ListMultilocationPostsForBrand\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListMultilocationPostsForBrandResponse.fromProto(resp)));\n }\n deleteMultilocationPost(r) {\n const request = r.toApiJson ? r : new DeleteMultilocationPostRequest(r);\n return this.http.post(this._host + \"/socialposts.v1.MultilocationPostService/DeleteMultilocationPost\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n getMultilocationPost(r) {\n const request = r.toApiJson ? r : new GetMultilocationPostRequest(r);\n return this.http.post(this._host + \"/socialposts.v1.MultilocationPostService/GetMultilocationPost\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetMultilocationPostResponse.fromProto(resp)));\n }\n }\n MultilocationPostApiService.ɵfac = function MultilocationPostApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || MultilocationPostApiService)();\n };\n MultilocationPostApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: MultilocationPostApiService,\n factory: MultilocationPostApiService.ɵfac,\n providedIn: 'root'\n });\n return MultilocationPostApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet PartnerSocialPostsApiService = /*#__PURE__*/(() => {\n class PartnerSocialPostsApiService {\n constructor() {\n this.hostService = inject(HostService);\n this.http = inject(HttpClient);\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n listScheduled(r) {\n const request = r.toApiJson ? r : new PartnerListScheduledSocialPostsRequest(r);\n return this.http.post(this._host + \"/socialposts.v1.PartnerSocialPosts/ListScheduled\", request.toApiJson(), this.apiOptions()).pipe(map(resp => PartnerListScheduledPostsResponse.fromProto(resp)));\n }\n listScheduledByCreated(r) {\n const request = r.toApiJson ? r : new PartnerListScheduledSocialPostsRequest(r);\n return this.http.post(this._host + \"/socialposts.v1.PartnerSocialPosts/ListScheduledByCreated\", request.toApiJson(), this.apiOptions()).pipe(map(resp => PartnerListScheduledPostsResponse.fromProto(resp)));\n }\n }\n PartnerSocialPostsApiService.ɵfac = function PartnerSocialPostsApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || PartnerSocialPostsApiService)();\n };\n PartnerSocialPostsApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: PartnerSocialPostsApiService,\n factory: PartnerSocialPostsApiService.ɵfac,\n providedIn: 'root'\n });\n return PartnerSocialPostsApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet PixabayImagesApiService = /*#__PURE__*/(() => {\n class PixabayImagesApiService {\n constructor() {\n this.hostService = inject(HostService);\n this.http = inject(HttpClient);\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n listPixabayImages(r) {\n const request = r.toApiJson ? r : new ListPixabayImagesRequest(r);\n return this.http.post(this._host + \"/socialposts.v1.PixabayImages/ListPixabayImages\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListPixabayImagesResponse.fromProto(resp)));\n }\n }\n PixabayImagesApiService.ɵfac = function PixabayImagesApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || PixabayImagesApiService)();\n };\n PixabayImagesApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: PixabayImagesApiService,\n factory: PixabayImagesApiService.ɵfac,\n providedIn: 'root'\n });\n return PixabayImagesApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet PostPerformanceApiService = /*#__PURE__*/(() => {\n class PostPerformanceApiService {\n constructor() {\n this.hostService = inject(HostService);\n this.http = inject(HttpClient);\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n generateCsvForPerformanceStats(r) {\n const request = r.toApiJson ? r : new GenerateCSVForPerformanceStatsRequest(r);\n return this.http.post(this._host + \"/socialposts.v1.PostPerformance/GenerateCSVForPerformanceStats\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GenerateCSVForPerformanceStatsResponse.fromProto(resp)));\n }\n getGeneratedCsvForPerformanceStats(r) {\n const request = r.toApiJson ? r : new GetGeneratedCSVForPerformanceStatsRequest(r);\n return this.http.post(this._host + \"/socialposts.v1.PostPerformance/GetGeneratedCSVForPerformanceStats\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetGeneratedCSVForPerformanceStatsResponse.fromProto(resp)));\n }\n }\n PostPerformanceApiService.ɵfac = function PostPerformanceApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || PostPerformanceApiService)();\n };\n PostPerformanceApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: PostPerformanceApiService,\n factory: PostPerformanceApiService.ɵfac,\n providedIn: 'root'\n });\n return PostPerformanceApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet SocialPostsV2ApiService = /*#__PURE__*/(() => {\n class SocialPostsV2ApiService {\n constructor() {\n this.hostService = inject(HostService);\n this.http = inject(HttpClient);\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n scheduleSocialPosts(r) {\n const request = r.toApiJson ? r : new SocialPostRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.SocialPostsV2/ScheduleSocialPosts\", request.toApiJson(), this.apiOptions()).pipe(map(resp => SocialPostResponse.fromProto(resp)));\n }\n updateSocialPosts(r) {\n const request = r.toApiJson ? r : new UpdateSocialPostRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.SocialPostsV2/UpdateSocialPosts\", request.toApiJson(), this.apiOptions()).pipe(map(resp => UpdateSocialPostResponse.fromProto(resp)));\n }\n createImages(r) {\n const request = r.toApiJson ? r : new CreateImageRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.SocialPostsV2/CreateImages\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateImageResponse.fromProto(resp)));\n }\n getImageByUrl(r) {\n const request = r.toApiJson ? r : new ImageUrl(r);\n return this.http.post(this._host + \"/socialposts.v2.SocialPostsV2/GetImageByUrl\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ImageBlob.fromProto(resp)));\n }\n generateVariations(r) {\n const request = r.toApiJson ? r : new ImageUrl(r);\n return this.http.post(this._host + \"/socialposts.v2.SocialPostsV2/GenerateVariations\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CreateImageResponse.fromProto(resp)));\n }\n repostSocialPost(r) {\n const request = r.toApiJson ? r : new RepostSocialPostRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.SocialPostsV2/RepostSocialPost\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n }\n SocialPostsV2ApiService.ɵfac = function SocialPostsV2ApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || SocialPostsV2ApiService)();\n };\n SocialPostsV2ApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: SocialPostsV2ApiService,\n factory: SocialPostsV2ApiService.ɵfac,\n providedIn: 'root'\n });\n return SocialPostsV2ApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet TenorGifsApiService = /*#__PURE__*/(() => {\n class TenorGifsApiService {\n constructor() {\n this.hostService = inject(HostService);\n this.http = inject(HttpClient);\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n getTenorAnonymousId(r) {\n const request = r.toApiJson ? r : new GetTenorAnonymousIdRequest(r);\n return this.http.post(this._host + \"/socialposts.v1.TenorGifs/GetTenorAnonymousId\", request.toApiJson(), this.apiOptions()).pipe(map(resp => GetTenorAnonymousIdResponse.fromProto(resp)));\n }\n listTenorGifs(r) {\n const request = r.toApiJson ? r : new ListTenorGifsRequest(r);\n return this.http.post(this._host + \"/socialposts.v1.TenorGifs/ListTenorGifs\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListTenorGifsResponse.fromProto(resp)));\n }\n }\n TenorGifsApiService.ɵfac = function TenorGifsApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || TenorGifsApiService)();\n };\n TenorGifsApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: TenorGifsApiService,\n factory: TenorGifsApiService.ɵfac,\n providedIn: 'root'\n });\n return TenorGifsApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet UnsplashApiService = /*#__PURE__*/(() => {\n class UnsplashApiService {\n constructor() {\n this.hostService = inject(HostService);\n this.http = inject(HttpClient);\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n listUnsplashImages(r) {\n const request = r.toApiJson ? r : new ListUnsplashImagesRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.Unsplash/ListUnsplashImages\", request.toApiJson(), this.apiOptions()).pipe(map(resp => ListUnsplashImagesResponse.fromProto(resp)));\n }\n uploadToStorage(r) {\n const request = r.toApiJson ? r : new UploadToStorageRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.Unsplash/UploadToStorage\", request.toApiJson(), this.apiOptions()).pipe(map(resp => UploadToStorageResponse.fromProto(resp)));\n }\n }\n UnsplashApiService.ɵfac = function UnsplashApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || UnsplashApiService)();\n };\n UnsplashApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: UnsplashApiService,\n factory: UnsplashApiService.ɵfac,\n providedIn: 'root'\n });\n return UnsplashApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nlet WordpressPluginApiService = /*#__PURE__*/(() => {\n class WordpressPluginApiService {\n constructor() {\n this.hostService = inject(HostService);\n this.http = inject(HttpClient);\n this._host = this.hostService.hostWithScheme;\n }\n apiOptions() {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n status(r) {\n const request = r.toApiJson ? r : new StatusRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.WordpressPluginService/Status\", request.toApiJson(), this.apiOptions()).pipe(map(resp => StatusResponse.fromProto(resp)));\n }\n getAuthors(r) {\n const request = r.toApiJson ? r : new AuthorsRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.WordpressPluginService/GetAuthors\", request.toApiJson(), this.apiOptions()).pipe(map(resp => AuthorsResponse.fromProto(resp)));\n }\n getCategories(r) {\n const request = r.toApiJson ? r : new CategoryRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.WordpressPluginService/GetCategories\", request.toApiJson(), this.apiOptions()).pipe(map(resp => CategoryResponse.fromProto(resp)));\n }\n publishPost(r) {\n const request = r.toApiJson ? r : new PublishPostRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.WordpressPluginService/PublishPost\", request.toApiJson(), this.apiOptions()).pipe(map(resp => PublishPostResponse.fromProto(resp)));\n }\n repostBlogPost(r) {\n const request = r.toApiJson ? r : new RepostBlogPostRequest(r);\n return this.http.post(this._host + \"/socialposts.v2.WordpressPluginService/RepostBlogPost\", request.toApiJson(), {\n ...this.apiOptions(),\n observe: 'response'\n });\n }\n }\n WordpressPluginApiService.ɵfac = function WordpressPluginApiService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || WordpressPluginApiService)();\n };\n WordpressPluginApiService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: WordpressPluginApiService,\n factory: WordpressPluginApiService.ɵfac,\n providedIn: 'root'\n });\n return WordpressPluginApiService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Index.\n// *********************************\nlet PostTemplatesService = /*#__PURE__*/(() => {\n class PostTemplatesService {\n constructor(socialPostsApiService) {\n this.socialPostsApiService = socialPostsApiService;\n }\n updatePostTemplate(accountGroupId, templateId, title, postText, postDateTime, gmbPostCustomization, imageUrl, imagePath, imageSize, previews, options, videoUrl, postType, mediaEntries, metadata, youtubeCustomization) {\n const req = new UpdatePostTemplateRequest({\n accountGroupId: accountGroupId,\n templateId: templateId,\n title: title,\n postText: postText,\n postDateTime: postDateTime,\n gmbPostCustomization: gmbPostCustomization,\n imageUrl: imageUrl,\n imagePath: imagePath,\n imageSize: imageSize,\n previews: previews,\n options: options,\n videoUrl: videoUrl,\n postType: postType || PostType.POST_TYPE_INVALID,\n mediaEntries: mediaEntries,\n metaData: metadata,\n youtubeCustomization: youtubeCustomization\n });\n return this.socialPostsApiService.updatePostTemplate(req);\n }\n createPostTemplate(accountGroupId, title, postText, postDateTime, gmbPostCustomization, imageUrl, imagePath, imageSize, previews, options, videoUrl, postType, mediaEntries, metadata, youtubeCustomization) {\n const req = new CreatePostTemplateRequest({\n accountGroupId: accountGroupId,\n title: title,\n postText: postText,\n postDateTime: postDateTime,\n gmbPostCustomization: gmbPostCustomization,\n imageUrl: imageUrl,\n imagePath: imagePath,\n imageSize: imageSize,\n previews: previews,\n options: options,\n videoUrl: videoUrl,\n postType: postType || PostType.POST_TYPE_INVALID,\n mediaEntries: mediaEntries,\n metaData: metadata,\n youtubeCustomization: youtubeCustomization\n });\n return this.socialPostsApiService.createPostTemplate(req);\n }\n getPostTemplate(accountGroupId, templateId) {\n const req = new GetPostTemplateRequest({\n accountGroupId: accountGroupId,\n templateId: templateId\n });\n return this.socialPostsApiService.getPostTemplate(req);\n }\n listPostTemplates(accountGroupId, cursor, pageSize) {\n const req = new ListPostTemplatesRequest({\n accountGroupId: accountGroupId,\n cursor: cursor,\n pageSize: pageSize\n });\n return this.socialPostsApiService.listPostTemplates(req);\n }\n deletePostTemplate(accountGroupId, templateId) {\n const req = new DeletePostTemplateRequest({\n accountGroupId: accountGroupId,\n templateId: templateId\n });\n return this.socialPostsApiService.deletePostTemplate(req);\n }\n }\n PostTemplatesService.ɵfac = function PostTemplatesService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || PostTemplatesService)(i0.ɵɵinject(PostTemplatesApiService));\n };\n PostTemplatesService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: PostTemplatesService,\n factory: PostTemplatesService.ɵfac,\n providedIn: 'root'\n });\n return PostTemplatesService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet MultilocationPostsService = /*#__PURE__*/(() => {\n class MultilocationPostsService {\n constructor(multilocationApiService) {\n this.multilocationApiService = multilocationApiService;\n }\n createMultilocationPost(brandId, text, media, gifs, videos, scheduledDate, locations, mediaEntries, postCustomization, linkShortCode, metadata, postTypes) {\n const req = new CreateMultilocationPostRequest({\n brandId: brandId,\n text: text,\n media: media,\n gifs: gifs,\n videos: videos,\n scheduledDate: scheduledDate,\n locations: locations,\n mediaEntries: mediaEntries,\n metaData: metadata,\n customization: postCustomization,\n linkShortCode: linkShortCode,\n postTypes: postTypes\n });\n return this.multilocationApiService.createMultilocationPost(req);\n }\n editMultilocationPost(brandId, multilocationId, text, media, gifs, videos, scheduledDate, locations, fieldMask, mediaEntries, postCustomization, linkShortCode, metadata, postTypes) {\n const req = new EditMultilocationPostRequest({\n brandId: brandId,\n multilocationId: multilocationId,\n text: text,\n media: media,\n gifs: gifs,\n videos: videos,\n scheduledDate: scheduledDate,\n locations: locations,\n fieldMask: fieldMask,\n mediaEntries: mediaEntries,\n customization: postCustomization,\n linkShortCode: linkShortCode,\n metaData: metadata,\n postTypes: postTypes\n });\n return this.multilocationApiService.editMultilocationPost(req);\n }\n removeFromMultilocationPost(reason, brandId, multilocationId, locations) {\n const req = new RemoveFromMultilocationPostRequest({\n reason: reason,\n brandId: brandId,\n multilocationId: multilocationId,\n locations: locations\n });\n return this.multilocationApiService.removeFromMultilocationPost(req);\n }\n listMultilocationPostsForBrand(brandId, startDate, endDate, cursor, pageSize) {\n const req = new ListMultilocationPostsForBrandRequest({\n brandId: brandId,\n startDate: startDate,\n endDate: endDate,\n cursor: cursor,\n pageSize: pageSize\n });\n return this.multilocationApiService.listMultilocationPostsForBrand(req);\n }\n deleteMultilocationPost(brandId, multilocationId) {\n const req = new DeleteMultilocationPostRequest({\n brandId: brandId,\n multilocationId: multilocationId\n });\n return this.multilocationApiService.deleteMultilocationPost(req);\n }\n getMultilocationPost(brandId, multilocationId) {\n const req = new GetMultilocationPostRequest({\n brandId: brandId,\n multilocationId: multilocationId\n });\n return this.multilocationApiService.getMultilocationPost(req);\n }\n }\n MultilocationPostsService.ɵfac = function MultilocationPostsService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || MultilocationPostsService)(i0.ɵɵinject(MultilocationPostApiService));\n };\n MultilocationPostsService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: MultilocationPostsService,\n factory: MultilocationPostsService.ɵfac,\n providedIn: 'root'\n });\n return MultilocationPostsService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet TenorGifsService = /*#__PURE__*/(() => {\n class TenorGifsService {\n constructor(tenorGifsApiService) {\n this.tenorGifsApiService = tenorGifsApiService;\n }\n listTenorGifs(query, cursor, pageSize, locale, anonymousId, mediaFilter, aspectRatioRange, contentFilter) {\n const request = new ListTenorGifsRequest({\n query: query,\n cursor: cursor,\n pageSize: pageSize,\n locale: locale,\n anonymousId: anonymousId,\n mediaFilter: mediaFilter,\n aspectRatioRange: aspectRatioRange,\n contentFilter: contentFilter\n });\n return this.tenorGifsApiService.listTenorGifs(request);\n }\n getAnonymousId() {\n const request = new GetTenorAnonymousIdRequest({});\n return this.tenorGifsApiService.getTenorAnonymousId(request);\n }\n }\n TenorGifsService.ɵfac = function TenorGifsService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || TenorGifsService)(i0.ɵɵinject(TenorGifsApiService));\n };\n TenorGifsService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: TenorGifsService,\n factory: TenorGifsService.ɵfac,\n providedIn: 'root'\n });\n return TenorGifsService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet PixabayImageService = /*#__PURE__*/(() => {\n class PixabayImageService {\n constructor(pixabayApiService) {\n this.pixabayApiService = pixabayApiService;\n }\n listPixabayImages(query, cursor = \"1\", pageSize = 12, includeLocalUrl = false, agid = \"ABC\") {\n const request = new ListPixabayImagesRequest({\n query: query,\n cursor: cursor,\n pageSize: pageSize,\n includeLocalUrl,\n agid\n });\n return this.pixabayApiService.listPixabayImages(request);\n }\n }\n PixabayImageService.ɵfac = function PixabayImageService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || PixabayImageService)(i0.ɵɵinject(PixabayImagesApiService));\n };\n PixabayImageService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: PixabayImageService,\n factory: PixabayImageService.ɵfac,\n providedIn: 'root'\n });\n return PixabayImageService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet HashTagsService = /*#__PURE__*/(() => {\n class HashTagsService {\n constructor(hashTagsApiService) {\n this.hashTagsApiService = hashTagsApiService;\n }\n replaceHashtags(keyword, businessId, partnerId) {\n const request = new ReplaceHashtagsRequest({\n keyword: keyword,\n businessId: businessId,\n partnerId: partnerId\n });\n return this.hashTagsApiService.replaceHashtags(request);\n }\n deleteHashtags(keyword, businessId, partnerId) {\n const request = new DeleteHashtagsRequest({\n keyword: keyword,\n businessId: businessId,\n partnerId: partnerId\n });\n return this.hashTagsApiService.deleteHashtags(request);\n }\n searchHashtag(searchTerm, businessId, limit, partnerId) {\n const request = new SearchHashtagRequest({\n searchTerm: searchTerm,\n businessId: businessId,\n limit: limit,\n partnerId: partnerId\n });\n return this.hashTagsApiService.searchHashtag(request);\n }\n }\n HashTagsService.ɵfac = function HashTagsService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || HashTagsService)(i0.ɵɵinject(HashTagsApiService));\n };\n HashTagsService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: HashTagsService,\n factory: HashTagsService.ɵfac,\n providedIn: 'root'\n });\n return HashTagsService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet PostPerformanceService = /*#__PURE__*/(() => {\n class PostPerformanceService {\n constructor(postPerformanceApiService) {\n this.postPerformanceApiService = postPerformanceApiService;\n }\n generateCSV(businessId, postData, includeHeaders) {\n const request = new GenerateCSVForPerformanceStatsRequest({\n businessId: businessId,\n postData: postData,\n includeHeaders: includeHeaders\n });\n return this.postPerformanceApiService.generateCsvForPerformanceStats(request).pipe(map(res => res.generatedId));\n }\n }\n PostPerformanceService.ɵfac = function PostPerformanceService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || PostPerformanceService)(i0.ɵɵinject(PostPerformanceApiService));\n };\n PostPerformanceService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: PostPerformanceService,\n factory: PostPerformanceService.ɵfac,\n providedIn: 'root'\n });\n return PostPerformanceService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet AiInstructionService = /*#__PURE__*/(() => {\n class AiInstructionService {\n constructor(instructionsService) {\n this.instructionsService = instructionsService;\n }\n getAiInstructions(businessId, partnerId) {\n const request = new GetCommonAiInstructionsRequest({\n businessId: businessId,\n partnerId: partnerId\n });\n return this.instructionsService.getCommonAiInstructions(request);\n }\n createAiInstructions(businessId, partnerId, instructions, dataUsageStatus, blogInstructions) {\n const aiInstructions = new AiInstructions({\n commonAiInstructions: instructions,\n dataUsageStatus: dataUsageStatus,\n aiBlogInstructions: blogInstructions\n });\n const request = new CreateCommonAiInstructionsRequest({\n businessId: businessId,\n partnerId: partnerId,\n aiInstructions: aiInstructions\n });\n return this.instructionsService.createCommonAiInstructions(request);\n }\n updateAiInstructions(businessId, partnerId, instructions, dataUsageStatus, blogInstructions) {\n const aiInstructions = new AiInstructions({\n commonAiInstructions: instructions,\n dataUsageStatus: dataUsageStatus,\n aiBlogInstructions: blogInstructions\n });\n const request = new UpdateCommonAiInstructionsRequest({\n businessId: businessId,\n partnerId: partnerId,\n aiInstructions: aiInstructions\n });\n return this.instructionsService.updateCommonAiInstructions(request);\n }\n }\n AiInstructionService.ɵfac = function AiInstructionService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || AiInstructionService)(i0.ɵɵinject(CommonAiInstructionsApiService));\n };\n AiInstructionService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: AiInstructionService,\n factory: AiInstructionService.ɵfac,\n providedIn: 'root'\n });\n return AiInstructionService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet ContentGenerationService = /*#__PURE__*/(() => {\n class ContentGenerationService {\n constructor(contentGenerationApiService) {\n this.contentGenerationApiService = contentGenerationApiService;\n }\n generatePosts(r) {\n return this.contentGenerationApiService.generatePosts(r);\n }\n generate(r) {\n return this.contentGenerationApiService.generate(r);\n }\n }\n ContentGenerationService.ɵfac = function ContentGenerationService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || ContentGenerationService)(i0.ɵɵinject(ContentGenerationApiService));\n };\n ContentGenerationService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: ContentGenerationService,\n factory: ContentGenerationService.ɵfac,\n providedIn: 'root'\n });\n return ContentGenerationService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet SocialPostsV2Service = /*#__PURE__*/(() => {\n class SocialPostsV2Service {\n constructor(socialpostV2ApiService) {\n this.socialpostV2ApiService = socialpostV2ApiService;\n }\n scheduleSocialPostV2(socialPost) {\n return this.socialpostV2ApiService.scheduleSocialPosts(socialPost);\n }\n createImage(image) {\n return this.socialpostV2ApiService.createImages(image);\n }\n getImageByUrl(url) {\n const urlRequest = new ImageUrl({\n url: url\n });\n return this.socialpostV2ApiService.getImageByUrl(urlRequest);\n }\n generateVariations(url) {\n const urlRequest = new ImageUrl({\n url: url\n });\n return this.socialpostV2ApiService.generateVariations(urlRequest);\n }\n repostSocialPost(socialPostId, businessId) {\n const repostRequest = new RepostSocialPostRequest({\n socialPostId: socialPostId,\n accountGroupId: businessId\n });\n return this.socialpostV2ApiService.repostSocialPost(repostRequest);\n }\n }\n SocialPostsV2Service.ɵfac = function SocialPostsV2Service_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || SocialPostsV2Service)(i0.ɵɵinject(SocialPostsV2ApiService));\n };\n SocialPostsV2Service.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: SocialPostsV2Service,\n factory: SocialPostsV2Service.ɵfac,\n providedIn: 'root'\n });\n return SocialPostsV2Service;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet UnsplashImageService = /*#__PURE__*/(() => {\n class UnsplashImageService {\n constructor(unsplashApiService) {\n this.unsplashApiService = unsplashApiService;\n }\n listUnsplashImages(query, page = 1, perPage = 20, orderBy = \"relevent\", orientation = \"squarish\", includeLocalUrl = false) {\n const request = new ListUnsplashImagesRequest({\n query: query,\n page: page,\n perPage: perPage,\n orderBy: orderBy,\n orientation: orientation,\n includeLocalUrl: includeLocalUrl\n });\n return this.unsplashApiService.listUnsplashImages(request);\n }\n uploadToStorage(url, agid) {\n const request = new UploadToStorageRequest({\n url: url,\n agid: agid\n });\n return this.unsplashApiService.uploadToStorage(request);\n }\n }\n UnsplashImageService.ɵfac = function UnsplashImageService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || UnsplashImageService)(i0.ɵɵinject(UnsplashApiService));\n };\n UnsplashImageService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: UnsplashImageService,\n factory: UnsplashImageService.ɵfac,\n providedIn: 'root'\n });\n return UnsplashImageService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet ChatBotService = /*#__PURE__*/(() => {\n class ChatBotService {\n constructor(chatBotApiService) {\n this.chatBotApiService = chatBotApiService;\n }\n startChat(req) {\n return this.chatBotApiService.startChat({\n metadata: req.metadata\n });\n }\n sendMessage(messageContent, threadId, actions) {\n const messageRequest = new SendMessageRequest({\n messageContent,\n threadId,\n actions\n });\n return this.chatBotApiService.sendMessage(messageRequest);\n }\n endChat(threadId) {\n const endChatRequest = new SendMessageRequest({\n threadId\n });\n return this.chatBotApiService.endChat(endChatRequest);\n }\n }\n ChatBotService.ɵfac = function ChatBotService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || ChatBotService)(i0.ɵɵinject(ChatBotApiService));\n };\n ChatBotService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: ChatBotService,\n factory: ChatBotService.ɵfac,\n providedIn: 'root'\n });\n return ChatBotService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet ChatBotV2Service = /*#__PURE__*/(() => {\n class ChatBotV2Service {\n constructor(chatBotV2ApiService) {\n this.chatBotV2ApiService = chatBotV2ApiService;\n }\n sendMessageV2(businessId, partnerId, marketId, customInstructions, messages, brandId) {\n const messageRequest = new SendMessageV2Request({\n businessId,\n partnerId,\n marketId,\n customInstructions,\n messages,\n brandId\n });\n return this.chatBotV2ApiService.sendMessageV2(messageRequest);\n }\n }\n ChatBotV2Service.ɵfac = function ChatBotV2Service_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || ChatBotV2Service)(i0.ɵɵinject(ChatBotV2ApiService));\n };\n ChatBotV2Service.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: ChatBotV2Service,\n factory: ChatBotV2Service.ɵfac,\n providedIn: 'root'\n });\n return ChatBotV2Service;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet BlogConnectionService = /*#__PURE__*/(() => {\n class BlogConnectionService {\n constructor(blogConnectionApiService) {\n this.blogConnectionApiService = blogConnectionApiService;\n }\n create(createBlogConnectionRequest) {\n return this.blogConnectionApiService.create(createBlogConnectionRequest);\n }\n list(listBlogConnectionRequest) {\n return this.blogConnectionApiService.list(listBlogConnectionRequest);\n }\n update(updateBlogConnectionRequest) {\n return this.blogConnectionApiService.update(updateBlogConnectionRequest);\n }\n get(getBlogConnectionRequest) {\n return this.blogConnectionApiService.get(getBlogConnectionRequest);\n }\n delete(deleteBlogConnectionRequest) {\n return this.blogConnectionApiService.delete(deleteBlogConnectionRequest);\n }\n }\n BlogConnectionService.ɵfac = function BlogConnectionService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || BlogConnectionService)(i0.ɵɵinject(BlogConnectionApiService));\n };\n BlogConnectionService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: BlogConnectionService,\n factory: BlogConnectionService.ɵfac,\n providedIn: 'root'\n });\n return BlogConnectionService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet WordpressPluginService = /*#__PURE__*/(() => {\n class WordpressPluginService {\n constructor(wordpressPluginApiService) {\n this.wordpressPluginApiService = wordpressPluginApiService;\n }\n status(statusRequestInterface) {\n return this.wordpressPluginApiService.status(statusRequestInterface);\n }\n getCategories(categoryRequestInterface) {\n return this.wordpressPluginApiService.getCategories(categoryRequestInterface);\n }\n publishPost(PublishPostRequestInterface) {\n return this.wordpressPluginApiService.publishPost(PublishPostRequestInterface);\n }\n getAuthors(authorsRequestInterface) {\n return this.wordpressPluginApiService.getAuthors(authorsRequestInterface);\n }\n repostBlogPost(RepostBlogPostRequestInterface) {\n return this.wordpressPluginApiService.repostBlogPost(RepostBlogPostRequestInterface);\n }\n }\n WordpressPluginService.ɵfac = function WordpressPluginService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || WordpressPluginService)(i0.ɵɵinject(WordpressPluginApiService));\n };\n WordpressPluginService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: WordpressPluginService,\n factory: WordpressPluginService.ɵfac,\n providedIn: 'root'\n });\n return WordpressPluginService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\nlet BlogPostsService = /*#__PURE__*/(() => {\n class BlogPostsService {\n constructor(blogPostsApiService) {\n this.blogPostsApiService = blogPostsApiService;\n }\n getMultiBlogPosts(getMultiBlogPostRequestInterface) {\n return this.blogPostsApiService.getMultiBlogPosts(getMultiBlogPostRequestInterface);\n }\n updateBlogPost(updateBlogPostRequestInterface) {\n return this.blogPostsApiService.updateBlogPost(updateBlogPostRequestInterface);\n }\n deleteBlogPost(DeleteBlogPostRequestInterface) {\n return this.blogPostsApiService.deleteBlogPost(DeleteBlogPostRequestInterface);\n }\n }\n BlogPostsService.ɵfac = function BlogPostsService_Factory(__ngFactoryType__) {\n return new (__ngFactoryType__ || BlogPostsService)(i0.ɵɵinject(BlogPostsApiService));\n };\n BlogPostsService.ɵprov = /* @__PURE__ */i0.ɵɵdefineInjectable({\n token: BlogPostsService,\n factory: BlogPostsService.ɵfac,\n providedIn: 'root'\n });\n return BlogPostsService;\n})();\n(() => {\n (typeof ngDevMode === \"undefined\" || ngDevMode) && void 0;\n})();\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { Access, Action, ActionType, AiInstructionService, AiInstructions, Ancestry, Author$1 as Author, AuthorsRequest, AuthorsResponse, BlogConnection, BlogConnectionService, BlogImage, BlogPost, BlogPostCustomization, BlogPostsService, BlogVideo, CallToAction, CallToActionCallToActionType, Category$1 as Category, CategoryRequest, CategoryResponse, ChatBotService, ChatBotV2Service, ChatMessage, Collection, ContentGenerationService, ContentLength, CreateBlogConnectionRequest, CreateBlogConnectionResponse, CreateCommonAiInstructionsRequest, CreateCommonAiInstructionsResponse, CreateImageRequest, CreateImageResponse, CreateMultilocationPostRequest, CreateMultilocationPostResponse, CreatePostTemplateRequest, CreatePostTemplateResponse, CuratedContentPost, DateRangeFilter, DeleteBlogConnectionRequest, DeleteBlogPostRequest, DeleteHashtagsRequest, DeleteMultilocationPostRequest, DeletePostRequest, DeletePostTemplateRequest, DeleteSocialPostRequest, EditMultilocationPostRequest, EditMultilocationPostResponse, EndChatRequest, Error, Event, FacebookPostStats, FieldMask, GenerateAiRequest, GenerateAiResponse, GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GeneratePostsRequest, GeneratePostsResponse, GeneratePostsResponsePost, GenerateType, GetBlogConnectionRequest, GetBlogConnectionResponse, GetCommonAiInstructionsRequest, GetCommonAiInstructionsResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse, GetMultiBlogPostsRequest, GetMultiBlogPostsResponse, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, GetPostTemplateRequest, GetPostTemplateResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, HashTagsService, Hashtag, Image, ImageBlob, ImageCreated, ImageUrl, LinkV2, Links, ListBlogConnectionRequest, ListBlogConnectionResponse, ListCuratedContentRequest, ListCuratedContentResponse, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListTenorGifsRequest, ListTenorGifsResponse, ListUnsplashImagesRequest, ListUnsplashImagesResponse, Location, Media, MediaEntry, MediaProperty, MediaType, MediaUploadRequest, MediaUploadResponse, MessageLength, MetaData, MetadataV2, MultiResponse, MultilocationPost, MultilocationPostApiService, MultilocationPostError, MultilocationPostsService, PartnerListScheduledPostsResponse, PartnerListScheduledSocialPostsRequest, PartnerListScheduledSocialPostsRequestFilters, Photo, PixabayImage, PixabayImageService, PostAction, PostActionV2, PostContentV2, PostCustomization, PostCustomizationV2, PostData, PostEvent, PostEventV2, PostMediaV2, PostPerformanceApiService, PostPerformanceService, PostStatusV2, PostTemplate, PostTemplatesService, PostType, PostTypeV2, PostingStatus, PublishPostRequest, PublishPostResponse, RemoveFromMultilocationPostRequest, RemoveReason, ReplaceHashtagsRequest, RepostBlogPostRequest, RepostSocialPostRequest, Response, Role, SSIDPostType, SchedulePostRequest, SchedulePostResponse, SchedulePostStatus, ScheduleToAllPagesRequest, ScheduleToAllPagesResponse, SearchHashtagRequest, SearchHashtagResponse, SendMessageRequest, SendMessageResponse, SendMessageV2Request, SendMessageV2Response, Social, SocialPost, SocialPostData, SocialPostDeletionStatus, SocialPostOutput, SocialPostRequest, SocialPostResponse, SocialPostService, SocialPostStats, SocialPostV2, SocialPostsService, SocialPostsV2Service, Source, StartChatRequest, StartChatResponse, StatusRequest, StatusResponse, SubAncestry, SuggestMessageRequest, SuggestMessageResponse, Tags, TemplateType, TenorGif, TenorGifMediaMapEntry, TenorGifsService, TenorMediaObject, TikTokCustomization, TikTokCustomizationV2, TwitterPostStats, UnsplashImageService, UpdateBlogConnectionRequest, UpdateBlogPostRequest, UpdateCommonAiInstructionsRequest, UpdateCommonAiInstructionsResponse, UpdatePostTemplateRequest, UpdateSocialPostRequest, UpdateSocialPostResponse, UploadToStorageRequest, UploadToStorageResponse, UploadedMedia, Urls, User, UserLink, WordpressPluginService, YoutubeCustomization, YoutubeCustomizationPrivacyStatus, YoutubeCustomizationV2, YoutubeCustomizationV2PrivacyStatusV2 };\n"],"mappings":"iNAmPA,SAASA,EAAoBC,EAASC,EAAO,CAC3C,OAAI,OAAOA,GAAU,SACZA,EAEFD,EAAQC,CAAK,CACtB,CA8sCA,SAASC,EAAoBF,EAASC,EAAO,CAC3C,OAAI,OAAOA,GAAU,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CACA,OAAA5F,EAAwB,UAAO,SAAyCkF,EAAmB,CACzF,OAAO,IAAKA,GAAqBlF,EACnC,EACAA,EAAwB,WAA0BmF,EAAmB,CACnE,MAAOnF,EACP,QAASA,EAAwB,UACjC,WAAY,MACd,CAAC,EACMA,CACT,GAAG,EA6hBCC,IAAqC,IAAM,CAC7C,MAAMA,CAAqB,CACzB,YAAY8G,EAAwB,CAClC,KAAK,uBAAyBA,CAChC,CACA,qBAAqBC,EAAY,CAC/B,OAAO,KAAK,uBAAuB,oBAAoBA,CAAU,CACnE,CACA,YAAYC,EAAO,CACjB,OAAO,KAAK,uBAAuB,aAAaA,CAAK,CACvD,CACA,cAAcC,EAAK,CACjB,IAAMC,EAAa,IAAIhI,EAAS,CAC9B,IAAK+H,CACP,CAAC,EACD,OAAO,KAAK,uBAAuB,cAAcC,CAAU,CAC7D,CACA,mBAAmBD,EAAK,CACtB,IAAMC,EAAa,IAAIhI,EAAS,CAC9B,IAAK+H,CACP,CAAC,EACD,OAAO,KAAK,uBAAuB,mBAAmBC,CAAU,CAClE,CACA,iBAAiBC,EAAcnB,EAAY,CACzC,IAAMoB,EAAgB,IAAIjI,EAAwB,CAChD,aAAcgI,EACd,eAAgBnB,CAClB,CAAC,EACD,OAAO,KAAK,uBAAuB,iBAAiBoB,CAAa,CACnE,CACF,CACA,OAAApH,EAAqB,UAAO,SAAsCiF,EAAmB,CACnF,OAAO,IAAKA,GAAqBjF,GAAyB6G,EAAS9G,EAAuB,CAAC,CAC7F,EACAC,EAAqB,WAA0BkF,EAAmB,CAChE,MAAOlF,EACP,QAASA,EAAqB,UAC9B,WAAY,MACd,CAAC,EACMA,CACT,GAAG","names":["enumStringToValue$e","enumRef","value","enumStringToValue$9","enumStringToValue$7","enumStringToValue$4","FieldMask","CallToActionCallToActionType","SocialPostDeletionStatus","MessageLength","PostType","PostingStatus","YoutubeCustomizationPrivacyStatus","SocialPostService","TemplateType","RemoveReason","PostStatusV2","PostTypeV2","YoutubeCustomizationV2PrivacyStatusV2","Author$1","BlogPostCustomization","CallToAction","Category$1","Error","Event","MediaEntry","MetaData","SSIDPostType","SchedulePostStatus","SocialPost","SocialPostData","TikTokCustomization","YoutubeCustomization","Location","MultilocationPost","MultilocationPostError","PostAction","PostCustomization","PostEvent","FacebookPostStats","SocialPostStats","TwitterPostStats","CreateMultilocationPostRequest","CreateMultilocationPostResponse","DeleteMultilocationPostRequest","DeleteSocialPostRequest","EditMultilocationPostRequest","EditMultilocationPostResponse","GetMultiSocialPostStatsRequest","GetMultiSocialPostStatsResponse","GetMultiSocialPostsRequest","GetMultiSocialPostsResponse","GetMultilocationPostRequest","GetMultilocationPostResponse","GetScheduledPostCountRequest","GetScheduledPostCountResponse","ListMultilocationPostsForBrandRequest","ListMultilocationPostsForBrandResponse","ListSocialPostsRequest","ListSocialPostsResponse","RemoveFromMultilocationPostRequest","SchedulePostRequest","SchedulePostResponse","ScheduleToAllPagesRequest","ScheduleToAllPagesResponse","SuggestMessageRequest","SuggestMessageResponse","LinkV2","MetadataV2","PostActionV2","PostContentV2","PostCustomizationV2","PostEventV2","PostMediaV2","SocialPostV2","TikTokCustomizationV2","YoutubeCustomizationV2","CreateImageRequest","CreateImageResponse","ImageBlob","ImageCreated","ImageUrl","RepostSocialPostRequest","SocialPostOutput","SocialPostRequest","SocialPostResponse","UpdateSocialPostRequest","UpdateSocialPostResponse","environment","hostMap","HostService","SocialPostsApiService","SocialPostsService","MultilocationPostApiService","SocialPostsV2ApiService","SocialPostsV2Service","init_vendasta_social_posts","__esmMin","init_core","init_esm","init_http","init_operators","_FieldMask","proto","m","kwargs","toReturn","Author","_BlogPostCustomization","_CallToAction","Category","_Error","_Event","_MediaEntry","_MetaData","_SSIDPostType","_SchedulePostStatus","_SocialPost","_SocialPostData","_TikTokCustomization","_YoutubeCustomization","_Location","_MultilocationPost","_MultilocationPostError","_PostAction","_PostCustomization","_PostEvent","_FacebookPostStats","_SocialPostStats","_TwitterPostStats","_CreateMultilocationPostRequest","_CreateMultilocationPostResponse","_DeleteMultilocationPostRequest","_DeleteSocialPostRequest","_EditMultilocationPostRequest","_EditMultilocationPostResponse","_GetMultiSocialPostStatsRequest","_GetMultiSocialPostStatsResponse","_GetMultiSocialPostsRequest","_GetMultiSocialPostsResponse","_GetMultilocationPostRequest","_GetMultilocationPostResponse","_GetScheduledPostCountRequest","_GetScheduledPostCountResponse","_ListMultilocationPostsForBrandRequest","_ListMultilocationPostsForBrandResponse","_ListSocialPostsRequest","_ListSocialPostsResponse","_RemoveFromMultilocationPostRequest","_SchedulePostRequest","_SchedulePostResponse","_ScheduleToAllPagesRequest","_ScheduleToAllPagesResponse","_SuggestMessageRequest","_SuggestMessageResponse","_LinkV2","_MetadataV2","_PostActionV2","_PostContentV2","_PostCustomizationV2","_PostEventV2","_PostMediaV2","_SocialPostV2","_TikTokCustomizationV2","_YoutubeCustomizationV2","_CreateImageRequest","_CreateImageResponse","_ImageBlob","_ImageCreated","_ImageUrl","_RepostSocialPostRequest","_SocialPostOutput","_SocialPostRequest","_SocialPostResponse","_UpdateSocialPostRequest","_UpdateSocialPostResponse","__ngFactoryType__","ɵɵdefineInjectable","inject","HttpClient","HttpHeaders","r","request","map","resp","__spreadProps","__spreadValues","socialPostsApiService","start","end","socialServiceIds","businessId","partnerId","cursor","tags","pageSize","req","internalPostIds","res","of","prompt","postLength","templateType","metadata","ɵɵinject","socialpostV2ApiService","socialPost","image","url","urlRequest","socialPostId","repostRequest"],"x_google_ignoreList":[0]}