@vendasta/social-posts 5.1.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 +49 -0
- package/esm2020/lib/_internal/index.mjs +3 -1
- package/esm2020/lib/_internal/interfaces/api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/hashtag.interface.mjs +8 -0
- 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 +308 -1
- package/esm2020/lib/_internal/objects/hashtag.mjs +39 -0
- package/esm2020/lib/_internal/objects/index.mjs +3 -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 +42 -0
- package/esm2020/lib/index.mjs +4 -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 +509 -38
- package/fesm2015/vendasta-social-posts.mjs.map +1 -1
- package/fesm2020/vendasta-social-posts.mjs +509 -38
- package/fesm2020/vendasta-social-posts.mjs.map +1 -1
- package/{vendasta-social-posts.d.ts → index.d.ts} +0 -0
- package/lib/_internal/hash-tags.api.service.d.ts +18 -0
- package/lib/_internal/index.d.ts +2 -0
- package/lib/_internal/interfaces/api.interface.d.ts +52 -0
- package/lib/_internal/interfaces/hashtag.interface.d.ts +6 -0
- package/lib/_internal/interfaces/index.d.ts +2 -1
- package/lib/_internal/objects/api.d.ts +79 -0
- package/lib/_internal/objects/hashtag.d.ts +11 -0
- package/lib/_internal/objects/index.d.ts +2 -1
- package/lib/_internal/post-performance.api.service.d.ts +17 -0
- package/lib/hashtag.service.d.ts +13 -0
- package/lib/index.d.ts +3 -1
- package/lib/post-performance.service.d.ts +11 -0
- package/package.json +3 -3
|
@@ -5,7 +5,7 @@ import * as i1 from '@angular/common/http';
|
|
|
5
5
|
import { HttpHeaders } from '@angular/common/http';
|
|
6
6
|
import { map } from 'rxjs/operators';
|
|
7
7
|
|
|
8
|
-
function enumStringToValue$
|
|
8
|
+
function enumStringToValue$8(enumRef, value) {
|
|
9
9
|
if (typeof value === 'number') {
|
|
10
10
|
return value;
|
|
11
11
|
}
|
|
@@ -32,6 +32,45 @@ class FieldMask {
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
+
function enumStringToValue$7(enumRef, value) {
|
|
36
|
+
if (typeof value === 'number') {
|
|
37
|
+
return value;
|
|
38
|
+
}
|
|
39
|
+
return enumRef[value];
|
|
40
|
+
}
|
|
41
|
+
class Hashtag {
|
|
42
|
+
constructor(kwargs) {
|
|
43
|
+
if (!kwargs) {
|
|
44
|
+
return;
|
|
45
|
+
}
|
|
46
|
+
Object.assign(this, kwargs);
|
|
47
|
+
}
|
|
48
|
+
static fromProto(proto) {
|
|
49
|
+
let m = new Hashtag();
|
|
50
|
+
m = Object.assign(m, proto);
|
|
51
|
+
if (proto.usedCount) {
|
|
52
|
+
m.usedCount = parseInt(proto.usedCount, 10);
|
|
53
|
+
}
|
|
54
|
+
return m;
|
|
55
|
+
}
|
|
56
|
+
toApiJson() {
|
|
57
|
+
const toReturn = {};
|
|
58
|
+
if (typeof this.keyword !== 'undefined') {
|
|
59
|
+
toReturn['keyword'] = this.keyword;
|
|
60
|
+
}
|
|
61
|
+
if (typeof this.usedCount !== 'undefined') {
|
|
62
|
+
toReturn['usedCount'] = this.usedCount;
|
|
63
|
+
}
|
|
64
|
+
if (typeof this.businessId !== 'undefined') {
|
|
65
|
+
toReturn['businessId'] = this.businessId;
|
|
66
|
+
}
|
|
67
|
+
if (typeof this.partnerId !== 'undefined') {
|
|
68
|
+
toReturn['partnerId'] = this.partnerId;
|
|
69
|
+
}
|
|
70
|
+
return toReturn;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
35
74
|
function enumStringToValue$6(enumRef, value) {
|
|
36
75
|
if (typeof value === 'number') {
|
|
37
76
|
return value;
|
|
@@ -1098,6 +1137,32 @@ class DateRangeFilter {
|
|
|
1098
1137
|
return toReturn;
|
|
1099
1138
|
}
|
|
1100
1139
|
}
|
|
1140
|
+
class DeleteHashtagsRequest {
|
|
1141
|
+
constructor(kwargs) {
|
|
1142
|
+
if (!kwargs) {
|
|
1143
|
+
return;
|
|
1144
|
+
}
|
|
1145
|
+
Object.assign(this, kwargs);
|
|
1146
|
+
}
|
|
1147
|
+
static fromProto(proto) {
|
|
1148
|
+
let m = new DeleteHashtagsRequest();
|
|
1149
|
+
m = Object.assign(m, proto);
|
|
1150
|
+
return m;
|
|
1151
|
+
}
|
|
1152
|
+
toApiJson() {
|
|
1153
|
+
const toReturn = {};
|
|
1154
|
+
if (typeof this.keyword !== 'undefined') {
|
|
1155
|
+
toReturn['keyword'] = this.keyword;
|
|
1156
|
+
}
|
|
1157
|
+
if (typeof this.businessId !== 'undefined') {
|
|
1158
|
+
toReturn['businessId'] = this.businessId;
|
|
1159
|
+
}
|
|
1160
|
+
if (typeof this.partnerId !== 'undefined') {
|
|
1161
|
+
toReturn['partnerId'] = this.partnerId;
|
|
1162
|
+
}
|
|
1163
|
+
return toReturn;
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1101
1166
|
class DeleteMultilocationPostRequest {
|
|
1102
1167
|
constructor(kwargs) {
|
|
1103
1168
|
if (!kwargs) {
|
|
@@ -1275,6 +1340,95 @@ class PartnerListScheduledSocialPostsRequestFilters {
|
|
|
1275
1340
|
return toReturn;
|
|
1276
1341
|
}
|
|
1277
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
|
+
}
|
|
1278
1432
|
class GetMultiSocialPostStatsRequest {
|
|
1279
1433
|
constructor(kwargs) {
|
|
1280
1434
|
if (!kwargs) {
|
|
@@ -1956,6 +2110,116 @@ class PartnerListScheduledSocialPostsRequest {
|
|
|
1956
2110
|
return toReturn;
|
|
1957
2111
|
}
|
|
1958
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
|
+
}
|
|
1959
2223
|
class RemoveFromMultilocationPostRequest {
|
|
1960
2224
|
constructor(kwargs) {
|
|
1961
2225
|
if (!kwargs) {
|
|
@@ -1991,6 +2255,32 @@ class RemoveFromMultilocationPostRequest {
|
|
|
1991
2255
|
return toReturn;
|
|
1992
2256
|
}
|
|
1993
2257
|
}
|
|
2258
|
+
class ReplaceHashtagsRequest {
|
|
2259
|
+
constructor(kwargs) {
|
|
2260
|
+
if (!kwargs) {
|
|
2261
|
+
return;
|
|
2262
|
+
}
|
|
2263
|
+
Object.assign(this, kwargs);
|
|
2264
|
+
}
|
|
2265
|
+
static fromProto(proto) {
|
|
2266
|
+
let m = new ReplaceHashtagsRequest();
|
|
2267
|
+
m = Object.assign(m, proto);
|
|
2268
|
+
return m;
|
|
2269
|
+
}
|
|
2270
|
+
toApiJson() {
|
|
2271
|
+
const toReturn = {};
|
|
2272
|
+
if (typeof this.keyword !== 'undefined') {
|
|
2273
|
+
toReturn['keyword'] = this.keyword;
|
|
2274
|
+
}
|
|
2275
|
+
if (typeof this.businessId !== 'undefined') {
|
|
2276
|
+
toReturn['businessId'] = this.businessId;
|
|
2277
|
+
}
|
|
2278
|
+
if (typeof this.partnerId !== 'undefined') {
|
|
2279
|
+
toReturn['partnerId'] = this.partnerId;
|
|
2280
|
+
}
|
|
2281
|
+
return toReturn;
|
|
2282
|
+
}
|
|
2283
|
+
}
|
|
1994
2284
|
class SchedulePostRequest {
|
|
1995
2285
|
constructor(kwargs) {
|
|
1996
2286
|
if (!kwargs) {
|
|
@@ -2098,6 +2388,61 @@ class ScheduleToAllPagesResponse {
|
|
|
2098
2388
|
return toReturn;
|
|
2099
2389
|
}
|
|
2100
2390
|
}
|
|
2391
|
+
class SearchHashtagRequest {
|
|
2392
|
+
constructor(kwargs) {
|
|
2393
|
+
if (!kwargs) {
|
|
2394
|
+
return;
|
|
2395
|
+
}
|
|
2396
|
+
Object.assign(this, kwargs);
|
|
2397
|
+
}
|
|
2398
|
+
static fromProto(proto) {
|
|
2399
|
+
let m = new SearchHashtagRequest();
|
|
2400
|
+
m = Object.assign(m, proto);
|
|
2401
|
+
if (proto.limit) {
|
|
2402
|
+
m.limit = parseInt(proto.limit, 10);
|
|
2403
|
+
}
|
|
2404
|
+
return m;
|
|
2405
|
+
}
|
|
2406
|
+
toApiJson() {
|
|
2407
|
+
const toReturn = {};
|
|
2408
|
+
if (typeof this.searchTerm !== 'undefined') {
|
|
2409
|
+
toReturn['searchTerm'] = this.searchTerm;
|
|
2410
|
+
}
|
|
2411
|
+
if (typeof this.limit !== 'undefined') {
|
|
2412
|
+
toReturn['limit'] = this.limit;
|
|
2413
|
+
}
|
|
2414
|
+
if (typeof this.businessId !== 'undefined') {
|
|
2415
|
+
toReturn['businessId'] = this.businessId;
|
|
2416
|
+
}
|
|
2417
|
+
if (typeof this.partnerId !== 'undefined') {
|
|
2418
|
+
toReturn['partnerId'] = this.partnerId;
|
|
2419
|
+
}
|
|
2420
|
+
return toReturn;
|
|
2421
|
+
}
|
|
2422
|
+
}
|
|
2423
|
+
class SearchHashtagResponse {
|
|
2424
|
+
constructor(kwargs) {
|
|
2425
|
+
if (!kwargs) {
|
|
2426
|
+
return;
|
|
2427
|
+
}
|
|
2428
|
+
Object.assign(this, kwargs);
|
|
2429
|
+
}
|
|
2430
|
+
static fromProto(proto) {
|
|
2431
|
+
let m = new SearchHashtagResponse();
|
|
2432
|
+
m = Object.assign(m, proto);
|
|
2433
|
+
if (proto.hashtags) {
|
|
2434
|
+
m.hashtags = proto.hashtags.map(Hashtag.fromProto);
|
|
2435
|
+
}
|
|
2436
|
+
return m;
|
|
2437
|
+
}
|
|
2438
|
+
toApiJson() {
|
|
2439
|
+
const toReturn = {};
|
|
2440
|
+
if (typeof this.hashtags !== 'undefined' && this.hashtags !== null) {
|
|
2441
|
+
toReturn['hashtags'] = 'toApiJson' in this.hashtags ? this.hashtags.toApiJson() : this.hashtags;
|
|
2442
|
+
}
|
|
2443
|
+
return toReturn;
|
|
2444
|
+
}
|
|
2445
|
+
}
|
|
2101
2446
|
class UpdatePostTemplateRequest {
|
|
2102
2447
|
constructor(kwargs) {
|
|
2103
2448
|
if (!kwargs) {
|
|
@@ -2174,9 +2519,9 @@ class HostService {
|
|
|
2174
2519
|
return 'https://' + this.host;
|
|
2175
2520
|
}
|
|
2176
2521
|
}
|
|
2177
|
-
HostService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2178
|
-
HostService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2179
|
-
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: [{
|
|
2180
2525
|
type: Injectable,
|
|
2181
2526
|
args: [{ providedIn: 'root' }]
|
|
2182
2527
|
}] });
|
|
@@ -2231,9 +2576,9 @@ class SocialPostsApiService {
|
|
|
2231
2576
|
.pipe(map(resp => GetScheduledPostCountResponse.fromProto(resp)));
|
|
2232
2577
|
}
|
|
2233
2578
|
}
|
|
2234
|
-
SocialPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2235
|
-
SocialPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2236
|
-
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: [{
|
|
2237
2582
|
type: Injectable,
|
|
2238
2583
|
args: [{ providedIn: 'root' }]
|
|
2239
2584
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
@@ -2268,9 +2613,9 @@ class SocialPostsService {
|
|
|
2268
2613
|
return this.socialPostsApiService.getScheduledPostCount(req);
|
|
2269
2614
|
}
|
|
2270
2615
|
}
|
|
2271
|
-
SocialPostsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2272
|
-
SocialPostsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2273
|
-
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: [{
|
|
2274
2619
|
type: Injectable,
|
|
2275
2620
|
args: [{ providedIn: 'root' }]
|
|
2276
2621
|
}], ctorParameters: function () { return [{ type: SocialPostsApiService }]; } });
|
|
@@ -2314,9 +2659,9 @@ class PostTemplatesApiService {
|
|
|
2314
2659
|
return this.http.post(this._host + "/socialposts.v1.PostTemplates/DeletePostTemplate", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
|
|
2315
2660
|
}
|
|
2316
2661
|
}
|
|
2317
|
-
PostTemplatesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2318
|
-
PostTemplatesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2319
|
-
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: [{
|
|
2320
2665
|
type: Injectable,
|
|
2321
2666
|
args: [{ providedIn: 'root' }]
|
|
2322
2667
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
@@ -2381,9 +2726,9 @@ class PostTemplatesService {
|
|
|
2381
2726
|
return this.socialPostsApiService.deletePostTemplate(req);
|
|
2382
2727
|
}
|
|
2383
2728
|
}
|
|
2384
|
-
PostTemplatesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2385
|
-
PostTemplatesService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2386
|
-
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: [{
|
|
2387
2732
|
type: Injectable,
|
|
2388
2733
|
args: [{ providedIn: 'root' }]
|
|
2389
2734
|
}], ctorParameters: function () { return [{ type: PostTemplatesApiService }]; } });
|
|
@@ -2432,9 +2777,9 @@ class MultilocationPostApiService {
|
|
|
2432
2777
|
.pipe(map(resp => GetMultilocationPostResponse.fromProto(resp)));
|
|
2433
2778
|
}
|
|
2434
2779
|
}
|
|
2435
|
-
MultilocationPostApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2436
|
-
MultilocationPostApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2437
|
-
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: [{
|
|
2438
2783
|
type: Injectable,
|
|
2439
2784
|
args: [{ providedIn: 'root' }]
|
|
2440
2785
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
@@ -2503,9 +2848,9 @@ class MultilocationPostsService {
|
|
|
2503
2848
|
return this.multilocationApiService.getMultilocationPost(req);
|
|
2504
2849
|
}
|
|
2505
2850
|
}
|
|
2506
|
-
MultilocationPostsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2507
|
-
MultilocationPostsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2508
|
-
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: [{
|
|
2509
2854
|
type: Injectable,
|
|
2510
2855
|
args: [{ providedIn: 'root' }]
|
|
2511
2856
|
}], ctorParameters: function () { return [{ type: MultilocationPostApiService }]; } });
|
|
@@ -2536,9 +2881,9 @@ class TenorGifsApiService {
|
|
|
2536
2881
|
.pipe(map(resp => ListTenorGifsResponse.fromProto(resp)));
|
|
2537
2882
|
}
|
|
2538
2883
|
}
|
|
2539
|
-
TenorGifsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2540
|
-
TenorGifsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2541
|
-
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: [{
|
|
2542
2887
|
type: Injectable,
|
|
2543
2888
|
args: [{ providedIn: 'root' }]
|
|
2544
2889
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
@@ -2565,9 +2910,9 @@ class TenorGifsService {
|
|
|
2565
2910
|
return this.tenorGifsApiService.getTenorAnonymousId(request);
|
|
2566
2911
|
}
|
|
2567
2912
|
}
|
|
2568
|
-
TenorGifsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2569
|
-
TenorGifsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2570
|
-
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: [{
|
|
2571
2916
|
type: Injectable,
|
|
2572
2917
|
args: [{ providedIn: 'root' }]
|
|
2573
2918
|
}], ctorParameters: function () { return [{ type: TenorGifsApiService }]; } });
|
|
@@ -2593,9 +2938,9 @@ class PixabayImagesApiService {
|
|
|
2593
2938
|
.pipe(map(resp => ListPixabayImagesResponse.fromProto(resp)));
|
|
2594
2939
|
}
|
|
2595
2940
|
}
|
|
2596
|
-
PixabayImagesApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2597
|
-
PixabayImagesApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2598
|
-
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: [{
|
|
2599
2944
|
type: Injectable,
|
|
2600
2945
|
args: [{ providedIn: 'root' }]
|
|
2601
2946
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
@@ -2611,13 +2956,139 @@ class PixabayImageService {
|
|
|
2611
2956
|
return this.pixabayApiService.listPixabayImages(request);
|
|
2612
2957
|
}
|
|
2613
2958
|
}
|
|
2614
|
-
PixabayImageService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2615
|
-
PixabayImageService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2616
|
-
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: [{
|
|
2617
2962
|
type: Injectable,
|
|
2618
2963
|
args: [{ providedIn: 'root' }]
|
|
2619
2964
|
}], ctorParameters: function () { return [{ type: PixabayImagesApiService }]; } });
|
|
2620
2965
|
|
|
2966
|
+
// *********************************
|
|
2967
|
+
class HashTagsApiService {
|
|
2968
|
+
constructor(http, hostService) {
|
|
2969
|
+
this.http = http;
|
|
2970
|
+
this.hostService = hostService;
|
|
2971
|
+
this._host = this.hostService.hostWithScheme;
|
|
2972
|
+
}
|
|
2973
|
+
apiOptions() {
|
|
2974
|
+
return {
|
|
2975
|
+
headers: new HttpHeaders({
|
|
2976
|
+
'Content-Type': 'application/json'
|
|
2977
|
+
}),
|
|
2978
|
+
withCredentials: true
|
|
2979
|
+
};
|
|
2980
|
+
}
|
|
2981
|
+
replaceHashtags(r) {
|
|
2982
|
+
const request = (r.toApiJson) ? r : new ReplaceHashtagsRequest(r);
|
|
2983
|
+
return this.http.post(this._host + "/socialposts.v1.HashTags/ReplaceHashtags", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
|
|
2984
|
+
}
|
|
2985
|
+
deleteHashtags(r) {
|
|
2986
|
+
const request = (r.toApiJson) ? r : new DeleteHashtagsRequest(r);
|
|
2987
|
+
return this.http.post(this._host + "/socialposts.v1.HashTags/DeleteHashtags", request.toApiJson(), Object.assign(Object.assign({}, this.apiOptions()), { observe: 'response' }));
|
|
2988
|
+
}
|
|
2989
|
+
searchHashtag(r) {
|
|
2990
|
+
const request = (r.toApiJson) ? r : new SearchHashtagRequest(r);
|
|
2991
|
+
return this.http.post(this._host + "/socialposts.v1.HashTags/SearchHashtag", request.toApiJson(), this.apiOptions())
|
|
2992
|
+
.pipe(map(resp => SearchHashtagResponse.fromProto(resp)));
|
|
2993
|
+
}
|
|
2994
|
+
}
|
|
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: [{
|
|
2998
|
+
type: Injectable,
|
|
2999
|
+
args: [{ providedIn: 'root' }]
|
|
3000
|
+
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
3001
|
+
|
|
3002
|
+
class HashTagsService {
|
|
3003
|
+
constructor(hashTagsApiService) {
|
|
3004
|
+
this.hashTagsApiService = hashTagsApiService;
|
|
3005
|
+
}
|
|
3006
|
+
replaceHashtags(keyword, businessId, partnerId) {
|
|
3007
|
+
const request = new ReplaceHashtagsRequest({
|
|
3008
|
+
keyword: keyword,
|
|
3009
|
+
businessId: businessId,
|
|
3010
|
+
partnerId: partnerId
|
|
3011
|
+
});
|
|
3012
|
+
return this.hashTagsApiService.replaceHashtags(request);
|
|
3013
|
+
}
|
|
3014
|
+
deleteHashtags(keyword, businessId, partnerId) {
|
|
3015
|
+
const request = new DeleteHashtagsRequest({
|
|
3016
|
+
keyword: keyword,
|
|
3017
|
+
businessId: businessId,
|
|
3018
|
+
partnerId: partnerId
|
|
3019
|
+
});
|
|
3020
|
+
return this.hashTagsApiService.deleteHashtags(request);
|
|
3021
|
+
}
|
|
3022
|
+
searchHashtag(searchTerm, businessId, limit, partnerId) {
|
|
3023
|
+
const request = new SearchHashtagRequest({
|
|
3024
|
+
searchTerm: searchTerm,
|
|
3025
|
+
businessId: businessId,
|
|
3026
|
+
limit: limit,
|
|
3027
|
+
partnerId: partnerId
|
|
3028
|
+
});
|
|
3029
|
+
return this.hashTagsApiService.searchHashtag(request);
|
|
3030
|
+
}
|
|
3031
|
+
}
|
|
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: [{
|
|
3035
|
+
type: Injectable,
|
|
3036
|
+
args: [{ providedIn: 'root' }]
|
|
3037
|
+
}], ctorParameters: function () { return [{ type: HashTagsApiService }]; } });
|
|
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
|
+
|
|
2621
3092
|
// *********************************
|
|
2622
3093
|
class PartnerSocialPostsApiService {
|
|
2623
3094
|
constructor(http, hostService) {
|
|
@@ -2644,9 +3115,9 @@ class PartnerSocialPostsApiService {
|
|
|
2644
3115
|
.pipe(map(resp => PartnerListScheduledPostsResponse.fromProto(resp)));
|
|
2645
3116
|
}
|
|
2646
3117
|
}
|
|
2647
|
-
PartnerSocialPostsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2648
|
-
PartnerSocialPostsApiService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2649
|
-
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: [{
|
|
2650
3121
|
type: Injectable,
|
|
2651
3122
|
args: [{ providedIn: 'root' }]
|
|
2652
3123
|
}], ctorParameters: function () { return [{ type: i1.HttpClient }, { type: HostService }]; } });
|
|
@@ -2661,5 +3132,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImpor
|
|
|
2661
3132
|
* Generated bundle index. Do not edit.
|
|
2662
3133
|
*/
|
|
2663
3134
|
|
|
2664
|
-
export { DeleteMultilocationPostRequest, FieldMask, GetMultilocationPostRequest, 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 };
|
|
2665
3136
|
//# sourceMappingURL=vendasta-social-posts.mjs.map
|