@vendasta/social-posts 5.16.2 → 5.17.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 (40) hide show
  1. package/esm2020/lib/_generated/host.service.mjs +4 -4
  2. package/esm2020/lib/_internal/common-ai-instructions.api.service.mjs +51 -0
  3. package/esm2020/lib/_internal/hash-tags.api.service.mjs +4 -4
  4. package/esm2020/lib/_internal/index.mjs +2 -1
  5. package/esm2020/lib/_internal/interfaces/api-v2.interface.mjs +1 -1
  6. package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
  7. package/esm2020/lib/_internal/linkedin.api.service.mjs +4 -4
  8. package/esm2020/lib/_internal/multilocation-post.api.service.mjs +4 -4
  9. package/esm2020/lib/_internal/objects/api-v2.mjs +171 -1
  10. package/esm2020/lib/_internal/objects/index.mjs +2 -2
  11. package/esm2020/lib/_internal/partner-social-posts.api.service.mjs +4 -4
  12. package/esm2020/lib/_internal/pixabay-images.api.service.mjs +4 -4
  13. package/esm2020/lib/_internal/post-performance.api.service.mjs +4 -4
  14. package/esm2020/lib/_internal/post-templates.api.service.mjs +4 -4
  15. package/esm2020/lib/_internal/social-posts-v2.api.service.mjs +4 -4
  16. package/esm2020/lib/_internal/social-posts.api.service.mjs +4 -4
  17. package/esm2020/lib/_internal/tenor-gifs.api.service.mjs +4 -4
  18. package/esm2020/lib/ai-instructions.service.mjs +46 -0
  19. package/esm2020/lib/hashtag.service.mjs +4 -4
  20. package/esm2020/lib/index.mjs +2 -1
  21. package/esm2020/lib/multilocation-posts.service.mjs +4 -4
  22. package/esm2020/lib/pixabay-image.service.mjs +4 -4
  23. package/esm2020/lib/post-performance.service.mjs +4 -4
  24. package/esm2020/lib/post-templates.service.mjs +4 -4
  25. package/esm2020/lib/social-post-v2.service.mjs +4 -4
  26. package/esm2020/lib/social-posts.service.mjs +4 -4
  27. package/esm2020/lib/tenor-gifs.service.mjs +4 -4
  28. package/fesm2015/vendasta-social-posts.mjs +377 -58
  29. package/fesm2015/vendasta-social-posts.mjs.map +1 -1
  30. package/fesm2020/vendasta-social-posts.mjs +377 -58
  31. package/fesm2020/vendasta-social-posts.mjs.map +1 -1
  32. package/lib/_internal/common-ai-instructions.api.service.d.ts +18 -0
  33. package/lib/_internal/index.d.ts +1 -0
  34. package/lib/_internal/interfaces/api-v2.interface.d.ts +26 -0
  35. package/lib/_internal/interfaces/index.d.ts +1 -1
  36. package/lib/_internal/objects/api-v2.d.ts +47 -0
  37. package/lib/_internal/objects/index.d.ts +1 -1
  38. package/lib/ai-instructions.service.d.ts +13 -0
  39. package/lib/index.d.ts +1 -0
  40. package/package.json +1 -1
@@ -198,6 +198,11 @@ var MediaType;
198
198
  MediaType[MediaType["MEDIA_TYPE_CAROUSEL"] = 4] = "MEDIA_TYPE_CAROUSEL";
199
199
  })(MediaType || (MediaType = {}));
200
200
 
201
+ // *********************************
202
+ // Code generated by sdkgen
203
+ // DO NOT EDIT!.
204
+ //
205
+ // Enums Index.
201
206
  // *********************************
202
207
 
203
208
  function enumStringToValue$8(enumRef, value) {
@@ -3365,6 +3370,78 @@ function enumStringToValue(enumRef, value) {
3365
3370
  }
3366
3371
  return enumRef[value];
3367
3372
  }
3373
+ class AiInstructions {
3374
+ static fromProto(proto) {
3375
+ let m = new AiInstructions();
3376
+ m = Object.assign(m, proto);
3377
+ return m;
3378
+ }
3379
+ constructor(kwargs) {
3380
+ if (!kwargs) {
3381
+ return;
3382
+ }
3383
+ Object.assign(this, kwargs);
3384
+ }
3385
+ toApiJson() {
3386
+ const toReturn = {};
3387
+ if (typeof this.commonAiInstructions !== 'undefined') {
3388
+ toReturn['commonAiInstructions'] = this.commonAiInstructions;
3389
+ }
3390
+ return toReturn;
3391
+ }
3392
+ }
3393
+ class CreateCommonAiInstructionsRequest {
3394
+ static fromProto(proto) {
3395
+ let m = new CreateCommonAiInstructionsRequest();
3396
+ m = Object.assign(m, proto);
3397
+ if (proto.aiInstructions) {
3398
+ m.aiInstructions = AiInstructions.fromProto(proto.aiInstructions);
3399
+ }
3400
+ return m;
3401
+ }
3402
+ constructor(kwargs) {
3403
+ if (!kwargs) {
3404
+ return;
3405
+ }
3406
+ Object.assign(this, kwargs);
3407
+ }
3408
+ toApiJson() {
3409
+ const toReturn = {};
3410
+ if (typeof this.businessId !== 'undefined') {
3411
+ toReturn['businessId'] = this.businessId;
3412
+ }
3413
+ if (typeof this.partnerId !== 'undefined') {
3414
+ toReturn['partnerId'] = this.partnerId;
3415
+ }
3416
+ if (typeof this.aiInstructions !== 'undefined' && this.aiInstructions !== null) {
3417
+ toReturn['aiInstructions'] = 'toApiJson' in this.aiInstructions ? this.aiInstructions.toApiJson() : this.aiInstructions;
3418
+ }
3419
+ return toReturn;
3420
+ }
3421
+ }
3422
+ class CreateCommonAiInstructionsResponse {
3423
+ static fromProto(proto) {
3424
+ let m = new CreateCommonAiInstructionsResponse();
3425
+ m = Object.assign(m, proto);
3426
+ if (proto.aiInstructions) {
3427
+ m.aiInstructions = AiInstructions.fromProto(proto.aiInstructions);
3428
+ }
3429
+ return m;
3430
+ }
3431
+ constructor(kwargs) {
3432
+ if (!kwargs) {
3433
+ return;
3434
+ }
3435
+ Object.assign(this, kwargs);
3436
+ }
3437
+ toApiJson() {
3438
+ const toReturn = {};
3439
+ if (typeof this.aiInstructions !== 'undefined' && this.aiInstructions !== null) {
3440
+ toReturn['aiInstructions'] = 'toApiJson' in this.aiInstructions ? this.aiInstructions.toApiJson() : this.aiInstructions;
3441
+ }
3442
+ return toReturn;
3443
+ }
3444
+ }
3368
3445
  class CreateImageRequest {
3369
3446
  static fromProto(proto) {
3370
3447
  let m = new CreateImageRequest();
@@ -3464,6 +3541,52 @@ class DeletePostRequest {
3464
3541
  return toReturn;
3465
3542
  }
3466
3543
  }
3544
+ class GetCommonAiInstructionsRequest {
3545
+ static fromProto(proto) {
3546
+ let m = new GetCommonAiInstructionsRequest();
3547
+ m = Object.assign(m, proto);
3548
+ return m;
3549
+ }
3550
+ constructor(kwargs) {
3551
+ if (!kwargs) {
3552
+ return;
3553
+ }
3554
+ Object.assign(this, kwargs);
3555
+ }
3556
+ toApiJson() {
3557
+ const toReturn = {};
3558
+ if (typeof this.businessId !== 'undefined') {
3559
+ toReturn['businessId'] = this.businessId;
3560
+ }
3561
+ if (typeof this.partnerId !== 'undefined') {
3562
+ toReturn['partnerId'] = this.partnerId;
3563
+ }
3564
+ return toReturn;
3565
+ }
3566
+ }
3567
+ class GetCommonAiInstructionsResponse {
3568
+ static fromProto(proto) {
3569
+ let m = new GetCommonAiInstructionsResponse();
3570
+ m = Object.assign(m, proto);
3571
+ if (proto.aiInstructions) {
3572
+ m.aiInstructions = AiInstructions.fromProto(proto.aiInstructions);
3573
+ }
3574
+ return m;
3575
+ }
3576
+ constructor(kwargs) {
3577
+ if (!kwargs) {
3578
+ return;
3579
+ }
3580
+ Object.assign(this, kwargs);
3581
+ }
3582
+ toApiJson() {
3583
+ const toReturn = {};
3584
+ if (typeof this.aiInstructions !== 'undefined' && this.aiInstructions !== null) {
3585
+ toReturn['aiInstructions'] = 'toApiJson' in this.aiInstructions ? this.aiInstructions.toApiJson() : this.aiInstructions;
3586
+ }
3587
+ return toReturn;
3588
+ }
3589
+ }
3467
3590
  class ImageBlob {
3468
3591
  static fromProto(proto) {
3469
3592
  let m = new ImageBlob();
@@ -3689,6 +3812,58 @@ class SocialPostResponse {
3689
3812
  return toReturn;
3690
3813
  }
3691
3814
  }
3815
+ class UpdateCommonAiInstructionsRequest {
3816
+ static fromProto(proto) {
3817
+ let m = new UpdateCommonAiInstructionsRequest();
3818
+ m = Object.assign(m, proto);
3819
+ if (proto.aiInstructions) {
3820
+ m.aiInstructions = AiInstructions.fromProto(proto.aiInstructions);
3821
+ }
3822
+ return m;
3823
+ }
3824
+ constructor(kwargs) {
3825
+ if (!kwargs) {
3826
+ return;
3827
+ }
3828
+ Object.assign(this, kwargs);
3829
+ }
3830
+ toApiJson() {
3831
+ const toReturn = {};
3832
+ if (typeof this.businessId !== 'undefined') {
3833
+ toReturn['businessId'] = this.businessId;
3834
+ }
3835
+ if (typeof this.partnerId !== 'undefined') {
3836
+ toReturn['partnerId'] = this.partnerId;
3837
+ }
3838
+ if (typeof this.aiInstructions !== 'undefined' && this.aiInstructions !== null) {
3839
+ toReturn['aiInstructions'] = 'toApiJson' in this.aiInstructions ? this.aiInstructions.toApiJson() : this.aiInstructions;
3840
+ }
3841
+ return toReturn;
3842
+ }
3843
+ }
3844
+ class UpdateCommonAiInstructionsResponse {
3845
+ static fromProto(proto) {
3846
+ let m = new UpdateCommonAiInstructionsResponse();
3847
+ m = Object.assign(m, proto);
3848
+ if (proto.aiInstructions) {
3849
+ m.aiInstructions = AiInstructions.fromProto(proto.aiInstructions);
3850
+ }
3851
+ return m;
3852
+ }
3853
+ constructor(kwargs) {
3854
+ if (!kwargs) {
3855
+ return;
3856
+ }
3857
+ Object.assign(this, kwargs);
3858
+ }
3859
+ toApiJson() {
3860
+ const toReturn = {};
3861
+ if (typeof this.aiInstructions !== 'undefined' && this.aiInstructions !== null) {
3862
+ toReturn['aiInstructions'] = 'toApiJson' in this.aiInstructions ? this.aiInstructions.toApiJson() : this.aiInstructions;
3863
+ }
3864
+ return toReturn;
3865
+ }
3866
+ }
3692
3867
  class UpdateSocialPostRequest {
3693
3868
  static fromProto(proto) {
3694
3869
  let m = new UpdateSocialPostRequest();
@@ -3775,6 +3950,11 @@ class UpdateSocialPostResponse {
3775
3950
  }
3776
3951
  }
3777
3952
 
3953
+ // *********************************
3954
+ // Code generated by sdkgen
3955
+ // DO NOT EDIT!.
3956
+ //
3957
+ // Objects Index.
3778
3958
  // *********************************
3779
3959
 
3780
3960
  const environment = (window ? window['environment'] : 'prod') ?? 'prod';
@@ -3793,13 +3973,18 @@ class HostService {
3793
3973
  return 'https://' + this.host;
3794
3974
  }
3795
3975
  }
3796
- HostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HostService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3797
- HostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HostService, providedIn: 'root' });
3798
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HostService, decorators: [{
3976
+ HostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HostService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
3977
+ HostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HostService, providedIn: 'root' });
3978
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HostService, decorators: [{
3799
3979
  type: Injectable,
3800
3980
  args: [{ providedIn: 'root' }]
3801
3981
  }] });
3802
3982
 
3983
+ // *********************************
3984
+ // Code generated by sdkgen
3985
+ // DO NOT EDIT!.
3986
+ //
3987
+ // API Service.
3803
3988
  // *********************************
3804
3989
  class SocialPostsApiService {
3805
3990
  constructor(http, hostService) {
@@ -3855,9 +4040,9 @@ class SocialPostsApiService {
3855
4040
  .pipe(map(resp => SuggestMessageResponse.fromProto(resp)));
3856
4041
  }
3857
4042
  }
3858
- SocialPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialPostsApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
3859
- SocialPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialPostsApiService, providedIn: 'root' });
3860
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialPostsApiService, decorators: [{
4043
+ 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 });
4044
+ SocialPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsApiService, providedIn: 'root' });
4045
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsApiService, decorators: [{
3861
4046
  type: Injectable,
3862
4047
  args: [{ providedIn: 'root' }]
3863
4048
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
@@ -3896,13 +4081,18 @@ class SocialPostsService {
3896
4081
  return this.socialPostsApiService.suggestMessage(req);
3897
4082
  }
3898
4083
  }
3899
- SocialPostsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialPostsService, deps: [{ token: SocialPostsApiService }], target: i0.ɵɵFactoryTarget.Injectable });
3900
- SocialPostsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialPostsService, providedIn: 'root' });
3901
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialPostsService, decorators: [{
4084
+ SocialPostsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsService, deps: [{ token: SocialPostsApiService }], target: i0.ɵɵFactoryTarget.Injectable });
4085
+ SocialPostsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsService, providedIn: 'root' });
4086
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsService, decorators: [{
3902
4087
  type: Injectable,
3903
4088
  args: [{ providedIn: 'root' }]
3904
4089
  }], ctorParameters: function () { return [{ type: SocialPostsApiService }]; } });
3905
4090
 
4091
+ // *********************************
4092
+ // Code generated by sdkgen
4093
+ // DO NOT EDIT!.
4094
+ //
4095
+ // API Service.
3906
4096
  // *********************************
3907
4097
  class PostTemplatesApiService {
3908
4098
  constructor(http, hostService) {
@@ -3942,13 +4132,61 @@ class PostTemplatesApiService {
3942
4132
  return this.http.post(this._host + "/socialposts.v1.PostTemplates/DeletePostTemplate", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
3943
4133
  }
3944
4134
  }
3945
- PostTemplatesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PostTemplatesApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
3946
- PostTemplatesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PostTemplatesApiService, providedIn: 'root' });
3947
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PostTemplatesApiService, decorators: [{
4135
+ 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 });
4136
+ PostTemplatesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostTemplatesApiService, providedIn: 'root' });
4137
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostTemplatesApiService, decorators: [{
3948
4138
  type: Injectable,
3949
4139
  args: [{ providedIn: 'root' }]
3950
4140
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
3951
4141
 
4142
+ // *********************************
4143
+ // Code generated by sdkgen
4144
+ // DO NOT EDIT!.
4145
+ //
4146
+ // API Service.
4147
+ // *********************************
4148
+ class CommonAiInstructionsApiService {
4149
+ constructor(http, hostService) {
4150
+ this.http = http;
4151
+ this.hostService = hostService;
4152
+ this._host = this.hostService.hostWithScheme;
4153
+ }
4154
+ apiOptions() {
4155
+ return {
4156
+ headers: new HttpHeaders({
4157
+ 'Content-Type': 'application/json'
4158
+ }),
4159
+ withCredentials: true
4160
+ };
4161
+ }
4162
+ createCommonAiInstructions(r) {
4163
+ const request = (r.toApiJson) ? r : new CreateCommonAiInstructionsRequest(r);
4164
+ return this.http.post(this._host + "/socialposts.v2.CommonAiInstructions/CreateCommonAiInstructions", request.toApiJson(), this.apiOptions())
4165
+ .pipe(map(resp => CreateCommonAiInstructionsResponse.fromProto(resp)));
4166
+ }
4167
+ updateCommonAiInstructions(r) {
4168
+ const request = (r.toApiJson) ? r : new UpdateCommonAiInstructionsRequest(r);
4169
+ return this.http.post(this._host + "/socialposts.v2.CommonAiInstructions/UpdateCommonAiInstructions", request.toApiJson(), this.apiOptions())
4170
+ .pipe(map(resp => UpdateCommonAiInstructionsResponse.fromProto(resp)));
4171
+ }
4172
+ getCommonAiInstructions(r) {
4173
+ const request = (r.toApiJson) ? r : new GetCommonAiInstructionsRequest(r);
4174
+ return this.http.post(this._host + "/socialposts.v2.CommonAiInstructions/GetCommonAiInstructions", request.toApiJson(), this.apiOptions())
4175
+ .pipe(map(resp => GetCommonAiInstructionsResponse.fromProto(resp)));
4176
+ }
4177
+ }
4178
+ 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 });
4179
+ CommonAiInstructionsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommonAiInstructionsApiService, providedIn: 'root' });
4180
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommonAiInstructionsApiService, decorators: [{
4181
+ type: Injectable,
4182
+ args: [{ providedIn: 'root' }]
4183
+ }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
4184
+
4185
+ // *********************************
4186
+ // Code generated by sdkgen
4187
+ // DO NOT EDIT!.
4188
+ //
4189
+ // API Service.
3952
4190
  // *********************************
3953
4191
  class HashTagsApiService {
3954
4192
  constructor(http, hostService) {
@@ -3978,13 +4216,18 @@ class HashTagsApiService {
3978
4216
  .pipe(map(resp => SearchHashtagResponse.fromProto(resp)));
3979
4217
  }
3980
4218
  }
3981
- HashTagsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HashTagsApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
3982
- HashTagsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HashTagsApiService, providedIn: 'root' });
3983
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HashTagsApiService, decorators: [{
4219
+ 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 });
4220
+ HashTagsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HashTagsApiService, providedIn: 'root' });
4221
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HashTagsApiService, decorators: [{
3984
4222
  type: Injectable,
3985
4223
  args: [{ providedIn: 'root' }]
3986
4224
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
3987
4225
 
4226
+ // *********************************
4227
+ // Code generated by sdkgen
4228
+ // DO NOT EDIT!.
4229
+ //
4230
+ // API Service.
3988
4231
  // *********************************
3989
4232
  class LinkedinApiService {
3990
4233
  constructor(http, hostService) {
@@ -4010,13 +4253,18 @@ class LinkedinApiService {
4010
4253
  .pipe(map(resp => MediaUploadResponse.fromProto(resp)));
4011
4254
  }
4012
4255
  }
4013
- LinkedinApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: LinkedinApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
4014
- LinkedinApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: LinkedinApiService, providedIn: 'root' });
4015
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: LinkedinApiService, decorators: [{
4256
+ 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 });
4257
+ LinkedinApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinkedinApiService, providedIn: 'root' });
4258
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinkedinApiService, decorators: [{
4016
4259
  type: Injectable,
4017
4260
  args: [{ providedIn: 'root' }]
4018
4261
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
4019
4262
 
4263
+ // *********************************
4264
+ // Code generated by sdkgen
4265
+ // DO NOT EDIT!.
4266
+ //
4267
+ // API Service.
4020
4268
  // *********************************
4021
4269
  class MultilocationPostApiService {
4022
4270
  constructor(http, hostService) {
@@ -4061,13 +4309,18 @@ class MultilocationPostApiService {
4061
4309
  .pipe(map(resp => GetMultilocationPostResponse.fromProto(resp)));
4062
4310
  }
4063
4311
  }
4064
- MultilocationPostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MultilocationPostApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
4065
- MultilocationPostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MultilocationPostApiService, providedIn: 'root' });
4066
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MultilocationPostApiService, decorators: [{
4312
+ 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 });
4313
+ MultilocationPostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultilocationPostApiService, providedIn: 'root' });
4314
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultilocationPostApiService, decorators: [{
4067
4315
  type: Injectable,
4068
4316
  args: [{ providedIn: 'root' }]
4069
4317
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
4070
4318
 
4319
+ // *********************************
4320
+ // Code generated by sdkgen
4321
+ // DO NOT EDIT!.
4322
+ //
4323
+ // API Service.
4071
4324
  // *********************************
4072
4325
  class PartnerSocialPostsApiService {
4073
4326
  constructor(http, hostService) {
@@ -4094,13 +4347,18 @@ class PartnerSocialPostsApiService {
4094
4347
  .pipe(map(resp => PartnerListScheduledPostsResponse.fromProto(resp)));
4095
4348
  }
4096
4349
  }
4097
- PartnerSocialPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PartnerSocialPostsApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
4098
- PartnerSocialPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PartnerSocialPostsApiService, providedIn: 'root' });
4099
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PartnerSocialPostsApiService, decorators: [{
4350
+ 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 });
4351
+ PartnerSocialPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PartnerSocialPostsApiService, providedIn: 'root' });
4352
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PartnerSocialPostsApiService, decorators: [{
4100
4353
  type: Injectable,
4101
4354
  args: [{ providedIn: 'root' }]
4102
4355
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
4103
4356
 
4357
+ // *********************************
4358
+ // Code generated by sdkgen
4359
+ // DO NOT EDIT!.
4360
+ //
4361
+ // API Service.
4104
4362
  // *********************************
4105
4363
  class PixabayImagesApiService {
4106
4364
  constructor(http, hostService) {
@@ -4122,13 +4380,18 @@ class PixabayImagesApiService {
4122
4380
  .pipe(map(resp => ListPixabayImagesResponse.fromProto(resp)));
4123
4381
  }
4124
4382
  }
4125
- PixabayImagesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PixabayImagesApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
4126
- PixabayImagesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PixabayImagesApiService, providedIn: 'root' });
4127
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PixabayImagesApiService, decorators: [{
4383
+ 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 });
4384
+ PixabayImagesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PixabayImagesApiService, providedIn: 'root' });
4385
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PixabayImagesApiService, decorators: [{
4128
4386
  type: Injectable,
4129
4387
  args: [{ providedIn: 'root' }]
4130
4388
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
4131
4389
 
4390
+ // *********************************
4391
+ // Code generated by sdkgen
4392
+ // DO NOT EDIT!.
4393
+ //
4394
+ // API Service.
4132
4395
  // *********************************
4133
4396
  class PostPerformanceApiService {
4134
4397
  constructor(http, hostService) {
@@ -4155,13 +4418,18 @@ class PostPerformanceApiService {
4155
4418
  .pipe(map(resp => GetGeneratedCSVForPerformanceStatsResponse.fromProto(resp)));
4156
4419
  }
4157
4420
  }
4158
- PostPerformanceApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PostPerformanceApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
4159
- PostPerformanceApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PostPerformanceApiService, providedIn: 'root' });
4160
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PostPerformanceApiService, decorators: [{
4421
+ 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 });
4422
+ PostPerformanceApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostPerformanceApiService, providedIn: 'root' });
4423
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostPerformanceApiService, decorators: [{
4161
4424
  type: Injectable,
4162
4425
  args: [{ providedIn: 'root' }]
4163
4426
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
4164
4427
 
4428
+ // *********************************
4429
+ // Code generated by sdkgen
4430
+ // DO NOT EDIT!.
4431
+ //
4432
+ // API Service.
4165
4433
  // *********************************
4166
4434
  class SocialPostsV2ApiService {
4167
4435
  constructor(http, hostService) {
@@ -4207,13 +4475,18 @@ class SocialPostsV2ApiService {
4207
4475
  return this.http.post(this._host + "/socialposts.v2.SocialPostsV2/RepostSocialPost", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
4208
4476
  }
4209
4477
  }
4210
- SocialPostsV2ApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialPostsV2ApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
4211
- SocialPostsV2ApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialPostsV2ApiService, providedIn: 'root' });
4212
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialPostsV2ApiService, decorators: [{
4478
+ 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 });
4479
+ SocialPostsV2ApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2ApiService, providedIn: 'root' });
4480
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2ApiService, decorators: [{
4213
4481
  type: Injectable,
4214
4482
  args: [{ providedIn: 'root' }]
4215
4483
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
4216
4484
 
4485
+ // *********************************
4486
+ // Code generated by sdkgen
4487
+ // DO NOT EDIT!.
4488
+ //
4489
+ // API Service.
4217
4490
  // *********************************
4218
4491
  class TenorGifsApiService {
4219
4492
  constructor(http, hostService) {
@@ -4240,14 +4513,19 @@ class TenorGifsApiService {
4240
4513
  .pipe(map(resp => ListTenorGifsResponse.fromProto(resp)));
4241
4514
  }
4242
4515
  }
4243
- TenorGifsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TenorGifsApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
4244
- TenorGifsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TenorGifsApiService, providedIn: 'root' });
4245
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TenorGifsApiService, decorators: [{
4516
+ 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 });
4517
+ TenorGifsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TenorGifsApiService, providedIn: 'root' });
4518
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TenorGifsApiService, decorators: [{
4246
4519
  type: Injectable,
4247
4520
  args: [{ providedIn: 'root' }]
4248
4521
  }], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
4249
4522
 
4250
4523
  // *********************************
4524
+ // Code generated by sdkgen
4525
+ // DO NOT EDIT!.
4526
+ //
4527
+ // Index.
4528
+ // *********************************
4251
4529
 
4252
4530
  class PostTemplatesService {
4253
4531
  constructor(socialPostsApiService) {
@@ -4317,9 +4595,9 @@ class PostTemplatesService {
4317
4595
  return this.socialPostsApiService.deletePostTemplate(req);
4318
4596
  }
4319
4597
  }
4320
- PostTemplatesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PostTemplatesService, deps: [{ token: PostTemplatesApiService }], target: i0.ɵɵFactoryTarget.Injectable });
4321
- PostTemplatesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PostTemplatesService, providedIn: 'root' });
4322
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PostTemplatesService, decorators: [{
4598
+ PostTemplatesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostTemplatesService, deps: [{ token: PostTemplatesApiService }], target: i0.ɵɵFactoryTarget.Injectable });
4599
+ PostTemplatesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostTemplatesService, providedIn: 'root' });
4600
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostTemplatesService, decorators: [{
4323
4601
  type: Injectable,
4324
4602
  args: [{ providedIn: 'root' }]
4325
4603
  }], ctorParameters: function () { return [{ type: PostTemplatesApiService }]; } });
@@ -4398,9 +4676,9 @@ class MultilocationPostsService {
4398
4676
  return this.multilocationApiService.getMultilocationPost(req);
4399
4677
  }
4400
4678
  }
4401
- MultilocationPostsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MultilocationPostsService, deps: [{ token: MultilocationPostApiService }], target: i0.ɵɵFactoryTarget.Injectable });
4402
- MultilocationPostsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MultilocationPostsService, providedIn: 'root' });
4403
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: MultilocationPostsService, decorators: [{
4679
+ MultilocationPostsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultilocationPostsService, deps: [{ token: MultilocationPostApiService }], target: i0.ɵɵFactoryTarget.Injectable });
4680
+ MultilocationPostsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultilocationPostsService, providedIn: 'root' });
4681
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultilocationPostsService, decorators: [{
4404
4682
  type: Injectable,
4405
4683
  args: [{ providedIn: 'root' }]
4406
4684
  }], ctorParameters: function () { return [{ type: MultilocationPostApiService }]; } });
@@ -4427,9 +4705,9 @@ class TenorGifsService {
4427
4705
  return this.tenorGifsApiService.getTenorAnonymousId(request);
4428
4706
  }
4429
4707
  }
4430
- TenorGifsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TenorGifsService, deps: [{ token: TenorGifsApiService }], target: i0.ɵɵFactoryTarget.Injectable });
4431
- TenorGifsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TenorGifsService, providedIn: 'root' });
4432
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: TenorGifsService, decorators: [{
4708
+ TenorGifsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TenorGifsService, deps: [{ token: TenorGifsApiService }], target: i0.ɵɵFactoryTarget.Injectable });
4709
+ TenorGifsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TenorGifsService, providedIn: 'root' });
4710
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TenorGifsService, decorators: [{
4433
4711
  type: Injectable,
4434
4712
  args: [{ providedIn: 'root' }]
4435
4713
  }], ctorParameters: function () { return [{ type: TenorGifsApiService }]; } });
@@ -4445,9 +4723,9 @@ class PixabayImageService {
4445
4723
  return this.pixabayApiService.listPixabayImages(request);
4446
4724
  }
4447
4725
  }
4448
- PixabayImageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PixabayImageService, deps: [{ token: PixabayImagesApiService }], target: i0.ɵɵFactoryTarget.Injectable });
4449
- PixabayImageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PixabayImageService, providedIn: 'root' });
4450
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PixabayImageService, decorators: [{
4726
+ PixabayImageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PixabayImageService, deps: [{ token: PixabayImagesApiService }], target: i0.ɵɵFactoryTarget.Injectable });
4727
+ PixabayImageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PixabayImageService, providedIn: 'root' });
4728
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PixabayImageService, decorators: [{
4451
4729
  type: Injectable,
4452
4730
  args: [{ providedIn: 'root' }]
4453
4731
  }], ctorParameters: function () { return [{ type: PixabayImagesApiService }]; } });
@@ -4482,9 +4760,9 @@ class HashTagsService {
4482
4760
  return this.hashTagsApiService.searchHashtag(request);
4483
4761
  }
4484
4762
  }
4485
- HashTagsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HashTagsService, deps: [{ token: HashTagsApiService }], target: i0.ɵɵFactoryTarget.Injectable });
4486
- HashTagsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HashTagsService, providedIn: 'root' });
4487
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: HashTagsService, decorators: [{
4763
+ HashTagsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HashTagsService, deps: [{ token: HashTagsApiService }], target: i0.ɵɵFactoryTarget.Injectable });
4764
+ HashTagsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HashTagsService, providedIn: 'root' });
4765
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HashTagsService, decorators: [{
4488
4766
  type: Injectable,
4489
4767
  args: [{ providedIn: 'root' }]
4490
4768
  }], ctorParameters: function () { return [{ type: HashTagsApiService }]; } });
@@ -4502,13 +4780,54 @@ class PostPerformanceService {
4502
4780
  return this.postPerformanceApiService.generateCsvForPerformanceStats(request).pipe(map((res) => res.generatedId));
4503
4781
  }
4504
4782
  }
4505
- PostPerformanceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PostPerformanceService, deps: [{ token: PostPerformanceApiService }], target: i0.ɵɵFactoryTarget.Injectable });
4506
- PostPerformanceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PostPerformanceService, providedIn: 'root' });
4507
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: PostPerformanceService, decorators: [{
4783
+ PostPerformanceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostPerformanceService, deps: [{ token: PostPerformanceApiService }], target: i0.ɵɵFactoryTarget.Injectable });
4784
+ PostPerformanceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostPerformanceService, providedIn: 'root' });
4785
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostPerformanceService, decorators: [{
4508
4786
  type: Injectable,
4509
4787
  args: [{ providedIn: 'root' }]
4510
4788
  }], ctorParameters: function () { return [{ type: PostPerformanceApiService }]; } });
4511
4789
 
4790
+ class AiInstructionService {
4791
+ constructor(instructionsService) {
4792
+ this.instructionsService = instructionsService;
4793
+ }
4794
+ getAiInstructions(businessId, partnerId) {
4795
+ const request = new GetCommonAiInstructionsRequest({
4796
+ businessId: businessId,
4797
+ partnerId: partnerId
4798
+ });
4799
+ return this.instructionsService.getCommonAiInstructions(request);
4800
+ }
4801
+ createAiInstructions(businessId, partnerId, instructions) {
4802
+ const aiInstructions = new AiInstructions({
4803
+ commonAiInstructions: instructions
4804
+ });
4805
+ const request = new CreateCommonAiInstructionsRequest({
4806
+ businessId: businessId,
4807
+ partnerId: partnerId,
4808
+ aiInstructions: aiInstructions
4809
+ });
4810
+ return this.instructionsService.createCommonAiInstructions(request);
4811
+ }
4812
+ updateAiInstructions(businessId, partnerId, instructions) {
4813
+ const aiInstructions = new AiInstructions({
4814
+ commonAiInstructions: instructions
4815
+ });
4816
+ const request = new UpdateCommonAiInstructionsRequest({
4817
+ businessId: businessId,
4818
+ partnerId: partnerId,
4819
+ aiInstructions: aiInstructions,
4820
+ });
4821
+ return this.instructionsService.updateCommonAiInstructions(request);
4822
+ }
4823
+ }
4824
+ AiInstructionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AiInstructionService, deps: [{ token: CommonAiInstructionsApiService }], target: i0.ɵɵFactoryTarget.Injectable });
4825
+ AiInstructionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AiInstructionService, providedIn: 'root' });
4826
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AiInstructionService, decorators: [{
4827
+ type: Injectable,
4828
+ args: [{ providedIn: 'root' }]
4829
+ }], ctorParameters: function () { return [{ type: CommonAiInstructionsApiService }]; } });
4830
+
4512
4831
  class SocialPostsV2Service {
4513
4832
  constructor(socialpostV2ApiService) {
4514
4833
  this.socialpostV2ApiService = socialpostV2ApiService;
@@ -4532,9 +4851,9 @@ class SocialPostsV2Service {
4532
4851
  return this.socialpostV2ApiService.repostSocialPost(repostRequest);
4533
4852
  }
4534
4853
  }
4535
- SocialPostsV2Service.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialPostsV2Service, deps: [{ token: SocialPostsV2ApiService }], target: i0.ɵɵFactoryTarget.Injectable });
4536
- SocialPostsV2Service.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialPostsV2Service, providedIn: 'root' });
4537
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImport: i0, type: SocialPostsV2Service, decorators: [{
4854
+ SocialPostsV2Service.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2Service, deps: [{ token: SocialPostsV2ApiService }], target: i0.ɵɵFactoryTarget.Injectable });
4855
+ SocialPostsV2Service.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2Service, providedIn: 'root' });
4856
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2Service, decorators: [{
4538
4857
  type: Injectable,
4539
4858
  args: [{ providedIn: 'root' }]
4540
4859
  }], ctorParameters: function () { return [{ type: SocialPostsV2ApiService }]; } });
@@ -4543,5 +4862,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
4543
4862
  * Generated bundle index. Do not edit.
4544
4863
  */
4545
4864
 
4546
- export { CallToAction, CallToActionCallToActionType, CreateImageRequest, CreateImageResponse, CreateMultilocationPostRequest, CreateMultilocationPostResponse, CreatePostTemplateRequest, CreatePostTemplateResponse, DateRangeFilter, DeleteHashtagsRequest, DeleteMultilocationPostRequest, DeletePostRequest, DeletePostTemplateRequest, DeleteSocialPostRequest, EditMultilocationPostRequest, EditMultilocationPostResponse, Error, Event, FacebookPostStats, FieldMask, GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, GetPostTemplateRequest, GetPostTemplateResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, HashTagsService, Hashtag, ImageBlob, ImageCreated, ImageUrl, LinkV2, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListTenorGifsRequest, ListTenorGifsResponse, Location, Media, MediaEntry, MediaType, MediaUploadRequest, MediaUploadResponse, MessageLength, MetaData, MetadataV2, MultilocationPost, MultilocationPostApiService, MultilocationPostError, MultilocationPostsService, PartnerListScheduledPostsResponse, PartnerListScheduledSocialPostsRequest, PartnerListScheduledSocialPostsRequestFilters, PixabayImage, PixabayImageService, PostAction, PostActionV2, PostContentV2, PostCustomization, PostCustomizationV2, PostData, PostEvent, PostEventV2, PostMediaV2, PostPerformanceApiService, PostPerformanceService, PostStatusV2, PostTemplate, PostTemplatesService, PostType, PostTypeV2, PostingStatus, RemoveFromMultilocationPostRequest, RemoveReason, ReplaceHashtagsRequest, RepostSocialPostRequest, SSIDPostType, SchedulePostRequest, SchedulePostResponse, SchedulePostStatus, ScheduleToAllPagesRequest, ScheduleToAllPagesResponse, SearchHashtagRequest, SearchHashtagResponse, SocialPost, SocialPostData, SocialPostDeletionStatus, SocialPostOutput, SocialPostRequest, SocialPostResponse, SocialPostService, SocialPostStats, SocialPostV2, SocialPostsService, SocialPostsV2Service, SuggestMessageRequest, SuggestMessageResponse, TemplateType, TenorGif, TenorGifMediaMapEntry, TenorGifsService, TenorMediaObject, TwitterPostStats, UpdatePostTemplateRequest, UpdateSocialPostRequest, UpdateSocialPostResponse, YoutubeCustomization, YoutubeCustomizationPrivacyStatus, YoutubeCustomizationV2, YoutubeCustomizationV2PrivacyStatusV2 };
4865
+ export { AiInstructionService, AiInstructions, CallToAction, CallToActionCallToActionType, CreateCommonAiInstructionsRequest, CreateCommonAiInstructionsResponse, CreateImageRequest, CreateImageResponse, CreateMultilocationPostRequest, CreateMultilocationPostResponse, CreatePostTemplateRequest, CreatePostTemplateResponse, DateRangeFilter, DeleteHashtagsRequest, DeleteMultilocationPostRequest, DeletePostRequest, DeletePostTemplateRequest, DeleteSocialPostRequest, EditMultilocationPostRequest, EditMultilocationPostResponse, Error, Event, FacebookPostStats, FieldMask, GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GetCommonAiInstructionsRequest, GetCommonAiInstructionsResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, GetPostTemplateRequest, GetPostTemplateResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, HashTagsService, Hashtag, ImageBlob, ImageCreated, ImageUrl, LinkV2, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListTenorGifsRequest, ListTenorGifsResponse, Location, Media, MediaEntry, MediaType, MediaUploadRequest, MediaUploadResponse, MessageLength, MetaData, MetadataV2, MultilocationPost, MultilocationPostApiService, MultilocationPostError, MultilocationPostsService, PartnerListScheduledPostsResponse, PartnerListScheduledSocialPostsRequest, PartnerListScheduledSocialPostsRequestFilters, PixabayImage, PixabayImageService, PostAction, PostActionV2, PostContentV2, PostCustomization, PostCustomizationV2, PostData, PostEvent, PostEventV2, PostMediaV2, PostPerformanceApiService, PostPerformanceService, PostStatusV2, PostTemplate, PostTemplatesService, PostType, PostTypeV2, PostingStatus, RemoveFromMultilocationPostRequest, RemoveReason, ReplaceHashtagsRequest, RepostSocialPostRequest, SSIDPostType, SchedulePostRequest, SchedulePostResponse, SchedulePostStatus, ScheduleToAllPagesRequest, ScheduleToAllPagesResponse, SearchHashtagRequest, SearchHashtagResponse, SocialPost, SocialPostData, SocialPostDeletionStatus, SocialPostOutput, SocialPostRequest, SocialPostResponse, SocialPostService, SocialPostStats, SocialPostV2, SocialPostsService, SocialPostsV2Service, SuggestMessageRequest, SuggestMessageResponse, TemplateType, TenorGif, TenorGifMediaMapEntry, TenorGifsService, TenorMediaObject, TwitterPostStats, UpdateCommonAiInstructionsRequest, UpdateCommonAiInstructionsResponse, UpdatePostTemplateRequest, UpdateSocialPostRequest, UpdateSocialPostResponse, YoutubeCustomization, YoutubeCustomizationPrivacyStatus, YoutubeCustomizationV2, YoutubeCustomizationV2PrivacyStatusV2 };
4547
4866
  //# sourceMappingURL=vendasta-social-posts.mjs.map