@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
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { DeleteHashtagsRequest, ReplaceHashtagsRequest, SearchHashtagRequest, SearchHashtagResponse } from './objects/';
|
|
2
|
+
import { DeleteHashtagsRequestInterface, ReplaceHashtagsRequestInterface, SearchHashtagRequestInterface } from './interfaces/';
|
|
3
|
+
import { HttpClient, HttpResponse } from '@angular/common/http';
|
|
4
|
+
import { HostService } from '../_generated/host.service';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class HashTagsApiService {
|
|
8
|
+
private http;
|
|
9
|
+
private hostService;
|
|
10
|
+
private _host;
|
|
11
|
+
constructor(http: HttpClient, hostService: HostService);
|
|
12
|
+
private apiOptions;
|
|
13
|
+
replaceHashtags(r: ReplaceHashtagsRequest | ReplaceHashtagsRequestInterface): Observable<HttpResponse<null>>;
|
|
14
|
+
deleteHashtags(r: DeleteHashtagsRequest | DeleteHashtagsRequestInterface): Observable<HttpResponse<null>>;
|
|
15
|
+
searchHashtag(r: SearchHashtagRequest | SearchHashtagRequestInterface): Observable<SearchHashtagResponse>;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HashTagsApiService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HashTagsApiService>;
|
|
18
|
+
}
|
package/lib/_internal/index.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
export * from './enums';
|
|
2
2
|
export * from './objects';
|
|
3
3
|
export * from './interfaces';
|
|
4
|
+
export { HashTagsApiService } from './hash-tags.api.service';
|
|
4
5
|
export { MultilocationPostApiService } from './multilocation-post.api.service';
|
|
5
6
|
export { PartnerSocialPostsApiService } from './partner-social-posts.api.service';
|
|
6
7
|
export { PixabayImagesApiService } from './pixabay-images.api.service';
|
|
8
|
+
export { PostPerformanceApiService } from './post-performance.api.service';
|
|
7
9
|
export { PostTemplatesApiService } from './post-templates.api.service';
|
|
8
10
|
export { SocialPostsApiService } from './social-posts.api.service';
|
|
9
11
|
export { TenorGifsApiService } from './tenor-gifs.api.service';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { FieldMaskInterface } from './field-mask.interface';
|
|
2
|
+
import { HashtagInterface } from './hashtag.interface';
|
|
2
3
|
import { LocationInterface, MultilocationPostInterface, MultilocationPostErrorInterface } from './multilocation-post.interface';
|
|
3
4
|
import { PixabayImageInterface } from './pixabay-image.interface';
|
|
4
5
|
import { PostTemplateInterface } from './post-templates.interface';
|
|
@@ -39,6 +40,11 @@ export interface DateRangeFilterInterface {
|
|
|
39
40
|
beginRange?: Date;
|
|
40
41
|
endRange?: Date;
|
|
41
42
|
}
|
|
43
|
+
export interface DeleteHashtagsRequestInterface {
|
|
44
|
+
keyword?: string[];
|
|
45
|
+
businessId?: string;
|
|
46
|
+
partnerId?: string;
|
|
47
|
+
}
|
|
42
48
|
export interface DeleteMultilocationPostRequestInterface {
|
|
43
49
|
brandId?: string;
|
|
44
50
|
multilocationId?: string;
|
|
@@ -70,6 +76,20 @@ export interface PartnerListScheduledSocialPostsRequestFiltersInterface {
|
|
|
70
76
|
dateRange?: DateRangeFilterInterface;
|
|
71
77
|
partnerId?: string;
|
|
72
78
|
}
|
|
79
|
+
export interface GenerateCSVForPerformanceStatsRequestInterface {
|
|
80
|
+
businessId?: string;
|
|
81
|
+
postData?: PostDataInterface[];
|
|
82
|
+
includeHeaders?: string[];
|
|
83
|
+
}
|
|
84
|
+
export interface GenerateCSVForPerformanceStatsResponseInterface {
|
|
85
|
+
generatedId?: string;
|
|
86
|
+
}
|
|
87
|
+
export interface GetGeneratedCSVForPerformanceStatsRequestInterface {
|
|
88
|
+
generatedId?: string;
|
|
89
|
+
}
|
|
90
|
+
export interface GetGeneratedCSVForPerformanceStatsResponseInterface {
|
|
91
|
+
url?: string;
|
|
92
|
+
}
|
|
73
93
|
export interface GetMultiSocialPostStatsRequestInterface {
|
|
74
94
|
internalPostIds?: string[];
|
|
75
95
|
businessId?: string;
|
|
@@ -184,12 +204,35 @@ export interface PartnerListScheduledSocialPostsRequestInterface {
|
|
|
184
204
|
filters?: PartnerListScheduledSocialPostsRequestFiltersInterface;
|
|
185
205
|
pageSize?: number;
|
|
186
206
|
}
|
|
207
|
+
export interface PostDataInterface {
|
|
208
|
+
postId?: string;
|
|
209
|
+
reach?: number;
|
|
210
|
+
engagement?: number;
|
|
211
|
+
views?: number;
|
|
212
|
+
clicks?: number;
|
|
213
|
+
comments?: number;
|
|
214
|
+
shares?: number;
|
|
215
|
+
reactions?: number;
|
|
216
|
+
saves?: number;
|
|
217
|
+
likes?: number;
|
|
218
|
+
videoViews?: number;
|
|
219
|
+
retweets?: number;
|
|
220
|
+
favourites?: number;
|
|
221
|
+
impressions?: number;
|
|
222
|
+
commentsCount?: number;
|
|
223
|
+
likeCount?: number;
|
|
224
|
+
}
|
|
187
225
|
export interface RemoveFromMultilocationPostRequestInterface {
|
|
188
226
|
reason?: e.RemoveReason;
|
|
189
227
|
brandId?: string;
|
|
190
228
|
multilocationId?: string;
|
|
191
229
|
locations?: LocationInterface[];
|
|
192
230
|
}
|
|
231
|
+
export interface ReplaceHashtagsRequestInterface {
|
|
232
|
+
keyword?: string[];
|
|
233
|
+
businessId?: string;
|
|
234
|
+
partnerId?: string;
|
|
235
|
+
}
|
|
193
236
|
export interface SchedulePostRequestInterface {
|
|
194
237
|
socialPost?: SocialPostDataInterface;
|
|
195
238
|
socialServiceIds?: string[];
|
|
@@ -207,6 +250,15 @@ export interface ScheduleToAllPagesRequestInterface {
|
|
|
207
250
|
export interface ScheduleToAllPagesResponseInterface {
|
|
208
251
|
statuses?: SchedulePostStatusInterface[];
|
|
209
252
|
}
|
|
253
|
+
export interface SearchHashtagRequestInterface {
|
|
254
|
+
searchTerm?: string;
|
|
255
|
+
limit?: number;
|
|
256
|
+
businessId?: string;
|
|
257
|
+
partnerId?: string;
|
|
258
|
+
}
|
|
259
|
+
export interface SearchHashtagResponseInterface {
|
|
260
|
+
hashtags?: HashtagInterface[];
|
|
261
|
+
}
|
|
210
262
|
export interface UpdatePostTemplateRequestInterface {
|
|
211
263
|
accountGroupId?: string;
|
|
212
264
|
templateId?: string;
|
|
@@ -5,4 +5,5 @@ export { PostTemplateInterface, } from './post-templates.interface';
|
|
|
5
5
|
export { LocationInterface, MultilocationPostInterface, MultilocationPostErrorInterface, } from './multilocation-post.interface';
|
|
6
6
|
export { FieldMaskInterface, } from './field-mask.interface';
|
|
7
7
|
export { TenorGifMediaEntryInterface, TenorGifInterface, TenorMediaObjectInterface, } from './tenor-gif.interface';
|
|
8
|
-
export {
|
|
8
|
+
export { HashtagInterface, } from './hashtag.interface';
|
|
9
|
+
export { CreateMultilocationPostRequestInterface, CreateMultilocationPostResponseInterface, CreatePostTemplateRequestInterface, CreatePostTemplateResponseInterface, DateRangeFilterInterface, DeleteHashtagsRequestInterface, DeleteMultilocationPostRequestInterface, DeletePostTemplateRequestInterface, DeleteSocialPostRequestInterface, EditMultilocationPostRequestInterface, EditMultilocationPostResponseInterface, PartnerListScheduledSocialPostsRequestFiltersInterface, GenerateCSVForPerformanceStatsRequestInterface, GenerateCSVForPerformanceStatsResponseInterface, GetGeneratedCSVForPerformanceStatsRequestInterface, GetGeneratedCSVForPerformanceStatsResponseInterface, GetMultiSocialPostStatsRequestInterface, GetMultiSocialPostStatsResponseInterface, GetMultiSocialPostsRequestInterface, GetMultiSocialPostsResponseInterface, GetMultilocationPostRequestInterface, GetMultilocationPostResponseInterface, GetPostTemplateRequestInterface, GetPostTemplateResponseInterface, GetScheduledPostCountRequestInterface, GetScheduledPostCountResponseInterface, GetTenorAnonymousIdRequestInterface, GetTenorAnonymousIdResponseInterface, ListMultilocationPostsForBrandRequestInterface, ListMultilocationPostsForBrandResponseInterface, ListPixabayImagesRequestInterface, ListPixabayImagesResponseInterface, ListPostTemplatesRequestInterface, ListPostTemplatesResponseInterface, ListSocialPostsRequestInterface, ListSocialPostsResponseInterface, ListTenorGifsRequestInterface, ListTenorGifsResponseInterface, PartnerListScheduledPostsResponseInterface, PartnerListScheduledSocialPostsRequestInterface, PostDataInterface, RemoveFromMultilocationPostRequestInterface, ReplaceHashtagsRequestInterface, SchedulePostRequestInterface, SchedulePostResponseInterface, ScheduleToAllPagesRequestInterface, ScheduleToAllPagesResponseInterface, SearchHashtagRequestInterface, SearchHashtagResponseInterface, UpdatePostTemplateRequestInterface, } from './api.interface';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as i from '../interfaces';
|
|
2
2
|
import { FieldMask } from './field-mask';
|
|
3
|
+
import { Hashtag } from './hashtag';
|
|
3
4
|
import { Location, MultilocationPost, MultilocationPostError } from './multilocation-post';
|
|
4
5
|
import { PixabayImage } from './pixabay-image';
|
|
5
6
|
import { PostTemplate } from './post-templates';
|
|
@@ -56,6 +57,14 @@ export declare class DateRangeFilter implements i.DateRangeFilterInterface {
|
|
|
56
57
|
constructor(kwargs?: i.DateRangeFilterInterface);
|
|
57
58
|
toApiJson(): object;
|
|
58
59
|
}
|
|
60
|
+
export declare class DeleteHashtagsRequest implements i.DeleteHashtagsRequestInterface {
|
|
61
|
+
keyword: string[];
|
|
62
|
+
businessId: string;
|
|
63
|
+
partnerId: string;
|
|
64
|
+
static fromProto(proto: any): DeleteHashtagsRequest;
|
|
65
|
+
constructor(kwargs?: i.DeleteHashtagsRequestInterface);
|
|
66
|
+
toApiJson(): object;
|
|
67
|
+
}
|
|
59
68
|
export declare class DeleteMultilocationPostRequest implements i.DeleteMultilocationPostRequestInterface {
|
|
60
69
|
brandId: string;
|
|
61
70
|
multilocationId: string;
|
|
@@ -105,6 +114,32 @@ export declare class PartnerListScheduledSocialPostsRequestFilters implements i.
|
|
|
105
114
|
constructor(kwargs?: i.PartnerListScheduledSocialPostsRequestFiltersInterface);
|
|
106
115
|
toApiJson(): object;
|
|
107
116
|
}
|
|
117
|
+
export declare class GenerateCSVForPerformanceStatsRequest implements i.GenerateCSVForPerformanceStatsRequestInterface {
|
|
118
|
+
businessId: string;
|
|
119
|
+
postData: PostData[];
|
|
120
|
+
includeHeaders: string[];
|
|
121
|
+
static fromProto(proto: any): GenerateCSVForPerformanceStatsRequest;
|
|
122
|
+
constructor(kwargs?: i.GenerateCSVForPerformanceStatsRequestInterface);
|
|
123
|
+
toApiJson(): object;
|
|
124
|
+
}
|
|
125
|
+
export declare class GenerateCSVForPerformanceStatsResponse implements i.GenerateCSVForPerformanceStatsResponseInterface {
|
|
126
|
+
generatedId: string;
|
|
127
|
+
static fromProto(proto: any): GenerateCSVForPerformanceStatsResponse;
|
|
128
|
+
constructor(kwargs?: i.GenerateCSVForPerformanceStatsResponseInterface);
|
|
129
|
+
toApiJson(): object;
|
|
130
|
+
}
|
|
131
|
+
export declare class GetGeneratedCSVForPerformanceStatsRequest implements i.GetGeneratedCSVForPerformanceStatsRequestInterface {
|
|
132
|
+
generatedId: string;
|
|
133
|
+
static fromProto(proto: any): GetGeneratedCSVForPerformanceStatsRequest;
|
|
134
|
+
constructor(kwargs?: i.GetGeneratedCSVForPerformanceStatsRequestInterface);
|
|
135
|
+
toApiJson(): object;
|
|
136
|
+
}
|
|
137
|
+
export declare class GetGeneratedCSVForPerformanceStatsResponse implements i.GetGeneratedCSVForPerformanceStatsResponseInterface {
|
|
138
|
+
url: string;
|
|
139
|
+
static fromProto(proto: any): GetGeneratedCSVForPerformanceStatsResponse;
|
|
140
|
+
constructor(kwargs?: i.GetGeneratedCSVForPerformanceStatsResponseInterface);
|
|
141
|
+
toApiJson(): object;
|
|
142
|
+
}
|
|
108
143
|
export declare class GetMultiSocialPostStatsRequest implements i.GetMultiSocialPostStatsRequestInterface {
|
|
109
144
|
internalPostIds: string[];
|
|
110
145
|
businessId: string;
|
|
@@ -291,6 +326,27 @@ export declare class PartnerListScheduledSocialPostsRequest implements i.Partner
|
|
|
291
326
|
constructor(kwargs?: i.PartnerListScheduledSocialPostsRequestInterface);
|
|
292
327
|
toApiJson(): object;
|
|
293
328
|
}
|
|
329
|
+
export declare class PostData implements i.PostDataInterface {
|
|
330
|
+
postId: string;
|
|
331
|
+
reach: number;
|
|
332
|
+
engagement: number;
|
|
333
|
+
views: number;
|
|
334
|
+
clicks: number;
|
|
335
|
+
comments: number;
|
|
336
|
+
shares: number;
|
|
337
|
+
reactions: number;
|
|
338
|
+
saves: number;
|
|
339
|
+
likes: number;
|
|
340
|
+
videoViews: number;
|
|
341
|
+
retweets: number;
|
|
342
|
+
favourites: number;
|
|
343
|
+
impressions: number;
|
|
344
|
+
commentsCount: number;
|
|
345
|
+
likeCount: number;
|
|
346
|
+
static fromProto(proto: any): PostData;
|
|
347
|
+
constructor(kwargs?: i.PostDataInterface);
|
|
348
|
+
toApiJson(): object;
|
|
349
|
+
}
|
|
294
350
|
export declare class RemoveFromMultilocationPostRequest implements i.RemoveFromMultilocationPostRequestInterface {
|
|
295
351
|
reason: e.RemoveReason;
|
|
296
352
|
brandId: string;
|
|
@@ -300,6 +356,14 @@ export declare class RemoveFromMultilocationPostRequest implements i.RemoveFromM
|
|
|
300
356
|
constructor(kwargs?: i.RemoveFromMultilocationPostRequestInterface);
|
|
301
357
|
toApiJson(): object;
|
|
302
358
|
}
|
|
359
|
+
export declare class ReplaceHashtagsRequest implements i.ReplaceHashtagsRequestInterface {
|
|
360
|
+
keyword: string[];
|
|
361
|
+
businessId: string;
|
|
362
|
+
partnerId: string;
|
|
363
|
+
static fromProto(proto: any): ReplaceHashtagsRequest;
|
|
364
|
+
constructor(kwargs?: i.ReplaceHashtagsRequestInterface);
|
|
365
|
+
toApiJson(): object;
|
|
366
|
+
}
|
|
303
367
|
export declare class SchedulePostRequest implements i.SchedulePostRequestInterface {
|
|
304
368
|
socialPost: SocialPostData;
|
|
305
369
|
socialServiceIds: string[];
|
|
@@ -329,6 +393,21 @@ export declare class ScheduleToAllPagesResponse implements i.ScheduleToAllPagesR
|
|
|
329
393
|
constructor(kwargs?: i.ScheduleToAllPagesResponseInterface);
|
|
330
394
|
toApiJson(): object;
|
|
331
395
|
}
|
|
396
|
+
export declare class SearchHashtagRequest implements i.SearchHashtagRequestInterface {
|
|
397
|
+
searchTerm: string;
|
|
398
|
+
limit: number;
|
|
399
|
+
businessId: string;
|
|
400
|
+
partnerId: string;
|
|
401
|
+
static fromProto(proto: any): SearchHashtagRequest;
|
|
402
|
+
constructor(kwargs?: i.SearchHashtagRequestInterface);
|
|
403
|
+
toApiJson(): object;
|
|
404
|
+
}
|
|
405
|
+
export declare class SearchHashtagResponse implements i.SearchHashtagResponseInterface {
|
|
406
|
+
hashtags: Hashtag[];
|
|
407
|
+
static fromProto(proto: any): SearchHashtagResponse;
|
|
408
|
+
constructor(kwargs?: i.SearchHashtagResponseInterface);
|
|
409
|
+
toApiJson(): object;
|
|
410
|
+
}
|
|
332
411
|
export declare class UpdatePostTemplateRequest implements i.UpdatePostTemplateRequestInterface {
|
|
333
412
|
accountGroupId: string;
|
|
334
413
|
templateId: string;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as i from '../interfaces';
|
|
2
|
+
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
3
|
+
export declare class Hashtag implements i.HashtagInterface {
|
|
4
|
+
keyword: string;
|
|
5
|
+
usedCount: number;
|
|
6
|
+
businessId: string;
|
|
7
|
+
partnerId: string;
|
|
8
|
+
static fromProto(proto: any): Hashtag;
|
|
9
|
+
constructor(kwargs?: i.HashtagInterface);
|
|
10
|
+
toApiJson(): object;
|
|
11
|
+
}
|
|
@@ -5,4 +5,5 @@ export { PostTemplate, } from './post-templates';
|
|
|
5
5
|
export { Location, MultilocationPost, MultilocationPostError, } from './multilocation-post';
|
|
6
6
|
export { FieldMask, } from './field-mask';
|
|
7
7
|
export { TenorGifMediaEntry, TenorGif, TenorMediaObject, } from './tenor-gif';
|
|
8
|
-
export {
|
|
8
|
+
export { Hashtag, } from './hashtag';
|
|
9
|
+
export { CreateMultilocationPostRequest, CreateMultilocationPostResponse, CreatePostTemplateRequest, CreatePostTemplateResponse, DateRangeFilter, DeleteHashtagsRequest, DeleteMultilocationPostRequest, DeletePostTemplateRequest, DeleteSocialPostRequest, EditMultilocationPostRequest, EditMultilocationPostResponse, PartnerListScheduledSocialPostsRequestFilters, GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, GetPostTemplateRequest, GetPostTemplateResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListTenorGifsRequest, ListTenorGifsResponse, PartnerListScheduledPostsResponse, PartnerListScheduledSocialPostsRequest, PostData, RemoveFromMultilocationPostRequest, ReplaceHashtagsRequest, SchedulePostRequest, SchedulePostResponse, ScheduleToAllPagesRequest, ScheduleToAllPagesResponse, SearchHashtagRequest, SearchHashtagResponse, UpdatePostTemplateRequest, } from './api';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse } from './objects/';
|
|
2
|
+
import { GenerateCSVForPerformanceStatsRequestInterface, GetGeneratedCSVForPerformanceStatsRequestInterface } from './interfaces/';
|
|
3
|
+
import { HttpClient } from '@angular/common/http';
|
|
4
|
+
import { HostService } from '../_generated/host.service';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class PostPerformanceApiService {
|
|
8
|
+
private http;
|
|
9
|
+
private hostService;
|
|
10
|
+
private _host;
|
|
11
|
+
constructor(http: HttpClient, hostService: HostService);
|
|
12
|
+
private apiOptions;
|
|
13
|
+
generateCsvForPerformanceStats(r: GenerateCSVForPerformanceStatsRequest | GenerateCSVForPerformanceStatsRequestInterface): Observable<GenerateCSVForPerformanceStatsResponse>;
|
|
14
|
+
getGeneratedCsvForPerformanceStats(r: GetGeneratedCSVForPerformanceStatsRequest | GetGeneratedCSVForPerformanceStatsRequestInterface): Observable<GetGeneratedCSVForPerformanceStatsResponse>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PostPerformanceApiService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PostPerformanceApiService>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { SearchHashtagResponse } from './_internal/objects/api';
|
|
3
|
+
import { HashTagsApiService } from './_internal/hash-tags.api.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class HashTagsService {
|
|
6
|
+
private hashTagsApiService;
|
|
7
|
+
constructor(hashTagsApiService: HashTagsApiService);
|
|
8
|
+
replaceHashtags(keyword: string[], businessId: string, partnerId: string): Observable<import("@angular/common/http").HttpResponse<null>>;
|
|
9
|
+
deleteHashtags(keyword: string[], businessId: string, partnerId: string): Observable<import("@angular/common/http").HttpResponse<null>>;
|
|
10
|
+
searchHashtag(searchTerm: string, businessId: string, limit: number, partnerId: string): Observable<SearchHashtagResponse>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HashTagsService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HashTagsService>;
|
|
13
|
+
}
|
package/lib/index.d.ts
CHANGED
|
@@ -3,4 +3,6 @@ export { PostTemplatesService } from './post-templates.service';
|
|
|
3
3
|
export { MultilocationPostsService } from './multilocation-posts.service';
|
|
4
4
|
export { TenorGifsService } from './tenor-gifs.service';
|
|
5
5
|
export { PixabayImageService } from './pixabay-image.service';
|
|
6
|
-
export {
|
|
6
|
+
export { HashTagsService } from './hashtag.service';
|
|
7
|
+
export { PostPerformanceService } from './post-performance.service';
|
|
8
|
+
export { FieldMask, Location, MultilocationPost, PostingStatus, RemoveReason, MultilocationPostApiService, GetMultilocationPostRequest, DeleteMultilocationPostRequest, ListMultilocationPostsForBrandRequest, PostPerformanceApiService, } from './_internal';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { PostData } from './_internal/objects/api';
|
|
3
|
+
import { PostPerformanceApiService } from './_internal/post-performance.api.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PostPerformanceService {
|
|
6
|
+
private postPerformanceApiService;
|
|
7
|
+
constructor(postPerformanceApiService: PostPerformanceApiService);
|
|
8
|
+
generateCSV(businessId: string, postData: PostData[], includeHeaders: string[]): Observable<string>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PostPerformanceService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PostPerformanceService>;
|
|
11
|
+
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vendasta/social-posts",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.3.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^13.0.0",
|
|
6
6
|
"@angular/core": "^13.0.0"
|
|
7
7
|
},
|
|
8
8
|
"author": "Vendasta R&D",
|
|
9
9
|
"description": "SDK to interact with the social-posts service",
|
|
10
|
-
"typings": "
|
|
10
|
+
"typings": "index.d.ts",
|
|
11
11
|
"license": "ISC",
|
|
12
12
|
"main": "index.js",
|
|
13
13
|
"module": "fesm2015/vendasta-social-posts.mjs",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"default": "./package.json"
|
|
21
21
|
},
|
|
22
22
|
".": {
|
|
23
|
-
"types": "./
|
|
23
|
+
"types": "./index.d.ts",
|
|
24
24
|
"esm2020": "./esm2020/vendasta-social-posts.mjs",
|
|
25
25
|
"es2020": "./fesm2020/vendasta-social-posts.mjs",
|
|
26
26
|
"es2015": "./fesm2015/vendasta-social-posts.mjs",
|