@vendasta/social-posts 4.0.0 → 5.2.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 +25 -0
- package/esm2020/lib/_internal/enums/index.mjs +9 -0
- package/esm2020/lib/_internal/enums/multilocation-post.enum.mjs +12 -0
- package/esm2020/lib/_internal/enums/social-posts.enum.mjs +39 -0
- package/esm2020/lib/_internal/hash-tags.api.service.mjs +49 -0
- package/esm2020/lib/_internal/index.mjs +17 -0
- package/esm2020/lib/_internal/interfaces/api.interface.mjs +2 -0
- package/esm2020/lib/_internal/interfaces/field-mask.interface.mjs +8 -0
- package/esm2020/lib/_internal/interfaces/hashtag.interface.mjs +8 -0
- package/esm2020/lib/_internal/interfaces/index.mjs +2 -0
- package/esm2020/lib/_internal/interfaces/multilocation-post.interface.mjs +8 -0
- package/esm2020/lib/_internal/interfaces/pixabay-image.interface.mjs +8 -0
- package/esm2020/lib/_internal/interfaces/post-templates.interface.mjs +8 -0
- package/esm2020/lib/_internal/interfaces/social-post-stats.interface.mjs +8 -0
- package/esm2020/lib/_internal/interfaces/social-posts.interface.mjs +8 -0
- package/esm2020/lib/_internal/interfaces/tenor-gif.interface.mjs +8 -0
- package/esm2020/lib/_internal/multilocation-post.api.service.mjs +64 -0
- package/esm2020/lib/_internal/objects/api.mjs +1354 -0
- package/esm2020/lib/_internal/objects/field-mask.mjs +27 -0
- package/esm2020/lib/_internal/objects/hashtag.mjs +39 -0
- package/esm2020/lib/_internal/objects/index.mjs +16 -0
- package/esm2020/lib/_internal/objects/multilocation-post.mjs +115 -0
- package/esm2020/lib/_internal/objects/pixabay-image.mjs +138 -0
- package/esm2020/lib/_internal/objects/post-templates.mjs +75 -0
- package/esm2020/lib/_internal/objects/social-post-stats.mjs +127 -0
- package/esm2020/lib/_internal/objects/social-posts.mjs +272 -0
- package/esm2020/lib/_internal/objects/tenor-gif.mjs +106 -0
- package/esm2020/lib/_internal/partner-social-posts.api.service.mjs +46 -0
- package/esm2020/lib/_internal/pixabay-images.api.service.mjs +41 -0
- package/esm2020/lib/_internal/post-templates.api.service.mjs +59 -0
- package/esm2020/lib/_internal/social-posts.api.service.mjs +70 -0
- package/esm2020/lib/_internal/tenor-gifs.api.service.mjs +46 -0
- package/esm2020/lib/hashtag.service.mjs +42 -0
- package/esm2020/lib/index.mjs +8 -0
- package/esm2020/lib/multilocation-posts.service.mjs +76 -0
- package/esm2020/lib/pixabay-image.service.mjs +23 -0
- package/esm2020/lib/post-templates.service.mjs +72 -0
- package/esm2020/lib/social-posts.service.mjs +43 -0
- package/esm2020/lib/tenor-gifs.service.mjs +34 -0
- package/esm2020/public_api.mjs +5 -0
- package/esm2020/vendasta-social-posts.mjs +5 -0
- package/fesm2015/vendasta-social-posts.mjs +2884 -0
- package/fesm2015/vendasta-social-posts.mjs.map +1 -0
- package/fesm2020/vendasta-social-posts.mjs +2883 -0
- package/fesm2020/vendasta-social-posts.mjs.map +1 -0
- package/lib/_generated/host.service.d.ts +5 -9
- package/lib/_internal/hash-tags.api.service.d.ts +18 -0
- package/lib/_internal/index.d.ts +3 -0
- package/lib/_internal/interfaces/api.interface.d.ts +51 -0
- package/lib/_internal/interfaces/hashtag.interface.d.ts +6 -0
- package/lib/_internal/interfaces/index.d.ts +4 -1
- package/lib/_internal/interfaces/pixabay-image.interface.d.ts +26 -0
- package/lib/_internal/interfaces/tenor-gif.interface.d.ts +20 -0
- package/lib/_internal/multilocation-post.api.service.d.ts +4 -0
- package/lib/_internal/objects/api.d.ts +81 -0
- package/lib/_internal/objects/hashtag.d.ts +11 -0
- package/lib/_internal/objects/index.d.ts +4 -1
- package/lib/_internal/objects/pixabay-image.d.ts +31 -0
- package/lib/_internal/objects/tenor-gif.d.ts +31 -0
- package/lib/_internal/partner-social-posts.api.service.d.ts +4 -0
- package/lib/_internal/pixabay-images.api.service.d.ts +16 -0
- package/lib/_internal/post-templates.api.service.d.ts +4 -0
- package/lib/_internal/social-posts.api.service.d.ts +4 -0
- package/lib/_internal/tenor-gifs.api.service.d.ts +17 -0
- package/lib/hashtag.service.d.ts +13 -0
- package/lib/index.d.ts +3 -0
- package/lib/multilocation-posts.service.d.ts +3 -0
- package/lib/pixabay-image.service.d.ts +11 -0
- package/lib/post-templates.service.d.ts +3 -0
- package/lib/social-posts.service.d.ts +3 -0
- package/lib/tenor-gifs.service.d.ts +12 -0
- package/package.json +24 -16
- package/src/README.md +1 -0
- package/vendasta-social-posts.d.ts +1 -4
- package/bundles/vendasta-social-posts.umd.js +0 -3709
- package/bundles/vendasta-social-posts.umd.js.map +0 -1
- package/bundles/vendasta-social-posts.umd.min.js +0 -2
- package/bundles/vendasta-social-posts.umd.min.js.map +0 -1
- package/esm2015/lib/_generated/host.service.js +0 -104
- package/esm2015/lib/_internal/enums/index.js +0 -13
- package/esm2015/lib/_internal/enums/multilocation-post.enum.js +0 -19
- package/esm2015/lib/_internal/enums/social-posts.enum.js +0 -67
- package/esm2015/lib/_internal/index.js +0 -18
- package/esm2015/lib/_internal/interfaces/api.interface.js +0 -447
- package/esm2015/lib/_internal/interfaces/field-mask.interface.js +0 -19
- package/esm2015/lib/_internal/interfaces/index.js +0 -5
- package/esm2015/lib/_internal/interfaces/multilocation-post.interface.js +0 -59
- package/esm2015/lib/_internal/interfaces/post-templates.interface.js +0 -45
- package/esm2015/lib/_internal/interfaces/social-post-stats.interface.js +0 -57
- package/esm2015/lib/_internal/interfaces/social-posts.interface.js +0 -127
- package/esm2015/lib/_internal/multilocation-post.api.service.js +0 -136
- package/esm2015/lib/_internal/objects/api.js +0 -1805
- package/esm2015/lib/_internal/objects/field-mask.js +0 -53
- package/esm2015/lib/_internal/objects/index.js +0 -17
- package/esm2015/lib/_internal/objects/multilocation-post.js +0 -197
- package/esm2015/lib/_internal/objects/post-templates.js +0 -127
- package/esm2015/lib/_internal/objects/social-post-stats.js +0 -207
- package/esm2015/lib/_internal/objects/social-posts.js +0 -446
- package/esm2015/lib/_internal/partner-social-posts.api.service.js +0 -90
- package/esm2015/lib/_internal/post-templates.api.service.js +0 -122
- package/esm2015/lib/_internal/social-posts.api.service.js +0 -155
- package/esm2015/lib/index.js +0 -9
- package/esm2015/lib/multilocation-posts.service.js +0 -145
- package/esm2015/lib/post-templates.service.js +0 -138
- package/esm2015/lib/social-posts.service.js +0 -85
- package/esm2015/public_api.js +0 -9
- package/esm2015/vendasta-social-posts.js +0 -13
- package/esm5/lib/_generated/host.service.js +0 -115
- package/esm5/lib/_internal/enums/index.js +0 -13
- package/esm5/lib/_internal/enums/multilocation-post.enum.js +0 -19
- package/esm5/lib/_internal/enums/social-posts.enum.js +0 -67
- package/esm5/lib/_internal/index.js +0 -18
- package/esm5/lib/_internal/interfaces/api.interface.js +0 -447
- package/esm5/lib/_internal/interfaces/field-mask.interface.js +0 -19
- package/esm5/lib/_internal/interfaces/index.js +0 -5
- package/esm5/lib/_internal/interfaces/multilocation-post.interface.js +0 -59
- package/esm5/lib/_internal/interfaces/post-templates.interface.js +0 -45
- package/esm5/lib/_internal/interfaces/social-post-stats.interface.js +0 -57
- package/esm5/lib/_internal/interfaces/social-posts.interface.js +0 -127
- package/esm5/lib/_internal/multilocation-post.api.service.js +0 -163
- package/esm5/lib/_internal/objects/api.js +0 -2015
- package/esm5/lib/_internal/objects/field-mask.js +0 -59
- package/esm5/lib/_internal/objects/index.js +0 -17
- package/esm5/lib/_internal/objects/multilocation-post.js +0 -215
- package/esm5/lib/_internal/objects/post-templates.js +0 -133
- package/esm5/lib/_internal/objects/social-post-stats.js +0 -225
- package/esm5/lib/_internal/objects/social-posts.js +0 -482
- package/esm5/lib/_internal/partner-social-posts.api.service.js +0 -100
- package/esm5/lib/_internal/post-templates.api.service.js +0 -145
- package/esm5/lib/_internal/social-posts.api.service.js +0 -186
- package/esm5/lib/index.js +0 -9
- package/esm5/lib/multilocation-posts.service.js +0 -191
- package/esm5/lib/post-templates.service.js +0 -182
- package/esm5/lib/social-posts.service.js +0 -106
- package/esm5/public_api.js +0 -9
- package/esm5/vendasta-social-posts.js +0 -13
- package/fesm2015/vendasta-social-posts.js +0 -3220
- package/fesm2015/vendasta-social-posts.js.map +0 -1
- package/fesm5/vendasta-social-posts.js +0 -3668
- package/fesm5/vendasta-social-posts.js.map +0 -1
- package/vendasta-social-posts.metadata.json +0 -1
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { FieldMaskInterface } from './field-mask.interface';
|
|
2
|
+
import { HashtagInterface } from './hashtag.interface';
|
|
2
3
|
import { LocationInterface, MultilocationPostInterface, MultilocationPostErrorInterface } from './multilocation-post.interface';
|
|
4
|
+
import { PixabayImageInterface } from './pixabay-image.interface';
|
|
3
5
|
import { PostTemplateInterface } from './post-templates.interface';
|
|
4
6
|
import { SocialPostInterface, SocialPostDataInterface, SchedulePostStatusInterface } from './social-posts.interface';
|
|
5
7
|
import { SocialPostStatsInterface } from './social-post-stats.interface';
|
|
8
|
+
import { TenorGifInterface } from './tenor-gif.interface';
|
|
6
9
|
import * as e from '../enums';
|
|
7
10
|
export interface CreateMultilocationPostRequestInterface {
|
|
8
11
|
brandId?: string;
|
|
@@ -37,6 +40,11 @@ export interface DateRangeFilterInterface {
|
|
|
37
40
|
beginRange?: Date;
|
|
38
41
|
endRange?: Date;
|
|
39
42
|
}
|
|
43
|
+
export interface DeleteHashtagsRequestInterface {
|
|
44
|
+
keyword?: string[];
|
|
45
|
+
businessId?: string;
|
|
46
|
+
partnerId?: string;
|
|
47
|
+
}
|
|
40
48
|
export interface DeleteMultilocationPostRequestInterface {
|
|
41
49
|
brandId?: string;
|
|
42
50
|
multilocationId?: string;
|
|
@@ -105,6 +113,11 @@ export interface GetScheduledPostCountRequestInterface {
|
|
|
105
113
|
export interface GetScheduledPostCountResponseInterface {
|
|
106
114
|
count?: number;
|
|
107
115
|
}
|
|
116
|
+
export interface GetTenorAnonymousIdRequestInterface {
|
|
117
|
+
}
|
|
118
|
+
export interface GetTenorAnonymousIdResponseInterface {
|
|
119
|
+
anonymousId?: string;
|
|
120
|
+
}
|
|
108
121
|
export interface ListMultilocationPostsForBrandRequestInterface {
|
|
109
122
|
brandId?: string;
|
|
110
123
|
startDate?: Date;
|
|
@@ -118,6 +131,16 @@ export interface ListMultilocationPostsForBrandResponseInterface {
|
|
|
118
131
|
hasMore?: boolean;
|
|
119
132
|
failedSocialPosts?: SocialPostInterface[];
|
|
120
133
|
}
|
|
134
|
+
export interface ListPixabayImagesRequestInterface {
|
|
135
|
+
query?: string;
|
|
136
|
+
cursor?: string;
|
|
137
|
+
pageSize?: number;
|
|
138
|
+
}
|
|
139
|
+
export interface ListPixabayImagesResponseInterface {
|
|
140
|
+
total?: number;
|
|
141
|
+
totalHits?: number;
|
|
142
|
+
hits?: PixabayImageInterface[];
|
|
143
|
+
}
|
|
121
144
|
export interface ListPostTemplatesRequestInterface {
|
|
122
145
|
accountGroupId?: string;
|
|
123
146
|
cursor?: string;
|
|
@@ -143,6 +166,20 @@ export interface ListSocialPostsResponseInterface {
|
|
|
143
166
|
nextCursor?: string;
|
|
144
167
|
hasMore?: boolean;
|
|
145
168
|
}
|
|
169
|
+
export interface ListTenorGifsRequestInterface {
|
|
170
|
+
query?: string;
|
|
171
|
+
cursor?: string;
|
|
172
|
+
pageSize?: number;
|
|
173
|
+
locale?: string;
|
|
174
|
+
anonymousId?: string;
|
|
175
|
+
mediaFilter?: string;
|
|
176
|
+
aspectRatioRange?: string;
|
|
177
|
+
contentFilter?: string;
|
|
178
|
+
}
|
|
179
|
+
export interface ListTenorGifsResponseInterface {
|
|
180
|
+
next?: string;
|
|
181
|
+
results?: TenorGifInterface[];
|
|
182
|
+
}
|
|
146
183
|
export interface PartnerListScheduledPostsResponseInterface {
|
|
147
184
|
socialPosts?: SocialPostInterface[];
|
|
148
185
|
nextCursor?: string;
|
|
@@ -159,6 +196,11 @@ export interface RemoveFromMultilocationPostRequestInterface {
|
|
|
159
196
|
multilocationId?: string;
|
|
160
197
|
locations?: LocationInterface[];
|
|
161
198
|
}
|
|
199
|
+
export interface ReplaceHashtagsRequestInterface {
|
|
200
|
+
keyword?: string[];
|
|
201
|
+
businessId?: string;
|
|
202
|
+
partnerId?: string;
|
|
203
|
+
}
|
|
162
204
|
export interface SchedulePostRequestInterface {
|
|
163
205
|
socialPost?: SocialPostDataInterface;
|
|
164
206
|
socialServiceIds?: string[];
|
|
@@ -176,6 +218,15 @@ export interface ScheduleToAllPagesRequestInterface {
|
|
|
176
218
|
export interface ScheduleToAllPagesResponseInterface {
|
|
177
219
|
statuses?: SchedulePostStatusInterface[];
|
|
178
220
|
}
|
|
221
|
+
export interface SearchHashtagRequestInterface {
|
|
222
|
+
searchTerm?: string;
|
|
223
|
+
limit?: number;
|
|
224
|
+
businessId?: string;
|
|
225
|
+
partnerId?: string;
|
|
226
|
+
}
|
|
227
|
+
export interface SearchHashtagResponseInterface {
|
|
228
|
+
hashtags?: HashtagInterface[];
|
|
229
|
+
}
|
|
179
230
|
export interface UpdatePostTemplateRequestInterface {
|
|
180
231
|
accountGroupId?: string;
|
|
181
232
|
templateId?: string;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export { CallToActionInterface, ErrorInterface, EventInterface, SchedulePostStatusInterface, SocialPostInterface, SocialPostDataInterface, } from './social-posts.interface';
|
|
2
|
+
export { PixabayImageInterface, } from './pixabay-image.interface';
|
|
2
3
|
export { FacebookPostStatsInterface, SocialPostStatsInterface, TwitterPostStatsInterface, } from './social-post-stats.interface';
|
|
3
4
|
export { PostTemplateInterface, } from './post-templates.interface';
|
|
4
5
|
export { LocationInterface, MultilocationPostInterface, MultilocationPostErrorInterface, } from './multilocation-post.interface';
|
|
5
6
|
export { FieldMaskInterface, } from './field-mask.interface';
|
|
6
|
-
export {
|
|
7
|
+
export { TenorGifMediaEntryInterface, TenorGifInterface, TenorMediaObjectInterface, } from './tenor-gif.interface';
|
|
8
|
+
export { HashtagInterface, } from './hashtag.interface';
|
|
9
|
+
export { CreateMultilocationPostRequestInterface, CreateMultilocationPostResponseInterface, CreatePostTemplateRequestInterface, CreatePostTemplateResponseInterface, DateRangeFilterInterface, DeleteHashtagsRequestInterface, DeleteMultilocationPostRequestInterface, DeletePostTemplateRequestInterface, DeleteSocialPostRequestInterface, EditMultilocationPostRequestInterface, EditMultilocationPostResponseInterface, PartnerListScheduledSocialPostsRequestFiltersInterface, GetMultiSocialPostStatsRequestInterface, GetMultiSocialPostStatsResponseInterface, GetMultiSocialPostsRequestInterface, GetMultiSocialPostsResponseInterface, GetMultilocationPostRequestInterface, GetMultilocationPostResponseInterface, GetPostTemplateRequestInterface, GetPostTemplateResponseInterface, GetScheduledPostCountRequestInterface, GetScheduledPostCountResponseInterface, GetTenorAnonymousIdRequestInterface, GetTenorAnonymousIdResponseInterface, ListMultilocationPostsForBrandRequestInterface, ListMultilocationPostsForBrandResponseInterface, ListPixabayImagesRequestInterface, ListPixabayImagesResponseInterface, ListPostTemplatesRequestInterface, ListPostTemplatesResponseInterface, ListSocialPostsRequestInterface, ListSocialPostsResponseInterface, ListTenorGifsRequestInterface, ListTenorGifsResponseInterface, PartnerListScheduledPostsResponseInterface, PartnerListScheduledSocialPostsRequestInterface, RemoveFromMultilocationPostRequestInterface, ReplaceHashtagsRequestInterface, SchedulePostRequestInterface, SchedulePostResponseInterface, ScheduleToAllPagesRequestInterface, ScheduleToAllPagesResponseInterface, SearchHashtagRequestInterface, SearchHashtagResponseInterface, UpdatePostTemplateRequestInterface, } from './api.interface';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface PixabayImageInterface {
|
|
2
|
+
id?: number;
|
|
3
|
+
pageUrl?: string;
|
|
4
|
+
type?: string;
|
|
5
|
+
tags?: string;
|
|
6
|
+
previewUrl?: string;
|
|
7
|
+
previewWidth?: number;
|
|
8
|
+
previewHeight?: number;
|
|
9
|
+
webformatUrl?: string;
|
|
10
|
+
webformatWidth?: number;
|
|
11
|
+
webformatHeight?: number;
|
|
12
|
+
largeImageUrl?: string;
|
|
13
|
+
fullHdUrl?: string;
|
|
14
|
+
imageUrl?: string;
|
|
15
|
+
imageWidth?: number;
|
|
16
|
+
imageHeight?: number;
|
|
17
|
+
imageSize?: number;
|
|
18
|
+
views?: number;
|
|
19
|
+
downloads?: number;
|
|
20
|
+
favorites?: number;
|
|
21
|
+
likes?: number;
|
|
22
|
+
comments?: number;
|
|
23
|
+
userId?: number;
|
|
24
|
+
user?: string;
|
|
25
|
+
userImageUrl?: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface TenorGifMediaEntryInterface {
|
|
2
|
+
key?: string;
|
|
3
|
+
value?: TenorMediaObjectInterface;
|
|
4
|
+
}
|
|
5
|
+
export interface TenorGifInterface {
|
|
6
|
+
media?: {
|
|
7
|
+
[key: string]: TenorMediaObjectInterface;
|
|
8
|
+
};
|
|
9
|
+
tags?: string[];
|
|
10
|
+
hasAudio?: boolean;
|
|
11
|
+
title?: string;
|
|
12
|
+
id?: string;
|
|
13
|
+
created?: number;
|
|
14
|
+
}
|
|
15
|
+
export interface TenorMediaObjectInterface {
|
|
16
|
+
preview?: string;
|
|
17
|
+
url?: string;
|
|
18
|
+
dimensions?: number[];
|
|
19
|
+
size?: number;
|
|
20
|
+
}
|
|
@@ -3,9 +3,11 @@ import { CreateMultilocationPostRequestInterface, DeleteMultilocationPostRequest
|
|
|
3
3
|
import { HttpClient, HttpResponse } from '@angular/common/http';
|
|
4
4
|
import { HostService } from '../_generated/host.service';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class MultilocationPostApiService {
|
|
7
8
|
private http;
|
|
8
9
|
private hostService;
|
|
10
|
+
private _host;
|
|
9
11
|
constructor(http: HttpClient, hostService: HostService);
|
|
10
12
|
private apiOptions;
|
|
11
13
|
createMultilocationPost(r: CreateMultilocationPostRequest | CreateMultilocationPostRequestInterface): Observable<CreateMultilocationPostResponse>;
|
|
@@ -14,4 +16,6 @@ export declare class MultilocationPostApiService {
|
|
|
14
16
|
listMultilocationPostsForBrand(r: ListMultilocationPostsForBrandRequest | ListMultilocationPostsForBrandRequestInterface): Observable<ListMultilocationPostsForBrandResponse>;
|
|
15
17
|
deleteMultilocationPost(r: DeleteMultilocationPostRequest | DeleteMultilocationPostRequestInterface): Observable<HttpResponse<null>>;
|
|
16
18
|
getMultilocationPost(r: GetMultilocationPostRequest | GetMultilocationPostRequestInterface): Observable<GetMultilocationPostResponse>;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MultilocationPostApiService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MultilocationPostApiService>;
|
|
17
21
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
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';
|
|
5
|
+
import { PixabayImage } from './pixabay-image';
|
|
4
6
|
import { PostTemplate } from './post-templates';
|
|
5
7
|
import { SocialPost, SocialPostData, SchedulePostStatus } from './social-posts';
|
|
6
8
|
import { SocialPostStats } from './social-post-stats';
|
|
9
|
+
import { TenorGif } from './tenor-gif';
|
|
7
10
|
import * as e from '../enums';
|
|
8
11
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
9
12
|
export declare class CreateMultilocationPostRequest implements i.CreateMultilocationPostRequestInterface {
|
|
@@ -54,6 +57,14 @@ export declare class DateRangeFilter implements i.DateRangeFilterInterface {
|
|
|
54
57
|
constructor(kwargs?: i.DateRangeFilterInterface);
|
|
55
58
|
toApiJson(): object;
|
|
56
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
|
+
}
|
|
57
68
|
export declare class DeleteMultilocationPostRequest implements i.DeleteMultilocationPostRequestInterface {
|
|
58
69
|
brandId: string;
|
|
59
70
|
multilocationId: string;
|
|
@@ -170,6 +181,17 @@ export declare class GetScheduledPostCountResponse implements i.GetScheduledPost
|
|
|
170
181
|
constructor(kwargs?: i.GetScheduledPostCountResponseInterface);
|
|
171
182
|
toApiJson(): object;
|
|
172
183
|
}
|
|
184
|
+
export declare class GetTenorAnonymousIdRequest implements i.GetTenorAnonymousIdRequestInterface {
|
|
185
|
+
static fromProto(proto: any): GetTenorAnonymousIdRequest;
|
|
186
|
+
constructor(kwargs?: i.GetTenorAnonymousIdRequestInterface);
|
|
187
|
+
toApiJson(): object;
|
|
188
|
+
}
|
|
189
|
+
export declare class GetTenorAnonymousIdResponse implements i.GetTenorAnonymousIdResponseInterface {
|
|
190
|
+
anonymousId: string;
|
|
191
|
+
static fromProto(proto: any): GetTenorAnonymousIdResponse;
|
|
192
|
+
constructor(kwargs?: i.GetTenorAnonymousIdResponseInterface);
|
|
193
|
+
toApiJson(): object;
|
|
194
|
+
}
|
|
173
195
|
export declare class ListMultilocationPostsForBrandRequest implements i.ListMultilocationPostsForBrandRequestInterface {
|
|
174
196
|
brandId: string;
|
|
175
197
|
startDate: Date;
|
|
@@ -189,6 +211,22 @@ export declare class ListMultilocationPostsForBrandResponse implements i.ListMul
|
|
|
189
211
|
constructor(kwargs?: i.ListMultilocationPostsForBrandResponseInterface);
|
|
190
212
|
toApiJson(): object;
|
|
191
213
|
}
|
|
214
|
+
export declare class ListPixabayImagesRequest implements i.ListPixabayImagesRequestInterface {
|
|
215
|
+
query: string;
|
|
216
|
+
cursor: string;
|
|
217
|
+
pageSize: number;
|
|
218
|
+
static fromProto(proto: any): ListPixabayImagesRequest;
|
|
219
|
+
constructor(kwargs?: i.ListPixabayImagesRequestInterface);
|
|
220
|
+
toApiJson(): object;
|
|
221
|
+
}
|
|
222
|
+
export declare class ListPixabayImagesResponse implements i.ListPixabayImagesResponseInterface {
|
|
223
|
+
total: number;
|
|
224
|
+
totalHits: number;
|
|
225
|
+
hits: PixabayImage[];
|
|
226
|
+
static fromProto(proto: any): ListPixabayImagesResponse;
|
|
227
|
+
constructor(kwargs?: i.ListPixabayImagesResponseInterface);
|
|
228
|
+
toApiJson(): object;
|
|
229
|
+
}
|
|
192
230
|
export declare class ListPostTemplatesRequest implements i.ListPostTemplatesRequestInterface {
|
|
193
231
|
accountGroupId: string;
|
|
194
232
|
cursor: string;
|
|
@@ -226,6 +264,26 @@ export declare class ListSocialPostsResponse implements i.ListSocialPostsRespons
|
|
|
226
264
|
constructor(kwargs?: i.ListSocialPostsResponseInterface);
|
|
227
265
|
toApiJson(): object;
|
|
228
266
|
}
|
|
267
|
+
export declare class ListTenorGifsRequest implements i.ListTenorGifsRequestInterface {
|
|
268
|
+
query: string;
|
|
269
|
+
cursor: string;
|
|
270
|
+
pageSize: number;
|
|
271
|
+
locale: string;
|
|
272
|
+
anonymousId: string;
|
|
273
|
+
mediaFilter: string;
|
|
274
|
+
aspectRatioRange: string;
|
|
275
|
+
contentFilter: string;
|
|
276
|
+
static fromProto(proto: any): ListTenorGifsRequest;
|
|
277
|
+
constructor(kwargs?: i.ListTenorGifsRequestInterface);
|
|
278
|
+
toApiJson(): object;
|
|
279
|
+
}
|
|
280
|
+
export declare class ListTenorGifsResponse implements i.ListTenorGifsResponseInterface {
|
|
281
|
+
next: string;
|
|
282
|
+
results: TenorGif[];
|
|
283
|
+
static fromProto(proto: any): ListTenorGifsResponse;
|
|
284
|
+
constructor(kwargs?: i.ListTenorGifsResponseInterface);
|
|
285
|
+
toApiJson(): object;
|
|
286
|
+
}
|
|
229
287
|
export declare class PartnerListScheduledPostsResponse implements i.PartnerListScheduledPostsResponseInterface {
|
|
230
288
|
socialPosts: SocialPost[];
|
|
231
289
|
nextCursor: string;
|
|
@@ -251,6 +309,14 @@ export declare class RemoveFromMultilocationPostRequest implements i.RemoveFromM
|
|
|
251
309
|
constructor(kwargs?: i.RemoveFromMultilocationPostRequestInterface);
|
|
252
310
|
toApiJson(): object;
|
|
253
311
|
}
|
|
312
|
+
export declare class ReplaceHashtagsRequest implements i.ReplaceHashtagsRequestInterface {
|
|
313
|
+
keyword: string[];
|
|
314
|
+
businessId: string;
|
|
315
|
+
partnerId: string;
|
|
316
|
+
static fromProto(proto: any): ReplaceHashtagsRequest;
|
|
317
|
+
constructor(kwargs?: i.ReplaceHashtagsRequestInterface);
|
|
318
|
+
toApiJson(): object;
|
|
319
|
+
}
|
|
254
320
|
export declare class SchedulePostRequest implements i.SchedulePostRequestInterface {
|
|
255
321
|
socialPost: SocialPostData;
|
|
256
322
|
socialServiceIds: string[];
|
|
@@ -280,6 +346,21 @@ export declare class ScheduleToAllPagesResponse implements i.ScheduleToAllPagesR
|
|
|
280
346
|
constructor(kwargs?: i.ScheduleToAllPagesResponseInterface);
|
|
281
347
|
toApiJson(): object;
|
|
282
348
|
}
|
|
349
|
+
export declare class SearchHashtagRequest implements i.SearchHashtagRequestInterface {
|
|
350
|
+
searchTerm: string;
|
|
351
|
+
limit: number;
|
|
352
|
+
businessId: string;
|
|
353
|
+
partnerId: string;
|
|
354
|
+
static fromProto(proto: any): SearchHashtagRequest;
|
|
355
|
+
constructor(kwargs?: i.SearchHashtagRequestInterface);
|
|
356
|
+
toApiJson(): object;
|
|
357
|
+
}
|
|
358
|
+
export declare class SearchHashtagResponse implements i.SearchHashtagResponseInterface {
|
|
359
|
+
hashtags: Hashtag[];
|
|
360
|
+
static fromProto(proto: any): SearchHashtagResponse;
|
|
361
|
+
constructor(kwargs?: i.SearchHashtagResponseInterface);
|
|
362
|
+
toApiJson(): object;
|
|
363
|
+
}
|
|
283
364
|
export declare class UpdatePostTemplateRequest implements i.UpdatePostTemplateRequestInterface {
|
|
284
365
|
accountGroupId: string;
|
|
285
366
|
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
|
+
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export { CallToAction, Error, Event, SchedulePostStatus, SocialPost, SocialPostData, } from './social-posts';
|
|
2
|
+
export { PixabayImage, } from './pixabay-image';
|
|
2
3
|
export { FacebookPostStats, SocialPostStats, TwitterPostStats, } from './social-post-stats';
|
|
3
4
|
export { PostTemplate, } from './post-templates';
|
|
4
5
|
export { Location, MultilocationPost, MultilocationPostError, } from './multilocation-post';
|
|
5
6
|
export { FieldMask, } from './field-mask';
|
|
6
|
-
export {
|
|
7
|
+
export { TenorGifMediaEntry, TenorGif, TenorMediaObject, } from './tenor-gif';
|
|
8
|
+
export { Hashtag, } from './hashtag';
|
|
9
|
+
export { CreateMultilocationPostRequest, CreateMultilocationPostResponse, CreatePostTemplateRequest, CreatePostTemplateResponse, DateRangeFilter, DeleteHashtagsRequest, DeleteMultilocationPostRequest, DeletePostTemplateRequest, DeleteSocialPostRequest, EditMultilocationPostRequest, EditMultilocationPostResponse, PartnerListScheduledSocialPostsRequestFilters, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, GetPostTemplateRequest, GetPostTemplateResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListTenorGifsRequest, ListTenorGifsResponse, PartnerListScheduledPostsResponse, PartnerListScheduledSocialPostsRequest, RemoveFromMultilocationPostRequest, ReplaceHashtagsRequest, SchedulePostRequest, SchedulePostResponse, ScheduleToAllPagesRequest, ScheduleToAllPagesResponse, SearchHashtagRequest, SearchHashtagResponse, UpdatePostTemplateRequest, } from './api';
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as i from '../interfaces';
|
|
2
|
+
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
3
|
+
export declare class PixabayImage implements i.PixabayImageInterface {
|
|
4
|
+
id: number;
|
|
5
|
+
pageUrl: string;
|
|
6
|
+
type: string;
|
|
7
|
+
tags: string;
|
|
8
|
+
previewUrl: string;
|
|
9
|
+
previewWidth: number;
|
|
10
|
+
previewHeight: number;
|
|
11
|
+
webformatUrl: string;
|
|
12
|
+
webformatWidth: number;
|
|
13
|
+
webformatHeight: number;
|
|
14
|
+
largeImageUrl: string;
|
|
15
|
+
fullHdUrl: string;
|
|
16
|
+
imageUrl: string;
|
|
17
|
+
imageWidth: number;
|
|
18
|
+
imageHeight: number;
|
|
19
|
+
imageSize: number;
|
|
20
|
+
views: number;
|
|
21
|
+
downloads: number;
|
|
22
|
+
favorites: number;
|
|
23
|
+
likes: number;
|
|
24
|
+
comments: number;
|
|
25
|
+
userId: number;
|
|
26
|
+
user: string;
|
|
27
|
+
userImageUrl: string;
|
|
28
|
+
static fromProto(proto: any): PixabayImage;
|
|
29
|
+
constructor(kwargs?: i.PixabayImageInterface);
|
|
30
|
+
toApiJson(): object;
|
|
31
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as i from '../interfaces';
|
|
2
|
+
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
3
|
+
export declare class TenorGifMediaEntry implements i.TenorGifMediaEntryInterface {
|
|
4
|
+
key: string;
|
|
5
|
+
value: TenorMediaObject;
|
|
6
|
+
static fromProto(proto: any): TenorGifMediaEntry;
|
|
7
|
+
constructor(kwargs?: i.TenorGifMediaEntryInterface);
|
|
8
|
+
toApiJson(): object;
|
|
9
|
+
}
|
|
10
|
+
export declare class TenorGif implements i.TenorGifInterface {
|
|
11
|
+
media: {
|
|
12
|
+
[key: string]: TenorMediaObject;
|
|
13
|
+
};
|
|
14
|
+
tags: string[];
|
|
15
|
+
hasAudio: boolean;
|
|
16
|
+
title: string;
|
|
17
|
+
id: string;
|
|
18
|
+
created: number;
|
|
19
|
+
static fromProto(proto: any): TenorGif;
|
|
20
|
+
constructor(kwargs?: i.TenorGifInterface);
|
|
21
|
+
toApiJson(): object;
|
|
22
|
+
}
|
|
23
|
+
export declare class TenorMediaObject implements i.TenorMediaObjectInterface {
|
|
24
|
+
preview: string;
|
|
25
|
+
url: string;
|
|
26
|
+
dimensions: number[];
|
|
27
|
+
size: number;
|
|
28
|
+
static fromProto(proto: any): TenorMediaObject;
|
|
29
|
+
constructor(kwargs?: i.TenorMediaObjectInterface);
|
|
30
|
+
toApiJson(): object;
|
|
31
|
+
}
|
|
@@ -3,11 +3,15 @@ import { PartnerListScheduledSocialPostsRequestInterface } from './interfaces/';
|
|
|
3
3
|
import { HttpClient } from '@angular/common/http';
|
|
4
4
|
import { HostService } from '../_generated/host.service';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class PartnerSocialPostsApiService {
|
|
7
8
|
private http;
|
|
8
9
|
private hostService;
|
|
10
|
+
private _host;
|
|
9
11
|
constructor(http: HttpClient, hostService: HostService);
|
|
10
12
|
private apiOptions;
|
|
11
13
|
listScheduled(r: PartnerListScheduledSocialPostsRequest | PartnerListScheduledSocialPostsRequestInterface): Observable<PartnerListScheduledPostsResponse>;
|
|
12
14
|
listScheduledByCreated(r: PartnerListScheduledSocialPostsRequest | PartnerListScheduledSocialPostsRequestInterface): Observable<PartnerListScheduledPostsResponse>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PartnerSocialPostsApiService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PartnerSocialPostsApiService>;
|
|
13
17
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ListPixabayImagesRequest, ListPixabayImagesResponse } from './objects/';
|
|
2
|
+
import { ListPixabayImagesRequestInterface } 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 PixabayImagesApiService {
|
|
8
|
+
private http;
|
|
9
|
+
private hostService;
|
|
10
|
+
private _host;
|
|
11
|
+
constructor(http: HttpClient, hostService: HostService);
|
|
12
|
+
private apiOptions;
|
|
13
|
+
listPixabayImages(r: ListPixabayImagesRequest | ListPixabayImagesRequestInterface): Observable<ListPixabayImagesResponse>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PixabayImagesApiService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PixabayImagesApiService>;
|
|
16
|
+
}
|
|
@@ -3,9 +3,11 @@ import { CreatePostTemplateRequestInterface, DeletePostTemplateRequestInterface,
|
|
|
3
3
|
import { HttpClient, HttpResponse } from '@angular/common/http';
|
|
4
4
|
import { HostService } from '../_generated/host.service';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class PostTemplatesApiService {
|
|
7
8
|
private http;
|
|
8
9
|
private hostService;
|
|
10
|
+
private _host;
|
|
9
11
|
constructor(http: HttpClient, hostService: HostService);
|
|
10
12
|
private apiOptions;
|
|
11
13
|
updatePostTemplate(r: UpdatePostTemplateRequest | UpdatePostTemplateRequestInterface): Observable<HttpResponse<null>>;
|
|
@@ -13,4 +15,6 @@ export declare class PostTemplatesApiService {
|
|
|
13
15
|
getPostTemplate(r: GetPostTemplateRequest | GetPostTemplateRequestInterface): Observable<GetPostTemplateResponse>;
|
|
14
16
|
listPostTemplates(r: ListPostTemplatesRequest | ListPostTemplatesRequestInterface): Observable<ListPostTemplatesResponse>;
|
|
15
17
|
deletePostTemplate(r: DeletePostTemplateRequest | DeletePostTemplateRequestInterface): Observable<HttpResponse<null>>;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PostTemplatesApiService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PostTemplatesApiService>;
|
|
16
20
|
}
|
|
@@ -3,9 +3,11 @@ import { DeleteSocialPostRequestInterface, GetMultiSocialPostStatsRequestInterfa
|
|
|
3
3
|
import { HttpClient, HttpResponse } from '@angular/common/http';
|
|
4
4
|
import { HostService } from '../_generated/host.service';
|
|
5
5
|
import { Observable } from 'rxjs';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class SocialPostsApiService {
|
|
7
8
|
private http;
|
|
8
9
|
private hostService;
|
|
10
|
+
private _host;
|
|
9
11
|
constructor(http: HttpClient, hostService: HostService);
|
|
10
12
|
private apiOptions;
|
|
11
13
|
list(r: ListSocialPostsRequest | ListSocialPostsRequestInterface): Observable<ListSocialPostsResponse>;
|
|
@@ -15,4 +17,6 @@ export declare class SocialPostsApiService {
|
|
|
15
17
|
getMultiSocialPosts(r: GetMultiSocialPostsRequest | GetMultiSocialPostsRequestInterface): Observable<GetMultiSocialPostsResponse>;
|
|
16
18
|
getMultiSocialPostStats(r: GetMultiSocialPostStatsRequest | GetMultiSocialPostStatsRequestInterface): Observable<GetMultiSocialPostStatsResponse>;
|
|
17
19
|
getScheduledPostCount(r: GetScheduledPostCountRequest | GetScheduledPostCountRequestInterface): Observable<GetScheduledPostCountResponse>;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SocialPostsApiService, never>;
|
|
21
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SocialPostsApiService>;
|
|
18
22
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, ListTenorGifsRequest, ListTenorGifsResponse } from './objects/';
|
|
2
|
+
import { GetTenorAnonymousIdRequestInterface, ListTenorGifsRequestInterface } 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 TenorGifsApiService {
|
|
8
|
+
private http;
|
|
9
|
+
private hostService;
|
|
10
|
+
private _host;
|
|
11
|
+
constructor(http: HttpClient, hostService: HostService);
|
|
12
|
+
private apiOptions;
|
|
13
|
+
getTenorAnonymousId(r: GetTenorAnonymousIdRequest | GetTenorAnonymousIdRequestInterface): Observable<GetTenorAnonymousIdResponse>;
|
|
14
|
+
listTenorGifs(r: ListTenorGifsRequest | ListTenorGifsRequestInterface): Observable<ListTenorGifsResponse>;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TenorGifsApiService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TenorGifsApiService>;
|
|
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
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
export { SocialPostsService } from './social-posts.service';
|
|
2
2
|
export { PostTemplatesService } from './post-templates.service';
|
|
3
3
|
export { MultilocationPostsService } from './multilocation-posts.service';
|
|
4
|
+
export { TenorGifsService } from './tenor-gifs.service';
|
|
5
|
+
export { PixabayImageService } from './pixabay-image.service';
|
|
6
|
+
export { HashTagsService } from './hashtag.service';
|
|
4
7
|
export { FieldMask, Location, MultilocationPost, PostingStatus, RemoveReason, MultilocationPostApiService, GetMultilocationPostRequest, DeleteMultilocationPostRequest, ListMultilocationPostsForBrandRequest } from './_internal';
|
|
@@ -5,6 +5,7 @@ import { MultilocationPostApiService } from './_internal/multilocation-post.api.
|
|
|
5
5
|
import { FieldMask } from './_internal/objects/field-mask';
|
|
6
6
|
import { Location } from './_internal/objects/multilocation-post';
|
|
7
7
|
import { RemoveReason } from './_internal/enums/multilocation-post.enum';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
8
9
|
export declare class MultilocationPostsService {
|
|
9
10
|
private multilocationApiService;
|
|
10
11
|
constructor(multilocationApiService: MultilocationPostApiService);
|
|
@@ -14,4 +15,6 @@ export declare class MultilocationPostsService {
|
|
|
14
15
|
listMultilocationPostsForBrand(brandId: string, startDate: Date, endDate: Date, cursor: string, pageSize: number): Observable<ListMultilocationPostsForBrandResponse>;
|
|
15
16
|
deleteMultilocationPost(brandId: string, multilocationId: string): Observable<HttpResponse<null>>;
|
|
16
17
|
getMultilocationPost(brandId: string, multilocationId: string): Observable<GetMultilocationPostResponse>;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MultilocationPostsService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<MultilocationPostsService>;
|
|
17
20
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { ListPixabayImagesResponse } from './_internal/objects/api';
|
|
3
|
+
import { PixabayImagesApiService } from './_internal/pixabay-images.api.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PixabayImageService {
|
|
6
|
+
private pixabayApiService;
|
|
7
|
+
constructor(pixabayApiService: PixabayImagesApiService);
|
|
8
|
+
listPixabayImages(query: string, cursor: string, pageSize: number): Observable<ListPixabayImagesResponse>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PixabayImageService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PixabayImageService>;
|
|
11
|
+
}
|
|
@@ -2,6 +2,7 @@ import { HttpResponse } from '@angular/common/http';
|
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { CreatePostTemplateResponse, GetPostTemplateResponse, ListPostTemplatesResponse } from './_internal/objects/api';
|
|
4
4
|
import { PostTemplatesApiService } from './_internal/post-templates.api.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class PostTemplatesService {
|
|
6
7
|
private socialPostsApiService;
|
|
7
8
|
constructor(socialPostsApiService: PostTemplatesApiService);
|
|
@@ -10,4 +11,6 @@ export declare class PostTemplatesService {
|
|
|
10
11
|
getPostTemplate(accountGroupId: string, templateId: string): Observable<GetPostTemplateResponse>;
|
|
11
12
|
listPostTemplates(accountGroupId: string, cursor: string, pageSize: number): Observable<ListPostTemplatesResponse>;
|
|
12
13
|
deletePostTemplate(accountGroupId: string, templateId: string): Observable<HttpResponse<null>>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PostTemplatesService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PostTemplatesService>;
|
|
13
16
|
}
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { ListSocialPostsResponse, GetMultiSocialPostsResponse, GetScheduledPostCountResponse } from './_internal/objects/api';
|
|
3
3
|
import { SocialPostsApiService } from './_internal/social-posts.api.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class SocialPostsService {
|
|
5
6
|
private socialPostsApiService;
|
|
6
7
|
constructor(socialPostsApiService: SocialPostsApiService);
|
|
7
8
|
list(start: Date, end: Date, socialServiceIds: string[], businessId: string, partnerId: string, cursor: string, tags: string[], pageSize: number): Observable<ListSocialPostsResponse>;
|
|
8
9
|
getMultiSocialPosts(businessId: string, internalPostIds: string[]): Observable<GetMultiSocialPostsResponse>;
|
|
9
10
|
getScheduledPostCount(partnerId: string, businessId: string, socialServiceIds: string[]): Observable<GetScheduledPostCountResponse>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SocialPostsService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SocialPostsService>;
|
|
10
13
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { GetTenorAnonymousIdResponse, ListTenorGifsResponse } from './_internal/objects/api';
|
|
3
|
+
import { TenorGifsApiService } from './_internal/tenor-gifs.api.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class TenorGifsService {
|
|
6
|
+
private tenorGifsApiService;
|
|
7
|
+
constructor(tenorGifsApiService: TenorGifsApiService);
|
|
8
|
+
listTenorGifs(query: string, cursor: string, pageSize: number, locale: string, anonymousId: string, mediaFilter: string, aspectRatioRange: string, contentFilter: string): Observable<ListTenorGifsResponse>;
|
|
9
|
+
getAnonymousId(): Observable<GetTenorAnonymousIdResponse>;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TenorGifsService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<TenorGifsService>;
|
|
12
|
+
}
|