@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.
@@ -133,6 +133,7 @@ export interface UpdateSocialPostResponseInterface {
133
133
  export interface UploadToStorageRequestInterface {
134
134
  url?: string;
135
135
  mediaType?: e.MediaType;
136
+ agid?: string;
136
137
  }
137
138
  export interface UploadToStorageResponseInterface {
138
139
  url?: string;
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vendasta/social-posts",
3
- "version": "5.19.2",
3
+ "version": "5.19.3",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"