@vendasta/social-posts 5.2.0 → 5.3.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/_generated/host.service.mjs +4 -4
- 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.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/multilocation-post.api.service.mjs +4 -4
- package/esm2020/lib/_internal/objects/api.mjs +200 -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 +46 -0
- package/esm2020/lib/_internal/post-templates.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/hashtag.service.mjs +4 -4
- package/esm2020/lib/index.mjs +3 -2
- 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 +26 -0
- package/esm2020/lib/post-templates.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 +295 -43
- package/fesm2015/vendasta-social-posts.mjs.map +1 -1
- package/fesm2020/vendasta-social-posts.mjs +295 -43
- package/fesm2020/vendasta-social-posts.mjs.map +1 -1
- package/{vendasta-social-posts.d.ts → index.d.ts} +0 -0
- package/lib/_internal/index.d.ts +1 -0
- package/lib/_internal/interfaces/api.interface.d.ts +32 -0
- package/lib/_internal/interfaces/index.d.ts +1 -1
- package/lib/_internal/objects/api.d.ts +47 -0
- package/lib/_internal/objects/index.d.ts +1 -1
- package/lib/_internal/post-performance.api.service.d.ts +17 -0
- package/lib/index.d.ts +2 -1
- package/lib/post-performance.service.d.ts +11 -0
- package/package.json +3 -3
|
@@ -34,10 +34,10 @@ export class SocialPostsService {
|
|
|
34
34
|
return this.socialPostsApiService.getScheduledPostCount(req);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
SocialPostsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
38
|
-
SocialPostsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
37
|
+
SocialPostsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: SocialPostsService, deps: [{ token: i1.SocialPostsApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
38
|
+
SocialPostsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: SocialPostsService, providedIn: 'root' });
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: SocialPostsService, decorators: [{
|
|
40
40
|
type: Injectable,
|
|
41
41
|
args: [{ providedIn: 'root' }]
|
|
42
42
|
}], ctorParameters: function () { return [{ type: i1.SocialPostsApiService }]; } });
|
|
43
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic29jaWFsLXBvc3RzLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zb2NpYWxfcG9zdHNfc2RrL3NyYy9saWIvc29jaWFsLXBvc3RzLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFL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iB0aGlzLnNvY2lhbFBvc3RzQXBpU2VydmljZS5nZXRTY2hlZHVsZWRQb3N0Q291bnQocmVxKTtcbiAgfVxufVxuIl19
|
|
@@ -25,10 +25,10 @@ export class TenorGifsService {
|
|
|
25
25
|
return this.tenorGifsApiService.getTenorAnonymousId(request);
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
TenorGifsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
29
|
-
TenorGifsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
30
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
28
|
+
TenorGifsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: TenorGifsService, deps: [{ token: i1.TenorGifsApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
29
|
+
TenorGifsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: TenorGifsService, providedIn: 'root' });
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: TenorGifsService, decorators: [{
|
|
31
31
|
type: Injectable,
|
|
32
32
|
args: [{ providedIn: 'root' }]
|
|
33
33
|
}], ctorParameters: function () { return [{ type: i1.TenorGifsApiService }]; } });
|
|
34
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
34
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGVub3ItZ2lmcy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc29jaWFsX3Bvc3RzX3Nkay9zcmMvbGliL3Rlbm9yLWdpZnMuc2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQU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uICAgICAgICAgICAgcXVlcnk6IHF1ZXJ5LFxuICAgICAgICAgICAgY3Vyc29yOiBjdXJzb3IsXG4gICAgICAgICAgICBwYWdlU2l6ZTogcGFnZVNpemUsXG4gICAgICAgICAgICBsb2NhbGU6IGxvY2FsZSxcbiAgICAgICAgICAgIGFub255bW91c0lkOiBhbm9ueW1vdXNJZCxcbiAgICAgICAgICAgIG1lZGlhRmlsdGVyOiBtZWRpYUZpbHRlcixcbiAgICAgICAgICAgIGFzcGVjdFJhdGlvUmFuZ2U6IGFzcGVjdFJhdGlvUmFuZ2UsXG4gICAgICAgICAgICBjb250ZW50RmlsdGVyOiBjb250ZW50RmlsdGVyXG4gICAgICAgIH0pXG5cbiAgICAgICAgcmV0dXJuIHRoaXMudGVub3JHaWZzQXBpU2VydmljZS5saXN0VGVub3JHaWZzKHJlcXVlc3QpXG4gICAgfVxuXG4gICAgZ2V0QW5vbnltb3VzSWQoKTogT2JzZXJ2YWJsZTxHZXRUZW5vckFub255bW91c0lkUmVzcG9uc2U+IHtcbiAgICAgICAgY29uc3QgcmVxdWVzdCA9IG5ldyBHZXRUZW5vckFub255bW91c0lkUmVxdWVzdCh7fSlcblxuICAgICAgICByZXR1cm4gdGhpcy50ZW5vckdpZnNBcGlTZXJ2aWNlLmdldFRlbm9yQW5vbnltb3VzSWQocmVxdWVzdClcbiAgICB9XG5cbn0iXX0=
|
|
@@ -1340,6 +1340,95 @@ class PartnerListScheduledSocialPostsRequestFilters {
|
|
|
1340
1340
|
return toReturn;
|
|
1341
1341
|
}
|
|
1342
1342
|
}
|
|
1343
|
+
class GenerateCSVForPerformanceStatsRequest {
|
|
1344
|
+
constructor(kwargs) {
|
|
1345
|
+
if (!kwargs) {
|
|
1346
|
+
return;
|
|
1347
|
+
}
|
|
1348
|
+
Object.assign(this, kwargs);
|
|
1349
|
+
}
|
|
1350
|
+
static fromProto(proto) {
|
|
1351
|
+
let m = new GenerateCSVForPerformanceStatsRequest();
|
|
1352
|
+
m = Object.assign(m, proto);
|
|
1353
|
+
if (proto.postData) {
|
|
1354
|
+
m.postData = proto.postData.map(PostData.fromProto);
|
|
1355
|
+
}
|
|
1356
|
+
return m;
|
|
1357
|
+
}
|
|
1358
|
+
toApiJson() {
|
|
1359
|
+
const toReturn = {};
|
|
1360
|
+
if (typeof this.businessId !== 'undefined') {
|
|
1361
|
+
toReturn['businessId'] = this.businessId;
|
|
1362
|
+
}
|
|
1363
|
+
if (typeof this.postData !== 'undefined' && this.postData !== null) {
|
|
1364
|
+
toReturn['postData'] = 'toApiJson' in this.postData ? this.postData.toApiJson() : this.postData;
|
|
1365
|
+
}
|
|
1366
|
+
if (typeof this.includeHeaders !== 'undefined') {
|
|
1367
|
+
toReturn['includeHeaders'] = this.includeHeaders;
|
|
1368
|
+
}
|
|
1369
|
+
return toReturn;
|
|
1370
|
+
}
|
|
1371
|
+
}
|
|
1372
|
+
class GenerateCSVForPerformanceStatsResponse {
|
|
1373
|
+
constructor(kwargs) {
|
|
1374
|
+
if (!kwargs) {
|
|
1375
|
+
return;
|
|
1376
|
+
}
|
|
1377
|
+
Object.assign(this, kwargs);
|
|
1378
|
+
}
|
|
1379
|
+
static fromProto(proto) {
|
|
1380
|
+
let m = new GenerateCSVForPerformanceStatsResponse();
|
|
1381
|
+
m = Object.assign(m, proto);
|
|
1382
|
+
return m;
|
|
1383
|
+
}
|
|
1384
|
+
toApiJson() {
|
|
1385
|
+
const toReturn = {};
|
|
1386
|
+
if (typeof this.generatedId !== 'undefined') {
|
|
1387
|
+
toReturn['generatedId'] = this.generatedId;
|
|
1388
|
+
}
|
|
1389
|
+
return toReturn;
|
|
1390
|
+
}
|
|
1391
|
+
}
|
|
1392
|
+
class GetGeneratedCSVForPerformanceStatsRequest {
|
|
1393
|
+
constructor(kwargs) {
|
|
1394
|
+
if (!kwargs) {
|
|
1395
|
+
return;
|
|
1396
|
+
}
|
|
1397
|
+
Object.assign(this, kwargs);
|
|
1398
|
+
}
|
|
1399
|
+
static fromProto(proto) {
|
|
1400
|
+
let m = new GetGeneratedCSVForPerformanceStatsRequest();
|
|
1401
|
+
m = Object.assign(m, proto);
|
|
1402
|
+
return m;
|
|
1403
|
+
}
|
|
1404
|
+
toApiJson() {
|
|
1405
|
+
const toReturn = {};
|
|
1406
|
+
if (typeof this.generatedId !== 'undefined') {
|
|
1407
|
+
toReturn['generatedId'] = this.generatedId;
|
|
1408
|
+
}
|
|
1409
|
+
return toReturn;
|
|
1410
|
+
}
|
|
1411
|
+
}
|
|
1412
|
+
class GetGeneratedCSVForPerformanceStatsResponse {
|
|
1413
|
+
constructor(kwargs) {
|
|
1414
|
+
if (!kwargs) {
|
|
1415
|
+
return;
|
|
1416
|
+
}
|
|
1417
|
+
Object.assign(this, kwargs);
|
|
1418
|
+
}
|
|
1419
|
+
static fromProto(proto) {
|
|
1420
|
+
let m = new GetGeneratedCSVForPerformanceStatsResponse();
|
|
1421
|
+
m = Object.assign(m, proto);
|
|
1422
|
+
return m;
|
|
1423
|
+
}
|
|
1424
|
+
toApiJson() {
|
|
1425
|
+
const toReturn = {};
|
|
1426
|
+
if (typeof this.url !== 'undefined') {
|
|
1427
|
+
toReturn['url'] = this.url;
|
|
1428
|
+
}
|
|
1429
|
+
return toReturn;
|
|
1430
|
+
}
|
|
1431
|
+
}
|
|
1343
1432
|
class GetMultiSocialPostStatsRequest {
|
|
1344
1433
|
constructor(kwargs) {
|
|
1345
1434
|
if (!kwargs) {
|
|
@@ -2021,6 +2110,116 @@ class PartnerListScheduledSocialPostsRequest {
|
|
|
2021
2110
|
return toReturn;
|
|
2022
2111
|
}
|
|
2023
2112
|
}
|
|
2113
|
+
class PostData {
|
|
2114
|
+
constructor(kwargs) {
|
|
2115
|
+
if (!kwargs) {
|
|
2116
|
+
return;
|
|
2117
|
+
}
|
|
2118
|
+
Object.assign(this, kwargs);
|
|
2119
|
+
}
|
|
2120
|
+
static fromProto(proto) {
|
|
2121
|
+
let m = new PostData();
|
|
2122
|
+
m = Object.assign(m, proto);
|
|
2123
|
+
if (proto.reach) {
|
|
2124
|
+
m.reach = parseInt(proto.reach, 10);
|
|
2125
|
+
}
|
|
2126
|
+
if (proto.engagement) {
|
|
2127
|
+
m.engagement = parseInt(proto.engagement, 10);
|
|
2128
|
+
}
|
|
2129
|
+
if (proto.views) {
|
|
2130
|
+
m.views = parseInt(proto.views, 10);
|
|
2131
|
+
}
|
|
2132
|
+
if (proto.clicks) {
|
|
2133
|
+
m.clicks = parseInt(proto.clicks, 10);
|
|
2134
|
+
}
|
|
2135
|
+
if (proto.comments) {
|
|
2136
|
+
m.comments = parseInt(proto.comments, 10);
|
|
2137
|
+
}
|
|
2138
|
+
if (proto.shares) {
|
|
2139
|
+
m.shares = parseInt(proto.shares, 10);
|
|
2140
|
+
}
|
|
2141
|
+
if (proto.reactions) {
|
|
2142
|
+
m.reactions = parseInt(proto.reactions, 10);
|
|
2143
|
+
}
|
|
2144
|
+
if (proto.saves) {
|
|
2145
|
+
m.saves = parseInt(proto.saves, 10);
|
|
2146
|
+
}
|
|
2147
|
+
if (proto.likes) {
|
|
2148
|
+
m.likes = parseInt(proto.likes, 10);
|
|
2149
|
+
}
|
|
2150
|
+
if (proto.videoViews) {
|
|
2151
|
+
m.videoViews = parseInt(proto.videoViews, 10);
|
|
2152
|
+
}
|
|
2153
|
+
if (proto.retweets) {
|
|
2154
|
+
m.retweets = parseInt(proto.retweets, 10);
|
|
2155
|
+
}
|
|
2156
|
+
if (proto.favourites) {
|
|
2157
|
+
m.favourites = parseInt(proto.favourites, 10);
|
|
2158
|
+
}
|
|
2159
|
+
if (proto.impressions) {
|
|
2160
|
+
m.impressions = parseInt(proto.impressions, 10);
|
|
2161
|
+
}
|
|
2162
|
+
if (proto.commentsCount) {
|
|
2163
|
+
m.commentsCount = parseInt(proto.commentsCount, 10);
|
|
2164
|
+
}
|
|
2165
|
+
if (proto.likeCount) {
|
|
2166
|
+
m.likeCount = parseInt(proto.likeCount, 10);
|
|
2167
|
+
}
|
|
2168
|
+
return m;
|
|
2169
|
+
}
|
|
2170
|
+
toApiJson() {
|
|
2171
|
+
const toReturn = {};
|
|
2172
|
+
if (typeof this.postId !== 'undefined') {
|
|
2173
|
+
toReturn['postId'] = this.postId;
|
|
2174
|
+
}
|
|
2175
|
+
if (typeof this.reach !== 'undefined') {
|
|
2176
|
+
toReturn['reach'] = this.reach;
|
|
2177
|
+
}
|
|
2178
|
+
if (typeof this.engagement !== 'undefined') {
|
|
2179
|
+
toReturn['engagement'] = this.engagement;
|
|
2180
|
+
}
|
|
2181
|
+
if (typeof this.views !== 'undefined') {
|
|
2182
|
+
toReturn['views'] = this.views;
|
|
2183
|
+
}
|
|
2184
|
+
if (typeof this.clicks !== 'undefined') {
|
|
2185
|
+
toReturn['clicks'] = this.clicks;
|
|
2186
|
+
}
|
|
2187
|
+
if (typeof this.comments !== 'undefined') {
|
|
2188
|
+
toReturn['comments'] = this.comments;
|
|
2189
|
+
}
|
|
2190
|
+
if (typeof this.shares !== 'undefined') {
|
|
2191
|
+
toReturn['shares'] = this.shares;
|
|
2192
|
+
}
|
|
2193
|
+
if (typeof this.reactions !== 'undefined') {
|
|
2194
|
+
toReturn['reactions'] = this.reactions;
|
|
2195
|
+
}
|
|
2196
|
+
if (typeof this.saves !== 'undefined') {
|
|
2197
|
+
toReturn['saves'] = this.saves;
|
|
2198
|
+
}
|
|
2199
|
+
if (typeof this.likes !== 'undefined') {
|
|
2200
|
+
toReturn['likes'] = this.likes;
|
|
2201
|
+
}
|
|
2202
|
+
if (typeof this.videoViews !== 'undefined') {
|
|
2203
|
+
toReturn['videoViews'] = this.videoViews;
|
|
2204
|
+
}
|
|
2205
|
+
if (typeof this.retweets !== 'undefined') {
|
|
2206
|
+
toReturn['retweets'] = this.retweets;
|
|
2207
|
+
}
|
|
2208
|
+
if (typeof this.favourites !== 'undefined') {
|
|
2209
|
+
toReturn['favourites'] = this.favourites;
|
|
2210
|
+
}
|
|
2211
|
+
if (typeof this.impressions !== 'undefined') {
|
|
2212
|
+
toReturn['impressions'] = this.impressions;
|
|
2213
|
+
}
|
|
2214
|
+
if (typeof this.commentsCount !== 'undefined') {
|
|
2215
|
+
toReturn['commentsCount'] = this.commentsCount;
|
|
2216
|
+
}
|
|
2217
|
+
if (typeof this.likeCount !== 'undefined') {
|
|
2218
|
+
toReturn['likeCount'] = this.likeCount;
|
|
2219
|
+
}
|
|
2220
|
+
return toReturn;
|
|
2221
|
+
}
|
|
2222
|
+
}
|
|
2024
2223
|
class RemoveFromMultilocationPostRequest {
|
|
2025
2224
|
constructor(kwargs) {
|
|
2026
2225
|
if (!kwargs) {
|
|
@@ -2320,9 +2519,9 @@ class HostService {
|
|
|
2320
2519
|
return 'https://' + this.host;
|
|
2321
2520
|
}
|
|
2322
2521
|
}
|
|
2323
|
-
HostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2324
|
-
HostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2325
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2522
|
+
HostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: HostService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2523
|
+
HostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: HostService, providedIn: 'root' });
|
|
2524
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: HostService, decorators: [{
|
|
2326
2525
|
type: Injectable,
|
|
2327
2526
|
args: [{ providedIn: 'root' }]
|
|
2328
2527
|
}] });
|
|
@@ -2377,9 +2576,9 @@ class SocialPostsApiService {
|
|
|
2377
2576
|
.pipe(map(resp => GetScheduledPostCountResponse.fromProto(resp)));
|
|
2378
2577
|
}
|
|
2379
2578
|
}
|
|
2380
|
-
SocialPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2381
|
-
SocialPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2382
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2579
|
+
SocialPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: SocialPostsApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2580
|
+
SocialPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: SocialPostsApiService, providedIn: 'root' });
|
|
2581
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: SocialPostsApiService, decorators: [{
|
|
2383
2582
|
type: Injectable,
|
|
2384
2583
|
args: [{ providedIn: 'root' }]
|
|
2385
2584
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
@@ -2414,9 +2613,9 @@ class SocialPostsService {
|
|
|
2414
2613
|
return this.socialPostsApiService.getScheduledPostCount(req);
|
|
2415
2614
|
}
|
|
2416
2615
|
}
|
|
2417
|
-
SocialPostsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2418
|
-
SocialPostsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2419
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2616
|
+
SocialPostsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: SocialPostsService, deps: [{ token: SocialPostsApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2617
|
+
SocialPostsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: SocialPostsService, providedIn: 'root' });
|
|
2618
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: SocialPostsService, decorators: [{
|
|
2420
2619
|
type: Injectable,
|
|
2421
2620
|
args: [{ providedIn: 'root' }]
|
|
2422
2621
|
}], ctorParameters: function () { return [{ type: SocialPostsApiService }]; } });
|
|
@@ -2460,9 +2659,9 @@ class PostTemplatesApiService {
|
|
|
2460
2659
|
return this.http.post(this._host + "/socialposts.v1.PostTemplates/DeletePostTemplate", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
|
|
2461
2660
|
}
|
|
2462
2661
|
}
|
|
2463
|
-
PostTemplatesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2464
|
-
PostTemplatesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2465
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2662
|
+
PostTemplatesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PostTemplatesApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2663
|
+
PostTemplatesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PostTemplatesApiService, providedIn: 'root' });
|
|
2664
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PostTemplatesApiService, decorators: [{
|
|
2466
2665
|
type: Injectable,
|
|
2467
2666
|
args: [{ providedIn: 'root' }]
|
|
2468
2667
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
@@ -2527,9 +2726,9 @@ class PostTemplatesService {
|
|
|
2527
2726
|
return this.socialPostsApiService.deletePostTemplate(req);
|
|
2528
2727
|
}
|
|
2529
2728
|
}
|
|
2530
|
-
PostTemplatesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2531
|
-
PostTemplatesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2532
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2729
|
+
PostTemplatesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PostTemplatesService, deps: [{ token: PostTemplatesApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2730
|
+
PostTemplatesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PostTemplatesService, providedIn: 'root' });
|
|
2731
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PostTemplatesService, decorators: [{
|
|
2533
2732
|
type: Injectable,
|
|
2534
2733
|
args: [{ providedIn: 'root' }]
|
|
2535
2734
|
}], ctorParameters: function () { return [{ type: PostTemplatesApiService }]; } });
|
|
@@ -2578,9 +2777,9 @@ class MultilocationPostApiService {
|
|
|
2578
2777
|
.pipe(map(resp => GetMultilocationPostResponse.fromProto(resp)));
|
|
2579
2778
|
}
|
|
2580
2779
|
}
|
|
2581
|
-
MultilocationPostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2582
|
-
MultilocationPostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2583
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2780
|
+
MultilocationPostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: MultilocationPostApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2781
|
+
MultilocationPostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: MultilocationPostApiService, providedIn: 'root' });
|
|
2782
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: MultilocationPostApiService, decorators: [{
|
|
2584
2783
|
type: Injectable,
|
|
2585
2784
|
args: [{ providedIn: 'root' }]
|
|
2586
2785
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
@@ -2649,9 +2848,9 @@ class MultilocationPostsService {
|
|
|
2649
2848
|
return this.multilocationApiService.getMultilocationPost(req);
|
|
2650
2849
|
}
|
|
2651
2850
|
}
|
|
2652
|
-
MultilocationPostsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2653
|
-
MultilocationPostsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2654
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2851
|
+
MultilocationPostsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: MultilocationPostsService, deps: [{ token: MultilocationPostApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2852
|
+
MultilocationPostsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: MultilocationPostsService, providedIn: 'root' });
|
|
2853
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: MultilocationPostsService, decorators: [{
|
|
2655
2854
|
type: Injectable,
|
|
2656
2855
|
args: [{ providedIn: 'root' }]
|
|
2657
2856
|
}], ctorParameters: function () { return [{ type: MultilocationPostApiService }]; } });
|
|
@@ -2682,9 +2881,9 @@ class TenorGifsApiService {
|
|
|
2682
2881
|
.pipe(map(resp => ListTenorGifsResponse.fromProto(resp)));
|
|
2683
2882
|
}
|
|
2684
2883
|
}
|
|
2685
|
-
TenorGifsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2686
|
-
TenorGifsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2687
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2884
|
+
TenorGifsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: TenorGifsApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2885
|
+
TenorGifsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: TenorGifsApiService, providedIn: 'root' });
|
|
2886
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: TenorGifsApiService, decorators: [{
|
|
2688
2887
|
type: Injectable,
|
|
2689
2888
|
args: [{ providedIn: 'root' }]
|
|
2690
2889
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
@@ -2711,9 +2910,9 @@ class TenorGifsService {
|
|
|
2711
2910
|
return this.tenorGifsApiService.getTenorAnonymousId(request);
|
|
2712
2911
|
}
|
|
2713
2912
|
}
|
|
2714
|
-
TenorGifsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2715
|
-
TenorGifsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2716
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2913
|
+
TenorGifsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: TenorGifsService, deps: [{ token: TenorGifsApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2914
|
+
TenorGifsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: TenorGifsService, providedIn: 'root' });
|
|
2915
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: TenorGifsService, decorators: [{
|
|
2717
2916
|
type: Injectable,
|
|
2718
2917
|
args: [{ providedIn: 'root' }]
|
|
2719
2918
|
}], ctorParameters: function () { return [{ type: TenorGifsApiService }]; } });
|
|
@@ -2739,9 +2938,9 @@ class PixabayImagesApiService {
|
|
|
2739
2938
|
.pipe(map(resp => ListPixabayImagesResponse.fromProto(resp)));
|
|
2740
2939
|
}
|
|
2741
2940
|
}
|
|
2742
|
-
PixabayImagesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2743
|
-
PixabayImagesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2744
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2941
|
+
PixabayImagesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PixabayImagesApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2942
|
+
PixabayImagesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PixabayImagesApiService, providedIn: 'root' });
|
|
2943
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PixabayImagesApiService, decorators: [{
|
|
2745
2944
|
type: Injectable,
|
|
2746
2945
|
args: [{ providedIn: 'root' }]
|
|
2747
2946
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
@@ -2757,9 +2956,9 @@ class PixabayImageService {
|
|
|
2757
2956
|
return this.pixabayApiService.listPixabayImages(request);
|
|
2758
2957
|
}
|
|
2759
2958
|
}
|
|
2760
|
-
PixabayImageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2761
|
-
PixabayImageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2762
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2959
|
+
PixabayImageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PixabayImageService, deps: [{ token: PixabayImagesApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2960
|
+
PixabayImageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PixabayImageService, providedIn: 'root' });
|
|
2961
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PixabayImageService, decorators: [{
|
|
2763
2962
|
type: Injectable,
|
|
2764
2963
|
args: [{ providedIn: 'root' }]
|
|
2765
2964
|
}], ctorParameters: function () { return [{ type: PixabayImagesApiService }]; } });
|
|
@@ -2793,9 +2992,9 @@ class HashTagsApiService {
|
|
|
2793
2992
|
.pipe(map(resp => SearchHashtagResponse.fromProto(resp)));
|
|
2794
2993
|
}
|
|
2795
2994
|
}
|
|
2796
|
-
HashTagsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2797
|
-
HashTagsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2798
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2995
|
+
HashTagsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: HashTagsApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2996
|
+
HashTagsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: HashTagsApiService, providedIn: 'root' });
|
|
2997
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: HashTagsApiService, decorators: [{
|
|
2799
2998
|
type: Injectable,
|
|
2800
2999
|
args: [{ providedIn: 'root' }]
|
|
2801
3000
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
@@ -2830,13 +3029,66 @@ class HashTagsService {
|
|
|
2830
3029
|
return this.hashTagsApiService.searchHashtag(request);
|
|
2831
3030
|
}
|
|
2832
3031
|
}
|
|
2833
|
-
HashTagsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2834
|
-
HashTagsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2835
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3032
|
+
HashTagsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: HashTagsService, deps: [{ token: HashTagsApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3033
|
+
HashTagsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: HashTagsService, providedIn: 'root' });
|
|
3034
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: HashTagsService, decorators: [{
|
|
2836
3035
|
type: Injectable,
|
|
2837
3036
|
args: [{ providedIn: 'root' }]
|
|
2838
3037
|
}], ctorParameters: function () { return [{ type: HashTagsApiService }]; } });
|
|
2839
3038
|
|
|
3039
|
+
// *********************************
|
|
3040
|
+
class PostPerformanceApiService {
|
|
3041
|
+
constructor(http, hostService) {
|
|
3042
|
+
this.http = http;
|
|
3043
|
+
this.hostService = hostService;
|
|
3044
|
+
this._host = this.hostService.hostWithScheme;
|
|
3045
|
+
}
|
|
3046
|
+
apiOptions() {
|
|
3047
|
+
return {
|
|
3048
|
+
headers: new HttpHeaders({
|
|
3049
|
+
'Content-Type': 'application/json'
|
|
3050
|
+
}),
|
|
3051
|
+
withCredentials: true
|
|
3052
|
+
};
|
|
3053
|
+
}
|
|
3054
|
+
generateCsvForPerformanceStats(r) {
|
|
3055
|
+
const request = (r.toApiJson) ? r : new GenerateCSVForPerformanceStatsRequest(r);
|
|
3056
|
+
return this.http.post(this._host + "/socialposts.v1.PostPerformance/GenerateCSVForPerformanceStats", request.toApiJson(), this.apiOptions())
|
|
3057
|
+
.pipe(map(resp => GenerateCSVForPerformanceStatsResponse.fromProto(resp)));
|
|
3058
|
+
}
|
|
3059
|
+
getGeneratedCsvForPerformanceStats(r) {
|
|
3060
|
+
const request = (r.toApiJson) ? r : new GetGeneratedCSVForPerformanceStatsRequest(r);
|
|
3061
|
+
return this.http.post(this._host + "/socialposts.v1.PostPerformance/GetGeneratedCSVForPerformanceStats", request.toApiJson(), this.apiOptions())
|
|
3062
|
+
.pipe(map(resp => GetGeneratedCSVForPerformanceStatsResponse.fromProto(resp)));
|
|
3063
|
+
}
|
|
3064
|
+
}
|
|
3065
|
+
PostPerformanceApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PostPerformanceApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3066
|
+
PostPerformanceApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PostPerformanceApiService, providedIn: 'root' });
|
|
3067
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PostPerformanceApiService, decorators: [{
|
|
3068
|
+
type: Injectable,
|
|
3069
|
+
args: [{ providedIn: 'root' }]
|
|
3070
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
3071
|
+
|
|
3072
|
+
class PostPerformanceService {
|
|
3073
|
+
constructor(postPerformanceApiService) {
|
|
3074
|
+
this.postPerformanceApiService = postPerformanceApiService;
|
|
3075
|
+
}
|
|
3076
|
+
generateCSV(businessId, postData, includeHeaders) {
|
|
3077
|
+
const request = new GenerateCSVForPerformanceStatsRequest({
|
|
3078
|
+
businessId: businessId,
|
|
3079
|
+
postData: postData,
|
|
3080
|
+
includeHeaders: includeHeaders
|
|
3081
|
+
});
|
|
3082
|
+
return this.postPerformanceApiService.generateCsvForPerformanceStats(request).pipe(map((res) => res.generatedId));
|
|
3083
|
+
}
|
|
3084
|
+
}
|
|
3085
|
+
PostPerformanceService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PostPerformanceService, deps: [{ token: PostPerformanceApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3086
|
+
PostPerformanceService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PostPerformanceService, providedIn: 'root' });
|
|
3087
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PostPerformanceService, decorators: [{
|
|
3088
|
+
type: Injectable,
|
|
3089
|
+
args: [{ providedIn: 'root' }]
|
|
3090
|
+
}], ctorParameters: function () { return [{ type: PostPerformanceApiService }]; } });
|
|
3091
|
+
|
|
2840
3092
|
// *********************************
|
|
2841
3093
|
class PartnerSocialPostsApiService {
|
|
2842
3094
|
constructor(http, hostService) {
|
|
@@ -2863,9 +3115,9 @@ class PartnerSocialPostsApiService {
|
|
|
2863
3115
|
.pipe(map(resp => PartnerListScheduledPostsResponse.fromProto(resp)));
|
|
2864
3116
|
}
|
|
2865
3117
|
}
|
|
2866
|
-
PartnerSocialPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2867
|
-
PartnerSocialPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2868
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3118
|
+
PartnerSocialPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PartnerSocialPostsApiService, deps: [{ token: i1.HttpClient }, { token: HostService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3119
|
+
PartnerSocialPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PartnerSocialPostsApiService, providedIn: 'root' });
|
|
3120
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.10", ngImport: i0, type: PartnerSocialPostsApiService, decorators: [{
|
|
2869
3121
|
type: Injectable,
|
|
2870
3122
|
args: [{ providedIn: 'root' }]
|
|
2871
3123
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
@@ -2880,5 +3132,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImpor
|
|
|
2880
3132
|
* Generated bundle index. Do not edit.
|
|
2881
3133
|
*/
|
|
2882
3134
|
|
|
2883
|
-
export { DeleteMultilocationPostRequest, FieldMask, GetMultilocationPostRequest, HashTagsService, ListMultilocationPostsForBrandRequest, Location, MultilocationPost, MultilocationPostApiService, MultilocationPostsService, PixabayImageService, PostTemplatesService, PostingStatus, RemoveReason, SocialPostsService, TenorGifsService };
|
|
3135
|
+
export { DeleteMultilocationPostRequest, FieldMask, GetMultilocationPostRequest, HashTagsService, ListMultilocationPostsForBrandRequest, Location, MultilocationPost, MultilocationPostApiService, MultilocationPostsService, PixabayImageService, PostPerformanceApiService, PostPerformanceService, PostTemplatesService, PostingStatus, RemoveReason, SocialPostsService, TenorGifsService };
|
|
2884
3136
|
//# sourceMappingURL=vendasta-social-posts.mjs.map
|