@vendasta/social-posts 5.50.0 → 5.52.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/_internal/enums/chat-bot-v2.enum.mjs +7 -1
- package/esm2020/lib/_internal/enums/image-generation.enum.mjs +2 -1
- package/esm2020/lib/_internal/enums/index.mjs +3 -3
- package/esm2020/lib/_internal/enums/social-content.enum.mjs +20 -1
- package/esm2020/lib/_internal/index.mjs +2 -1
- package/esm2020/lib/_internal/interfaces/annotations.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/api-v2.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/chat-bot-v2.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/drafts-api.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/drafts.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/image-generation.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/social-comment.interface.mjs +8 -0
- package/esm2020/lib/_internal/interfaces/social-comments.interface.mjs +2 -0
- package/esm2020/lib/_internal/interfaces/social-content.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/social-post-v2.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/social-posts.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/wordpress-plugin.interface.mjs +1 -7
- package/esm2020/lib/_internal/objects/annotations.mjs +7 -1
- package/esm2020/lib/_internal/objects/api-v2.mjs +345 -1
- package/esm2020/lib/_internal/objects/chat-bot-v2.mjs +7 -1
- package/esm2020/lib/_internal/objects/drafts-api.mjs +7 -1
- package/esm2020/lib/_internal/objects/drafts.mjs +7 -1
- package/esm2020/lib/_internal/objects/image-generation.mjs +4 -1
- package/esm2020/lib/_internal/objects/index.mjs +5 -3
- package/esm2020/lib/_internal/objects/social-comment.mjs +54 -0
- package/esm2020/lib/_internal/objects/social-comments.mjs +134 -0
- package/esm2020/lib/_internal/objects/social-content.mjs +454 -1
- package/esm2020/lib/_internal/objects/social-post-v2.mjs +7 -1
- package/esm2020/lib/_internal/objects/social-posts.mjs +7 -1
- package/esm2020/lib/_internal/objects/wordpress-plugin.mjs +23 -1
- package/esm2020/lib/_internal/social-comments.api.service.mjs +45 -0
- package/esm2020/lib/_internal/social-content.api.service.mjs +17 -2
- package/esm2020/lib/_internal/social-posts-v2.api.service.mjs +7 -2
- package/esm2020/lib/social-post-v2.service.mjs +6 -2
- package/fesm2015/vendasta-social-posts.mjs +1365 -234
- package/fesm2015/vendasta-social-posts.mjs.map +1 -1
- package/fesm2020/vendasta-social-posts.mjs +1365 -234
- package/fesm2020/vendasta-social-posts.mjs.map +1 -1
- package/lib/_internal/enums/chat-bot-v2.enum.d.ts +5 -0
- package/lib/_internal/enums/image-generation.enum.d.ts +2 -1
- package/lib/_internal/enums/index.d.ts +2 -2
- package/lib/_internal/enums/social-content.enum.d.ts +16 -0
- package/lib/_internal/index.d.ts +1 -0
- package/lib/_internal/interfaces/annotations.interface.d.ts +2 -0
- package/lib/_internal/interfaces/api-v2.interface.d.ts +69 -0
- package/lib/_internal/interfaces/chat-bot-v2.interface.d.ts +1 -0
- package/lib/_internal/interfaces/drafts-api.interface.d.ts +2 -0
- package/lib/_internal/interfaces/drafts.interface.d.ts +2 -0
- package/lib/_internal/interfaces/image-generation.interface.d.ts +1 -0
- package/lib/_internal/interfaces/index.d.ts +4 -2
- package/lib/_internal/interfaces/social-comment.interface.d.ts +10 -0
- package/lib/_internal/interfaces/social-comments.interface.d.ts +25 -0
- package/lib/_internal/interfaces/social-content.interface.d.ts +75 -0
- package/lib/_internal/interfaces/social-post-v2.interface.d.ts +2 -0
- package/lib/_internal/interfaces/social-posts.interface.d.ts +2 -0
- package/lib/_internal/interfaces/wordpress-plugin.interface.d.ts +6 -0
- package/lib/_internal/objects/annotations.d.ts +2 -0
- package/lib/_internal/objects/api-v2.d.ts +99 -0
- package/lib/_internal/objects/chat-bot-v2.d.ts +1 -0
- package/lib/_internal/objects/drafts-api.d.ts +2 -0
- package/lib/_internal/objects/drafts.d.ts +2 -0
- package/lib/_internal/objects/image-generation.d.ts +1 -0
- package/lib/_internal/objects/index.d.ts +4 -2
- package/lib/_internal/objects/social-comment.d.ts +15 -0
- package/lib/_internal/objects/social-comments.d.ts +39 -0
- package/lib/_internal/objects/social-content.d.ts +120 -0
- package/lib/_internal/objects/social-post-v2.d.ts +2 -0
- package/lib/_internal/objects/social-posts.d.ts +2 -0
- package/lib/_internal/objects/wordpress-plugin.d.ts +6 -0
- package/lib/_internal/social-comments.api.service.d.ts +14 -0
- package/lib/_internal/social-content.api.service.d.ts +5 -2
- package/lib/_internal/social-posts-v2.api.service.d.ts +3 -2
- package/lib/social-post-v2.service.d.ts +2 -1
- package/package.json +1 -1
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as i from '../interfaces';
|
|
2
|
+
import { SocialComment } from './social-comment';
|
|
3
|
+
import * as e from '../enums';
|
|
4
|
+
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
5
|
+
export declare class ListCommentsRequest implements i.ListCommentsRequestInterface {
|
|
6
|
+
platform: e.Network;
|
|
7
|
+
accountGroupId: string;
|
|
8
|
+
postId: string;
|
|
9
|
+
parentCommentId: string;
|
|
10
|
+
cursor: string;
|
|
11
|
+
pageSize: number;
|
|
12
|
+
static fromProto(proto: any): ListCommentsRequest;
|
|
13
|
+
constructor(kwargs?: i.ListCommentsRequestInterface);
|
|
14
|
+
toApiJson(): object;
|
|
15
|
+
}
|
|
16
|
+
export declare class ListCommentsResponse implements i.ListCommentsResponseInterface {
|
|
17
|
+
comments: SocialComment[];
|
|
18
|
+
nextCursor: string;
|
|
19
|
+
hasMore: boolean;
|
|
20
|
+
static fromProto(proto: any): ListCommentsResponse;
|
|
21
|
+
constructor(kwargs?: i.ListCommentsResponseInterface);
|
|
22
|
+
toApiJson(): object;
|
|
23
|
+
}
|
|
24
|
+
export declare class PostReplyRequest implements i.PostReplyRequestInterface {
|
|
25
|
+
platform: e.Network;
|
|
26
|
+
accountGroupId: string;
|
|
27
|
+
postId: string;
|
|
28
|
+
parentCommentId: string;
|
|
29
|
+
text: string;
|
|
30
|
+
static fromProto(proto: any): PostReplyRequest;
|
|
31
|
+
constructor(kwargs?: i.PostReplyRequestInterface);
|
|
32
|
+
toApiJson(): object;
|
|
33
|
+
}
|
|
34
|
+
export declare class PostReplyResponse implements i.PostReplyResponseInterface {
|
|
35
|
+
commentId: string;
|
|
36
|
+
static fromProto(proto: any): PostReplyResponse;
|
|
37
|
+
constructor(kwargs?: i.PostReplyResponseInterface);
|
|
38
|
+
toApiJson(): object;
|
|
39
|
+
}
|
|
@@ -13,6 +13,19 @@ export declare class BlogPostOptions implements i.BlogPostOptionsInterface {
|
|
|
13
13
|
constructor(kwargs?: i.BlogPostOptionsInterface);
|
|
14
14
|
toApiJson(): object;
|
|
15
15
|
}
|
|
16
|
+
export declare class ContentItem implements i.ContentItemInterface {
|
|
17
|
+
postId: string;
|
|
18
|
+
content: SocialContentItem;
|
|
19
|
+
status: e.ContentStatus;
|
|
20
|
+
errorMessage: string;
|
|
21
|
+
createdAt: Date;
|
|
22
|
+
createdBy: string;
|
|
23
|
+
updatedAt: Date;
|
|
24
|
+
updatedBy: string;
|
|
25
|
+
static fromProto(proto: any): ContentItem;
|
|
26
|
+
constructor(kwargs?: i.ContentItemInterface);
|
|
27
|
+
toApiJson(): object;
|
|
28
|
+
}
|
|
16
29
|
export declare class ContentMetadata implements i.ContentMetadataInterface {
|
|
17
30
|
name: string;
|
|
18
31
|
value: string;
|
|
@@ -35,6 +48,43 @@ export declare class CreateContentResponse implements i.CreateContentResponseInt
|
|
|
35
48
|
constructor(kwargs?: i.CreateContentResponseInterface);
|
|
36
49
|
toApiJson(): object;
|
|
37
50
|
}
|
|
51
|
+
export declare class DateFilter implements i.DateFilterInterface {
|
|
52
|
+
field: string;
|
|
53
|
+
from: Date;
|
|
54
|
+
to: Date;
|
|
55
|
+
static fromProto(proto: any): DateFilter;
|
|
56
|
+
constructor(kwargs?: i.DateFilterInterface);
|
|
57
|
+
toApiJson(): object;
|
|
58
|
+
}
|
|
59
|
+
export declare class DeleteContentRequest implements i.DeleteContentRequestInterface {
|
|
60
|
+
accountGroupId: string;
|
|
61
|
+
post: Post[];
|
|
62
|
+
userId: string;
|
|
63
|
+
static fromProto(proto: any): DeleteContentRequest;
|
|
64
|
+
constructor(kwargs?: i.DeleteContentRequestInterface);
|
|
65
|
+
toApiJson(): object;
|
|
66
|
+
}
|
|
67
|
+
export declare class DeleteContentResponse implements i.DeleteContentResponseInterface {
|
|
68
|
+
results: DeleteResult[];
|
|
69
|
+
static fromProto(proto: any): DeleteContentResponse;
|
|
70
|
+
constructor(kwargs?: i.DeleteContentResponseInterface);
|
|
71
|
+
toApiJson(): object;
|
|
72
|
+
}
|
|
73
|
+
export declare class DeleteResult implements i.DeleteResultInterface {
|
|
74
|
+
postId: string;
|
|
75
|
+
status: string;
|
|
76
|
+
errorMessage: string;
|
|
77
|
+
static fromProto(proto: any): DeleteResult;
|
|
78
|
+
constructor(kwargs?: i.DeleteResultInterface);
|
|
79
|
+
toApiJson(): object;
|
|
80
|
+
}
|
|
81
|
+
export declare class FieldFilter implements i.FieldFilterInterface {
|
|
82
|
+
field: string;
|
|
83
|
+
values: string[];
|
|
84
|
+
static fromProto(proto: any): FieldFilter;
|
|
85
|
+
constructor(kwargs?: i.FieldFilterInterface);
|
|
86
|
+
toApiJson(): object;
|
|
87
|
+
}
|
|
38
88
|
export declare class GMBCustomization implements i.GMBCustomizationInterface {
|
|
39
89
|
title: string;
|
|
40
90
|
eventStart: Date;
|
|
@@ -56,6 +106,24 @@ export declare class Link implements i.LinkInterface {
|
|
|
56
106
|
constructor(kwargs?: i.LinkInterface);
|
|
57
107
|
toApiJson(): object;
|
|
58
108
|
}
|
|
109
|
+
export declare class ListContentRequest implements i.ListContentRequestInterface {
|
|
110
|
+
namespace: string;
|
|
111
|
+
filter: SocialContentFilter;
|
|
112
|
+
sort: Sort;
|
|
113
|
+
cursor: string;
|
|
114
|
+
pageSize: number;
|
|
115
|
+
static fromProto(proto: any): ListContentRequest;
|
|
116
|
+
constructor(kwargs?: i.ListContentRequestInterface);
|
|
117
|
+
toApiJson(): object;
|
|
118
|
+
}
|
|
119
|
+
export declare class ListContentResponse implements i.ListContentResponseInterface {
|
|
120
|
+
items: ContentItem[];
|
|
121
|
+
nextCursor: string;
|
|
122
|
+
hasMore: boolean;
|
|
123
|
+
static fromProto(proto: any): ListContentResponse;
|
|
124
|
+
constructor(kwargs?: i.ListContentResponseInterface);
|
|
125
|
+
toApiJson(): object;
|
|
126
|
+
}
|
|
59
127
|
export declare class MediaItem implements i.MediaItemInterface {
|
|
60
128
|
mediaId: string;
|
|
61
129
|
mediaType: e.MediaType;
|
|
@@ -65,6 +133,21 @@ export declare class MediaItem implements i.MediaItemInterface {
|
|
|
65
133
|
constructor(kwargs?: i.MediaItemInterface);
|
|
66
134
|
toApiJson(): object;
|
|
67
135
|
}
|
|
136
|
+
export declare class Post implements i.SocialContentPostInterface {
|
|
137
|
+
postId: string;
|
|
138
|
+
state: e.ContentState;
|
|
139
|
+
static fromProto(proto: any): Post;
|
|
140
|
+
constructor(kwargs?: i.SocialContentPostInterface);
|
|
141
|
+
toApiJson(): object;
|
|
142
|
+
}
|
|
143
|
+
export declare class SocialContentFilter implements i.SocialContentFilterInterface {
|
|
144
|
+
mode: e.PublishMode;
|
|
145
|
+
dateFilter: DateFilter;
|
|
146
|
+
filters: FieldFilter[];
|
|
147
|
+
static fromProto(proto: any): SocialContentFilter;
|
|
148
|
+
constructor(kwargs?: i.SocialContentFilterInterface);
|
|
149
|
+
toApiJson(): object;
|
|
150
|
+
}
|
|
68
151
|
export declare class SocialContentItem implements i.SocialContentItemInterface {
|
|
69
152
|
type: e.SocialContentType;
|
|
70
153
|
mode: e.PublishMode;
|
|
@@ -94,6 +177,13 @@ export declare class SocialContentResult implements i.SocialContentResultInterfa
|
|
|
94
177
|
constructor(kwargs?: i.SocialContentResultInterface);
|
|
95
178
|
toApiJson(): object;
|
|
96
179
|
}
|
|
180
|
+
export declare class Sort implements i.SortInterface {
|
|
181
|
+
field: string;
|
|
182
|
+
direction: e.SortDirection;
|
|
183
|
+
static fromProto(proto: any): Sort;
|
|
184
|
+
constructor(kwargs?: i.SortInterface);
|
|
185
|
+
toApiJson(): object;
|
|
186
|
+
}
|
|
97
187
|
export declare class SsidPostType implements i.SsidPostTypeInterface {
|
|
98
188
|
ssid: string;
|
|
99
189
|
mediaContentType: e.MediaContentType;
|
|
@@ -101,3 +191,33 @@ export declare class SsidPostType implements i.SsidPostTypeInterface {
|
|
|
101
191
|
constructor(kwargs?: i.SsidPostTypeInterface);
|
|
102
192
|
toApiJson(): object;
|
|
103
193
|
}
|
|
194
|
+
export declare class UpdateContentItem implements i.UpdateContentItemInterface {
|
|
195
|
+
postId: string;
|
|
196
|
+
content: SocialContentItem;
|
|
197
|
+
static fromProto(proto: any): UpdateContentItem;
|
|
198
|
+
constructor(kwargs?: i.UpdateContentItemInterface);
|
|
199
|
+
toApiJson(): object;
|
|
200
|
+
}
|
|
201
|
+
export declare class UpdateContentRequest implements i.UpdateContentRequestInterface {
|
|
202
|
+
accountGroupId: string;
|
|
203
|
+
username: string;
|
|
204
|
+
userId: string;
|
|
205
|
+
items: UpdateContentItem[];
|
|
206
|
+
static fromProto(proto: any): UpdateContentRequest;
|
|
207
|
+
constructor(kwargs?: i.UpdateContentRequestInterface);
|
|
208
|
+
toApiJson(): object;
|
|
209
|
+
}
|
|
210
|
+
export declare class UpdateContentResponse implements i.UpdateContentResponseInterface {
|
|
211
|
+
results: UpdateResult[];
|
|
212
|
+
static fromProto(proto: any): UpdateContentResponse;
|
|
213
|
+
constructor(kwargs?: i.UpdateContentResponseInterface);
|
|
214
|
+
toApiJson(): object;
|
|
215
|
+
}
|
|
216
|
+
export declare class UpdateResult implements i.UpdateResultInterface {
|
|
217
|
+
item: ContentItem;
|
|
218
|
+
status: string;
|
|
219
|
+
errorMessage: string;
|
|
220
|
+
static fromProto(proto: any): UpdateResult;
|
|
221
|
+
constructor(kwargs?: i.UpdateResultInterface);
|
|
222
|
+
toApiJson(): object;
|
|
223
|
+
}
|
|
@@ -78,6 +78,8 @@ export declare class SocialPostV2 implements i.SocialPostV2Interface {
|
|
|
78
78
|
shareId: string;
|
|
79
79
|
tiktokCustomization: TikTokCustomizationV2;
|
|
80
80
|
campaignId: string;
|
|
81
|
+
createdBy: string;
|
|
82
|
+
updatedBy: string;
|
|
81
83
|
static fromProto(proto: any): SocialPostV2;
|
|
82
84
|
constructor(kwargs?: i.SocialPostV2Interface);
|
|
83
85
|
toApiJson(): object;
|
|
@@ -163,6 +163,8 @@ export declare class SocialPost implements i.SocialPostInterface {
|
|
|
163
163
|
tiktokCustomization: TikTokCustomization;
|
|
164
164
|
blogPostCustomization: BlogPostCustomization;
|
|
165
165
|
campaign: SocialCampaign;
|
|
166
|
+
createdBy: string;
|
|
167
|
+
updatedBy: string;
|
|
166
168
|
static fromProto(proto: any): SocialPost;
|
|
167
169
|
constructor(kwargs?: i.SocialPostInterface);
|
|
168
170
|
toApiJson(): object;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as i from '../interfaces';
|
|
2
|
+
import { MetadataV2 } from './social-post-v2';
|
|
2
3
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
3
4
|
export declare class Author implements i.AuthorInterface {
|
|
4
5
|
id: number;
|
|
@@ -52,6 +53,9 @@ export declare class BlogPost implements i.BlogPostInterface {
|
|
|
52
53
|
created: Date;
|
|
53
54
|
updated: Date;
|
|
54
55
|
deleted: Date;
|
|
56
|
+
metadata: MetadataV2[];
|
|
57
|
+
createdBy: string;
|
|
58
|
+
updatedBy: string;
|
|
55
59
|
static fromProto(proto: any): BlogPost;
|
|
56
60
|
constructor(kwargs?: i.BlogPostInterface);
|
|
57
61
|
toApiJson(): object;
|
|
@@ -130,6 +134,8 @@ export declare class PublishPostRequest implements i.PublishPostRequestInterface
|
|
|
130
134
|
userName: string;
|
|
131
135
|
partnerId: string;
|
|
132
136
|
internalPostId: string;
|
|
137
|
+
metadata: MetadataV2[];
|
|
138
|
+
createdBy: string;
|
|
133
139
|
static fromProto(proto: any): PublishPostRequest;
|
|
134
140
|
constructor(kwargs?: i.PublishPostRequestInterface);
|
|
135
141
|
toApiJson(): object;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ListCommentsRequest, ListCommentsResponse, PostReplyRequest, PostReplyResponse } from './objects/';
|
|
2
|
+
import { ListCommentsRequestInterface, PostReplyRequestInterface } from './interfaces/';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SocialCommentsApiService {
|
|
6
|
+
private readonly hostService;
|
|
7
|
+
private readonly http;
|
|
8
|
+
private _host;
|
|
9
|
+
private apiOptions;
|
|
10
|
+
listComments(r: ListCommentsRequest | ListCommentsRequestInterface): Observable<ListCommentsResponse>;
|
|
11
|
+
postReply(r: PostReplyRequest | PostReplyRequestInterface): Observable<PostReplyResponse>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SocialCommentsApiService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SocialCommentsApiService>;
|
|
14
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CreateContentRequest, CreateContentResponse } from './objects/';
|
|
2
|
-
import { CreateContentRequestInterface } from './interfaces/';
|
|
1
|
+
import { CreateContentRequest, CreateContentResponse, DeleteContentRequest, DeleteContentResponse, ListContentRequest, ListContentResponse, UpdateContentRequest, UpdateContentResponse } from './objects/';
|
|
2
|
+
import { CreateContentRequestInterface, DeleteContentRequestInterface, ListContentRequestInterface, UpdateContentRequestInterface } from './interfaces/';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class SocialContentApiService {
|
|
@@ -8,6 +8,9 @@ export declare class SocialContentApiService {
|
|
|
8
8
|
private _host;
|
|
9
9
|
private apiOptions;
|
|
10
10
|
create(r: CreateContentRequest | CreateContentRequestInterface): Observable<CreateContentResponse>;
|
|
11
|
+
listPosts(r: ListContentRequest | ListContentRequestInterface): Observable<ListContentResponse>;
|
|
12
|
+
update(r: UpdateContentRequest | UpdateContentRequestInterface): Observable<UpdateContentResponse>;
|
|
13
|
+
delete(r: DeleteContentRequest | DeleteContentRequestInterface): Observable<DeleteContentResponse>;
|
|
11
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<SocialContentApiService, never>;
|
|
12
15
|
static ɵprov: i0.ɵɵInjectableDeclaration<SocialContentApiService>;
|
|
13
16
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CreateImageRequest, CreateImageResponse, GetMediaMetadataFromURLRequest, GetMediaMetadataFromURLResponse, GetXSubscriptionTypeRequest, GetXSubscriptionTypeResponse, ImageBlob, ImageUrl, ListPostableSocialServiceRequest, ListPostableSocialServiceResponse, RepostSocialPostRequest, SocialPostRequest, SocialPostResponse, UpdateSocialPostRequest, UpdateSocialPostResponse } from './objects/';
|
|
2
|
-
import { CreateImageRequestInterface, GetMediaMetadataFromURLRequestInterface, GetXSubscriptionTypeRequestInterface, ImageUrlInterface, ListPostableSocialServiceRequestInterface, RepostSocialPostRequestInterface, SocialPostRequestInterface, UpdateSocialPostRequestInterface } from './interfaces/';
|
|
1
|
+
import { CreateImageRequest, CreateImageResponse, GetMediaMetadataFromURLRequest, GetMediaMetadataFromURLResponse, GetXSubscriptionTypeRequest, GetXSubscriptionTypeResponse, ImageBlob, ImageUrl, ListPostableSocialServiceRequest, ListPostableSocialServiceResponse, ListSocialConnectionsByBusinessesRequest, ListSocialConnectionsByBusinessesResponse, RepostSocialPostRequest, SocialPostRequest, SocialPostResponse, UpdateSocialPostRequest, UpdateSocialPostResponse } from './objects/';
|
|
2
|
+
import { CreateImageRequestInterface, GetMediaMetadataFromURLRequestInterface, GetXSubscriptionTypeRequestInterface, ImageUrlInterface, ListPostableSocialServiceRequestInterface, ListSocialConnectionsByBusinessesRequestInterface, RepostSocialPostRequestInterface, SocialPostRequestInterface, UpdateSocialPostRequestInterface } from './interfaces/';
|
|
3
3
|
import { HttpResponse } from '@angular/common/http';
|
|
4
4
|
import { Observable } from 'rxjs';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -17,6 +17,7 @@ export declare class SocialPostsV2ApiService {
|
|
|
17
17
|
listPostableSocialServices(r: ListPostableSocialServiceRequest | ListPostableSocialServiceRequestInterface): Observable<ListPostableSocialServiceResponse>;
|
|
18
18
|
getMediaMetadataFromUrl(r: GetMediaMetadataFromURLRequest | GetMediaMetadataFromURLRequestInterface): Observable<GetMediaMetadataFromURLResponse>;
|
|
19
19
|
getXSubscriptionType(r: GetXSubscriptionTypeRequest | GetXSubscriptionTypeRequestInterface): Observable<GetXSubscriptionTypeResponse>;
|
|
20
|
+
listSocialConnectionsByBusinesses(r: ListSocialConnectionsByBusinessesRequest | ListSocialConnectionsByBusinessesRequestInterface): Observable<ListSocialConnectionsByBusinessesResponse>;
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<SocialPostsV2ApiService, never>;
|
|
21
22
|
static ɵprov: i0.ɵɵInjectableDeclaration<SocialPostsV2ApiService>;
|
|
22
23
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
|
-
import { CreateImageResponse, GetMediaMetadataFromURLResponse, GetXSubscriptionTypeRequest, GetXSubscriptionTypeResponse, ImageBlob, ListPostableSocialServiceResponse, SocialPostResponse } from './_internal/objects/api-v2';
|
|
2
|
+
import { CreateImageResponse, GetMediaMetadataFromURLResponse, GetXSubscriptionTypeRequest, GetXSubscriptionTypeResponse, ImageBlob, ListPostableSocialServiceResponse, ListSocialConnectionsByBusinessesResponse, SocialPostResponse } from './_internal/objects/api-v2';
|
|
3
3
|
import { SocialPostsV2ApiService } from './_internal/social-posts-v2.api.service';
|
|
4
4
|
import { CreateImageRequestInterface, SocialPostRequestInterface } from './_internal/interfaces';
|
|
5
5
|
import { HttpResponse } from "@angular/common/http";
|
|
@@ -15,6 +15,7 @@ export declare class SocialPostsV2Service {
|
|
|
15
15
|
listPostableSocialServices(businessId: string): Observable<ListPostableSocialServiceResponse>;
|
|
16
16
|
getMediaMetadataFromUrl(url: string): Observable<GetMediaMetadataFromURLResponse>;
|
|
17
17
|
getXSubscriptionType(req: GetXSubscriptionTypeRequest): Observable<GetXSubscriptionTypeResponse>;
|
|
18
|
+
listSocialConnectionsByBusinesses(accountGroupIds: string[]): Observable<ListSocialConnectionsByBusinessesResponse>;
|
|
18
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<SocialPostsV2Service, never>;
|
|
19
20
|
static ɵprov: i0.ɵɵInjectableDeclaration<SocialPostsV2Service>;
|
|
20
21
|
}
|