@vendasta/social-posts 5.31.1 → 5.32.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 (57) hide show
  1. package/esm2020/lib/_internal/blog-connection.api.service.mjs +7 -8
  2. package/esm2020/lib/_internal/blog-posts.api.service.mjs +44 -0
  3. package/esm2020/lib/_internal/chat-bot-v2.api.service.mjs +7 -8
  4. package/esm2020/lib/_internal/chat-bot.api.service.mjs +7 -8
  5. package/esm2020/lib/_internal/common-ai-instructions.api.service.mjs +7 -8
  6. package/esm2020/lib/_internal/content-generation.api.service.mjs +7 -8
  7. package/esm2020/lib/_internal/curated-content.api.service.mjs +7 -8
  8. package/esm2020/lib/_internal/hash-tags.api.service.mjs +7 -8
  9. package/esm2020/lib/_internal/index.mjs +2 -1
  10. package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
  11. package/esm2020/lib/_internal/interfaces/wordpress-plugin.interface.mjs +1 -1
  12. package/esm2020/lib/_internal/linkedin.api.service.mjs +7 -8
  13. package/esm2020/lib/_internal/multilocation-post.api.service.mjs +7 -8
  14. package/esm2020/lib/_internal/objects/index.mjs +2 -2
  15. package/esm2020/lib/_internal/objects/wordpress-plugin.mjs +224 -1
  16. package/esm2020/lib/_internal/partner-social-posts.api.service.mjs +7 -8
  17. package/esm2020/lib/_internal/pixabay-images.api.service.mjs +7 -8
  18. package/esm2020/lib/_internal/post-performance.api.service.mjs +7 -8
  19. package/esm2020/lib/_internal/post-templates.api.service.mjs +7 -8
  20. package/esm2020/lib/_internal/social-posts-v2.api.service.mjs +7 -8
  21. package/esm2020/lib/_internal/social-posts.api.service.mjs +7 -8
  22. package/esm2020/lib/_internal/tenor-gifs.api.service.mjs +7 -8
  23. package/esm2020/lib/_internal/unsplash.api.service.mjs +7 -8
  24. package/esm2020/lib/_internal/wordpress-plugin.api.service.mjs +7 -8
  25. package/esm2020/lib/blog-posts.service.mjs +22 -0
  26. package/esm2020/lib/index.mjs +2 -1
  27. package/fesm2015/vendasta-social-posts.mjs +371 -94
  28. package/fesm2015/vendasta-social-posts.mjs.map +1 -1
  29. package/fesm2020/vendasta-social-posts.mjs +371 -94
  30. package/fesm2020/vendasta-social-posts.mjs.map +1 -1
  31. package/lib/_internal/blog-connection.api.service.d.ts +3 -5
  32. package/lib/_internal/blog-posts.api.service.d.ts +15 -0
  33. package/lib/_internal/chat-bot-v2.api.service.d.ts +2 -5
  34. package/lib/_internal/chat-bot.api.service.d.ts +3 -5
  35. package/lib/_internal/common-ai-instructions.api.service.d.ts +2 -5
  36. package/lib/_internal/content-generation.api.service.d.ts +2 -5
  37. package/lib/_internal/curated-content.api.service.d.ts +2 -5
  38. package/lib/_internal/hash-tags.api.service.d.ts +3 -5
  39. package/lib/_internal/index.d.ts +1 -0
  40. package/lib/_internal/interfaces/index.d.ts +1 -1
  41. package/lib/_internal/interfaces/wordpress-plugin.interface.d.ts +43 -0
  42. package/lib/_internal/linkedin.api.service.d.ts +3 -5
  43. package/lib/_internal/multilocation-post.api.service.d.ts +3 -5
  44. package/lib/_internal/objects/index.d.ts +1 -1
  45. package/lib/_internal/objects/wordpress-plugin.d.ts +58 -0
  46. package/lib/_internal/partner-social-posts.api.service.d.ts +2 -5
  47. package/lib/_internal/pixabay-images.api.service.d.ts +2 -5
  48. package/lib/_internal/post-performance.api.service.d.ts +2 -5
  49. package/lib/_internal/post-templates.api.service.d.ts +3 -5
  50. package/lib/_internal/social-posts-v2.api.service.d.ts +3 -5
  51. package/lib/_internal/social-posts.api.service.d.ts +3 -5
  52. package/lib/_internal/tenor-gifs.api.service.d.ts +2 -5
  53. package/lib/_internal/unsplash.api.service.d.ts +2 -5
  54. package/lib/_internal/wordpress-plugin.api.service.d.ts +2 -5
  55. package/lib/blog-posts.service.d.ts +12 -0
  56. package/lib/index.d.ts +1 -0
  57. package/package.json +1 -1
@@ -1,8 +1,7 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Injectable } from '@angular/core';
2
+ import { Injectable, inject } from '@angular/core';
3
3
  import { of } from 'rxjs';
4
- import * as i1 from '@angular/common/http';
5
- import { HttpHeaders } from '@angular/common/http';
4
+ import { HttpClient, HttpHeaders } from '@angular/common/http';
6
5
  import { map } from 'rxjs/operators';
7
6
 
8
7
  function enumStringToValue$g(enumRef, value) {
@@ -5751,6 +5750,131 @@ class BlogImage {
5751
5750
  return toReturn;
5752
5751
  }
5753
5752
  }
5753
+ class BlogPost {
5754
+ static fromProto(proto) {
5755
+ let m = new BlogPost();
5756
+ m = Object.assign(m, proto);
5757
+ if (proto.images) {
5758
+ m.images = proto.images.map(MediaProperty.fromProto);
5759
+ }
5760
+ if (proto.video) {
5761
+ m.video = proto.video.map(MediaProperty.fromProto);
5762
+ }
5763
+ if (proto.author) {
5764
+ m.author = Author.fromProto(proto.author);
5765
+ }
5766
+ if (proto.categories) {
5767
+ m.categories = proto.categories.map(Category.fromProto);
5768
+ }
5769
+ if (proto.postDateTime) {
5770
+ m.postDateTime = new Date(proto.postDateTime);
5771
+ }
5772
+ if (proto.postedDateTime) {
5773
+ m.postedDateTime = new Date(proto.postedDateTime);
5774
+ }
5775
+ if (proto.pageViews) {
5776
+ m.pageViews = parseInt(proto.pageViews, 10);
5777
+ }
5778
+ if (proto.commentsCount) {
5779
+ m.commentsCount = parseInt(proto.commentsCount, 10);
5780
+ }
5781
+ if (proto.created) {
5782
+ m.created = new Date(proto.created);
5783
+ }
5784
+ if (proto.updated) {
5785
+ m.updated = new Date(proto.updated);
5786
+ }
5787
+ if (proto.deleted) {
5788
+ m.deleted = new Date(proto.deleted);
5789
+ }
5790
+ return m;
5791
+ }
5792
+ constructor(kwargs) {
5793
+ if (!kwargs) {
5794
+ return;
5795
+ }
5796
+ Object.assign(this, kwargs);
5797
+ }
5798
+ toApiJson() {
5799
+ const toReturn = {};
5800
+ if (typeof this.internalPostId !== 'undefined') {
5801
+ toReturn['internalPostId'] = this.internalPostId;
5802
+ }
5803
+ if (typeof this.socialServiceId !== 'undefined') {
5804
+ toReturn['socialServiceId'] = this.socialServiceId;
5805
+ }
5806
+ if (typeof this.businessId !== 'undefined') {
5807
+ toReturn['businessId'] = this.businessId;
5808
+ }
5809
+ if (typeof this.partnerId !== 'undefined') {
5810
+ toReturn['partnerId'] = this.partnerId;
5811
+ }
5812
+ if (typeof this.postId !== 'undefined') {
5813
+ toReturn['postId'] = this.postId;
5814
+ }
5815
+ if (typeof this.title !== 'undefined') {
5816
+ toReturn['title'] = this.title;
5817
+ }
5818
+ if (typeof this.content !== 'undefined') {
5819
+ toReturn['content'] = this.content;
5820
+ }
5821
+ if (typeof this.images !== 'undefined' && this.images !== null) {
5822
+ toReturn['images'] = 'toApiJson' in this.images ? this.images.toApiJson() : this.images;
5823
+ }
5824
+ if (typeof this.video !== 'undefined' && this.video !== null) {
5825
+ toReturn['video'] = 'toApiJson' in this.video ? this.video.toApiJson() : this.video;
5826
+ }
5827
+ if (typeof this.permalink !== 'undefined') {
5828
+ toReturn['permalink'] = this.permalink;
5829
+ }
5830
+ if (typeof this.siteType !== 'undefined') {
5831
+ toReturn['siteType'] = this.siteType;
5832
+ }
5833
+ if (typeof this.author !== 'undefined' && this.author !== null) {
5834
+ toReturn['author'] = 'toApiJson' in this.author ? this.author.toApiJson() : this.author;
5835
+ }
5836
+ if (typeof this.categories !== 'undefined' && this.categories !== null) {
5837
+ toReturn['categories'] = 'toApiJson' in this.categories ? this.categories.toApiJson() : this.categories;
5838
+ }
5839
+ if (typeof this.tags !== 'undefined') {
5840
+ toReturn['tags'] = this.tags;
5841
+ }
5842
+ if (typeof this.postTags !== 'undefined') {
5843
+ toReturn['postTags'] = this.postTags;
5844
+ }
5845
+ if (typeof this.error !== 'undefined') {
5846
+ toReturn['error'] = this.error;
5847
+ }
5848
+ if (typeof this.postDateTime !== 'undefined' && this.postDateTime !== null) {
5849
+ toReturn['postDateTime'] = 'toApiJson' in this.postDateTime ? this.postDateTime.toApiJson() : this.postDateTime;
5850
+ }
5851
+ if (typeof this.postedDateTime !== 'undefined' && this.postedDateTime !== null) {
5852
+ toReturn['postedDateTime'] = 'toApiJson' in this.postedDateTime ? this.postedDateTime.toApiJson() : this.postedDateTime;
5853
+ }
5854
+ if (typeof this.userId !== 'undefined') {
5855
+ toReturn['userId'] = this.userId;
5856
+ }
5857
+ if (typeof this.userName !== 'undefined') {
5858
+ toReturn['userName'] = this.userName;
5859
+ }
5860
+ if (typeof this.pageViews !== 'undefined') {
5861
+ toReturn['pageViews'] = this.pageViews;
5862
+ }
5863
+ if (typeof this.commentsCount !== 'undefined') {
5864
+ toReturn['commentsCount'] = this.commentsCount;
5865
+ }
5866
+ if (typeof this.created !== 'undefined' && this.created !== null) {
5867
+ toReturn['created'] = 'toApiJson' in this.created ? this.created.toApiJson() : this.created;
5868
+ }
5869
+ if (typeof this.updated !== 'undefined' && this.updated !== null) {
5870
+ toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;
5871
+ }
5872
+ if (typeof this.deleted !== 'undefined' && this.deleted !== null) {
5873
+ toReturn['deleted'] = 'toApiJson' in this.deleted ? this.deleted.toApiJson() : this.deleted;
5874
+ }
5875
+ return toReturn;
5876
+ }
5877
+ }
5754
5878
  class BlogVideo {
5755
5879
  static fromProto(proto) {
5756
5880
  let m = new BlogVideo();
@@ -5846,6 +5970,81 @@ class CategoryResponse {
5846
5970
  return toReturn;
5847
5971
  }
5848
5972
  }
5973
+ class GetMultiBlogPostsRequest {
5974
+ static fromProto(proto) {
5975
+ let m = new GetMultiBlogPostsRequest();
5976
+ m = Object.assign(m, proto);
5977
+ return m;
5978
+ }
5979
+ constructor(kwargs) {
5980
+ if (!kwargs) {
5981
+ return;
5982
+ }
5983
+ Object.assign(this, kwargs);
5984
+ }
5985
+ toApiJson() {
5986
+ const toReturn = {};
5987
+ if (typeof this.partnerId !== 'undefined') {
5988
+ toReturn['partnerId'] = this.partnerId;
5989
+ }
5990
+ if (typeof this.businessId !== 'undefined') {
5991
+ toReturn['businessId'] = this.businessId;
5992
+ }
5993
+ if (typeof this.socialServiceId !== 'undefined') {
5994
+ toReturn['socialServiceId'] = this.socialServiceId;
5995
+ }
5996
+ if (typeof this.blogPostId !== 'undefined') {
5997
+ toReturn['blogPostId'] = this.blogPostId;
5998
+ }
5999
+ return toReturn;
6000
+ }
6001
+ }
6002
+ class GetMultiBlogPostsResponse {
6003
+ static fromProto(proto) {
6004
+ let m = new GetMultiBlogPostsResponse();
6005
+ m = Object.assign(m, proto);
6006
+ if (proto.blogPosts) {
6007
+ m.blogPosts = proto.blogPosts.map(BlogPost.fromProto);
6008
+ }
6009
+ return m;
6010
+ }
6011
+ constructor(kwargs) {
6012
+ if (!kwargs) {
6013
+ return;
6014
+ }
6015
+ Object.assign(this, kwargs);
6016
+ }
6017
+ toApiJson() {
6018
+ const toReturn = {};
6019
+ if (typeof this.blogPosts !== 'undefined' && this.blogPosts !== null) {
6020
+ toReturn['blogPosts'] = 'toApiJson' in this.blogPosts ? this.blogPosts.toApiJson() : this.blogPosts;
6021
+ }
6022
+ return toReturn;
6023
+ }
6024
+ }
6025
+ class MediaProperty {
6026
+ static fromProto(proto) {
6027
+ let m = new MediaProperty();
6028
+ m = Object.assign(m, proto);
6029
+ return m;
6030
+ }
6031
+ constructor(kwargs) {
6032
+ if (!kwargs) {
6033
+ return;
6034
+ }
6035
+ Object.assign(this, kwargs);
6036
+ }
6037
+ toApiJson() {
6038
+ const toReturn = {};
6039
+ if (typeof this.path !== 'undefined') {
6040
+ toReturn['path'] = this.path;
6041
+ }
6042
+ if (typeof this.publicUrl !== 'undefined') {
6043
+ toReturn['publicUrl'] = this.publicUrl;
6044
+ }
6045
+ return toReturn;
6046
+ }
6047
+ }
5849
6048
  class PublishPostRequest {
5850
6049
  static fromProto(proto) {
5851
6050
  let m = new PublishPostRequest();
@@ -6001,6 +6200,29 @@ class StatusResponse {
6001
6200
  return toReturn;
6002
6201
  }
6003
6202
  }
6203
+ class UpdateBlogPostRequest {
6204
+ static fromProto(proto) {
6205
+ let m = new UpdateBlogPostRequest();
6206
+ m = Object.assign(m, proto);
6207
+ if (proto.blogPost) {
6208
+ m.blogPost = BlogPost.fromProto(proto.blogPost);
6209
+ }
6210
+ return m;
6211
+ }
6212
+ constructor(kwargs) {
6213
+ if (!kwargs) {
6214
+ return;
6215
+ }
6216
+ Object.assign(this, kwargs);
6217
+ }
6218
+ toApiJson() {
6219
+ const toReturn = {};
6220
+ if (typeof this.blogPost !== 'undefined' && this.blogPost !== null) {
6221
+ toReturn['blogPost'] = 'toApiJson' in this.blogPost ? this.blogPost.toApiJson() : this.blogPost;
6222
+ }
6223
+ return toReturn;
6224
+ }
6225
+ }
6004
6226
 
6005
6227
  // *********************************
6006
6228
  // Code generated by sdkgen
@@ -6040,9 +6262,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6040
6262
  // API Service.
6041
6263
  // *********************************
6042
6264
  class SocialPostsApiService {
6043
- constructor(http, hostService) {
6044
- this.http = http;
6045
- this.hostService = hostService;
6265
+ constructor() {
6266
+ this.hostService = inject(HostService);
6267
+ this.http = inject(HttpClient);
6046
6268
  this._host = this.hostService.hostWithScheme;
6047
6269
  }
6048
6270
  apiOptions() {
@@ -6093,12 +6315,12 @@ class SocialPostsApiService {
6093
6315
  .pipe(map(resp => SuggestMessageResponse.fromProto(resp)));
6094
6316
  }
6095
6317
  }
6096
- SocialPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
6318
+ SocialPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6097
6319
  SocialPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsApiService, providedIn: 'root' });
6098
6320
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsApiService, decorators: [{
6099
6321
  type: Injectable,
6100
6322
  args: [{ providedIn: 'root' }]
6101
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6323
+ }] });
6102
6324
 
6103
6325
  class SocialPostsService {
6104
6326
  constructor(socialPostsApiService) {
@@ -6148,9 +6370,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6148
6370
  // API Service.
6149
6371
  // *********************************
6150
6372
  class BlogConnectionApiService {
6151
- constructor(http, hostService) {
6152
- this.http = http;
6153
- this.hostService = hostService;
6373
+ constructor() {
6374
+ this.hostService = inject(HostService);
6375
+ this.http = inject(HttpClient);
6154
6376
  this._host = this.hostService.hostWithScheme;
6155
6377
  }
6156
6378
  apiOptions() {
@@ -6185,12 +6407,49 @@ class BlogConnectionApiService {
6185
6407
  return this.http.post(this._host + "/socialposts.v2.BlogConnectionService/Delete", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
6186
6408
  }
6187
6409
  }
6188
- BlogConnectionApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogConnectionApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
6410
+ BlogConnectionApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogConnectionApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6189
6411
  BlogConnectionApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogConnectionApiService, providedIn: 'root' });
6190
6412
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogConnectionApiService, decorators: [{
6191
6413
  type: Injectable,
6192
6414
  args: [{ providedIn: 'root' }]
6193
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6415
+ }] });
6416
+
6417
+ // *********************************
6418
+ // Code generated by sdkgen
6419
+ // DO NOT EDIT!.
6420
+ //
6421
+ // API Service.
6422
+ // *********************************
6423
+ class BlogPostsApiService {
6424
+ constructor() {
6425
+ this.hostService = inject(HostService);
6426
+ this.http = inject(HttpClient);
6427
+ this._host = this.hostService.hostWithScheme;
6428
+ }
6429
+ apiOptions() {
6430
+ return {
6431
+ headers: new HttpHeaders({
6432
+ 'Content-Type': 'application/json'
6433
+ }),
6434
+ withCredentials: true
6435
+ };
6436
+ }
6437
+ getMultiBlogPosts(r) {
6438
+ const request = (r.toApiJson) ? r : new GetMultiBlogPostsRequest(r);
6439
+ return this.http.post(this._host + "/socialposts.v2.BlogPostsService/GetMultiBlogPosts", request.toApiJson(), this.apiOptions())
6440
+ .pipe(map(resp => GetMultiBlogPostsResponse.fromProto(resp)));
6441
+ }
6442
+ updateBlogPost(r) {
6443
+ const request = (r.toApiJson) ? r : new UpdateBlogPostRequest(r);
6444
+ return this.http.post(this._host + "/socialposts.v2.BlogPostsService/UpdateBlogPost", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
6445
+ }
6446
+ }
6447
+ BlogPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogPostsApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6448
+ BlogPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogPostsApiService, providedIn: 'root' });
6449
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogPostsApiService, decorators: [{
6450
+ type: Injectable,
6451
+ args: [{ providedIn: 'root' }]
6452
+ }] });
6194
6453
 
6195
6454
  // *********************************
6196
6455
  // Code generated by sdkgen
@@ -6199,9 +6458,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6199
6458
  // API Service.
6200
6459
  // *********************************
6201
6460
  class ChatBotApiService {
6202
- constructor(http, hostService) {
6203
- this.http = http;
6204
- this.hostService = hostService;
6461
+ constructor() {
6462
+ this.hostService = inject(HostService);
6463
+ this.http = inject(HttpClient);
6205
6464
  this._host = this.hostService.hostWithScheme;
6206
6465
  }
6207
6466
  apiOptions() {
@@ -6227,12 +6486,12 @@ class ChatBotApiService {
6227
6486
  return this.http.post(this._host + "/socialposts.v2.ChatBot/EndChat", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
6228
6487
  }
6229
6488
  }
6230
- ChatBotApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
6489
+ ChatBotApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6231
6490
  ChatBotApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotApiService, providedIn: 'root' });
6232
6491
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotApiService, decorators: [{
6233
6492
  type: Injectable,
6234
6493
  args: [{ providedIn: 'root' }]
6235
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6494
+ }] });
6236
6495
 
6237
6496
  // *********************************
6238
6497
  // Code generated by sdkgen
@@ -6241,9 +6500,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6241
6500
  // API Service.
6242
6501
  // *********************************
6243
6502
  class ChatBotV2ApiService {
6244
- constructor(http, hostService) {
6245
- this.http = http;
6246
- this.hostService = hostService;
6503
+ constructor() {
6504
+ this.hostService = inject(HostService);
6505
+ this.http = inject(HttpClient);
6247
6506
  this._host = this.hostService.hostWithScheme;
6248
6507
  }
6249
6508
  apiOptions() {
@@ -6260,12 +6519,12 @@ class ChatBotV2ApiService {
6260
6519
  .pipe(map(resp => SendMessageV2Response.fromProto(resp)));
6261
6520
  }
6262
6521
  }
6263
- ChatBotV2ApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotV2ApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
6522
+ ChatBotV2ApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotV2ApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6264
6523
  ChatBotV2ApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotV2ApiService, providedIn: 'root' });
6265
6524
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotV2ApiService, decorators: [{
6266
6525
  type: Injectable,
6267
6526
  args: [{ providedIn: 'root' }]
6268
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6527
+ }] });
6269
6528
 
6270
6529
  // *********************************
6271
6530
  // Code generated by sdkgen
@@ -6274,9 +6533,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6274
6533
  // API Service.
6275
6534
  // *********************************
6276
6535
  class CommonAiInstructionsApiService {
6277
- constructor(http, hostService) {
6278
- this.http = http;
6279
- this.hostService = hostService;
6536
+ constructor() {
6537
+ this.hostService = inject(HostService);
6538
+ this.http = inject(HttpClient);
6280
6539
  this._host = this.hostService.hostWithScheme;
6281
6540
  }
6282
6541
  apiOptions() {
@@ -6303,12 +6562,12 @@ class CommonAiInstructionsApiService {
6303
6562
  .pipe(map(resp => GetCommonAiInstructionsResponse.fromProto(resp)));
6304
6563
  }
6305
6564
  }
6306
- CommonAiInstructionsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommonAiInstructionsApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
6565
+ CommonAiInstructionsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommonAiInstructionsApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6307
6566
  CommonAiInstructionsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommonAiInstructionsApiService, providedIn: 'root' });
6308
6567
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommonAiInstructionsApiService, decorators: [{
6309
6568
  type: Injectable,
6310
6569
  args: [{ providedIn: 'root' }]
6311
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6570
+ }] });
6312
6571
 
6313
6572
  // *********************************
6314
6573
  // Code generated by sdkgen
@@ -6317,9 +6576,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6317
6576
  // API Service.
6318
6577
  // *********************************
6319
6578
  class ContentGenerationApiService {
6320
- constructor(http, hostService) {
6321
- this.http = http;
6322
- this.hostService = hostService;
6579
+ constructor() {
6580
+ this.hostService = inject(HostService);
6581
+ this.http = inject(HttpClient);
6323
6582
  this._host = this.hostService.hostWithScheme;
6324
6583
  }
6325
6584
  apiOptions() {
@@ -6341,12 +6600,12 @@ class ContentGenerationApiService {
6341
6600
  .pipe(map(resp => GenerateAiResponse.fromProto(resp)));
6342
6601
  }
6343
6602
  }
6344
- ContentGenerationApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContentGenerationApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
6603
+ ContentGenerationApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContentGenerationApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6345
6604
  ContentGenerationApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContentGenerationApiService, providedIn: 'root' });
6346
6605
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContentGenerationApiService, decorators: [{
6347
6606
  type: Injectable,
6348
6607
  args: [{ providedIn: 'root' }]
6349
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6608
+ }] });
6350
6609
 
6351
6610
  // *********************************
6352
6611
  // Code generated by sdkgen
@@ -6355,9 +6614,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6355
6614
  // API Service.
6356
6615
  // *********************************
6357
6616
  class CuratedContentApiService {
6358
- constructor(http, hostService) {
6359
- this.http = http;
6360
- this.hostService = hostService;
6617
+ constructor() {
6618
+ this.hostService = inject(HostService);
6619
+ this.http = inject(HttpClient);
6361
6620
  this._host = this.hostService.hostWithScheme;
6362
6621
  }
6363
6622
  apiOptions() {
@@ -6374,12 +6633,12 @@ class CuratedContentApiService {
6374
6633
  .pipe(map(resp => ListCuratedContentResponse.fromProto(resp)));
6375
6634
  }
6376
6635
  }
6377
- CuratedContentApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuratedContentApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
6636
+ CuratedContentApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuratedContentApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6378
6637
  CuratedContentApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuratedContentApiService, providedIn: 'root' });
6379
6638
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuratedContentApiService, decorators: [{
6380
6639
  type: Injectable,
6381
6640
  args: [{ providedIn: 'root' }]
6382
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6641
+ }] });
6383
6642
 
6384
6643
  // *********************************
6385
6644
  // Code generated by sdkgen
@@ -6388,9 +6647,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6388
6647
  // API Service.
6389
6648
  // *********************************
6390
6649
  class HashTagsApiService {
6391
- constructor(http, hostService) {
6392
- this.http = http;
6393
- this.hostService = hostService;
6650
+ constructor() {
6651
+ this.hostService = inject(HostService);
6652
+ this.http = inject(HttpClient);
6394
6653
  this._host = this.hostService.hostWithScheme;
6395
6654
  }
6396
6655
  apiOptions() {
@@ -6415,12 +6674,12 @@ class HashTagsApiService {
6415
6674
  .pipe(map(resp => SearchHashtagResponse.fromProto(resp)));
6416
6675
  }
6417
6676
  }
6418
- HashTagsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HashTagsApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
6677
+ HashTagsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HashTagsApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6419
6678
  HashTagsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HashTagsApiService, providedIn: 'root' });
6420
6679
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HashTagsApiService, decorators: [{
6421
6680
  type: Injectable,
6422
6681
  args: [{ providedIn: 'root' }]
6423
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6682
+ }] });
6424
6683
 
6425
6684
  // *********************************
6426
6685
  // Code generated by sdkgen
@@ -6429,9 +6688,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6429
6688
  // API Service.
6430
6689
  // *********************************
6431
6690
  class LinkedinApiService {
6432
- constructor(http, hostService) {
6433
- this.http = http;
6434
- this.hostService = hostService;
6691
+ constructor() {
6692
+ this.hostService = inject(HostService);
6693
+ this.http = inject(HttpClient);
6435
6694
  this._host = this.hostService.hostWithScheme;
6436
6695
  }
6437
6696
  apiOptions() {
@@ -6452,12 +6711,12 @@ class LinkedinApiService {
6452
6711
  .pipe(map(resp => MediaUploadResponse.fromProto(resp)));
6453
6712
  }
6454
6713
  }
6455
- LinkedinApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinkedinApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
6714
+ LinkedinApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinkedinApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6456
6715
  LinkedinApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinkedinApiService, providedIn: 'root' });
6457
6716
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinkedinApiService, decorators: [{
6458
6717
  type: Injectable,
6459
6718
  args: [{ providedIn: 'root' }]
6460
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6719
+ }] });
6461
6720
 
6462
6721
  // *********************************
6463
6722
  // Code generated by sdkgen
@@ -6466,9 +6725,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6466
6725
  // API Service.
6467
6726
  // *********************************
6468
6727
  class MultilocationPostApiService {
6469
- constructor(http, hostService) {
6470
- this.http = http;
6471
- this.hostService = hostService;
6728
+ constructor() {
6729
+ this.hostService = inject(HostService);
6730
+ this.http = inject(HttpClient);
6472
6731
  this._host = this.hostService.hostWithScheme;
6473
6732
  }
6474
6733
  apiOptions() {
@@ -6508,12 +6767,12 @@ class MultilocationPostApiService {
6508
6767
  .pipe(map(resp => GetMultilocationPostResponse.fromProto(resp)));
6509
6768
  }
6510
6769
  }
6511
- MultilocationPostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultilocationPostApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
6770
+ MultilocationPostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultilocationPostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6512
6771
  MultilocationPostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultilocationPostApiService, providedIn: 'root' });
6513
6772
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultilocationPostApiService, decorators: [{
6514
6773
  type: Injectable,
6515
6774
  args: [{ providedIn: 'root' }]
6516
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6775
+ }] });
6517
6776
 
6518
6777
  // *********************************
6519
6778
  // Code generated by sdkgen
@@ -6522,9 +6781,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6522
6781
  // API Service.
6523
6782
  // *********************************
6524
6783
  class PartnerSocialPostsApiService {
6525
- constructor(http, hostService) {
6526
- this.http = http;
6527
- this.hostService = hostService;
6784
+ constructor() {
6785
+ this.hostService = inject(HostService);
6786
+ this.http = inject(HttpClient);
6528
6787
  this._host = this.hostService.hostWithScheme;
6529
6788
  }
6530
6789
  apiOptions() {
@@ -6546,12 +6805,12 @@ class PartnerSocialPostsApiService {
6546
6805
  .pipe(map(resp => PartnerListScheduledPostsResponse.fromProto(resp)));
6547
6806
  }
6548
6807
  }
6549
- PartnerSocialPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PartnerSocialPostsApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
6808
+ PartnerSocialPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PartnerSocialPostsApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6550
6809
  PartnerSocialPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PartnerSocialPostsApiService, providedIn: 'root' });
6551
6810
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PartnerSocialPostsApiService, decorators: [{
6552
6811
  type: Injectable,
6553
6812
  args: [{ providedIn: 'root' }]
6554
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6813
+ }] });
6555
6814
 
6556
6815
  // *********************************
6557
6816
  // Code generated by sdkgen
@@ -6560,9 +6819,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6560
6819
  // API Service.
6561
6820
  // *********************************
6562
6821
  class PixabayImagesApiService {
6563
- constructor(http, hostService) {
6564
- this.http = http;
6565
- this.hostService = hostService;
6822
+ constructor() {
6823
+ this.hostService = inject(HostService);
6824
+ this.http = inject(HttpClient);
6566
6825
  this._host = this.hostService.hostWithScheme;
6567
6826
  }
6568
6827
  apiOptions() {
@@ -6579,12 +6838,12 @@ class PixabayImagesApiService {
6579
6838
  .pipe(map(resp => ListPixabayImagesResponse.fromProto(resp)));
6580
6839
  }
6581
6840
  }
6582
- PixabayImagesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PixabayImagesApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
6841
+ PixabayImagesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PixabayImagesApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6583
6842
  PixabayImagesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PixabayImagesApiService, providedIn: 'root' });
6584
6843
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PixabayImagesApiService, decorators: [{
6585
6844
  type: Injectable,
6586
6845
  args: [{ providedIn: 'root' }]
6587
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6846
+ }] });
6588
6847
 
6589
6848
  // *********************************
6590
6849
  // Code generated by sdkgen
@@ -6593,9 +6852,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6593
6852
  // API Service.
6594
6853
  // *********************************
6595
6854
  class PostPerformanceApiService {
6596
- constructor(http, hostService) {
6597
- this.http = http;
6598
- this.hostService = hostService;
6855
+ constructor() {
6856
+ this.hostService = inject(HostService);
6857
+ this.http = inject(HttpClient);
6599
6858
  this._host = this.hostService.hostWithScheme;
6600
6859
  }
6601
6860
  apiOptions() {
@@ -6617,12 +6876,12 @@ class PostPerformanceApiService {
6617
6876
  .pipe(map(resp => GetGeneratedCSVForPerformanceStatsResponse.fromProto(resp)));
6618
6877
  }
6619
6878
  }
6620
- PostPerformanceApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostPerformanceApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
6879
+ PostPerformanceApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostPerformanceApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6621
6880
  PostPerformanceApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostPerformanceApiService, providedIn: 'root' });
6622
6881
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostPerformanceApiService, decorators: [{
6623
6882
  type: Injectable,
6624
6883
  args: [{ providedIn: 'root' }]
6625
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6884
+ }] });
6626
6885
 
6627
6886
  // *********************************
6628
6887
  // Code generated by sdkgen
@@ -6631,9 +6890,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6631
6890
  // API Service.
6632
6891
  // *********************************
6633
6892
  class PostTemplatesApiService {
6634
- constructor(http, hostService) {
6635
- this.http = http;
6636
- this.hostService = hostService;
6893
+ constructor() {
6894
+ this.hostService = inject(HostService);
6895
+ this.http = inject(HttpClient);
6637
6896
  this._host = this.hostService.hostWithScheme;
6638
6897
  }
6639
6898
  apiOptions() {
@@ -6668,12 +6927,12 @@ class PostTemplatesApiService {
6668
6927
  return this.http.post(this._host + "/socialposts.v1.PostTemplates/DeletePostTemplate", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
6669
6928
  }
6670
6929
  }
6671
- PostTemplatesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostTemplatesApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
6930
+ PostTemplatesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostTemplatesApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6672
6931
  PostTemplatesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostTemplatesApiService, providedIn: 'root' });
6673
6932
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostTemplatesApiService, decorators: [{
6674
6933
  type: Injectable,
6675
6934
  args: [{ providedIn: 'root' }]
6676
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6935
+ }] });
6677
6936
 
6678
6937
  // *********************************
6679
6938
  // Code generated by sdkgen
@@ -6682,9 +6941,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6682
6941
  // API Service.
6683
6942
  // *********************************
6684
6943
  class SocialPostsV2ApiService {
6685
- constructor(http, hostService) {
6686
- this.http = http;
6687
- this.hostService = hostService;
6944
+ constructor() {
6945
+ this.hostService = inject(HostService);
6946
+ this.http = inject(HttpClient);
6688
6947
  this._host = this.hostService.hostWithScheme;
6689
6948
  }
6690
6949
  apiOptions() {
@@ -6725,12 +6984,12 @@ class SocialPostsV2ApiService {
6725
6984
  return this.http.post(this._host + "/socialposts.v2.SocialPostsV2/RepostSocialPost", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
6726
6985
  }
6727
6986
  }
6728
- SocialPostsV2ApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2ApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
6987
+ SocialPostsV2ApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2ApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6729
6988
  SocialPostsV2ApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2ApiService, providedIn: 'root' });
6730
6989
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2ApiService, decorators: [{
6731
6990
  type: Injectable,
6732
6991
  args: [{ providedIn: 'root' }]
6733
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6992
+ }] });
6734
6993
 
6735
6994
  // *********************************
6736
6995
  // Code generated by sdkgen
@@ -6739,9 +6998,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6739
6998
  // API Service.
6740
6999
  // *********************************
6741
7000
  class TenorGifsApiService {
6742
- constructor(http, hostService) {
6743
- this.http = http;
6744
- this.hostService = hostService;
7001
+ constructor() {
7002
+ this.hostService = inject(HostService);
7003
+ this.http = inject(HttpClient);
6745
7004
  this._host = this.hostService.hostWithScheme;
6746
7005
  }
6747
7006
  apiOptions() {
@@ -6763,12 +7022,12 @@ class TenorGifsApiService {
6763
7022
  .pipe(map(resp => ListTenorGifsResponse.fromProto(resp)));
6764
7023
  }
6765
7024
  }
6766
- TenorGifsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TenorGifsApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
7025
+ TenorGifsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TenorGifsApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6767
7026
  TenorGifsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TenorGifsApiService, providedIn: 'root' });
6768
7027
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TenorGifsApiService, decorators: [{
6769
7028
  type: Injectable,
6770
7029
  args: [{ providedIn: 'root' }]
6771
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
7030
+ }] });
6772
7031
 
6773
7032
  // *********************************
6774
7033
  // Code generated by sdkgen
@@ -6777,9 +7036,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6777
7036
  // API Service.
6778
7037
  // *********************************
6779
7038
  class UnsplashApiService {
6780
- constructor(http, hostService) {
6781
- this.http = http;
6782
- this.hostService = hostService;
7039
+ constructor() {
7040
+ this.hostService = inject(HostService);
7041
+ this.http = inject(HttpClient);
6783
7042
  this._host = this.hostService.hostWithScheme;
6784
7043
  }
6785
7044
  apiOptions() {
@@ -6801,12 +7060,12 @@ class UnsplashApiService {
6801
7060
  .pipe(map(resp => UploadToStorageResponse.fromProto(resp)));
6802
7061
  }
6803
7062
  }
6804
- UnsplashApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UnsplashApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
7063
+ UnsplashApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UnsplashApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6805
7064
  UnsplashApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UnsplashApiService, providedIn: 'root' });
6806
7065
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UnsplashApiService, decorators: [{
6807
7066
  type: Injectable,
6808
7067
  args: [{ providedIn: 'root' }]
6809
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
7068
+ }] });
6810
7069
 
6811
7070
  // *********************************
6812
7071
  // Code generated by sdkgen
@@ -6815,9 +7074,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6815
7074
  // API Service.
6816
7075
  // *********************************
6817
7076
  class WordpressPluginApiService {
6818
- constructor(http, hostService) {
6819
- this.http = http;
6820
- this.hostService = hostService;
7077
+ constructor() {
7078
+ this.hostService = inject(HostService);
7079
+ this.http = inject(HttpClient);
6821
7080
  this._host = this.hostService.hostWithScheme;
6822
7081
  }
6823
7082
  apiOptions() {
@@ -6849,12 +7108,12 @@ class WordpressPluginApiService {
6849
7108
  .pipe(map(resp => PublishPostResponse.fromProto(resp)));
6850
7109
  }
6851
7110
  }
6852
- WordpressPluginApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WordpressPluginApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
7111
+ WordpressPluginApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WordpressPluginApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6853
7112
  WordpressPluginApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WordpressPluginApiService, providedIn: 'root' });
6854
7113
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WordpressPluginApiService, decorators: [{
6855
7114
  type: Injectable,
6856
7115
  args: [{ providedIn: 'root' }]
6857
- }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
7116
+ }] });
6858
7117
 
6859
7118
  // *********************************
6860
7119
  // Code generated by sdkgen
@@ -7341,9 +7600,27 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
7341
7600
  args: [{ providedIn: 'root' }]
7342
7601
  }], ctorParameters: function () { return [{ type: WordpressPluginApiService }]; } });
7343
7602
 
7603
+ class BlogPostsService {
7604
+ constructor(blogPostsApiService) {
7605
+ this.blogPostsApiService = blogPostsApiService;
7606
+ }
7607
+ getMultiBlogPosts(getMultiBlogPostRequestInterface) {
7608
+ return this.blogPostsApiService.getMultiBlogPosts(getMultiBlogPostRequestInterface);
7609
+ }
7610
+ updateBlogPost(updateBlogPostRequestInterface) {
7611
+ return this.blogPostsApiService.updateBlogPost(updateBlogPostRequestInterface);
7612
+ }
7613
+ }
7614
+ BlogPostsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogPostsService, deps: [{ token: BlogPostsApiService }], target: i0.ɵɵFactoryTarget.Injectable });
7615
+ BlogPostsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogPostsService, providedIn: 'root' });
7616
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogPostsService, decorators: [{
7617
+ type: Injectable,
7618
+ args: [{ providedIn: 'root' }]
7619
+ }], ctorParameters: function () { return [{ type: BlogPostsApiService }]; } });
7620
+
7344
7621
  /**
7345
7622
  * Generated bundle index. Do not edit.
7346
7623
  */
7347
7624
 
7348
- export { Access, Action, ActionType, AiInstructionService, AiInstructions, Ancestry, Author, AuthorsRequest, AuthorsResponse, BlogConnection, BlogConnectionService, BlogImage, BlogVideo, CallToAction, CallToActionCallToActionType, Category, CategoryRequest, CategoryResponse, ChatBotService, ChatBotV2Service, ChatMessage, Collection, ContentGenerationService, ContentLength, CreateBlogConnectionRequest, CreateBlogConnectionResponse, CreateCommonAiInstructionsRequest, CreateCommonAiInstructionsResponse, CreateImageRequest, CreateImageResponse, CreateMultilocationPostRequest, CreateMultilocationPostResponse, CreatePostTemplateRequest, CreatePostTemplateResponse, CuratedContentPost, DateRangeFilter, DeleteBlogConnectionRequest, DeleteHashtagsRequest, DeleteMultilocationPostRequest, DeletePostRequest, DeletePostTemplateRequest, DeleteSocialPostRequest, EditMultilocationPostRequest, EditMultilocationPostResponse, EndChatRequest, Error, Event, FacebookPostStats, FieldMask, GenerateAiRequest, GenerateAiResponse, GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GeneratePostsRequest, GeneratePostsResponse, GeneratePostsResponsePost, GenerateType, GetBlogConnectionRequest, GetBlogConnectionResponse, GetCommonAiInstructionsRequest, GetCommonAiInstructionsResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, GetPostTemplateRequest, GetPostTemplateResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, HashTagsService, Hashtag, Image, ImageBlob, ImageCreated, ImageUrl, LinkV2, Links, ListBlogConnectionRequest, ListBlogConnectionResponse, ListCuratedContentRequest, ListCuratedContentResponse, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListTenorGifsRequest, ListTenorGifsResponse, ListUnsplashImagesRequest, ListUnsplashImagesResponse, Location, Media, MediaEntry, MediaType, MediaUploadRequest, MediaUploadResponse, MessageLength, MetaData, MetadataV2, MultiResponse, MultilocationPost, MultilocationPostApiService, MultilocationPostError, MultilocationPostsService, PartnerListScheduledPostsResponse, PartnerListScheduledSocialPostsRequest, PartnerListScheduledSocialPostsRequestFilters, Photo, PixabayImage, PixabayImageService, PostAction, PostActionV2, PostContentV2, PostCustomization, PostCustomizationV2, PostData, PostEvent, PostEventV2, PostMediaV2, PostPerformanceApiService, PostPerformanceService, PostStatusV2, PostTemplate, PostTemplatesService, PostType, PostTypeV2, PostingStatus, PublishPostRequest, PublishPostResponse, RemoveFromMultilocationPostRequest, RemoveReason, ReplaceHashtagsRequest, RepostSocialPostRequest, Response, Role, SSIDPostType, SchedulePostRequest, SchedulePostResponse, SchedulePostStatus, ScheduleToAllPagesRequest, ScheduleToAllPagesResponse, SearchHashtagRequest, SearchHashtagResponse, SendMessageRequest, SendMessageResponse, SendMessageV2Request, SendMessageV2Response, Social, SocialPost, SocialPostData, SocialPostDeletionStatus, SocialPostOutput, SocialPostRequest, SocialPostResponse, SocialPostService, SocialPostStats, SocialPostV2, SocialPostsService, SocialPostsV2Service, Source, StartChatRequest, StartChatResponse, StatusRequest, StatusResponse, SubAncestry, SuggestMessageRequest, SuggestMessageResponse, Tags, TemplateType, TenorGif, TenorGifMediaMapEntry, TenorGifsService, TenorMediaObject, TikTokCustomization, TikTokCustomizationV2, TwitterPostStats, UnsplashImageService, UpdateBlogConnectionRequest, UpdateCommonAiInstructionsRequest, UpdateCommonAiInstructionsResponse, UpdatePostTemplateRequest, UpdateSocialPostRequest, UpdateSocialPostResponse, UploadToStorageRequest, UploadToStorageResponse, UploadedMedia, Urls, User, UserLink, WordpressPluginService, YoutubeCustomization, YoutubeCustomizationPrivacyStatus, YoutubeCustomizationV2, YoutubeCustomizationV2PrivacyStatusV2 };
7625
+ export { Access, Action, ActionType, AiInstructionService, AiInstructions, Ancestry, Author, AuthorsRequest, AuthorsResponse, BlogConnection, BlogConnectionService, BlogImage, BlogPost, BlogPostsService, BlogVideo, CallToAction, CallToActionCallToActionType, Category, CategoryRequest, CategoryResponse, ChatBotService, ChatBotV2Service, ChatMessage, Collection, ContentGenerationService, ContentLength, CreateBlogConnectionRequest, CreateBlogConnectionResponse, CreateCommonAiInstructionsRequest, CreateCommonAiInstructionsResponse, CreateImageRequest, CreateImageResponse, CreateMultilocationPostRequest, CreateMultilocationPostResponse, CreatePostTemplateRequest, CreatePostTemplateResponse, CuratedContentPost, DateRangeFilter, DeleteBlogConnectionRequest, DeleteHashtagsRequest, DeleteMultilocationPostRequest, DeletePostRequest, DeletePostTemplateRequest, DeleteSocialPostRequest, EditMultilocationPostRequest, EditMultilocationPostResponse, EndChatRequest, Error, Event, FacebookPostStats, FieldMask, GenerateAiRequest, GenerateAiResponse, GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GeneratePostsRequest, GeneratePostsResponse, GeneratePostsResponsePost, GenerateType, GetBlogConnectionRequest, GetBlogConnectionResponse, GetCommonAiInstructionsRequest, GetCommonAiInstructionsResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse, GetMultiBlogPostsRequest, GetMultiBlogPostsResponse, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, GetPostTemplateRequest, GetPostTemplateResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, HashTagsService, Hashtag, Image, ImageBlob, ImageCreated, ImageUrl, LinkV2, Links, ListBlogConnectionRequest, ListBlogConnectionResponse, ListCuratedContentRequest, ListCuratedContentResponse, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListTenorGifsRequest, ListTenorGifsResponse, ListUnsplashImagesRequest, ListUnsplashImagesResponse, Location, Media, MediaEntry, MediaProperty, MediaType, MediaUploadRequest, MediaUploadResponse, MessageLength, MetaData, MetadataV2, MultiResponse, MultilocationPost, MultilocationPostApiService, MultilocationPostError, MultilocationPostsService, PartnerListScheduledPostsResponse, PartnerListScheduledSocialPostsRequest, PartnerListScheduledSocialPostsRequestFilters, Photo, PixabayImage, PixabayImageService, PostAction, PostActionV2, PostContentV2, PostCustomization, PostCustomizationV2, PostData, PostEvent, PostEventV2, PostMediaV2, PostPerformanceApiService, PostPerformanceService, PostStatusV2, PostTemplate, PostTemplatesService, PostType, PostTypeV2, PostingStatus, PublishPostRequest, PublishPostResponse, RemoveFromMultilocationPostRequest, RemoveReason, ReplaceHashtagsRequest, RepostSocialPostRequest, Response, Role, SSIDPostType, SchedulePostRequest, SchedulePostResponse, SchedulePostStatus, ScheduleToAllPagesRequest, ScheduleToAllPagesResponse, SearchHashtagRequest, SearchHashtagResponse, SendMessageRequest, SendMessageResponse, SendMessageV2Request, SendMessageV2Response, Social, SocialPost, SocialPostData, SocialPostDeletionStatus, SocialPostOutput, SocialPostRequest, SocialPostResponse, SocialPostService, SocialPostStats, SocialPostV2, SocialPostsService, SocialPostsV2Service, Source, StartChatRequest, StartChatResponse, StatusRequest, StatusResponse, SubAncestry, SuggestMessageRequest, SuggestMessageResponse, Tags, TemplateType, TenorGif, TenorGifMediaMapEntry, TenorGifsService, TenorMediaObject, TikTokCustomization, TikTokCustomizationV2, TwitterPostStats, UnsplashImageService, UpdateBlogConnectionRequest, UpdateBlogPostRequest, UpdateCommonAiInstructionsRequest, UpdateCommonAiInstructionsResponse, UpdatePostTemplateRequest, UpdateSocialPostRequest, UpdateSocialPostResponse, UploadToStorageRequest, UploadToStorageResponse, UploadedMedia, Urls, User, UserLink, WordpressPluginService, YoutubeCustomization, YoutubeCustomizationPrivacyStatus, YoutubeCustomizationV2, YoutubeCustomizationV2PrivacyStatusV2 };
7349
7626
  //# sourceMappingURL=vendasta-social-posts.mjs.map