@vendasta/social-posts 5.21.0 → 5.22.1

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 +41 -0
  2. package/esm2020/lib/_internal/chat-bot-v2.api.service.mjs +8 -7
  3. package/esm2020/lib/_internal/chat-bot.api.service.mjs +8 -7
  4. package/esm2020/lib/_internal/common-ai-instructions.api.service.mjs +8 -7
  5. package/esm2020/lib/_internal/content-generation.api.service.mjs +8 -7
  6. package/esm2020/lib/_internal/curated-content.api.service.mjs +8 -7
  7. package/esm2020/lib/_internal/hash-tags.api.service.mjs +8 -7
  8. package/esm2020/lib/_internal/index.mjs +2 -1
  9. package/esm2020/lib/_internal/interfaces/blog-connection.interface.mjs +8 -0
  10. package/esm2020/lib/_internal/interfaces/chat-bot-v2.interface.mjs +1 -1
  11. package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
  12. package/esm2020/lib/_internal/linkedin.api.service.mjs +8 -7
  13. package/esm2020/lib/_internal/multilocation-post.api.service.mjs +8 -7
  14. package/esm2020/lib/_internal/objects/blog-connection.mjs +65 -0
  15. package/esm2020/lib/_internal/objects/chat-bot-v2.mjs +4 -1
  16. package/esm2020/lib/_internal/objects/index.mjs +2 -1
  17. package/esm2020/lib/_internal/partner-social-posts.api.service.mjs +8 -7
  18. package/esm2020/lib/_internal/pixabay-images.api.service.mjs +8 -7
  19. package/esm2020/lib/_internal/post-performance.api.service.mjs +8 -7
  20. package/esm2020/lib/_internal/post-templates.api.service.mjs +8 -7
  21. package/esm2020/lib/_internal/social-posts-v2.api.service.mjs +8 -7
  22. package/esm2020/lib/_internal/social-posts.api.service.mjs +8 -7
  23. package/esm2020/lib/_internal/tenor-gifs.api.service.mjs +8 -7
  24. package/esm2020/lib/_internal/unsplash.api.service.mjs +8 -7
  25. package/esm2020/lib/blog-connection.service.mjs +19 -0
  26. package/esm2020/lib/chat-bot-v2.service.mjs +4 -3
  27. package/esm2020/lib/index.mjs +2 -1
  28. package/fesm2015/vendasta-social-posts.mjs +238 -120
  29. package/fesm2015/vendasta-social-posts.mjs.map +1 -1
  30. package/fesm2020/vendasta-social-posts.mjs +238 -120
  31. package/fesm2020/vendasta-social-posts.mjs.map +1 -1
  32. package/lib/_internal/blog-connection.api.service.d.ts +16 -0
  33. package/lib/_internal/chat-bot-v2.api.service.d.ts +5 -2
  34. package/lib/_internal/chat-bot.api.service.d.ts +5 -3
  35. package/lib/_internal/common-ai-instructions.api.service.d.ts +5 -2
  36. package/lib/_internal/content-generation.api.service.d.ts +5 -2
  37. package/lib/_internal/curated-content.api.service.d.ts +5 -2
  38. package/lib/_internal/hash-tags.api.service.d.ts +5 -3
  39. package/lib/_internal/index.d.ts +1 -0
  40. package/lib/_internal/interfaces/blog-connection.interface.d.ts +12 -0
  41. package/lib/_internal/interfaces/chat-bot-v2.interface.d.ts +1 -0
  42. package/lib/_internal/interfaces/index.d.ts +1 -0
  43. package/lib/_internal/linkedin.api.service.d.ts +5 -3
  44. package/lib/_internal/multilocation-post.api.service.d.ts +5 -3
  45. package/lib/_internal/objects/blog-connection.d.ts +20 -0
  46. package/lib/_internal/objects/chat-bot-v2.d.ts +1 -0
  47. package/lib/_internal/objects/index.d.ts +1 -0
  48. package/lib/_internal/partner-social-posts.api.service.d.ts +5 -2
  49. package/lib/_internal/pixabay-images.api.service.d.ts +5 -2
  50. package/lib/_internal/post-performance.api.service.d.ts +5 -2
  51. package/lib/_internal/post-templates.api.service.d.ts +5 -3
  52. package/lib/_internal/social-posts-v2.api.service.d.ts +5 -3
  53. package/lib/_internal/social-posts.api.service.d.ts +5 -3
  54. package/lib/_internal/tenor-gifs.api.service.d.ts +5 -2
  55. package/lib/_internal/unsplash.api.service.d.ts +5 -2
  56. package/lib/blog-connection.service.d.ts +10 -0
  57. package/lib/chat-bot-v2.service.d.ts +1 -1
  58. package/lib/index.d.ts +1 -0
  59. package/package.json +1 -1
@@ -1,10 +1,11 @@
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
- function enumStringToValue$e(enumRef, value) {
8
+ function enumStringToValue$f(enumRef, value) {
8
9
  if (typeof value === 'number') {
9
10
  return value;
10
11
  }
@@ -31,7 +32,7 @@ class FieldMask {
31
32
  }
32
33
  }
33
34
 
34
- function enumStringToValue$d(enumRef, value) {
35
+ function enumStringToValue$e(enumRef, value) {
35
36
  if (typeof value === 'number') {
36
37
  return value;
37
38
  }
@@ -230,7 +231,7 @@ var Role;
230
231
  // Enums Index.
231
232
  // *********************************
232
233
 
233
- function enumStringToValue$c(enumRef, value) {
234
+ function enumStringToValue$d(enumRef, value) {
234
235
  if (typeof value === 'number') {
235
236
  return value;
236
237
  }
@@ -241,7 +242,7 @@ class CallToAction {
241
242
  let m = new CallToAction();
242
243
  m = Object.assign(m, proto);
243
244
  if (proto.actionType) {
244
- m.actionType = enumStringToValue$c(CallToActionCallToActionType, proto.actionType);
245
+ m.actionType = enumStringToValue$d(CallToActionCallToActionType, proto.actionType);
245
246
  }
246
247
  return m;
247
248
  }
@@ -395,7 +396,7 @@ class PostTemplate {
395
396
  m.metaData = proto.metaData.map(MetaData.fromProto);
396
397
  }
397
398
  if (proto.postType) {
398
- m.postType = enumStringToValue$c(PostType, proto.postType);
399
+ m.postType = enumStringToValue$d(PostType, proto.postType);
399
400
  }
400
401
  if (proto.youtubeCustomization) {
401
402
  m.youtubeCustomization = YoutubeCustomization.fromProto(proto.youtubeCustomization);
@@ -478,7 +479,7 @@ class SSIDPostType {
478
479
  let m = new SSIDPostType();
479
480
  m = Object.assign(m, proto);
480
481
  if (proto.postType) {
481
- m.postType = enumStringToValue$c(PostType, proto.postType);
482
+ m.postType = enumStringToValue$d(PostType, proto.postType);
482
483
  }
483
484
  return m;
484
485
  }
@@ -539,10 +540,10 @@ class SocialPost {
539
540
  m.posted = new Date(proto.posted);
540
541
  }
541
542
  if (proto.deletionStatus) {
542
- m.deletionStatus = enumStringToValue$c(SocialPostDeletionStatus, proto.deletionStatus);
543
+ m.deletionStatus = enumStringToValue$d(SocialPostDeletionStatus, proto.deletionStatus);
543
544
  }
544
545
  if (proto.service) {
545
- m.service = enumStringToValue$c(SocialPostService, proto.service);
546
+ m.service = enumStringToValue$d(SocialPostService, proto.service);
546
547
  }
547
548
  if (proto.created) {
548
549
  m.created = new Date(proto.created);
@@ -551,7 +552,7 @@ class SocialPost {
551
552
  m.scheduled = new Date(proto.scheduled);
552
553
  }
553
554
  if (proto.status) {
554
- m.status = enumStringToValue$c(PostingStatus, proto.status);
555
+ m.status = enumStringToValue$d(PostingStatus, proto.status);
555
556
  }
556
557
  if (proto.event) {
557
558
  m.event = Event.fromProto(proto.event);
@@ -563,7 +564,7 @@ class SocialPost {
563
564
  m.error = Error.fromProto(proto.error);
564
565
  }
565
566
  if (proto.postType) {
566
- m.postType = enumStringToValue$c(PostType, proto.postType);
567
+ m.postType = enumStringToValue$d(PostType, proto.postType);
567
568
  }
568
569
  if (proto.mediaEntries) {
569
570
  m.mediaEntries = proto.mediaEntries.map(MediaEntry.fromProto);
@@ -746,7 +747,7 @@ class YoutubeCustomization {
746
747
  let m = new YoutubeCustomization();
747
748
  m = Object.assign(m, proto);
748
749
  if (proto.privacyStatus) {
749
- m.privacyStatus = enumStringToValue$c(YoutubeCustomizationPrivacyStatus, proto.privacyStatus);
750
+ m.privacyStatus = enumStringToValue$d(YoutubeCustomizationPrivacyStatus, proto.privacyStatus);
750
751
  }
751
752
  return m;
752
753
  }
@@ -768,7 +769,7 @@ class YoutubeCustomization {
768
769
  }
769
770
  }
770
771
 
771
- function enumStringToValue$b(enumRef, value) {
772
+ function enumStringToValue$c(enumRef, value) {
772
773
  if (typeof value === 'number') {
773
774
  return value;
774
775
  }
@@ -997,7 +998,7 @@ class PostEvent {
997
998
  }
998
999
  }
999
1000
 
1000
- function enumStringToValue$a(enumRef, value) {
1001
+ function enumStringToValue$b(enumRef, value) {
1001
1002
  if (typeof value === 'number') {
1002
1003
  return value;
1003
1004
  }
@@ -1138,7 +1139,7 @@ class PixabayImage {
1138
1139
  }
1139
1140
  }
1140
1141
 
1141
- function enumStringToValue$9(enumRef, value) {
1142
+ function enumStringToValue$a(enumRef, value) {
1142
1143
  if (typeof value === 'number') {
1143
1144
  return value;
1144
1145
  }
@@ -1265,7 +1266,7 @@ class TwitterPostStats {
1265
1266
  }
1266
1267
  }
1267
1268
 
1268
- function enumStringToValue$8(enumRef, value) {
1269
+ function enumStringToValue$9(enumRef, value) {
1269
1270
  if (typeof value === 'number') {
1270
1271
  return value;
1271
1272
  }
@@ -1371,7 +1372,7 @@ class TenorMediaObject {
1371
1372
  }
1372
1373
  }
1373
1374
 
1374
- function enumStringToValue$7(enumRef, value) {
1375
+ function enumStringToValue$8(enumRef, value) {
1375
1376
  if (typeof value === 'number') {
1376
1377
  return value;
1377
1378
  }
@@ -1494,7 +1495,7 @@ class CreatePostTemplateRequest {
1494
1495
  m.metaData = proto.metaData.map(MetaData.fromProto);
1495
1496
  }
1496
1497
  if (proto.postType) {
1497
- m.postType = enumStringToValue$7(PostType, proto.postType);
1498
+ m.postType = enumStringToValue$8(PostType, proto.postType);
1498
1499
  }
1499
1500
  if (proto.youtubeCustomization) {
1500
1501
  m.youtubeCustomization = YoutubeCustomization.fromProto(proto.youtubeCustomization);
@@ -2727,7 +2728,7 @@ class RemoveFromMultilocationPostRequest {
2727
2728
  let m = new RemoveFromMultilocationPostRequest();
2728
2729
  m = Object.assign(m, proto);
2729
2730
  if (proto.reason) {
2730
- m.reason = enumStringToValue$7(RemoveReason, proto.reason);
2731
+ m.reason = enumStringToValue$8(RemoveReason, proto.reason);
2731
2732
  }
2732
2733
  if (proto.locations) {
2733
2734
  m.locations = proto.locations.map(Location.fromProto);
@@ -2950,10 +2951,10 @@ class SuggestMessageRequest {
2950
2951
  let m = new SuggestMessageRequest();
2951
2952
  m = Object.assign(m, proto);
2952
2953
  if (proto.length) {
2953
- m.length = enumStringToValue$7(MessageLength, proto.length);
2954
+ m.length = enumStringToValue$8(MessageLength, proto.length);
2954
2955
  }
2955
2956
  if (proto.type) {
2956
- m.type = enumStringToValue$7(TemplateType, proto.type);
2957
+ m.type = enumStringToValue$8(TemplateType, proto.type);
2957
2958
  }
2958
2959
  if (proto.metadata) {
2959
2960
  m.metadata = proto.metadata.map(MetaData.fromProto);
@@ -3020,7 +3021,7 @@ class UpdatePostTemplateRequest {
3020
3021
  m.metaData = proto.metaData.map(MetaData.fromProto);
3021
3022
  }
3022
3023
  if (proto.postType) {
3023
- m.postType = enumStringToValue$7(PostType, proto.postType);
3024
+ m.postType = enumStringToValue$8(PostType, proto.postType);
3024
3025
  }
3025
3026
  if (proto.youtubeCustomization) {
3026
3027
  m.youtubeCustomization = YoutubeCustomization.fromProto(proto.youtubeCustomization);
@@ -3087,7 +3088,7 @@ class UpdatePostTemplateRequest {
3087
3088
  }
3088
3089
  }
3089
3090
 
3090
- function enumStringToValue$6(enumRef, value) {
3091
+ function enumStringToValue$7(enumRef, value) {
3091
3092
  if (typeof value === 'number') {
3092
3093
  return value;
3093
3094
  }
@@ -3117,7 +3118,7 @@ class Access {
3117
3118
  }
3118
3119
  }
3119
3120
 
3120
- function enumStringToValue$5(enumRef, value) {
3121
+ function enumStringToValue$6(enumRef, value) {
3121
3122
  if (typeof value === 'number') {
3122
3123
  return value;
3123
3124
  }
@@ -3352,7 +3353,7 @@ class SocialPostV2 {
3352
3353
  m.customization = PostCustomizationV2.fromProto(proto.customization);
3353
3354
  }
3354
3355
  if (proto.postType) {
3355
- m.postType = enumStringToValue$5(PostTypeV2, proto.postType);
3356
+ m.postType = enumStringToValue$6(PostTypeV2, proto.postType);
3356
3357
  }
3357
3358
  if (proto.metadata) {
3358
3359
  m.metadata = proto.metadata.map(MetadataV2.fromProto);
@@ -3452,7 +3453,7 @@ class YoutubeCustomizationV2 {
3452
3453
  let m = new YoutubeCustomizationV2();
3453
3454
  m = Object.assign(m, proto);
3454
3455
  if (proto.privacyStatus) {
3455
- m.privacyStatus = enumStringToValue$5(YoutubeCustomizationV2PrivacyStatusV2, proto.privacyStatus);
3456
+ m.privacyStatus = enumStringToValue$6(YoutubeCustomizationV2PrivacyStatusV2, proto.privacyStatus);
3456
3457
  }
3457
3458
  return m;
3458
3459
  }
@@ -3471,7 +3472,7 @@ class YoutubeCustomizationV2 {
3471
3472
  }
3472
3473
  }
3473
3474
 
3474
- function enumStringToValue$4(enumRef, value) {
3475
+ function enumStringToValue$5(enumRef, value) {
3475
3476
  if (typeof value === 'number') {
3476
3477
  return value;
3477
3478
  }
@@ -3482,7 +3483,7 @@ class Media {
3482
3483
  let m = new Media();
3483
3484
  m = Object.assign(m, proto);
3484
3485
  if (proto.mediaType) {
3485
- m.mediaType = enumStringToValue$4(MediaType, proto.mediaType);
3486
+ m.mediaType = enumStringToValue$5(MediaType, proto.mediaType);
3486
3487
  }
3487
3488
  return m;
3488
3489
  }
@@ -3504,7 +3505,7 @@ class Media {
3504
3505
  }
3505
3506
  }
3506
3507
 
3507
- function enumStringToValue$3(enumRef, value) {
3508
+ function enumStringToValue$4(enumRef, value) {
3508
3509
  if (typeof value === 'number') {
3509
3510
  return value;
3510
3511
  }
@@ -4039,7 +4040,7 @@ class UserLink {
4039
4040
  }
4040
4041
  }
4041
4042
 
4042
- function enumStringToValue$2(enumRef, value) {
4043
+ function enumStringToValue$3(enumRef, value) {
4043
4044
  if (typeof value === 'number') {
4044
4045
  return value;
4045
4046
  }
@@ -4694,7 +4695,7 @@ class SocialPostOutput {
4694
4695
  m.metadata = proto.metadata.map(MetadataV2.fromProto);
4695
4696
  }
4696
4697
  if (proto.status) {
4697
- m.status = enumStringToValue$2(PostStatusV2, proto.status);
4698
+ m.status = enumStringToValue$3(PostStatusV2, proto.status);
4698
4699
  }
4699
4700
  return m;
4700
4701
  }
@@ -4912,7 +4913,7 @@ class UploadToStorageRequest {
4912
4913
  let m = new UploadToStorageRequest();
4913
4914
  m = Object.assign(m, proto);
4914
4915
  if (proto.mediaType) {
4915
- m.mediaType = enumStringToValue$2(MediaType, proto.mediaType);
4916
+ m.mediaType = enumStringToValue$3(MediaType, proto.mediaType);
4916
4917
  }
4917
4918
  return m;
4918
4919
  }
@@ -4980,7 +4981,7 @@ class UploadedMedia {
4980
4981
  }
4981
4982
  }
4982
4983
 
4983
- function enumStringToValue$1(enumRef, value) {
4984
+ function enumStringToValue$2(enumRef, value) {
4984
4985
  if (typeof value === 'number') {
4985
4986
  return value;
4986
4987
  }
@@ -4991,7 +4992,7 @@ class Action {
4991
4992
  let m = new Action();
4992
4993
  m = Object.assign(m, proto);
4993
4994
  if (proto.actionType) {
4994
- m.actionType = enumStringToValue$1(ActionType, proto.actionType);
4995
+ m.actionType = enumStringToValue$2(ActionType, proto.actionType);
4995
4996
  }
4996
4997
  return m;
4997
4998
  }
@@ -5131,7 +5132,7 @@ class StartChatResponse {
5131
5132
  }
5132
5133
  }
5133
5134
 
5134
- function enumStringToValue(enumRef, value) {
5135
+ function enumStringToValue$1(enumRef, value) {
5135
5136
  if (typeof value === 'number') {
5136
5137
  return value;
5137
5138
  }
@@ -5142,7 +5143,7 @@ class ChatMessage {
5142
5143
  let m = new ChatMessage();
5143
5144
  m = Object.assign(m, proto);
5144
5145
  if (proto.role) {
5145
- m.role = enumStringToValue(Role, proto.role);
5146
+ m.role = enumStringToValue$1(Role, proto.role);
5146
5147
  }
5147
5148
  return m;
5148
5149
  }
@@ -5195,6 +5196,9 @@ class SendMessageV2Request {
5195
5196
  if (typeof this.messages !== 'undefined' && this.messages !== null) {
5196
5197
  toReturn['messages'] = 'toApiJson' in this.messages ? this.messages.toApiJson() : this.messages;
5197
5198
  }
5199
+ if (typeof this.brandId !== 'undefined') {
5200
+ toReturn['brandId'] = this.brandId;
5201
+ }
5198
5202
  return toReturn;
5199
5203
  }
5200
5204
  }
@@ -5219,6 +5223,71 @@ class SendMessageV2Response {
5219
5223
  }
5220
5224
  }
5221
5225
 
5226
+ function enumStringToValue(enumRef, value) {
5227
+ if (typeof value === 'number') {
5228
+ return value;
5229
+ }
5230
+ return enumRef[value];
5231
+ }
5232
+ class CreateBlogConnectionRequest {
5233
+ static fromProto(proto) {
5234
+ let m = new CreateBlogConnectionRequest();
5235
+ m = Object.assign(m, proto);
5236
+ return m;
5237
+ }
5238
+ constructor(kwargs) {
5239
+ if (!kwargs) {
5240
+ return;
5241
+ }
5242
+ Object.assign(this, kwargs);
5243
+ }
5244
+ toApiJson() {
5245
+ const toReturn = {};
5246
+ if (typeof this.name !== 'undefined') {
5247
+ toReturn['name'] = this.name;
5248
+ }
5249
+ if (typeof this.businessId !== 'undefined') {
5250
+ toReturn['businessId'] = this.businessId;
5251
+ }
5252
+ if (typeof this.partnerId !== 'undefined') {
5253
+ toReturn['partnerId'] = this.partnerId;
5254
+ }
5255
+ if (typeof this.apiKey !== 'undefined') {
5256
+ toReturn['apiKey'] = this.apiKey;
5257
+ }
5258
+ if (typeof this.logo !== 'undefined') {
5259
+ toReturn['logo'] = this.logo;
5260
+ }
5261
+ if (typeof this.pluginStatus !== 'undefined') {
5262
+ toReturn['pluginStatus'] = this.pluginStatus;
5263
+ }
5264
+ if (typeof this.version !== 'undefined') {
5265
+ toReturn['version'] = this.version;
5266
+ }
5267
+ return toReturn;
5268
+ }
5269
+ }
5270
+ class CreateBlogConnectionResponse {
5271
+ static fromProto(proto) {
5272
+ let m = new CreateBlogConnectionResponse();
5273
+ m = Object.assign(m, proto);
5274
+ return m;
5275
+ }
5276
+ constructor(kwargs) {
5277
+ if (!kwargs) {
5278
+ return;
5279
+ }
5280
+ Object.assign(this, kwargs);
5281
+ }
5282
+ toApiJson() {
5283
+ const toReturn = {};
5284
+ if (typeof this.socialServiceId !== 'undefined') {
5285
+ toReturn['socialServiceId'] = this.socialServiceId;
5286
+ }
5287
+ return toReturn;
5288
+ }
5289
+ }
5290
+
5222
5291
  // *********************************
5223
5292
  // Code generated by sdkgen
5224
5293
  // DO NOT EDIT!.
@@ -5256,9 +5325,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
5256
5325
  // API Service.
5257
5326
  // *********************************
5258
5327
  class SocialPostsApiService {
5259
- constructor() {
5260
- this.hostService = inject(HostService);
5261
- this.http = inject(HttpClient);
5328
+ constructor(http, hostService) {
5329
+ this.http = http;
5330
+ this.hostService = hostService;
5262
5331
  this._host = this.hostService.hostWithScheme;
5263
5332
  }
5264
5333
  apiOptions() {
@@ -5309,12 +5378,12 @@ class SocialPostsApiService {
5309
5378
  .pipe(map(resp => SuggestMessageResponse.fromProto(resp)));
5310
5379
  }
5311
5380
  }
5312
- SocialPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5381
+ 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 });
5313
5382
  SocialPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsApiService, providedIn: 'root' });
5314
5383
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsApiService, decorators: [{
5315
5384
  type: Injectable,
5316
5385
  args: [{ providedIn: 'root' }]
5317
- }] });
5386
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
5318
5387
 
5319
5388
  class SocialPostsService {
5320
5389
  constructor(socialPostsApiService) {
@@ -5364,9 +5433,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
5364
5433
  // API Service.
5365
5434
  // *********************************
5366
5435
  class PostTemplatesApiService {
5367
- constructor() {
5368
- this.hostService = inject(HostService);
5369
- this.http = inject(HttpClient);
5436
+ constructor(http, hostService) {
5437
+ this.http = http;
5438
+ this.hostService = hostService;
5370
5439
  this._host = this.hostService.hostWithScheme;
5371
5440
  }
5372
5441
  apiOptions() {
@@ -5401,12 +5470,45 @@ class PostTemplatesApiService {
5401
5470
  return this.http.post(this._host + "/socialposts.v1.PostTemplates/DeletePostTemplate", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
5402
5471
  }
5403
5472
  }
5404
- PostTemplatesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostTemplatesApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5473
+ 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 });
5405
5474
  PostTemplatesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostTemplatesApiService, providedIn: 'root' });
5406
5475
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostTemplatesApiService, decorators: [{
5407
5476
  type: Injectable,
5408
5477
  args: [{ providedIn: 'root' }]
5409
- }] });
5478
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
5479
+
5480
+ // *********************************
5481
+ // Code generated by sdkgen
5482
+ // DO NOT EDIT!.
5483
+ //
5484
+ // API Service.
5485
+ // *********************************
5486
+ class BlogConnectionApiService {
5487
+ constructor(http, hostService) {
5488
+ this.http = http;
5489
+ this.hostService = hostService;
5490
+ this._host = this.hostService.hostWithScheme;
5491
+ }
5492
+ apiOptions() {
5493
+ return {
5494
+ headers: new HttpHeaders({
5495
+ 'Content-Type': 'application/json'
5496
+ }),
5497
+ withCredentials: true
5498
+ };
5499
+ }
5500
+ create(r) {
5501
+ const request = (r.toApiJson) ? r : new CreateBlogConnectionRequest(r);
5502
+ return this.http.post(this._host + "/socialposts.v2.BlogConnection/Create", request.toApiJson(), this.apiOptions())
5503
+ .pipe(map(resp => CreateBlogConnectionResponse.fromProto(resp)));
5504
+ }
5505
+ }
5506
+ 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 });
5507
+ BlogConnectionApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogConnectionApiService, providedIn: 'root' });
5508
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogConnectionApiService, decorators: [{
5509
+ type: Injectable,
5510
+ args: [{ providedIn: 'root' }]
5511
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
5410
5512
 
5411
5513
  // *********************************
5412
5514
  // Code generated by sdkgen
@@ -5415,9 +5517,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
5415
5517
  // API Service.
5416
5518
  // *********************************
5417
5519
  class ChatBotApiService {
5418
- constructor() {
5419
- this.hostService = inject(HostService);
5420
- this.http = inject(HttpClient);
5520
+ constructor(http, hostService) {
5521
+ this.http = http;
5522
+ this.hostService = hostService;
5421
5523
  this._host = this.hostService.hostWithScheme;
5422
5524
  }
5423
5525
  apiOptions() {
@@ -5443,12 +5545,12 @@ class ChatBotApiService {
5443
5545
  return this.http.post(this._host + "/socialposts.v2.ChatBot/EndChat", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
5444
5546
  }
5445
5547
  }
5446
- ChatBotApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5548
+ 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 });
5447
5549
  ChatBotApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotApiService, providedIn: 'root' });
5448
5550
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotApiService, decorators: [{
5449
5551
  type: Injectable,
5450
5552
  args: [{ providedIn: 'root' }]
5451
- }] });
5553
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
5452
5554
 
5453
5555
  // *********************************
5454
5556
  // Code generated by sdkgen
@@ -5457,9 +5559,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
5457
5559
  // API Service.
5458
5560
  // *********************************
5459
5561
  class ChatBotV2ApiService {
5460
- constructor() {
5461
- this.hostService = inject(HostService);
5462
- this.http = inject(HttpClient);
5562
+ constructor(http, hostService) {
5563
+ this.http = http;
5564
+ this.hostService = hostService;
5463
5565
  this._host = this.hostService.hostWithScheme;
5464
5566
  }
5465
5567
  apiOptions() {
@@ -5476,12 +5578,12 @@ class ChatBotV2ApiService {
5476
5578
  .pipe(map(resp => SendMessageV2Response.fromProto(resp)));
5477
5579
  }
5478
5580
  }
5479
- ChatBotV2ApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotV2ApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5581
+ 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 });
5480
5582
  ChatBotV2ApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotV2ApiService, providedIn: 'root' });
5481
5583
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotV2ApiService, decorators: [{
5482
5584
  type: Injectable,
5483
5585
  args: [{ providedIn: 'root' }]
5484
- }] });
5586
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
5485
5587
 
5486
5588
  // *********************************
5487
5589
  // Code generated by sdkgen
@@ -5490,9 +5592,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
5490
5592
  // API Service.
5491
5593
  // *********************************
5492
5594
  class CommonAiInstructionsApiService {
5493
- constructor() {
5494
- this.hostService = inject(HostService);
5495
- this.http = inject(HttpClient);
5595
+ constructor(http, hostService) {
5596
+ this.http = http;
5597
+ this.hostService = hostService;
5496
5598
  this._host = this.hostService.hostWithScheme;
5497
5599
  }
5498
5600
  apiOptions() {
@@ -5519,12 +5621,12 @@ class CommonAiInstructionsApiService {
5519
5621
  .pipe(map(resp => GetCommonAiInstructionsResponse.fromProto(resp)));
5520
5622
  }
5521
5623
  }
5522
- CommonAiInstructionsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommonAiInstructionsApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5624
+ 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 });
5523
5625
  CommonAiInstructionsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommonAiInstructionsApiService, providedIn: 'root' });
5524
5626
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommonAiInstructionsApiService, decorators: [{
5525
5627
  type: Injectable,
5526
5628
  args: [{ providedIn: 'root' }]
5527
- }] });
5629
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
5528
5630
 
5529
5631
  // *********************************
5530
5632
  // Code generated by sdkgen
@@ -5533,9 +5635,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
5533
5635
  // API Service.
5534
5636
  // *********************************
5535
5637
  class ContentGenerationApiService {
5536
- constructor() {
5537
- this.hostService = inject(HostService);
5538
- this.http = inject(HttpClient);
5638
+ constructor(http, hostService) {
5639
+ this.http = http;
5640
+ this.hostService = hostService;
5539
5641
  this._host = this.hostService.hostWithScheme;
5540
5642
  }
5541
5643
  apiOptions() {
@@ -5552,12 +5654,12 @@ class ContentGenerationApiService {
5552
5654
  .pipe(map(resp => GeneratePostsResponse.fromProto(resp)));
5553
5655
  }
5554
5656
  }
5555
- ContentGenerationApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContentGenerationApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5657
+ 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 });
5556
5658
  ContentGenerationApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContentGenerationApiService, providedIn: 'root' });
5557
5659
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContentGenerationApiService, decorators: [{
5558
5660
  type: Injectable,
5559
5661
  args: [{ providedIn: 'root' }]
5560
- }] });
5662
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
5561
5663
 
5562
5664
  // *********************************
5563
5665
  // Code generated by sdkgen
@@ -5566,9 +5668,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
5566
5668
  // API Service.
5567
5669
  // *********************************
5568
5670
  class CuratedContentApiService {
5569
- constructor() {
5570
- this.hostService = inject(HostService);
5571
- this.http = inject(HttpClient);
5671
+ constructor(http, hostService) {
5672
+ this.http = http;
5673
+ this.hostService = hostService;
5572
5674
  this._host = this.hostService.hostWithScheme;
5573
5675
  }
5574
5676
  apiOptions() {
@@ -5585,12 +5687,12 @@ class CuratedContentApiService {
5585
5687
  .pipe(map(resp => ListCuratedContentResponse.fromProto(resp)));
5586
5688
  }
5587
5689
  }
5588
- CuratedContentApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuratedContentApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5690
+ 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 });
5589
5691
  CuratedContentApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuratedContentApiService, providedIn: 'root' });
5590
5692
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuratedContentApiService, decorators: [{
5591
5693
  type: Injectable,
5592
5694
  args: [{ providedIn: 'root' }]
5593
- }] });
5695
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
5594
5696
 
5595
5697
  // *********************************
5596
5698
  // Code generated by sdkgen
@@ -5599,9 +5701,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
5599
5701
  // API Service.
5600
5702
  // *********************************
5601
5703
  class HashTagsApiService {
5602
- constructor() {
5603
- this.hostService = inject(HostService);
5604
- this.http = inject(HttpClient);
5704
+ constructor(http, hostService) {
5705
+ this.http = http;
5706
+ this.hostService = hostService;
5605
5707
  this._host = this.hostService.hostWithScheme;
5606
5708
  }
5607
5709
  apiOptions() {
@@ -5626,12 +5728,12 @@ class HashTagsApiService {
5626
5728
  .pipe(map(resp => SearchHashtagResponse.fromProto(resp)));
5627
5729
  }
5628
5730
  }
5629
- HashTagsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HashTagsApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5731
+ 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 });
5630
5732
  HashTagsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HashTagsApiService, providedIn: 'root' });
5631
5733
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HashTagsApiService, decorators: [{
5632
5734
  type: Injectable,
5633
5735
  args: [{ providedIn: 'root' }]
5634
- }] });
5736
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
5635
5737
 
5636
5738
  // *********************************
5637
5739
  // Code generated by sdkgen
@@ -5640,9 +5742,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
5640
5742
  // API Service.
5641
5743
  // *********************************
5642
5744
  class LinkedinApiService {
5643
- constructor() {
5644
- this.hostService = inject(HostService);
5645
- this.http = inject(HttpClient);
5745
+ constructor(http, hostService) {
5746
+ this.http = http;
5747
+ this.hostService = hostService;
5646
5748
  this._host = this.hostService.hostWithScheme;
5647
5749
  }
5648
5750
  apiOptions() {
@@ -5663,12 +5765,12 @@ class LinkedinApiService {
5663
5765
  .pipe(map(resp => MediaUploadResponse.fromProto(resp)));
5664
5766
  }
5665
5767
  }
5666
- LinkedinApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinkedinApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5768
+ 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 });
5667
5769
  LinkedinApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinkedinApiService, providedIn: 'root' });
5668
5770
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinkedinApiService, decorators: [{
5669
5771
  type: Injectable,
5670
5772
  args: [{ providedIn: 'root' }]
5671
- }] });
5773
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
5672
5774
 
5673
5775
  // *********************************
5674
5776
  // Code generated by sdkgen
@@ -5677,9 +5779,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
5677
5779
  // API Service.
5678
5780
  // *********************************
5679
5781
  class MultilocationPostApiService {
5680
- constructor() {
5681
- this.hostService = inject(HostService);
5682
- this.http = inject(HttpClient);
5782
+ constructor(http, hostService) {
5783
+ this.http = http;
5784
+ this.hostService = hostService;
5683
5785
  this._host = this.hostService.hostWithScheme;
5684
5786
  }
5685
5787
  apiOptions() {
@@ -5719,12 +5821,12 @@ class MultilocationPostApiService {
5719
5821
  .pipe(map(resp => GetMultilocationPostResponse.fromProto(resp)));
5720
5822
  }
5721
5823
  }
5722
- MultilocationPostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultilocationPostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5824
+ 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 });
5723
5825
  MultilocationPostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultilocationPostApiService, providedIn: 'root' });
5724
5826
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultilocationPostApiService, decorators: [{
5725
5827
  type: Injectable,
5726
5828
  args: [{ providedIn: 'root' }]
5727
- }] });
5829
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
5728
5830
 
5729
5831
  // *********************************
5730
5832
  // Code generated by sdkgen
@@ -5733,9 +5835,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
5733
5835
  // API Service.
5734
5836
  // *********************************
5735
5837
  class PartnerSocialPostsApiService {
5736
- constructor() {
5737
- this.hostService = inject(HostService);
5738
- this.http = inject(HttpClient);
5838
+ constructor(http, hostService) {
5839
+ this.http = http;
5840
+ this.hostService = hostService;
5739
5841
  this._host = this.hostService.hostWithScheme;
5740
5842
  }
5741
5843
  apiOptions() {
@@ -5757,12 +5859,12 @@ class PartnerSocialPostsApiService {
5757
5859
  .pipe(map(resp => PartnerListScheduledPostsResponse.fromProto(resp)));
5758
5860
  }
5759
5861
  }
5760
- PartnerSocialPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PartnerSocialPostsApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5862
+ 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 });
5761
5863
  PartnerSocialPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PartnerSocialPostsApiService, providedIn: 'root' });
5762
5864
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PartnerSocialPostsApiService, decorators: [{
5763
5865
  type: Injectable,
5764
5866
  args: [{ providedIn: 'root' }]
5765
- }] });
5867
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
5766
5868
 
5767
5869
  // *********************************
5768
5870
  // Code generated by sdkgen
@@ -5771,9 +5873,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
5771
5873
  // API Service.
5772
5874
  // *********************************
5773
5875
  class PixabayImagesApiService {
5774
- constructor() {
5775
- this.hostService = inject(HostService);
5776
- this.http = inject(HttpClient);
5876
+ constructor(http, hostService) {
5877
+ this.http = http;
5878
+ this.hostService = hostService;
5777
5879
  this._host = this.hostService.hostWithScheme;
5778
5880
  }
5779
5881
  apiOptions() {
@@ -5790,12 +5892,12 @@ class PixabayImagesApiService {
5790
5892
  .pipe(map(resp => ListPixabayImagesResponse.fromProto(resp)));
5791
5893
  }
5792
5894
  }
5793
- PixabayImagesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PixabayImagesApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5895
+ 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 });
5794
5896
  PixabayImagesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PixabayImagesApiService, providedIn: 'root' });
5795
5897
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PixabayImagesApiService, decorators: [{
5796
5898
  type: Injectable,
5797
5899
  args: [{ providedIn: 'root' }]
5798
- }] });
5900
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
5799
5901
 
5800
5902
  // *********************************
5801
5903
  // Code generated by sdkgen
@@ -5804,9 +5906,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
5804
5906
  // API Service.
5805
5907
  // *********************************
5806
5908
  class PostPerformanceApiService {
5807
- constructor() {
5808
- this.hostService = inject(HostService);
5809
- this.http = inject(HttpClient);
5909
+ constructor(http, hostService) {
5910
+ this.http = http;
5911
+ this.hostService = hostService;
5810
5912
  this._host = this.hostService.hostWithScheme;
5811
5913
  }
5812
5914
  apiOptions() {
@@ -5828,12 +5930,12 @@ class PostPerformanceApiService {
5828
5930
  .pipe(map(resp => GetGeneratedCSVForPerformanceStatsResponse.fromProto(resp)));
5829
5931
  }
5830
5932
  }
5831
- PostPerformanceApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostPerformanceApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5933
+ 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 });
5832
5934
  PostPerformanceApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostPerformanceApiService, providedIn: 'root' });
5833
5935
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostPerformanceApiService, decorators: [{
5834
5936
  type: Injectable,
5835
5937
  args: [{ providedIn: 'root' }]
5836
- }] });
5938
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
5837
5939
 
5838
5940
  // *********************************
5839
5941
  // Code generated by sdkgen
@@ -5842,9 +5944,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
5842
5944
  // API Service.
5843
5945
  // *********************************
5844
5946
  class SocialPostsV2ApiService {
5845
- constructor() {
5846
- this.hostService = inject(HostService);
5847
- this.http = inject(HttpClient);
5947
+ constructor(http, hostService) {
5948
+ this.http = http;
5949
+ this.hostService = hostService;
5848
5950
  this._host = this.hostService.hostWithScheme;
5849
5951
  }
5850
5952
  apiOptions() {
@@ -5885,12 +5987,12 @@ class SocialPostsV2ApiService {
5885
5987
  return this.http.post(this._host + "/socialposts.v2.SocialPostsV2/RepostSocialPost", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
5886
5988
  }
5887
5989
  }
5888
- SocialPostsV2ApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2ApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5990
+ 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 });
5889
5991
  SocialPostsV2ApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2ApiService, providedIn: 'root' });
5890
5992
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2ApiService, decorators: [{
5891
5993
  type: Injectable,
5892
5994
  args: [{ providedIn: 'root' }]
5893
- }] });
5995
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
5894
5996
 
5895
5997
  // *********************************
5896
5998
  // Code generated by sdkgen
@@ -5899,9 +6001,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
5899
6001
  // API Service.
5900
6002
  // *********************************
5901
6003
  class TenorGifsApiService {
5902
- constructor() {
5903
- this.hostService = inject(HostService);
5904
- this.http = inject(HttpClient);
6004
+ constructor(http, hostService) {
6005
+ this.http = http;
6006
+ this.hostService = hostService;
5905
6007
  this._host = this.hostService.hostWithScheme;
5906
6008
  }
5907
6009
  apiOptions() {
@@ -5923,12 +6025,12 @@ class TenorGifsApiService {
5923
6025
  .pipe(map(resp => ListTenorGifsResponse.fromProto(resp)));
5924
6026
  }
5925
6027
  }
5926
- TenorGifsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TenorGifsApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6028
+ 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 });
5927
6029
  TenorGifsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TenorGifsApiService, providedIn: 'root' });
5928
6030
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TenorGifsApiService, decorators: [{
5929
6031
  type: Injectable,
5930
6032
  args: [{ providedIn: 'root' }]
5931
- }] });
6033
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
5932
6034
 
5933
6035
  // *********************************
5934
6036
  // Code generated by sdkgen
@@ -5937,9 +6039,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
5937
6039
  // API Service.
5938
6040
  // *********************************
5939
6041
  class UnsplashApiService {
5940
- constructor() {
5941
- this.hostService = inject(HostService);
5942
- this.http = inject(HttpClient);
6042
+ constructor(http, hostService) {
6043
+ this.http = http;
6044
+ this.hostService = hostService;
5943
6045
  this._host = this.hostService.hostWithScheme;
5944
6046
  }
5945
6047
  apiOptions() {
@@ -5961,12 +6063,12 @@ class UnsplashApiService {
5961
6063
  .pipe(map(resp => UploadToStorageResponse.fromProto(resp)));
5962
6064
  }
5963
6065
  }
5964
- UnsplashApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UnsplashApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6066
+ 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 });
5965
6067
  UnsplashApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UnsplashApiService, providedIn: 'root' });
5966
6068
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UnsplashApiService, decorators: [{
5967
6069
  type: Injectable,
5968
6070
  args: [{ providedIn: 'root' }]
5969
- }] });
6071
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
5970
6072
 
5971
6073
  // *********************************
5972
6074
  // Code generated by sdkgen
@@ -6380,13 +6482,14 @@ class ChatBotV2Service {
6380
6482
  constructor(chatBotV2ApiService) {
6381
6483
  this.chatBotV2ApiService = chatBotV2ApiService;
6382
6484
  }
6383
- sendMessageV2(businessId, partnerId, marketId, customInstructions, messages) {
6485
+ sendMessageV2(businessId, partnerId, marketId, customInstructions, messages, brandId) {
6384
6486
  const messageRequest = new SendMessageV2Request({
6385
6487
  businessId,
6386
6488
  partnerId,
6387
6489
  marketId,
6388
6490
  customInstructions,
6389
- messages
6491
+ messages,
6492
+ brandId
6390
6493
  });
6391
6494
  return this.chatBotV2ApiService.sendMessageV2(messageRequest);
6392
6495
  }
@@ -6398,9 +6501,24 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
6398
6501
  args: [{ providedIn: 'root' }]
6399
6502
  }], ctorParameters: function () { return [{ type: ChatBotV2ApiService }]; } });
6400
6503
 
6504
+ class BlogConnectionService {
6505
+ constructor(blogConnectionApiService) {
6506
+ this.blogConnectionApiService = blogConnectionApiService;
6507
+ }
6508
+ create(createBlogConnectionRequest) {
6509
+ return this.blogConnectionApiService.create(createBlogConnectionRequest);
6510
+ }
6511
+ }
6512
+ BlogConnectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogConnectionService, deps: [{ token: BlogConnectionApiService }], target: i0.ɵɵFactoryTarget.Injectable });
6513
+ BlogConnectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogConnectionService, providedIn: 'root' });
6514
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogConnectionService, decorators: [{
6515
+ type: Injectable,
6516
+ args: [{ providedIn: 'root' }]
6517
+ }], ctorParameters: function () { return [{ type: BlogConnectionApiService }]; } });
6518
+
6401
6519
  /**
6402
6520
  * Generated bundle index. Do not edit.
6403
6521
  */
6404
6522
 
6405
- export { Access, Action, ActionType, AiInstructionService, AiInstructions, Ancestry, CallToAction, CallToActionCallToActionType, ChatBotService, ChatBotV2Service, ChatMessage, Collection, ContentGenerationService, CreateCommonAiInstructionsRequest, CreateCommonAiInstructionsResponse, CreateImageRequest, CreateImageResponse, CreateMultilocationPostRequest, CreateMultilocationPostResponse, CreatePostTemplateRequest, CreatePostTemplateResponse, CuratedContentPost, DateRangeFilter, DeleteHashtagsRequest, DeleteMultilocationPostRequest, DeletePostRequest, DeletePostTemplateRequest, DeleteSocialPostRequest, EditMultilocationPostRequest, EditMultilocationPostResponse, EndChatRequest, Error, Event, FacebookPostStats, FieldMask, GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GeneratePostsRequest, GeneratePostsResponse, GeneratePostsResponsePost, GetCommonAiInstructionsRequest, GetCommonAiInstructionsResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, GetPostTemplateRequest, GetPostTemplateResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, HashTagsService, Hashtag, Image, ImageBlob, ImageCreated, ImageUrl, LinkV2, Links, ListCuratedContentRequest, ListCuratedContentResponse, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListTenorGifsRequest, ListTenorGifsResponse, ListUnsplashImagesRequest, ListUnsplashImagesResponse, Location, Media, MediaEntry, MediaType, MediaUploadRequest, MediaUploadResponse, MessageLength, MetaData, MetadataV2, 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, RemoveFromMultilocationPostRequest, RemoveReason, ReplaceHashtagsRequest, RepostSocialPostRequest, 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, SubAncestry, SuggestMessageRequest, SuggestMessageResponse, Tags, TemplateType, TenorGif, TenorGifMediaMapEntry, TenorGifsService, TenorMediaObject, TikTokCustomization, TikTokCustomizationV2, TwitterPostStats, UnsplashImageService, UpdateCommonAiInstructionsRequest, UpdateCommonAiInstructionsResponse, UpdatePostTemplateRequest, UpdateSocialPostRequest, UpdateSocialPostResponse, UploadToStorageRequest, UploadToStorageResponse, UploadedMedia, Urls, User, UserLink, YoutubeCustomization, YoutubeCustomizationPrivacyStatus, YoutubeCustomizationV2, YoutubeCustomizationV2PrivacyStatusV2 };
6523
+ export { Access, Action, ActionType, AiInstructionService, AiInstructions, Ancestry, BlogConnectionService, CallToAction, CallToActionCallToActionType, ChatBotService, ChatBotV2Service, ChatMessage, Collection, ContentGenerationService, CreateBlogConnectionRequest, CreateBlogConnectionResponse, CreateCommonAiInstructionsRequest, CreateCommonAiInstructionsResponse, CreateImageRequest, CreateImageResponse, CreateMultilocationPostRequest, CreateMultilocationPostResponse, CreatePostTemplateRequest, CreatePostTemplateResponse, CuratedContentPost, DateRangeFilter, DeleteHashtagsRequest, DeleteMultilocationPostRequest, DeletePostRequest, DeletePostTemplateRequest, DeleteSocialPostRequest, EditMultilocationPostRequest, EditMultilocationPostResponse, EndChatRequest, Error, Event, FacebookPostStats, FieldMask, GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GeneratePostsRequest, GeneratePostsResponse, GeneratePostsResponsePost, GetCommonAiInstructionsRequest, GetCommonAiInstructionsResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, GetPostTemplateRequest, GetPostTemplateResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, HashTagsService, Hashtag, Image, ImageBlob, ImageCreated, ImageUrl, LinkV2, Links, ListCuratedContentRequest, ListCuratedContentResponse, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListTenorGifsRequest, ListTenorGifsResponse, ListUnsplashImagesRequest, ListUnsplashImagesResponse, Location, Media, MediaEntry, MediaType, MediaUploadRequest, MediaUploadResponse, MessageLength, MetaData, MetadataV2, 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, RemoveFromMultilocationPostRequest, RemoveReason, ReplaceHashtagsRequest, RepostSocialPostRequest, 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, SubAncestry, SuggestMessageRequest, SuggestMessageResponse, Tags, TemplateType, TenorGif, TenorGifMediaMapEntry, TenorGifsService, TenorMediaObject, TikTokCustomization, TikTokCustomizationV2, TwitterPostStats, UnsplashImageService, UpdateCommonAiInstructionsRequest, UpdateCommonAiInstructionsResponse, UpdatePostTemplateRequest, UpdateSocialPostRequest, UpdateSocialPostResponse, UploadToStorageRequest, UploadToStorageResponse, UploadedMedia, Urls, User, UserLink, YoutubeCustomization, YoutubeCustomizationPrivacyStatus, YoutubeCustomizationV2, YoutubeCustomizationV2PrivacyStatusV2 };
6406
6524
  //# sourceMappingURL=vendasta-social-posts.mjs.map