@vendasta/social-posts 5.33.0 → 5.34.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 +7 -8
- package/esm2020/lib/_internal/blog-posts.api.service.mjs +7 -8
- package/esm2020/lib/_internal/chat-bot-v2.api.service.mjs +7 -8
- package/esm2020/lib/_internal/chat-bot.api.service.mjs +7 -8
- package/esm2020/lib/_internal/common-ai-instructions.api.service.mjs +7 -8
- package/esm2020/lib/_internal/content-generation.api.service.mjs +7 -8
- package/esm2020/lib/_internal/curated-content.api.service.mjs +7 -8
- package/esm2020/lib/_internal/hash-tags.api.service.mjs +7 -8
- package/esm2020/lib/_internal/interfaces/api-v2.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/wordpress-plugin.interface.mjs +1 -1
- package/esm2020/lib/_internal/linkedin.api.service.mjs +7 -8
- package/esm2020/lib/_internal/multilocation-post.api.service.mjs +7 -8
- package/esm2020/lib/_internal/objects/api-v2.mjs +4 -1
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/esm2020/lib/_internal/objects/wordpress-plugin.mjs +24 -4
- package/esm2020/lib/_internal/partner-social-posts.api.service.mjs +7 -8
- package/esm2020/lib/_internal/pixabay-images.api.service.mjs +7 -8
- package/esm2020/lib/_internal/post-performance.api.service.mjs +7 -8
- package/esm2020/lib/_internal/post-templates.api.service.mjs +7 -8
- package/esm2020/lib/_internal/social-posts-v2.api.service.mjs +7 -8
- package/esm2020/lib/_internal/social-posts.api.service.mjs +7 -8
- package/esm2020/lib/_internal/tenor-gifs.api.service.mjs +7 -8
- package/esm2020/lib/_internal/unsplash.api.service.mjs +7 -8
- package/esm2020/lib/_internal/wordpress-plugin.api.service.mjs +12 -9
- package/esm2020/lib/ai-instructions.service.mjs +6 -4
- package/esm2020/lib/wordpress-plugin.service.mjs +4 -1
- package/fesm2015/vendasta-social-posts.mjs +136 -105
- package/fesm2015/vendasta-social-posts.mjs.map +1 -1
- package/fesm2020/vendasta-social-posts.mjs +136 -105
- package/fesm2020/vendasta-social-posts.mjs.map +1 -1
- package/lib/_internal/blog-connection.api.service.d.ts +3 -5
- package/lib/_internal/blog-posts.api.service.d.ts +3 -5
- package/lib/_internal/chat-bot-v2.api.service.d.ts +2 -5
- package/lib/_internal/chat-bot.api.service.d.ts +3 -5
- package/lib/_internal/common-ai-instructions.api.service.d.ts +2 -5
- package/lib/_internal/content-generation.api.service.d.ts +2 -5
- package/lib/_internal/curated-content.api.service.d.ts +2 -5
- package/lib/_internal/hash-tags.api.service.d.ts +3 -5
- package/lib/_internal/interfaces/api-v2.interface.d.ts +1 -0
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/interfaces/wordpress-plugin.interface.d.ts +4 -1
- package/lib/_internal/linkedin.api.service.d.ts +3 -5
- package/lib/_internal/multilocation-post.api.service.d.ts +3 -5
- package/lib/_internal/objects/api-v2.d.ts +1 -0
- package/lib/_internal/objects/index.d.ts +1 -1
- package/lib/_internal/objects/wordpress-plugin.d.ts +7 -1
- package/lib/_internal/partner-social-posts.api.service.d.ts +2 -5
- package/lib/_internal/pixabay-images.api.service.d.ts +2 -5
- package/lib/_internal/post-performance.api.service.d.ts +2 -5
- package/lib/_internal/post-templates.api.service.d.ts +3 -5
- package/lib/_internal/social-posts-v2.api.service.d.ts +3 -5
- package/lib/_internal/social-posts.api.service.d.ts +3 -5
- package/lib/_internal/tenor-gifs.api.service.d.ts +2 -5
- package/lib/_internal/unsplash.api.service.d.ts +2 -5
- package/lib/_internal/wordpress-plugin.api.service.d.ts +6 -7
- package/lib/ai-instructions.service.d.ts +2 -2
- package/lib/wordpress-plugin.service.d.ts +3 -1
- package/package.json +1 -1
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
2
|
+
import { Injectable, inject } from '@angular/core';
|
|
3
3
|
import { of } from 'rxjs';
|
|
4
|
-
import
|
|
5
|
-
import { HttpHeaders } from '@angular/common/http';
|
|
4
|
+
import { HttpClient, HttpHeaders } from '@angular/common/http';
|
|
6
5
|
import { map } from 'rxjs/operators';
|
|
7
6
|
|
|
8
7
|
function enumStringToValue$g(enumRef, value) {
|
|
@@ -4182,6 +4181,9 @@ class AiInstructions {
|
|
|
4182
4181
|
if (typeof this.dataUsageStatus !== 'undefined') {
|
|
4183
4182
|
toReturn['dataUsageStatus'] = this.dataUsageStatus;
|
|
4184
4183
|
}
|
|
4184
|
+
if (typeof this.aiBlogInstructions !== 'undefined') {
|
|
4185
|
+
toReturn['aiBlogInstructions'] = this.aiBlogInstructions;
|
|
4186
|
+
}
|
|
4185
4187
|
return toReturn;
|
|
4186
4188
|
}
|
|
4187
4189
|
}
|
|
@@ -5937,9 +5939,6 @@ class BlogPost {
|
|
|
5937
5939
|
if (typeof this.tags !== 'undefined') {
|
|
5938
5940
|
toReturn['tags'] = this.tags;
|
|
5939
5941
|
}
|
|
5940
|
-
if (typeof this.postTags !== 'undefined') {
|
|
5941
|
-
toReturn['postTags'] = this.postTags;
|
|
5942
|
-
}
|
|
5943
5942
|
if (typeof this.error !== 'undefined') {
|
|
5944
5943
|
toReturn['error'] = this.error;
|
|
5945
5944
|
}
|
|
@@ -6269,6 +6268,29 @@ class PublishPostResponse {
|
|
|
6269
6268
|
return toReturn;
|
|
6270
6269
|
}
|
|
6271
6270
|
}
|
|
6271
|
+
class RepostBlogPostRequest {
|
|
6272
|
+
static fromProto(proto) {
|
|
6273
|
+
let m = new RepostBlogPostRequest();
|
|
6274
|
+
m = Object.assign(m, proto);
|
|
6275
|
+
return m;
|
|
6276
|
+
}
|
|
6277
|
+
constructor(kwargs) {
|
|
6278
|
+
if (!kwargs) {
|
|
6279
|
+
return;
|
|
6280
|
+
}
|
|
6281
|
+
Object.assign(this, kwargs);
|
|
6282
|
+
}
|
|
6283
|
+
toApiJson() {
|
|
6284
|
+
const toReturn = {};
|
|
6285
|
+
if (typeof this.blogPostId !== 'undefined') {
|
|
6286
|
+
toReturn['blogPostId'] = this.blogPostId;
|
|
6287
|
+
}
|
|
6288
|
+
if (typeof this.accountGroupId !== 'undefined') {
|
|
6289
|
+
toReturn['accountGroupId'] = this.accountGroupId;
|
|
6290
|
+
}
|
|
6291
|
+
return toReturn;
|
|
6292
|
+
}
|
|
6293
|
+
}
|
|
6272
6294
|
class StatusRequest {
|
|
6273
6295
|
static fromProto(proto) {
|
|
6274
6296
|
let m = new StatusRequest();
|
|
@@ -6385,9 +6407,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
6385
6407
|
// API Service.
|
|
6386
6408
|
// *********************************
|
|
6387
6409
|
class SocialPostsApiService {
|
|
6388
|
-
constructor(
|
|
6389
|
-
this.
|
|
6390
|
-
this.
|
|
6410
|
+
constructor() {
|
|
6411
|
+
this.hostService = inject(HostService);
|
|
6412
|
+
this.http = inject(HttpClient);
|
|
6391
6413
|
this._host = this.hostService.hostWithScheme;
|
|
6392
6414
|
}
|
|
6393
6415
|
apiOptions() {
|
|
@@ -6438,12 +6460,12 @@ class SocialPostsApiService {
|
|
|
6438
6460
|
.pipe(map(resp => SuggestMessageResponse.fromProto(resp)));
|
|
6439
6461
|
}
|
|
6440
6462
|
}
|
|
6441
|
-
SocialPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsApiService, deps: [
|
|
6463
|
+
SocialPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6442
6464
|
SocialPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsApiService, providedIn: 'root' });
|
|
6443
6465
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsApiService, decorators: [{
|
|
6444
6466
|
type: Injectable,
|
|
6445
6467
|
args: [{ providedIn: 'root' }]
|
|
6446
|
-
}]
|
|
6468
|
+
}] });
|
|
6447
6469
|
|
|
6448
6470
|
class SocialPostsService {
|
|
6449
6471
|
constructor(socialPostsApiService) {
|
|
@@ -6493,9 +6515,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
6493
6515
|
// API Service.
|
|
6494
6516
|
// *********************************
|
|
6495
6517
|
class PostTemplatesApiService {
|
|
6496
|
-
constructor(
|
|
6497
|
-
this.
|
|
6498
|
-
this.
|
|
6518
|
+
constructor() {
|
|
6519
|
+
this.hostService = inject(HostService);
|
|
6520
|
+
this.http = inject(HttpClient);
|
|
6499
6521
|
this._host = this.hostService.hostWithScheme;
|
|
6500
6522
|
}
|
|
6501
6523
|
apiOptions() {
|
|
@@ -6530,12 +6552,12 @@ class PostTemplatesApiService {
|
|
|
6530
6552
|
return this.http.post(this._host + "/socialposts.v1.PostTemplates/DeletePostTemplate", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
|
|
6531
6553
|
}
|
|
6532
6554
|
}
|
|
6533
|
-
PostTemplatesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostTemplatesApiService, deps: [
|
|
6555
|
+
PostTemplatesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostTemplatesApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6534
6556
|
PostTemplatesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostTemplatesApiService, providedIn: 'root' });
|
|
6535
6557
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostTemplatesApiService, decorators: [{
|
|
6536
6558
|
type: Injectable,
|
|
6537
6559
|
args: [{ providedIn: 'root' }]
|
|
6538
|
-
}]
|
|
6560
|
+
}] });
|
|
6539
6561
|
|
|
6540
6562
|
// *********************************
|
|
6541
6563
|
// Code generated by sdkgen
|
|
@@ -6544,9 +6566,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
6544
6566
|
// API Service.
|
|
6545
6567
|
// *********************************
|
|
6546
6568
|
class BlogConnectionApiService {
|
|
6547
|
-
constructor(
|
|
6548
|
-
this.
|
|
6549
|
-
this.
|
|
6569
|
+
constructor() {
|
|
6570
|
+
this.hostService = inject(HostService);
|
|
6571
|
+
this.http = inject(HttpClient);
|
|
6550
6572
|
this._host = this.hostService.hostWithScheme;
|
|
6551
6573
|
}
|
|
6552
6574
|
apiOptions() {
|
|
@@ -6581,12 +6603,12 @@ class BlogConnectionApiService {
|
|
|
6581
6603
|
return this.http.post(this._host + "/socialposts.v2.BlogConnectionService/Delete", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
|
|
6582
6604
|
}
|
|
6583
6605
|
}
|
|
6584
|
-
BlogConnectionApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogConnectionApiService, deps: [
|
|
6606
|
+
BlogConnectionApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogConnectionApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6585
6607
|
BlogConnectionApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogConnectionApiService, providedIn: 'root' });
|
|
6586
6608
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogConnectionApiService, decorators: [{
|
|
6587
6609
|
type: Injectable,
|
|
6588
6610
|
args: [{ providedIn: 'root' }]
|
|
6589
|
-
}]
|
|
6611
|
+
}] });
|
|
6590
6612
|
|
|
6591
6613
|
// *********************************
|
|
6592
6614
|
// Code generated by sdkgen
|
|
@@ -6595,9 +6617,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
6595
6617
|
// API Service.
|
|
6596
6618
|
// *********************************
|
|
6597
6619
|
class BlogPostsApiService {
|
|
6598
|
-
constructor(
|
|
6599
|
-
this.
|
|
6600
|
-
this.
|
|
6620
|
+
constructor() {
|
|
6621
|
+
this.hostService = inject(HostService);
|
|
6622
|
+
this.http = inject(HttpClient);
|
|
6601
6623
|
this._host = this.hostService.hostWithScheme;
|
|
6602
6624
|
}
|
|
6603
6625
|
apiOptions() {
|
|
@@ -6622,12 +6644,12 @@ class BlogPostsApiService {
|
|
|
6622
6644
|
return this.http.post(this._host + "/socialposts.v2.BlogPostsService/DeleteBlogPost", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
|
|
6623
6645
|
}
|
|
6624
6646
|
}
|
|
6625
|
-
BlogPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogPostsApiService, deps: [
|
|
6647
|
+
BlogPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogPostsApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6626
6648
|
BlogPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogPostsApiService, providedIn: 'root' });
|
|
6627
6649
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: BlogPostsApiService, decorators: [{
|
|
6628
6650
|
type: Injectable,
|
|
6629
6651
|
args: [{ providedIn: 'root' }]
|
|
6630
|
-
}]
|
|
6652
|
+
}] });
|
|
6631
6653
|
|
|
6632
6654
|
// *********************************
|
|
6633
6655
|
// Code generated by sdkgen
|
|
@@ -6636,9 +6658,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
6636
6658
|
// API Service.
|
|
6637
6659
|
// *********************************
|
|
6638
6660
|
class ChatBotApiService {
|
|
6639
|
-
constructor(
|
|
6640
|
-
this.
|
|
6641
|
-
this.
|
|
6661
|
+
constructor() {
|
|
6662
|
+
this.hostService = inject(HostService);
|
|
6663
|
+
this.http = inject(HttpClient);
|
|
6642
6664
|
this._host = this.hostService.hostWithScheme;
|
|
6643
6665
|
}
|
|
6644
6666
|
apiOptions() {
|
|
@@ -6664,12 +6686,12 @@ class ChatBotApiService {
|
|
|
6664
6686
|
return this.http.post(this._host + "/socialposts.v2.ChatBot/EndChat", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
|
|
6665
6687
|
}
|
|
6666
6688
|
}
|
|
6667
|
-
ChatBotApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotApiService, deps: [
|
|
6689
|
+
ChatBotApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6668
6690
|
ChatBotApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotApiService, providedIn: 'root' });
|
|
6669
6691
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotApiService, decorators: [{
|
|
6670
6692
|
type: Injectable,
|
|
6671
6693
|
args: [{ providedIn: 'root' }]
|
|
6672
|
-
}]
|
|
6694
|
+
}] });
|
|
6673
6695
|
|
|
6674
6696
|
// *********************************
|
|
6675
6697
|
// Code generated by sdkgen
|
|
@@ -6678,9 +6700,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
6678
6700
|
// API Service.
|
|
6679
6701
|
// *********************************
|
|
6680
6702
|
class ChatBotV2ApiService {
|
|
6681
|
-
constructor(
|
|
6682
|
-
this.
|
|
6683
|
-
this.
|
|
6703
|
+
constructor() {
|
|
6704
|
+
this.hostService = inject(HostService);
|
|
6705
|
+
this.http = inject(HttpClient);
|
|
6684
6706
|
this._host = this.hostService.hostWithScheme;
|
|
6685
6707
|
}
|
|
6686
6708
|
apiOptions() {
|
|
@@ -6697,12 +6719,12 @@ class ChatBotV2ApiService {
|
|
|
6697
6719
|
.pipe(map(resp => SendMessageV2Response.fromProto(resp)));
|
|
6698
6720
|
}
|
|
6699
6721
|
}
|
|
6700
|
-
ChatBotV2ApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotV2ApiService, deps: [
|
|
6722
|
+
ChatBotV2ApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotV2ApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6701
6723
|
ChatBotV2ApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotV2ApiService, providedIn: 'root' });
|
|
6702
6724
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ChatBotV2ApiService, decorators: [{
|
|
6703
6725
|
type: Injectable,
|
|
6704
6726
|
args: [{ providedIn: 'root' }]
|
|
6705
|
-
}]
|
|
6727
|
+
}] });
|
|
6706
6728
|
|
|
6707
6729
|
// *********************************
|
|
6708
6730
|
// Code generated by sdkgen
|
|
@@ -6711,9 +6733,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
6711
6733
|
// API Service.
|
|
6712
6734
|
// *********************************
|
|
6713
6735
|
class CommonAiInstructionsApiService {
|
|
6714
|
-
constructor(
|
|
6715
|
-
this.
|
|
6716
|
-
this.
|
|
6736
|
+
constructor() {
|
|
6737
|
+
this.hostService = inject(HostService);
|
|
6738
|
+
this.http = inject(HttpClient);
|
|
6717
6739
|
this._host = this.hostService.hostWithScheme;
|
|
6718
6740
|
}
|
|
6719
6741
|
apiOptions() {
|
|
@@ -6740,12 +6762,12 @@ class CommonAiInstructionsApiService {
|
|
|
6740
6762
|
.pipe(map(resp => GetCommonAiInstructionsResponse.fromProto(resp)));
|
|
6741
6763
|
}
|
|
6742
6764
|
}
|
|
6743
|
-
CommonAiInstructionsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommonAiInstructionsApiService, deps: [
|
|
6765
|
+
CommonAiInstructionsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommonAiInstructionsApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6744
6766
|
CommonAiInstructionsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommonAiInstructionsApiService, providedIn: 'root' });
|
|
6745
6767
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommonAiInstructionsApiService, decorators: [{
|
|
6746
6768
|
type: Injectable,
|
|
6747
6769
|
args: [{ providedIn: 'root' }]
|
|
6748
|
-
}]
|
|
6770
|
+
}] });
|
|
6749
6771
|
|
|
6750
6772
|
// *********************************
|
|
6751
6773
|
// Code generated by sdkgen
|
|
@@ -6754,9 +6776,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
6754
6776
|
// API Service.
|
|
6755
6777
|
// *********************************
|
|
6756
6778
|
class ContentGenerationApiService {
|
|
6757
|
-
constructor(
|
|
6758
|
-
this.
|
|
6759
|
-
this.
|
|
6779
|
+
constructor() {
|
|
6780
|
+
this.hostService = inject(HostService);
|
|
6781
|
+
this.http = inject(HttpClient);
|
|
6760
6782
|
this._host = this.hostService.hostWithScheme;
|
|
6761
6783
|
}
|
|
6762
6784
|
apiOptions() {
|
|
@@ -6778,12 +6800,12 @@ class ContentGenerationApiService {
|
|
|
6778
6800
|
.pipe(map(resp => GenerateAiResponse.fromProto(resp)));
|
|
6779
6801
|
}
|
|
6780
6802
|
}
|
|
6781
|
-
ContentGenerationApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContentGenerationApiService, deps: [
|
|
6803
|
+
ContentGenerationApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContentGenerationApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6782
6804
|
ContentGenerationApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContentGenerationApiService, providedIn: 'root' });
|
|
6783
6805
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContentGenerationApiService, decorators: [{
|
|
6784
6806
|
type: Injectable,
|
|
6785
6807
|
args: [{ providedIn: 'root' }]
|
|
6786
|
-
}]
|
|
6808
|
+
}] });
|
|
6787
6809
|
|
|
6788
6810
|
// *********************************
|
|
6789
6811
|
// Code generated by sdkgen
|
|
@@ -6792,9 +6814,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
6792
6814
|
// API Service.
|
|
6793
6815
|
// *********************************
|
|
6794
6816
|
class CuratedContentApiService {
|
|
6795
|
-
constructor(
|
|
6796
|
-
this.
|
|
6797
|
-
this.
|
|
6817
|
+
constructor() {
|
|
6818
|
+
this.hostService = inject(HostService);
|
|
6819
|
+
this.http = inject(HttpClient);
|
|
6798
6820
|
this._host = this.hostService.hostWithScheme;
|
|
6799
6821
|
}
|
|
6800
6822
|
apiOptions() {
|
|
@@ -6811,12 +6833,12 @@ class CuratedContentApiService {
|
|
|
6811
6833
|
.pipe(map(resp => ListCuratedContentResponse.fromProto(resp)));
|
|
6812
6834
|
}
|
|
6813
6835
|
}
|
|
6814
|
-
CuratedContentApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuratedContentApiService, deps: [
|
|
6836
|
+
CuratedContentApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuratedContentApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6815
6837
|
CuratedContentApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuratedContentApiService, providedIn: 'root' });
|
|
6816
6838
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuratedContentApiService, decorators: [{
|
|
6817
6839
|
type: Injectable,
|
|
6818
6840
|
args: [{ providedIn: 'root' }]
|
|
6819
|
-
}]
|
|
6841
|
+
}] });
|
|
6820
6842
|
|
|
6821
6843
|
// *********************************
|
|
6822
6844
|
// Code generated by sdkgen
|
|
@@ -6825,9 +6847,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
6825
6847
|
// API Service.
|
|
6826
6848
|
// *********************************
|
|
6827
6849
|
class HashTagsApiService {
|
|
6828
|
-
constructor(
|
|
6829
|
-
this.
|
|
6830
|
-
this.
|
|
6850
|
+
constructor() {
|
|
6851
|
+
this.hostService = inject(HostService);
|
|
6852
|
+
this.http = inject(HttpClient);
|
|
6831
6853
|
this._host = this.hostService.hostWithScheme;
|
|
6832
6854
|
}
|
|
6833
6855
|
apiOptions() {
|
|
@@ -6852,12 +6874,12 @@ class HashTagsApiService {
|
|
|
6852
6874
|
.pipe(map(resp => SearchHashtagResponse.fromProto(resp)));
|
|
6853
6875
|
}
|
|
6854
6876
|
}
|
|
6855
|
-
HashTagsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HashTagsApiService, deps: [
|
|
6877
|
+
HashTagsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HashTagsApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6856
6878
|
HashTagsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HashTagsApiService, providedIn: 'root' });
|
|
6857
6879
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HashTagsApiService, decorators: [{
|
|
6858
6880
|
type: Injectable,
|
|
6859
6881
|
args: [{ providedIn: 'root' }]
|
|
6860
|
-
}]
|
|
6882
|
+
}] });
|
|
6861
6883
|
|
|
6862
6884
|
// *********************************
|
|
6863
6885
|
// Code generated by sdkgen
|
|
@@ -6866,9 +6888,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
6866
6888
|
// API Service.
|
|
6867
6889
|
// *********************************
|
|
6868
6890
|
class LinkedinApiService {
|
|
6869
|
-
constructor(
|
|
6870
|
-
this.
|
|
6871
|
-
this.
|
|
6891
|
+
constructor() {
|
|
6892
|
+
this.hostService = inject(HostService);
|
|
6893
|
+
this.http = inject(HttpClient);
|
|
6872
6894
|
this._host = this.hostService.hostWithScheme;
|
|
6873
6895
|
}
|
|
6874
6896
|
apiOptions() {
|
|
@@ -6889,12 +6911,12 @@ class LinkedinApiService {
|
|
|
6889
6911
|
.pipe(map(resp => MediaUploadResponse.fromProto(resp)));
|
|
6890
6912
|
}
|
|
6891
6913
|
}
|
|
6892
|
-
LinkedinApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinkedinApiService, deps: [
|
|
6914
|
+
LinkedinApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinkedinApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6893
6915
|
LinkedinApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinkedinApiService, providedIn: 'root' });
|
|
6894
6916
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinkedinApiService, decorators: [{
|
|
6895
6917
|
type: Injectable,
|
|
6896
6918
|
args: [{ providedIn: 'root' }]
|
|
6897
|
-
}]
|
|
6919
|
+
}] });
|
|
6898
6920
|
|
|
6899
6921
|
// *********************************
|
|
6900
6922
|
// Code generated by sdkgen
|
|
@@ -6903,9 +6925,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
6903
6925
|
// API Service.
|
|
6904
6926
|
// *********************************
|
|
6905
6927
|
class MultilocationPostApiService {
|
|
6906
|
-
constructor(
|
|
6907
|
-
this.
|
|
6908
|
-
this.
|
|
6928
|
+
constructor() {
|
|
6929
|
+
this.hostService = inject(HostService);
|
|
6930
|
+
this.http = inject(HttpClient);
|
|
6909
6931
|
this._host = this.hostService.hostWithScheme;
|
|
6910
6932
|
}
|
|
6911
6933
|
apiOptions() {
|
|
@@ -6945,12 +6967,12 @@ class MultilocationPostApiService {
|
|
|
6945
6967
|
.pipe(map(resp => GetMultilocationPostResponse.fromProto(resp)));
|
|
6946
6968
|
}
|
|
6947
6969
|
}
|
|
6948
|
-
MultilocationPostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultilocationPostApiService, deps: [
|
|
6970
|
+
MultilocationPostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultilocationPostApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6949
6971
|
MultilocationPostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultilocationPostApiService, providedIn: 'root' });
|
|
6950
6972
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultilocationPostApiService, decorators: [{
|
|
6951
6973
|
type: Injectable,
|
|
6952
6974
|
args: [{ providedIn: 'root' }]
|
|
6953
|
-
}]
|
|
6975
|
+
}] });
|
|
6954
6976
|
|
|
6955
6977
|
// *********************************
|
|
6956
6978
|
// Code generated by sdkgen
|
|
@@ -6959,9 +6981,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
6959
6981
|
// API Service.
|
|
6960
6982
|
// *********************************
|
|
6961
6983
|
class PartnerSocialPostsApiService {
|
|
6962
|
-
constructor(
|
|
6963
|
-
this.
|
|
6964
|
-
this.
|
|
6984
|
+
constructor() {
|
|
6985
|
+
this.hostService = inject(HostService);
|
|
6986
|
+
this.http = inject(HttpClient);
|
|
6965
6987
|
this._host = this.hostService.hostWithScheme;
|
|
6966
6988
|
}
|
|
6967
6989
|
apiOptions() {
|
|
@@ -6983,12 +7005,12 @@ class PartnerSocialPostsApiService {
|
|
|
6983
7005
|
.pipe(map(resp => PartnerListScheduledPostsResponse.fromProto(resp)));
|
|
6984
7006
|
}
|
|
6985
7007
|
}
|
|
6986
|
-
PartnerSocialPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PartnerSocialPostsApiService, deps: [
|
|
7008
|
+
PartnerSocialPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PartnerSocialPostsApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6987
7009
|
PartnerSocialPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PartnerSocialPostsApiService, providedIn: 'root' });
|
|
6988
7010
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PartnerSocialPostsApiService, decorators: [{
|
|
6989
7011
|
type: Injectable,
|
|
6990
7012
|
args: [{ providedIn: 'root' }]
|
|
6991
|
-
}]
|
|
7013
|
+
}] });
|
|
6992
7014
|
|
|
6993
7015
|
// *********************************
|
|
6994
7016
|
// Code generated by sdkgen
|
|
@@ -6997,9 +7019,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
6997
7019
|
// API Service.
|
|
6998
7020
|
// *********************************
|
|
6999
7021
|
class PixabayImagesApiService {
|
|
7000
|
-
constructor(
|
|
7001
|
-
this.
|
|
7002
|
-
this.
|
|
7022
|
+
constructor() {
|
|
7023
|
+
this.hostService = inject(HostService);
|
|
7024
|
+
this.http = inject(HttpClient);
|
|
7003
7025
|
this._host = this.hostService.hostWithScheme;
|
|
7004
7026
|
}
|
|
7005
7027
|
apiOptions() {
|
|
@@ -7016,12 +7038,12 @@ class PixabayImagesApiService {
|
|
|
7016
7038
|
.pipe(map(resp => ListPixabayImagesResponse.fromProto(resp)));
|
|
7017
7039
|
}
|
|
7018
7040
|
}
|
|
7019
|
-
PixabayImagesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PixabayImagesApiService, deps: [
|
|
7041
|
+
PixabayImagesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PixabayImagesApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7020
7042
|
PixabayImagesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PixabayImagesApiService, providedIn: 'root' });
|
|
7021
7043
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PixabayImagesApiService, decorators: [{
|
|
7022
7044
|
type: Injectable,
|
|
7023
7045
|
args: [{ providedIn: 'root' }]
|
|
7024
|
-
}]
|
|
7046
|
+
}] });
|
|
7025
7047
|
|
|
7026
7048
|
// *********************************
|
|
7027
7049
|
// Code generated by sdkgen
|
|
@@ -7030,9 +7052,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
7030
7052
|
// API Service.
|
|
7031
7053
|
// *********************************
|
|
7032
7054
|
class PostPerformanceApiService {
|
|
7033
|
-
constructor(
|
|
7034
|
-
this.
|
|
7035
|
-
this.
|
|
7055
|
+
constructor() {
|
|
7056
|
+
this.hostService = inject(HostService);
|
|
7057
|
+
this.http = inject(HttpClient);
|
|
7036
7058
|
this._host = this.hostService.hostWithScheme;
|
|
7037
7059
|
}
|
|
7038
7060
|
apiOptions() {
|
|
@@ -7054,12 +7076,12 @@ class PostPerformanceApiService {
|
|
|
7054
7076
|
.pipe(map(resp => GetGeneratedCSVForPerformanceStatsResponse.fromProto(resp)));
|
|
7055
7077
|
}
|
|
7056
7078
|
}
|
|
7057
|
-
PostPerformanceApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostPerformanceApiService, deps: [
|
|
7079
|
+
PostPerformanceApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostPerformanceApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7058
7080
|
PostPerformanceApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostPerformanceApiService, providedIn: 'root' });
|
|
7059
7081
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostPerformanceApiService, decorators: [{
|
|
7060
7082
|
type: Injectable,
|
|
7061
7083
|
args: [{ providedIn: 'root' }]
|
|
7062
|
-
}]
|
|
7084
|
+
}] });
|
|
7063
7085
|
|
|
7064
7086
|
// *********************************
|
|
7065
7087
|
// Code generated by sdkgen
|
|
@@ -7068,9 +7090,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
7068
7090
|
// API Service.
|
|
7069
7091
|
// *********************************
|
|
7070
7092
|
class SocialPostsV2ApiService {
|
|
7071
|
-
constructor(
|
|
7072
|
-
this.
|
|
7073
|
-
this.
|
|
7093
|
+
constructor() {
|
|
7094
|
+
this.hostService = inject(HostService);
|
|
7095
|
+
this.http = inject(HttpClient);
|
|
7074
7096
|
this._host = this.hostService.hostWithScheme;
|
|
7075
7097
|
}
|
|
7076
7098
|
apiOptions() {
|
|
@@ -7111,12 +7133,12 @@ class SocialPostsV2ApiService {
|
|
|
7111
7133
|
return this.http.post(this._host + "/socialposts.v2.SocialPostsV2/RepostSocialPost", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
|
|
7112
7134
|
}
|
|
7113
7135
|
}
|
|
7114
|
-
SocialPostsV2ApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2ApiService, deps: [
|
|
7136
|
+
SocialPostsV2ApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2ApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7115
7137
|
SocialPostsV2ApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2ApiService, providedIn: 'root' });
|
|
7116
7138
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2ApiService, decorators: [{
|
|
7117
7139
|
type: Injectable,
|
|
7118
7140
|
args: [{ providedIn: 'root' }]
|
|
7119
|
-
}]
|
|
7141
|
+
}] });
|
|
7120
7142
|
|
|
7121
7143
|
// *********************************
|
|
7122
7144
|
// Code generated by sdkgen
|
|
@@ -7125,9 +7147,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
7125
7147
|
// API Service.
|
|
7126
7148
|
// *********************************
|
|
7127
7149
|
class TenorGifsApiService {
|
|
7128
|
-
constructor(
|
|
7129
|
-
this.
|
|
7130
|
-
this.
|
|
7150
|
+
constructor() {
|
|
7151
|
+
this.hostService = inject(HostService);
|
|
7152
|
+
this.http = inject(HttpClient);
|
|
7131
7153
|
this._host = this.hostService.hostWithScheme;
|
|
7132
7154
|
}
|
|
7133
7155
|
apiOptions() {
|
|
@@ -7149,12 +7171,12 @@ class TenorGifsApiService {
|
|
|
7149
7171
|
.pipe(map(resp => ListTenorGifsResponse.fromProto(resp)));
|
|
7150
7172
|
}
|
|
7151
7173
|
}
|
|
7152
|
-
TenorGifsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TenorGifsApiService, deps: [
|
|
7174
|
+
TenorGifsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TenorGifsApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7153
7175
|
TenorGifsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TenorGifsApiService, providedIn: 'root' });
|
|
7154
7176
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TenorGifsApiService, decorators: [{
|
|
7155
7177
|
type: Injectable,
|
|
7156
7178
|
args: [{ providedIn: 'root' }]
|
|
7157
|
-
}]
|
|
7179
|
+
}] });
|
|
7158
7180
|
|
|
7159
7181
|
// *********************************
|
|
7160
7182
|
// Code generated by sdkgen
|
|
@@ -7163,9 +7185,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
7163
7185
|
// API Service.
|
|
7164
7186
|
// *********************************
|
|
7165
7187
|
class UnsplashApiService {
|
|
7166
|
-
constructor(
|
|
7167
|
-
this.
|
|
7168
|
-
this.
|
|
7188
|
+
constructor() {
|
|
7189
|
+
this.hostService = inject(HostService);
|
|
7190
|
+
this.http = inject(HttpClient);
|
|
7169
7191
|
this._host = this.hostService.hostWithScheme;
|
|
7170
7192
|
}
|
|
7171
7193
|
apiOptions() {
|
|
@@ -7187,12 +7209,12 @@ class UnsplashApiService {
|
|
|
7187
7209
|
.pipe(map(resp => UploadToStorageResponse.fromProto(resp)));
|
|
7188
7210
|
}
|
|
7189
7211
|
}
|
|
7190
|
-
UnsplashApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UnsplashApiService, deps: [
|
|
7212
|
+
UnsplashApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UnsplashApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7191
7213
|
UnsplashApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UnsplashApiService, providedIn: 'root' });
|
|
7192
7214
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UnsplashApiService, decorators: [{
|
|
7193
7215
|
type: Injectable,
|
|
7194
7216
|
args: [{ providedIn: 'root' }]
|
|
7195
|
-
}]
|
|
7217
|
+
}] });
|
|
7196
7218
|
|
|
7197
7219
|
// *********************************
|
|
7198
7220
|
// Code generated by sdkgen
|
|
@@ -7201,9 +7223,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
7201
7223
|
// API Service.
|
|
7202
7224
|
// *********************************
|
|
7203
7225
|
class WordpressPluginApiService {
|
|
7204
|
-
constructor(
|
|
7205
|
-
this.
|
|
7206
|
-
this.
|
|
7226
|
+
constructor() {
|
|
7227
|
+
this.hostService = inject(HostService);
|
|
7228
|
+
this.http = inject(HttpClient);
|
|
7207
7229
|
this._host = this.hostService.hostWithScheme;
|
|
7208
7230
|
}
|
|
7209
7231
|
apiOptions() {
|
|
@@ -7234,13 +7256,17 @@ class WordpressPluginApiService {
|
|
|
7234
7256
|
return this.http.post(this._host + "/socialposts.v2.WordpressPluginService/PublishPost", request.toApiJson(), this.apiOptions())
|
|
7235
7257
|
.pipe(map(resp => PublishPostResponse.fromProto(resp)));
|
|
7236
7258
|
}
|
|
7259
|
+
repostBlogPost(r) {
|
|
7260
|
+
const request = (r.toApiJson) ? r : new RepostBlogPostRequest(r);
|
|
7261
|
+
return this.http.post(this._host + "/socialposts.v2.WordpressPluginService/RepostBlogPost", request.toApiJson(), { ...this.apiOptions(), observe: 'response' });
|
|
7262
|
+
}
|
|
7237
7263
|
}
|
|
7238
|
-
WordpressPluginApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WordpressPluginApiService, deps: [
|
|
7264
|
+
WordpressPluginApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WordpressPluginApiService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7239
7265
|
WordpressPluginApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WordpressPluginApiService, providedIn: 'root' });
|
|
7240
7266
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WordpressPluginApiService, decorators: [{
|
|
7241
7267
|
type: Injectable,
|
|
7242
7268
|
args: [{ providedIn: 'root' }]
|
|
7243
|
-
}]
|
|
7269
|
+
}] });
|
|
7244
7270
|
|
|
7245
7271
|
// *********************************
|
|
7246
7272
|
// Code generated by sdkgen
|
|
@@ -7520,22 +7546,24 @@ class AiInstructionService {
|
|
|
7520
7546
|
});
|
|
7521
7547
|
return this.instructionsService.getCommonAiInstructions(request);
|
|
7522
7548
|
}
|
|
7523
|
-
createAiInstructions(businessId, partnerId, instructions, dataUsageStatus) {
|
|
7549
|
+
createAiInstructions(businessId, partnerId, instructions, dataUsageStatus, blogInstructions) {
|
|
7524
7550
|
const aiInstructions = new AiInstructions({
|
|
7525
7551
|
commonAiInstructions: instructions,
|
|
7526
7552
|
dataUsageStatus: dataUsageStatus,
|
|
7553
|
+
aiBlogInstructions: blogInstructions
|
|
7527
7554
|
});
|
|
7528
7555
|
const request = new CreateCommonAiInstructionsRequest({
|
|
7529
7556
|
businessId: businessId,
|
|
7530
7557
|
partnerId: partnerId,
|
|
7531
|
-
aiInstructions: aiInstructions
|
|
7558
|
+
aiInstructions: aiInstructions,
|
|
7532
7559
|
});
|
|
7533
7560
|
return this.instructionsService.createCommonAiInstructions(request);
|
|
7534
7561
|
}
|
|
7535
|
-
updateAiInstructions(businessId, partnerId, instructions, dataUsageStatus) {
|
|
7562
|
+
updateAiInstructions(businessId, partnerId, instructions, dataUsageStatus, blogInstructions) {
|
|
7536
7563
|
const aiInstructions = new AiInstructions({
|
|
7537
7564
|
commonAiInstructions: instructions,
|
|
7538
7565
|
dataUsageStatus: dataUsageStatus,
|
|
7566
|
+
aiBlogInstructions: blogInstructions
|
|
7539
7567
|
});
|
|
7540
7568
|
const request = new UpdateCommonAiInstructionsRequest({
|
|
7541
7569
|
businessId: businessId,
|
|
@@ -7719,6 +7747,9 @@ class WordpressPluginService {
|
|
|
7719
7747
|
getAuthors(authorsRequestInterface) {
|
|
7720
7748
|
return this.wordpressPluginApiService.getAuthors(authorsRequestInterface);
|
|
7721
7749
|
}
|
|
7750
|
+
repostBlogPost(RepostBlogPostRequestInterface) {
|
|
7751
|
+
return this.wordpressPluginApiService.repostBlogPost(RepostBlogPostRequestInterface);
|
|
7752
|
+
}
|
|
7722
7753
|
}
|
|
7723
7754
|
WordpressPluginService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WordpressPluginService, deps: [{ token: WordpressPluginApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
7724
7755
|
WordpressPluginService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: WordpressPluginService, providedIn: 'root' });
|
|
@@ -7752,5 +7783,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
7752
7783
|
* Generated bundle index. Do not edit.
|
|
7753
7784
|
*/
|
|
7754
7785
|
|
|
7755
|
-
export { Access, Action, ActionType, AiInstructionService, AiInstructions, Ancestry, Author$1 as Author, AuthorsRequest, AuthorsResponse, BlogConnection, BlogConnectionService, BlogImage, BlogPost, BlogPostCustomization, BlogPostsService, BlogVideo, CallToAction, CallToActionCallToActionType, Category$1 as Category, CategoryRequest, CategoryResponse, ChatBotService, ChatBotV2Service, ChatMessage, Collection, ContentGenerationService, ContentLength, CreateBlogConnectionRequest, CreateBlogConnectionResponse, CreateCommonAiInstructionsRequest, CreateCommonAiInstructionsResponse, CreateImageRequest, CreateImageResponse, CreateMultilocationPostRequest, CreateMultilocationPostResponse, CreatePostTemplateRequest, CreatePostTemplateResponse, CuratedContentPost, DateRangeFilter, DeleteBlogConnectionRequest, DeleteBlogPostRequest, DeleteHashtagsRequest, DeleteMultilocationPostRequest, DeletePostRequest, DeletePostTemplateRequest, DeleteSocialPostRequest, EditMultilocationPostRequest, EditMultilocationPostResponse, EndChatRequest, Error, Event, FacebookPostStats, FieldMask, GenerateAiRequest, GenerateAiResponse, GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GeneratePostsRequest, GeneratePostsResponse, GeneratePostsResponsePost, GenerateType, GetBlogConnectionRequest, GetBlogConnectionResponse, GetCommonAiInstructionsRequest, GetCommonAiInstructionsResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse, GetMultiBlogPostsRequest, GetMultiBlogPostsResponse, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, GetPostTemplateRequest, GetPostTemplateResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, HashTagsService, Hashtag, Image, ImageBlob, ImageCreated, ImageUrl, LinkV2, Links, ListBlogConnectionRequest, ListBlogConnectionResponse, ListCuratedContentRequest, ListCuratedContentResponse, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListTenorGifsRequest, ListTenorGifsResponse, ListUnsplashImagesRequest, ListUnsplashImagesResponse, Location, Media, MediaEntry, MediaProperty, MediaType, MediaUploadRequest, MediaUploadResponse, MessageLength, MetaData, MetadataV2, MultiResponse, MultilocationPost, MultilocationPostApiService, MultilocationPostError, MultilocationPostsService, PartnerListScheduledPostsResponse, PartnerListScheduledSocialPostsRequest, PartnerListScheduledSocialPostsRequestFilters, Photo, PixabayImage, PixabayImageService, PostAction, PostActionV2, PostContentV2, PostCustomization, PostCustomizationV2, PostData, PostEvent, PostEventV2, PostMediaV2, PostPerformanceApiService, PostPerformanceService, PostStatusV2, PostTemplate, PostTemplatesService, PostType, PostTypeV2, PostingStatus, PublishPostRequest, PublishPostResponse, RemoveFromMultilocationPostRequest, RemoveReason, ReplaceHashtagsRequest, RepostSocialPostRequest, Response, Role, SSIDPostType, SchedulePostRequest, SchedulePostResponse, SchedulePostStatus, ScheduleToAllPagesRequest, ScheduleToAllPagesResponse, SearchHashtagRequest, SearchHashtagResponse, SendMessageRequest, SendMessageResponse, SendMessageV2Request, SendMessageV2Response, Social, SocialPost, SocialPostData, SocialPostDeletionStatus, SocialPostOutput, SocialPostRequest, SocialPostResponse, SocialPostService, SocialPostStats, SocialPostV2, SocialPostsService, SocialPostsV2Service, Source, StartChatRequest, StartChatResponse, StatusRequest, StatusResponse, SubAncestry, SuggestMessageRequest, SuggestMessageResponse, Tags, TemplateType, TenorGif, TenorGifMediaMapEntry, TenorGifsService, TenorMediaObject, TikTokCustomization, TikTokCustomizationV2, TwitterPostStats, UnsplashImageService, UpdateBlogConnectionRequest, UpdateBlogPostRequest, UpdateCommonAiInstructionsRequest, UpdateCommonAiInstructionsResponse, UpdatePostTemplateRequest, UpdateSocialPostRequest, UpdateSocialPostResponse, UploadToStorageRequest, UploadToStorageResponse, UploadedMedia, Urls, User, UserLink, WordpressPluginService, YoutubeCustomization, YoutubeCustomizationPrivacyStatus, YoutubeCustomizationV2, YoutubeCustomizationV2PrivacyStatusV2 };
|
|
7786
|
+
export { Access, Action, ActionType, AiInstructionService, AiInstructions, Ancestry, Author$1 as Author, AuthorsRequest, AuthorsResponse, BlogConnection, BlogConnectionService, BlogImage, BlogPost, BlogPostCustomization, BlogPostsService, BlogVideo, CallToAction, CallToActionCallToActionType, Category$1 as Category, CategoryRequest, CategoryResponse, ChatBotService, ChatBotV2Service, ChatMessage, Collection, ContentGenerationService, ContentLength, CreateBlogConnectionRequest, CreateBlogConnectionResponse, CreateCommonAiInstructionsRequest, CreateCommonAiInstructionsResponse, CreateImageRequest, CreateImageResponse, CreateMultilocationPostRequest, CreateMultilocationPostResponse, CreatePostTemplateRequest, CreatePostTemplateResponse, CuratedContentPost, DateRangeFilter, DeleteBlogConnectionRequest, DeleteBlogPostRequest, DeleteHashtagsRequest, DeleteMultilocationPostRequest, DeletePostRequest, DeletePostTemplateRequest, DeleteSocialPostRequest, EditMultilocationPostRequest, EditMultilocationPostResponse, EndChatRequest, Error, Event, FacebookPostStats, FieldMask, GenerateAiRequest, GenerateAiResponse, GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GeneratePostsRequest, GeneratePostsResponse, GeneratePostsResponsePost, GenerateType, GetBlogConnectionRequest, GetBlogConnectionResponse, GetCommonAiInstructionsRequest, GetCommonAiInstructionsResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse, GetMultiBlogPostsRequest, GetMultiBlogPostsResponse, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, GetPostTemplateRequest, GetPostTemplateResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, HashTagsService, Hashtag, Image, ImageBlob, ImageCreated, ImageUrl, LinkV2, Links, ListBlogConnectionRequest, ListBlogConnectionResponse, ListCuratedContentRequest, ListCuratedContentResponse, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListTenorGifsRequest, ListTenorGifsResponse, ListUnsplashImagesRequest, ListUnsplashImagesResponse, Location, Media, MediaEntry, MediaProperty, MediaType, MediaUploadRequest, MediaUploadResponse, MessageLength, MetaData, MetadataV2, MultiResponse, MultilocationPost, MultilocationPostApiService, MultilocationPostError, MultilocationPostsService, PartnerListScheduledPostsResponse, PartnerListScheduledSocialPostsRequest, PartnerListScheduledSocialPostsRequestFilters, Photo, PixabayImage, PixabayImageService, PostAction, PostActionV2, PostContentV2, PostCustomization, PostCustomizationV2, PostData, PostEvent, PostEventV2, PostMediaV2, PostPerformanceApiService, PostPerformanceService, PostStatusV2, PostTemplate, PostTemplatesService, PostType, PostTypeV2, PostingStatus, PublishPostRequest, PublishPostResponse, RemoveFromMultilocationPostRequest, RemoveReason, ReplaceHashtagsRequest, RepostBlogPostRequest, RepostSocialPostRequest, Response, Role, SSIDPostType, SchedulePostRequest, SchedulePostResponse, SchedulePostStatus, ScheduleToAllPagesRequest, ScheduleToAllPagesResponse, SearchHashtagRequest, SearchHashtagResponse, SendMessageRequest, SendMessageResponse, SendMessageV2Request, SendMessageV2Response, Social, SocialPost, SocialPostData, SocialPostDeletionStatus, SocialPostOutput, SocialPostRequest, SocialPostResponse, SocialPostService, SocialPostStats, SocialPostV2, SocialPostsService, SocialPostsV2Service, Source, StartChatRequest, StartChatResponse, StatusRequest, StatusResponse, SubAncestry, SuggestMessageRequest, SuggestMessageResponse, Tags, TemplateType, TenorGif, TenorGifMediaMapEntry, TenorGifsService, TenorMediaObject, TikTokCustomization, TikTokCustomizationV2, TwitterPostStats, UnsplashImageService, UpdateBlogConnectionRequest, UpdateBlogPostRequest, UpdateCommonAiInstructionsRequest, UpdateCommonAiInstructionsResponse, UpdatePostTemplateRequest, UpdateSocialPostRequest, UpdateSocialPostResponse, UploadToStorageRequest, UploadToStorageResponse, UploadedMedia, Urls, User, UserLink, WordpressPluginService, YoutubeCustomization, YoutubeCustomizationPrivacyStatus, YoutubeCustomizationV2, YoutubeCustomizationV2PrivacyStatusV2 };
|
|
7756
7787
|
//# sourceMappingURL=vendasta-social-posts.mjs.map
|