@vendasta/social-posts 5.16.2 → 5.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2020/lib/_generated/host.service.mjs +4 -4
- package/esm2020/lib/_internal/common-ai-instructions.api.service.mjs +51 -0
- package/esm2020/lib/_internal/hash-tags.api.service.mjs +4 -4
- package/esm2020/lib/_internal/index.mjs +2 -1
- package/esm2020/lib/_internal/interfaces/api-v2.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/linkedin.api.service.mjs +4 -4
- package/esm2020/lib/_internal/multilocation-post.api.service.mjs +4 -4
- package/esm2020/lib/_internal/objects/api-v2.mjs +171 -1
- package/esm2020/lib/_internal/objects/index.mjs +2 -2
- package/esm2020/lib/_internal/partner-social-posts.api.service.mjs +4 -4
- package/esm2020/lib/_internal/pixabay-images.api.service.mjs +4 -4
- package/esm2020/lib/_internal/post-performance.api.service.mjs +4 -4
- package/esm2020/lib/_internal/post-templates.api.service.mjs +4 -4
- package/esm2020/lib/_internal/social-posts-v2.api.service.mjs +4 -4
- package/esm2020/lib/_internal/social-posts.api.service.mjs +4 -4
- package/esm2020/lib/_internal/tenor-gifs.api.service.mjs +4 -4
- package/esm2020/lib/ai-instructions.service.mjs +46 -0
- package/esm2020/lib/hashtag.service.mjs +4 -4
- package/esm2020/lib/index.mjs +2 -1
- package/esm2020/lib/multilocation-posts.service.mjs +4 -4
- package/esm2020/lib/pixabay-image.service.mjs +4 -4
- package/esm2020/lib/post-performance.service.mjs +4 -4
- package/esm2020/lib/post-templates.service.mjs +4 -4
- package/esm2020/lib/social-post-v2.service.mjs +4 -4
- package/esm2020/lib/social-posts.service.mjs +4 -4
- package/esm2020/lib/tenor-gifs.service.mjs +4 -4
- package/fesm2015/vendasta-social-posts.mjs +377 -58
- package/fesm2015/vendasta-social-posts.mjs.map +1 -1
- package/fesm2020/vendasta-social-posts.mjs +377 -58
- package/fesm2020/vendasta-social-posts.mjs.map +1 -1
- package/lib/_internal/common-ai-instructions.api.service.d.ts +18 -0
- package/lib/_internal/index.d.ts +1 -0
- package/lib/_internal/interfaces/api-v2.interface.d.ts +26 -0
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/objects/api-v2.d.ts +47 -0
- package/lib/_internal/objects/index.d.ts +1 -1
- package/lib/ai-instructions.service.d.ts +13 -0
- package/lib/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -198,6 +198,11 @@ var MediaType;
|
|
|
198
198
|
MediaType[MediaType["MEDIA_TYPE_CAROUSEL"] = 4] = "MEDIA_TYPE_CAROUSEL";
|
|
199
199
|
})(MediaType || (MediaType = {}));
|
|
200
200
|
|
|
201
|
+
// *********************************
|
|
202
|
+
// Code generated by sdkgen
|
|
203
|
+
// DO NOT EDIT!.
|
|
204
|
+
//
|
|
205
|
+
// Enums Index.
|
|
201
206
|
// *********************************
|
|
202
207
|
|
|
203
208
|
function enumStringToValue$8(enumRef, value) {
|
|
@@ -3365,6 +3370,78 @@ function enumStringToValue(enumRef, value) {
|
|
|
3365
3370
|
}
|
|
3366
3371
|
return enumRef[value];
|
|
3367
3372
|
}
|
|
3373
|
+
class AiInstructions {
|
|
3374
|
+
static fromProto(proto) {
|
|
3375
|
+
let m = new AiInstructions();
|
|
3376
|
+
m = Object.assign(m, proto);
|
|
3377
|
+
return m;
|
|
3378
|
+
}
|
|
3379
|
+
constructor(kwargs) {
|
|
3380
|
+
if (!kwargs) {
|
|
3381
|
+
return;
|
|
3382
|
+
}
|
|
3383
|
+
Object.assign(this, kwargs);
|
|
3384
|
+
}
|
|
3385
|
+
toApiJson() {
|
|
3386
|
+
const toReturn = {};
|
|
3387
|
+
if (typeof this.commonAiInstructions !== 'undefined') {
|
|
3388
|
+
toReturn['commonAiInstructions'] = this.commonAiInstructions;
|
|
3389
|
+
}
|
|
3390
|
+
return toReturn;
|
|
3391
|
+
}
|
|
3392
|
+
}
|
|
3393
|
+
class CreateCommonAiInstructionsRequest {
|
|
3394
|
+
static fromProto(proto) {
|
|
3395
|
+
let m = new CreateCommonAiInstructionsRequest();
|
|
3396
|
+
m = Object.assign(m, proto);
|
|
3397
|
+
if (proto.aiInstructions) {
|
|
3398
|
+
m.aiInstructions = AiInstructions.fromProto(proto.aiInstructions);
|
|
3399
|
+
}
|
|
3400
|
+
return m;
|
|
3401
|
+
}
|
|
3402
|
+
constructor(kwargs) {
|
|
3403
|
+
if (!kwargs) {
|
|
3404
|
+
return;
|
|
3405
|
+
}
|
|
3406
|
+
Object.assign(this, kwargs);
|
|
3407
|
+
}
|
|
3408
|
+
toApiJson() {
|
|
3409
|
+
const toReturn = {};
|
|
3410
|
+
if (typeof this.businessId !== 'undefined') {
|
|
3411
|
+
toReturn['businessId'] = this.businessId;
|
|
3412
|
+
}
|
|
3413
|
+
if (typeof this.partnerId !== 'undefined') {
|
|
3414
|
+
toReturn['partnerId'] = this.partnerId;
|
|
3415
|
+
}
|
|
3416
|
+
if (typeof this.aiInstructions !== 'undefined' && this.aiInstructions !== null) {
|
|
3417
|
+
toReturn['aiInstructions'] = 'toApiJson' in this.aiInstructions ? this.aiInstructions.toApiJson() : this.aiInstructions;
|
|
3418
|
+
}
|
|
3419
|
+
return toReturn;
|
|
3420
|
+
}
|
|
3421
|
+
}
|
|
3422
|
+
class CreateCommonAiInstructionsResponse {
|
|
3423
|
+
static fromProto(proto) {
|
|
3424
|
+
let m = new CreateCommonAiInstructionsResponse();
|
|
3425
|
+
m = Object.assign(m, proto);
|
|
3426
|
+
if (proto.aiInstructions) {
|
|
3427
|
+
m.aiInstructions = AiInstructions.fromProto(proto.aiInstructions);
|
|
3428
|
+
}
|
|
3429
|
+
return m;
|
|
3430
|
+
}
|
|
3431
|
+
constructor(kwargs) {
|
|
3432
|
+
if (!kwargs) {
|
|
3433
|
+
return;
|
|
3434
|
+
}
|
|
3435
|
+
Object.assign(this, kwargs);
|
|
3436
|
+
}
|
|
3437
|
+
toApiJson() {
|
|
3438
|
+
const toReturn = {};
|
|
3439
|
+
if (typeof this.aiInstructions !== 'undefined' && this.aiInstructions !== null) {
|
|
3440
|
+
toReturn['aiInstructions'] = 'toApiJson' in this.aiInstructions ? this.aiInstructions.toApiJson() : this.aiInstructions;
|
|
3441
|
+
}
|
|
3442
|
+
return toReturn;
|
|
3443
|
+
}
|
|
3444
|
+
}
|
|
3368
3445
|
class CreateImageRequest {
|
|
3369
3446
|
static fromProto(proto) {
|
|
3370
3447
|
let m = new CreateImageRequest();
|
|
@@ -3464,6 +3541,52 @@ class DeletePostRequest {
|
|
|
3464
3541
|
return toReturn;
|
|
3465
3542
|
}
|
|
3466
3543
|
}
|
|
3544
|
+
class GetCommonAiInstructionsRequest {
|
|
3545
|
+
static fromProto(proto) {
|
|
3546
|
+
let m = new GetCommonAiInstructionsRequest();
|
|
3547
|
+
m = Object.assign(m, proto);
|
|
3548
|
+
return m;
|
|
3549
|
+
}
|
|
3550
|
+
constructor(kwargs) {
|
|
3551
|
+
if (!kwargs) {
|
|
3552
|
+
return;
|
|
3553
|
+
}
|
|
3554
|
+
Object.assign(this, kwargs);
|
|
3555
|
+
}
|
|
3556
|
+
toApiJson() {
|
|
3557
|
+
const toReturn = {};
|
|
3558
|
+
if (typeof this.businessId !== 'undefined') {
|
|
3559
|
+
toReturn['businessId'] = this.businessId;
|
|
3560
|
+
}
|
|
3561
|
+
if (typeof this.partnerId !== 'undefined') {
|
|
3562
|
+
toReturn['partnerId'] = this.partnerId;
|
|
3563
|
+
}
|
|
3564
|
+
return toReturn;
|
|
3565
|
+
}
|
|
3566
|
+
}
|
|
3567
|
+
class GetCommonAiInstructionsResponse {
|
|
3568
|
+
static fromProto(proto) {
|
|
3569
|
+
let m = new GetCommonAiInstructionsResponse();
|
|
3570
|
+
m = Object.assign(m, proto);
|
|
3571
|
+
if (proto.aiInstructions) {
|
|
3572
|
+
m.aiInstructions = AiInstructions.fromProto(proto.aiInstructions);
|
|
3573
|
+
}
|
|
3574
|
+
return m;
|
|
3575
|
+
}
|
|
3576
|
+
constructor(kwargs) {
|
|
3577
|
+
if (!kwargs) {
|
|
3578
|
+
return;
|
|
3579
|
+
}
|
|
3580
|
+
Object.assign(this, kwargs);
|
|
3581
|
+
}
|
|
3582
|
+
toApiJson() {
|
|
3583
|
+
const toReturn = {};
|
|
3584
|
+
if (typeof this.aiInstructions !== 'undefined' && this.aiInstructions !== null) {
|
|
3585
|
+
toReturn['aiInstructions'] = 'toApiJson' in this.aiInstructions ? this.aiInstructions.toApiJson() : this.aiInstructions;
|
|
3586
|
+
}
|
|
3587
|
+
return toReturn;
|
|
3588
|
+
}
|
|
3589
|
+
}
|
|
3467
3590
|
class ImageBlob {
|
|
3468
3591
|
static fromProto(proto) {
|
|
3469
3592
|
let m = new ImageBlob();
|
|
@@ -3689,6 +3812,58 @@ class SocialPostResponse {
|
|
|
3689
3812
|
return toReturn;
|
|
3690
3813
|
}
|
|
3691
3814
|
}
|
|
3815
|
+
class UpdateCommonAiInstructionsRequest {
|
|
3816
|
+
static fromProto(proto) {
|
|
3817
|
+
let m = new UpdateCommonAiInstructionsRequest();
|
|
3818
|
+
m = Object.assign(m, proto);
|
|
3819
|
+
if (proto.aiInstructions) {
|
|
3820
|
+
m.aiInstructions = AiInstructions.fromProto(proto.aiInstructions);
|
|
3821
|
+
}
|
|
3822
|
+
return m;
|
|
3823
|
+
}
|
|
3824
|
+
constructor(kwargs) {
|
|
3825
|
+
if (!kwargs) {
|
|
3826
|
+
return;
|
|
3827
|
+
}
|
|
3828
|
+
Object.assign(this, kwargs);
|
|
3829
|
+
}
|
|
3830
|
+
toApiJson() {
|
|
3831
|
+
const toReturn = {};
|
|
3832
|
+
if (typeof this.businessId !== 'undefined') {
|
|
3833
|
+
toReturn['businessId'] = this.businessId;
|
|
3834
|
+
}
|
|
3835
|
+
if (typeof this.partnerId !== 'undefined') {
|
|
3836
|
+
toReturn['partnerId'] = this.partnerId;
|
|
3837
|
+
}
|
|
3838
|
+
if (typeof this.aiInstructions !== 'undefined' && this.aiInstructions !== null) {
|
|
3839
|
+
toReturn['aiInstructions'] = 'toApiJson' in this.aiInstructions ? this.aiInstructions.toApiJson() : this.aiInstructions;
|
|
3840
|
+
}
|
|
3841
|
+
return toReturn;
|
|
3842
|
+
}
|
|
3843
|
+
}
|
|
3844
|
+
class UpdateCommonAiInstructionsResponse {
|
|
3845
|
+
static fromProto(proto) {
|
|
3846
|
+
let m = new UpdateCommonAiInstructionsResponse();
|
|
3847
|
+
m = Object.assign(m, proto);
|
|
3848
|
+
if (proto.aiInstructions) {
|
|
3849
|
+
m.aiInstructions = AiInstructions.fromProto(proto.aiInstructions);
|
|
3850
|
+
}
|
|
3851
|
+
return m;
|
|
3852
|
+
}
|
|
3853
|
+
constructor(kwargs) {
|
|
3854
|
+
if (!kwargs) {
|
|
3855
|
+
return;
|
|
3856
|
+
}
|
|
3857
|
+
Object.assign(this, kwargs);
|
|
3858
|
+
}
|
|
3859
|
+
toApiJson() {
|
|
3860
|
+
const toReturn = {};
|
|
3861
|
+
if (typeof this.aiInstructions !== 'undefined' && this.aiInstructions !== null) {
|
|
3862
|
+
toReturn['aiInstructions'] = 'toApiJson' in this.aiInstructions ? this.aiInstructions.toApiJson() : this.aiInstructions;
|
|
3863
|
+
}
|
|
3864
|
+
return toReturn;
|
|
3865
|
+
}
|
|
3866
|
+
}
|
|
3692
3867
|
class UpdateSocialPostRequest {
|
|
3693
3868
|
static fromProto(proto) {
|
|
3694
3869
|
let m = new UpdateSocialPostRequest();
|
|
@@ -3775,6 +3950,11 @@ class UpdateSocialPostResponse {
|
|
|
3775
3950
|
}
|
|
3776
3951
|
}
|
|
3777
3952
|
|
|
3953
|
+
// *********************************
|
|
3954
|
+
// Code generated by sdkgen
|
|
3955
|
+
// DO NOT EDIT!.
|
|
3956
|
+
//
|
|
3957
|
+
// Objects Index.
|
|
3778
3958
|
// *********************************
|
|
3779
3959
|
|
|
3780
3960
|
var _a;
|
|
@@ -3794,13 +3974,18 @@ class HostService {
|
|
|
3794
3974
|
return 'https://' + this.host;
|
|
3795
3975
|
}
|
|
3796
3976
|
}
|
|
3797
|
-
HostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
3798
|
-
HostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
3799
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
3977
|
+
HostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HostService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3978
|
+
HostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HostService, providedIn: 'root' });
|
|
3979
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HostService, decorators: [{
|
|
3800
3980
|
type: Injectable,
|
|
3801
3981
|
args: [{ providedIn: 'root' }]
|
|
3802
3982
|
}] });
|
|
3803
3983
|
|
|
3984
|
+
// *********************************
|
|
3985
|
+
// Code generated by sdkgen
|
|
3986
|
+
// DO NOT EDIT!.
|
|
3987
|
+
//
|
|
3988
|
+
// API Service.
|
|
3804
3989
|
// *********************************
|
|
3805
3990
|
class SocialPostsApiService {
|
|
3806
3991
|
constructor(http, hostService) {
|
|
@@ -3856,9 +4041,9 @@ class SocialPostsApiService {
|
|
|
3856
4041
|
.pipe(map(resp => SuggestMessageResponse.fromProto(resp)));
|
|
3857
4042
|
}
|
|
3858
4043
|
}
|
|
3859
|
-
SocialPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
3860
|
-
SocialPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
3861
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
4044
|
+
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 });
|
|
4045
|
+
SocialPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsApiService, providedIn: 'root' });
|
|
4046
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsApiService, decorators: [{
|
|
3862
4047
|
type: Injectable,
|
|
3863
4048
|
args: [{ providedIn: 'root' }]
|
|
3864
4049
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
@@ -3897,13 +4082,61 @@ class SocialPostsService {
|
|
|
3897
4082
|
return this.socialPostsApiService.suggestMessage(req);
|
|
3898
4083
|
}
|
|
3899
4084
|
}
|
|
3900
|
-
SocialPostsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
3901
|
-
SocialPostsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
3902
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
4085
|
+
SocialPostsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsService, deps: [{ token: SocialPostsApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4086
|
+
SocialPostsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsService, providedIn: 'root' });
|
|
4087
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsService, decorators: [{
|
|
3903
4088
|
type: Injectable,
|
|
3904
4089
|
args: [{ providedIn: 'root' }]
|
|
3905
4090
|
}], ctorParameters: function () { return [{ type: SocialPostsApiService }]; } });
|
|
3906
4091
|
|
|
4092
|
+
// *********************************
|
|
4093
|
+
// Code generated by sdkgen
|
|
4094
|
+
// DO NOT EDIT!.
|
|
4095
|
+
//
|
|
4096
|
+
// API Service.
|
|
4097
|
+
// *********************************
|
|
4098
|
+
class CommonAiInstructionsApiService {
|
|
4099
|
+
constructor(http, hostService) {
|
|
4100
|
+
this.http = http;
|
|
4101
|
+
this.hostService = hostService;
|
|
4102
|
+
this._host = this.hostService.hostWithScheme;
|
|
4103
|
+
}
|
|
4104
|
+
apiOptions() {
|
|
4105
|
+
return {
|
|
4106
|
+
headers: new HttpHeaders({
|
|
4107
|
+
'Content-Type': 'application/json'
|
|
4108
|
+
}),
|
|
4109
|
+
withCredentials: true
|
|
4110
|
+
};
|
|
4111
|
+
}
|
|
4112
|
+
createCommonAiInstructions(r) {
|
|
4113
|
+
const request = (r.toApiJson) ? r : new CreateCommonAiInstructionsRequest(r);
|
|
4114
|
+
return this.http.post(this._host + "/socialposts.v2.CommonAiInstructions/CreateCommonAiInstructions", request.toApiJson(), this.apiOptions())
|
|
4115
|
+
.pipe(map(resp => CreateCommonAiInstructionsResponse.fromProto(resp)));
|
|
4116
|
+
}
|
|
4117
|
+
updateCommonAiInstructions(r) {
|
|
4118
|
+
const request = (r.toApiJson) ? r : new UpdateCommonAiInstructionsRequest(r);
|
|
4119
|
+
return this.http.post(this._host + "/socialposts.v2.CommonAiInstructions/UpdateCommonAiInstructions", request.toApiJson(), this.apiOptions())
|
|
4120
|
+
.pipe(map(resp => UpdateCommonAiInstructionsResponse.fromProto(resp)));
|
|
4121
|
+
}
|
|
4122
|
+
getCommonAiInstructions(r) {
|
|
4123
|
+
const request = (r.toApiJson) ? r : new GetCommonAiInstructionsRequest(r);
|
|
4124
|
+
return this.http.post(this._host + "/socialposts.v2.CommonAiInstructions/GetCommonAiInstructions", request.toApiJson(), this.apiOptions())
|
|
4125
|
+
.pipe(map(resp => GetCommonAiInstructionsResponse.fromProto(resp)));
|
|
4126
|
+
}
|
|
4127
|
+
}
|
|
4128
|
+
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 });
|
|
4129
|
+
CommonAiInstructionsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommonAiInstructionsApiService, providedIn: 'root' });
|
|
4130
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CommonAiInstructionsApiService, decorators: [{
|
|
4131
|
+
type: Injectable,
|
|
4132
|
+
args: [{ providedIn: 'root' }]
|
|
4133
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
4134
|
+
|
|
4135
|
+
// *********************************
|
|
4136
|
+
// Code generated by sdkgen
|
|
4137
|
+
// DO NOT EDIT!.
|
|
4138
|
+
//
|
|
4139
|
+
// API Service.
|
|
3907
4140
|
// *********************************
|
|
3908
4141
|
class HashTagsApiService {
|
|
3909
4142
|
constructor(http, hostService) {
|
|
@@ -3933,13 +4166,18 @@ class HashTagsApiService {
|
|
|
3933
4166
|
.pipe(map(resp => SearchHashtagResponse.fromProto(resp)));
|
|
3934
4167
|
}
|
|
3935
4168
|
}
|
|
3936
|
-
HashTagsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
3937
|
-
HashTagsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
3938
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
4169
|
+
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 });
|
|
4170
|
+
HashTagsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HashTagsApiService, providedIn: 'root' });
|
|
4171
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HashTagsApiService, decorators: [{
|
|
3939
4172
|
type: Injectable,
|
|
3940
4173
|
args: [{ providedIn: 'root' }]
|
|
3941
4174
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
3942
4175
|
|
|
4176
|
+
// *********************************
|
|
4177
|
+
// Code generated by sdkgen
|
|
4178
|
+
// DO NOT EDIT!.
|
|
4179
|
+
//
|
|
4180
|
+
// API Service.
|
|
3943
4181
|
// *********************************
|
|
3944
4182
|
class LinkedinApiService {
|
|
3945
4183
|
constructor(http, hostService) {
|
|
@@ -3965,13 +4203,18 @@ class LinkedinApiService {
|
|
|
3965
4203
|
.pipe(map(resp => MediaUploadResponse.fromProto(resp)));
|
|
3966
4204
|
}
|
|
3967
4205
|
}
|
|
3968
|
-
LinkedinApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
3969
|
-
LinkedinApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
3970
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
4206
|
+
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 });
|
|
4207
|
+
LinkedinApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinkedinApiService, providedIn: 'root' });
|
|
4208
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinkedinApiService, decorators: [{
|
|
3971
4209
|
type: Injectable,
|
|
3972
4210
|
args: [{ providedIn: 'root' }]
|
|
3973
4211
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
3974
4212
|
|
|
4213
|
+
// *********************************
|
|
4214
|
+
// Code generated by sdkgen
|
|
4215
|
+
// DO NOT EDIT!.
|
|
4216
|
+
//
|
|
4217
|
+
// API Service.
|
|
3975
4218
|
// *********************************
|
|
3976
4219
|
class MultilocationPostApiService {
|
|
3977
4220
|
constructor(http, hostService) {
|
|
@@ -4016,13 +4259,18 @@ class MultilocationPostApiService {
|
|
|
4016
4259
|
.pipe(map(resp => GetMultilocationPostResponse.fromProto(resp)));
|
|
4017
4260
|
}
|
|
4018
4261
|
}
|
|
4019
|
-
MultilocationPostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
4020
|
-
MultilocationPostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
4021
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
4262
|
+
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 });
|
|
4263
|
+
MultilocationPostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultilocationPostApiService, providedIn: 'root' });
|
|
4264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultilocationPostApiService, decorators: [{
|
|
4022
4265
|
type: Injectable,
|
|
4023
4266
|
args: [{ providedIn: 'root' }]
|
|
4024
4267
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
4025
4268
|
|
|
4269
|
+
// *********************************
|
|
4270
|
+
// Code generated by sdkgen
|
|
4271
|
+
// DO NOT EDIT!.
|
|
4272
|
+
//
|
|
4273
|
+
// API Service.
|
|
4026
4274
|
// *********************************
|
|
4027
4275
|
class PartnerSocialPostsApiService {
|
|
4028
4276
|
constructor(http, hostService) {
|
|
@@ -4049,13 +4297,18 @@ class PartnerSocialPostsApiService {
|
|
|
4049
4297
|
.pipe(map(resp => PartnerListScheduledPostsResponse.fromProto(resp)));
|
|
4050
4298
|
}
|
|
4051
4299
|
}
|
|
4052
|
-
PartnerSocialPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
4053
|
-
PartnerSocialPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
4054
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
4300
|
+
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 });
|
|
4301
|
+
PartnerSocialPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PartnerSocialPostsApiService, providedIn: 'root' });
|
|
4302
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PartnerSocialPostsApiService, decorators: [{
|
|
4055
4303
|
type: Injectable,
|
|
4056
4304
|
args: [{ providedIn: 'root' }]
|
|
4057
4305
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
4058
4306
|
|
|
4307
|
+
// *********************************
|
|
4308
|
+
// Code generated by sdkgen
|
|
4309
|
+
// DO NOT EDIT!.
|
|
4310
|
+
//
|
|
4311
|
+
// API Service.
|
|
4059
4312
|
// *********************************
|
|
4060
4313
|
class PixabayImagesApiService {
|
|
4061
4314
|
constructor(http, hostService) {
|
|
@@ -4077,13 +4330,18 @@ class PixabayImagesApiService {
|
|
|
4077
4330
|
.pipe(map(resp => ListPixabayImagesResponse.fromProto(resp)));
|
|
4078
4331
|
}
|
|
4079
4332
|
}
|
|
4080
|
-
PixabayImagesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
4081
|
-
PixabayImagesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
4082
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
4333
|
+
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 });
|
|
4334
|
+
PixabayImagesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PixabayImagesApiService, providedIn: 'root' });
|
|
4335
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PixabayImagesApiService, decorators: [{
|
|
4083
4336
|
type: Injectable,
|
|
4084
4337
|
args: [{ providedIn: 'root' }]
|
|
4085
4338
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
4086
4339
|
|
|
4340
|
+
// *********************************
|
|
4341
|
+
// Code generated by sdkgen
|
|
4342
|
+
// DO NOT EDIT!.
|
|
4343
|
+
//
|
|
4344
|
+
// API Service.
|
|
4087
4345
|
// *********************************
|
|
4088
4346
|
class PostPerformanceApiService {
|
|
4089
4347
|
constructor(http, hostService) {
|
|
@@ -4110,13 +4368,18 @@ class PostPerformanceApiService {
|
|
|
4110
4368
|
.pipe(map(resp => GetGeneratedCSVForPerformanceStatsResponse.fromProto(resp)));
|
|
4111
4369
|
}
|
|
4112
4370
|
}
|
|
4113
|
-
PostPerformanceApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
4114
|
-
PostPerformanceApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
4115
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
4371
|
+
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 });
|
|
4372
|
+
PostPerformanceApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostPerformanceApiService, providedIn: 'root' });
|
|
4373
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostPerformanceApiService, decorators: [{
|
|
4116
4374
|
type: Injectable,
|
|
4117
4375
|
args: [{ providedIn: 'root' }]
|
|
4118
4376
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
4119
4377
|
|
|
4378
|
+
// *********************************
|
|
4379
|
+
// Code generated by sdkgen
|
|
4380
|
+
// DO NOT EDIT!.
|
|
4381
|
+
//
|
|
4382
|
+
// API Service.
|
|
4120
4383
|
// *********************************
|
|
4121
4384
|
class PostTemplatesApiService {
|
|
4122
4385
|
constructor(http, hostService) {
|
|
@@ -4156,13 +4419,18 @@ class PostTemplatesApiService {
|
|
|
4156
4419
|
return this.http.post(this._host + "/socialposts.v1.PostTemplates/DeletePostTemplate", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
|
|
4157
4420
|
}
|
|
4158
4421
|
}
|
|
4159
|
-
PostTemplatesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
4160
|
-
PostTemplatesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
4161
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
4422
|
+
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 });
|
|
4423
|
+
PostTemplatesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostTemplatesApiService, providedIn: 'root' });
|
|
4424
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostTemplatesApiService, decorators: [{
|
|
4162
4425
|
type: Injectable,
|
|
4163
4426
|
args: [{ providedIn: 'root' }]
|
|
4164
4427
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
4165
4428
|
|
|
4429
|
+
// *********************************
|
|
4430
|
+
// Code generated by sdkgen
|
|
4431
|
+
// DO NOT EDIT!.
|
|
4432
|
+
//
|
|
4433
|
+
// API Service.
|
|
4166
4434
|
// *********************************
|
|
4167
4435
|
class SocialPostsV2ApiService {
|
|
4168
4436
|
constructor(http, hostService) {
|
|
@@ -4208,13 +4476,18 @@ class SocialPostsV2ApiService {
|
|
|
4208
4476
|
return this.http.post(this._host + "/socialposts.v2.SocialPostsV2/RepostSocialPost", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
|
|
4209
4477
|
}
|
|
4210
4478
|
}
|
|
4211
|
-
SocialPostsV2ApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
4212
|
-
SocialPostsV2ApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
4213
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
4479
|
+
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 });
|
|
4480
|
+
SocialPostsV2ApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2ApiService, providedIn: 'root' });
|
|
4481
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2ApiService, decorators: [{
|
|
4214
4482
|
type: Injectable,
|
|
4215
4483
|
args: [{ providedIn: 'root' }]
|
|
4216
4484
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
4217
4485
|
|
|
4486
|
+
// *********************************
|
|
4487
|
+
// Code generated by sdkgen
|
|
4488
|
+
// DO NOT EDIT!.
|
|
4489
|
+
//
|
|
4490
|
+
// API Service.
|
|
4218
4491
|
// *********************************
|
|
4219
4492
|
class TenorGifsApiService {
|
|
4220
4493
|
constructor(http, hostService) {
|
|
@@ -4241,14 +4514,19 @@ class TenorGifsApiService {
|
|
|
4241
4514
|
.pipe(map(resp => ListTenorGifsResponse.fromProto(resp)));
|
|
4242
4515
|
}
|
|
4243
4516
|
}
|
|
4244
|
-
TenorGifsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
4245
|
-
TenorGifsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
4246
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
4517
|
+
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 });
|
|
4518
|
+
TenorGifsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TenorGifsApiService, providedIn: 'root' });
|
|
4519
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TenorGifsApiService, decorators: [{
|
|
4247
4520
|
type: Injectable,
|
|
4248
4521
|
args: [{ providedIn: 'root' }]
|
|
4249
4522
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
4250
4523
|
|
|
4251
4524
|
// *********************************
|
|
4525
|
+
// Code generated by sdkgen
|
|
4526
|
+
// DO NOT EDIT!.
|
|
4527
|
+
//
|
|
4528
|
+
// Index.
|
|
4529
|
+
// *********************************
|
|
4252
4530
|
|
|
4253
4531
|
class PostTemplatesService {
|
|
4254
4532
|
constructor(socialPostsApiService) {
|
|
@@ -4318,9 +4596,9 @@ class PostTemplatesService {
|
|
|
4318
4596
|
return this.socialPostsApiService.deletePostTemplate(req);
|
|
4319
4597
|
}
|
|
4320
4598
|
}
|
|
4321
|
-
PostTemplatesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
4322
|
-
PostTemplatesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
4323
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
4599
|
+
PostTemplatesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostTemplatesService, deps: [{ token: PostTemplatesApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4600
|
+
PostTemplatesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostTemplatesService, providedIn: 'root' });
|
|
4601
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostTemplatesService, decorators: [{
|
|
4324
4602
|
type: Injectable,
|
|
4325
4603
|
args: [{ providedIn: 'root' }]
|
|
4326
4604
|
}], ctorParameters: function () { return [{ type: PostTemplatesApiService }]; } });
|
|
@@ -4399,9 +4677,9 @@ class MultilocationPostsService {
|
|
|
4399
4677
|
return this.multilocationApiService.getMultilocationPost(req);
|
|
4400
4678
|
}
|
|
4401
4679
|
}
|
|
4402
|
-
MultilocationPostsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
4403
|
-
MultilocationPostsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
4404
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
4680
|
+
MultilocationPostsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultilocationPostsService, deps: [{ token: MultilocationPostApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4681
|
+
MultilocationPostsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultilocationPostsService, providedIn: 'root' });
|
|
4682
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MultilocationPostsService, decorators: [{
|
|
4405
4683
|
type: Injectable,
|
|
4406
4684
|
args: [{ providedIn: 'root' }]
|
|
4407
4685
|
}], ctorParameters: function () { return [{ type: MultilocationPostApiService }]; } });
|
|
@@ -4428,9 +4706,9 @@ class TenorGifsService {
|
|
|
4428
4706
|
return this.tenorGifsApiService.getTenorAnonymousId(request);
|
|
4429
4707
|
}
|
|
4430
4708
|
}
|
|
4431
|
-
TenorGifsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
4432
|
-
TenorGifsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
4433
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
4709
|
+
TenorGifsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TenorGifsService, deps: [{ token: TenorGifsApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4710
|
+
TenorGifsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TenorGifsService, providedIn: 'root' });
|
|
4711
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: TenorGifsService, decorators: [{
|
|
4434
4712
|
type: Injectable,
|
|
4435
4713
|
args: [{ providedIn: 'root' }]
|
|
4436
4714
|
}], ctorParameters: function () { return [{ type: TenorGifsApiService }]; } });
|
|
@@ -4446,9 +4724,9 @@ class PixabayImageService {
|
|
|
4446
4724
|
return this.pixabayApiService.listPixabayImages(request);
|
|
4447
4725
|
}
|
|
4448
4726
|
}
|
|
4449
|
-
PixabayImageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
4450
|
-
PixabayImageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
4451
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
4727
|
+
PixabayImageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PixabayImageService, deps: [{ token: PixabayImagesApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4728
|
+
PixabayImageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PixabayImageService, providedIn: 'root' });
|
|
4729
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PixabayImageService, decorators: [{
|
|
4452
4730
|
type: Injectable,
|
|
4453
4731
|
args: [{ providedIn: 'root' }]
|
|
4454
4732
|
}], ctorParameters: function () { return [{ type: PixabayImagesApiService }]; } });
|
|
@@ -4483,9 +4761,9 @@ class HashTagsService {
|
|
|
4483
4761
|
return this.hashTagsApiService.searchHashtag(request);
|
|
4484
4762
|
}
|
|
4485
4763
|
}
|
|
4486
|
-
HashTagsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
4487
|
-
HashTagsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
4488
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
4764
|
+
HashTagsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HashTagsService, deps: [{ token: HashTagsApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4765
|
+
HashTagsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HashTagsService, providedIn: 'root' });
|
|
4766
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HashTagsService, decorators: [{
|
|
4489
4767
|
type: Injectable,
|
|
4490
4768
|
args: [{ providedIn: 'root' }]
|
|
4491
4769
|
}], ctorParameters: function () { return [{ type: HashTagsApiService }]; } });
|
|
@@ -4503,13 +4781,54 @@ class PostPerformanceService {
|
|
|
4503
4781
|
return this.postPerformanceApiService.generateCsvForPerformanceStats(request).pipe(map((res) => res.generatedId));
|
|
4504
4782
|
}
|
|
4505
4783
|
}
|
|
4506
|
-
PostPerformanceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
4507
|
-
PostPerformanceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
4508
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
4784
|
+
PostPerformanceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostPerformanceService, deps: [{ token: PostPerformanceApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4785
|
+
PostPerformanceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostPerformanceService, providedIn: 'root' });
|
|
4786
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PostPerformanceService, decorators: [{
|
|
4509
4787
|
type: Injectable,
|
|
4510
4788
|
args: [{ providedIn: 'root' }]
|
|
4511
4789
|
}], ctorParameters: function () { return [{ type: PostPerformanceApiService }]; } });
|
|
4512
4790
|
|
|
4791
|
+
class AiInstructionService {
|
|
4792
|
+
constructor(instructionsService) {
|
|
4793
|
+
this.instructionsService = instructionsService;
|
|
4794
|
+
}
|
|
4795
|
+
getAiInstructions(businessId, partnerId) {
|
|
4796
|
+
const request = new GetCommonAiInstructionsRequest({
|
|
4797
|
+
businessId: businessId,
|
|
4798
|
+
partnerId: partnerId
|
|
4799
|
+
});
|
|
4800
|
+
return this.instructionsService.getCommonAiInstructions(request);
|
|
4801
|
+
}
|
|
4802
|
+
createAiInstructions(businessId, partnerId, instructions) {
|
|
4803
|
+
const aiInstructions = new AiInstructions({
|
|
4804
|
+
commonAiInstructions: instructions
|
|
4805
|
+
});
|
|
4806
|
+
const request = new CreateCommonAiInstructionsRequest({
|
|
4807
|
+
businessId: businessId,
|
|
4808
|
+
partnerId: partnerId,
|
|
4809
|
+
aiInstructions: aiInstructions
|
|
4810
|
+
});
|
|
4811
|
+
return this.instructionsService.createCommonAiInstructions(request);
|
|
4812
|
+
}
|
|
4813
|
+
updateAiInstructions(businessId, partnerId, instructions) {
|
|
4814
|
+
const aiInstructions = new AiInstructions({
|
|
4815
|
+
commonAiInstructions: instructions
|
|
4816
|
+
});
|
|
4817
|
+
const request = new UpdateCommonAiInstructionsRequest({
|
|
4818
|
+
businessId: businessId,
|
|
4819
|
+
partnerId: partnerId,
|
|
4820
|
+
aiInstructions: aiInstructions,
|
|
4821
|
+
});
|
|
4822
|
+
return this.instructionsService.updateCommonAiInstructions(request);
|
|
4823
|
+
}
|
|
4824
|
+
}
|
|
4825
|
+
AiInstructionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AiInstructionService, deps: [{ token: CommonAiInstructionsApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4826
|
+
AiInstructionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AiInstructionService, providedIn: 'root' });
|
|
4827
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: AiInstructionService, decorators: [{
|
|
4828
|
+
type: Injectable,
|
|
4829
|
+
args: [{ providedIn: 'root' }]
|
|
4830
|
+
}], ctorParameters: function () { return [{ type: CommonAiInstructionsApiService }]; } });
|
|
4831
|
+
|
|
4513
4832
|
class SocialPostsV2Service {
|
|
4514
4833
|
constructor(socialpostV2ApiService) {
|
|
4515
4834
|
this.socialpostV2ApiService = socialpostV2ApiService;
|
|
@@ -4533,9 +4852,9 @@ class SocialPostsV2Service {
|
|
|
4533
4852
|
return this.socialpostV2ApiService.repostSocialPost(repostRequest);
|
|
4534
4853
|
}
|
|
4535
4854
|
}
|
|
4536
|
-
SocialPostsV2Service.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.
|
|
4537
|
-
SocialPostsV2Service.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.
|
|
4538
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.
|
|
4855
|
+
SocialPostsV2Service.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2Service, deps: [{ token: SocialPostsV2ApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
4856
|
+
SocialPostsV2Service.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2Service, providedIn: 'root' });
|
|
4857
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SocialPostsV2Service, decorators: [{
|
|
4539
4858
|
type: Injectable,
|
|
4540
4859
|
args: [{ providedIn: 'root' }]
|
|
4541
4860
|
}], ctorParameters: function () { return [{ type: SocialPostsV2ApiService }]; } });
|
|
@@ -4544,5 +4863,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.3", ngImpor
|
|
|
4544
4863
|
* Generated bundle index. Do not edit.
|
|
4545
4864
|
*/
|
|
4546
4865
|
|
|
4547
|
-
export { CallToAction, CallToActionCallToActionType, CreateImageRequest, CreateImageResponse, CreateMultilocationPostRequest, CreateMultilocationPostResponse, CreatePostTemplateRequest, CreatePostTemplateResponse, DateRangeFilter, DeleteHashtagsRequest, DeleteMultilocationPostRequest, DeletePostRequest, DeletePostTemplateRequest, DeleteSocialPostRequest, EditMultilocationPostRequest, EditMultilocationPostResponse, Error, Event, FacebookPostStats, FieldMask, GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, GetPostTemplateRequest, GetPostTemplateResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, HashTagsService, Hashtag, ImageBlob, ImageCreated, ImageUrl, LinkV2, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListTenorGifsRequest, ListTenorGifsResponse, Location, Media, MediaEntry, MediaType, MediaUploadRequest, MediaUploadResponse, MessageLength, MetaData, MetadataV2, MultilocationPost, MultilocationPostApiService, MultilocationPostError, MultilocationPostsService, PartnerListScheduledPostsResponse, PartnerListScheduledSocialPostsRequest, PartnerListScheduledSocialPostsRequestFilters, PixabayImage, PixabayImageService, PostAction, PostActionV2, PostContentV2, PostCustomization, PostCustomizationV2, PostData, PostEvent, PostEventV2, PostMediaV2, PostPerformanceApiService, PostPerformanceService, PostStatusV2, PostTemplate, PostTemplatesService, PostType, PostTypeV2, PostingStatus, RemoveFromMultilocationPostRequest, RemoveReason, ReplaceHashtagsRequest, RepostSocialPostRequest, SSIDPostType, SchedulePostRequest, SchedulePostResponse, SchedulePostStatus, ScheduleToAllPagesRequest, ScheduleToAllPagesResponse, SearchHashtagRequest, SearchHashtagResponse, SocialPost, SocialPostData, SocialPostDeletionStatus, SocialPostOutput, SocialPostRequest, SocialPostResponse, SocialPostService, SocialPostStats, SocialPostV2, SocialPostsService, SocialPostsV2Service, SuggestMessageRequest, SuggestMessageResponse, TemplateType, TenorGif, TenorGifMediaMapEntry, TenorGifsService, TenorMediaObject, TwitterPostStats, UpdatePostTemplateRequest, UpdateSocialPostRequest, UpdateSocialPostResponse, YoutubeCustomization, YoutubeCustomizationPrivacyStatus, YoutubeCustomizationV2, YoutubeCustomizationV2PrivacyStatusV2 };
|
|
4866
|
+
export { AiInstructionService, AiInstructions, CallToAction, CallToActionCallToActionType, CreateCommonAiInstructionsRequest, CreateCommonAiInstructionsResponse, CreateImageRequest, CreateImageResponse, CreateMultilocationPostRequest, CreateMultilocationPostResponse, CreatePostTemplateRequest, CreatePostTemplateResponse, DateRangeFilter, DeleteHashtagsRequest, DeleteMultilocationPostRequest, DeletePostRequest, DeletePostTemplateRequest, DeleteSocialPostRequest, EditMultilocationPostRequest, EditMultilocationPostResponse, Error, Event, FacebookPostStats, FieldMask, GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GetCommonAiInstructionsRequest, GetCommonAiInstructionsResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, GetPostTemplateRequest, GetPostTemplateResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, HashTagsService, Hashtag, ImageBlob, ImageCreated, ImageUrl, LinkV2, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListTenorGifsRequest, ListTenorGifsResponse, Location, Media, MediaEntry, MediaType, MediaUploadRequest, MediaUploadResponse, MessageLength, MetaData, MetadataV2, MultilocationPost, MultilocationPostApiService, MultilocationPostError, MultilocationPostsService, PartnerListScheduledPostsResponse, PartnerListScheduledSocialPostsRequest, PartnerListScheduledSocialPostsRequestFilters, PixabayImage, PixabayImageService, PostAction, PostActionV2, PostContentV2, PostCustomization, PostCustomizationV2, PostData, PostEvent, PostEventV2, PostMediaV2, PostPerformanceApiService, PostPerformanceService, PostStatusV2, PostTemplate, PostTemplatesService, PostType, PostTypeV2, PostingStatus, RemoveFromMultilocationPostRequest, RemoveReason, ReplaceHashtagsRequest, RepostSocialPostRequest, SSIDPostType, SchedulePostRequest, SchedulePostResponse, SchedulePostStatus, ScheduleToAllPagesRequest, ScheduleToAllPagesResponse, SearchHashtagRequest, SearchHashtagResponse, SocialPost, SocialPostData, SocialPostDeletionStatus, SocialPostOutput, SocialPostRequest, SocialPostResponse, SocialPostService, SocialPostStats, SocialPostV2, SocialPostsService, SocialPostsV2Service, SuggestMessageRequest, SuggestMessageResponse, TemplateType, TenorGif, TenorGifMediaMapEntry, TenorGifsService, TenorMediaObject, TwitterPostStats, UpdateCommonAiInstructionsRequest, UpdateCommonAiInstructionsResponse, UpdatePostTemplateRequest, UpdateSocialPostRequest, UpdateSocialPostResponse, YoutubeCustomization, YoutubeCustomizationPrivacyStatus, YoutubeCustomizationV2, YoutubeCustomizationV2PrivacyStatusV2 };
|
|
4548
4867
|
//# sourceMappingURL=vendasta-social-posts.mjs.map
|