@vendasta/social-posts 5.19.2 → 5.19.4

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.
@@ -71,6 +71,7 @@ export interface ListUnsplashImagesRequestInterface {
71
71
  color?: string;
72
72
  orientation?: string;
73
73
  random?: boolean;
74
+ includeLocalUrl?: boolean;
74
75
  }
75
76
  export interface ListUnsplashImagesResponseInterface {
76
77
  total?: number;
@@ -133,6 +134,7 @@ export interface UpdateSocialPostResponseInterface {
133
134
  export interface UploadToStorageRequestInterface {
134
135
  url?: string;
135
136
  mediaType?: e.MediaType;
137
+ agid?: string;
136
138
  }
137
139
  export interface UploadToStorageResponseInterface {
138
140
  url?: string;
@@ -44,6 +44,7 @@ export interface PhotoInterface {
44
44
  sponsorship?: string[];
45
45
  user?: UserInterface;
46
46
  tags?: TagsInterface[];
47
+ storageUrl?: string;
47
48
  }
48
49
  export interface SocialInterface {
49
50
  instagramUsername?: string;
@@ -112,6 +112,7 @@ export declare class ListUnsplashImagesRequest implements i.ListUnsplashImagesRe
112
112
  color: string;
113
113
  orientation: string;
114
114
  random: boolean;
115
+ includeLocalUrl: boolean;
115
116
  static fromProto(proto: any): ListUnsplashImagesRequest;
116
117
  constructor(kwargs?: i.ListUnsplashImagesRequestInterface);
117
118
  toApiJson(): object;
@@ -213,6 +214,7 @@ export declare class UpdateSocialPostResponse implements i.UpdateSocialPostRespo
213
214
  export declare class UploadToStorageRequest implements i.UploadToStorageRequestInterface {
214
215
  url: string;
215
216
  mediaType: e.MediaType;
217
+ agid: string;
216
218
  static fromProto(proto: any): UploadToStorageRequest;
217
219
  constructor(kwargs?: i.UploadToStorageRequestInterface);
218
220
  toApiJson(): object;
@@ -58,6 +58,7 @@ export declare class Photo implements i.PhotoInterface {
58
58
  sponsorship: string[];
59
59
  user: User;
60
60
  tags: Tags[];
61
+ storageUrl: string;
61
62
  static fromProto(proto: any): Photo;
62
63
  constructor(kwargs?: i.PhotoInterface);
63
64
  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
- listUnsplashImages(query: string, page?: number, perPage?: number, orderBy?: string, orientation?: string): Observable<ListUnsplashImagesResponse>;
8
+ listUnsplashImages(query: string, page?: number, perPage?: number, orderBy?: string, orientation?: string, includeLocalUrl?: boolean): 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.4",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^15.1.0",
6
6
  "@angular/core": "^15.1.0"