@vendasta/social-posts 4.0.0 → 5.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (141) hide show
  1. package/esm2020/lib/_generated/host.service.mjs +25 -0
  2. package/esm2020/lib/_internal/enums/index.mjs +9 -0
  3. package/esm2020/lib/_internal/enums/multilocation-post.enum.mjs +12 -0
  4. package/esm2020/lib/_internal/enums/social-posts.enum.mjs +39 -0
  5. package/esm2020/lib/_internal/hash-tags.api.service.mjs +49 -0
  6. package/esm2020/lib/_internal/index.mjs +17 -0
  7. package/esm2020/lib/_internal/interfaces/api.interface.mjs +2 -0
  8. package/esm2020/lib/_internal/interfaces/field-mask.interface.mjs +8 -0
  9. package/esm2020/lib/_internal/interfaces/hashtag.interface.mjs +8 -0
  10. package/esm2020/lib/_internal/interfaces/index.mjs +2 -0
  11. package/esm2020/lib/_internal/interfaces/multilocation-post.interface.mjs +8 -0
  12. package/esm2020/lib/_internal/interfaces/pixabay-image.interface.mjs +8 -0
  13. package/esm2020/lib/_internal/interfaces/post-templates.interface.mjs +8 -0
  14. package/esm2020/lib/_internal/interfaces/social-post-stats.interface.mjs +8 -0
  15. package/esm2020/lib/_internal/interfaces/social-posts.interface.mjs +8 -0
  16. package/esm2020/lib/_internal/interfaces/tenor-gif.interface.mjs +8 -0
  17. package/esm2020/lib/_internal/multilocation-post.api.service.mjs +64 -0
  18. package/esm2020/lib/_internal/objects/api.mjs +1354 -0
  19. package/esm2020/lib/_internal/objects/field-mask.mjs +27 -0
  20. package/esm2020/lib/_internal/objects/hashtag.mjs +39 -0
  21. package/esm2020/lib/_internal/objects/index.mjs +16 -0
  22. package/esm2020/lib/_internal/objects/multilocation-post.mjs +115 -0
  23. package/esm2020/lib/_internal/objects/pixabay-image.mjs +138 -0
  24. package/esm2020/lib/_internal/objects/post-templates.mjs +75 -0
  25. package/esm2020/lib/_internal/objects/social-post-stats.mjs +127 -0
  26. package/esm2020/lib/_internal/objects/social-posts.mjs +272 -0
  27. package/esm2020/lib/_internal/objects/tenor-gif.mjs +106 -0
  28. package/esm2020/lib/_internal/partner-social-posts.api.service.mjs +46 -0
  29. package/esm2020/lib/_internal/pixabay-images.api.service.mjs +41 -0
  30. package/esm2020/lib/_internal/post-templates.api.service.mjs +59 -0
  31. package/esm2020/lib/_internal/social-posts.api.service.mjs +70 -0
  32. package/esm2020/lib/_internal/tenor-gifs.api.service.mjs +46 -0
  33. package/esm2020/lib/hashtag.service.mjs +42 -0
  34. package/esm2020/lib/index.mjs +8 -0
  35. package/esm2020/lib/multilocation-posts.service.mjs +76 -0
  36. package/esm2020/lib/pixabay-image.service.mjs +23 -0
  37. package/esm2020/lib/post-templates.service.mjs +72 -0
  38. package/esm2020/lib/social-posts.service.mjs +43 -0
  39. package/esm2020/lib/tenor-gifs.service.mjs +34 -0
  40. package/esm2020/public_api.mjs +5 -0
  41. package/esm2020/vendasta-social-posts.mjs +5 -0
  42. package/fesm2015/vendasta-social-posts.mjs +2884 -0
  43. package/fesm2015/vendasta-social-posts.mjs.map +1 -0
  44. package/fesm2020/vendasta-social-posts.mjs +2883 -0
  45. package/fesm2020/vendasta-social-posts.mjs.map +1 -0
  46. package/lib/_generated/host.service.d.ts +5 -9
  47. package/lib/_internal/hash-tags.api.service.d.ts +18 -0
  48. package/lib/_internal/index.d.ts +3 -0
  49. package/lib/_internal/interfaces/api.interface.d.ts +51 -0
  50. package/lib/_internal/interfaces/hashtag.interface.d.ts +6 -0
  51. package/lib/_internal/interfaces/index.d.ts +4 -1
  52. package/lib/_internal/interfaces/pixabay-image.interface.d.ts +26 -0
  53. package/lib/_internal/interfaces/tenor-gif.interface.d.ts +20 -0
  54. package/lib/_internal/multilocation-post.api.service.d.ts +4 -0
  55. package/lib/_internal/objects/api.d.ts +81 -0
  56. package/lib/_internal/objects/hashtag.d.ts +11 -0
  57. package/lib/_internal/objects/index.d.ts +4 -1
  58. package/lib/_internal/objects/pixabay-image.d.ts +31 -0
  59. package/lib/_internal/objects/tenor-gif.d.ts +31 -0
  60. package/lib/_internal/partner-social-posts.api.service.d.ts +4 -0
  61. package/lib/_internal/pixabay-images.api.service.d.ts +16 -0
  62. package/lib/_internal/post-templates.api.service.d.ts +4 -0
  63. package/lib/_internal/social-posts.api.service.d.ts +4 -0
  64. package/lib/_internal/tenor-gifs.api.service.d.ts +17 -0
  65. package/lib/hashtag.service.d.ts +13 -0
  66. package/lib/index.d.ts +3 -0
  67. package/lib/multilocation-posts.service.d.ts +3 -0
  68. package/lib/pixabay-image.service.d.ts +11 -0
  69. package/lib/post-templates.service.d.ts +3 -0
  70. package/lib/social-posts.service.d.ts +3 -0
  71. package/lib/tenor-gifs.service.d.ts +12 -0
  72. package/package.json +24 -16
  73. package/src/README.md +1 -0
  74. package/vendasta-social-posts.d.ts +1 -4
  75. package/bundles/vendasta-social-posts.umd.js +0 -3709
  76. package/bundles/vendasta-social-posts.umd.js.map +0 -1
  77. package/bundles/vendasta-social-posts.umd.min.js +0 -2
  78. package/bundles/vendasta-social-posts.umd.min.js.map +0 -1
  79. package/esm2015/lib/_generated/host.service.js +0 -104
  80. package/esm2015/lib/_internal/enums/index.js +0 -13
  81. package/esm2015/lib/_internal/enums/multilocation-post.enum.js +0 -19
  82. package/esm2015/lib/_internal/enums/social-posts.enum.js +0 -67
  83. package/esm2015/lib/_internal/index.js +0 -18
  84. package/esm2015/lib/_internal/interfaces/api.interface.js +0 -447
  85. package/esm2015/lib/_internal/interfaces/field-mask.interface.js +0 -19
  86. package/esm2015/lib/_internal/interfaces/index.js +0 -5
  87. package/esm2015/lib/_internal/interfaces/multilocation-post.interface.js +0 -59
  88. package/esm2015/lib/_internal/interfaces/post-templates.interface.js +0 -45
  89. package/esm2015/lib/_internal/interfaces/social-post-stats.interface.js +0 -57
  90. package/esm2015/lib/_internal/interfaces/social-posts.interface.js +0 -127
  91. package/esm2015/lib/_internal/multilocation-post.api.service.js +0 -136
  92. package/esm2015/lib/_internal/objects/api.js +0 -1805
  93. package/esm2015/lib/_internal/objects/field-mask.js +0 -53
  94. package/esm2015/lib/_internal/objects/index.js +0 -17
  95. package/esm2015/lib/_internal/objects/multilocation-post.js +0 -197
  96. package/esm2015/lib/_internal/objects/post-templates.js +0 -127
  97. package/esm2015/lib/_internal/objects/social-post-stats.js +0 -207
  98. package/esm2015/lib/_internal/objects/social-posts.js +0 -446
  99. package/esm2015/lib/_internal/partner-social-posts.api.service.js +0 -90
  100. package/esm2015/lib/_internal/post-templates.api.service.js +0 -122
  101. package/esm2015/lib/_internal/social-posts.api.service.js +0 -155
  102. package/esm2015/lib/index.js +0 -9
  103. package/esm2015/lib/multilocation-posts.service.js +0 -145
  104. package/esm2015/lib/post-templates.service.js +0 -138
  105. package/esm2015/lib/social-posts.service.js +0 -85
  106. package/esm2015/public_api.js +0 -9
  107. package/esm2015/vendasta-social-posts.js +0 -13
  108. package/esm5/lib/_generated/host.service.js +0 -115
  109. package/esm5/lib/_internal/enums/index.js +0 -13
  110. package/esm5/lib/_internal/enums/multilocation-post.enum.js +0 -19
  111. package/esm5/lib/_internal/enums/social-posts.enum.js +0 -67
  112. package/esm5/lib/_internal/index.js +0 -18
  113. package/esm5/lib/_internal/interfaces/api.interface.js +0 -447
  114. package/esm5/lib/_internal/interfaces/field-mask.interface.js +0 -19
  115. package/esm5/lib/_internal/interfaces/index.js +0 -5
  116. package/esm5/lib/_internal/interfaces/multilocation-post.interface.js +0 -59
  117. package/esm5/lib/_internal/interfaces/post-templates.interface.js +0 -45
  118. package/esm5/lib/_internal/interfaces/social-post-stats.interface.js +0 -57
  119. package/esm5/lib/_internal/interfaces/social-posts.interface.js +0 -127
  120. package/esm5/lib/_internal/multilocation-post.api.service.js +0 -163
  121. package/esm5/lib/_internal/objects/api.js +0 -2015
  122. package/esm5/lib/_internal/objects/field-mask.js +0 -59
  123. package/esm5/lib/_internal/objects/index.js +0 -17
  124. package/esm5/lib/_internal/objects/multilocation-post.js +0 -215
  125. package/esm5/lib/_internal/objects/post-templates.js +0 -133
  126. package/esm5/lib/_internal/objects/social-post-stats.js +0 -225
  127. package/esm5/lib/_internal/objects/social-posts.js +0 -482
  128. package/esm5/lib/_internal/partner-social-posts.api.service.js +0 -100
  129. package/esm5/lib/_internal/post-templates.api.service.js +0 -145
  130. package/esm5/lib/_internal/social-posts.api.service.js +0 -186
  131. package/esm5/lib/index.js +0 -9
  132. package/esm5/lib/multilocation-posts.service.js +0 -191
  133. package/esm5/lib/post-templates.service.js +0 -182
  134. package/esm5/lib/social-posts.service.js +0 -106
  135. package/esm5/public_api.js +0 -9
  136. package/esm5/vendasta-social-posts.js +0 -13
  137. package/fesm2015/vendasta-social-posts.js +0 -3220
  138. package/fesm2015/vendasta-social-posts.js.map +0 -1
  139. package/fesm5/vendasta-social-posts.js +0 -3668
  140. package/fesm5/vendasta-social-posts.js.map +0 -1
  141. package/vendasta-social-posts.metadata.json +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"vendasta-social-posts.umd.js.map","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"],"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"],"names":["enumStringToValue","e.CallToActionCallToActionType","e.SocialPostDeletionStatus","e.SocialPostService","e.PostingStatus","e.RemoveReason","Environment","Injectable","EnvironmentService","HttpHeaders","map","share","HttpClient","of"],"mappings":";;;;;;;;;;;QA0BI,mBAAY,MAA6B;YACrC,IAAI,CAAC,MAAM,EAAE;gBACT,OAAO;aACV;YACD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;SAC/B;;;;;QAXM,mBAAS;;;;YAAhB,UAAiB,KAAU;;oBACnB,CAAC,GAAG,IAAI,SAAS,EAAE;gBACvB,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC;gBAC5B,OAAO,CAAC,CAAC;aACZ;;;;QASD,6BAAS;;;YAAT;;oBACU,QAAQ,GAEV,EAAE;gBAEN,IAAI,OAAO,IAAI,CAAC,KAAK,KAAK,WAAW,EAAE;oBAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;iBAAC;gBACxE,OAAO,QAAQ,CAAC;aACnB;QACL,gBAAC;IAAD,CAAC;;;;;;;QCdG,kBAAY,MAA4B;YACpC,IAAI,CAAC,MAAM,EAAE;gBACT,OAAO;aACV;YACD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;SAC/B;;;;;QAXM,kBAAS;;;;YAAhB,UAAiB,KAAU;;oBACnB,CAAC,GAAG,IAAI,QAAQ,EAAE;gBACtB,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC;gBAC5B,OAAO,CAAC,CAAC;aACZ;;;;QASD,4BAAS;;;YAAT;;oBACU,QAAQ,GAEV,EAAE;gBAEN,IAAI,OAAO,IAAI,CAAC,gBAAgB,KAAK,WAAW,EAAE;oBAAC,QAAQ,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,gBAAgB,CAAC;iBAAC;gBACzG,IAAI,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,CAAC;aACT;;;;;QACD,6DAAsB;;;;YAAtB,UAAuB,CAA2F;;oBACxG,OAAO,GAAG,CAAC,oBAAyC,CAAC,IAAE,SAAS,wBAA6C,CAAC,MAAI,IAAI,sCAAsC,CAAC,CAAC,CAAC;gBACrK,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAA6C,IAAI,CAAC,WAAW,CAAC,cAAc,EAAE,GAAG,2DAA2D,EAAE,OAAO,CAAC,SAAS,EAAE,EAAE,IAAI,CAAC,UAAU,EAAE,CAAC;qBACrM,IAAI,CACDD,aAAG;;;eAAC,UAAA,IAAI,IAAI,OAAA,iCAAiC,CAAC,SAAS,CAAC,IAAI,CAAC,GAAA,EAAC,EAC9DC,eAAK,EAAE,CACV,CAAC;aACT;;oBA9BJJ,aAAU,SAAC,EAAC,UAAU,EAAE,MAAM,EAAC;;;;;wBALXK,eAAU;wBACvB,WAAW;;;;2CAhBnB;KAoBA,IAgCC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,2 +0,0 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("@angular/core"),require("@vendasta/core"),require("@angular/common/http"),require("rxjs/operators"),require("rxjs")):"function"==typeof define&&define.amd?define("@vendasta/social-posts",["exports","@angular/core","@vendasta/core","@angular/common/http","rxjs/operators","rxjs"],e):e((t.vendasta=t.vendasta||{},t.vendasta["social-posts"]={}),t.ng.core,t.i1,t.ng.common.http,t.rxjs.operators,t.rxjs)}(this,function(t,e,o,i,n,s){"use strict";var r=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t)},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.paths&&(t.paths=this.paths),t},o}(),a=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t)},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.socialServiceIds&&(t.socialServiceIds=this.socialServiceIds),"undefined"!=typeof this.accountGroupId&&(t.accountGroupId=this.accountGroupId),t},o}(),p=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.originalScheduledDate&&(e.originalScheduledDate=new Date(t.originalScheduledDate)),t.originalLocations&&(e.originalLocations=t.originalLocations.map(a.fromProto)),t.editedLocations&&(e.editedLocations=t.editedLocations.map(a.fromProto)),t.deletedLocations&&(e.deletedLocations=t.deletedLocations.map(a.fromProto)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.brandId&&(t.brandId=this.brandId),"undefined"!=typeof this.multilocationId&&(t.multilocationId=this.multilocationId),"undefined"!=typeof this.originalText&&(t.originalText=this.originalText),"undefined"!=typeof this.originalScheduledDate&&null!==this.originalScheduledDate&&(t.originalScheduledDate="toApiJson"in this.originalScheduledDate?this.originalScheduledDate.toApiJson():this.originalScheduledDate),"undefined"!=typeof this.originalMedia&&(t.originalMedia=this.originalMedia),"undefined"!=typeof this.originalLocations&&null!==this.originalLocations&&(t.originalLocations="toApiJson"in this.originalLocations?this.originalLocations.toApiJson():this.originalLocations),"undefined"!=typeof this.editedLocations&&null!==this.editedLocations&&(t.editedLocations="toApiJson"in this.editedLocations?this.editedLocations.toApiJson():this.editedLocations),"undefined"!=typeof this.deletedLocations&&null!==this.deletedLocations&&(t.deletedLocations="toApiJson"in this.deletedLocations?this.deletedLocations.toApiJson():this.deletedLocations),"undefined"!=typeof this.originalGifs&&(t.originalGifs=this.originalGifs),"undefined"!=typeof this.originalVideos&&(t.originalVideos=this.originalVideos),t},o}(),u=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t)},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.socialServiceId&&(t.socialServiceId=this.socialServiceId),"undefined"!=typeof this.accountGroupId&&(t.accountGroupId=this.accountGroupId),"undefined"!=typeof this.errorReason&&(t.errorReason=this.errorReason),t},o}(),c=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.created&&(e.created=new Date(t.created)),t.updated&&(e.updated=new Date(t.updated)),t.postDateTime&&(e.postDateTime=new Date(t.postDateTime)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.accountGroupId&&(t.accountGroupId=this.accountGroupId),"undefined"!=typeof this.templateId&&(t.templateId=this.templateId),"undefined"!=typeof this.title&&(t.title=this.title),"undefined"!=typeof this.created&&null!==this.created&&(t.created="toApiJson"in this.created?this.created.toApiJson():this.created),"undefined"!=typeof this.updated&&null!==this.updated&&(t.updated="toApiJson"in this.updated?this.updated.toApiJson():this.updated),"undefined"!=typeof this.postText&&(t.postText=this.postText),"undefined"!=typeof this.postDateTime&&null!==this.postDateTime&&(t.postDateTime="toApiJson"in this.postDateTime?this.postDateTime.toApiJson():this.postDateTime),"undefined"!=typeof this.gmbPostCustomization&&(t.gmbPostCustomization=this.gmbPostCustomization),"undefined"!=typeof this.imageUrl&&(t.imageUrl=this.imageUrl),"undefined"!=typeof this.imagePath&&(t.imagePath=this.imagePath),"undefined"!=typeof this.imageSize&&(t.imageSize=this.imageSize),"undefined"!=typeof this.previews&&(t.previews=this.previews),"undefined"!=typeof this.options&&(t.options=this.options),"undefined"!=typeof this.videoUrl&&(t.videoUrl=this.videoUrl),t},o}(),d={LEARN_MORE:0,BOOK:1,ORDER:2,SHOP:3,SIGN_UP:4,GET_OFFER:5,CALL:6};d[d.LEARN_MORE]="LEARN_MORE",d[d.BOOK]="BOOK",d[d.ORDER]="ORDER",d[d.SHOP]="SHOP",d[d.SIGN_UP]="SIGN_UP",d[d.GET_OFFER]="GET_OFFER",d[d.CALL]="CALL";var h={NONE:0,FAILED:1,IN_PROGRESS:2};h[h.NONE]="NONE",h[h.FAILED]="FAILED",h[h.IN_PROGRESS]="IN_PROGRESS";var f={POSTING_IN_PROGRESS:0,POSTING_FAILED:1,POSTING_COMPLETED:2};f[f.POSTING_IN_PROGRESS]="POSTING_IN_PROGRESS",f[f.POSTING_FAILED]="POSTING_FAILED",f[f.POSTING_COMPLETED]="POSTING_COMPLETED";var l={TWITTER:0,FACEBOOK:1,LINKED_IN:2,GOOGLE_PLUS:3,GOOGLE_MY_BUSINESS:4,UNKNOWN:5,INSTAGRAM:6};l[l.TWITTER]="TWITTER",l[l.FACEBOOK]="FACEBOOK",l[l.LINKED_IN]="LINKED_IN",l[l.GOOGLE_PLUS]="GOOGLE_PLUS",l[l.GOOGLE_MY_BUSINESS]="GOOGLE_MY_BUSINESS",l[l.UNKNOWN]="UNKNOWN",l[l.INSTAGRAM]="INSTAGRAM";var m={REMOVE_REASON_EDIT:0,REMOVE_REASON_DELETE:1};function P(t,e){return"number"==typeof e?e:t[e]}m[m.REMOVE_REASON_EDIT]="REMOVE_REASON_EDIT",m[m.REMOVE_REASON_DELETE]="REMOVE_REASON_DELETE";var v=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.actionType&&(e.actionType=P(d,t.actionType)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.url&&(t.url=this.url),"undefined"!=typeof this.actionType&&(t.actionType=this.actionType),t},o}(),y=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t)},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.reason&&(t.reason=this.reason),"undefined"!=typeof this.category&&(t.category=this.category),t},o}(),g=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.startDatetime&&(e.startDatetime=new Date(t.startDatetime)),t.endDatetime&&(e.endDatetime=new Date(t.endDatetime)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.title&&(t.title=this.title),"undefined"!=typeof this.startDatetime&&null!==this.startDatetime&&(t.startDatetime="toApiJson"in this.startDatetime?this.startDatetime.toApiJson():this.startDatetime),"undefined"!=typeof this.endDatetime&&null!==this.endDatetime&&(t.endDatetime="toApiJson"in this.endDatetime?this.endDatetime.toApiJson():this.endDatetime),t},o}(),I=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.error&&(e.error=y.fromProto(t.error)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.socialPostId&&(t.socialPostId=this.socialPostId),"undefined"!=typeof this.socialServiceId&&(t.socialServiceId=this.socialServiceId),"undefined"!=typeof this.socialServiceLabel&&(t.socialServiceLabel=this.socialServiceLabel),"undefined"!=typeof this.error&&null!==this.error&&(t.error="toApiJson"in this.error?this.error.toApiJson():this.error),t},o}(),S=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.posted&&(e.posted=new Date(t.posted)),t.deletionStatus&&(e.deletionStatus=P(h,t.deletionStatus)),t.service&&(e.service=P(l,t.service)),t.created&&(e.created=new Date(t.created)),t.scheduled&&(e.scheduled=new Date(t.scheduled)),t.status&&(e.status=P(f,t.status)),t.event&&(e.event=g.fromProto(t.event)),t.callToAction&&(e.callToAction=v.fromProto(t.callToAction)),t.error&&(e.error=y.fromProto(t.error)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.businessId&&(t.businessId=this.businessId),"undefined"!=typeof this.socialPostId&&(t.socialPostId=this.socialPostId),"undefined"!=typeof this.postText&&(t.postText=this.postText),"undefined"!=typeof this.posted&&null!==this.posted&&(t.posted="toApiJson"in this.posted?this.posted.toApiJson():this.posted),"undefined"!=typeof this.isError&&(t.isError=this.isError),"undefined"!=typeof this.deletionStatus&&(t.deletionStatus=this.deletionStatus),"undefined"!=typeof this.service&&(t.service=this.service),"undefined"!=typeof this.permalink&&(t.permalink=this.permalink),"undefined"!=typeof this.created&&null!==this.created&&(t.created="toApiJson"in this.created?this.created.toApiJson():this.created),"undefined"!=typeof this.profileUrl&&(t.profileUrl=this.profileUrl),"undefined"!=typeof this.profileImageUrl&&(t.profileImageUrl=this.profileImageUrl),"undefined"!=typeof this.scheduled&&null!==this.scheduled&&(t.scheduled="toApiJson"in this.scheduled?this.scheduled.toApiJson():this.scheduled),"undefined"!=typeof this.status&&(t.status=this.status),"undefined"!=typeof this.imageUrl&&(t.imageUrl=this.imageUrl),"undefined"!=typeof this.name&&(t.name=this.name),"undefined"!=typeof this.username&&(t.username=this.username),"undefined"!=typeof this.parentId&&(t.parentId=this.parentId),"undefined"!=typeof this.socialServiceId&&(t.socialServiceId=this.socialServiceId),"undefined"!=typeof this.event&&null!==this.event&&(t.event="toApiJson"in this.event?this.event.toApiJson():this.event),"undefined"!=typeof this.callToAction&&null!==this.callToAction&&(t.callToAction="toApiJson"in this.callToAction?this.callToAction.toApiJson():this.callToAction),"undefined"!=typeof this.videoUrl&&(t.videoUrl=this.videoUrl),"undefined"!=typeof this.error&&null!==this.error&&(t.error="toApiJson"in this.error?this.error.toApiJson():this.error),"undefined"!=typeof this.imageUrls&&(t.imageUrls=this.imageUrls),"undefined"!=typeof this.linkPreviewImageUrl&&(t.linkPreviewImageUrl=this.linkPreviewImageUrl),"undefined"!=typeof this.brandId&&(t.brandId=this.brandId),"undefined"!=typeof this.multilocationPostId&&(t.multilocationPostId=this.multilocationPostId),t},o}(),A=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.scheduleFor&&(e.scheduleFor=new Date(t.scheduleFor)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.postText&&(t.postText=this.postText),"undefined"!=typeof this.imageUrl&&(t.imageUrl=this.imageUrl),"undefined"!=typeof this.scheduleFor&&null!==this.scheduleFor&&(t.scheduleFor="toApiJson"in this.scheduleFor?this.scheduleFor.toApiJson():this.scheduleFor),t},o}(),b=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.commentCount&&(e.commentCount=parseInt(t.commentCount,10)),t.shareCount&&(e.shareCount=parseInt(t.shareCount,10)),t.likeCount&&(e.likeCount=parseInt(t.likeCount,10)),t.reactions&&(e.reactions=parseInt(t.reactions,10)),t.peopleReached&&(e.peopleReached=parseInt(t.peopleReached,10)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.commentCount&&(t.commentCount=this.commentCount),"undefined"!=typeof this.shareCount&&(t.shareCount=this.shareCount),"undefined"!=typeof this.likeCount&&(t.likeCount=this.likeCount),"undefined"!=typeof this.hasLike&&(t.hasLike=this.hasLike),"undefined"!=typeof this.canLike&&(t.canLike=this.canLike),"undefined"!=typeof this.reactions&&(t.reactions=this.reactions),"undefined"!=typeof this.peopleReached&&(t.peopleReached=this.peopleReached),t},o}(),O=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.facebookPostStats&&(e.facebookPostStats=b.fromProto(t.facebookPostStats)),t.twitterPostStats&&(e.twitterPostStats=J.fromProto(t.twitterPostStats)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.internalPostId&&(t.internalPostId=this.internalPostId),"undefined"!=typeof this.facebookPostStats&&null!==this.facebookPostStats&&(t.facebookPostStats="toApiJson"in this.facebookPostStats?this.facebookPostStats.toApiJson():this.facebookPostStats),"undefined"!=typeof this.twitterPostStats&&null!==this.twitterPostStats&&(t.twitterPostStats="toApiJson"in this.twitterPostStats?this.twitterPostStats.toApiJson():this.twitterPostStats),t},o}(),J=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.favourites&&(e.favourites=parseInt(t.favourites,10)),t.retweets&&(e.retweets=parseInt(t.retweets,10)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.favourites&&(t.favourites=this.favourites),"undefined"!=typeof this.hasFavourited&&(t.hasFavourited=this.hasFavourited),"undefined"!=typeof this.retweets&&(t.retweets=this.retweets),"undefined"!=typeof this.hasRetweeted&&(t.hasRetweeted=this.hasRetweeted),t},o}();var w=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.scheduledDate&&(e.scheduledDate=new Date(t.scheduledDate)),t.locations&&(e.locations=t.locations.map(a.fromProto)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.brandId&&(t.brandId=this.brandId),"undefined"!=typeof this.text&&(t.text=this.text),"undefined"!=typeof this.media&&(t.media=this.media),"undefined"!=typeof this.scheduledDate&&null!==this.scheduledDate&&(t.scheduledDate="toApiJson"in this.scheduledDate?this.scheduledDate.toApiJson():this.scheduledDate),"undefined"!=typeof this.locations&&null!==this.locations&&(t.locations="toApiJson"in this.locations?this.locations.toApiJson():this.locations),"undefined"!=typeof this.gifs&&(t.gifs=this.gifs),"undefined"!=typeof this.videos&&(t.videos=this.videos),t},o}(),D=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.post&&(e.post=p.fromProto(t.post)),t.errors&&(e.errors=t.errors.map(u.fromProto)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.post&&null!==this.post&&(t.post="toApiJson"in this.post?this.post.toApiJson():this.post),"undefined"!=typeof this.errors&&null!==this.errors&&(t.errors="toApiJson"in this.errors?this.errors.toApiJson():this.errors),t},o}(),T=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.postDateTime&&(e.postDateTime=new Date(t.postDateTime)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.accountGroupId&&(t.accountGroupId=this.accountGroupId),"undefined"!=typeof this.title&&(t.title=this.title),"undefined"!=typeof this.postText&&(t.postText=this.postText),"undefined"!=typeof this.postDateTime&&null!==this.postDateTime&&(t.postDateTime="toApiJson"in this.postDateTime?this.postDateTime.toApiJson():this.postDateTime),"undefined"!=typeof this.gmbPostCustomization&&(t.gmbPostCustomization=this.gmbPostCustomization),"undefined"!=typeof this.imageUrl&&(t.imageUrl=this.imageUrl),"undefined"!=typeof this.imagePath&&(t.imagePath=this.imagePath),"undefined"!=typeof this.imageSize&&(t.imageSize=this.imageSize),"undefined"!=typeof this.previews&&(t.previews=this.previews),"undefined"!=typeof this.options&&(t.options=this.options),"undefined"!=typeof this.videoUrl&&(t.videoUrl=this.videoUrl),t},o}(),j=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t)},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.templateId&&(t.templateId=this.templateId),t},o}(),E=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.beginRange&&(e.beginRange=new Date(t.beginRange)),t.endRange&&(e.endRange=new Date(t.endRange)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.beginRange&&null!==this.beginRange&&(t.beginRange="toApiJson"in this.beginRange?this.beginRange.toApiJson():this.beginRange),"undefined"!=typeof this.endRange&&null!==this.endRange&&(t.endRange="toApiJson"in this.endRange?this.endRange.toApiJson():this.endRange),t},o}(),R=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t)},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.brandId&&(t.brandId=this.brandId),"undefined"!=typeof this.multilocationId&&(t.multilocationId=this.multilocationId),t},o}(),M=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t)},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.accountGroupId&&(t.accountGroupId=this.accountGroupId),"undefined"!=typeof this.templateId&&(t.templateId=this.templateId),t},o}(),L=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t)},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.businessId&&(t.businessId=this.businessId),"undefined"!=typeof this.socialPostId&&(t.socialPostId=this.socialPostId),t},o}(),C=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.scheduledDate&&(e.scheduledDate=new Date(t.scheduledDate)),t.fieldMask&&(e.fieldMask=r.fromProto(t.fieldMask)),t.locations&&(e.locations=t.locations.map(a.fromProto)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.brandId&&(t.brandId=this.brandId),"undefined"!=typeof this.multilocationId&&(t.multilocationId=this.multilocationId),"undefined"!=typeof this.text&&(t.text=this.text),"undefined"!=typeof this.media&&(t.media=this.media),"undefined"!=typeof this.scheduledDate&&null!==this.scheduledDate&&(t.scheduledDate="toApiJson"in this.scheduledDate?this.scheduledDate.toApiJson():this.scheduledDate),"undefined"!=typeof this.fieldMask&&null!==this.fieldMask&&(t.fieldMask="toApiJson"in this.fieldMask?this.fieldMask.toApiJson():this.fieldMask),"undefined"!=typeof this.gifs&&(t.gifs=this.gifs),"undefined"!=typeof this.videos&&(t.videos=this.videos),"undefined"!=typeof this.locations&&null!==this.locations&&(t.locations="toApiJson"in this.locations?this.locations.toApiJson():this.locations),t},o}(),G=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.post&&(e.post=p.fromProto(t.post)),t.errors&&(e.errors=t.errors.map(u.fromProto)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.post&&null!==this.post&&(t.post="toApiJson"in this.post?this.post.toApiJson():this.post),"undefined"!=typeof this.errors&&null!==this.errors&&(t.errors="toApiJson"in this.errors?this.errors.toApiJson():this.errors),t},o}(),_=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.dateRange&&(e.dateRange=E.fromProto(t.dateRange)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.dateRange&&null!==this.dateRange&&(t.dateRange="toApiJson"in this.dateRange?this.dateRange.toApiJson():this.dateRange),"undefined"!=typeof this.partnerId&&(t.partnerId=this.partnerId),t},o}(),U=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t)},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.internalPostIds&&(t.internalPostIds=this.internalPostIds),"undefined"!=typeof this.businessId&&(t.businessId=this.businessId),"undefined"!=typeof this.partnerId&&(t.partnerId=this.partnerId),t},o}(),N=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.socialPostStats&&(e.socialPostStats=t.socialPostStats.map(O.fromProto)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.socialPostStats&&null!==this.socialPostStats&&(t.socialPostStats="toApiJson"in this.socialPostStats?this.socialPostStats.toApiJson():this.socialPostStats),t},o}(),k=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t)},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.businessId&&(t.businessId=this.businessId),"undefined"!=typeof this.internalPostIds&&(t.internalPostIds=this.internalPostIds),t},o}(),x=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.socialPosts&&(e.socialPosts=t.socialPosts.map(S.fromProto)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.socialPosts&&null!==this.socialPosts&&(t.socialPosts="toApiJson"in this.socialPosts?this.socialPosts.toApiJson():this.socialPosts),t},o}(),z=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t)},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.brandId&&(t.brandId=this.brandId),"undefined"!=typeof this.multilocationId&&(t.multilocationId=this.multilocationId),t},o}(),F=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.multilocationPost&&(e.multilocationPost=p.fromProto(t.multilocationPost)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.multilocationPost&&null!==this.multilocationPost&&(t.multilocationPost="toApiJson"in this.multilocationPost?this.multilocationPost.toApiJson():this.multilocationPost),t},o}(),H=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t)},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.accountGroupId&&(t.accountGroupId=this.accountGroupId),"undefined"!=typeof this.templateId&&(t.templateId=this.templateId),t},o}(),W=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.postTemplate&&(e.postTemplate=c.fromProto(t.postTemplate)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.postTemplate&&null!==this.postTemplate&&(t.postTemplate="toApiJson"in this.postTemplate?this.postTemplate.toApiJson():this.postTemplate),t},o}(),B=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t)},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.partnerId&&(t.partnerId=this.partnerId),"undefined"!=typeof this.businessId&&(t.businessId=this.businessId),"undefined"!=typeof this.socialServiceIds&&(t.socialServiceIds=this.socialServiceIds),t},o}(),K=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.count&&(e.count=parseInt(t.count,10)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.count&&(t.count=this.count),t},o}(),V=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.startDate&&(e.startDate=new Date(t.startDate)),t.endDate&&(e.endDate=new Date(t.endDate)),t.pageSize&&(e.pageSize=parseInt(t.pageSize,10)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.brandId&&(t.brandId=this.brandId),"undefined"!=typeof this.startDate&&null!==this.startDate&&(t.startDate="toApiJson"in this.startDate?this.startDate.toApiJson():this.startDate),"undefined"!=typeof this.endDate&&null!==this.endDate&&(t.endDate="toApiJson"in this.endDate?this.endDate.toApiJson():this.endDate),"undefined"!=typeof this.cursor&&(t.cursor=this.cursor),"undefined"!=typeof this.pageSize&&(t.pageSize=this.pageSize),t},o}(),q=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.multilocationPosts&&(e.multilocationPosts=t.multilocationPosts.map(p.fromProto)),t.failedSocialPosts&&(e.failedSocialPosts=t.failedSocialPosts.map(S.fromProto)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.multilocationPosts&&null!==this.multilocationPosts&&(t.multilocationPosts="toApiJson"in this.multilocationPosts?this.multilocationPosts.toApiJson():this.multilocationPosts),"undefined"!=typeof this.nextCursor&&(t.nextCursor=this.nextCursor),"undefined"!=typeof this.hasMore&&(t.hasMore=this.hasMore),"undefined"!=typeof this.failedSocialPosts&&null!==this.failedSocialPosts&&(t.failedSocialPosts="toApiJson"in this.failedSocialPosts?this.failedSocialPosts.toApiJson():this.failedSocialPosts),t},o}(),Y=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.pageSize&&(e.pageSize=parseInt(t.pageSize,10)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.accountGroupId&&(t.accountGroupId=this.accountGroupId),"undefined"!=typeof this.cursor&&(t.cursor=this.cursor),"undefined"!=typeof this.pageSize&&(t.pageSize=this.pageSize),t},o}(),Q=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.postTemplate&&(e.postTemplate=t.postTemplate.map(c.fromProto)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.postTemplate&&null!==this.postTemplate&&(t.postTemplate="toApiJson"in this.postTemplate?this.postTemplate.toApiJson():this.postTemplate),"undefined"!=typeof this.nextCursor&&(t.nextCursor=this.nextCursor),"undefined"!=typeof this.hasMore&&(t.hasMore=this.hasMore),t},o}(),X=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.start&&(e.start=new Date(t.start)),t.end&&(e.end=new Date(t.end)),t.pageSize&&(e.pageSize=parseInt(t.pageSize,10)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.start&&null!==this.start&&(t.start="toApiJson"in this.start?this.start.toApiJson():this.start),"undefined"!=typeof this.end&&null!==this.end&&(t.end="toApiJson"in this.end?this.end.toApiJson():this.end),"undefined"!=typeof this.businessId&&(t.businessId=this.businessId),"undefined"!=typeof this.partnerId&&(t.partnerId=this.partnerId),"undefined"!=typeof this.cursor&&(t.cursor=this.cursor),"undefined"!=typeof this.socialServiceIds&&(t.socialServiceIds=this.socialServiceIds),"undefined"!=typeof this.tags&&(t.tags=this.tags),"undefined"!=typeof this.pageSize&&(t.pageSize=this.pageSize),t},o}(),Z=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.socialPosts&&(e.socialPosts=t.socialPosts.map(S.fromProto)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.socialPosts&&null!==this.socialPosts&&(t.socialPosts="toApiJson"in this.socialPosts?this.socialPosts.toApiJson():this.socialPosts),"undefined"!=typeof this.nextCursor&&(t.nextCursor=this.nextCursor),"undefined"!=typeof this.hasMore&&(t.hasMore=this.hasMore),t},o}(),$=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.socialPosts&&(e.socialPosts=t.socialPosts.map(S.fromProto)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.socialPosts&&null!==this.socialPosts&&(t.socialPosts="toApiJson"in this.socialPosts?this.socialPosts.toApiJson():this.socialPosts),"undefined"!=typeof this.nextCursor&&(t.nextCursor=this.nextCursor),"undefined"!=typeof this.hasMore&&(t.hasMore=this.hasMore),t},o}(),tt=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.filters&&(e.filters=_.fromProto(t.filters)),t.pageSize&&(e.pageSize=parseInt(t.pageSize,10)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.cursor&&(t.cursor=this.cursor),"undefined"!=typeof this.filters&&null!==this.filters&&(t.filters="toApiJson"in this.filters?this.filters.toApiJson():this.filters),"undefined"!=typeof this.pageSize&&(t.pageSize=this.pageSize),t},o}(),et=function(){function i(t){t&&Object.assign(this,t)}return i.fromProto=function(t){var e=new i;return e=Object.assign(e,t),t.reason&&(e.reason=function o(t,e){return"number"==typeof e?e:t[e]}(m,t.reason)),t.locations&&(e.locations=t.locations.map(a.fromProto)),e},i.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.reason&&(t.reason=this.reason),"undefined"!=typeof this.brandId&&(t.brandId=this.brandId),"undefined"!=typeof this.multilocationId&&(t.multilocationId=this.multilocationId),"undefined"!=typeof this.locations&&null!==this.locations&&(t.locations="toApiJson"in this.locations?this.locations.toApiJson():this.locations),t},i}(),ot=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.socialPost&&(e.socialPost=A.fromProto(t.socialPost)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.socialPost&&null!==this.socialPost&&(t.socialPost="toApiJson"in this.socialPost?this.socialPost.toApiJson():this.socialPost),"undefined"!=typeof this.socialServiceIds&&(t.socialServiceIds=this.socialServiceIds),"undefined"!=typeof this.partnerId&&(t.partnerId=this.partnerId),"undefined"!=typeof this.businessId&&(t.businessId=this.businessId),t},o}(),it=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.statuses&&(e.statuses=t.statuses.map(I.fromProto)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.statuses&&null!==this.statuses&&(t.statuses="toApiJson"in this.statuses?this.statuses.toApiJson():this.statuses),t},o}(),nt=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.socialPost&&(e.socialPost=A.fromProto(t.socialPost)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.socialPost&&null!==this.socialPost&&(t.socialPost="toApiJson"in this.socialPost?this.socialPost.toApiJson():this.socialPost),"undefined"!=typeof this.partnerId&&(t.partnerId=this.partnerId),"undefined"!=typeof this.businessId&&(t.businessId=this.businessId),t},o}(),st=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.statuses&&(e.statuses=t.statuses.map(I.fromProto)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.statuses&&null!==this.statuses&&(t.statuses="toApiJson"in this.statuses?this.statuses.toApiJson():this.statuses),t},o}(),rt=function(){function o(t){t&&Object.assign(this,t)}return o.fromProto=function(t){var e=new o;return e=Object.assign(e,t),t.postDateTime&&(e.postDateTime=new Date(t.postDateTime)),e},o.prototype.toApiJson=function(){var t={};return"undefined"!=typeof this.accountGroupId&&(t.accountGroupId=this.accountGroupId),"undefined"!=typeof this.templateId&&(t.templateId=this.templateId),"undefined"!=typeof this.title&&(t.title=this.title),"undefined"!=typeof this.postText&&(t.postText=this.postText),"undefined"!=typeof this.postDateTime&&null!==this.postDateTime&&(t.postDateTime="toApiJson"in this.postDateTime?this.postDateTime.toApiJson():this.postDateTime),"undefined"!=typeof this.gmbPostCustomization&&(t.gmbPostCustomization=this.gmbPostCustomization),"undefined"!=typeof this.imageUrl&&(t.imageUrl=this.imageUrl),"undefined"!=typeof this.imagePath&&(t.imagePath=this.imagePath),"undefined"!=typeof this.imageSize&&(t.imageSize=this.imageSize),"undefined"!=typeof this.previews&&(t.previews=this.previews),"undefined"!=typeof this.options&&(t.options=this.options),"undefined"!=typeof this.videoUrl&&(t.videoUrl=this.videoUrl),t},o}(),at=function(){return(at=Object.assign||function(t){for(var e,o=1,i=arguments.length;o<i;o++)for(var n in e=arguments[o])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t}).apply(this,arguments)},pt=function(){function t(t){this.environmentService=t}return t.prototype.host=function(){if(this._host)return this._host;switch(this.environmentService.getEnvironment()){case o.Environment.LOCAL:this._host="social-post.vendasta-local.com";break;case o.Environment.TEST:this._host="";break;case o.Environment.DEMO:this._host="social-posts-demo.apigateway.co";break;case o.Environment.PROD:this._host="social-posts-prod.apigateway.co"}return this._host},t.prototype.httpsHost=function(){if(this._httpsHost)return this._httpsHost;switch(this.environmentService.getEnvironment()){case o.Environment.LOCAL:this._httpsHost="social-post.vendasta-local.com";break;case o.Environment.TEST:this._httpsHost="";break;case o.Environment.DEMO:this._httpsHost="social-posts-api-demo.apigateway.co";break;case o.Environment.PROD:this._httpsHost="social-posts-api-prod.apigateway.co"}return this._httpsHost},t.prototype.hostWithScheme=function(){return(this.environmentService.getEnvironment()===o.Environment.LOCAL?"http://":"https://")+this.host()},t.prototype.httpsHostWithScheme=function(){return(this.environmentService.getEnvironment()===o.Environment.LOCAL?"http://":"https://")+this.httpsHost()},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:o.EnvironmentService}]},t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t(e.ɵɵinject(o.EnvironmentService))},token:t,providedIn:"root"}),t}(),ut=function(){function t(t,e){this.http=t,this.hostService=e}return t.prototype.apiOptions=function(){return{headers:new i.HttpHeaders({"Content-Type":"application/json"}),withCredentials:!0}},t.prototype.list=function(t){var e=t.toApiJson?t:new X(t);return this.http.post(this.hostService.hostWithScheme()+"/socialposts.v1.SocialPosts/List",e.toApiJson(),this.apiOptions()).pipe(n.map(function(t){return Z.fromProto(t)}),n.share())},t.prototype.deleteSocialPost=function(t){var e=t.toApiJson?t:new L(t);return this.http.post(this.hostService.hostWithScheme()+"/socialposts.v1.SocialPosts/DeleteSocialPost",e.toApiJson(),at({},this.apiOptions(),{observe:"response"}))},t.prototype.scheduleToAllPages=function(t){var e=t.toApiJson?t:new nt(t);return this.http.post(this.hostService.hostWithScheme()+"/socialposts.v1.SocialPosts/ScheduleToAllPages",e.toApiJson(),this.apiOptions()).pipe(n.map(function(t){return st.fromProto(t)}),n.share())},t.prototype.schedule=function(t){var e=t.toApiJson?t:new ot(t);return this.http.post(this.hostService.hostWithScheme()+"/socialposts.v1.SocialPosts/Schedule",e.toApiJson(),this.apiOptions()).pipe(n.map(function(t){return it.fromProto(t)}),n.share())},t.prototype.getMultiSocialPosts=function(t){var e=t.toApiJson?t:new k(t);return this.http.post(this.hostService.hostWithScheme()+"/socialposts.v1.SocialPosts/GetMultiSocialPosts",e.toApiJson(),this.apiOptions()).pipe(n.map(function(t){return x.fromProto(t)}),n.share())},t.prototype.getMultiSocialPostStats=function(t){var e=t.toApiJson?t:new U(t);return this.http.post(this.hostService.hostWithScheme()+"/socialposts.v1.SocialPosts/GetMultiSocialPostStats",e.toApiJson(),this.apiOptions()).pipe(n.map(function(t){return N.fromProto(t)}),n.share())},t.prototype.getScheduledPostCount=function(t){var e=t.toApiJson?t:new B(t);return this.http.post(this.hostService.hostWithScheme()+"/socialposts.v1.SocialPosts/GetScheduledPostCount",e.toApiJson(),this.apiOptions()).pipe(n.map(function(t){return K.fromProto(t)}),n.share())},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:i.HttpClient},{type:pt}]},t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t(e.ɵɵinject(i.HttpClient),e.ɵɵinject(pt))},token:t,providedIn:"root"}),t}(),ct=function(){function t(t){this.socialPostsApiService=t}return t.prototype.list=function(t,e,o,i,n,s,r,a){var p=new X({start:t,end:e,businessId:i,partnerId:n,cursor:s,socialServiceIds:o,tags:r,pageSize:a});return this.socialPostsApiService.list(p)},t.prototype.getMultiSocialPosts=function(t,e){if(!e||0===e.length){var o=new x;return s.of(o)}var i=new k({businessId:t,internalPostIds:e});return this.socialPostsApiService.getMultiSocialPosts(i)},t.prototype.getScheduledPostCount=function(t,e,o){var i=new B({partnerId:t,businessId:e,socialServiceIds:o});return this.socialPostsApiService.getScheduledPostCount(i)},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:ut}]},t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t(e.ɵɵinject(ut))},token:t,providedIn:"root"}),t}(),dt=function(){function t(t,e){this.http=t,this.hostService=e}return t.prototype.apiOptions=function(){return{headers:new i.HttpHeaders({"Content-Type":"application/json"}),withCredentials:!0}},t.prototype.updatePostTemplate=function(t){var e=t.toApiJson?t:new rt(t);return this.http.post(this.hostService.hostWithScheme()+"/socialposts.v1.PostTemplates/UpdatePostTemplate",e.toApiJson(),at({},this.apiOptions(),{observe:"response"}))},t.prototype.createPostTemplate=function(t){var e=t.toApiJson?t:new T(t);return this.http.post(this.hostService.hostWithScheme()+"/socialposts.v1.PostTemplates/CreatePostTemplate",e.toApiJson(),this.apiOptions()).pipe(n.map(function(t){return j.fromProto(t)}),n.share())},t.prototype.getPostTemplate=function(t){var e=t.toApiJson?t:new H(t);return this.http.post(this.hostService.hostWithScheme()+"/socialposts.v1.PostTemplates/GetPostTemplate",e.toApiJson(),this.apiOptions()).pipe(n.map(function(t){return W.fromProto(t)}),n.share())},t.prototype.listPostTemplates=function(t){var e=t.toApiJson?t:new Y(t);return this.http.post(this.hostService.hostWithScheme()+"/socialposts.v1.PostTemplates/ListPostTemplates",e.toApiJson(),this.apiOptions()).pipe(n.map(function(t){return Q.fromProto(t)}),n.share())},t.prototype.deletePostTemplate=function(t){var e=t.toApiJson?t:new M(t);return this.http.post(this.hostService.hostWithScheme()+"/socialposts.v1.PostTemplates/DeletePostTemplate",e.toApiJson(),at({},this.apiOptions(),{observe:"response"}))},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:i.HttpClient},{type:pt}]},t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t(e.ɵɵinject(i.HttpClient),e.ɵɵinject(pt))},token:t,providedIn:"root"}),t}(),ht=function(){function t(t){this.socialPostsApiService=t}return t.prototype.updatePostTemplate=function(t,e,o,i,n,s,r,a,p,u,c,d){var h=new rt({accountGroupId:t,templateId:e,title:o,postText:i,postDateTime:n,gmbPostCustomization:s,imageUrl:r,imagePath:a,imageSize:p,previews:u,options:c,videoUrl:d});return this.socialPostsApiService.updatePostTemplate(h)},t.prototype.createPostTemplate=function(t,e,o,i,n,s,r,a,p,u,c){var d=new T({accountGroupId:t,title:e,postText:o,postDateTime:i,gmbPostCustomization:n,imageUrl:s,imagePath:r,imageSize:a,previews:p,options:u,videoUrl:c});return this.socialPostsApiService.createPostTemplate(d)},t.prototype.getPostTemplate=function(t,e){var o=new H({accountGroupId:t,templateId:e});return this.socialPostsApiService.getPostTemplate(o)},t.prototype.listPostTemplates=function(t,e,o){var i=new Y({accountGroupId:t,cursor:e,pageSize:o});return this.socialPostsApiService.listPostTemplates(i)},t.prototype.deletePostTemplate=function(t,e){var o=new M({accountGroupId:t,templateId:e});return this.socialPostsApiService.deletePostTemplate(o)},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:dt}]},t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t(e.ɵɵinject(dt))},token:t,providedIn:"root"}),t}(),ft=function(){function t(t,e){this.http=t,this.hostService=e}return t.prototype.apiOptions=function(){return{headers:new i.HttpHeaders({"Content-Type":"application/json"}),withCredentials:!0}},t.prototype.createMultilocationPost=function(t){var e=t.toApiJson?t:new w(t);return this.http.post(this.hostService.hostWithScheme()+"/socialposts.v1.MultilocationPostService/CreateMultilocationPost",e.toApiJson(),this.apiOptions()).pipe(n.map(function(t){return D.fromProto(t)}),n.share())},t.prototype.editMultilocationPost=function(t){var e=t.toApiJson?t:new C(t);return this.http.post(this.hostService.hostWithScheme()+"/socialposts.v1.MultilocationPostService/EditMultilocationPost",e.toApiJson(),this.apiOptions()).pipe(n.map(function(t){return G.fromProto(t)}),n.share())},t.prototype.removeFromMultilocationPost=function(t){var e=t.toApiJson?t:new et(t);return this.http.post(this.hostService.hostWithScheme()+"/socialposts.v1.MultilocationPostService/RemoveFromMultilocationPost",e.toApiJson(),at({},this.apiOptions(),{observe:"response"}))},t.prototype.listMultilocationPostsForBrand=function(t){var e=t.toApiJson?t:new V(t);return this.http.post(this.hostService.hostWithScheme()+"/socialposts.v1.MultilocationPostService/ListMultilocationPostsForBrand",e.toApiJson(),this.apiOptions()).pipe(n.map(function(t){return q.fromProto(t)}),n.share())},t.prototype.deleteMultilocationPost=function(t){var e=t.toApiJson?t:new R(t);return this.http.post(this.hostService.hostWithScheme()+"/socialposts.v1.MultilocationPostService/DeleteMultilocationPost",e.toApiJson(),at({},this.apiOptions(),{observe:"response"}))},t.prototype.getMultilocationPost=function(t){var e=t.toApiJson?t:new z(t);return this.http.post(this.hostService.hostWithScheme()+"/socialposts.v1.MultilocationPostService/GetMultilocationPost",e.toApiJson(),this.apiOptions()).pipe(n.map(function(t){return F.fromProto(t)}),n.share())},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:i.HttpClient},{type:pt}]},t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t(e.ɵɵinject(i.HttpClient),e.ɵɵinject(pt))},token:t,providedIn:"root"}),t}(),lt=function(){function t(t){this.multilocationApiService=t}return t.prototype.createMultilocationPost=function(t,e,o,i,n,s,r){var a=new w({brandId:t,text:e,media:o,gifs:i,videos:n,scheduledDate:s,locations:r});return this.multilocationApiService.createMultilocationPost(a)},t.prototype.editMultilocationPost=function(t,e,o,i,n,s,r,a,p){var u=new C({brandId:t,multilocationId:e,text:o,media:i,gifs:n,videos:s,scheduledDate:r,locations:a,fieldMask:p});return this.multilocationApiService.editMultilocationPost(u)},t.prototype.removeFromMultilocationPost=function(t,e,o,i){var n=new et({reason:t,brandId:e,multilocationId:o,locations:i});return this.multilocationApiService.removeFromMultilocationPost(n)},t.prototype.listMultilocationPostsForBrand=function(t,e,o,i,n){var s=new V({brandId:t,startDate:e,endDate:o,cursor:i,pageSize:n});return this.multilocationApiService.listMultilocationPostsForBrand(s)},t.prototype.deleteMultilocationPost=function(t,e){var o=new R({brandId:t,multilocationId:e});return this.multilocationApiService.deleteMultilocationPost(o)},t.prototype.getMultilocationPost=function(t,e){var o=new z({brandId:t,multilocationId:e});return this.multilocationApiService.getMultilocationPost(o)},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:ft}]},t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t(e.ɵɵinject(ft))},token:t,providedIn:"root"}),t}();!function(){function t(t,e){this.http=t,this.hostService=e}t.prototype.apiOptions=function(){return{headers:new i.HttpHeaders({"Content-Type":"application/json"}),withCredentials:!0}},t.prototype.listScheduled=function(t){var e=t.toApiJson?t:new tt(t);return this.http.post(this.hostService.hostWithScheme()+"/socialposts.v1.PartnerSocialPosts/ListScheduled",e.toApiJson(),this.apiOptions()).pipe(n.map(function(t){return $.fromProto(t)}),n.share())},t.prototype.listScheduledByCreated=function(t){var e=t.toApiJson?t:new tt(t);return this.http.post(this.hostService.hostWithScheme()+"/socialposts.v1.PartnerSocialPosts/ListScheduledByCreated",e.toApiJson(),this.apiOptions()).pipe(n.map(function(t){return $.fromProto(t)}),n.share())},t.decorators=[{type:e.Injectable,args:[{providedIn:"root"}]}],t.ctorParameters=function(){return[{type:i.HttpClient},{type:pt}]},t.ngInjectableDef=e.ɵɵdefineInjectable({factory:function(){return new t(e.ɵɵinject(i.HttpClient),e.ɵɵinject(pt))},token:t,providedIn:"root"})}();t.SocialPostsService=ct,t.PostTemplatesService=ht,t.MultilocationPostsService=lt,t.FieldMask=r,t.Location=a,t.MultilocationPost=p,t.PostingStatus=f,t.RemoveReason=m,t.MultilocationPostApiService=ft,t.GetMultilocationPostRequest=z,t.DeleteMultilocationPostRequest=R,t.ListMultilocationPostsForBrandRequest=V,t.ɵb=pt,t.ɵd=ft,t.ɵc=dt,t.ɵa=ut,Object.defineProperty(t,"__esModule",{value:!0})});
2
- //# sourceMappingURL=vendasta-social-posts.umd.min.js.map