@vendasta/social-posts 5.45.6 → 5.45.7
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/multilocation-post.api.service.mjs +6 -1
- package/esm2020/lib/multilocation-posts.service.mjs +4 -1
- package/fesm2015/vendasta-social-posts.mjs +8 -0
- package/fesm2015/vendasta-social-posts.mjs.map +1 -1
- package/fesm2020/vendasta-social-posts.mjs +8 -0
- package/fesm2020/vendasta-social-posts.mjs.map +1 -1
- package/lib/_internal/multilocation-post.api.service.d.ts +1 -0
- package/lib/multilocation-posts.service.d.ts +3 -2
- package/package.json +1 -1
|
@@ -10,6 +10,7 @@ export declare class MultilocationPostApiService {
|
|
|
10
10
|
private apiOptions;
|
|
11
11
|
createMultilocationPost(r: CreateMultilocationPostRequest | CreateMultilocationPostRequestInterface): Observable<CreateMultilocationPostResponse>;
|
|
12
12
|
editMultilocationPost(r: EditMultilocationPostRequest | EditMultilocationPostRequestInterface): Observable<EditMultilocationPostResponse>;
|
|
13
|
+
editMultilocationPostV2(r: EditMultilocationPostRequest | EditMultilocationPostRequestInterface): Observable<EditMultilocationPostResponse>;
|
|
13
14
|
removeFromMultilocationPost(r: RemoveFromMultilocationPostRequest | RemoveFromMultilocationPostRequestInterface): Observable<HttpResponse<null>>;
|
|
14
15
|
listMultilocationPostsForBrand(r: ListMultilocationPostsForBrandRequest | ListMultilocationPostsForBrandRequestInterface): Observable<ListMultilocationPostsForBrandResponse>;
|
|
15
16
|
deleteMultilocationPost(r: DeleteMultilocationPostRequest | DeleteMultilocationPostRequestInterface): Observable<HttpResponse<null>>;
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { HttpResponse } from '@angular/common/http';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
|
-
import { CreateMultilocationPostResponse, EditMultilocationPostResponse, GetMultilocationPostResponse, ListMultilocationPostsForBrandResponse, BulkCreateMultilocationPostRequest, BulkCreateMultilocationPostResponse } from './_internal/objects/api';
|
|
3
|
+
import { CreateMultilocationPostResponse, EditMultilocationPostRequest, EditMultilocationPostResponse, GetMultilocationPostResponse, ListMultilocationPostsForBrandResponse, BulkCreateMultilocationPostRequest, BulkCreateMultilocationPostResponse } from './_internal/objects/api';
|
|
4
4
|
import { MultilocationPostApiService } from './_internal/multilocation-post.api.service';
|
|
5
5
|
import { FieldMask } from './_internal/objects/field-mask';
|
|
6
6
|
import { Location, MultilocationServices, PostCustomization } from './_internal/objects/multilocation-post';
|
|
7
7
|
import { RemoveReason } from './_internal/enums/multilocation-post.enum';
|
|
8
|
-
import { MediaEntry, MetaData, MLPostCategory, PostCustomizationByLocationInterface, SSIDPostType } from "./_internal";
|
|
8
|
+
import { EditMultilocationPostRequestInterface, MediaEntry, MetaData, MLPostCategory, PostCustomizationByLocationInterface, SSIDPostType } 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
13
|
createMultilocationPost(brandId: string, text: string, media: string[], gifs: string[], videos: string[], scheduledDate: Date, locations: Location[], mediaEntries?: MediaEntry[], postCustomization?: PostCustomization, linkShortCode?: string, metadata?: MetaData[], postTypes?: SSIDPostType[], postCategory?: MLPostCategory, postCustomizationByLocation?: PostCustomizationByLocationInterface): Observable<CreateMultilocationPostResponse>;
|
|
14
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[], postTypes?: SSIDPostType[], postCategory?: MLPostCategory, newServices?: MultilocationServices[], deletedServices?: MultilocationServices[], postCustomizationByLocation?: PostCustomizationByLocationInterface): Observable<EditMultilocationPostResponse>;
|
|
15
|
+
editMultilocationPostV2(req: EditMultilocationPostRequest | EditMultilocationPostRequestInterface): Observable<EditMultilocationPostResponse>;
|
|
15
16
|
removeFromMultilocationPost(reason: RemoveReason, brandId: string, multilocationId: string, locations: Location[]): Observable<HttpResponse<null>>;
|
|
16
17
|
listMultilocationPostsForBrand(brandId: string, startDate: Date, endDate: Date, cursor: string, pageSize: number): Observable<ListMultilocationPostsForBrandResponse>;
|
|
17
18
|
deleteMultilocationPost(brandId: string, multilocationId: string): Observable<HttpResponse<null>>;
|