@vendasta/social-posts 5.32.0 → 5.33.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 (59) hide show
  1. package/esm2020/lib/_internal/blog-connection.api.service.mjs +8 -7
  2. package/esm2020/lib/_internal/blog-posts.api.service.mjs +13 -8
  3. package/esm2020/lib/_internal/chat-bot-v2.api.service.mjs +8 -7
  4. package/esm2020/lib/_internal/chat-bot.api.service.mjs +8 -7
  5. package/esm2020/lib/_internal/common-ai-instructions.api.service.mjs +8 -7
  6. package/esm2020/lib/_internal/content-generation.api.service.mjs +8 -7
  7. package/esm2020/lib/_internal/curated-content.api.service.mjs +8 -7
  8. package/esm2020/lib/_internal/enums/social-posts.enum.mjs +2 -1
  9. package/esm2020/lib/_internal/hash-tags.api.service.mjs +8 -7
  10. package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
  11. package/esm2020/lib/_internal/interfaces/social-posts.interface.mjs +1 -1
  12. package/esm2020/lib/_internal/interfaces/wordpress-plugin.interface.mjs +1 -1
  13. package/esm2020/lib/_internal/linkedin.api.service.mjs +8 -7
  14. package/esm2020/lib/_internal/multilocation-post.api.service.mjs +8 -7
  15. package/esm2020/lib/_internal/objects/index.mjs +3 -3
  16. package/esm2020/lib/_internal/objects/social-posts.mjs +97 -1
  17. package/esm2020/lib/_internal/objects/wordpress-plugin.mjs +27 -1
  18. package/esm2020/lib/_internal/partner-social-posts.api.service.mjs +8 -7
  19. package/esm2020/lib/_internal/pixabay-images.api.service.mjs +8 -7
  20. package/esm2020/lib/_internal/post-performance.api.service.mjs +8 -7
  21. package/esm2020/lib/_internal/post-templates.api.service.mjs +8 -7
  22. package/esm2020/lib/_internal/social-posts-v2.api.service.mjs +8 -7
  23. package/esm2020/lib/_internal/social-posts.api.service.mjs +8 -7
  24. package/esm2020/lib/_internal/tenor-gifs.api.service.mjs +8 -7
  25. package/esm2020/lib/_internal/unsplash.api.service.mjs +8 -7
  26. package/esm2020/lib/_internal/wordpress-plugin.api.service.mjs +8 -7
  27. package/esm2020/lib/blog-posts.service.mjs +4 -1
  28. package/fesm2015/vendasta-social-posts.mjs +229 -98
  29. package/fesm2015/vendasta-social-posts.mjs.map +1 -1
  30. package/fesm2020/vendasta-social-posts.mjs +229 -98
  31. package/fesm2020/vendasta-social-posts.mjs.map +1 -1
  32. package/lib/_internal/blog-connection.api.service.d.ts +5 -3
  33. package/lib/_internal/blog-posts.api.service.d.ts +8 -5
  34. package/lib/_internal/chat-bot-v2.api.service.d.ts +5 -2
  35. package/lib/_internal/chat-bot.api.service.d.ts +5 -3
  36. package/lib/_internal/common-ai-instructions.api.service.d.ts +5 -2
  37. package/lib/_internal/content-generation.api.service.d.ts +5 -2
  38. package/lib/_internal/curated-content.api.service.d.ts +5 -2
  39. package/lib/_internal/enums/social-posts.enum.d.ts +2 -1
  40. package/lib/_internal/hash-tags.api.service.d.ts +5 -3
  41. package/lib/_internal/interfaces/index.d.ts +2 -2
  42. package/lib/_internal/interfaces/social-posts.interface.d.ts +16 -0
  43. package/lib/_internal/interfaces/wordpress-plugin.interface.d.ts +5 -0
  44. package/lib/_internal/linkedin.api.service.d.ts +5 -3
  45. package/lib/_internal/multilocation-post.api.service.d.ts +5 -3
  46. package/lib/_internal/objects/index.d.ts +2 -2
  47. package/lib/_internal/objects/social-posts.d.ts +25 -0
  48. package/lib/_internal/objects/wordpress-plugin.d.ts +8 -0
  49. package/lib/_internal/partner-social-posts.api.service.d.ts +5 -2
  50. package/lib/_internal/pixabay-images.api.service.d.ts +5 -2
  51. package/lib/_internal/post-performance.api.service.d.ts +5 -2
  52. package/lib/_internal/post-templates.api.service.d.ts +5 -3
  53. package/lib/_internal/social-posts-v2.api.service.d.ts +5 -3
  54. package/lib/_internal/social-posts.api.service.d.ts +5 -3
  55. package/lib/_internal/tenor-gifs.api.service.d.ts +5 -2
  56. package/lib/_internal/unsplash.api.service.d.ts +5 -2
  57. package/lib/_internal/wordpress-plugin.api.service.d.ts +5 -2
  58. package/lib/blog-posts.service.d.ts +2 -1
  59. package/package.json +1 -1
@@ -1,7 +1,8 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Injectable, inject } from '@angular/core';
2
+ import { Injectable } from '@angular/core';
3
3
  import { of } from 'rxjs';
4
- import { HttpClient, HttpHeaders } from '@angular/common/http';
4
+ import * as i1 from '@angular/common/http';
5
+ import { HttpHeaders } from '@angular/common/http';
5
6
  import { map } from 'rxjs/operators';
6
7
 
7
8
  function enumStringToValue$g(enumRef, value) {
@@ -133,6 +134,7 @@ var SocialPostService;
133
134
  SocialPostService[SocialPostService["CURATED_CONTENT"] = 7] = "CURATED_CONTENT";
134
135
  SocialPostService[SocialPostService["YOUTUBE"] = 8] = "YOUTUBE";
135
136
  SocialPostService[SocialPostService["TIKTOK"] = 9] = "TIKTOK";
137
+ SocialPostService[SocialPostService["WORDPRESS"] = 10] = "WORDPRESS";
136
138
  })(SocialPostService || (SocialPostService = {}));
137
139
  var TemplateType;
138
140
  (function (TemplateType) {
@@ -255,6 +257,67 @@ function enumStringToValue$e(enumRef, value) {
255
257
  }
256
258
  return enumRef[value];
257
259
  }
260
+ let Author$1 = class Author {
261
+ static fromProto(proto) {
262
+ let m = new Author();
263
+ m = Object.assign(m, proto);
264
+ if (proto.id) {
265
+ m.id = parseInt(proto.id, 10);
266
+ }
267
+ return m;
268
+ }
269
+ constructor(kwargs) {
270
+ if (!kwargs) {
271
+ return;
272
+ }
273
+ Object.assign(this, kwargs);
274
+ }
275
+ toApiJson() {
276
+ const toReturn = {};
277
+ if (typeof this.name !== 'undefined') {
278
+ toReturn['name'] = this.name;
279
+ }
280
+ if (typeof this.id !== 'undefined') {
281
+ toReturn['id'] = this.id;
282
+ }
283
+ return toReturn;
284
+ }
285
+ };
286
+ class BlogPostCustomization {
287
+ static fromProto(proto) {
288
+ let m = new BlogPostCustomization();
289
+ m = Object.assign(m, proto);
290
+ if (proto.author) {
291
+ m.author = Author$1.fromProto(proto.author);
292
+ }
293
+ if (proto.categories) {
294
+ m.categories = proto.categories.map(Category$1.fromProto);
295
+ }
296
+ return m;
297
+ }
298
+ constructor(kwargs) {
299
+ if (!kwargs) {
300
+ return;
301
+ }
302
+ Object.assign(this, kwargs);
303
+ }
304
+ toApiJson() {
305
+ const toReturn = {};
306
+ if (typeof this.siteType !== 'undefined') {
307
+ toReturn['siteType'] = this.siteType;
308
+ }
309
+ if (typeof this.author !== 'undefined' && this.author !== null) {
310
+ toReturn['author'] = 'toApiJson' in this.author ? this.author.toApiJson() : this.author;
311
+ }
312
+ if (typeof this.categories !== 'undefined' && this.categories !== null) {
313
+ toReturn['categories'] = 'toApiJson' in this.categories ? this.categories.toApiJson() : this.categories;
314
+ }
315
+ if (typeof this.tags !== 'undefined') {
316
+ toReturn['tags'] = this.tags;
317
+ }
318
+ return toReturn;
319
+ }
320
+ }
258
321
  class CallToAction {
259
322
  static fromProto(proto) {
260
323
  let m = new CallToAction();
@@ -281,6 +344,32 @@ class CallToAction {
281
344
  return toReturn;
282
345
  }
283
346
  }
347
+ let Category$1 = class Category {
348
+ static fromProto(proto) {
349
+ let m = new Category();
350
+ m = Object.assign(m, proto);
351
+ if (proto.id) {
352
+ m.id = parseInt(proto.id, 10);
353
+ }
354
+ return m;
355
+ }
356
+ constructor(kwargs) {
357
+ if (!kwargs) {
358
+ return;
359
+ }
360
+ Object.assign(this, kwargs);
361
+ }
362
+ toApiJson() {
363
+ const toReturn = {};
364
+ if (typeof this.id !== 'undefined') {
365
+ toReturn['id'] = this.id;
366
+ }
367
+ if (typeof this.name !== 'undefined') {
368
+ toReturn['name'] = this.name;
369
+ }
370
+ return toReturn;
371
+ }
372
+ };
284
373
  class Error {
285
374
  static fromProto(proto) {
286
375
  let m = new Error();
@@ -368,6 +457,9 @@ class MediaEntry {
368
457
  if (typeof this.metaData !== 'undefined' && this.metaData !== null) {
369
458
  toReturn['metaData'] = 'toApiJson' in this.metaData ? this.metaData.toApiJson() : this.metaData;
370
459
  }
460
+ if (typeof this.mediaPath !== 'undefined') {
461
+ toReturn['mediaPath'] = this.mediaPath;
462
+ }
371
463
  return toReturn;
372
464
  }
373
465
  }
@@ -596,6 +688,9 @@ class SocialPost {
596
688
  if (proto.tiktokCustomization) {
597
689
  m.tiktokCustomization = TikTokCustomization.fromProto(proto.tiktokCustomization);
598
690
  }
691
+ if (proto.blogPostCustomization) {
692
+ m.blogPostCustomization = BlogPostCustomization.fromProto(proto.blogPostCustomization);
693
+ }
599
694
  return m;
600
695
  }
601
696
  constructor(kwargs) {
@@ -702,6 +797,9 @@ class SocialPost {
702
797
  if (typeof this.tiktokCustomization !== 'undefined' && this.tiktokCustomization !== null) {
703
798
  toReturn['tiktokCustomization'] = 'toApiJson' in this.tiktokCustomization ? this.tiktokCustomization.toApiJson() : this.tiktokCustomization;
704
799
  }
800
+ if (typeof this.blogPostCustomization !== 'undefined' && this.blogPostCustomization !== null) {
801
+ toReturn['blogPostCustomization'] = 'toApiJson' in this.blogPostCustomization ? this.blogPostCustomization.toApiJson() : this.blogPostCustomization;
802
+ }
705
803
  return toReturn;
706
804
  }
707
805
  }
@@ -5970,6 +6068,32 @@ class CategoryResponse {
5970
6068
  return toReturn;
5971
6069
  }
5972
6070
  }
6071
+ class DeleteBlogPostRequest {
6072
+ static fromProto(proto) {
6073
+ let m = new DeleteBlogPostRequest();
6074
+ m = Object.assign(m, proto);
6075
+ return m;
6076
+ }
6077
+ constructor(kwargs) {
6078
+ if (!kwargs) {
6079
+ return;
6080
+ }
6081
+ Object.assign(this, kwargs);
6082
+ }
6083
+ toApiJson() {
6084
+ const toReturn = {};
6085
+ if (typeof this.businessId !== 'undefined') {
6086
+ toReturn['businessId'] = this.businessId;
6087
+ }
6088
+ if (typeof this.internalPostId !== 'undefined') {
6089
+ toReturn['internalPostId'] = this.internalPostId;
6090
+ }
6091
+ if (typeof this.parentPostId !== 'undefined') {
6092
+ toReturn['parentPostId'] = this.parentPostId;
6093
+ }
6094
+ return toReturn;
6095
+ }
6096
+ }
5973
6097
  class GetMultiBlogPostsRequest {
5974
6098
  static fromProto(proto) {
5975
6099
  let m = new GetMultiBlogPostsRequest();
@@ -6261,9 +6385,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6261
6385
  // API Service.
6262
6386
  // *********************************
6263
6387
  class SocialPostsApiService {
6264
- constructor() {
6265
- this.hostService = inject(HostService);
6266
- this.http = inject(HttpClient);
6388
+ constructor(http, hostService) {
6389
+ this.http = http;
6390
+ this.hostService = hostService;
6267
6391
  this._host = this.hostService.hostWithScheme;
6268
6392
  }
6269
6393
  apiOptions() {
@@ -6314,12 +6438,12 @@ class SocialPostsApiService {
6314
6438
  .pipe(map(resp => SuggestMessageResponse.fromProto(resp)));
6315
6439
  }
6316
6440
  }
6317
- SocialPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6441
+ 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
6442
  SocialPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsApiService, providedIn: 'root' });
6319
6443
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsApiService, decorators: [{
6320
6444
  type: Injectable,
6321
6445
  args: [{ providedIn: 'root' }]
6322
- }] });
6446
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6323
6447
 
6324
6448
  class SocialPostsService {
6325
6449
  constructor(socialPostsApiService) {
@@ -6369,9 +6493,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6369
6493
  // API Service.
6370
6494
  // *********************************
6371
6495
  class PostTemplatesApiService {
6372
- constructor() {
6373
- this.hostService = inject(HostService);
6374
- this.http = inject(HttpClient);
6496
+ constructor(http, hostService) {
6497
+ this.http = http;
6498
+ this.hostService = hostService;
6375
6499
  this._host = this.hostService.hostWithScheme;
6376
6500
  }
6377
6501
  apiOptions() {
@@ -6406,12 +6530,12 @@ class PostTemplatesApiService {
6406
6530
  return this.http.post(this._host + "/socialposts.v1.PostTemplates/DeletePostTemplate", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
6407
6531
  }
6408
6532
  }
6409
- PostTemplatesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostTemplatesApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6533
+ 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 });
6410
6534
  PostTemplatesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostTemplatesApiService, providedIn: 'root' });
6411
6535
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostTemplatesApiService, decorators: [{
6412
6536
  type: Injectable,
6413
6537
  args: [{ providedIn: 'root' }]
6414
- }] });
6538
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6415
6539
 
6416
6540
  // *********************************
6417
6541
  // Code generated by sdkgen
@@ -6420,9 +6544,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6420
6544
  // API Service.
6421
6545
  // *********************************
6422
6546
  class BlogConnectionApiService {
6423
- constructor() {
6424
- this.hostService = inject(HostService);
6425
- this.http = inject(HttpClient);
6547
+ constructor(http, hostService) {
6548
+ this.http = http;
6549
+ this.hostService = hostService;
6426
6550
  this._host = this.hostService.hostWithScheme;
6427
6551
  }
6428
6552
  apiOptions() {
@@ -6457,12 +6581,12 @@ class BlogConnectionApiService {
6457
6581
  return this.http.post(this._host + "/socialposts.v2.BlogConnectionService/Delete", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
6458
6582
  }
6459
6583
  }
6460
- BlogConnectionApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogConnectionApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6584
+ 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 });
6461
6585
  BlogConnectionApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogConnectionApiService, providedIn: 'root' });
6462
6586
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogConnectionApiService, decorators: [{
6463
6587
  type: Injectable,
6464
6588
  args: [{ providedIn: 'root' }]
6465
- }] });
6589
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6466
6590
 
6467
6591
  // *********************************
6468
6592
  // Code generated by sdkgen
@@ -6471,9 +6595,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6471
6595
  // API Service.
6472
6596
  // *********************************
6473
6597
  class BlogPostsApiService {
6474
- constructor() {
6475
- this.hostService = inject(HostService);
6476
- this.http = inject(HttpClient);
6598
+ constructor(http, hostService) {
6599
+ this.http = http;
6600
+ this.hostService = hostService;
6477
6601
  this._host = this.hostService.hostWithScheme;
6478
6602
  }
6479
6603
  apiOptions() {
@@ -6493,13 +6617,17 @@ class BlogPostsApiService {
6493
6617
  const request = (r.toApiJson) ? r : new UpdateBlogPostRequest(r);
6494
6618
  return this.http.post(this._host + "/socialposts.v2.BlogPostsService/UpdateBlogPost", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
6495
6619
  }
6620
+ deleteBlogPost(r) {
6621
+ const request = (r.toApiJson) ? r : new DeleteBlogPostRequest(r);
6622
+ return this.http.post(this._host + "/socialposts.v2.BlogPostsService/DeleteBlogPost", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
6623
+ }
6496
6624
  }
6497
- BlogPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogPostsApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6625
+ BlogPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogPostsApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
6498
6626
  BlogPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogPostsApiService, providedIn: 'root' });
6499
6627
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogPostsApiService, decorators: [{
6500
6628
  type: Injectable,
6501
6629
  args: [{ providedIn: 'root' }]
6502
- }] });
6630
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6503
6631
 
6504
6632
  // *********************************
6505
6633
  // Code generated by sdkgen
@@ -6508,9 +6636,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6508
6636
  // API Service.
6509
6637
  // *********************************
6510
6638
  class ChatBotApiService {
6511
- constructor() {
6512
- this.hostService = inject(HostService);
6513
- this.http = inject(HttpClient);
6639
+ constructor(http, hostService) {
6640
+ this.http = http;
6641
+ this.hostService = hostService;
6514
6642
  this._host = this.hostService.hostWithScheme;
6515
6643
  }
6516
6644
  apiOptions() {
@@ -6536,12 +6664,12 @@ class ChatBotApiService {
6536
6664
  return this.http.post(this._host + "/socialposts.v2.ChatBot/EndChat", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
6537
6665
  }
6538
6666
  }
6539
- ChatBotApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6667
+ 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 });
6540
6668
  ChatBotApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotApiService, providedIn: 'root' });
6541
6669
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotApiService, decorators: [{
6542
6670
  type: Injectable,
6543
6671
  args: [{ providedIn: 'root' }]
6544
- }] });
6672
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6545
6673
 
6546
6674
  // *********************************
6547
6675
  // Code generated by sdkgen
@@ -6550,9 +6678,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6550
6678
  // API Service.
6551
6679
  // *********************************
6552
6680
  class ChatBotV2ApiService {
6553
- constructor() {
6554
- this.hostService = inject(HostService);
6555
- this.http = inject(HttpClient);
6681
+ constructor(http, hostService) {
6682
+ this.http = http;
6683
+ this.hostService = hostService;
6556
6684
  this._host = this.hostService.hostWithScheme;
6557
6685
  }
6558
6686
  apiOptions() {
@@ -6569,12 +6697,12 @@ class ChatBotV2ApiService {
6569
6697
  .pipe(map(resp => SendMessageV2Response.fromProto(resp)));
6570
6698
  }
6571
6699
  }
6572
- ChatBotV2ApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotV2ApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6700
+ 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 });
6573
6701
  ChatBotV2ApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotV2ApiService, providedIn: 'root' });
6574
6702
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotV2ApiService, decorators: [{
6575
6703
  type: Injectable,
6576
6704
  args: [{ providedIn: 'root' }]
6577
- }] });
6705
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6578
6706
 
6579
6707
  // *********************************
6580
6708
  // Code generated by sdkgen
@@ -6583,9 +6711,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6583
6711
  // API Service.
6584
6712
  // *********************************
6585
6713
  class CommonAiInstructionsApiService {
6586
- constructor() {
6587
- this.hostService = inject(HostService);
6588
- this.http = inject(HttpClient);
6714
+ constructor(http, hostService) {
6715
+ this.http = http;
6716
+ this.hostService = hostService;
6589
6717
  this._host = this.hostService.hostWithScheme;
6590
6718
  }
6591
6719
  apiOptions() {
@@ -6612,12 +6740,12 @@ class CommonAiInstructionsApiService {
6612
6740
  .pipe(map(resp => GetCommonAiInstructionsResponse.fromProto(resp)));
6613
6741
  }
6614
6742
  }
6615
- CommonAiInstructionsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommonAiInstructionsApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6743
+ 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 });
6616
6744
  CommonAiInstructionsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommonAiInstructionsApiService, providedIn: 'root' });
6617
6745
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommonAiInstructionsApiService, decorators: [{
6618
6746
  type: Injectable,
6619
6747
  args: [{ providedIn: 'root' }]
6620
- }] });
6748
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6621
6749
 
6622
6750
  // *********************************
6623
6751
  // Code generated by sdkgen
@@ -6626,9 +6754,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6626
6754
  // API Service.
6627
6755
  // *********************************
6628
6756
  class ContentGenerationApiService {
6629
- constructor() {
6630
- this.hostService = inject(HostService);
6631
- this.http = inject(HttpClient);
6757
+ constructor(http, hostService) {
6758
+ this.http = http;
6759
+ this.hostService = hostService;
6632
6760
  this._host = this.hostService.hostWithScheme;
6633
6761
  }
6634
6762
  apiOptions() {
@@ -6650,12 +6778,12 @@ class ContentGenerationApiService {
6650
6778
  .pipe(map(resp => GenerateAiResponse.fromProto(resp)));
6651
6779
  }
6652
6780
  }
6653
- ContentGenerationApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContentGenerationApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6781
+ 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 });
6654
6782
  ContentGenerationApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContentGenerationApiService, providedIn: 'root' });
6655
6783
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContentGenerationApiService, decorators: [{
6656
6784
  type: Injectable,
6657
6785
  args: [{ providedIn: 'root' }]
6658
- }] });
6786
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6659
6787
 
6660
6788
  // *********************************
6661
6789
  // Code generated by sdkgen
@@ -6664,9 +6792,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6664
6792
  // API Service.
6665
6793
  // *********************************
6666
6794
  class CuratedContentApiService {
6667
- constructor() {
6668
- this.hostService = inject(HostService);
6669
- this.http = inject(HttpClient);
6795
+ constructor(http, hostService) {
6796
+ this.http = http;
6797
+ this.hostService = hostService;
6670
6798
  this._host = this.hostService.hostWithScheme;
6671
6799
  }
6672
6800
  apiOptions() {
@@ -6683,12 +6811,12 @@ class CuratedContentApiService {
6683
6811
  .pipe(map(resp => ListCuratedContentResponse.fromProto(resp)));
6684
6812
  }
6685
6813
  }
6686
- CuratedContentApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuratedContentApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6814
+ 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 });
6687
6815
  CuratedContentApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuratedContentApiService, providedIn: 'root' });
6688
6816
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuratedContentApiService, decorators: [{
6689
6817
  type: Injectable,
6690
6818
  args: [{ providedIn: 'root' }]
6691
- }] });
6819
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6692
6820
 
6693
6821
  // *********************************
6694
6822
  // Code generated by sdkgen
@@ -6697,9 +6825,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6697
6825
  // API Service.
6698
6826
  // *********************************
6699
6827
  class HashTagsApiService {
6700
- constructor() {
6701
- this.hostService = inject(HostService);
6702
- this.http = inject(HttpClient);
6828
+ constructor(http, hostService) {
6829
+ this.http = http;
6830
+ this.hostService = hostService;
6703
6831
  this._host = this.hostService.hostWithScheme;
6704
6832
  }
6705
6833
  apiOptions() {
@@ -6724,12 +6852,12 @@ class HashTagsApiService {
6724
6852
  .pipe(map(resp => SearchHashtagResponse.fromProto(resp)));
6725
6853
  }
6726
6854
  }
6727
- HashTagsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HashTagsApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6855
+ 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 });
6728
6856
  HashTagsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HashTagsApiService, providedIn: 'root' });
6729
6857
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HashTagsApiService, decorators: [{
6730
6858
  type: Injectable,
6731
6859
  args: [{ providedIn: 'root' }]
6732
- }] });
6860
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6733
6861
 
6734
6862
  // *********************************
6735
6863
  // Code generated by sdkgen
@@ -6738,9 +6866,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6738
6866
  // API Service.
6739
6867
  // *********************************
6740
6868
  class LinkedinApiService {
6741
- constructor() {
6742
- this.hostService = inject(HostService);
6743
- this.http = inject(HttpClient);
6869
+ constructor(http, hostService) {
6870
+ this.http = http;
6871
+ this.hostService = hostService;
6744
6872
  this._host = this.hostService.hostWithScheme;
6745
6873
  }
6746
6874
  apiOptions() {
@@ -6761,12 +6889,12 @@ class LinkedinApiService {
6761
6889
  .pipe(map(resp => MediaUploadResponse.fromProto(resp)));
6762
6890
  }
6763
6891
  }
6764
- LinkedinApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinkedinApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6892
+ 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 });
6765
6893
  LinkedinApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinkedinApiService, providedIn: 'root' });
6766
6894
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinkedinApiService, decorators: [{
6767
6895
  type: Injectable,
6768
6896
  args: [{ providedIn: 'root' }]
6769
- }] });
6897
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6770
6898
 
6771
6899
  // *********************************
6772
6900
  // Code generated by sdkgen
@@ -6775,9 +6903,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6775
6903
  // API Service.
6776
6904
  // *********************************
6777
6905
  class MultilocationPostApiService {
6778
- constructor() {
6779
- this.hostService = inject(HostService);
6780
- this.http = inject(HttpClient);
6906
+ constructor(http, hostService) {
6907
+ this.http = http;
6908
+ this.hostService = hostService;
6781
6909
  this._host = this.hostService.hostWithScheme;
6782
6910
  }
6783
6911
  apiOptions() {
@@ -6817,12 +6945,12 @@ class MultilocationPostApiService {
6817
6945
  .pipe(map(resp => GetMultilocationPostResponse.fromProto(resp)));
6818
6946
  }
6819
6947
  }
6820
- MultilocationPostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultilocationPostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6948
+ 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 });
6821
6949
  MultilocationPostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultilocationPostApiService, providedIn: 'root' });
6822
6950
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultilocationPostApiService, decorators: [{
6823
6951
  type: Injectable,
6824
6952
  args: [{ providedIn: 'root' }]
6825
- }] });
6953
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6826
6954
 
6827
6955
  // *********************************
6828
6956
  // Code generated by sdkgen
@@ -6831,9 +6959,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6831
6959
  // API Service.
6832
6960
  // *********************************
6833
6961
  class PartnerSocialPostsApiService {
6834
- constructor() {
6835
- this.hostService = inject(HostService);
6836
- this.http = inject(HttpClient);
6962
+ constructor(http, hostService) {
6963
+ this.http = http;
6964
+ this.hostService = hostService;
6837
6965
  this._host = this.hostService.hostWithScheme;
6838
6966
  }
6839
6967
  apiOptions() {
@@ -6855,12 +6983,12 @@ class PartnerSocialPostsApiService {
6855
6983
  .pipe(map(resp => PartnerListScheduledPostsResponse.fromProto(resp)));
6856
6984
  }
6857
6985
  }
6858
- PartnerSocialPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PartnerSocialPostsApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6986
+ 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 });
6859
6987
  PartnerSocialPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PartnerSocialPostsApiService, providedIn: 'root' });
6860
6988
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PartnerSocialPostsApiService, decorators: [{
6861
6989
  type: Injectable,
6862
6990
  args: [{ providedIn: 'root' }]
6863
- }] });
6991
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6864
6992
 
6865
6993
  // *********************************
6866
6994
  // Code generated by sdkgen
@@ -6869,9 +6997,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6869
6997
  // API Service.
6870
6998
  // *********************************
6871
6999
  class PixabayImagesApiService {
6872
- constructor() {
6873
- this.hostService = inject(HostService);
6874
- this.http = inject(HttpClient);
7000
+ constructor(http, hostService) {
7001
+ this.http = http;
7002
+ this.hostService = hostService;
6875
7003
  this._host = this.hostService.hostWithScheme;
6876
7004
  }
6877
7005
  apiOptions() {
@@ -6888,12 +7016,12 @@ class PixabayImagesApiService {
6888
7016
  .pipe(map(resp => ListPixabayImagesResponse.fromProto(resp)));
6889
7017
  }
6890
7018
  }
6891
- PixabayImagesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PixabayImagesApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
7019
+ 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 });
6892
7020
  PixabayImagesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PixabayImagesApiService, providedIn: 'root' });
6893
7021
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PixabayImagesApiService, decorators: [{
6894
7022
  type: Injectable,
6895
7023
  args: [{ providedIn: 'root' }]
6896
- }] });
7024
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6897
7025
 
6898
7026
  // *********************************
6899
7027
  // Code generated by sdkgen
@@ -6902,9 +7030,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6902
7030
  // API Service.
6903
7031
  // *********************************
6904
7032
  class PostPerformanceApiService {
6905
- constructor() {
6906
- this.hostService = inject(HostService);
6907
- this.http = inject(HttpClient);
7033
+ constructor(http, hostService) {
7034
+ this.http = http;
7035
+ this.hostService = hostService;
6908
7036
  this._host = this.hostService.hostWithScheme;
6909
7037
  }
6910
7038
  apiOptions() {
@@ -6926,12 +7054,12 @@ class PostPerformanceApiService {
6926
7054
  .pipe(map(resp => GetGeneratedCSVForPerformanceStatsResponse.fromProto(resp)));
6927
7055
  }
6928
7056
  }
6929
- PostPerformanceApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostPerformanceApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
7057
+ 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 });
6930
7058
  PostPerformanceApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostPerformanceApiService, providedIn: 'root' });
6931
7059
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostPerformanceApiService, decorators: [{
6932
7060
  type: Injectable,
6933
7061
  args: [{ providedIn: 'root' }]
6934
- }] });
7062
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6935
7063
 
6936
7064
  // *********************************
6937
7065
  // Code generated by sdkgen
@@ -6940,9 +7068,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6940
7068
  // API Service.
6941
7069
  // *********************************
6942
7070
  class SocialPostsV2ApiService {
6943
- constructor() {
6944
- this.hostService = inject(HostService);
6945
- this.http = inject(HttpClient);
7071
+ constructor(http, hostService) {
7072
+ this.http = http;
7073
+ this.hostService = hostService;
6946
7074
  this._host = this.hostService.hostWithScheme;
6947
7075
  }
6948
7076
  apiOptions() {
@@ -6983,12 +7111,12 @@ class SocialPostsV2ApiService {
6983
7111
  return this.http.post(this._host + "/socialposts.v2.SocialPostsV2/RepostSocialPost", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
6984
7112
  }
6985
7113
  }
6986
- SocialPostsV2ApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2ApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
7114
+ 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
7115
  SocialPostsV2ApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2ApiService, providedIn: 'root' });
6988
7116
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2ApiService, decorators: [{
6989
7117
  type: Injectable,
6990
7118
  args: [{ providedIn: 'root' }]
6991
- }] });
7119
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
6992
7120
 
6993
7121
  // *********************************
6994
7122
  // Code generated by sdkgen
@@ -6997,9 +7125,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6997
7125
  // API Service.
6998
7126
  // *********************************
6999
7127
  class TenorGifsApiService {
7000
- constructor() {
7001
- this.hostService = inject(HostService);
7002
- this.http = inject(HttpClient);
7128
+ constructor(http, hostService) {
7129
+ this.http = http;
7130
+ this.hostService = hostService;
7003
7131
  this._host = this.hostService.hostWithScheme;
7004
7132
  }
7005
7133
  apiOptions() {
@@ -7021,12 +7149,12 @@ class TenorGifsApiService {
7021
7149
  .pipe(map(resp => ListTenorGifsResponse.fromProto(resp)));
7022
7150
  }
7023
7151
  }
7024
- TenorGifsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TenorGifsApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
7152
+ 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
7153
  TenorGifsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TenorGifsApiService, providedIn: 'root' });
7026
7154
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TenorGifsApiService, decorators: [{
7027
7155
  type: Injectable,
7028
7156
  args: [{ providedIn: 'root' }]
7029
- }] });
7157
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
7030
7158
 
7031
7159
  // *********************************
7032
7160
  // Code generated by sdkgen
@@ -7035,9 +7163,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
7035
7163
  // API Service.
7036
7164
  // *********************************
7037
7165
  class UnsplashApiService {
7038
- constructor() {
7039
- this.hostService = inject(HostService);
7040
- this.http = inject(HttpClient);
7166
+ constructor(http, hostService) {
7167
+ this.http = http;
7168
+ this.hostService = hostService;
7041
7169
  this._host = this.hostService.hostWithScheme;
7042
7170
  }
7043
7171
  apiOptions() {
@@ -7059,12 +7187,12 @@ class UnsplashApiService {
7059
7187
  .pipe(map(resp => UploadToStorageResponse.fromProto(resp)));
7060
7188
  }
7061
7189
  }
7062
- UnsplashApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UnsplashApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
7190
+ 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
7191
  UnsplashApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UnsplashApiService, providedIn: 'root' });
7064
7192
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UnsplashApiService, decorators: [{
7065
7193
  type: Injectable,
7066
7194
  args: [{ providedIn: 'root' }]
7067
- }] });
7195
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
7068
7196
 
7069
7197
  // *********************************
7070
7198
  // Code generated by sdkgen
@@ -7073,9 +7201,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
7073
7201
  // API Service.
7074
7202
  // *********************************
7075
7203
  class WordpressPluginApiService {
7076
- constructor() {
7077
- this.hostService = inject(HostService);
7078
- this.http = inject(HttpClient);
7204
+ constructor(http, hostService) {
7205
+ this.http = http;
7206
+ this.hostService = hostService;
7079
7207
  this._host = this.hostService.hostWithScheme;
7080
7208
  }
7081
7209
  apiOptions() {
@@ -7107,12 +7235,12 @@ class WordpressPluginApiService {
7107
7235
  .pipe(map(resp => PublishPostResponse.fromProto(resp)));
7108
7236
  }
7109
7237
  }
7110
- WordpressPluginApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WordpressPluginApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
7238
+ 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
7239
  WordpressPluginApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WordpressPluginApiService, providedIn: 'root' });
7112
7240
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WordpressPluginApiService, decorators: [{
7113
7241
  type: Injectable,
7114
7242
  args: [{ providedIn: 'root' }]
7115
- }] });
7243
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
7116
7244
 
7117
7245
  // *********************************
7118
7246
  // Code generated by sdkgen
@@ -7609,6 +7737,9 @@ class BlogPostsService {
7609
7737
  updateBlogPost(updateBlogPostRequestInterface) {
7610
7738
  return this.blogPostsApiService.updateBlogPost(updateBlogPostRequestInterface);
7611
7739
  }
7740
+ deleteBlogPost(DeleteBlogPostRequestInterface) {
7741
+ return this.blogPostsApiService.deleteBlogPost(DeleteBlogPostRequestInterface);
7742
+ }
7612
7743
  }
7613
7744
  BlogPostsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogPostsService, deps: [{ token: BlogPostsApiService }], target: i0.ɵɵFactoryTarget.Injectable });
7614
7745
  BlogPostsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogPostsService, providedIn: 'root' });
@@ -7621,5 +7752,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
7621
7752
  * Generated bundle index. Do not edit.
7622
7753
  */
7623
7754
 
7624
- 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 };
7755
+ export { Access, Action, ActionType, AiInstructionService, AiInstructions, Ancestry, Author$1 as Author, AuthorsRequest, AuthorsResponse, BlogConnection, BlogConnectionService, BlogImage, BlogPost, BlogPostCustomization, BlogPostsService, BlogVideo, CallToAction, CallToActionCallToActionType, Category$1 as Category, CategoryRequest, CategoryResponse, ChatBotService, ChatBotV2Service, ChatMessage, Collection, ContentGenerationService, ContentLength, CreateBlogConnectionRequest, CreateBlogConnectionResponse, CreateCommonAiInstructionsRequest, CreateCommonAiInstructionsResponse, CreateImageRequest, CreateImageResponse, CreateMultilocationPostRequest, CreateMultilocationPostResponse, CreatePostTemplateRequest, CreatePostTemplateResponse, CuratedContentPost, DateRangeFilter, DeleteBlogConnectionRequest, DeleteBlogPostRequest, DeleteHashtagsRequest, DeleteMultilocationPostRequest, DeletePostRequest, DeletePostTemplateRequest, DeleteSocialPostRequest, EditMultilocationPostRequest, EditMultilocationPostResponse, EndChatRequest, Error, Event, FacebookPostStats, FieldMask, GenerateAiRequest, GenerateAiResponse, GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GeneratePostsRequest, GeneratePostsResponse, GeneratePostsResponsePost, GenerateType, GetBlogConnectionRequest, GetBlogConnectionResponse, GetCommonAiInstructionsRequest, GetCommonAiInstructionsResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse, GetMultiBlogPostsRequest, GetMultiBlogPostsResponse, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, GetPostTemplateRequest, GetPostTemplateResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, HashTagsService, Hashtag, Image, ImageBlob, ImageCreated, ImageUrl, LinkV2, Links, ListBlogConnectionRequest, ListBlogConnectionResponse, ListCuratedContentRequest, ListCuratedContentResponse, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListTenorGifsRequest, ListTenorGifsResponse, ListUnsplashImagesRequest, ListUnsplashImagesResponse, Location, Media, MediaEntry, MediaProperty, MediaType, MediaUploadRequest, MediaUploadResponse, MessageLength, MetaData, MetadataV2, MultiResponse, MultilocationPost, MultilocationPostApiService, MultilocationPostError, MultilocationPostsService, PartnerListScheduledPostsResponse, PartnerListScheduledSocialPostsRequest, PartnerListScheduledSocialPostsRequestFilters, Photo, PixabayImage, PixabayImageService, PostAction, PostActionV2, PostContentV2, PostCustomization, PostCustomizationV2, PostData, PostEvent, PostEventV2, PostMediaV2, PostPerformanceApiService, PostPerformanceService, PostStatusV2, PostTemplate, PostTemplatesService, PostType, PostTypeV2, PostingStatus, PublishPostRequest, PublishPostResponse, RemoveFromMultilocationPostRequest, RemoveReason, ReplaceHashtagsRequest, 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 };
7625
7756
  //# sourceMappingURL=vendasta-social-posts.mjs.map