@vendasta/social-posts 4.0.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/_generated/host.service.mjs +25 -0
- package/esm2020/lib/_internal/enums/index.mjs +9 -0
- package/esm2020/lib/_internal/enums/multilocation-post.enum.mjs +12 -0
- package/esm2020/lib/_internal/enums/social-posts.enum.mjs +39 -0
- package/esm2020/lib/_internal/index.mjs +16 -0
- package/esm2020/lib/_internal/interfaces/api.interface.mjs +2 -0
- package/esm2020/lib/_internal/interfaces/field-mask.interface.mjs +8 -0
- package/esm2020/lib/_internal/interfaces/index.mjs +2 -0
- package/esm2020/lib/_internal/interfaces/multilocation-post.interface.mjs +8 -0
- package/esm2020/lib/_internal/interfaces/pixabay-image.interface.mjs +8 -0
- package/esm2020/lib/_internal/interfaces/post-templates.interface.mjs +8 -0
- package/esm2020/lib/_internal/interfaces/social-post-stats.interface.mjs +8 -0
- package/esm2020/lib/_internal/interfaces/social-posts.interface.mjs +8 -0
- package/esm2020/lib/_internal/interfaces/tenor-gif.interface.mjs +8 -0
- package/esm2020/lib/_internal/multilocation-post.api.service.mjs +64 -0
- package/esm2020/lib/_internal/objects/api.mjs +1246 -0
- package/esm2020/lib/_internal/objects/field-mask.mjs +27 -0
- package/esm2020/lib/_internal/objects/index.mjs +15 -0
- package/esm2020/lib/_internal/objects/multilocation-post.mjs +115 -0
- package/esm2020/lib/_internal/objects/pixabay-image.mjs +138 -0
- package/esm2020/lib/_internal/objects/post-templates.mjs +75 -0
- package/esm2020/lib/_internal/objects/social-post-stats.mjs +127 -0
- package/esm2020/lib/_internal/objects/social-posts.mjs +272 -0
- package/esm2020/lib/_internal/objects/tenor-gif.mjs +106 -0
- package/esm2020/lib/_internal/partner-social-posts.api.service.mjs +46 -0
- package/esm2020/lib/_internal/pixabay-images.api.service.mjs +41 -0
- package/esm2020/lib/_internal/post-templates.api.service.mjs +59 -0
- package/esm2020/lib/_internal/social-posts.api.service.mjs +70 -0
- package/esm2020/lib/_internal/tenor-gifs.api.service.mjs +46 -0
- package/esm2020/lib/index.mjs +5 -0
- package/esm2020/lib/multilocation-posts.service.mjs +76 -0
- package/esm2020/lib/post-templates.service.mjs +72 -0
- package/esm2020/lib/social-posts.service.mjs +43 -0
- package/esm2020/public_api.mjs +5 -0
- package/esm2020/vendasta-social-posts.mjs +5 -0
- package/fesm2015/vendasta-social-posts.mjs +2617 -0
- package/fesm2015/vendasta-social-posts.mjs.map +1 -0
- package/fesm2020/vendasta-social-posts.mjs +2617 -0
- package/fesm2020/vendasta-social-posts.mjs.map +1 -0
- package/lib/_generated/host.service.d.ts +5 -9
- package/lib/_internal/index.d.ts +2 -0
- package/lib/_internal/interfaces/api.interface.d.ts +31 -0
- package/lib/_internal/interfaces/index.d.ts +3 -1
- package/lib/_internal/interfaces/pixabay-image.interface.d.ts +26 -0
- package/lib/_internal/interfaces/tenor-gif.interface.d.ts +20 -0
- package/lib/_internal/multilocation-post.api.service.d.ts +4 -0
- package/lib/_internal/objects/api.d.ts +49 -0
- package/lib/_internal/objects/index.d.ts +3 -1
- package/lib/_internal/objects/pixabay-image.d.ts +31 -0
- package/lib/_internal/objects/tenor-gif.d.ts +31 -0
- package/lib/_internal/partner-social-posts.api.service.d.ts +4 -0
- package/lib/_internal/pixabay-images.api.service.d.ts +16 -0
- package/lib/_internal/post-templates.api.service.d.ts +4 -0
- package/lib/_internal/social-posts.api.service.d.ts +4 -0
- package/lib/_internal/tenor-gifs.api.service.d.ts +17 -0
- package/lib/multilocation-posts.service.d.ts +3 -0
- package/lib/post-templates.service.d.ts +3 -0
- package/lib/social-posts.service.d.ts +3 -0
- package/package.json +24 -16
- package/src/README.md +1 -0
- package/vendasta-social-posts.d.ts +1 -4
- package/bundles/vendasta-social-posts.umd.js +0 -3709
- package/bundles/vendasta-social-posts.umd.js.map +0 -1
- package/bundles/vendasta-social-posts.umd.min.js +0 -2
- package/bundles/vendasta-social-posts.umd.min.js.map +0 -1
- package/esm2015/lib/_generated/host.service.js +0 -104
- package/esm2015/lib/_internal/enums/index.js +0 -13
- package/esm2015/lib/_internal/enums/multilocation-post.enum.js +0 -19
- package/esm2015/lib/_internal/enums/social-posts.enum.js +0 -67
- package/esm2015/lib/_internal/index.js +0 -18
- package/esm2015/lib/_internal/interfaces/api.interface.js +0 -447
- package/esm2015/lib/_internal/interfaces/field-mask.interface.js +0 -19
- package/esm2015/lib/_internal/interfaces/index.js +0 -5
- package/esm2015/lib/_internal/interfaces/multilocation-post.interface.js +0 -59
- package/esm2015/lib/_internal/interfaces/post-templates.interface.js +0 -45
- package/esm2015/lib/_internal/interfaces/social-post-stats.interface.js +0 -57
- package/esm2015/lib/_internal/interfaces/social-posts.interface.js +0 -127
- package/esm2015/lib/_internal/multilocation-post.api.service.js +0 -136
- package/esm2015/lib/_internal/objects/api.js +0 -1805
- package/esm2015/lib/_internal/objects/field-mask.js +0 -53
- package/esm2015/lib/_internal/objects/index.js +0 -17
- package/esm2015/lib/_internal/objects/multilocation-post.js +0 -197
- package/esm2015/lib/_internal/objects/post-templates.js +0 -127
- package/esm2015/lib/_internal/objects/social-post-stats.js +0 -207
- package/esm2015/lib/_internal/objects/social-posts.js +0 -446
- package/esm2015/lib/_internal/partner-social-posts.api.service.js +0 -90
- package/esm2015/lib/_internal/post-templates.api.service.js +0 -122
- package/esm2015/lib/_internal/social-posts.api.service.js +0 -155
- package/esm2015/lib/index.js +0 -9
- package/esm2015/lib/multilocation-posts.service.js +0 -145
- package/esm2015/lib/post-templates.service.js +0 -138
- package/esm2015/lib/social-posts.service.js +0 -85
- package/esm2015/public_api.js +0 -9
- package/esm2015/vendasta-social-posts.js +0 -13
- package/esm5/lib/_generated/host.service.js +0 -115
- package/esm5/lib/_internal/enums/index.js +0 -13
- package/esm5/lib/_internal/enums/multilocation-post.enum.js +0 -19
- package/esm5/lib/_internal/enums/social-posts.enum.js +0 -67
- package/esm5/lib/_internal/index.js +0 -18
- package/esm5/lib/_internal/interfaces/api.interface.js +0 -447
- package/esm5/lib/_internal/interfaces/field-mask.interface.js +0 -19
- package/esm5/lib/_internal/interfaces/index.js +0 -5
- package/esm5/lib/_internal/interfaces/multilocation-post.interface.js +0 -59
- package/esm5/lib/_internal/interfaces/post-templates.interface.js +0 -45
- package/esm5/lib/_internal/interfaces/social-post-stats.interface.js +0 -57
- package/esm5/lib/_internal/interfaces/social-posts.interface.js +0 -127
- package/esm5/lib/_internal/multilocation-post.api.service.js +0 -163
- package/esm5/lib/_internal/objects/api.js +0 -2015
- package/esm5/lib/_internal/objects/field-mask.js +0 -59
- package/esm5/lib/_internal/objects/index.js +0 -17
- package/esm5/lib/_internal/objects/multilocation-post.js +0 -215
- package/esm5/lib/_internal/objects/post-templates.js +0 -133
- package/esm5/lib/_internal/objects/social-post-stats.js +0 -225
- package/esm5/lib/_internal/objects/social-posts.js +0 -482
- package/esm5/lib/_internal/partner-social-posts.api.service.js +0 -100
- package/esm5/lib/_internal/post-templates.api.service.js +0 -145
- package/esm5/lib/_internal/social-posts.api.service.js +0 -186
- package/esm5/lib/index.js +0 -9
- package/esm5/lib/multilocation-posts.service.js +0 -191
- package/esm5/lib/post-templates.service.js +0 -182
- package/esm5/lib/social-posts.service.js +0 -106
- package/esm5/public_api.js +0 -9
- package/esm5/vendasta-social-posts.js +0 -13
- package/fesm2015/vendasta-social-posts.js +0 -3220
- package/fesm2015/vendasta-social-posts.js.map +0 -1
- package/fesm5/vendasta-social-posts.js +0 -3668
- package/fesm5/vendasta-social-posts.js.map +0 -1
- package/vendasta-social-posts.metadata.json +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["ng://@vendasta/social-posts/lib/_internal/objects/field-mask.ts","ng://@vendasta/social-posts/lib/_internal/objects/multilocation-post.ts","ng://@vendasta/social-posts/lib/_internal/objects/post-templates.ts","ng://@vendasta/social-posts/lib/_internal/enums/social-posts.enum.ts","ng://@vendasta/social-posts/lib/_internal/enums/multilocation-post.enum.ts","ng://@vendasta/social-posts/lib/_internal/objects/social-posts.ts","ng://@vendasta/social-posts/lib/_internal/objects/social-post-stats.ts","ng://@vendasta/social-posts/lib/_internal/objects/api.ts","node_modules/tslib/tslib.es6.js","ng://@vendasta/social-posts/lib/_generated/host.service.ts","ng://@vendasta/social-posts/lib/_internal/social-posts.api.service.ts","ng://@vendasta/social-posts/lib/social-posts.service.ts","ng://@vendasta/social-posts/lib/_internal/post-templates.api.service.ts","ng://@vendasta/social-posts/lib/post-templates.service.ts","ng://@vendasta/social-posts/lib/_internal/multilocation-post.api.service.ts","ng://@vendasta/social-posts/lib/multilocation-posts.service.ts","ng://@vendasta/social-posts/lib/_internal/partner-social-posts.api.service.ts"],"names":["FieldMask","kwargs","Object","assign","this","fromProto","proto","m","prototype","toApiJson","toReturn","paths","Location","socialServiceIds","accountGroupId","MultilocationPost","originalScheduledDate","Date","originalLocations","map","editedLocations","deletedLocations","brandId","multilocationId","originalText","originalMedia","originalGifs","originalVideos","MultilocationPostError","socialServiceId","errorReason","PostTemplate","created","updated","postDateTime","templateId","title","postText","gmbPostCustomization","imageUrl","imagePath","imageSize","previews","options","videoUrl","LEARN_MORE","BOOK","ORDER","SHOP","SIGN_UP","GET_OFFER","CALL","NONE","FAILED","IN_PROGRESS","POSTING_IN_PROGRESS","POSTING_FAILED","POSTING_COMPLETED","TWITTER","FACEBOOK","LINKED_IN","GOOGLE_PLUS","GOOGLE_MY_BUSINESS","UNKNOWN","INSTAGRAM","REMOVE_REASON_EDIT","REMOVE_REASON_DELETE","enumStringToValue","enumRef","value","CallToAction","actionType","e.CallToActionCallToActionType","url","Error","reason","category","Event","startDatetime","endDatetime","SchedulePostStatus","error","socialPostId","socialServiceLabel","SocialPost","posted","deletionStatus","e.SocialPostDeletionStatus","service","e.SocialPostService","scheduled","status","e.PostingStatus","event","callToAction","businessId","isError","permalink","profileUrl","profileImageUrl","name","username","parentId","imageUrls","linkPreviewImageUrl","multilocationPostId","SocialPostData","scheduleFor","FacebookPostStats","commentCount","parseInt","shareCount","likeCount","reactions","peopleReached","hasLike","canLike","SocialPostStats","facebookPostStats","twitterPostStats","TwitterPostStats","internalPostId","favourites","retweets","hasFavourited","hasRetweeted","CreateMultilocationPostRequest","scheduledDate","locations","text","media","gifs","videos","CreateMultilocationPostResponse","post","errors","CreatePostTemplateRequest","CreatePostTemplateResponse","DateRangeFilter","beginRange","endRange","DeleteMultilocationPostRequest","DeletePostTemplateRequest","DeleteSocialPostRequest","EditMultilocationPostRequest","fieldMask","EditMultilocationPostResponse","PartnerListScheduledSocialPostsRequestFilters","dateRange","partnerId","GetMultiSocialPostStatsRequest","internalPostIds","GetMultiSocialPostStatsResponse","socialPostStats","GetMultiSocialPostsRequest","GetMultiSocialPostsResponse","socialPosts","GetMultilocationPostRequest","GetMultilocationPostResponse","multilocationPost","GetPostTemplateRequest","GetPostTemplateResponse","postTemplate","GetScheduledPostCountRequest","GetScheduledPostCountResponse","count","ListMultilocationPostsForBrandRequest","startDate","endDate","pageSize","cursor","ListMultilocationPostsForBrandResponse","multilocationPosts","failedSocialPosts","nextCursor","hasMore","ListPostTemplatesRequest","ListPostTemplatesResponse","ListSocialPostsRequest","start","end","tags","ListSocialPostsResponse","PartnerListScheduledPostsResponse","PartnerListScheduledSocialPostsRequest","filters","RemoveFromMultilocationPostRequest","e.RemoveReason","SchedulePostRequest","socialPost","SchedulePostResponse","statuses","ScheduleToAllPagesRequest","ScheduleToAllPagesResponse","UpdatePostTemplateRequest","__assign","t","s","i","n","arguments","length","p","hasOwnProperty","call","apply","HostService","environmentService","host","_host","getEnvironment","Environment","LOCAL","TEST","DEMO","PROD","httpsHost","_httpsHost","hostWithScheme","httpsHostWithScheme","Injectable","args","providedIn","EnvironmentService","SocialPostsApiService","http","hostService","apiOptions","headers","HttpHeaders","Content-Type","withCredentials","list","r","request","pipe","resp","share","deleteSocialPost","observe","scheduleToAllPages","schedule","getMultiSocialPosts","getMultiSocialPostStats","getScheduledPostCount","HttpClient","SocialPostsService","socialPostsApiService","req","res","of","PostTemplatesApiService","updatePostTemplate","createPostTemplate","getPostTemplate","listPostTemplates","deletePostTemplate","PostTemplatesService","MultilocationPostApiService","createMultilocationPost","editMultilocationPost","removeFromMultilocationPost","listMultilocationPostsForBrand","deleteMultilocationPost","getMultilocationPost","MultilocationPostsService","multilocationApiService","PartnerSocialPostsApiService","listScheduled","listScheduledByCreated"],"mappings":"giBA0BI,SAAAA,EAAYC,GACHA,GAGLC,OAAOC,OAAOC,KAAMH,GAW5B,OArBWD,EAAAK,UAAP,SAAiBC,OACTC,EAAI,IAAIP,EAEZ,OADAO,EAAIL,OAAOC,OAAOI,EAAGD,IAWzBN,EAAAQ,UAAAC,UAAA,eACUC,EAEF,GAGJ,MAD0B,oBAAfN,KAAKO,QAAwBD,EAAgB,MAAIN,KAAKO,OAC1DD,GAEfV,kBCdI,SAAAY,EAAYX,GACHA,GAGLC,OAAOC,OAAOC,KAAMH,GAY5B,OAtBWW,EAAAP,UAAP,SAAiBC,OACTC,EAAI,IAAIK,EAEZ,OADAL,EAAIL,OAAOC,OAAOI,EAAGD,IAWzBM,EAAAJ,UAAAC,UAAA,eACUC,EAEF,GAIJ,MAFqC,oBAA1BN,KAAKS,mBAAmCH,EAA2B,iBAAIN,KAAKS,kBACpD,oBAAxBT,KAAKU,iBAAiCJ,EAAyB,eAAIN,KAAKU,gBAC5EJ,GAEfE,kBAwBI,SAAAG,EAAYd,GACHA,GAGLC,OAAOC,OAAOC,KAAMH,GAoB5B,OAlCWc,EAAAV,UAAP,SAAiBC,OACTC,EAAI,IAAIQ,EAMZ,OALAR,EAAIL,OAAOC,OAAOI,EAAGD,GACjBA,EAAMU,wBAAwBT,EAAES,sBAAwB,IAAIC,KAAKX,EAAMU,wBACvEV,EAAMY,oBAAoBX,EAAEW,kBAAoBZ,EAAMY,kBAAkBC,IAAIP,EAASP,YACrFC,EAAMc,kBAAkBb,EAAEa,gBAAkBd,EAAMc,gBAAgBD,IAAIP,EAASP,YAC/EC,EA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AA,8BA5BfjB,EAAAA,WAAUC,KAAA,CAAC,CAACC,WAAY,oDALJuB,EAAAA,kBACbvC,oJAIR","sourcesContent":["// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Objects.\n// *********************************\nimport * as i from '../interfaces';\n\nimport * as e from '../enums';\n\nexport function enumStringToValue<E>(enumRef: any, value: string): E {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\n\nexport class FieldMask implements i.FieldMaskInterface {\n paths: string[];\n\n static fromProto(proto: any): FieldMask {\n let m = new FieldMask();\n m = Object.assign(m, proto);\n return m;\n }\n\n constructor(kwargs?: i.FieldMaskInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.paths !== 'undefined') {toReturn['paths'] = this.paths;}\n return toReturn;\n }\n}\n\n","// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Objects.\n// *********************************\nimport * as i from '../interfaces';\n\nimport * as e from '../enums';\n\nexport function enumStringToValue<E>(enumRef: any, value: string): E {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\n\nexport class Location implements i.LocationInterface {\n socialServiceIds: string[];\n accountGroupId: string;\n\n static fromProto(proto: any): Location {\n let m = new Location();\n m = Object.assign(m, proto);\n return m;\n }\n\n constructor(kwargs?: i.LocationInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.socialServiceIds !== 'undefined') {toReturn['socialServiceIds'] = this.socialServiceIds;}\n if (typeof this.accountGroupId !== 'undefined') {toReturn['accountGroupId'] = this.accountGroupId;}\n return toReturn;\n }\n}\n\nexport class MultilocationPost implements i.MultilocationPostInterface {\n brandId: string;\n multilocationId: string;\n originalText: string;\n originalScheduledDate: Date;\n originalMedia: string[];\n originalLocations: Location[];\n editedLocations: Location[];\n deletedLocations: Location[];\n originalGifs: string[];\n originalVideos: string[];\n\n static fromProto(proto: any): MultilocationPost {\n let m = new MultilocationPost();\n m = Object.assign(m, proto);\n if (proto.originalScheduledDate) {m.originalScheduledDate = new Date(proto.originalScheduledDate);}\n if (proto.originalLocations) {m.originalLocations = proto.originalLocations.map(Location.fromProto);}\n if (proto.editedLocations) {m.editedLocations = proto.editedLocations.map(Location.fromProto);}\n if (proto.deletedLocations) {m.deletedLocations = proto.deletedLocations.map(Location.fromProto);}\n return m;\n }\n\n constructor(kwargs?: i.MultilocationPostInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.brandId !== 'undefined') {toReturn['brandId'] = this.brandId;}\n if (typeof this.multilocationId !== 'undefined') {toReturn['multilocationId'] = this.multilocationId;}\n if (typeof this.originalText !== 'undefined') {toReturn['originalText'] = this.originalText;}\n if (typeof this.originalScheduledDate !== 'undefined' && this.originalScheduledDate !== null) {toReturn['originalScheduledDate'] = 'toApiJson' in this.originalScheduledDate ? (this.originalScheduledDate as any).toApiJson() : this.originalScheduledDate;}\n if (typeof this.originalMedia !== 'undefined') {toReturn['originalMedia'] = this.originalMedia;}\n if (typeof this.originalLocations !== 'undefined' && this.originalLocations !== null) {toReturn['originalLocations'] = 'toApiJson' in this.originalLocations ? (this.originalLocations as any).toApiJson() : this.originalLocations;}\n if (typeof this.editedLocations !== 'undefined' && this.editedLocations !== null) {toReturn['editedLocations'] = 'toApiJson' in this.editedLocations ? (this.editedLocations as any).toApiJson() : this.editedLocations;}\n if (typeof this.deletedLocations !== 'undefined' && this.deletedLocations !== null) {toReturn['deletedLocations'] = 'toApiJson' in this.deletedLocations ? (this.deletedLocations as any).toApiJson() : this.deletedLocations;}\n if (typeof this.originalGifs !== 'undefined') {toReturn['originalGifs'] = this.originalGifs;}\n if (typeof this.originalVideos !== 'undefined') {toReturn['originalVideos'] = this.originalVideos;}\n return toReturn;\n }\n}\n\nexport class MultilocationPostError implements i.MultilocationPostErrorInterface {\n socialServiceId: string;\n accountGroupId: string;\n errorReason: string;\n\n static fromProto(proto: any): MultilocationPostError {\n let m = new MultilocationPostError();\n m = Object.assign(m, proto);\n return m;\n }\n\n constructor(kwargs?: i.MultilocationPostErrorInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.socialServiceId !== 'undefined') {toReturn['socialServiceId'] = this.socialServiceId;}\n if (typeof this.accountGroupId !== 'undefined') {toReturn['accountGroupId'] = this.accountGroupId;}\n if (typeof this.errorReason !== 'undefined') {toReturn['errorReason'] = this.errorReason;}\n return toReturn;\n }\n}\n\n","// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Objects.\n// *********************************\nimport * as i from '../interfaces';\n\nimport * as e from '../enums';\n\nexport function enumStringToValue<E>(enumRef: any, value: string): E {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\n\nexport class PostTemplate implements i.PostTemplateInterface {\n accountGroupId: string;\n templateId: string;\n title: string;\n created: Date;\n updated: Date;\n postText: string;\n postDateTime: Date;\n gmbPostCustomization: string;\n imageUrl: string;\n imagePath: string;\n imageSize: string;\n previews: string;\n options: string[];\n videoUrl: string;\n\n static fromProto(proto: any): PostTemplate {\n let m = new PostTemplate();\n m = Object.assign(m, proto);\n if (proto.created) {m.created = new Date(proto.created);}\n if (proto.updated) {m.updated = new Date(proto.updated);}\n if (proto.postDateTime) {m.postDateTime = new Date(proto.postDateTime);}\n return m;\n }\n\n constructor(kwargs?: i.PostTemplateInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.accountGroupId !== 'undefined') {toReturn['accountGroupId'] = this.accountGroupId;}\n if (typeof this.templateId !== 'undefined') {toReturn['templateId'] = this.templateId;}\n if (typeof this.title !== 'undefined') {toReturn['title'] = this.title;}\n if (typeof this.created !== 'undefined' && this.created !== null) {toReturn['created'] = 'toApiJson' in this.created ? (this.created as any).toApiJson() : this.created;}\n if (typeof this.updated !== 'undefined' && this.updated !== null) {toReturn['updated'] = 'toApiJson' in this.updated ? (this.updated as any).toApiJson() : this.updated;}\n if (typeof this.postText !== 'undefined') {toReturn['postText'] = this.postText;}\n if (typeof this.postDateTime !== 'undefined' && this.postDateTime !== null) {toReturn['postDateTime'] = 'toApiJson' in this.postDateTime ? (this.postDateTime as any).toApiJson() : this.postDateTime;}\n if (typeof this.gmbPostCustomization !== 'undefined') {toReturn['gmbPostCustomization'] = this.gmbPostCustomization;}\n if (typeof this.imageUrl !== 'undefined') {toReturn['imageUrl'] = this.imageUrl;}\n if (typeof this.imagePath !== 'undefined') {toReturn['imagePath'] = this.imagePath;}\n if (typeof this.imageSize !== 'undefined') {toReturn['imageSize'] = this.imageSize;}\n if (typeof this.previews !== 'undefined') {toReturn['previews'] = this.previews;}\n if (typeof this.options !== 'undefined') {toReturn['options'] = this.options;}\n if (typeof this.videoUrl !== 'undefined') {toReturn['videoUrl'] = this.videoUrl;}\n return toReturn;\n }\n}\n\n","// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\n\nexport enum CallToActionCallToActionType {\n LEARN_MORE = 0,\n BOOK = 1,\n ORDER = 2,\n SHOP = 3,\n SIGN_UP = 4,\n GET_OFFER = 5,\n CALL = 6,\n}\n\nexport enum SocialPostDeletionStatus {\n NONE = 0,\n FAILED = 1,\n IN_PROGRESS = 2,\n}\n\nexport enum PostingStatus {\n POSTING_IN_PROGRESS = 0,\n POSTING_FAILED = 1,\n POSTING_COMPLETED = 2,\n}\n\nexport enum SocialPostService {\n TWITTER = 0,\n FACEBOOK = 1,\n LINKED_IN = 2,\n GOOGLE_PLUS = 3,\n GOOGLE_MY_BUSINESS = 4,\n UNKNOWN = 5,\n INSTAGRAM = 6,\n}\n","// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Enums.\n// *********************************\n\nexport enum RemoveReason {\n REMOVE_REASON_EDIT = 0,\n REMOVE_REASON_DELETE = 1,\n}\n","// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Objects.\n// *********************************\nimport * as i from '../interfaces';\n\nimport * as e from '../enums';\n\nexport function enumStringToValue<E>(enumRef: any, value: string): E {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\n\nexport class CallToAction implements i.CallToActionInterface {\n url: string;\n actionType: e.CallToActionCallToActionType;\n\n static fromProto(proto: any): CallToAction {\n let m = new CallToAction();\n m = Object.assign(m, proto);\n if (proto.actionType) {m.actionType = enumStringToValue<e.CallToActionCallToActionType>(e.CallToActionCallToActionType, proto.actionType);}\n return m;\n }\n\n constructor(kwargs?: i.CallToActionInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.url !== 'undefined') {toReturn['url'] = this.url;}\n if (typeof this.actionType !== 'undefined') {toReturn['actionType'] = this.actionType;}\n return toReturn;\n }\n}\n\nexport class Error implements i.ErrorInterface {\n reason: string;\n category: string;\n\n static fromProto(proto: any): Error {\n let m = new Error();\n m = Object.assign(m, proto);\n return m;\n }\n\n constructor(kwargs?: i.ErrorInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.reason !== 'undefined') {toReturn['reason'] = this.reason;}\n if (typeof this.category !== 'undefined') {toReturn['category'] = this.category;}\n return toReturn;\n }\n}\n\nexport class Event implements i.EventInterface {\n title: string;\n startDatetime: Date;\n endDatetime: Date;\n\n static fromProto(proto: any): Event {\n let m = new Event();\n m = Object.assign(m, proto);\n if (proto.startDatetime) {m.startDatetime = new Date(proto.startDatetime);}\n if (proto.endDatetime) {m.endDatetime = new Date(proto.endDatetime);}\n return m;\n }\n\n constructor(kwargs?: i.EventInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.title !== 'undefined') {toReturn['title'] = this.title;}\n if (typeof this.startDatetime !== 'undefined' && this.startDatetime !== null) {toReturn['startDatetime'] = 'toApiJson' in this.startDatetime ? (this.startDatetime as any).toApiJson() : this.startDatetime;}\n if (typeof this.endDatetime !== 'undefined' && this.endDatetime !== null) {toReturn['endDatetime'] = 'toApiJson' in this.endDatetime ? (this.endDatetime as any).toApiJson() : this.endDatetime;}\n return toReturn;\n }\n}\n\nexport class SchedulePostStatus implements i.SchedulePostStatusInterface {\n socialPostId: string;\n socialServiceId: string;\n socialServiceLabel: string;\n error: Error;\n\n static fromProto(proto: any): SchedulePostStatus {\n let m = new SchedulePostStatus();\n m = Object.assign(m, proto);\n if (proto.error) {m.error = Error.fromProto(proto.error);}\n return m;\n }\n\n constructor(kwargs?: i.SchedulePostStatusInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.socialPostId !== 'undefined') {toReturn['socialPostId'] = this.socialPostId;}\n if (typeof this.socialServiceId !== 'undefined') {toReturn['socialServiceId'] = this.socialServiceId;}\n if (typeof this.socialServiceLabel !== 'undefined') {toReturn['socialServiceLabel'] = this.socialServiceLabel;}\n if (typeof this.error !== 'undefined' && this.error !== null) {toReturn['error'] = 'toApiJson' in this.error ? (this.error as any).toApiJson() : this.error;}\n return toReturn;\n }\n}\n\nexport class SocialPost implements i.SocialPostInterface {\n businessId: string;\n socialPostId: string;\n postText: string;\n posted: Date;\n isError: boolean;\n deletionStatus: e.SocialPostDeletionStatus;\n service: e.SocialPostService;\n permalink: string;\n created: Date;\n profileUrl: string;\n profileImageUrl: string;\n scheduled: Date;\n status: e.PostingStatus;\n imageUrl: string;\n name: string;\n username: string;\n parentId: string;\n socialServiceId: string;\n event: Event;\n callToAction: CallToAction;\n videoUrl: string;\n error: Error;\n imageUrls: string[];\n linkPreviewImageUrl: string;\n brandId: string;\n multilocationPostId: string;\n\n static fromProto(proto: any): SocialPost {\n let m = new SocialPost();\n m = Object.assign(m, proto);\n if (proto.posted) {m.posted = new Date(proto.posted);}\n if (proto.deletionStatus) {m.deletionStatus = enumStringToValue<e.SocialPostDeletionStatus>(e.SocialPostDeletionStatus, proto.deletionStatus);}\n if (proto.service) {m.service = enumStringToValue<e.SocialPostService>(e.SocialPostService, proto.service);}\n if (proto.created) {m.created = new Date(proto.created);}\n if (proto.scheduled) {m.scheduled = new Date(proto.scheduled);}\n if (proto.status) {m.status = enumStringToValue<e.PostingStatus>(e.PostingStatus, proto.status);}\n if (proto.event) {m.event = Event.fromProto(proto.event);}\n if (proto.callToAction) {m.callToAction = CallToAction.fromProto(proto.callToAction);}\n if (proto.error) {m.error = Error.fromProto(proto.error);}\n return m;\n }\n\n constructor(kwargs?: i.SocialPostInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.businessId !== 'undefined') {toReturn['businessId'] = this.businessId;}\n if (typeof this.socialPostId !== 'undefined') {toReturn['socialPostId'] = this.socialPostId;}\n if (typeof this.postText !== 'undefined') {toReturn['postText'] = this.postText;}\n if (typeof this.posted !== 'undefined' && this.posted !== null) {toReturn['posted'] = 'toApiJson' in this.posted ? (this.posted as any).toApiJson() : this.posted;}\n if (typeof this.isError !== 'undefined') {toReturn['isError'] = this.isError;}\n if (typeof this.deletionStatus !== 'undefined') {toReturn['deletionStatus'] = this.deletionStatus;}\n if (typeof this.service !== 'undefined') {toReturn['service'] = this.service;}\n if (typeof this.permalink !== 'undefined') {toReturn['permalink'] = this.permalink;}\n if (typeof this.created !== 'undefined' && this.created !== null) {toReturn['created'] = 'toApiJson' in this.created ? (this.created as any).toApiJson() : this.created;}\n if (typeof this.profileUrl !== 'undefined') {toReturn['profileUrl'] = this.profileUrl;}\n if (typeof this.profileImageUrl !== 'undefined') {toReturn['profileImageUrl'] = this.profileImageUrl;}\n if (typeof this.scheduled !== 'undefined' && this.scheduled !== null) {toReturn['scheduled'] = 'toApiJson' in this.scheduled ? (this.scheduled as any).toApiJson() : this.scheduled;}\n if (typeof this.status !== 'undefined') {toReturn['status'] = this.status;}\n if (typeof this.imageUrl !== 'undefined') {toReturn['imageUrl'] = this.imageUrl;}\n if (typeof this.name !== 'undefined') {toReturn['name'] = this.name;}\n if (typeof this.username !== 'undefined') {toReturn['username'] = this.username;}\n if (typeof this.parentId !== 'undefined') {toReturn['parentId'] = this.parentId;}\n if (typeof this.socialServiceId !== 'undefined') {toReturn['socialServiceId'] = this.socialServiceId;}\n if (typeof this.event !== 'undefined' && this.event !== null) {toReturn['event'] = 'toApiJson' in this.event ? (this.event as any).toApiJson() : this.event;}\n if (typeof this.callToAction !== 'undefined' && this.callToAction !== null) {toReturn['callToAction'] = 'toApiJson' in this.callToAction ? (this.callToAction as any).toApiJson() : this.callToAction;}\n if (typeof this.videoUrl !== 'undefined') {toReturn['videoUrl'] = this.videoUrl;}\n if (typeof this.error !== 'undefined' && this.error !== null) {toReturn['error'] = 'toApiJson' in this.error ? (this.error as any).toApiJson() : this.error;}\n if (typeof this.imageUrls !== 'undefined') {toReturn['imageUrls'] = this.imageUrls;}\n if (typeof this.linkPreviewImageUrl !== 'undefined') {toReturn['linkPreviewImageUrl'] = this.linkPreviewImageUrl;}\n if (typeof this.brandId !== 'undefined') {toReturn['brandId'] = this.brandId;}\n if (typeof this.multilocationPostId !== 'undefined') {toReturn['multilocationPostId'] = this.multilocationPostId;}\n return toReturn;\n }\n}\n\nexport class SocialPostData implements i.SocialPostDataInterface {\n postText: string;\n imageUrl: string;\n scheduleFor: Date;\n\n static fromProto(proto: any): SocialPostData {\n let m = new SocialPostData();\n m = Object.assign(m, proto);\n if (proto.scheduleFor) {m.scheduleFor = new Date(proto.scheduleFor);}\n return m;\n }\n\n constructor(kwargs?: i.SocialPostDataInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.postText !== 'undefined') {toReturn['postText'] = this.postText;}\n if (typeof this.imageUrl !== 'undefined') {toReturn['imageUrl'] = this.imageUrl;}\n if (typeof this.scheduleFor !== 'undefined' && this.scheduleFor !== null) {toReturn['scheduleFor'] = 'toApiJson' in this.scheduleFor ? (this.scheduleFor as any).toApiJson() : this.scheduleFor;}\n return toReturn;\n }\n}\n\n","// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Objects.\n// *********************************\nimport * as i from '../interfaces';\n\nimport * as e from '../enums';\n\nexport function enumStringToValue<E>(enumRef: any, value: string): E {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\n\nexport class FacebookPostStats implements i.FacebookPostStatsInterface {\n commentCount: number;\n shareCount: number;\n likeCount: number;\n hasLike: boolean;\n canLike: boolean;\n reactions: number;\n peopleReached: number;\n\n static fromProto(proto: any): FacebookPostStats {\n let m = new FacebookPostStats();\n m = Object.assign(m, proto);\n if (proto.commentCount) {m.commentCount = parseInt(proto.commentCount, 10);}\n if (proto.shareCount) {m.shareCount = parseInt(proto.shareCount, 10);}\n if (proto.likeCount) {m.likeCount = parseInt(proto.likeCount, 10);}\n if (proto.reactions) {m.reactions = parseInt(proto.reactions, 10);}\n if (proto.peopleReached) {m.peopleReached = parseInt(proto.peopleReached, 10);}\n return m;\n }\n\n constructor(kwargs?: i.FacebookPostStatsInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.commentCount !== 'undefined') {toReturn['commentCount'] = this.commentCount;}\n if (typeof this.shareCount !== 'undefined') {toReturn['shareCount'] = this.shareCount;}\n if (typeof this.likeCount !== 'undefined') {toReturn['likeCount'] = this.likeCount;}\n if (typeof this.hasLike !== 'undefined') {toReturn['hasLike'] = this.hasLike;}\n if (typeof this.canLike !== 'undefined') {toReturn['canLike'] = this.canLike;}\n if (typeof this.reactions !== 'undefined') {toReturn['reactions'] = this.reactions;}\n if (typeof this.peopleReached !== 'undefined') {toReturn['peopleReached'] = this.peopleReached;}\n return toReturn;\n }\n}\n\nexport class SocialPostStats implements i.SocialPostStatsInterface {\n internalPostId: string;\n facebookPostStats: FacebookPostStats;\n twitterPostStats: TwitterPostStats;\n\n static fromProto(proto: any): SocialPostStats {\n let m = new SocialPostStats();\n m = Object.assign(m, proto);\n if (proto.facebookPostStats) {m.facebookPostStats = FacebookPostStats.fromProto(proto.facebookPostStats);}\n if (proto.twitterPostStats) {m.twitterPostStats = TwitterPostStats.fromProto(proto.twitterPostStats);}\n return m;\n }\n\n constructor(kwargs?: i.SocialPostStatsInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.internalPostId !== 'undefined') {toReturn['internalPostId'] = this.internalPostId;}\n if (typeof this.facebookPostStats !== 'undefined' && this.facebookPostStats !== null) {toReturn['facebookPostStats'] = 'toApiJson' in this.facebookPostStats ? (this.facebookPostStats as any).toApiJson() : this.facebookPostStats;}\n if (typeof this.twitterPostStats !== 'undefined' && this.twitterPostStats !== null) {toReturn['twitterPostStats'] = 'toApiJson' in this.twitterPostStats ? (this.twitterPostStats as any).toApiJson() : this.twitterPostStats;}\n return toReturn;\n }\n}\n\nexport class TwitterPostStats implements i.TwitterPostStatsInterface {\n favourites: number;\n hasFavourited: boolean;\n retweets: number;\n hasRetweeted: boolean;\n\n static fromProto(proto: any): TwitterPostStats {\n let m = new TwitterPostStats();\n m = Object.assign(m, proto);\n if (proto.favourites) {m.favourites = parseInt(proto.favourites, 10);}\n if (proto.retweets) {m.retweets = parseInt(proto.retweets, 10);}\n return m;\n }\n\n constructor(kwargs?: i.TwitterPostStatsInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.favourites !== 'undefined') {toReturn['favourites'] = this.favourites;}\n if (typeof this.hasFavourited !== 'undefined') {toReturn['hasFavourited'] = this.hasFavourited;}\n if (typeof this.retweets !== 'undefined') {toReturn['retweets'] = this.retweets;}\n if (typeof this.hasRetweeted !== 'undefined') {toReturn['hasRetweeted'] = this.hasRetweeted;}\n return toReturn;\n }\n}\n\n","// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// Objects.\n// *********************************\nimport * as i from '../interfaces';\nimport { FieldMask } from './field-mask';\nimport { Location, MultilocationPost, MultilocationPostError } from './multilocation-post';\nimport { PostTemplate } from './post-templates';\nimport { SocialPost, SocialPostData, SchedulePostStatus } from './social-posts';\nimport { SocialPostStats } from './social-post-stats';\nimport * as e from '../enums';\n\nexport function enumStringToValue<E>(enumRef: any, value: string): E {\n if (typeof value === 'number') {\n return value;\n }\n return enumRef[value];\n}\n\nexport class CreateMultilocationPostRequest implements i.CreateMultilocationPostRequestInterface {\n brandId: string;\n text: string;\n media: string[];\n scheduledDate: Date;\n locations: Location[];\n gifs: string[];\n videos: string[];\n\n static fromProto(proto: any): CreateMultilocationPostRequest {\n let m = new CreateMultilocationPostRequest();\n m = Object.assign(m, proto);\n if (proto.scheduledDate) {m.scheduledDate = new Date(proto.scheduledDate);}\n if (proto.locations) {m.locations = proto.locations.map(Location.fromProto);}\n return m;\n }\n\n constructor(kwargs?: i.CreateMultilocationPostRequestInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.brandId !== 'undefined') {toReturn['brandId'] = this.brandId;}\n if (typeof this.text !== 'undefined') {toReturn['text'] = this.text;}\n if (typeof this.media !== 'undefined') {toReturn['media'] = this.media;}\n if (typeof this.scheduledDate !== 'undefined' && this.scheduledDate !== null) {toReturn['scheduledDate'] = 'toApiJson' in this.scheduledDate ? (this.scheduledDate as any).toApiJson() : this.scheduledDate;}\n if (typeof this.locations !== 'undefined' && this.locations !== null) {toReturn['locations'] = 'toApiJson' in this.locations ? (this.locations as any).toApiJson() : this.locations;}\n if (typeof this.gifs !== 'undefined') {toReturn['gifs'] = this.gifs;}\n if (typeof this.videos !== 'undefined') {toReturn['videos'] = this.videos;}\n return toReturn;\n }\n}\n\nexport class CreateMultilocationPostResponse implements i.CreateMultilocationPostResponseInterface {\n post: MultilocationPost;\n errors: MultilocationPostError[];\n\n static fromProto(proto: any): CreateMultilocationPostResponse {\n let m = new CreateMultilocationPostResponse();\n m = Object.assign(m, proto);\n if (proto.post) {m.post = MultilocationPost.fromProto(proto.post);}\n if (proto.errors) {m.errors = proto.errors.map(MultilocationPostError.fromProto);}\n return m;\n }\n\n constructor(kwargs?: i.CreateMultilocationPostResponseInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.post !== 'undefined' && this.post !== null) {toReturn['post'] = 'toApiJson' in this.post ? (this.post as any).toApiJson() : this.post;}\n if (typeof this.errors !== 'undefined' && this.errors !== null) {toReturn['errors'] = 'toApiJson' in this.errors ? (this.errors as any).toApiJson() : this.errors;}\n return toReturn;\n }\n}\n\nexport class CreatePostTemplateRequest implements i.CreatePostTemplateRequestInterface {\n accountGroupId: string;\n title: string;\n postText: string;\n postDateTime: Date;\n gmbPostCustomization: string;\n imageUrl: string;\n imagePath: string;\n imageSize: string;\n previews: string;\n options: string[];\n videoUrl: string;\n\n static fromProto(proto: any): CreatePostTemplateRequest {\n let m = new CreatePostTemplateRequest();\n m = Object.assign(m, proto);\n if (proto.postDateTime) {m.postDateTime = new Date(proto.postDateTime);}\n return m;\n }\n\n constructor(kwargs?: i.CreatePostTemplateRequestInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.accountGroupId !== 'undefined') {toReturn['accountGroupId'] = this.accountGroupId;}\n if (typeof this.title !== 'undefined') {toReturn['title'] = this.title;}\n if (typeof this.postText !== 'undefined') {toReturn['postText'] = this.postText;}\n if (typeof this.postDateTime !== 'undefined' && this.postDateTime !== null) {toReturn['postDateTime'] = 'toApiJson' in this.postDateTime ? (this.postDateTime as any).toApiJson() : this.postDateTime;}\n if (typeof this.gmbPostCustomization !== 'undefined') {toReturn['gmbPostCustomization'] = this.gmbPostCustomization;}\n if (typeof this.imageUrl !== 'undefined') {toReturn['imageUrl'] = this.imageUrl;}\n if (typeof this.imagePath !== 'undefined') {toReturn['imagePath'] = this.imagePath;}\n if (typeof this.imageSize !== 'undefined') {toReturn['imageSize'] = this.imageSize;}\n if (typeof this.previews !== 'undefined') {toReturn['previews'] = this.previews;}\n if (typeof this.options !== 'undefined') {toReturn['options'] = this.options;}\n if (typeof this.videoUrl !== 'undefined') {toReturn['videoUrl'] = this.videoUrl;}\n return toReturn;\n }\n}\n\nexport class CreatePostTemplateResponse implements i.CreatePostTemplateResponseInterface {\n templateId: string;\n\n static fromProto(proto: any): CreatePostTemplateResponse {\n let m = new CreatePostTemplateResponse();\n m = Object.assign(m, proto);\n return m;\n }\n\n constructor(kwargs?: i.CreatePostTemplateResponseInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.templateId !== 'undefined') {toReturn['templateId'] = this.templateId;}\n return toReturn;\n }\n}\n\nexport class DateRangeFilter implements i.DateRangeFilterInterface {\n beginRange: Date;\n endRange: Date;\n\n static fromProto(proto: any): DateRangeFilter {\n let m = new DateRangeFilter();\n m = Object.assign(m, proto);\n if (proto.beginRange) {m.beginRange = new Date(proto.beginRange);}\n if (proto.endRange) {m.endRange = new Date(proto.endRange);}\n return m;\n }\n\n constructor(kwargs?: i.DateRangeFilterInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.beginRange !== 'undefined' && this.beginRange !== null) {toReturn['beginRange'] = 'toApiJson' in this.beginRange ? (this.beginRange as any).toApiJson() : this.beginRange;}\n if (typeof this.endRange !== 'undefined' && this.endRange !== null) {toReturn['endRange'] = 'toApiJson' in this.endRange ? (this.endRange as any).toApiJson() : this.endRange;}\n return toReturn;\n }\n}\n\nexport class DeleteMultilocationPostRequest implements i.DeleteMultilocationPostRequestInterface {\n brandId: string;\n multilocationId: string;\n\n static fromProto(proto: any): DeleteMultilocationPostRequest {\n let m = new DeleteMultilocationPostRequest();\n m = Object.assign(m, proto);\n return m;\n }\n\n constructor(kwargs?: i.DeleteMultilocationPostRequestInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.brandId !== 'undefined') {toReturn['brandId'] = this.brandId;}\n if (typeof this.multilocationId !== 'undefined') {toReturn['multilocationId'] = this.multilocationId;}\n return toReturn;\n }\n}\n\nexport class DeletePostTemplateRequest implements i.DeletePostTemplateRequestInterface {\n accountGroupId: string;\n templateId: string;\n\n static fromProto(proto: any): DeletePostTemplateRequest {\n let m = new DeletePostTemplateRequest();\n m = Object.assign(m, proto);\n return m;\n }\n\n constructor(kwargs?: i.DeletePostTemplateRequestInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.accountGroupId !== 'undefined') {toReturn['accountGroupId'] = this.accountGroupId;}\n if (typeof this.templateId !== 'undefined') {toReturn['templateId'] = this.templateId;}\n return toReturn;\n }\n}\n\nexport class DeleteSocialPostRequest implements i.DeleteSocialPostRequestInterface {\n businessId: string;\n socialPostId: string;\n\n static fromProto(proto: any): DeleteSocialPostRequest {\n let m = new DeleteSocialPostRequest();\n m = Object.assign(m, proto);\n return m;\n }\n\n constructor(kwargs?: i.DeleteSocialPostRequestInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.businessId !== 'undefined') {toReturn['businessId'] = this.businessId;}\n if (typeof this.socialPostId !== 'undefined') {toReturn['socialPostId'] = this.socialPostId;}\n return toReturn;\n }\n}\n\nexport class EditMultilocationPostRequest implements i.EditMultilocationPostRequestInterface {\n brandId: string;\n multilocationId: string;\n text: string;\n media: string[];\n scheduledDate: Date;\n fieldMask: FieldMask;\n gifs: string[];\n videos: string[];\n locations: Location[];\n\n static fromProto(proto: any): EditMultilocationPostRequest {\n let m = new EditMultilocationPostRequest();\n m = Object.assign(m, proto);\n if (proto.scheduledDate) {m.scheduledDate = new Date(proto.scheduledDate);}\n if (proto.fieldMask) {m.fieldMask = FieldMask.fromProto(proto.fieldMask);}\n if (proto.locations) {m.locations = proto.locations.map(Location.fromProto);}\n return m;\n }\n\n constructor(kwargs?: i.EditMultilocationPostRequestInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.brandId !== 'undefined') {toReturn['brandId'] = this.brandId;}\n if (typeof this.multilocationId !== 'undefined') {toReturn['multilocationId'] = this.multilocationId;}\n if (typeof this.text !== 'undefined') {toReturn['text'] = this.text;}\n if (typeof this.media !== 'undefined') {toReturn['media'] = this.media;}\n if (typeof this.scheduledDate !== 'undefined' && this.scheduledDate !== null) {toReturn['scheduledDate'] = 'toApiJson' in this.scheduledDate ? (this.scheduledDate as any).toApiJson() : this.scheduledDate;}\n if (typeof this.fieldMask !== 'undefined' && this.fieldMask !== null) {toReturn['fieldMask'] = 'toApiJson' in this.fieldMask ? (this.fieldMask as any).toApiJson() : this.fieldMask;}\n if (typeof this.gifs !== 'undefined') {toReturn['gifs'] = this.gifs;}\n if (typeof this.videos !== 'undefined') {toReturn['videos'] = this.videos;}\n if (typeof this.locations !== 'undefined' && this.locations !== null) {toReturn['locations'] = 'toApiJson' in this.locations ? (this.locations as any).toApiJson() : this.locations;}\n return toReturn;\n }\n}\n\nexport class EditMultilocationPostResponse implements i.EditMultilocationPostResponseInterface {\n post: MultilocationPost;\n errors: MultilocationPostError[];\n\n static fromProto(proto: any): EditMultilocationPostResponse {\n let m = new EditMultilocationPostResponse();\n m = Object.assign(m, proto);\n if (proto.post) {m.post = MultilocationPost.fromProto(proto.post);}\n if (proto.errors) {m.errors = proto.errors.map(MultilocationPostError.fromProto);}\n return m;\n }\n\n constructor(kwargs?: i.EditMultilocationPostResponseInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.post !== 'undefined' && this.post !== null) {toReturn['post'] = 'toApiJson' in this.post ? (this.post as any).toApiJson() : this.post;}\n if (typeof this.errors !== 'undefined' && this.errors !== null) {toReturn['errors'] = 'toApiJson' in this.errors ? (this.errors as any).toApiJson() : this.errors;}\n return toReturn;\n }\n}\n\nexport class PartnerListScheduledSocialPostsRequestFilters implements i.PartnerListScheduledSocialPostsRequestFiltersInterface {\n dateRange: DateRangeFilter;\n partnerId: string;\n\n static fromProto(proto: any): PartnerListScheduledSocialPostsRequestFilters {\n let m = new PartnerListScheduledSocialPostsRequestFilters();\n m = Object.assign(m, proto);\n if (proto.dateRange) {m.dateRange = DateRangeFilter.fromProto(proto.dateRange);}\n return m;\n }\n\n constructor(kwargs?: i.PartnerListScheduledSocialPostsRequestFiltersInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.dateRange !== 'undefined' && this.dateRange !== null) {toReturn['dateRange'] = 'toApiJson' in this.dateRange ? (this.dateRange as any).toApiJson() : this.dateRange;}\n if (typeof this.partnerId !== 'undefined') {toReturn['partnerId'] = this.partnerId;}\n return toReturn;\n }\n}\n\nexport class GetMultiSocialPostStatsRequest implements i.GetMultiSocialPostStatsRequestInterface {\n internalPostIds: string[];\n businessId: string;\n partnerId: string;\n\n static fromProto(proto: any): GetMultiSocialPostStatsRequest {\n let m = new GetMultiSocialPostStatsRequest();\n m = Object.assign(m, proto);\n return m;\n }\n\n constructor(kwargs?: i.GetMultiSocialPostStatsRequestInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.internalPostIds !== 'undefined') {toReturn['internalPostIds'] = this.internalPostIds;}\n if (typeof this.businessId !== 'undefined') {toReturn['businessId'] = this.businessId;}\n if (typeof this.partnerId !== 'undefined') {toReturn['partnerId'] = this.partnerId;}\n return toReturn;\n }\n}\n\nexport class GetMultiSocialPostStatsResponse implements i.GetMultiSocialPostStatsResponseInterface {\n socialPostStats: SocialPostStats[];\n\n static fromProto(proto: any): GetMultiSocialPostStatsResponse {\n let m = new GetMultiSocialPostStatsResponse();\n m = Object.assign(m, proto);\n if (proto.socialPostStats) {m.socialPostStats = proto.socialPostStats.map(SocialPostStats.fromProto);}\n return m;\n }\n\n constructor(kwargs?: i.GetMultiSocialPostStatsResponseInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.socialPostStats !== 'undefined' && this.socialPostStats !== null) {toReturn['socialPostStats'] = 'toApiJson' in this.socialPostStats ? (this.socialPostStats as any).toApiJson() : this.socialPostStats;}\n return toReturn;\n }\n}\n\nexport class GetMultiSocialPostsRequest implements i.GetMultiSocialPostsRequestInterface {\n businessId: string;\n internalPostIds: string[];\n\n static fromProto(proto: any): GetMultiSocialPostsRequest {\n let m = new GetMultiSocialPostsRequest();\n m = Object.assign(m, proto);\n return m;\n }\n\n constructor(kwargs?: i.GetMultiSocialPostsRequestInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.businessId !== 'undefined') {toReturn['businessId'] = this.businessId;}\n if (typeof this.internalPostIds !== 'undefined') {toReturn['internalPostIds'] = this.internalPostIds;}\n return toReturn;\n }\n}\n\nexport class GetMultiSocialPostsResponse implements i.GetMultiSocialPostsResponseInterface {\n socialPosts: SocialPost[];\n\n static fromProto(proto: any): GetMultiSocialPostsResponse {\n let m = new GetMultiSocialPostsResponse();\n m = Object.assign(m, proto);\n if (proto.socialPosts) {m.socialPosts = proto.socialPosts.map(SocialPost.fromProto);}\n return m;\n }\n\n constructor(kwargs?: i.GetMultiSocialPostsResponseInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.socialPosts !== 'undefined' && this.socialPosts !== null) {toReturn['socialPosts'] = 'toApiJson' in this.socialPosts ? (this.socialPosts as any).toApiJson() : this.socialPosts;}\n return toReturn;\n }\n}\n\nexport class GetMultilocationPostRequest implements i.GetMultilocationPostRequestInterface {\n brandId: string;\n multilocationId: string;\n\n static fromProto(proto: any): GetMultilocationPostRequest {\n let m = new GetMultilocationPostRequest();\n m = Object.assign(m, proto);\n return m;\n }\n\n constructor(kwargs?: i.GetMultilocationPostRequestInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.brandId !== 'undefined') {toReturn['brandId'] = this.brandId;}\n if (typeof this.multilocationId !== 'undefined') {toReturn['multilocationId'] = this.multilocationId;}\n return toReturn;\n }\n}\n\nexport class GetMultilocationPostResponse implements i.GetMultilocationPostResponseInterface {\n multilocationPost: MultilocationPost;\n\n static fromProto(proto: any): GetMultilocationPostResponse {\n let m = new GetMultilocationPostResponse();\n m = Object.assign(m, proto);\n if (proto.multilocationPost) {m.multilocationPost = MultilocationPost.fromProto(proto.multilocationPost);}\n return m;\n }\n\n constructor(kwargs?: i.GetMultilocationPostResponseInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.multilocationPost !== 'undefined' && this.multilocationPost !== null) {toReturn['multilocationPost'] = 'toApiJson' in this.multilocationPost ? (this.multilocationPost as any).toApiJson() : this.multilocationPost;}\n return toReturn;\n }\n}\n\nexport class GetPostTemplateRequest implements i.GetPostTemplateRequestInterface {\n accountGroupId: string;\n templateId: string;\n\n static fromProto(proto: any): GetPostTemplateRequest {\n let m = new GetPostTemplateRequest();\n m = Object.assign(m, proto);\n return m;\n }\n\n constructor(kwargs?: i.GetPostTemplateRequestInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.accountGroupId !== 'undefined') {toReturn['accountGroupId'] = this.accountGroupId;}\n if (typeof this.templateId !== 'undefined') {toReturn['templateId'] = this.templateId;}\n return toReturn;\n }\n}\n\nexport class GetPostTemplateResponse implements i.GetPostTemplateResponseInterface {\n postTemplate: PostTemplate;\n\n static fromProto(proto: any): GetPostTemplateResponse {\n let m = new GetPostTemplateResponse();\n m = Object.assign(m, proto);\n if (proto.postTemplate) {m.postTemplate = PostTemplate.fromProto(proto.postTemplate);}\n return m;\n }\n\n constructor(kwargs?: i.GetPostTemplateResponseInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.postTemplate !== 'undefined' && this.postTemplate !== null) {toReturn['postTemplate'] = 'toApiJson' in this.postTemplate ? (this.postTemplate as any).toApiJson() : this.postTemplate;}\n return toReturn;\n }\n}\n\nexport class GetScheduledPostCountRequest implements i.GetScheduledPostCountRequestInterface {\n partnerId: string;\n businessId: string;\n socialServiceIds: string[];\n\n static fromProto(proto: any): GetScheduledPostCountRequest {\n let m = new GetScheduledPostCountRequest();\n m = Object.assign(m, proto);\n return m;\n }\n\n constructor(kwargs?: i.GetScheduledPostCountRequestInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.partnerId !== 'undefined') {toReturn['partnerId'] = this.partnerId;}\n if (typeof this.businessId !== 'undefined') {toReturn['businessId'] = this.businessId;}\n if (typeof this.socialServiceIds !== 'undefined') {toReturn['socialServiceIds'] = this.socialServiceIds;}\n return toReturn;\n }\n}\n\nexport class GetScheduledPostCountResponse implements i.GetScheduledPostCountResponseInterface {\n count: number;\n\n static fromProto(proto: any): GetScheduledPostCountResponse {\n let m = new GetScheduledPostCountResponse();\n m = Object.assign(m, proto);\n if (proto.count) {m.count = parseInt(proto.count, 10);}\n return m;\n }\n\n constructor(kwargs?: i.GetScheduledPostCountResponseInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.count !== 'undefined') {toReturn['count'] = this.count;}\n return toReturn;\n }\n}\n\nexport class ListMultilocationPostsForBrandRequest implements i.ListMultilocationPostsForBrandRequestInterface {\n brandId: string;\n startDate: Date;\n endDate: Date;\n cursor: string;\n pageSize: number;\n\n static fromProto(proto: any): ListMultilocationPostsForBrandRequest {\n let m = new ListMultilocationPostsForBrandRequest();\n m = Object.assign(m, proto);\n if (proto.startDate) {m.startDate = new Date(proto.startDate);}\n if (proto.endDate) {m.endDate = new Date(proto.endDate);}\n if (proto.pageSize) {m.pageSize = parseInt(proto.pageSize, 10);}\n return m;\n }\n\n constructor(kwargs?: i.ListMultilocationPostsForBrandRequestInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.brandId !== 'undefined') {toReturn['brandId'] = this.brandId;}\n if (typeof this.startDate !== 'undefined' && this.startDate !== null) {toReturn['startDate'] = 'toApiJson' in this.startDate ? (this.startDate as any).toApiJson() : this.startDate;}\n if (typeof this.endDate !== 'undefined' && this.endDate !== null) {toReturn['endDate'] = 'toApiJson' in this.endDate ? (this.endDate as any).toApiJson() : this.endDate;}\n if (typeof this.cursor !== 'undefined') {toReturn['cursor'] = this.cursor;}\n if (typeof this.pageSize !== 'undefined') {toReturn['pageSize'] = this.pageSize;}\n return toReturn;\n }\n}\n\nexport class ListMultilocationPostsForBrandResponse implements i.ListMultilocationPostsForBrandResponseInterface {\n multilocationPosts: MultilocationPost[];\n nextCursor: string;\n hasMore: boolean;\n failedSocialPosts: SocialPost[];\n\n static fromProto(proto: any): ListMultilocationPostsForBrandResponse {\n let m = new ListMultilocationPostsForBrandResponse();\n m = Object.assign(m, proto);\n if (proto.multilocationPosts) {m.multilocationPosts = proto.multilocationPosts.map(MultilocationPost.fromProto);}\n if (proto.failedSocialPosts) {m.failedSocialPosts = proto.failedSocialPosts.map(SocialPost.fromProto);}\n return m;\n }\n\n constructor(kwargs?: i.ListMultilocationPostsForBrandResponseInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.multilocationPosts !== 'undefined' && this.multilocationPosts !== null) {toReturn['multilocationPosts'] = 'toApiJson' in this.multilocationPosts ? (this.multilocationPosts as any).toApiJson() : this.multilocationPosts;}\n if (typeof this.nextCursor !== 'undefined') {toReturn['nextCursor'] = this.nextCursor;}\n if (typeof this.hasMore !== 'undefined') {toReturn['hasMore'] = this.hasMore;}\n if (typeof this.failedSocialPosts !== 'undefined' && this.failedSocialPosts !== null) {toReturn['failedSocialPosts'] = 'toApiJson' in this.failedSocialPosts ? (this.failedSocialPosts as any).toApiJson() : this.failedSocialPosts;}\n return toReturn;\n }\n}\n\nexport class ListPostTemplatesRequest implements i.ListPostTemplatesRequestInterface {\n accountGroupId: string;\n cursor: string;\n pageSize: number;\n\n static fromProto(proto: any): ListPostTemplatesRequest {\n let m = new ListPostTemplatesRequest();\n m = Object.assign(m, proto);\n if (proto.pageSize) {m.pageSize = parseInt(proto.pageSize, 10);}\n return m;\n }\n\n constructor(kwargs?: i.ListPostTemplatesRequestInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.accountGroupId !== 'undefined') {toReturn['accountGroupId'] = this.accountGroupId;}\n if (typeof this.cursor !== 'undefined') {toReturn['cursor'] = this.cursor;}\n if (typeof this.pageSize !== 'undefined') {toReturn['pageSize'] = this.pageSize;}\n return toReturn;\n }\n}\n\nexport class ListPostTemplatesResponse implements i.ListPostTemplatesResponseInterface {\n postTemplate: PostTemplate[];\n nextCursor: string;\n hasMore: boolean;\n\n static fromProto(proto: any): ListPostTemplatesResponse {\n let m = new ListPostTemplatesResponse();\n m = Object.assign(m, proto);\n if (proto.postTemplate) {m.postTemplate = proto.postTemplate.map(PostTemplate.fromProto);}\n return m;\n }\n\n constructor(kwargs?: i.ListPostTemplatesResponseInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.postTemplate !== 'undefined' && this.postTemplate !== null) {toReturn['postTemplate'] = 'toApiJson' in this.postTemplate ? (this.postTemplate as any).toApiJson() : this.postTemplate;}\n if (typeof this.nextCursor !== 'undefined') {toReturn['nextCursor'] = this.nextCursor;}\n if (typeof this.hasMore !== 'undefined') {toReturn['hasMore'] = this.hasMore;}\n return toReturn;\n }\n}\n\nexport class ListSocialPostsRequest implements i.ListSocialPostsRequestInterface {\n start: Date;\n end: Date;\n businessId: string;\n partnerId: string;\n cursor: string;\n socialServiceIds: string[];\n tags: string[];\n pageSize: number;\n\n static fromProto(proto: any): ListSocialPostsRequest {\n let m = new ListSocialPostsRequest();\n m = Object.assign(m, proto);\n if (proto.start) {m.start = new Date(proto.start);}\n if (proto.end) {m.end = new Date(proto.end);}\n if (proto.pageSize) {m.pageSize = parseInt(proto.pageSize, 10);}\n return m;\n }\n\n constructor(kwargs?: i.ListSocialPostsRequestInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.start !== 'undefined' && this.start !== null) {toReturn['start'] = 'toApiJson' in this.start ? (this.start as any).toApiJson() : this.start;}\n if (typeof this.end !== 'undefined' && this.end !== null) {toReturn['end'] = 'toApiJson' in this.end ? (this.end as any).toApiJson() : this.end;}\n if (typeof this.businessId !== 'undefined') {toReturn['businessId'] = this.businessId;}\n if (typeof this.partnerId !== 'undefined') {toReturn['partnerId'] = this.partnerId;}\n if (typeof this.cursor !== 'undefined') {toReturn['cursor'] = this.cursor;}\n if (typeof this.socialServiceIds !== 'undefined') {toReturn['socialServiceIds'] = this.socialServiceIds;}\n if (typeof this.tags !== 'undefined') {toReturn['tags'] = this.tags;}\n if (typeof this.pageSize !== 'undefined') {toReturn['pageSize'] = this.pageSize;}\n return toReturn;\n }\n}\n\nexport class ListSocialPostsResponse implements i.ListSocialPostsResponseInterface {\n socialPosts: SocialPost[];\n nextCursor: string;\n hasMore: boolean;\n\n static fromProto(proto: any): ListSocialPostsResponse {\n let m = new ListSocialPostsResponse();\n m = Object.assign(m, proto);\n if (proto.socialPosts) {m.socialPosts = proto.socialPosts.map(SocialPost.fromProto);}\n return m;\n }\n\n constructor(kwargs?: i.ListSocialPostsResponseInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.socialPosts !== 'undefined' && this.socialPosts !== null) {toReturn['socialPosts'] = 'toApiJson' in this.socialPosts ? (this.socialPosts as any).toApiJson() : this.socialPosts;}\n if (typeof this.nextCursor !== 'undefined') {toReturn['nextCursor'] = this.nextCursor;}\n if (typeof this.hasMore !== 'undefined') {toReturn['hasMore'] = this.hasMore;}\n return toReturn;\n }\n}\n\nexport class PartnerListScheduledPostsResponse implements i.PartnerListScheduledPostsResponseInterface {\n socialPosts: SocialPost[];\n nextCursor: string;\n hasMore: boolean;\n\n static fromProto(proto: any): PartnerListScheduledPostsResponse {\n let m = new PartnerListScheduledPostsResponse();\n m = Object.assign(m, proto);\n if (proto.socialPosts) {m.socialPosts = proto.socialPosts.map(SocialPost.fromProto);}\n return m;\n }\n\n constructor(kwargs?: i.PartnerListScheduledPostsResponseInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.socialPosts !== 'undefined' && this.socialPosts !== null) {toReturn['socialPosts'] = 'toApiJson' in this.socialPosts ? (this.socialPosts as any).toApiJson() : this.socialPosts;}\n if (typeof this.nextCursor !== 'undefined') {toReturn['nextCursor'] = this.nextCursor;}\n if (typeof this.hasMore !== 'undefined') {toReturn['hasMore'] = this.hasMore;}\n return toReturn;\n }\n}\n\nexport class PartnerListScheduledSocialPostsRequest implements i.PartnerListScheduledSocialPostsRequestInterface {\n cursor: string;\n filters: PartnerListScheduledSocialPostsRequestFilters;\n pageSize: number;\n\n static fromProto(proto: any): PartnerListScheduledSocialPostsRequest {\n let m = new PartnerListScheduledSocialPostsRequest();\n m = Object.assign(m, proto);\n if (proto.filters) {m.filters = PartnerListScheduledSocialPostsRequestFilters.fromProto(proto.filters);}\n if (proto.pageSize) {m.pageSize = parseInt(proto.pageSize, 10);}\n return m;\n }\n\n constructor(kwargs?: i.PartnerListScheduledSocialPostsRequestInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.cursor !== 'undefined') {toReturn['cursor'] = this.cursor;}\n if (typeof this.filters !== 'undefined' && this.filters !== null) {toReturn['filters'] = 'toApiJson' in this.filters ? (this.filters as any).toApiJson() : this.filters;}\n if (typeof this.pageSize !== 'undefined') {toReturn['pageSize'] = this.pageSize;}\n return toReturn;\n }\n}\n\nexport class RemoveFromMultilocationPostRequest implements i.RemoveFromMultilocationPostRequestInterface {\n reason: e.RemoveReason;\n brandId: string;\n multilocationId: string;\n locations: Location[];\n\n static fromProto(proto: any): RemoveFromMultilocationPostRequest {\n let m = new RemoveFromMultilocationPostRequest();\n m = Object.assign(m, proto);\n if (proto.reason) {m.reason = enumStringToValue<e.RemoveReason>(e.RemoveReason, proto.reason);}\n if (proto.locations) {m.locations = proto.locations.map(Location.fromProto);}\n return m;\n }\n\n constructor(kwargs?: i.RemoveFromMultilocationPostRequestInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.reason !== 'undefined') {toReturn['reason'] = this.reason;}\n if (typeof this.brandId !== 'undefined') {toReturn['brandId'] = this.brandId;}\n if (typeof this.multilocationId !== 'undefined') {toReturn['multilocationId'] = this.multilocationId;}\n if (typeof this.locations !== 'undefined' && this.locations !== null) {toReturn['locations'] = 'toApiJson' in this.locations ? (this.locations as any).toApiJson() : this.locations;}\n return toReturn;\n }\n}\n\nexport class SchedulePostRequest implements i.SchedulePostRequestInterface {\n socialPost: SocialPostData;\n socialServiceIds: string[];\n partnerId: string;\n businessId: string;\n\n static fromProto(proto: any): SchedulePostRequest {\n let m = new SchedulePostRequest();\n m = Object.assign(m, proto);\n if (proto.socialPost) {m.socialPost = SocialPostData.fromProto(proto.socialPost);}\n return m;\n }\n\n constructor(kwargs?: i.SchedulePostRequestInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.socialPost !== 'undefined' && this.socialPost !== null) {toReturn['socialPost'] = 'toApiJson' in this.socialPost ? (this.socialPost as any).toApiJson() : this.socialPost;}\n if (typeof this.socialServiceIds !== 'undefined') {toReturn['socialServiceIds'] = this.socialServiceIds;}\n if (typeof this.partnerId !== 'undefined') {toReturn['partnerId'] = this.partnerId;}\n if (typeof this.businessId !== 'undefined') {toReturn['businessId'] = this.businessId;}\n return toReturn;\n }\n}\n\nexport class SchedulePostResponse implements i.SchedulePostResponseInterface {\n statuses: SchedulePostStatus[];\n\n static fromProto(proto: any): SchedulePostResponse {\n let m = new SchedulePostResponse();\n m = Object.assign(m, proto);\n if (proto.statuses) {m.statuses = proto.statuses.map(SchedulePostStatus.fromProto);}\n return m;\n }\n\n constructor(kwargs?: i.SchedulePostResponseInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.statuses !== 'undefined' && this.statuses !== null) {toReturn['statuses'] = 'toApiJson' in this.statuses ? (this.statuses as any).toApiJson() : this.statuses;}\n return toReturn;\n }\n}\n\nexport class ScheduleToAllPagesRequest implements i.ScheduleToAllPagesRequestInterface {\n socialPost: SocialPostData;\n partnerId: string;\n businessId: string;\n\n static fromProto(proto: any): ScheduleToAllPagesRequest {\n let m = new ScheduleToAllPagesRequest();\n m = Object.assign(m, proto);\n if (proto.socialPost) {m.socialPost = SocialPostData.fromProto(proto.socialPost);}\n return m;\n }\n\n constructor(kwargs?: i.ScheduleToAllPagesRequestInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.socialPost !== 'undefined' && this.socialPost !== null) {toReturn['socialPost'] = 'toApiJson' in this.socialPost ? (this.socialPost as any).toApiJson() : this.socialPost;}\n if (typeof this.partnerId !== 'undefined') {toReturn['partnerId'] = this.partnerId;}\n if (typeof this.businessId !== 'undefined') {toReturn['businessId'] = this.businessId;}\n return toReturn;\n }\n}\n\nexport class ScheduleToAllPagesResponse implements i.ScheduleToAllPagesResponseInterface {\n statuses: SchedulePostStatus[];\n\n static fromProto(proto: any): ScheduleToAllPagesResponse {\n let m = new ScheduleToAllPagesResponse();\n m = Object.assign(m, proto);\n if (proto.statuses) {m.statuses = proto.statuses.map(SchedulePostStatus.fromProto);}\n return m;\n }\n\n constructor(kwargs?: i.ScheduleToAllPagesResponseInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.statuses !== 'undefined' && this.statuses !== null) {toReturn['statuses'] = 'toApiJson' in this.statuses ? (this.statuses as any).toApiJson() : this.statuses;}\n return toReturn;\n }\n}\n\nexport class UpdatePostTemplateRequest implements i.UpdatePostTemplateRequestInterface {\n accountGroupId: string;\n templateId: string;\n title: string;\n postText: string;\n postDateTime: Date;\n gmbPostCustomization: string;\n imageUrl: string;\n imagePath: string;\n imageSize: string;\n previews: string;\n options: string[];\n videoUrl: string;\n\n static fromProto(proto: any): UpdatePostTemplateRequest {\n let m = new UpdatePostTemplateRequest();\n m = Object.assign(m, proto);\n if (proto.postDateTime) {m.postDateTime = new Date(proto.postDateTime);}\n return m;\n }\n\n constructor(kwargs?: i.UpdatePostTemplateRequestInterface) {\n if (!kwargs) {\n return;\n }\n Object.assign(this, kwargs);\n }\n\n toApiJson(): object {\n const toReturn: {\n [key: string]: any;\n } = {};\n \n if (typeof this.accountGroupId !== 'undefined') {toReturn['accountGroupId'] = this.accountGroupId;}\n if (typeof this.templateId !== 'undefined') {toReturn['templateId'] = this.templateId;}\n if (typeof this.title !== 'undefined') {toReturn['title'] = this.title;}\n if (typeof this.postText !== 'undefined') {toReturn['postText'] = this.postText;}\n if (typeof this.postDateTime !== 'undefined' && this.postDateTime !== null) {toReturn['postDateTime'] = 'toApiJson' in this.postDateTime ? (this.postDateTime as any).toApiJson() : this.postDateTime;}\n if (typeof this.gmbPostCustomization !== 'undefined') {toReturn['gmbPostCustomization'] = this.gmbPostCustomization;}\n if (typeof this.imageUrl !== 'undefined') {toReturn['imageUrl'] = this.imageUrl;}\n if (typeof this.imagePath !== 'undefined') {toReturn['imagePath'] = this.imagePath;}\n if (typeof this.imageSize !== 'undefined') {toReturn['imageSize'] = this.imageSize;}\n if (typeof this.previews !== 'undefined') {toReturn['previews'] = this.previews;}\n if (typeof this.options !== 'undefined') {toReturn['options'] = this.options;}\n if (typeof this.videoUrl !== 'undefined') {toReturn['videoUrl'] = this.videoUrl;}\n return toReturn;\n }\n}\n\n","/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport function __createBinding(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}\r\n\r\nexport function __exportStar(m, exports) {\r\n for (var p in m) if (p !== \"default\" && !exports.hasOwnProperty(p)) exports[p] = m[p];\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n};\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];\r\n result.default = mod;\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, privateMap) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to get private field on non-instance\");\r\n }\r\n return privateMap.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, privateMap, value) {\r\n if (!privateMap.has(receiver)) {\r\n throw new TypeError(\"attempted to set private field on non-instance\");\r\n }\r\n privateMap.set(receiver, value);\r\n return value;\r\n}\r\n","import { Injectable } from '@angular/core';\nimport { EnvironmentService, Environment } from '@vendasta/core';\n\n@Injectable({providedIn: 'root'})\nexport class HostService {\n private _host: string;\n private _httpsHost: string;\n\n constructor(private environmentService: EnvironmentService) {\n }\n\n host(): string {\n if (this._host) {\n return this._host;\n }\n\n switch (this.environmentService.getEnvironment()) {\n case Environment.LOCAL:\n this._host = 'social-post.vendasta-local.com';\n break;\n case Environment.TEST:\n this._host = '';\n break;\n case Environment.DEMO:\n this._host = 'social-posts-demo.apigateway.co';\n break;\n case Environment.PROD:\n this._host = 'social-posts-prod.apigateway.co';\n break;\n }\n return this._host;\n }\n\n httpsHost(): string {\n if (this._httpsHost) {\n return this._httpsHost;\n }\n\n switch (this.environmentService.getEnvironment()) {\n case Environment.LOCAL:\n this._httpsHost = 'social-post.vendasta-local.com';\n break;\n case Environment.TEST:\n this._httpsHost = '';\n break;\n case Environment.DEMO:\n this._httpsHost = 'social-posts-api-demo.apigateway.co';\n break;\n case Environment.PROD:\n this._httpsHost = 'social-posts-api-prod.apigateway.co';\n break;\n }\n return this._httpsHost;\n }\n\n hostWithScheme(): string {\n const scheme = this.environmentService.getEnvironment() === Environment.LOCAL ? 'http://' : 'https://';\n return scheme + this.host()\n }\n\n httpsHostWithScheme(): string {\n const scheme = this.environmentService.getEnvironment() === Environment.LOCAL ? 'http://' : 'https://';\n return scheme + this.httpsHost()\n }\n}\n","// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nimport {Injectable} from '@angular/core';\nimport {\n DeleteSocialPostRequest,\n GetMultiSocialPostStatsRequest,\n GetMultiSocialPostStatsResponse,\n GetMultiSocialPostsRequest,\n GetMultiSocialPostsResponse,\n GetScheduledPostCountRequest,\n GetScheduledPostCountResponse,\n ListSocialPostsRequest,\n ListSocialPostsResponse,\n SchedulePostRequest,\n SchedulePostResponse,\n ScheduleToAllPagesRequest,\n ScheduleToAllPagesResponse,\n} from './objects/';\nimport {\n DeleteSocialPostRequestInterface,\n GetMultiSocialPostStatsRequestInterface,\n GetMultiSocialPostStatsResponseInterface,\n GetMultiSocialPostsRequestInterface,\n GetMultiSocialPostsResponseInterface,\n GetScheduledPostCountRequestInterface,\n GetScheduledPostCountResponseInterface,\n ListSocialPostsRequestInterface,\n ListSocialPostsResponseInterface,\n SchedulePostRequestInterface,\n SchedulePostResponseInterface,\n ScheduleToAllPagesRequestInterface,\n ScheduleToAllPagesResponseInterface,\n} from './interfaces/';\nimport {HttpHeaders, HttpClient, HttpResponse} from '@angular/common/http';\nimport {HostService} from '../_generated/host.service';\nimport {Observable} from 'rxjs';\nimport {map, share} from 'rxjs/operators';\n\n@Injectable({providedIn: 'root'})\nexport class SocialPostsApiService {\n\n constructor(private http: HttpClient, private hostService: HostService) {\n }\n\n private apiOptions(): {headers: HttpHeaders, withCredentials: boolean} {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n\n list(r: ListSocialPostsRequest | ListSocialPostsRequestInterface): Observable<ListSocialPostsResponse> {\n const request = ((<ListSocialPostsRequest>r).toApiJson) ? (<ListSocialPostsRequest>r) : new ListSocialPostsRequest(r);\n return this.http.post<ListSocialPostsResponseInterface>(this.hostService.hostWithScheme() + \"/socialposts.v1.SocialPosts/List\", request.toApiJson(), this.apiOptions())\n .pipe(\n map(resp => ListSocialPostsResponse.fromProto(resp)),\n share()\n );\n }\n deleteSocialPost(r: DeleteSocialPostRequest | DeleteSocialPostRequestInterface): Observable<HttpResponse<null>> {\n const request = ((<DeleteSocialPostRequest>r).toApiJson) ? (<DeleteSocialPostRequest>r) : new DeleteSocialPostRequest(r);\n return this.http.post<null>(this.hostService.hostWithScheme() + \"/socialposts.v1.SocialPosts/DeleteSocialPost\", request.toApiJson(), {...this.apiOptions(), observe: 'response'});\n }\n scheduleToAllPages(r: ScheduleToAllPagesRequest | ScheduleToAllPagesRequestInterface): Observable<ScheduleToAllPagesResponse> {\n const request = ((<ScheduleToAllPagesRequest>r).toApiJson) ? (<ScheduleToAllPagesRequest>r) : new ScheduleToAllPagesRequest(r);\n return this.http.post<ScheduleToAllPagesResponseInterface>(this.hostService.hostWithScheme() + \"/socialposts.v1.SocialPosts/ScheduleToAllPages\", request.toApiJson(), this.apiOptions())\n .pipe(\n map(resp => ScheduleToAllPagesResponse.fromProto(resp)),\n share()\n );\n }\n schedule(r: SchedulePostRequest | SchedulePostRequestInterface): Observable<SchedulePostResponse> {\n const request = ((<SchedulePostRequest>r).toApiJson) ? (<SchedulePostRequest>r) : new SchedulePostRequest(r);\n return this.http.post<SchedulePostResponseInterface>(this.hostService.hostWithScheme() + \"/socialposts.v1.SocialPosts/Schedule\", request.toApiJson(), this.apiOptions())\n .pipe(\n map(resp => SchedulePostResponse.fromProto(resp)),\n share()\n );\n }\n getMultiSocialPosts(r: GetMultiSocialPostsRequest | GetMultiSocialPostsRequestInterface): Observable<GetMultiSocialPostsResponse> {\n const request = ((<GetMultiSocialPostsRequest>r).toApiJson) ? (<GetMultiSocialPostsRequest>r) : new GetMultiSocialPostsRequest(r);\n return this.http.post<GetMultiSocialPostsResponseInterface>(this.hostService.hostWithScheme() + \"/socialposts.v1.SocialPosts/GetMultiSocialPosts\", request.toApiJson(), this.apiOptions())\n .pipe(\n map(resp => GetMultiSocialPostsResponse.fromProto(resp)),\n share()\n );\n }\n getMultiSocialPostStats(r: GetMultiSocialPostStatsRequest | GetMultiSocialPostStatsRequestInterface): Observable<GetMultiSocialPostStatsResponse> {\n const request = ((<GetMultiSocialPostStatsRequest>r).toApiJson) ? (<GetMultiSocialPostStatsRequest>r) : new GetMultiSocialPostStatsRequest(r);\n return this.http.post<GetMultiSocialPostStatsResponseInterface>(this.hostService.hostWithScheme() + \"/socialposts.v1.SocialPosts/GetMultiSocialPostStats\", request.toApiJson(), this.apiOptions())\n .pipe(\n map(resp => GetMultiSocialPostStatsResponse.fromProto(resp)),\n share()\n );\n }\n getScheduledPostCount(r: GetScheduledPostCountRequest | GetScheduledPostCountRequestInterface): Observable<GetScheduledPostCountResponse> {\n const request = ((<GetScheduledPostCountRequest>r).toApiJson) ? (<GetScheduledPostCountRequest>r) : new GetScheduledPostCountRequest(r);\n return this.http.post<GetScheduledPostCountResponseInterface>(this.hostService.hostWithScheme() + \"/socialposts.v1.SocialPosts/GetScheduledPostCount\", request.toApiJson(), this.apiOptions())\n .pipe(\n map(resp => GetScheduledPostCountResponse.fromProto(resp)),\n share()\n );\n }\n \n}\n","import { Injectable } from '@angular/core';\nimport { Observable, of } from 'rxjs';\nimport {\n ListSocialPostsRequest,\n ListSocialPostsResponse,\n GetMultiSocialPostsRequest,\n GetMultiSocialPostsResponse,\n GetScheduledPostCountRequest,\n GetScheduledPostCountResponse,\n} from './_internal/objects/api';\nimport { SocialPostsApiService } from './_internal/social-posts.api.service';\n\n@Injectable({providedIn: 'root'})\nexport class SocialPostsService {\n constructor(private socialPostsApiService: SocialPostsApiService) {\n }\n\n list(\n start: Date,\n end: Date,\n socialServiceIds: string[],\n businessId: string,\n partnerId: string,\n cursor: string,\n tags: string[],\n pageSize: number\n ):\n Observable<ListSocialPostsResponse> {\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\n getMultiSocialPosts(businessId: string, internalPostIds: string[]): Observable<GetMultiSocialPostsResponse> {\n if (!internalPostIds || internalPostIds.length === 0) {\n const res = new GetMultiSocialPostsResponse();\n return of(res);\n }\n const req = new GetMultiSocialPostsRequest({businessId: businessId, internalPostIds: internalPostIds});\n return this.socialPostsApiService.getMultiSocialPosts(req);\n }\n\n getScheduledPostCount(partnerId: string, businessId: string, socialServiceIds: string[]): Observable<GetScheduledPostCountResponse> {\n const req = new GetScheduledPostCountRequest({partnerId: partnerId, businessId: businessId, socialServiceIds: socialServiceIds});\n return this.socialPostsApiService.getScheduledPostCount(req);\n }\n}\n","// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nimport {Injectable} from '@angular/core';\nimport {\n CreatePostTemplateRequest,\n CreatePostTemplateResponse,\n DeletePostTemplateRequest,\n GetPostTemplateRequest,\n GetPostTemplateResponse,\n ListPostTemplatesRequest,\n ListPostTemplatesResponse,\n UpdatePostTemplateRequest,\n} from './objects/';\nimport {\n CreatePostTemplateRequestInterface,\n CreatePostTemplateResponseInterface,\n DeletePostTemplateRequestInterface,\n GetPostTemplateRequestInterface,\n GetPostTemplateResponseInterface,\n ListPostTemplatesRequestInterface,\n ListPostTemplatesResponseInterface,\n UpdatePostTemplateRequestInterface,\n} from './interfaces/';\nimport {HttpHeaders, HttpClient, HttpResponse} from '@angular/common/http';\nimport {HostService} from '../_generated/host.service';\nimport {Observable} from 'rxjs';\nimport {map, share} from 'rxjs/operators';\n\n@Injectable({providedIn: 'root'})\nexport class PostTemplatesApiService {\n\n constructor(private http: HttpClient, private hostService: HostService) {\n }\n\n private apiOptions(): {headers: HttpHeaders, withCredentials: boolean} {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n\n updatePostTemplate(r: UpdatePostTemplateRequest | UpdatePostTemplateRequestInterface): Observable<HttpResponse<null>> {\n const request = ((<UpdatePostTemplateRequest>r).toApiJson) ? (<UpdatePostTemplateRequest>r) : new UpdatePostTemplateRequest(r);\n return this.http.post<null>(this.hostService.hostWithScheme() + \"/socialposts.v1.PostTemplates/UpdatePostTemplate\", request.toApiJson(), {...this.apiOptions(), observe: 'response'});\n }\n createPostTemplate(r: CreatePostTemplateRequest | CreatePostTemplateRequestInterface): Observable<CreatePostTemplateResponse> {\n const request = ((<CreatePostTemplateRequest>r).toApiJson) ? (<CreatePostTemplateRequest>r) : new CreatePostTemplateRequest(r);\n return this.http.post<CreatePostTemplateResponseInterface>(this.hostService.hostWithScheme() + \"/socialposts.v1.PostTemplates/CreatePostTemplate\", request.toApiJson(), this.apiOptions())\n .pipe(\n map(resp => CreatePostTemplateResponse.fromProto(resp)),\n share()\n );\n }\n getPostTemplate(r: GetPostTemplateRequest | GetPostTemplateRequestInterface): Observable<GetPostTemplateResponse> {\n const request = ((<GetPostTemplateRequest>r).toApiJson) ? (<GetPostTemplateRequest>r) : new GetPostTemplateRequest(r);\n return this.http.post<GetPostTemplateResponseInterface>(this.hostService.hostWithScheme() + \"/socialposts.v1.PostTemplates/GetPostTemplate\", request.toApiJson(), this.apiOptions())\n .pipe(\n map(resp => GetPostTemplateResponse.fromProto(resp)),\n share()\n );\n }\n listPostTemplates(r: ListPostTemplatesRequest | ListPostTemplatesRequestInterface): Observable<ListPostTemplatesResponse> {\n const request = ((<ListPostTemplatesRequest>r).toApiJson) ? (<ListPostTemplatesRequest>r) : new ListPostTemplatesRequest(r);\n return this.http.post<ListPostTemplatesResponseInterface>(this.hostService.hostWithScheme() + \"/socialposts.v1.PostTemplates/ListPostTemplates\", request.toApiJson(), this.apiOptions())\n .pipe(\n map(resp => ListPostTemplatesResponse.fromProto(resp)),\n share()\n );\n }\n deletePostTemplate(r: DeletePostTemplateRequest | DeletePostTemplateRequestInterface): Observable<HttpResponse<null>> {\n const request = ((<DeletePostTemplateRequest>r).toApiJson) ? (<DeletePostTemplateRequest>r) : new DeletePostTemplateRequest(r);\n return this.http.post<null>(this.hostService.hostWithScheme() + \"/socialposts.v1.PostTemplates/DeletePostTemplate\", request.toApiJson(), {...this.apiOptions(), observe: 'response'});\n }\n \n}\n","import { Injectable } from '@angular/core';\nimport { HttpResponse } from '@angular/common/http';\nimport { Observable } from 'rxjs';\nimport {\n CreatePostTemplateRequest,\n CreatePostTemplateResponse,\n DeletePostTemplateRequest,\n GetPostTemplateRequest,\n GetPostTemplateResponse,\n ListPostTemplatesRequest,\n ListPostTemplatesResponse,\n UpdatePostTemplateRequest,\n} from './_internal/objects/api';\nimport { PostTemplatesApiService } from './_internal/post-templates.api.service';\n\n@Injectable({providedIn: 'root'})\nexport class PostTemplatesService {\n constructor(private socialPostsApiService: PostTemplatesApiService) {\n }\n\n updatePostTemplate(accountGroupId: string, templateId: string, title: string, postText: string, postDateTime: Date,\n gmbPostCustomization: string, imageUrl: string, imagePath: string, imageSize: string, previews: string,\n options: string[], videoUrl: string): Observable<HttpResponse<null>> {\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 });\n return this.socialPostsApiService.updatePostTemplate(req)\n }\n\n createPostTemplate(accountGroupId: string, title: string, postText: string, postDateTime: Date, gmbPostCustomization: string,\n imageUrl: string, imagePath: string, imageSize: string, previews: string, options: string[], videoUrl: string):\n Observable<CreatePostTemplateResponse> {\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 });\n return this.socialPostsApiService.createPostTemplate(req);\n }\n\n getPostTemplate(accountGroupId: string, templateId: string): Observable<GetPostTemplateResponse> {\n const req = new GetPostTemplateRequest({\n accountGroupId: accountGroupId,\n templateId: templateId\n });\n return this.socialPostsApiService.getPostTemplate(req)\n }\n\n listPostTemplates(accountGroupId: string, cursor: string, pageSize: number): Observable<ListPostTemplatesResponse> {\n const req = new ListPostTemplatesRequest({\n accountGroupId: accountGroupId,\n cursor: cursor,\n pageSize: pageSize\n });\n return this.socialPostsApiService.listPostTemplates(req);\n }\n\n deletePostTemplate(accountGroupId: string, templateId: string): Observable<HttpResponse<null>> {\n const req = new DeletePostTemplateRequest({\n accountGroupId: accountGroupId,\n templateId: templateId\n });\n return this.socialPostsApiService.deletePostTemplate(req);\n }\n\n}\n","// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nimport {Injectable} from '@angular/core';\nimport {\n CreateMultilocationPostRequest,\n CreateMultilocationPostResponse,\n DeleteMultilocationPostRequest,\n EditMultilocationPostRequest,\n EditMultilocationPostResponse,\n GetMultilocationPostRequest,\n GetMultilocationPostResponse,\n ListMultilocationPostsForBrandRequest,\n ListMultilocationPostsForBrandResponse,\n RemoveFromMultilocationPostRequest,\n} from './objects/';\nimport {\n CreateMultilocationPostRequestInterface,\n CreateMultilocationPostResponseInterface,\n DeleteMultilocationPostRequestInterface,\n EditMultilocationPostRequestInterface,\n EditMultilocationPostResponseInterface,\n GetMultilocationPostRequestInterface,\n GetMultilocationPostResponseInterface,\n ListMultilocationPostsForBrandRequestInterface,\n ListMultilocationPostsForBrandResponseInterface,\n RemoveFromMultilocationPostRequestInterface,\n} from './interfaces/';\nimport {HttpHeaders, HttpClient, HttpResponse} from '@angular/common/http';\nimport {HostService} from '../_generated/host.service';\nimport {Observable} from 'rxjs';\nimport {map, share} from 'rxjs/operators';\n\n@Injectable({providedIn: 'root'})\nexport class MultilocationPostApiService {\n\n constructor(private http: HttpClient, private hostService: HostService) {\n }\n\n private apiOptions(): {headers: HttpHeaders, withCredentials: boolean} {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n\n createMultilocationPost(r: CreateMultilocationPostRequest | CreateMultilocationPostRequestInterface): Observable<CreateMultilocationPostResponse> {\n const request = ((<CreateMultilocationPostRequest>r).toApiJson) ? (<CreateMultilocationPostRequest>r) : new CreateMultilocationPostRequest(r);\n return this.http.post<CreateMultilocationPostResponseInterface>(this.hostService.hostWithScheme() + \"/socialposts.v1.MultilocationPostService/CreateMultilocationPost\", request.toApiJson(), this.apiOptions())\n .pipe(\n map(resp => CreateMultilocationPostResponse.fromProto(resp)),\n share()\n );\n }\n editMultilocationPost(r: EditMultilocationPostRequest | EditMultilocationPostRequestInterface): Observable<EditMultilocationPostResponse> {\n const request = ((<EditMultilocationPostRequest>r).toApiJson) ? (<EditMultilocationPostRequest>r) : new EditMultilocationPostRequest(r);\n return this.http.post<EditMultilocationPostResponseInterface>(this.hostService.hostWithScheme() + \"/socialposts.v1.MultilocationPostService/EditMultilocationPost\", request.toApiJson(), this.apiOptions())\n .pipe(\n map(resp => EditMultilocationPostResponse.fromProto(resp)),\n share()\n );\n }\n removeFromMultilocationPost(r: RemoveFromMultilocationPostRequest | RemoveFromMultilocationPostRequestInterface): Observable<HttpResponse<null>> {\n const request = ((<RemoveFromMultilocationPostRequest>r).toApiJson) ? (<RemoveFromMultilocationPostRequest>r) : new RemoveFromMultilocationPostRequest(r);\n return this.http.post<null>(this.hostService.hostWithScheme() + \"/socialposts.v1.MultilocationPostService/RemoveFromMultilocationPost\", request.toApiJson(), {...this.apiOptions(), observe: 'response'});\n }\n listMultilocationPostsForBrand(r: ListMultilocationPostsForBrandRequest | ListMultilocationPostsForBrandRequestInterface): Observable<ListMultilocationPostsForBrandResponse> {\n const request = ((<ListMultilocationPostsForBrandRequest>r).toApiJson) ? (<ListMultilocationPostsForBrandRequest>r) : new ListMultilocationPostsForBrandRequest(r);\n return this.http.post<ListMultilocationPostsForBrandResponseInterface>(this.hostService.hostWithScheme() + \"/socialposts.v1.MultilocationPostService/ListMultilocationPostsForBrand\", request.toApiJson(), this.apiOptions())\n .pipe(\n map(resp => ListMultilocationPostsForBrandResponse.fromProto(resp)),\n share()\n );\n }\n deleteMultilocationPost(r: DeleteMultilocationPostRequest | DeleteMultilocationPostRequestInterface): Observable<HttpResponse<null>> {\n const request = ((<DeleteMultilocationPostRequest>r).toApiJson) ? (<DeleteMultilocationPostRequest>r) : new DeleteMultilocationPostRequest(r);\n return this.http.post<null>(this.hostService.hostWithScheme() + \"/socialposts.v1.MultilocationPostService/DeleteMultilocationPost\", request.toApiJson(), {...this.apiOptions(), observe: 'response'});\n }\n getMultilocationPost(r: GetMultilocationPostRequest | GetMultilocationPostRequestInterface): Observable<GetMultilocationPostResponse> {\n const request = ((<GetMultilocationPostRequest>r).toApiJson) ? (<GetMultilocationPostRequest>r) : new GetMultilocationPostRequest(r);\n return this.http.post<GetMultilocationPostResponseInterface>(this.hostService.hostWithScheme() + \"/socialposts.v1.MultilocationPostService/GetMultilocationPost\", request.toApiJson(), this.apiOptions())\n .pipe(\n map(resp => GetMultilocationPostResponse.fromProto(resp)),\n share()\n );\n }\n \n}\n","import { Injectable } from '@angular/core';\nimport { HttpResponse } from '@angular/common/http';\nimport { Observable } from 'rxjs';\nimport {\n CreateMultilocationPostRequest,\n CreateMultilocationPostResponse,\n DeleteMultilocationPostRequest,\n EditMultilocationPostRequest,\n EditMultilocationPostResponse,\n GetMultilocationPostRequest,\n GetMultilocationPostResponse,\n ListMultilocationPostsForBrandRequest,\n ListMultilocationPostsForBrandResponse,\n RemoveFromMultilocationPostRequest,\n} from './_internal/objects/api';\nimport { MultilocationPostApiService } from './_internal/multilocation-post.api.service';\nimport { FieldMask } from './_internal/objects/field-mask';\nimport { Location } from './_internal/objects/multilocation-post';\nimport { RemoveReason } from './_internal/enums/multilocation-post.enum';\n\n@Injectable({providedIn: 'root'})\nexport class MultilocationPostsService {\n constructor(private multilocationApiService: MultilocationPostApiService) {\n }\n\n createMultilocationPost(brandId: string, text: string, media: string[], gifs: string[], videos: string[], scheduledDate: Date,\n locations: Location[]): Observable<CreateMultilocationPostResponse> {\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 });\n return this.multilocationApiService.createMultilocationPost(req);\n }\n\n editMultilocationPost(brandId: string, multilocationId: string, text: string, media: string[], gifs: string[], videos: string[],\n scheduledDate: Date, locations: Location[], fieldMask: FieldMask): Observable<EditMultilocationPostResponse> {\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 });\n return this.multilocationApiService.editMultilocationPost(req);\n }\n\n removeFromMultilocationPost(reason: RemoveReason, brandId: string, multilocationId: string,\n locations: Location[]): Observable<HttpResponse<null>> {\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\n listMultilocationPostsForBrand(brandId: string, startDate: Date, endDate: Date, cursor: string,\n pageSize: number): Observable<ListMultilocationPostsForBrandResponse> {\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\n deleteMultilocationPost(brandId: string, multilocationId: string): Observable<HttpResponse<null>> {\n const req = new DeleteMultilocationPostRequest({\n brandId: brandId,\n multilocationId: multilocationId\n });\n return this.multilocationApiService.deleteMultilocationPost(req);\n }\n\n getMultilocationPost(brandId: string, multilocationId: string): Observable<GetMultilocationPostResponse> {\n const req = new GetMultilocationPostRequest({\n brandId: brandId,\n multilocationId: multilocationId\n });\n return this.multilocationApiService.getMultilocationPost(req);\n }\n}\n","// *********************************\n// Code generated by sdkgen\n// DO NOT EDIT!.\n//\n// API Service.\n// *********************************\nimport {Injectable} from '@angular/core';\nimport {\n PartnerListScheduledPostsResponse,\n PartnerListScheduledSocialPostsRequest,\n} from './objects/';\nimport {\n PartnerListScheduledPostsResponseInterface,\n PartnerListScheduledSocialPostsRequestInterface,\n} from './interfaces/';\nimport {HttpHeaders, HttpClient, HttpResponse} from '@angular/common/http';\nimport {HostService} from '../_generated/host.service';\nimport {Observable} from 'rxjs';\nimport {map, share} from 'rxjs/operators';\n\n@Injectable({providedIn: 'root'})\nexport class PartnerSocialPostsApiService {\n\n constructor(private http: HttpClient, private hostService: HostService) {\n }\n\n private apiOptions(): {headers: HttpHeaders, withCredentials: boolean} {\n return {\n headers: new HttpHeaders({\n 'Content-Type': 'application/json'\n }),\n withCredentials: true\n };\n }\n\n listScheduled(r: PartnerListScheduledSocialPostsRequest | PartnerListScheduledSocialPostsRequestInterface): Observable<PartnerListScheduledPostsResponse> {\n const request = ((<PartnerListScheduledSocialPostsRequest>r).toApiJson) ? (<PartnerListScheduledSocialPostsRequest>r) : new PartnerListScheduledSocialPostsRequest(r);\n return this.http.post<PartnerListScheduledPostsResponseInterface>(this.hostService.hostWithScheme() + \"/socialposts.v1.PartnerSocialPosts/ListScheduled\", request.toApiJson(), this.apiOptions())\n .pipe(\n map(resp => PartnerListScheduledPostsResponse.fromProto(resp)),\n share()\n );\n }\n listScheduledByCreated(r: PartnerListScheduledSocialPostsRequest | PartnerListScheduledSocialPostsRequestInterface): Observable<PartnerListScheduledPostsResponse> {\n const request = ((<PartnerListScheduledSocialPostsRequest>r).toApiJson) ? (<PartnerListScheduledSocialPostsRequest>r) : new PartnerListScheduledSocialPostsRequest(r);\n return this.http.post<PartnerListScheduledPostsResponseInterface>(this.hostService.hostWithScheme() + \"/socialposts.v1.PartnerSocialPosts/ListScheduledByCreated\", request.toApiJson(), this.apiOptions())\n .pipe(\n map(resp => PartnerListScheduledPostsResponse.fromProto(resp)),\n share()\n );\n }\n \n}\n"]}
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
import { Injectable } from '@angular/core';
|
|
6
|
-
import { EnvironmentService, Environment } from '@vendasta/core';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "@vendasta/core";
|
|
9
|
-
export class HostService {
|
|
10
|
-
/**
|
|
11
|
-
* @param {?} environmentService
|
|
12
|
-
*/
|
|
13
|
-
constructor(environmentService) {
|
|
14
|
-
this.environmentService = environmentService;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* @return {?}
|
|
18
|
-
*/
|
|
19
|
-
host() {
|
|
20
|
-
if (this._host) {
|
|
21
|
-
return this._host;
|
|
22
|
-
}
|
|
23
|
-
switch (this.environmentService.getEnvironment()) {
|
|
24
|
-
case Environment.LOCAL:
|
|
25
|
-
this._host = 'social-post.vendasta-local.com';
|
|
26
|
-
break;
|
|
27
|
-
case Environment.TEST:
|
|
28
|
-
this._host = '';
|
|
29
|
-
break;
|
|
30
|
-
case Environment.DEMO:
|
|
31
|
-
this._host = 'social-posts-demo.apigateway.co';
|
|
32
|
-
break;
|
|
33
|
-
case Environment.PROD:
|
|
34
|
-
this._host = 'social-posts-prod.apigateway.co';
|
|
35
|
-
break;
|
|
36
|
-
}
|
|
37
|
-
return this._host;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* @return {?}
|
|
41
|
-
*/
|
|
42
|
-
httpsHost() {
|
|
43
|
-
if (this._httpsHost) {
|
|
44
|
-
return this._httpsHost;
|
|
45
|
-
}
|
|
46
|
-
switch (this.environmentService.getEnvironment()) {
|
|
47
|
-
case Environment.LOCAL:
|
|
48
|
-
this._httpsHost = 'social-post.vendasta-local.com';
|
|
49
|
-
break;
|
|
50
|
-
case Environment.TEST:
|
|
51
|
-
this._httpsHost = '';
|
|
52
|
-
break;
|
|
53
|
-
case Environment.DEMO:
|
|
54
|
-
this._httpsHost = 'social-posts-api-demo.apigateway.co';
|
|
55
|
-
break;
|
|
56
|
-
case Environment.PROD:
|
|
57
|
-
this._httpsHost = 'social-posts-api-prod.apigateway.co';
|
|
58
|
-
break;
|
|
59
|
-
}
|
|
60
|
-
return this._httpsHost;
|
|
61
|
-
}
|
|
62
|
-
/**
|
|
63
|
-
* @return {?}
|
|
64
|
-
*/
|
|
65
|
-
hostWithScheme() {
|
|
66
|
-
/** @type {?} */
|
|
67
|
-
const scheme = this.environmentService.getEnvironment() === Environment.LOCAL ? 'http://' : 'https://';
|
|
68
|
-
return scheme + this.host();
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* @return {?}
|
|
72
|
-
*/
|
|
73
|
-
httpsHostWithScheme() {
|
|
74
|
-
/** @type {?} */
|
|
75
|
-
const scheme = this.environmentService.getEnvironment() === Environment.LOCAL ? 'http://' : 'https://';
|
|
76
|
-
return scheme + this.httpsHost();
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
HostService.decorators = [
|
|
80
|
-
{ type: Injectable, args: [{ providedIn: 'root' },] }
|
|
81
|
-
];
|
|
82
|
-
/** @nocollapse */
|
|
83
|
-
HostService.ctorParameters = () => [
|
|
84
|
-
{ type: EnvironmentService }
|
|
85
|
-
];
|
|
86
|
-
/** @nocollapse */ HostService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function HostService_Factory() { return new HostService(i0.ɵɵinject(i1.EnvironmentService)); }, token: HostService, providedIn: "root" });
|
|
87
|
-
if (false) {
|
|
88
|
-
/**
|
|
89
|
-
* @type {?}
|
|
90
|
-
* @private
|
|
91
|
-
*/
|
|
92
|
-
HostService.prototype._host;
|
|
93
|
-
/**
|
|
94
|
-
* @type {?}
|
|
95
|
-
* @private
|
|
96
|
-
*/
|
|
97
|
-
HostService.prototype._httpsHost;
|
|
98
|
-
/**
|
|
99
|
-
* @type {?}
|
|
100
|
-
* @private
|
|
101
|
-
*/
|
|
102
|
-
HostService.prototype.environmentService;
|
|
103
|
-
}
|
|
104
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG9zdC5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQHZlbmRhc3RhL3NvY2lhbC1wb3N0cy8iLCJzb3VyY2VzIjpbImxpYi9fZ2VuZXJhdGVkL2hvc3Quc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsV0FBVyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7OztBQUdqRSxNQUFNLE9BQU8sV0FBVzs7OztJQUlwQixZQUFvQixrQkFBc0M7UUFBdEMsdUJBQWtCLEdBQWxCLGtCQUFrQixDQUFvQjtJQUMxRCxDQUFDOzs7O0lBRUQsSUFBSTtRQUNBLElBQUksSUFBSSxDQUFDLEtBQUssRUFBRTtZQUNaLE9BQU8sSUFBSSxDQUFDLEtBQUssQ0FBQztTQUNyQjtRQUVELFFBQVEsSUFBSSxDQUFDLGtCQUFrQixDQUFDLGNBQWMsRUFBRSxFQUFFO1lBQzlDLEtBQUssV0FBVyxDQUFDLEtBQUs7Z0JBQ2xCLElBQUksQ0FBQyxLQUFLLEdBQUcsZ0NBQWdDLENBQUM7Z0JBQzlDLE1BQU07WUFDVixLQUFLLFdBQVcsQ0FBQyxJQUFJO2dCQUNqQixJQUFJLENBQUMsS0FBSyxHQUFHLEVBQUUsQ0FBQztnQkFDaEIsTUFBTTtZQUNWLEtBQUssV0FBVyxDQUFDLElBQUk7Z0JBQ2pCLElBQUksQ0FBQyxL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ubWVudCgpKSB7XG4gICAgICAgICAgICBjYXNlIEVudmlyb25tZW50LkxPQ0FMOlxuICAgICAgICAgICAgICAgIHRoaXMuX2hvc3QgPSAnc29jaWFsLXBvc3QudmVuZGFzdGEtbG9jYWwuY29tJztcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGNhc2UgRW52aXJvbm1lbnQuVEVTVDpcbiAgICAgICAgICAgICAgICB0aGlzLl9ob3N0ID0gJyc7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICBjYXNlIEVudmlyb25tZW50LkRFTU86XG4gICAgICAgICAgICAgICAgdGhpcy5faG9zdCA9ICdzb2NpYWwtcG9zdHMtZGVtby5hcGlnYXRld2F5LmNvJztcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgICAgIGNhc2UgRW52aXJvbm1lbnQuUFJPRDpcbiAgICAgICAgICAgICAgICB0aGlzLl9ob3N0ID0gJ3NvY2lhbC1wb3N0cy1wcm9kLmFwaWdhdGV3YXkuY28nO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICB9XG4gICAgICAgIHJldHVybiB0aGlzLl9ob3N0O1xuICAgIH1cblxuICAgIGh0dHBzSG9zdCgpOiBzdHJpbmcge1xuICAgICAgICBpZiAodGhpcy5faHR0cHNIb3N0KSB7XG4gICAgICAgICAgICByZXR1cm4gdGhpcy5faHR0cHNIb3N0O1xuICAgICAgICB9XG5cbiAgICAgICAgc3dpdGNoICh0aGlzLmVudmlyb25tZW50U2VydmljZS5nZXRFbnZpcm9ubWVudCgpKSB7XG4gICAgICAgICAgICBjYXNlIEVudmlyb25tZW50LkxPQ0FMOlxuICAgICAgICAgICAgICAgIHRoaXMuX2h0dHBzSG9zdCA9ICdzb2NpYWwtcG9zdC52ZW5kYXN0YS1sb2NhbC5jb20nO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgY2FzZSBFbnZpcm9ubWVudC5URVNUOlxuICAgICAgICAgICAgICAgIHRoaXMuX2h0dHBzSG9zdCA9ICcnO1xuICAgICAgICAgICAgICAgIGJyZWFrO1xuICAgICAgICAgICAgY2FzZSBFbnZpcm9ubWVudC5ERU1POlxuICAgICAgICAgICAgICAgIHRoaXMuX2h0dHBzSG9zdCA9ICdzb2NpYWwtcG9zdHMtYXBpLWRlbW8uYXBpZ2F0ZXdheS5jbyc7XG4gICAgICAgICAgICAgICAgYnJlYWs7XG4gICAgICAgICAgICBjYXNlIEVudmlyb25tZW50LlBST0Q6XG4gICAgICAgICAgICAgICAgdGhpcy5faHR0cHNIb3N0ID0gJ3NvY2lhbC1wb3N0cy1hcGktcHJvZC5hcGlnYXRld2F5LmNvJztcbiAgICAgICAgICAgICAgICBicmVhaztcbiAgICAgICAgfVxuICAgICAgICByZXR1cm4gdGhpcy5faHR0cHNIb3N0O1xuICAgIH1cblxuICAgIGhvc3RXaXRoU2NoZW1lKCk6IHN0cmluZyB7XG4gICAgICAgIGNvbnN0IHNjaGVtZSA9IHRoaXMuZW52aXJvbm1lbnRTZXJ2aWNlLmdldEVudmlyb25tZW50KCkgPT09IEVudmlyb25tZW50LkxPQ0FMID8gJ2h0dHA6Ly8nIDogJ2h0dHBzOi8vJztcbiAgICAgICAgcmV0dXJuIHNjaGVtZSArIHRoaXMuaG9zdCgpXG4gICAgfVxuXG4gICAgaHR0cHNIb3N0V2l0aFNjaGVtZSgpOiBzdHJpbmcge1xuICAgICAgICBjb25zdCBzY2hlbWUgPSB0aGlzLmVudmlyb25tZW50U2VydmljZS5nZXRFbnZpcm9ubWVudCgpID09PSBFbnZpcm9ubWVudC5MT0NBTCA/ICdodHRwOi8vJyA6ICdodHRwczovLyc7XG4gICAgICAgIHJldHVybiBzY2hlbWUgKyB0aGlzLmh0dHBzSG9zdCgpXG4gICAgfVxufVxuIl19
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
// *********************************
|
|
6
|
-
// Code generated by sdkgen
|
|
7
|
-
// DO NOT EDIT!.
|
|
8
|
-
//
|
|
9
|
-
// Enums Index.
|
|
10
|
-
// *********************************
|
|
11
|
-
export { CallToActionCallToActionType, SocialPostDeletionStatus, PostingStatus, SocialPostService, } from './social-posts.enum';
|
|
12
|
-
export { RemoveReason, } from './multilocation-post.enum';
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdmVuZGFzdGEvc29jaWFsLXBvc3RzLyIsInNvdXJjZXMiOlsibGliL19pbnRlcm5hbC9lbnVtcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7O0FBTUEsT0FBTyxFQUNILDRCQUE0QixFQUM1Qix3QkFBd0IsRUFDeEIsYUFBYSxFQUNiLGlCQUFpQixHQUNwQixNQUFNLHFCQUFxQixDQUFDO0FBQzdCLE9BQU8sRUFDSCxZQUFZLEdBQ2YsTUFBTSwyQkFBMkIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8vICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuLy8gQ29kZSBnZW5lcmF0ZWQgYnkgc2RrZ2VuXG4vLyBETyBOT1QgRURJVCEuXG4vL1xuLy8gRW51bXMgSW5kZXguXG4vLyAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcbmV4cG9ydCB7XG4gICAgQ2FsbFRvQWN0aW9uQ2FsbFRvQWN0aW9uVHlwZSxcbiAgICBTb2NpYWxQb3N0RGVsZXRpb25TdGF0dXMsXG4gICAgUG9zdGluZ1N0YXR1cyxcbiAgICBTb2NpYWxQb3N0U2VydmljZSxcbn0gZnJvbSAnLi9zb2NpYWwtcG9zdHMuZW51bSc7XG5leHBvcnQge1xuICAgIFJlbW92ZVJlYXNvbixcbn0gZnJvbSAnLi9tdWx0aWxvY2F0aW9uLXBvc3QuZW51bSc7XG4iXX0=
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
// *********************************
|
|
6
|
-
// Code generated by sdkgen
|
|
7
|
-
// DO NOT EDIT!.
|
|
8
|
-
//
|
|
9
|
-
// Enums.
|
|
10
|
-
// *********************************
|
|
11
|
-
/** @enum {number} */
|
|
12
|
-
const RemoveReason = {
|
|
13
|
-
REMOVE_REASON_EDIT: 0,
|
|
14
|
-
REMOVE_REASON_DELETE: 1,
|
|
15
|
-
};
|
|
16
|
-
export { RemoveReason };
|
|
17
|
-
RemoveReason[RemoveReason.REMOVE_REASON_EDIT] = 'REMOVE_REASON_EDIT';
|
|
18
|
-
RemoveReason[RemoveReason.REMOVE_REASON_DELETE] = 'REMOVE_REASON_DELETE';
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibXVsdGlsb2NhdGlvbi1wb3N0LmVudW0uanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdmVuZGFzdGEvc29jaWFsLXBvc3RzLyIsInNvdXJjZXMiOlsibGliL19pbnRlcm5hbC9lbnVtcy9tdWx0aWxvY2F0aW9uLXBvc3QuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7SUFRSSxxQkFBc0I7SUFDdEIsdUJBQXdCIiwic291cmNlc0NvbnRlbnQiOlsiLy8gKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG4vLyBDb2RlIGdlbmVyYXRlZCBieSBzZGtnZW5cbi8vIERPIE5PVCBFRElUIS5cbi8vXG4vLyBFbnVtcy5cbi8vICoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKlxuXG5leHBvcnQgZW51bSBSZW1vdmVSZWFzb24ge1xuICAgIFJFTU9WRV9SRUFTT05fRURJVCA9IDAsXG4gICAgUkVNT1ZFX1JFQVNPTl9ERUxFVEUgPSAxLFxufVxuIl19
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @fileoverview added by tsickle
|
|
3
|
-
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
-
*/
|
|
5
|
-
// *********************************
|
|
6
|
-
// Code generated by sdkgen
|
|
7
|
-
// DO NOT EDIT!.
|
|
8
|
-
//
|
|
9
|
-
// Enums.
|
|
10
|
-
// *********************************
|
|
11
|
-
/** @enum {number} */
|
|
12
|
-
const CallToActionCallToActionType = {
|
|
13
|
-
LEARN_MORE: 0,
|
|
14
|
-
BOOK: 1,
|
|
15
|
-
ORDER: 2,
|
|
16
|
-
SHOP: 3,
|
|
17
|
-
SIGN_UP: 4,
|
|
18
|
-
GET_OFFER: 5,
|
|
19
|
-
CALL: 6,
|
|
20
|
-
};
|
|
21
|
-
export { CallToActionCallToActionType };
|
|
22
|
-
CallToActionCallToActionType[CallToActionCallToActionType.LEARN_MORE] = 'LEARN_MORE';
|
|
23
|
-
CallToActionCallToActionType[CallToActionCallToActionType.BOOK] = 'BOOK';
|
|
24
|
-
CallToActionCallToActionType[CallToActionCallToActionType.ORDER] = 'ORDER';
|
|
25
|
-
CallToActionCallToActionType[CallToActionCallToActionType.SHOP] = 'SHOP';
|
|
26
|
-
CallToActionCallToActionType[CallToActionCallToActionType.SIGN_UP] = 'SIGN_UP';
|
|
27
|
-
CallToActionCallToActionType[CallToActionCallToActionType.GET_OFFER] = 'GET_OFFER';
|
|
28
|
-
CallToActionCallToActionType[CallToActionCallToActionType.CALL] = 'CALL';
|
|
29
|
-
/** @enum {number} */
|
|
30
|
-
const SocialPostDeletionStatus = {
|
|
31
|
-
NONE: 0,
|
|
32
|
-
FAILED: 1,
|
|
33
|
-
IN_PROGRESS: 2,
|
|
34
|
-
};
|
|
35
|
-
export { SocialPostDeletionStatus };
|
|
36
|
-
SocialPostDeletionStatus[SocialPostDeletionStatus.NONE] = 'NONE';
|
|
37
|
-
SocialPostDeletionStatus[SocialPostDeletionStatus.FAILED] = 'FAILED';
|
|
38
|
-
SocialPostDeletionStatus[SocialPostDeletionStatus.IN_PROGRESS] = 'IN_PROGRESS';
|
|
39
|
-
/** @enum {number} */
|
|
40
|
-
const PostingStatus = {
|
|
41
|
-
POSTING_IN_PROGRESS: 0,
|
|
42
|
-
POSTING_FAILED: 1,
|
|
43
|
-
POSTING_COMPLETED: 2,
|
|
44
|
-
};
|
|
45
|
-
export { PostingStatus };
|
|
46
|
-
PostingStatus[PostingStatus.POSTING_IN_PROGRESS] = 'POSTING_IN_PROGRESS';
|
|
47
|
-
PostingStatus[PostingStatus.POSTING_FAILED] = 'POSTING_FAILED';
|
|
48
|
-
PostingStatus[PostingStatus.POSTING_COMPLETED] = 'POSTING_COMPLETED';
|
|
49
|
-
/** @enum {number} */
|
|
50
|
-
const SocialPostService = {
|
|
51
|
-
TWITTER: 0,
|
|
52
|
-
FACEBOOK: 1,
|
|
53
|
-
LINKED_IN: 2,
|
|
54
|
-
GOOGLE_PLUS: 3,
|
|
55
|
-
GOOGLE_MY_BUSINESS: 4,
|
|
56
|
-
UNKNOWN: 5,
|
|
57
|
-
INSTAGRAM: 6,
|
|
58
|
-
};
|
|
59
|
-
export { SocialPostService };
|
|
60
|
-
SocialPostService[SocialPostService.TWITTER] = 'TWITTER';
|
|
61
|
-
SocialPostService[SocialPostService.FACEBOOK] = 'FACEBOOK';
|
|
62
|
-
SocialPostService[SocialPostService.LINKED_IN] = 'LINKED_IN';
|
|
63
|
-
SocialPostService[SocialPostService.GOOGLE_PLUS] = 'GOOGLE_PLUS';
|
|
64
|
-
SocialPostService[SocialPostService.GOOGLE_MY_BUSINESS] = 'GOOGLE_MY_BUSINESS';
|
|
65
|
-
SocialPostService[SocialPostService.UNKNOWN] = 'UNKNOWN';
|
|
66
|
-
SocialPostService[SocialPostService.INSTAGRAM] = 'INSTAGRAM';
|
|
67
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29jaWFsLXBvc3RzLmVudW0uanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AdmVuZGFzdGEvc29jaWFsLXBvc3RzLyIsInNvdXJjZXMiOlsibGliL19pbnRlcm5hbC9lbnVtcy9zb2NpYWwtcG9zdHMuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7SUFRSSxhQUFjO0lBQ2QsT0FBUTtJQUNSLFFBQVM7SUFDVCxPQUFRO0lBQ1IsVUFBVztJQUNYLFlBQWE7SUFDYixPQUFROzs7Ozs7Ozs7Ozs7SUFJUixPQUFRO0lBQ1IsU0FBVTtJQUNWLGNBQWU7Ozs7Ozs7O0lBSWYsc0JBQXVCO0lBQ3ZCLGlCQUFrQjtJQUNsQixvQkFBcUI7Ozs7Ozs7O0lBSXJCLFVBQVc7SUFDWCxXQUFZO0lBQ1osWUFBYTtJQUNiLGNBQWU7SUFDZixxQkFBc0I7SUFDdEIsVUFBVztJQUNYLFlBQWEiLCJzb3VyY2VzQ29udGVudCI6WyIvLyAqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKipcbi8vIENvZGUgZ2VuZXJhdGVkIGJ5IHNka2dlblxuLy8gRE8gTk9UIEVESVQhLlxuLy9cbi8vIEVudW1zLlxuLy8gKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqXG5cbmV4cG9ydCBlbnVtIENhbGxUb0FjdGlvbkNhbGxUb0FjdGlvblR5cGUge1xuICAgIExFQVJOX01PUkUgPSAwLFxuICAgIEJPT0sgPSAxLFxuICAgIE9SREVSID0gMixcbiAgICBTSE9QID0gMyxcbiAgICB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