@vendasta/social-posts 5.18.0 → 5.19.0
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/index.mjs +2 -1
- package/esm2020/lib/_internal/interfaces/api-v2.interface.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/index.mjs +1 -1
- package/esm2020/lib/_internal/interfaces/unsplash-image.interface.mjs +8 -0
- package/esm2020/lib/_internal/objects/api-v2.mjs +84 -1
- package/esm2020/lib/_internal/objects/index.mjs +3 -2
- package/esm2020/lib/_internal/objects/unsplash-image.mjs +532 -0
- package/esm2020/lib/_internal/unsplash.api.service.mjs +41 -0
- package/fesm2015/vendasta-social-posts.mjs +674 -27
- package/fesm2015/vendasta-social-posts.mjs.map +1 -1
- package/fesm2020/vendasta-social-posts.mjs +674 -27
- package/fesm2020/vendasta-social-posts.mjs.map +1 -1
- package/lib/_internal/index.d.ts +1 -0
- package/lib/_internal/interfaces/api-v2.interface.d.ts +16 -0
- package/lib/_internal/interfaces/index.d.ts +2 -1
- package/lib/_internal/interfaces/unsplash-image.interface.d.ts +110 -0
- package/lib/_internal/objects/api-v2.d.ts +22 -0
- package/lib/_internal/objects/index.d.ts +2 -1
- package/lib/_internal/objects/unsplash-image.d.ts +148 -0
- package/lib/_internal/unsplash.api.service.d.ts +16 -0
- package/package.json +1 -1
package/lib/_internal/index.d.ts
CHANGED
|
@@ -13,3 +13,4 @@ export { PostTemplatesApiService } from './post-templates.api.service';
|
|
|
13
13
|
export { SocialPostsApiService } from './social-posts.api.service';
|
|
14
14
|
export { SocialPostsV2ApiService } from './social-posts-v2.api.service';
|
|
15
15
|
export { TenorGifsApiService } from './tenor-gifs.api.service';
|
|
16
|
+
export { UnsplashApiService } from './unsplash.api.service';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { MediaInterface } from './linkedin-v2.interface';
|
|
2
2
|
import { MetadataV2Interface, SocialPostV2Interface } from './social-post-v2.interface';
|
|
3
|
+
import { PhotoInterface } from './unsplash-image.interface';
|
|
3
4
|
import * as e from '../enums';
|
|
4
5
|
export interface AiInstructionsInterface {
|
|
5
6
|
commonAiInstructions?: string;
|
|
@@ -59,6 +60,21 @@ export interface ImageCreatedInterface {
|
|
|
59
60
|
export interface ImageUrlInterface {
|
|
60
61
|
url?: string;
|
|
61
62
|
}
|
|
63
|
+
export interface ListUnsplashImagesRequestInterface {
|
|
64
|
+
query?: string;
|
|
65
|
+
page?: number;
|
|
66
|
+
perPage?: number;
|
|
67
|
+
orderBy?: string;
|
|
68
|
+
collection?: string[];
|
|
69
|
+
contentFilter?: string;
|
|
70
|
+
color?: string;
|
|
71
|
+
orientation?: string;
|
|
72
|
+
}
|
|
73
|
+
export interface ListUnsplashImagesResponseInterface {
|
|
74
|
+
total?: number;
|
|
75
|
+
totalPages?: number;
|
|
76
|
+
results?: PhotoInterface[];
|
|
77
|
+
}
|
|
62
78
|
export interface MediaUploadRequestInterface {
|
|
63
79
|
accessToken?: string;
|
|
64
80
|
owner?: string;
|
|
@@ -8,4 +8,5 @@ export { TenorGifMediaMapEntryInterface, TenorGifInterface, TenorMediaObjectInte
|
|
|
8
8
|
export { CreateMultilocationPostRequestInterface, CreateMultilocationPostResponseInterface, CreatePostTemplateRequestInterface, CreatePostTemplateResponseInterface, DateRangeFilterInterface, DeleteHashtagsRequestInterface, DeleteMultilocationPostRequestInterface, DeletePostTemplateRequestInterface, DeleteSocialPostRequestInterface, EditMultilocationPostRequestInterface, EditMultilocationPostResponseInterface, PartnerListScheduledSocialPostsRequestFiltersInterface, GenerateCSVForPerformanceStatsRequestInterface, GenerateCSVForPerformanceStatsResponseInterface, GetGeneratedCSVForPerformanceStatsRequestInterface, GetGeneratedCSVForPerformanceStatsResponseInterface, GetMultiSocialPostStatsRequestInterface, GetMultiSocialPostStatsResponseInterface, GetMultiSocialPostsRequestInterface, GetMultiSocialPostsResponseInterface, GetMultilocationPostRequestInterface, GetMultilocationPostResponseInterface, GetPostTemplateRequestInterface, GetPostTemplateResponseInterface, GetScheduledPostCountRequestInterface, GetScheduledPostCountResponseInterface, GetTenorAnonymousIdRequestInterface, GetTenorAnonymousIdResponseInterface, ListMultilocationPostsForBrandRequestInterface, ListMultilocationPostsForBrandResponseInterface, ListPixabayImagesRequestInterface, ListPixabayImagesResponseInterface, ListPostTemplatesRequestInterface, ListPostTemplatesResponseInterface, ListSocialPostsRequestInterface, ListSocialPostsResponseInterface, ListTenorGifsRequestInterface, ListTenorGifsResponseInterface, PartnerListScheduledPostsResponseInterface, PartnerListScheduledSocialPostsRequestInterface, PostDataInterface, RemoveFromMultilocationPostRequestInterface, ReplaceHashtagsRequestInterface, SchedulePostRequestInterface, SchedulePostResponseInterface, ScheduleToAllPagesRequestInterface, ScheduleToAllPagesResponseInterface, SearchHashtagRequestInterface, SearchHashtagResponseInterface, SuggestMessageRequestInterface, SuggestMessageResponseInterface, UpdatePostTemplateRequestInterface, } from './api.interface';
|
|
9
9
|
export { LinkV2Interface, MetadataV2Interface, PostActionV2Interface, PostContentV2Interface, PostCustomizationV2Interface, PostEventV2Interface, PostMediaV2Interface, SocialPostV2Interface, YoutubeCustomizationV2Interface, } from './social-post-v2.interface';
|
|
10
10
|
export { MediaInterface, } from './linkedin-v2.interface';
|
|
11
|
-
export {
|
|
11
|
+
export { AncestryInterface, CollectionInterface, ImageInterface, LinksInterface, PhotoInterface, SocialInterface, SourceInterface, SubAncestryInterface, TagsInterface, UrlsInterface, UserInterface, UserLinkInterface, } from './unsplash-image.interface';
|
|
12
|
+
export { AiInstructionsInterface, CreateCommonAiInstructionsRequestInterface, CreateCommonAiInstructionsResponseInterface, CreateImageRequestInterface, CreateImageResponseInterface, DeletePostRequestInterface, GeneratePostsRequestInterface, GeneratePostsResponseInterface, GetCommonAiInstructionsRequestInterface, GetCommonAiInstructionsResponseInterface, ImageBlobInterface, ImageCreatedInterface, ImageUrlInterface, ListUnsplashImagesRequestInterface, ListUnsplashImagesResponseInterface, MediaUploadRequestInterface, MediaUploadResponseInterface, GeneratePostsResponsePostInterface, RepostSocialPostRequestInterface, SocialPostOutputInterface, SocialPostRequestInterface, SocialPostResponseInterface, UpdateCommonAiInstructionsRequestInterface, UpdateCommonAiInstructionsResponseInterface, UpdateSocialPostRequestInterface, UpdateSocialPostResponseInterface, } from './api-v2.interface';
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
export interface AncestryInterface {
|
|
2
|
+
type?: SubAncestryInterface;
|
|
3
|
+
category?: SubAncestryInterface;
|
|
4
|
+
subcategory?: SubAncestryInterface;
|
|
5
|
+
}
|
|
6
|
+
export interface CollectionInterface {
|
|
7
|
+
id?: string;
|
|
8
|
+
title?: string;
|
|
9
|
+
publishedAt?: string;
|
|
10
|
+
lastCollectedAt?: string;
|
|
11
|
+
updatedAt?: string;
|
|
12
|
+
coverPhoto?: string;
|
|
13
|
+
user?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface ImageInterface {
|
|
16
|
+
small?: string;
|
|
17
|
+
medium?: string;
|
|
18
|
+
large?: string;
|
|
19
|
+
}
|
|
20
|
+
export interface LinksInterface {
|
|
21
|
+
self?: string;
|
|
22
|
+
html?: string;
|
|
23
|
+
download?: string;
|
|
24
|
+
downloadLocation?: string;
|
|
25
|
+
}
|
|
26
|
+
export interface PhotoInterface {
|
|
27
|
+
id?: string;
|
|
28
|
+
slug?: string;
|
|
29
|
+
createdAt?: string;
|
|
30
|
+
updatedAt?: string;
|
|
31
|
+
promotedAt?: string;
|
|
32
|
+
width?: number;
|
|
33
|
+
height?: number;
|
|
34
|
+
color?: string;
|
|
35
|
+
blurHash?: string;
|
|
36
|
+
description?: string;
|
|
37
|
+
altDescription?: string;
|
|
38
|
+
breadcrumbs?: string[];
|
|
39
|
+
urls?: UrlsInterface;
|
|
40
|
+
links?: LinksInterface;
|
|
41
|
+
likes?: number;
|
|
42
|
+
likedByUser?: boolean;
|
|
43
|
+
currentUserCollections?: CollectionInterface[];
|
|
44
|
+
sponsorship?: string[];
|
|
45
|
+
user?: UserInterface;
|
|
46
|
+
tags?: TagsInterface[];
|
|
47
|
+
}
|
|
48
|
+
export interface SocialInterface {
|
|
49
|
+
instagramUsername?: string;
|
|
50
|
+
portfolioUrl?: string;
|
|
51
|
+
twitterUsername?: string;
|
|
52
|
+
paypalEmail?: string;
|
|
53
|
+
}
|
|
54
|
+
export interface SourceInterface {
|
|
55
|
+
ancestry?: AncestryInterface;
|
|
56
|
+
title?: string;
|
|
57
|
+
subtitle?: string;
|
|
58
|
+
description?: string;
|
|
59
|
+
metaTitle?: string;
|
|
60
|
+
metaDescription?: string;
|
|
61
|
+
coverPhoto?: PhotoInterface;
|
|
62
|
+
}
|
|
63
|
+
export interface SubAncestryInterface {
|
|
64
|
+
slug?: string;
|
|
65
|
+
prettySlug?: string;
|
|
66
|
+
}
|
|
67
|
+
export interface TagsInterface {
|
|
68
|
+
type?: string;
|
|
69
|
+
title?: string;
|
|
70
|
+
source?: SourceInterface;
|
|
71
|
+
}
|
|
72
|
+
export interface UrlsInterface {
|
|
73
|
+
raw?: string;
|
|
74
|
+
full?: string;
|
|
75
|
+
regular?: string;
|
|
76
|
+
small?: string;
|
|
77
|
+
thumb?: string;
|
|
78
|
+
smallS3?: string;
|
|
79
|
+
}
|
|
80
|
+
export interface UserInterface {
|
|
81
|
+
id?: string;
|
|
82
|
+
updatedAt?: string;
|
|
83
|
+
username?: string;
|
|
84
|
+
name?: string;
|
|
85
|
+
firstName?: string;
|
|
86
|
+
lastName?: string;
|
|
87
|
+
twitterUsername?: string;
|
|
88
|
+
portfolioUrl?: string;
|
|
89
|
+
bio?: string;
|
|
90
|
+
location?: string;
|
|
91
|
+
links?: UserLinkInterface;
|
|
92
|
+
profileImage?: ImageInterface;
|
|
93
|
+
instagramUsername?: string;
|
|
94
|
+
totalCollections?: number;
|
|
95
|
+
totalLikes?: number;
|
|
96
|
+
totalPhotos?: number;
|
|
97
|
+
totalPromotedPhotos?: number;
|
|
98
|
+
acceptedTos?: boolean;
|
|
99
|
+
forHire?: boolean;
|
|
100
|
+
social?: SocialInterface;
|
|
101
|
+
}
|
|
102
|
+
export interface UserLinkInterface {
|
|
103
|
+
self?: string;
|
|
104
|
+
html?: string;
|
|
105
|
+
photos?: string;
|
|
106
|
+
likes?: string;
|
|
107
|
+
portfolio?: string;
|
|
108
|
+
following?: string;
|
|
109
|
+
followers?: string;
|
|
110
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as i from '../interfaces';
|
|
2
2
|
import { Media } from './linkedin-v2';
|
|
3
3
|
import { MetadataV2, SocialPostV2 } from './social-post-v2';
|
|
4
|
+
import { Photo } from './unsplash-image';
|
|
4
5
|
import * as e from '../enums';
|
|
5
6
|
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
6
7
|
export declare class AiInstructions implements i.AiInstructionsInterface {
|
|
@@ -100,6 +101,27 @@ export declare class ImageUrl implements i.ImageUrlInterface {
|
|
|
100
101
|
constructor(kwargs?: i.ImageUrlInterface);
|
|
101
102
|
toApiJson(): object;
|
|
102
103
|
}
|
|
104
|
+
export declare class ListUnsplashImagesRequest implements i.ListUnsplashImagesRequestInterface {
|
|
105
|
+
query: string;
|
|
106
|
+
page: number;
|
|
107
|
+
perPage: number;
|
|
108
|
+
orderBy: string;
|
|
109
|
+
collection: string[];
|
|
110
|
+
contentFilter: string;
|
|
111
|
+
color: string;
|
|
112
|
+
orientation: string;
|
|
113
|
+
static fromProto(proto: any): ListUnsplashImagesRequest;
|
|
114
|
+
constructor(kwargs?: i.ListUnsplashImagesRequestInterface);
|
|
115
|
+
toApiJson(): object;
|
|
116
|
+
}
|
|
117
|
+
export declare class ListUnsplashImagesResponse implements i.ListUnsplashImagesResponseInterface {
|
|
118
|
+
total: number;
|
|
119
|
+
totalPages: number;
|
|
120
|
+
results: Photo[];
|
|
121
|
+
static fromProto(proto: any): ListUnsplashImagesResponse;
|
|
122
|
+
constructor(kwargs?: i.ListUnsplashImagesResponseInterface);
|
|
123
|
+
toApiJson(): object;
|
|
124
|
+
}
|
|
103
125
|
export declare class MediaUploadRequest implements i.MediaUploadRequestInterface {
|
|
104
126
|
accessToken: string;
|
|
105
127
|
owner: string;
|
|
@@ -8,4 +8,5 @@ export { TenorGifMediaMapEntry, TenorGif, TenorMediaObject, } from './tenor-gif'
|
|
|
8
8
|
export { CreateMultilocationPostRequest, CreateMultilocationPostResponse, CreatePostTemplateRequest, CreatePostTemplateResponse, DateRangeFilter, DeleteHashtagsRequest, DeleteMultilocationPostRequest, DeletePostTemplateRequest, DeleteSocialPostRequest, EditMultilocationPostRequest, EditMultilocationPostResponse, PartnerListScheduledSocialPostsRequestFilters, GenerateCSVForPerformanceStatsRequest, GenerateCSVForPerformanceStatsResponse, GetGeneratedCSVForPerformanceStatsRequest, GetGeneratedCSVForPerformanceStatsResponse, GetMultiSocialPostStatsRequest, GetMultiSocialPostStatsResponse, GetMultiSocialPostsRequest, GetMultiSocialPostsResponse, GetMultilocationPostRequest, GetMultilocationPostResponse, GetPostTemplateRequest, GetPostTemplateResponse, GetScheduledPostCountRequest, GetScheduledPostCountResponse, GetTenorAnonymousIdRequest, GetTenorAnonymousIdResponse, ListMultilocationPostsForBrandRequest, ListMultilocationPostsForBrandResponse, ListPixabayImagesRequest, ListPixabayImagesResponse, ListPostTemplatesRequest, ListPostTemplatesResponse, ListSocialPostsRequest, ListSocialPostsResponse, ListTenorGifsRequest, ListTenorGifsResponse, PartnerListScheduledPostsResponse, PartnerListScheduledSocialPostsRequest, PostData, RemoveFromMultilocationPostRequest, ReplaceHashtagsRequest, SchedulePostRequest, SchedulePostResponse, ScheduleToAllPagesRequest, ScheduleToAllPagesResponse, SearchHashtagRequest, SearchHashtagResponse, SuggestMessageRequest, SuggestMessageResponse, UpdatePostTemplateRequest, } from './api';
|
|
9
9
|
export { LinkV2, MetadataV2, PostActionV2, PostContentV2, PostCustomizationV2, PostEventV2, PostMediaV2, SocialPostV2, YoutubeCustomizationV2, } from './social-post-v2';
|
|
10
10
|
export { Media, } from './linkedin-v2';
|
|
11
|
-
export {
|
|
11
|
+
export { Ancestry, Collection, Image, Links, Photo, Social, Source, SubAncestry, Tags, Urls, User, UserLink, } from './unsplash-image';
|
|
12
|
+
export { AiInstructions, CreateCommonAiInstructionsRequest, CreateCommonAiInstructionsResponse, CreateImageRequest, CreateImageResponse, DeletePostRequest, GeneratePostsRequest, GeneratePostsResponse, GetCommonAiInstructionsRequest, GetCommonAiInstructionsResponse, ImageBlob, ImageCreated, ImageUrl, ListUnsplashImagesRequest, ListUnsplashImagesResponse, MediaUploadRequest, MediaUploadResponse, GeneratePostsResponsePost, RepostSocialPostRequest, SocialPostOutput, SocialPostRequest, SocialPostResponse, UpdateCommonAiInstructionsRequest, UpdateCommonAiInstructionsResponse, UpdateSocialPostRequest, UpdateSocialPostResponse, } from './api-v2';
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import * as i from '../interfaces';
|
|
2
|
+
export declare function enumStringToValue<E>(enumRef: any, value: string): E;
|
|
3
|
+
export declare class Ancestry implements i.AncestryInterface {
|
|
4
|
+
type: SubAncestry;
|
|
5
|
+
category: SubAncestry;
|
|
6
|
+
subcategory: SubAncestry;
|
|
7
|
+
static fromProto(proto: any): Ancestry;
|
|
8
|
+
constructor(kwargs?: i.AncestryInterface);
|
|
9
|
+
toApiJson(): object;
|
|
10
|
+
}
|
|
11
|
+
export declare class Collection implements i.CollectionInterface {
|
|
12
|
+
id: string;
|
|
13
|
+
title: string;
|
|
14
|
+
publishedAt: string;
|
|
15
|
+
lastCollectedAt: string;
|
|
16
|
+
updatedAt: string;
|
|
17
|
+
coverPhoto: string;
|
|
18
|
+
user: string;
|
|
19
|
+
static fromProto(proto: any): Collection;
|
|
20
|
+
constructor(kwargs?: i.CollectionInterface);
|
|
21
|
+
toApiJson(): object;
|
|
22
|
+
}
|
|
23
|
+
export declare class Image implements i.ImageInterface {
|
|
24
|
+
small: string;
|
|
25
|
+
medium: string;
|
|
26
|
+
large: string;
|
|
27
|
+
static fromProto(proto: any): Image;
|
|
28
|
+
constructor(kwargs?: i.ImageInterface);
|
|
29
|
+
toApiJson(): object;
|
|
30
|
+
}
|
|
31
|
+
export declare class Links implements i.LinksInterface {
|
|
32
|
+
self: string;
|
|
33
|
+
html: string;
|
|
34
|
+
download: string;
|
|
35
|
+
downloadLocation: string;
|
|
36
|
+
static fromProto(proto: any): Links;
|
|
37
|
+
constructor(kwargs?: i.LinksInterface);
|
|
38
|
+
toApiJson(): object;
|
|
39
|
+
}
|
|
40
|
+
export declare class Photo implements i.PhotoInterface {
|
|
41
|
+
id: string;
|
|
42
|
+
slug: string;
|
|
43
|
+
createdAt: string;
|
|
44
|
+
updatedAt: string;
|
|
45
|
+
promotedAt: string;
|
|
46
|
+
width: number;
|
|
47
|
+
height: number;
|
|
48
|
+
color: string;
|
|
49
|
+
blurHash: string;
|
|
50
|
+
description: string;
|
|
51
|
+
altDescription: string;
|
|
52
|
+
breadcrumbs: string[];
|
|
53
|
+
urls: Urls;
|
|
54
|
+
links: Links;
|
|
55
|
+
likes: number;
|
|
56
|
+
likedByUser: boolean;
|
|
57
|
+
currentUserCollections: Collection[];
|
|
58
|
+
sponsorship: string[];
|
|
59
|
+
user: User;
|
|
60
|
+
tags: Tags[];
|
|
61
|
+
static fromProto(proto: any): Photo;
|
|
62
|
+
constructor(kwargs?: i.PhotoInterface);
|
|
63
|
+
toApiJson(): object;
|
|
64
|
+
}
|
|
65
|
+
export declare class Social implements i.SocialInterface {
|
|
66
|
+
instagramUsername: string;
|
|
67
|
+
portfolioUrl: string;
|
|
68
|
+
twitterUsername: string;
|
|
69
|
+
paypalEmail: string;
|
|
70
|
+
static fromProto(proto: any): Social;
|
|
71
|
+
constructor(kwargs?: i.SocialInterface);
|
|
72
|
+
toApiJson(): object;
|
|
73
|
+
}
|
|
74
|
+
export declare class Source implements i.SourceInterface {
|
|
75
|
+
ancestry: Ancestry;
|
|
76
|
+
title: string;
|
|
77
|
+
subtitle: string;
|
|
78
|
+
description: string;
|
|
79
|
+
metaTitle: string;
|
|
80
|
+
metaDescription: string;
|
|
81
|
+
coverPhoto: Photo;
|
|
82
|
+
static fromProto(proto: any): Source;
|
|
83
|
+
constructor(kwargs?: i.SourceInterface);
|
|
84
|
+
toApiJson(): object;
|
|
85
|
+
}
|
|
86
|
+
export declare class SubAncestry implements i.SubAncestryInterface {
|
|
87
|
+
slug: string;
|
|
88
|
+
prettySlug: string;
|
|
89
|
+
static fromProto(proto: any): SubAncestry;
|
|
90
|
+
constructor(kwargs?: i.SubAncestryInterface);
|
|
91
|
+
toApiJson(): object;
|
|
92
|
+
}
|
|
93
|
+
export declare class Tags implements i.TagsInterface {
|
|
94
|
+
type: string;
|
|
95
|
+
title: string;
|
|
96
|
+
source: Source;
|
|
97
|
+
static fromProto(proto: any): Tags;
|
|
98
|
+
constructor(kwargs?: i.TagsInterface);
|
|
99
|
+
toApiJson(): object;
|
|
100
|
+
}
|
|
101
|
+
export declare class Urls implements i.UrlsInterface {
|
|
102
|
+
raw: string;
|
|
103
|
+
full: string;
|
|
104
|
+
regular: string;
|
|
105
|
+
small: string;
|
|
106
|
+
thumb: string;
|
|
107
|
+
smallS3: string;
|
|
108
|
+
static fromProto(proto: any): Urls;
|
|
109
|
+
constructor(kwargs?: i.UrlsInterface);
|
|
110
|
+
toApiJson(): object;
|
|
111
|
+
}
|
|
112
|
+
export declare class User implements i.UserInterface {
|
|
113
|
+
id: string;
|
|
114
|
+
updatedAt: string;
|
|
115
|
+
username: string;
|
|
116
|
+
name: string;
|
|
117
|
+
firstName: string;
|
|
118
|
+
lastName: string;
|
|
119
|
+
twitterUsername: string;
|
|
120
|
+
portfolioUrl: string;
|
|
121
|
+
bio: string;
|
|
122
|
+
location: string;
|
|
123
|
+
links: UserLink;
|
|
124
|
+
profileImage: Image;
|
|
125
|
+
instagramUsername: string;
|
|
126
|
+
totalCollections: number;
|
|
127
|
+
totalLikes: number;
|
|
128
|
+
totalPhotos: number;
|
|
129
|
+
totalPromotedPhotos: number;
|
|
130
|
+
acceptedTos: boolean;
|
|
131
|
+
forHire: boolean;
|
|
132
|
+
social: Social;
|
|
133
|
+
static fromProto(proto: any): User;
|
|
134
|
+
constructor(kwargs?: i.UserInterface);
|
|
135
|
+
toApiJson(): object;
|
|
136
|
+
}
|
|
137
|
+
export declare class UserLink implements i.UserLinkInterface {
|
|
138
|
+
self: string;
|
|
139
|
+
html: string;
|
|
140
|
+
photos: string;
|
|
141
|
+
likes: string;
|
|
142
|
+
portfolio: string;
|
|
143
|
+
following: string;
|
|
144
|
+
followers: string;
|
|
145
|
+
static fromProto(proto: any): UserLink;
|
|
146
|
+
constructor(kwargs?: i.UserLinkInterface);
|
|
147
|
+
toApiJson(): object;
|
|
148
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ListUnsplashImagesRequest, ListUnsplashImagesResponse } from './objects/';
|
|
2
|
+
import { ListUnsplashImagesRequestInterface } from './interfaces/';
|
|
3
|
+
import { HttpClient } from '@angular/common/http';
|
|
4
|
+
import { HostService } from '../_generated/host.service';
|
|
5
|
+
import { Observable } from 'rxjs';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class UnsplashApiService {
|
|
8
|
+
private http;
|
|
9
|
+
private hostService;
|
|
10
|
+
private _host;
|
|
11
|
+
constructor(http: HttpClient, hostService: HostService);
|
|
12
|
+
private apiOptions;
|
|
13
|
+
listUnsplashImages(r: ListUnsplashImagesRequest | ListUnsplashImagesRequestInterface): Observable<ListUnsplashImagesResponse>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UnsplashApiService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UnsplashApiService>;
|
|
16
|
+
}
|