@vendasta/social-posts 5.14.0 → 5.14.1
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/index.mjs +2 -2
- package/esm2020/lib/multilocation-posts.service.mjs +8 -4
- package/fesm2015/vendasta-social-posts.mjs +7 -3
- package/fesm2015/vendasta-social-posts.mjs.map +1 -1
- package/fesm2020/vendasta-social-posts.mjs +7 -3
- package/fesm2020/vendasta-social-posts.mjs.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/multilocation-posts.service.d.ts +3 -3
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export { TenorGifsService } from './tenor-gifs.service';
|
|
|
5
5
|
export { PixabayImageService } from './pixabay-image.service';
|
|
6
6
|
export { HashTagsService } from './hashtag.service';
|
|
7
7
|
export { PostPerformanceService } from './post-performance.service';
|
|
8
|
-
export { FieldMask, Location, MultilocationPost, PostingStatus, RemoveReason, MultilocationPostApiService, GetMultilocationPostRequest, DeleteMultilocationPostRequest, ListMultilocationPostsForBrandRequest, PostPerformanceApiService, MessageLength, TemplateType, MediaEntry, MetaData, } from './_internal';
|
|
8
|
+
export { FieldMask, Location, MultilocationPost, PostingStatus, RemoveReason, MultilocationPostApiService, GetMultilocationPostRequest, DeleteMultilocationPostRequest, ListMultilocationPostsForBrandRequest, PostPerformanceApiService, MessageLength, TemplateType, MediaEntry, MetaData, PostCustomization, } from './_internal';
|
|
9
9
|
export * from './_internal/interfaces';
|
|
10
10
|
export * from './_internal/enums';
|
|
11
11
|
export * from './_internal/objects';
|
|
@@ -3,15 +3,15 @@ import { Observable } from 'rxjs';
|
|
|
3
3
|
import { CreateMultilocationPostResponse, EditMultilocationPostResponse, GetMultilocationPostResponse, ListMultilocationPostsForBrandResponse } from './_internal/objects/api';
|
|
4
4
|
import { MultilocationPostApiService } from './_internal/multilocation-post.api.service';
|
|
5
5
|
import { FieldMask } from './_internal/objects/field-mask';
|
|
6
|
-
import { Location } from './_internal/objects/multilocation-post';
|
|
6
|
+
import { Location, PostCustomization } from './_internal/objects/multilocation-post';
|
|
7
7
|
import { RemoveReason } from './_internal/enums/multilocation-post.enum';
|
|
8
8
|
import { MediaEntry, MetaData } from "./_internal";
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class MultilocationPostsService {
|
|
11
11
|
private multilocationApiService;
|
|
12
12
|
constructor(multilocationApiService: MultilocationPostApiService);
|
|
13
|
-
createMultilocationPost(brandId: string, text: string, media: string[], gifs: string[], videos: string[], scheduledDate: Date, locations: Location[], mediaEntries
|
|
14
|
-
editMultilocationPost(brandId: string, multilocationId: string, text: string, media: string[], gifs: string[], videos: string[], scheduledDate: Date, locations: Location[], fieldMask: FieldMask, mediaEntries
|
|
13
|
+
createMultilocationPost(brandId: string, text: string, media: string[], gifs: string[], videos: string[], scheduledDate: Date, locations: Location[], mediaEntries?: MediaEntry[], postCustomization?: PostCustomization, linkShortCode?: string, metadata?: MetaData[]): Observable<CreateMultilocationPostResponse>;
|
|
14
|
+
editMultilocationPost(brandId: string, multilocationId: string, text: string, media: string[], gifs: string[], videos: string[], scheduledDate: Date, locations: Location[], fieldMask: FieldMask, mediaEntries?: MediaEntry[], postCustomization?: PostCustomization, linkShortCode?: string, metadata?: MetaData[]): Observable<EditMultilocationPostResponse>;
|
|
15
15
|
removeFromMultilocationPost(reason: RemoveReason, brandId: string, multilocationId: string, locations: Location[]): Observable<HttpResponse<null>>;
|
|
16
16
|
listMultilocationPostsForBrand(brandId: string, startDate: Date, endDate: Date, cursor: string, pageSize: number): Observable<ListMultilocationPostsForBrandResponse>;
|
|
17
17
|
deleteMultilocationPost(brandId: string, multilocationId: string): Observable<HttpResponse<null>>;
|