@vendasta/social-posts 5.19.2 → 5.19.3
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/interfaces/api-v2.interface.mjs +1 -1
- package/esm2020/lib/_internal/objects/api-v2.mjs +4 -1
- package/esm2020/lib/unsplash-image.service.mjs +8 -2
- package/fesm2015/vendasta-social-posts.mjs +9 -0
- package/fesm2015/vendasta-social-posts.mjs.map +1 -1
- package/fesm2020/vendasta-social-posts.mjs +9 -0
- package/fesm2020/vendasta-social-posts.mjs.map +1 -1
- package/lib/_internal/interfaces/api-v2.interface.d.ts +1 -0
- package/lib/_internal/objects/api-v2.d.ts +1 -0
- package/lib/unsplash-image.service.d.ts +2 -1
- package/package.json +1 -1
|
@@ -213,6 +213,7 @@ export declare class UpdateSocialPostResponse implements i.UpdateSocialPostRespo
|
|
|
213
213
|
export declare class UploadToStorageRequest implements i.UploadToStorageRequestInterface {
|
|
214
214
|
url: string;
|
|
215
215
|
mediaType: e.MediaType;
|
|
216
|
+
agid: string;
|
|
216
217
|
static fromProto(proto: any): UploadToStorageRequest;
|
|
217
218
|
constructor(kwargs?: i.UploadToStorageRequestInterface);
|
|
218
219
|
toApiJson(): object;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { UnsplashApiService } from './_internal/unsplash.api.service';
|
|
3
|
-
import { ListUnsplashImagesResponse } from './_internal/objects/api-v2';
|
|
3
|
+
import { ListUnsplashImagesResponse, UploadToStorageResponse } from './_internal/objects/api-v2';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class UnsplashImageService {
|
|
6
6
|
private unsplashApiService;
|
|
7
7
|
constructor(unsplashApiService: UnsplashApiService);
|
|
8
8
|
listUnsplashImages(query: string, page?: number, perPage?: number, orderBy?: string, orientation?: string): Observable<ListUnsplashImagesResponse>;
|
|
9
|
+
uploadToStorage(url: string, agid: string): Observable<UploadToStorageResponse>;
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<UnsplashImageService, never>;
|
|
10
11
|
static ɵprov: i0.ɵɵInjectableDeclaration<UnsplashImageService>;
|
|
11
12
|
}
|