@vendasta/social-posts 5.23.0 → 5.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/_internal/blog-connection.api.service.mjs +14 -8
- package/esm2020/lib/_internal/chat-bot-v2.api.service.mjs +8 -7
- package/esm2020/lib/_internal/chat-bot.api.service.mjs +8 -7
- package/esm2020/lib/_internal/common-ai-instructions.api.service.mjs +8 -7
- package/esm2020/lib/_internal/content-generation.api.service.mjs +14 -8
- package/esm2020/lib/_internal/curated-content.api.service.mjs +8 -7
- package/esm2020/lib/_internal/enums/api-v2.enum.mjs +13 -0
- package/esm2020/lib/_internal/enums/index.mjs +2 -1
- package/esm2020/lib/_internal/hash-tags.api.service.mjs +8 -7
- package/esm2020/lib/_internal/interfaces/api-v2.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/blog-connection.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/linkedin.api.service.mjs +8 -7
- package/esm2020/lib/_internal/multilocation-post.api.service.mjs +8 -7
- package/esm2020/lib/_internal/objects/api-v2.mjs +108 -1
- package/esm2020/lib/_internal/objects/blog-connection.mjs +53 -1
- package/esm2020/lib/_internal/objects/index.mjs +3 -3
- package/esm2020/lib/_internal/partner-social-posts.api.service.mjs +8 -7
- package/esm2020/lib/_internal/pixabay-images.api.service.mjs +8 -7
- package/esm2020/lib/_internal/post-performance.api.service.mjs +8 -7
- package/esm2020/lib/_internal/post-templates.api.service.mjs +8 -7
- package/esm2020/lib/_internal/social-posts-v2.api.service.mjs +8 -7
- package/esm2020/lib/_internal/social-posts.api.service.mjs +8 -7
- package/esm2020/lib/_internal/tenor-gifs.api.service.mjs +8 -7
- package/esm2020/lib/_internal/unsplash.api.service.mjs +8 -7
- package/esm2020/lib/blog-connection.service.mjs +7 -1
- package/esm2020/lib/content-generation.service.mjs +4 -1
- package/fesm2015/vendasta-social-posts.mjs +280 -88
- package/fesm2015/vendasta-social-posts.mjs.map +1 -1
- package/fesm2020/vendasta-social-posts.mjs +280 -88
- package/fesm2020/vendasta-social-posts.mjs.map +1 -1
- package/lib/_internal/blog-connection.api.service.d.ts +8 -5
- package/lib/_internal/chat-bot-v2.api.service.d.ts +5 -2
- package/lib/_internal/chat-bot.api.service.d.ts +5 -3
- package/lib/_internal/common-ai-instructions.api.service.d.ts +5 -2
- package/lib/_internal/content-generation.api.service.d.ts +8 -4
- package/lib/_internal/curated-content.api.service.d.ts +5 -2
- package/lib/_internal/enums/api-v2.enum.d.ts +5 -0
- package/lib/_internal/enums/index.d.ts +1 -0
- package/lib/_internal/hash-tags.api.service.d.ts +5 -3
- package/lib/_internal/interfaces/api-v2.interface.d.ts +18 -0
- package/lib/_internal/interfaces/blog-connection.interface.d.ts +9 -0
- package/lib/_internal/interfaces/index.d.ts +2 -2
- package/lib/_internal/linkedin.api.service.d.ts +5 -3
- package/lib/_internal/multilocation-post.api.service.d.ts +5 -3
- package/lib/_internal/objects/api-v2.d.ts +30 -0
- package/lib/_internal/objects/blog-connection.d.ts +15 -0
- package/lib/_internal/objects/index.d.ts +2 -2
- package/lib/_internal/partner-social-posts.api.service.d.ts +5 -2
- package/lib/_internal/pixabay-images.api.service.d.ts +5 -2
- package/lib/_internal/post-performance.api.service.d.ts +5 -2
- package/lib/_internal/post-templates.api.service.d.ts +5 -3
- package/lib/_internal/social-posts-v2.api.service.d.ts +5 -3
- package/lib/_internal/social-posts.api.service.d.ts +5 -3
- package/lib/_internal/tenor-gifs.api.service.d.ts +5 -2
- package/lib/_internal/unsplash.api.service.d.ts +5 -2
- package/lib/blog-connection.service.d.ts +4 -1
- package/lib/content-generation.service.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable
|
|
2
|
+
import { Injectable } from '@angular/core';
|
|
3
3
|
import { of } from 'rxjs';
|
|
4
|
-
import
|
|
4
|
+
import * as i1 from '@angular/common/http';
|
|
5
|
+
import { HttpHeaders } from '@angular/common/http';
|
|
5
6
|
import { map } from 'rxjs/operators';
|
|
6
7
|
|
|
7
8
|
function enumStringToValue$f(enumRef, value) {
|
|
@@ -198,6 +199,19 @@ var MediaType;
|
|
|
198
199
|
MediaType[MediaType["MEDIA_TYPE_CAROUSEL"] = 4] = "MEDIA_TYPE_CAROUSEL";
|
|
199
200
|
})(MediaType || (MediaType = {}));
|
|
200
201
|
|
|
202
|
+
// *********************************
|
|
203
|
+
// Code generated by sdkgen
|
|
204
|
+
// DO NOT EDIT!.
|
|
205
|
+
//
|
|
206
|
+
// Enums.
|
|
207
|
+
// *********************************
|
|
208
|
+
var GenerateType;
|
|
209
|
+
(function (GenerateType) {
|
|
210
|
+
GenerateType[GenerateType["TITLE"] = 0] = "TITLE";
|
|
211
|
+
GenerateType[GenerateType["OUTLINE"] = 1] = "OUTLINE";
|
|
212
|
+
GenerateType[GenerateType["BLOG"] = 2] = "BLOG";
|
|
213
|
+
})(GenerateType || (GenerateType = {}));
|
|
214
|
+
|
|
201
215
|
// *********************************
|
|
202
216
|
// Code generated by sdkgen
|
|
203
217
|
// DO NOT EDIT!.
|
|
@@ -4260,6 +4274,73 @@ class DeletePostRequest {
|
|
|
4260
4274
|
return toReturn;
|
|
4261
4275
|
}
|
|
4262
4276
|
}
|
|
4277
|
+
class GenerateAiRequest {
|
|
4278
|
+
static fromProto(proto) {
|
|
4279
|
+
let m = new GenerateAiRequest();
|
|
4280
|
+
m = Object.assign(m, proto);
|
|
4281
|
+
if (proto.generateType) {
|
|
4282
|
+
m.generateType = enumStringToValue$3(GenerateType, proto.generateType);
|
|
4283
|
+
}
|
|
4284
|
+
return m;
|
|
4285
|
+
}
|
|
4286
|
+
constructor(kwargs) {
|
|
4287
|
+
if (!kwargs) {
|
|
4288
|
+
return;
|
|
4289
|
+
}
|
|
4290
|
+
Object.assign(this, kwargs);
|
|
4291
|
+
}
|
|
4292
|
+
toApiJson() {
|
|
4293
|
+
const toReturn = {};
|
|
4294
|
+
if (typeof this.goal !== 'undefined') {
|
|
4295
|
+
toReturn['goal'] = this.goal;
|
|
4296
|
+
}
|
|
4297
|
+
if (typeof this.instruction !== 'undefined') {
|
|
4298
|
+
toReturn['instruction'] = this.instruction;
|
|
4299
|
+
}
|
|
4300
|
+
if (typeof this.keyword !== 'undefined') {
|
|
4301
|
+
toReturn['keyword'] = this.keyword;
|
|
4302
|
+
}
|
|
4303
|
+
if (typeof this.tone !== 'undefined') {
|
|
4304
|
+
toReturn['tone'] = this.tone;
|
|
4305
|
+
}
|
|
4306
|
+
if (typeof this.length !== 'undefined') {
|
|
4307
|
+
toReturn['length'] = this.length;
|
|
4308
|
+
}
|
|
4309
|
+
if (typeof this.generateType !== 'undefined') {
|
|
4310
|
+
toReturn['generateType'] = this.generateType;
|
|
4311
|
+
}
|
|
4312
|
+
return toReturn;
|
|
4313
|
+
}
|
|
4314
|
+
}
|
|
4315
|
+
class GenerateAiResponse {
|
|
4316
|
+
static fromProto(proto) {
|
|
4317
|
+
let m = new GenerateAiResponse();
|
|
4318
|
+
m = Object.assign(m, proto);
|
|
4319
|
+
if (proto.multiResult) {
|
|
4320
|
+
m.multiResult = MultiResponse.fromProto(proto.multiResult);
|
|
4321
|
+
}
|
|
4322
|
+
if (proto.result) {
|
|
4323
|
+
m.result = Response.fromProto(proto.result);
|
|
4324
|
+
}
|
|
4325
|
+
return m;
|
|
4326
|
+
}
|
|
4327
|
+
constructor(kwargs) {
|
|
4328
|
+
if (!kwargs) {
|
|
4329
|
+
return;
|
|
4330
|
+
}
|
|
4331
|
+
Object.assign(this, kwargs);
|
|
4332
|
+
}
|
|
4333
|
+
toApiJson() {
|
|
4334
|
+
const toReturn = {};
|
|
4335
|
+
if (typeof this.multiResult !== 'undefined' && this.multiResult !== null) {
|
|
4336
|
+
toReturn['multiResult'] = 'toApiJson' in this.multiResult ? this.multiResult.toApiJson() : this.multiResult;
|
|
4337
|
+
}
|
|
4338
|
+
if (typeof this.result !== 'undefined' && this.result !== null) {
|
|
4339
|
+
toReturn['result'] = 'toApiJson' in this.result ? this.result.toApiJson() : this.result;
|
|
4340
|
+
}
|
|
4341
|
+
return toReturn;
|
|
4342
|
+
}
|
|
4343
|
+
}
|
|
4263
4344
|
class GeneratePostsRequest {
|
|
4264
4345
|
static fromProto(proto) {
|
|
4265
4346
|
let m = new GeneratePostsRequest();
|
|
@@ -4640,6 +4721,26 @@ class MediaUploadResponse {
|
|
|
4640
4721
|
return toReturn;
|
|
4641
4722
|
}
|
|
4642
4723
|
}
|
|
4724
|
+
class MultiResponse {
|
|
4725
|
+
static fromProto(proto) {
|
|
4726
|
+
let m = new MultiResponse();
|
|
4727
|
+
m = Object.assign(m, proto);
|
|
4728
|
+
return m;
|
|
4729
|
+
}
|
|
4730
|
+
constructor(kwargs) {
|
|
4731
|
+
if (!kwargs) {
|
|
4732
|
+
return;
|
|
4733
|
+
}
|
|
4734
|
+
Object.assign(this, kwargs);
|
|
4735
|
+
}
|
|
4736
|
+
toApiJson() {
|
|
4737
|
+
const toReturn = {};
|
|
4738
|
+
if (typeof this.items !== 'undefined') {
|
|
4739
|
+
toReturn['items'] = this.items;
|
|
4740
|
+
}
|
|
4741
|
+
return toReturn;
|
|
4742
|
+
}
|
|
4743
|
+
}
|
|
4643
4744
|
class GeneratePostsResponsePost {
|
|
4644
4745
|
static fromProto(proto) {
|
|
4645
4746
|
let m = new GeneratePostsResponsePost();
|
|
@@ -4683,6 +4784,26 @@ class RepostSocialPostRequest {
|
|
|
4683
4784
|
return toReturn;
|
|
4684
4785
|
}
|
|
4685
4786
|
}
|
|
4787
|
+
class Response {
|
|
4788
|
+
static fromProto(proto) {
|
|
4789
|
+
let m = new Response();
|
|
4790
|
+
m = Object.assign(m, proto);
|
|
4791
|
+
return m;
|
|
4792
|
+
}
|
|
4793
|
+
constructor(kwargs) {
|
|
4794
|
+
if (!kwargs) {
|
|
4795
|
+
return;
|
|
4796
|
+
}
|
|
4797
|
+
Object.assign(this, kwargs);
|
|
4798
|
+
}
|
|
4799
|
+
toApiJson() {
|
|
4800
|
+
const toReturn = {};
|
|
4801
|
+
if (typeof this.content !== 'undefined') {
|
|
4802
|
+
toReturn['content'] = this.content;
|
|
4803
|
+
}
|
|
4804
|
+
return toReturn;
|
|
4805
|
+
}
|
|
4806
|
+
}
|
|
4686
4807
|
class SocialPostOutput {
|
|
4687
4808
|
static fromProto(proto) {
|
|
4688
4809
|
let m = new SocialPostOutput();
|
|
@@ -5278,6 +5399,9 @@ class BlogConnection {
|
|
|
5278
5399
|
if (typeof this.updated !== 'undefined' && this.updated !== null) {
|
|
5279
5400
|
toReturn['updated'] = 'toApiJson' in this.updated ? this.updated.toApiJson() : this.updated;
|
|
5280
5401
|
}
|
|
5402
|
+
if (typeof this.siteUrl !== 'undefined') {
|
|
5403
|
+
toReturn['siteUrl'] = this.siteUrl;
|
|
5404
|
+
}
|
|
5281
5405
|
return toReturn;
|
|
5282
5406
|
}
|
|
5283
5407
|
}
|
|
@@ -5316,6 +5440,9 @@ class CreateBlogConnectionRequest {
|
|
|
5316
5440
|
if (typeof this.version !== 'undefined') {
|
|
5317
5441
|
toReturn['version'] = this.version;
|
|
5318
5442
|
}
|
|
5443
|
+
if (typeof this.siteUrl !== 'undefined') {
|
|
5444
|
+
toReturn['siteUrl'] = this.siteUrl;
|
|
5445
|
+
}
|
|
5319
5446
|
return toReturn;
|
|
5320
5447
|
}
|
|
5321
5448
|
}
|
|
@@ -5339,6 +5466,49 @@ class CreateBlogConnectionResponse {
|
|
|
5339
5466
|
return toReturn;
|
|
5340
5467
|
}
|
|
5341
5468
|
}
|
|
5469
|
+
class GetBlogConnectionRequest {
|
|
5470
|
+
static fromProto(proto) {
|
|
5471
|
+
let m = new GetBlogConnectionRequest();
|
|
5472
|
+
m = Object.assign(m, proto);
|
|
5473
|
+
return m;
|
|
5474
|
+
}
|
|
5475
|
+
constructor(kwargs) {
|
|
5476
|
+
if (!kwargs) {
|
|
5477
|
+
return;
|
|
5478
|
+
}
|
|
5479
|
+
Object.assign(this, kwargs);
|
|
5480
|
+
}
|
|
5481
|
+
toApiJson() {
|
|
5482
|
+
const toReturn = {};
|
|
5483
|
+
if (typeof this.socialServiceId !== 'undefined') {
|
|
5484
|
+
toReturn['socialServiceId'] = this.socialServiceId;
|
|
5485
|
+
}
|
|
5486
|
+
return toReturn;
|
|
5487
|
+
}
|
|
5488
|
+
}
|
|
5489
|
+
class GetBlogConnectionResponse {
|
|
5490
|
+
static fromProto(proto) {
|
|
5491
|
+
let m = new GetBlogConnectionResponse();
|
|
5492
|
+
m = Object.assign(m, proto);
|
|
5493
|
+
if (proto.blogConnection) {
|
|
5494
|
+
m.blogConnection = BlogConnection.fromProto(proto.blogConnection);
|
|
5495
|
+
}
|
|
5496
|
+
return m;
|
|
5497
|
+
}
|
|
5498
|
+
constructor(kwargs) {
|
|
5499
|
+
if (!kwargs) {
|
|
5500
|
+
return;
|
|
5501
|
+
}
|
|
5502
|
+
Object.assign(this, kwargs);
|
|
5503
|
+
}
|
|
5504
|
+
toApiJson() {
|
|
5505
|
+
const toReturn = {};
|
|
5506
|
+
if (typeof this.blogConnection !== 'undefined' && this.blogConnection !== null) {
|
|
5507
|
+
toReturn['blogConnection'] = 'toApiJson' in this.blogConnection ? this.blogConnection.toApiJson() : this.blogConnection;
|
|
5508
|
+
}
|
|
5509
|
+
return toReturn;
|
|
5510
|
+
}
|
|
5511
|
+
}
|
|
5342
5512
|
class ListBlogConnectionRequest {
|
|
5343
5513
|
static fromProto(proto) {
|
|
5344
5514
|
let m = new ListBlogConnectionRequest();
|
|
@@ -5435,6 +5605,9 @@ class UpdateBlogConnectionRequest {
|
|
|
5435
5605
|
if (typeof this.version !== 'undefined') {
|
|
5436
5606
|
toReturn['version'] = this.version;
|
|
5437
5607
|
}
|
|
5608
|
+
if (typeof this.siteUrl !== 'undefined') {
|
|
5609
|
+
toReturn['siteUrl'] = this.siteUrl;
|
|
5610
|
+
}
|
|
5438
5611
|
return toReturn;
|
|
5439
5612
|
}
|
|
5440
5613
|
}
|
|
@@ -5476,9 +5649,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
5476
5649
|
// API Service.
|
|
5477
5650
|
// *********************************
|
|
5478
5651
|
class SocialPostsApiService {
|
|
5479
|
-
constructor() {
|
|
5480
|
-
this.
|
|
5481
|
-
this.
|
|
5652
|
+
constructor(http, hostService) {
|
|
5653
|
+
this.http = http;
|
|
5654
|
+
this.hostService = hostService;
|
|
5482
5655
|
this._host = this.hostService.hostWithScheme;
|
|
5483
5656
|
}
|
|
5484
5657
|
apiOptions() {
|
|
@@ -5529,12 +5702,12 @@ class SocialPostsApiService {
|
|
|
5529
5702
|
.pipe(map(resp => SuggestMessageResponse.fromProto(resp)));
|
|
5530
5703
|
}
|
|
5531
5704
|
}
|
|
5532
|
-
SocialPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5705
|
+
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 });
|
|
5533
5706
|
SocialPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsApiService, providedIn: 'root' });
|
|
5534
5707
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsApiService, decorators: [{
|
|
5535
5708
|
type: Injectable,
|
|
5536
5709
|
args: [{ providedIn: 'root' }]
|
|
5537
|
-
}] });
|
|
5710
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
5538
5711
|
|
|
5539
5712
|
class SocialPostsService {
|
|
5540
5713
|
constructor(socialPostsApiService) {
|
|
@@ -5584,9 +5757,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
5584
5757
|
// API Service.
|
|
5585
5758
|
// *********************************
|
|
5586
5759
|
class PostTemplatesApiService {
|
|
5587
|
-
constructor() {
|
|
5588
|
-
this.
|
|
5589
|
-
this.
|
|
5760
|
+
constructor(http, hostService) {
|
|
5761
|
+
this.http = http;
|
|
5762
|
+
this.hostService = hostService;
|
|
5590
5763
|
this._host = this.hostService.hostWithScheme;
|
|
5591
5764
|
}
|
|
5592
5765
|
apiOptions() {
|
|
@@ -5621,12 +5794,12 @@ class PostTemplatesApiService {
|
|
|
5621
5794
|
return this.http.post(this._host + "/socialposts.v1.PostTemplates/DeletePostTemplate", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
|
|
5622
5795
|
}
|
|
5623
5796
|
}
|
|
5624
|
-
PostTemplatesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostTemplatesApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5797
|
+
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 });
|
|
5625
5798
|
PostTemplatesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostTemplatesApiService, providedIn: 'root' });
|
|
5626
5799
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostTemplatesApiService, decorators: [{
|
|
5627
5800
|
type: Injectable,
|
|
5628
5801
|
args: [{ providedIn: 'root' }]
|
|
5629
|
-
}] });
|
|
5802
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
5630
5803
|
|
|
5631
5804
|
// *********************************
|
|
5632
5805
|
// Code generated by sdkgen
|
|
@@ -5635,9 +5808,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
5635
5808
|
// API Service.
|
|
5636
5809
|
// *********************************
|
|
5637
5810
|
class BlogConnectionApiService {
|
|
5638
|
-
constructor() {
|
|
5639
|
-
this.
|
|
5640
|
-
this.
|
|
5811
|
+
constructor(http, hostService) {
|
|
5812
|
+
this.http = http;
|
|
5813
|
+
this.hostService = hostService;
|
|
5641
5814
|
this._host = this.hostService.hostWithScheme;
|
|
5642
5815
|
}
|
|
5643
5816
|
apiOptions() {
|
|
@@ -5662,13 +5835,18 @@ class BlogConnectionApiService {
|
|
|
5662
5835
|
return this.http.post(this._host + "/socialposts.v2.BlogConnectionService/List", request.toApiJson(), this.apiOptions())
|
|
5663
5836
|
.pipe(map(resp => ListBlogConnectionResponse.fromProto(resp)));
|
|
5664
5837
|
}
|
|
5838
|
+
get(r) {
|
|
5839
|
+
const request = (r.toApiJson) ? r : new GetBlogConnectionRequest(r);
|
|
5840
|
+
return this.http.post(this._host + "/socialposts.v2.BlogConnectionService/Get", request.toApiJson(), this.apiOptions())
|
|
5841
|
+
.pipe(map(resp => GetBlogConnectionResponse.fromProto(resp)));
|
|
5842
|
+
}
|
|
5665
5843
|
}
|
|
5666
|
-
BlogConnectionApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogConnectionApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5844
|
+
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 });
|
|
5667
5845
|
BlogConnectionApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogConnectionApiService, providedIn: 'root' });
|
|
5668
5846
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogConnectionApiService, decorators: [{
|
|
5669
5847
|
type: Injectable,
|
|
5670
5848
|
args: [{ providedIn: 'root' }]
|
|
5671
|
-
}] });
|
|
5849
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
5672
5850
|
|
|
5673
5851
|
// *********************************
|
|
5674
5852
|
// Code generated by sdkgen
|
|
@@ -5677,9 +5855,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
5677
5855
|
// API Service.
|
|
5678
5856
|
// *********************************
|
|
5679
5857
|
class ChatBotApiService {
|
|
5680
|
-
constructor() {
|
|
5681
|
-
this.
|
|
5682
|
-
this.
|
|
5858
|
+
constructor(http, hostService) {
|
|
5859
|
+
this.http = http;
|
|
5860
|
+
this.hostService = hostService;
|
|
5683
5861
|
this._host = this.hostService.hostWithScheme;
|
|
5684
5862
|
}
|
|
5685
5863
|
apiOptions() {
|
|
@@ -5705,12 +5883,12 @@ class ChatBotApiService {
|
|
|
5705
5883
|
return this.http.post(this._host + "/socialposts.v2.ChatBot/EndChat", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
|
|
5706
5884
|
}
|
|
5707
5885
|
}
|
|
5708
|
-
ChatBotApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5886
|
+
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 });
|
|
5709
5887
|
ChatBotApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotApiService, providedIn: 'root' });
|
|
5710
5888
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotApiService, decorators: [{
|
|
5711
5889
|
type: Injectable,
|
|
5712
5890
|
args: [{ providedIn: 'root' }]
|
|
5713
|
-
}] });
|
|
5891
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
5714
5892
|
|
|
5715
5893
|
// *********************************
|
|
5716
5894
|
// Code generated by sdkgen
|
|
@@ -5719,9 +5897,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
5719
5897
|
// API Service.
|
|
5720
5898
|
// *********************************
|
|
5721
5899
|
class ChatBotV2ApiService {
|
|
5722
|
-
constructor() {
|
|
5723
|
-
this.
|
|
5724
|
-
this.
|
|
5900
|
+
constructor(http, hostService) {
|
|
5901
|
+
this.http = http;
|
|
5902
|
+
this.hostService = hostService;
|
|
5725
5903
|
this._host = this.hostService.hostWithScheme;
|
|
5726
5904
|
}
|
|
5727
5905
|
apiOptions() {
|
|
@@ -5738,12 +5916,12 @@ class ChatBotV2ApiService {
|
|
|
5738
5916
|
.pipe(map(resp => SendMessageV2Response.fromProto(resp)));
|
|
5739
5917
|
}
|
|
5740
5918
|
}
|
|
5741
|
-
ChatBotV2ApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotV2ApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5919
|
+
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 });
|
|
5742
5920
|
ChatBotV2ApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotV2ApiService, providedIn: 'root' });
|
|
5743
5921
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotV2ApiService, decorators: [{
|
|
5744
5922
|
type: Injectable,
|
|
5745
5923
|
args: [{ providedIn: 'root' }]
|
|
5746
|
-
}] });
|
|
5924
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
5747
5925
|
|
|
5748
5926
|
// *********************************
|
|
5749
5927
|
// Code generated by sdkgen
|
|
@@ -5752,9 +5930,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
5752
5930
|
// API Service.
|
|
5753
5931
|
// *********************************
|
|
5754
5932
|
class CommonAiInstructionsApiService {
|
|
5755
|
-
constructor() {
|
|
5756
|
-
this.
|
|
5757
|
-
this.
|
|
5933
|
+
constructor(http, hostService) {
|
|
5934
|
+
this.http = http;
|
|
5935
|
+
this.hostService = hostService;
|
|
5758
5936
|
this._host = this.hostService.hostWithScheme;
|
|
5759
5937
|
}
|
|
5760
5938
|
apiOptions() {
|
|
@@ -5781,12 +5959,12 @@ class CommonAiInstructionsApiService {
|
|
|
5781
5959
|
.pipe(map(resp => GetCommonAiInstructionsResponse.fromProto(resp)));
|
|
5782
5960
|
}
|
|
5783
5961
|
}
|
|
5784
|
-
CommonAiInstructionsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommonAiInstructionsApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
5962
|
+
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 });
|
|
5785
5963
|
CommonAiInstructionsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommonAiInstructionsApiService, providedIn: 'root' });
|
|
5786
5964
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommonAiInstructionsApiService, decorators: [{
|
|
5787
5965
|
type: Injectable,
|
|
5788
5966
|
args: [{ providedIn: 'root' }]
|
|
5789
|
-
}] });
|
|
5967
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
5790
5968
|
|
|
5791
5969
|
// *********************************
|
|
5792
5970
|
// Code generated by sdkgen
|
|
@@ -5795,9 +5973,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
5795
5973
|
// API Service.
|
|
5796
5974
|
// *********************************
|
|
5797
5975
|
class ContentGenerationApiService {
|
|
5798
|
-
constructor() {
|
|
5799
|
-
this.
|
|
5800
|
-
this.
|
|
5976
|
+
constructor(http, hostService) {
|
|
5977
|
+
this.http = http;
|
|
5978
|
+
this.hostService = hostService;
|
|
5801
5979
|
this._host = this.hostService.hostWithScheme;
|
|
5802
5980
|
}
|
|
5803
5981
|
apiOptions() {
|
|
@@ -5813,13 +5991,18 @@ class ContentGenerationApiService {
|
|
|
5813
5991
|
return this.http.post(this._host + "/socialposts.v2.ContentGeneration/GeneratePosts", request.toApiJson(), this.apiOptions())
|
|
5814
5992
|
.pipe(map(resp => GeneratePostsResponse.fromProto(resp)));
|
|
5815
5993
|
}
|
|
5994
|
+
generate(r) {
|
|
5995
|
+
const request = (r.toApiJson) ? r : new GenerateAiRequest(r);
|
|
5996
|
+
return this.http.post(this._host + "/socialposts.v2.ContentGeneration/Generate", request.toApiJson(), this.apiOptions())
|
|
5997
|
+
.pipe(map(resp => GenerateAiResponse.fromProto(resp)));
|
|
5998
|
+
}
|
|
5816
5999
|
}
|
|
5817
|
-
ContentGenerationApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContentGenerationApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6000
|
+
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 });
|
|
5818
6001
|
ContentGenerationApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContentGenerationApiService, providedIn: 'root' });
|
|
5819
6002
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContentGenerationApiService, decorators: [{
|
|
5820
6003
|
type: Injectable,
|
|
5821
6004
|
args: [{ providedIn: 'root' }]
|
|
5822
|
-
}] });
|
|
6005
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
5823
6006
|
|
|
5824
6007
|
// *********************************
|
|
5825
6008
|
// Code generated by sdkgen
|
|
@@ -5828,9 +6011,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
5828
6011
|
// API Service.
|
|
5829
6012
|
// *********************************
|
|
5830
6013
|
class CuratedContentApiService {
|
|
5831
|
-
constructor() {
|
|
5832
|
-
this.
|
|
5833
|
-
this.
|
|
6014
|
+
constructor(http, hostService) {
|
|
6015
|
+
this.http = http;
|
|
6016
|
+
this.hostService = hostService;
|
|
5834
6017
|
this._host = this.hostService.hostWithScheme;
|
|
5835
6018
|
}
|
|
5836
6019
|
apiOptions() {
|
|
@@ -5847,12 +6030,12 @@ class CuratedContentApiService {
|
|
|
5847
6030
|
.pipe(map(resp => ListCuratedContentResponse.fromProto(resp)));
|
|
5848
6031
|
}
|
|
5849
6032
|
}
|
|
5850
|
-
CuratedContentApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuratedContentApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6033
|
+
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 });
|
|
5851
6034
|
CuratedContentApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuratedContentApiService, providedIn: 'root' });
|
|
5852
6035
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuratedContentApiService, decorators: [{
|
|
5853
6036
|
type: Injectable,
|
|
5854
6037
|
args: [{ providedIn: 'root' }]
|
|
5855
|
-
}] });
|
|
6038
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
5856
6039
|
|
|
5857
6040
|
// *********************************
|
|
5858
6041
|
// Code generated by sdkgen
|
|
@@ -5861,9 +6044,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
5861
6044
|
// API Service.
|
|
5862
6045
|
// *********************************
|
|
5863
6046
|
class HashTagsApiService {
|
|
5864
|
-
constructor() {
|
|
5865
|
-
this.
|
|
5866
|
-
this.
|
|
6047
|
+
constructor(http, hostService) {
|
|
6048
|
+
this.http = http;
|
|
6049
|
+
this.hostService = hostService;
|
|
5867
6050
|
this._host = this.hostService.hostWithScheme;
|
|
5868
6051
|
}
|
|
5869
6052
|
apiOptions() {
|
|
@@ -5888,12 +6071,12 @@ class HashTagsApiService {
|
|
|
5888
6071
|
.pipe(map(resp => SearchHashtagResponse.fromProto(resp)));
|
|
5889
6072
|
}
|
|
5890
6073
|
}
|
|
5891
|
-
HashTagsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HashTagsApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6074
|
+
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 });
|
|
5892
6075
|
HashTagsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HashTagsApiService, providedIn: 'root' });
|
|
5893
6076
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HashTagsApiService, decorators: [{
|
|
5894
6077
|
type: Injectable,
|
|
5895
6078
|
args: [{ providedIn: 'root' }]
|
|
5896
|
-
}] });
|
|
6079
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
5897
6080
|
|
|
5898
6081
|
// *********************************
|
|
5899
6082
|
// Code generated by sdkgen
|
|
@@ -5902,9 +6085,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
5902
6085
|
// API Service.
|
|
5903
6086
|
// *********************************
|
|
5904
6087
|
class LinkedinApiService {
|
|
5905
|
-
constructor() {
|
|
5906
|
-
this.
|
|
5907
|
-
this.
|
|
6088
|
+
constructor(http, hostService) {
|
|
6089
|
+
this.http = http;
|
|
6090
|
+
this.hostService = hostService;
|
|
5908
6091
|
this._host = this.hostService.hostWithScheme;
|
|
5909
6092
|
}
|
|
5910
6093
|
apiOptions() {
|
|
@@ -5925,12 +6108,12 @@ class LinkedinApiService {
|
|
|
5925
6108
|
.pipe(map(resp => MediaUploadResponse.fromProto(resp)));
|
|
5926
6109
|
}
|
|
5927
6110
|
}
|
|
5928
|
-
LinkedinApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinkedinApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6111
|
+
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 });
|
|
5929
6112
|
LinkedinApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinkedinApiService, providedIn: 'root' });
|
|
5930
6113
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinkedinApiService, decorators: [{
|
|
5931
6114
|
type: Injectable,
|
|
5932
6115
|
args: [{ providedIn: 'root' }]
|
|
5933
|
-
}] });
|
|
6116
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
5934
6117
|
|
|
5935
6118
|
// *********************************
|
|
5936
6119
|
// Code generated by sdkgen
|
|
@@ -5939,9 +6122,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
5939
6122
|
// API Service.
|
|
5940
6123
|
// *********************************
|
|
5941
6124
|
class MultilocationPostApiService {
|
|
5942
|
-
constructor() {
|
|
5943
|
-
this.
|
|
5944
|
-
this.
|
|
6125
|
+
constructor(http, hostService) {
|
|
6126
|
+
this.http = http;
|
|
6127
|
+
this.hostService = hostService;
|
|
5945
6128
|
this._host = this.hostService.hostWithScheme;
|
|
5946
6129
|
}
|
|
5947
6130
|
apiOptions() {
|
|
@@ -5981,12 +6164,12 @@ class MultilocationPostApiService {
|
|
|
5981
6164
|
.pipe(map(resp => GetMultilocationPostResponse.fromProto(resp)));
|
|
5982
6165
|
}
|
|
5983
6166
|
}
|
|
5984
|
-
MultilocationPostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultilocationPostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6167
|
+
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 });
|
|
5985
6168
|
MultilocationPostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultilocationPostApiService, providedIn: 'root' });
|
|
5986
6169
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultilocationPostApiService, decorators: [{
|
|
5987
6170
|
type: Injectable,
|
|
5988
6171
|
args: [{ providedIn: 'root' }]
|
|
5989
|
-
}] });
|
|
6172
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
5990
6173
|
|
|
5991
6174
|
// *********************************
|
|
5992
6175
|
// Code generated by sdkgen
|
|
@@ -5995,9 +6178,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
5995
6178
|
// API Service.
|
|
5996
6179
|
// *********************************
|
|
5997
6180
|
class PartnerSocialPostsApiService {
|
|
5998
|
-
constructor() {
|
|
5999
|
-
this.
|
|
6000
|
-
this.
|
|
6181
|
+
constructor(http, hostService) {
|
|
6182
|
+
this.http = http;
|
|
6183
|
+
this.hostService = hostService;
|
|
6001
6184
|
this._host = this.hostService.hostWithScheme;
|
|
6002
6185
|
}
|
|
6003
6186
|
apiOptions() {
|
|
@@ -6019,12 +6202,12 @@ class PartnerSocialPostsApiService {
|
|
|
6019
6202
|
.pipe(map(resp => PartnerListScheduledPostsResponse.fromProto(resp)));
|
|
6020
6203
|
}
|
|
6021
6204
|
}
|
|
6022
|
-
PartnerSocialPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PartnerSocialPostsApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6205
|
+
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 });
|
|
6023
6206
|
PartnerSocialPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PartnerSocialPostsApiService, providedIn: 'root' });
|
|
6024
6207
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PartnerSocialPostsApiService, decorators: [{
|
|
6025
6208
|
type: Injectable,
|
|
6026
6209
|
args: [{ providedIn: 'root' }]
|
|
6027
|
-
}] });
|
|
6210
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
6028
6211
|
|
|
6029
6212
|
// *********************************
|
|
6030
6213
|
// Code generated by sdkgen
|
|
@@ -6033,9 +6216,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
6033
6216
|
// API Service.
|
|
6034
6217
|
// *********************************
|
|
6035
6218
|
class PixabayImagesApiService {
|
|
6036
|
-
constructor() {
|
|
6037
|
-
this.
|
|
6038
|
-
this.
|
|
6219
|
+
constructor(http, hostService) {
|
|
6220
|
+
this.http = http;
|
|
6221
|
+
this.hostService = hostService;
|
|
6039
6222
|
this._host = this.hostService.hostWithScheme;
|
|
6040
6223
|
}
|
|
6041
6224
|
apiOptions() {
|
|
@@ -6052,12 +6235,12 @@ class PixabayImagesApiService {
|
|
|
6052
6235
|
.pipe(map(resp => ListPixabayImagesResponse.fromProto(resp)));
|
|
6053
6236
|
}
|
|
6054
6237
|
}
|
|
6055
|
-
PixabayImagesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PixabayImagesApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6238
|
+
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 });
|
|
6056
6239
|
PixabayImagesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PixabayImagesApiService, providedIn: 'root' });
|
|
6057
6240
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PixabayImagesApiService, decorators: [{
|
|
6058
6241
|
type: Injectable,
|
|
6059
6242
|
args: [{ providedIn: 'root' }]
|
|
6060
|
-
}] });
|
|
6243
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
6061
6244
|
|
|
6062
6245
|
// *********************************
|
|
6063
6246
|
// Code generated by sdkgen
|
|
@@ -6066,9 +6249,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
6066
6249
|
// API Service.
|
|
6067
6250
|
// *********************************
|
|
6068
6251
|
class PostPerformanceApiService {
|
|
6069
|
-
constructor() {
|
|
6070
|
-
this.
|
|
6071
|
-
this.
|
|
6252
|
+
constructor(http, hostService) {
|
|
6253
|
+
this.http = http;
|
|
6254
|
+
this.hostService = hostService;
|
|
6072
6255
|
this._host = this.hostService.hostWithScheme;
|
|
6073
6256
|
}
|
|
6074
6257
|
apiOptions() {
|
|
@@ -6090,12 +6273,12 @@ class PostPerformanceApiService {
|
|
|
6090
6273
|
.pipe(map(resp => GetGeneratedCSVForPerformanceStatsResponse.fromProto(resp)));
|
|
6091
6274
|
}
|
|
6092
6275
|
}
|
|
6093
|
-
PostPerformanceApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostPerformanceApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6276
|
+
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 });
|
|
6094
6277
|
PostPerformanceApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostPerformanceApiService, providedIn: 'root' });
|
|
6095
6278
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostPerformanceApiService, decorators: [{
|
|
6096
6279
|
type: Injectable,
|
|
6097
6280
|
args: [{ providedIn: 'root' }]
|
|
6098
|
-
}] });
|
|
6281
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
6099
6282
|
|
|
6100
6283
|
// *********************************
|
|
6101
6284
|
// Code generated by sdkgen
|
|
@@ -6104,9 +6287,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
6104
6287
|
// API Service.
|
|
6105
6288
|
// *********************************
|
|
6106
6289
|
class SocialPostsV2ApiService {
|
|
6107
|
-
constructor() {
|
|
6108
|
-
this.
|
|
6109
|
-
this.
|
|
6290
|
+
constructor(http, hostService) {
|
|
6291
|
+
this.http = http;
|
|
6292
|
+
this.hostService = hostService;
|
|
6110
6293
|
this._host = this.hostService.hostWithScheme;
|
|
6111
6294
|
}
|
|
6112
6295
|
apiOptions() {
|
|
@@ -6147,12 +6330,12 @@ class SocialPostsV2ApiService {
|
|
|
6147
6330
|
return this.http.post(this._host + "/socialposts.v2.SocialPostsV2/RepostSocialPost", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
|
|
6148
6331
|
}
|
|
6149
6332
|
}
|
|
6150
|
-
SocialPostsV2ApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2ApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6333
|
+
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 });
|
|
6151
6334
|
SocialPostsV2ApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2ApiService, providedIn: 'root' });
|
|
6152
6335
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2ApiService, decorators: [{
|
|
6153
6336
|
type: Injectable,
|
|
6154
6337
|
args: [{ providedIn: 'root' }]
|
|
6155
|
-
}] });
|
|
6338
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
6156
6339
|
|
|
6157
6340
|
// *********************************
|
|
6158
6341
|
// Code generated by sdkgen
|
|
@@ -6161,9 +6344,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
6161
6344
|
// API Service.
|
|
6162
6345
|
// *********************************
|
|
6163
6346
|
class TenorGifsApiService {
|
|
6164
|
-
constructor() {
|
|
6165
|
-
this.
|
|
6166
|
-
this.
|
|
6347
|
+
constructor(http, hostService) {
|
|
6348
|
+
this.http = http;
|
|
6349
|
+
this.hostService = hostService;
|
|
6167
6350
|
this._host = this.hostService.hostWithScheme;
|
|
6168
6351
|
}
|
|
6169
6352
|
apiOptions() {
|
|
@@ -6185,12 +6368,12 @@ class TenorGifsApiService {
|
|
|
6185
6368
|
.pipe(map(resp => ListTenorGifsResponse.fromProto(resp)));
|
|
6186
6369
|
}
|
|
6187
6370
|
}
|
|
6188
|
-
TenorGifsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TenorGifsApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6371
|
+
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 });
|
|
6189
6372
|
TenorGifsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TenorGifsApiService, providedIn: 'root' });
|
|
6190
6373
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TenorGifsApiService, decorators: [{
|
|
6191
6374
|
type: Injectable,
|
|
6192
6375
|
args: [{ providedIn: 'root' }]
|
|
6193
|
-
}] });
|
|
6376
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
6194
6377
|
|
|
6195
6378
|
// *********************************
|
|
6196
6379
|
// Code generated by sdkgen
|
|
@@ -6199,9 +6382,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
6199
6382
|
// API Service.
|
|
6200
6383
|
// *********************************
|
|
6201
6384
|
class UnsplashApiService {
|
|
6202
|
-
constructor() {
|
|
6203
|
-
this.
|
|
6204
|
-
this.
|
|
6385
|
+
constructor(http, hostService) {
|
|
6386
|
+
this.http = http;
|
|
6387
|
+
this.hostService = hostService;
|
|
6205
6388
|
this._host = this.hostService.hostWithScheme;
|
|
6206
6389
|
}
|
|
6207
6390
|
apiOptions() {
|
|
@@ -6223,12 +6406,12 @@ class UnsplashApiService {
|
|
|
6223
6406
|
.pipe(map(resp => UploadToStorageResponse.fromProto(resp)));
|
|
6224
6407
|
}
|
|
6225
6408
|
}
|
|
6226
|
-
UnsplashApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UnsplashApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6409
|
+
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 });
|
|
6227
6410
|
UnsplashApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UnsplashApiService, providedIn: 'root' });
|
|
6228
6411
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UnsplashApiService, decorators: [{
|
|
6229
6412
|
type: Injectable,
|
|
6230
6413
|
args: [{ providedIn: 'root' }]
|
|
6231
|
-
}] });
|
|
6414
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
6232
6415
|
|
|
6233
6416
|
// *********************************
|
|
6234
6417
|
// Code generated by sdkgen
|
|
@@ -6547,6 +6730,9 @@ class ContentGenerationService {
|
|
|
6547
6730
|
generatePosts(r) {
|
|
6548
6731
|
return this.contentGenerationApiService.generatePosts(r);
|
|
6549
6732
|
}
|
|
6733
|
+
generate(r) {
|
|
6734
|
+
return this.contentGenerationApiService.generate(r);
|
|
6735
|
+
}
|
|
6550
6736
|
}
|
|
6551
6737
|
ContentGenerationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContentGenerationService, deps: [{ token: ContentGenerationApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6552
6738
|
ContentGenerationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContentGenerationService, providedIn: 'root' });
|
|
@@ -6671,6 +6857,12 @@ class BlogConnectionService {
|
|
|
6671
6857
|
list(listBlogConnectionRequest) {
|
|
6672
6858
|
return this.blogConnectionApiService.list(listBlogConnectionRequest);
|
|
6673
6859
|
}
|
|
6860
|
+
update(updateBlogConnectionRequest) {
|
|
6861
|
+
return this.blogConnectionApiService.update(updateBlogConnectionRequest);
|
|
6862
|
+
}
|
|
6863
|
+
get(getBlogConnectionRequest) {
|
|
6864
|
+
return this.blogConnectionApiService.get(getBlogConnectionRequest);
|
|
6865
|
+
}
|
|
6674
6866
|
}
|
|
6675
6867
|
BlogConnectionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogConnectionService, deps: [{ token: BlogConnectionApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6676
6868
|
BlogConnectionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogConnectionService, providedIn: 'root' });
|
|
@@ -6683,5 +6875,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
6683
6875
|
* Generated bundle index. Do not edit.
|
|
6684
6876
|
*/
|
|
6685
6877
|
|
|
6686
|
-
export { Access, Action, ActionType, AiInstructionService, AiInstructions, Ancestry, BlogConnection, 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, ListBlogConnectionRequest, ListBlogConnectionResponse, ListCuratedContentRequest, ListCuratedContentResponse, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListTenorGifsRequest, ListTenorGifsResponse, ListUnsplashImagesRequest, ListUnsplashImagesResponse, Location, Media, MediaEntry, MediaType, MediaUploadRequest, MediaUploadResponse, MessageLength, MetaData, MetadataV2, 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, UpdateBlogConnectionRequest, UpdateCommonAiInstructionsRequest, UpdateCommonAiInstructionsResponse, UpdatePostTemplateRequest, UpdateSocialPostRequest, UpdateSocialPostResponse, UploadToStorageRequest, UploadToStorageResponse, UploadedMedia, Urls, User, UserLink, YoutubeCustomization, YoutubeCustomizationPrivacyStatus, YoutubeCustomizationV2, YoutubeCustomizationV2PrivacyStatusV2 };
|
|
6878
|
+
export { Access, Action, ActionType, AiInstructionService, AiInstructions, Ancestry, BlogConnection, 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, GenerateAiRequest, GenerateAiResponse, GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GeneratePostsRequest, GeneratePostsResponse, GeneratePostsResponsePost, GenerateType, GetBlogConnectionRequest, GetBlogConnectionResponse, GetCommonAiInstructionsRequest, GetCommonAiInstructionsResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, GetPostTemplateRequest, GetPostTemplateResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, HashTagsService, Hashtag, Image, ImageBlob, ImageCreated, ImageUrl, LinkV2, Links, ListBlogConnectionRequest, ListBlogConnectionResponse, ListCuratedContentRequest, ListCuratedContentResponse, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListTenorGifsRequest, ListTenorGifsResponse, ListUnsplashImagesRequest, ListUnsplashImagesResponse, Location, Media, MediaEntry, MediaType, MediaUploadRequest, MediaUploadResponse, MessageLength, MetaData, MetadataV2, MultiResponse, MultilocationPost, MultilocationPostApiService, MultilocationPostError, MultilocationPostsService, PartnerListScheduledPostsResponse, PartnerListScheduledSocialPostsRequest, PartnerListScheduledSocialPostsRequestFilters, Photo, PixabayImage, PixabayImageService, PostAction, PostActionV2, PostContentV2, PostCustomization, PostCustomizationV2, PostData, PostEvent, PostEventV2, PostMediaV2, PostPerformanceApiService, PostPerformanceService, PostStatusV2, PostTemplate, PostTemplatesService, PostType, PostTypeV2, PostingStatus, RemoveFromMultilocationPostRequest, RemoveReason, ReplaceHashtagsRequest, RepostSocialPostRequest, Response, Role, SSIDPostType, SchedulePostRequest, SchedulePostResponse, SchedulePostStatus, ScheduleToAllPagesRequest, ScheduleToAllPagesResponse, SearchHashtagRequest, SearchHashtagResponse, SendMessageRequest, SendMessageResponse, SendMessageV2Request, SendMessageV2Response, Social, SocialPost, SocialPostData, SocialPostDeletionStatus, SocialPostOutput, SocialPostRequest, SocialPostResponse, SocialPostService, SocialPostStats, SocialPostV2, SocialPostsService, SocialPostsV2Service, Source, StartChatRequest, StartChatResponse, SubAncestry, SuggestMessageRequest, SuggestMessageResponse, Tags, TemplateType, TenorGif, TenorGifMediaMapEntry, TenorGifsService, TenorMediaObject, TikTokCustomization, TikTokCustomizationV2, TwitterPostStats, UnsplashImageService, UpdateBlogConnectionRequest, UpdateCommonAiInstructionsRequest, UpdateCommonAiInstructionsResponse, UpdatePostTemplateRequest, UpdateSocialPostRequest, UpdateSocialPostResponse, UploadToStorageRequest, UploadToStorageResponse, UploadedMedia, Urls, User, UserLink, YoutubeCustomization, YoutubeCustomizationPrivacyStatus, YoutubeCustomizationV2, YoutubeCustomizationV2PrivacyStatusV2 };
|
|
6687
6879
|
//# sourceMappingURL=vendasta-social-posts.mjs.map
|