flickr-sdk
Advanced tools
Comparing version 6.2.0 to 6.2.1
import type { Request } from './lib/request'; | ||
import type { Response } from 'superagent; | ||
import type OAuth from './services/oauth'; | ||
import type Feeds from './services/feeds'; | ||
import type Upload from './services/upload'; | ||
import type Replace from './services/replace'; | ||
import type { Response } from 'superagent'; | ||
declare class Flickr { | ||
static OAuth = OAuth; | ||
static Feeds = Feeds; | ||
static Upload = Upload; | ||
static Replace = Replace; | ||
static OAuth: any; | ||
static Feeds: any; | ||
static Upload: any; | ||
static Replace: any; | ||
@@ -18,3 +14,3 @@ constructor(auth: string | ((req: Request) => void)); | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.activity.userComments.html) - Permissions: `read` */ | ||
userComments(options: { | ||
userComments(params: { | ||
per_page?: string | number; | ||
@@ -24,3 +20,3 @@ page?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.activity.userPhotos.html) - Permissions: `read` */ | ||
userPhotos(options: { | ||
userPhotos(params: { | ||
timeframe?: string | number; | ||
@@ -33,14 +29,14 @@ per_page?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.auth.checkToken.html) - Permissions: `none` */ | ||
checkToken(options: { | ||
checkToken(params: { | ||
auth_token: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.auth.getFrob.html) - Permissions: `none` */ | ||
getFrob(options: { | ||
getFrob(params: { | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.auth.getFullToken.html) - Permissions: `none` */ | ||
getFullToken(options: { | ||
getFullToken(params: { | ||
mini_token: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.auth.getToken.html) - Permissions: `none` */ | ||
getToken(options: { | ||
getToken(params: { | ||
frob: string | number; | ||
@@ -50,7 +46,7 @@ }): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.auth.oauth.checkToken.html) - Permissions: `none` */ | ||
checkToken(options: { | ||
checkToken(params: { | ||
oauth_token: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.auth.oauth.getAccessToken.html) - Permissions: `none` */ | ||
getAccessToken(options: { | ||
getAccessToken(params: { | ||
}): Promise<Response>; | ||
@@ -61,10 +57,10 @@ }; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.blogs.getList.html) - Permissions: `read` */ | ||
getList(options: { | ||
getList(params: { | ||
service?: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.blogs.getServices.html) - Permissions: `none` */ | ||
getServices(options: { | ||
getServices(params: { | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.blogs.postPhoto.html) - Permissions: `write` */ | ||
postPhoto(options: { | ||
postPhoto(params: { | ||
blog_id?: string | number; | ||
@@ -80,7 +76,7 @@ photo_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.cameras.getBrandModels.html) - Permissions: `none` */ | ||
getBrandModels(options: { | ||
getBrandModels(params: { | ||
brand: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.cameras.getBrands.html) - Permissions: `none` */ | ||
getBrands(options: { | ||
getBrands(params: { | ||
}): Promise<Response>; | ||
@@ -90,7 +86,7 @@ }; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.collections.getInfo.html) - Permissions: `read` */ | ||
getInfo(options: { | ||
getInfo(params: { | ||
collection_id: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.collections.getTree.html) - Permissions: `none` */ | ||
getTree(options: { | ||
getTree(params: { | ||
collection_id?: string | number; | ||
@@ -102,3 +98,3 @@ user_id?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.commons.getInstitutions.html) - Permissions: `none` */ | ||
getInstitutions(options: { | ||
getInstitutions(params: { | ||
}): Promise<Response>; | ||
@@ -108,3 +104,3 @@ }; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.contacts.getList.html) - Permissions: `read` */ | ||
getList(options: { | ||
getList(params: { | ||
filter?: string | number; | ||
@@ -116,3 +112,3 @@ page?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.contacts.getListRecentlyUploaded.html) - Permissions: `read` */ | ||
getListRecentlyUploaded(options: { | ||
getListRecentlyUploaded(params: { | ||
date_lastupload?: string | number; | ||
@@ -122,3 +118,3 @@ filter?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.contacts.getPublicList.html) - Permissions: `none` */ | ||
getPublicList(options: { | ||
getPublicList(params: { | ||
user_id: string | number; | ||
@@ -129,3 +125,3 @@ page?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.contacts.getTaggingSuggestions.html) - Permissions: `read` */ | ||
getTaggingSuggestions(options: { | ||
getTaggingSuggestions(params: { | ||
per_page?: string | number; | ||
@@ -137,7 +133,7 @@ page?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.favorites.add.html) - Permissions: `write` */ | ||
add(options: { | ||
add(params: { | ||
photo_id: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.favorites.getContext.html) - Permissions: `none` */ | ||
getContext(options: { | ||
getContext(params: { | ||
photo_id: string | number; | ||
@@ -147,3 +143,3 @@ user_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.favorites.getList.html) - Permissions: `none` */ | ||
getList(options: { | ||
getList(params: { | ||
user_id?: string | number; | ||
@@ -157,3 +153,3 @@ min_fave_date?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.favorites.getPublicList.html) - Permissions: `none` */ | ||
getPublicList(options: { | ||
getPublicList(params: { | ||
user_id: string | number; | ||
@@ -167,3 +163,3 @@ min_fave_date?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.favorites.remove.html) - Permissions: `write` */ | ||
remove(options: { | ||
remove(params: { | ||
photo_id: string | number; | ||
@@ -174,3 +170,3 @@ }): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.galleries.addPhoto.html) - Permissions: `write` */ | ||
addPhoto(options: { | ||
addPhoto(params: { | ||
gallery_id: string | number; | ||
@@ -181,3 +177,3 @@ photo_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.galleries.create.html) - Permissions: `write` */ | ||
create(options: { | ||
create(params: { | ||
title: string | number; | ||
@@ -189,3 +185,3 @@ description: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.galleries.editMeta.html) - Permissions: `write` */ | ||
editMeta(options: { | ||
editMeta(params: { | ||
gallery_id: string | number; | ||
@@ -196,3 +192,3 @@ title: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.galleries.editPhoto.html) - Permissions: `write` */ | ||
editPhoto(options: { | ||
editPhoto(params: { | ||
gallery_id: string | number; | ||
@@ -203,3 +199,3 @@ photo_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.galleries.editPhotos.html) - Permissions: `write` */ | ||
editPhotos(options: { | ||
editPhotos(params: { | ||
gallery_id: string | number; | ||
@@ -210,7 +206,7 @@ primary_photo_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.galleries.getInfo.html) - Permissions: `none` */ | ||
getInfo(options: { | ||
getInfo(params: { | ||
gallery_id: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.galleries.getList.html) - Permissions: `none` */ | ||
getList(options: { | ||
getList(params: { | ||
user_id: string | number; | ||
@@ -222,3 +218,3 @@ per_page?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.galleries.getListForPhoto.html) - Permissions: `none` */ | ||
getListForPhoto(options: { | ||
getListForPhoto(params: { | ||
photo_id: string | number; | ||
@@ -229,3 +225,3 @@ per_page?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.galleries.getPhotos.html) - Permissions: `none` */ | ||
getPhotos(options: { | ||
getPhotos(params: { | ||
gallery_id: string | number; | ||
@@ -239,3 +235,3 @@ extras?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.groups.browse.html) - Permissions: `read` */ | ||
browse(options: { | ||
browse(params: { | ||
cat_id?: string | number; | ||
@@ -246,3 +242,3 @@ }): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.groups.discuss.replies.add.html) - Permissions: `write` */ | ||
add(options: { | ||
add(params: { | ||
group_id: string | number; | ||
@@ -253,3 +249,3 @@ topic_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.groups.discuss.replies.delete.html) - Permissions: `delete` */ | ||
delete(options: { | ||
delete(params: { | ||
group_id: string | number; | ||
@@ -260,3 +256,3 @@ topic_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.groups.discuss.replies.edit.html) - Permissions: `write` */ | ||
edit(options: { | ||
edit(params: { | ||
group_id: string | number; | ||
@@ -268,3 +264,3 @@ topic_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.groups.discuss.replies.getInfo.html) - Permissions: `none` */ | ||
getInfo(options: { | ||
getInfo(params: { | ||
group_id: string | number; | ||
@@ -275,3 +271,3 @@ topic_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.groups.discuss.replies.getList.html) - Permissions: `none` */ | ||
getList(options: { | ||
getList(params: { | ||
group_id: string | number; | ||
@@ -285,3 +281,3 @@ topic_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.groups.discuss.topics.add.html) - Permissions: `write` */ | ||
add(options: { | ||
add(params: { | ||
group_id: string | number; | ||
@@ -292,3 +288,3 @@ subject: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.groups.discuss.topics.getInfo.html) - Permissions: `none` */ | ||
getInfo(options: { | ||
getInfo(params: { | ||
group_id: string | number; | ||
@@ -298,3 +294,3 @@ topic_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.groups.discuss.topics.getList.html) - Permissions: `none` */ | ||
getList(options: { | ||
getList(params: { | ||
group_id: string | number; | ||
@@ -307,3 +303,3 @@ per_page?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.groups.getInfo.html) - Permissions: `none` */ | ||
getInfo(options: { | ||
getInfo(params: { | ||
group_id: string | number; | ||
@@ -314,3 +310,3 @@ group_path_alias?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.groups.join.html) - Permissions: `write` */ | ||
join(options: { | ||
join(params: { | ||
group_id: string | number; | ||
@@ -320,3 +316,3 @@ accept_rules?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.groups.joinRequest.html) - Permissions: `write` */ | ||
joinRequest(options: { | ||
joinRequest(params: { | ||
group_id: string | number; | ||
@@ -327,3 +323,3 @@ message: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.groups.leave.html) - Permissions: `delete` */ | ||
leave(options: { | ||
leave(params: { | ||
group_id: string | number; | ||
@@ -334,3 +330,3 @@ delete_photos?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.groups.members.getList.html) - Permissions: `read` */ | ||
getList(options: { | ||
getList(params: { | ||
group_id: string | number; | ||
@@ -344,3 +340,3 @@ membertypes?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.groups.pools.add.html) - Permissions: `write` */ | ||
add(options: { | ||
add(params: { | ||
photo_id: string | number; | ||
@@ -350,3 +346,3 @@ group_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.groups.pools.getContext.html) - Permissions: `none` */ | ||
getContext(options: { | ||
getContext(params: { | ||
photo_id: string | number; | ||
@@ -356,3 +352,3 @@ group_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.groups.pools.getGroups.html) - Permissions: `read` */ | ||
getGroups(options: { | ||
getGroups(params: { | ||
page?: string | number; | ||
@@ -362,3 +358,3 @@ per_page?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.groups.pools.getPhotos.html) - Permissions: `none` */ | ||
getPhotos(options: { | ||
getPhotos(params: { | ||
group_id: string | number; | ||
@@ -372,3 +368,3 @@ tags?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.groups.pools.remove.html) - Permissions: `write` */ | ||
remove(options: { | ||
remove(params: { | ||
photo_id: string | number; | ||
@@ -379,3 +375,3 @@ group_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.groups.search.html) - Permissions: `none` */ | ||
search(options: { | ||
search(params: { | ||
text: string | number; | ||
@@ -388,3 +384,3 @@ per_page?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.interestingness.getList.html) - Permissions: `none` */ | ||
getList(options: { | ||
getList(params: { | ||
date?: string | number; | ||
@@ -398,3 +394,3 @@ extras?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.machinetags.getNamespaces.html) - Permissions: `none` */ | ||
getNamespaces(options: { | ||
getNamespaces(params: { | ||
predicate?: string | number; | ||
@@ -405,3 +401,3 @@ per_page?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.machinetags.getPairs.html) - Permissions: `none` */ | ||
getPairs(options: { | ||
getPairs(params: { | ||
namespace?: string | number; | ||
@@ -413,3 +409,3 @@ predicate?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.machinetags.getPredicates.html) - Permissions: `none` */ | ||
getPredicates(options: { | ||
getPredicates(params: { | ||
namespace?: string | number; | ||
@@ -420,3 +416,3 @@ per_page?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.machinetags.getRecentValues.html) - Permissions: `none` */ | ||
getRecentValues(options: { | ||
getRecentValues(params: { | ||
namespace?: string | number; | ||
@@ -427,3 +423,3 @@ predicate?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.machinetags.getValues.html) - Permissions: `none` */ | ||
getValues(options: { | ||
getValues(params: { | ||
namespace: string | number; | ||
@@ -437,6 +433,6 @@ predicate: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.panda.getList.html) - Permissions: `none` */ | ||
getList(options: { | ||
getList(params: { | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.panda.getPhotos.html) - Permissions: `none` */ | ||
getPhotos(options: { | ||
getPhotos(params: { | ||
panda_name: string | number; | ||
@@ -450,11 +446,11 @@ extras?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.people.findByEmail.html) - Permissions: `none` */ | ||
findByEmail(options: { | ||
findByEmail(params: { | ||
find_email: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.people.findByUsername.html) - Permissions: `none` */ | ||
findByUsername(options: { | ||
findByUsername(params: { | ||
username: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.people.getGroups.html) - Permissions: `read` */ | ||
getGroups(options: { | ||
getGroups(params: { | ||
user_id: string | number; | ||
@@ -464,10 +460,10 @@ extras?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.people.getInfo.html) - Permissions: `none` */ | ||
getInfo(options: { | ||
getInfo(params: { | ||
user_id: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.people.getLimits.html) - Permissions: `read` */ | ||
getLimits(options: { | ||
getLimits(params: { | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.people.getPhotos.html) - Permissions: `none` */ | ||
getPhotos(options: { | ||
getPhotos(params: { | ||
user_id: string | number; | ||
@@ -486,3 +482,3 @@ safe_search?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.people.getPhotosOf.html) - Permissions: `none` */ | ||
getPhotosOf(options: { | ||
getPhotosOf(params: { | ||
user_id: string | number; | ||
@@ -495,3 +491,3 @@ owner_id?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.people.getPublicGroups.html) - Permissions: `none` */ | ||
getPublicGroups(options: { | ||
getPublicGroups(params: { | ||
user_id: string | number; | ||
@@ -501,3 +497,3 @@ invitation_only?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.people.getPublicPhotos.html) - Permissions: `none` */ | ||
getPublicPhotos(options: { | ||
getPublicPhotos(params: { | ||
user_id: string | number; | ||
@@ -510,3 +506,3 @@ safe_search?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.people.getUploadStatus.html) - Permissions: `read` */ | ||
getUploadStatus(options: { | ||
getUploadStatus(params: { | ||
}): Promise<Response>; | ||
@@ -516,3 +512,3 @@ }; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.addTags.html) - Permissions: `write` */ | ||
addTags(options: { | ||
addTags(params: { | ||
photo_id: string | number; | ||
@@ -523,3 +519,3 @@ tags: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.comments.addComment.html) - Permissions: `write` */ | ||
addComment(options: { | ||
addComment(params: { | ||
photo_id: string | number; | ||
@@ -529,7 +525,7 @@ comment_text: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.comments.deleteComment.html) - Permissions: `write` */ | ||
deleteComment(options: { | ||
deleteComment(params: { | ||
comment_id: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.comments.editComment.html) - Permissions: `write` */ | ||
editComment(options: { | ||
editComment(params: { | ||
comment_id: string | number; | ||
@@ -539,3 +535,3 @@ comment_text: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.comments.getList.html) - Permissions: `none` */ | ||
getList(options: { | ||
getList(params: { | ||
photo_id: string | number; | ||
@@ -546,3 +542,3 @@ min_comment_date?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.comments.getRecentForContacts.html) - Permissions: `read` */ | ||
getRecentForContacts(options: { | ||
getRecentForContacts(params: { | ||
date_lastcomment?: string | number; | ||
@@ -556,3 +552,3 @@ contacts_filter?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.delete.html) - Permissions: `delete` */ | ||
delete(options: { | ||
delete(params: { | ||
photo_id: string | number; | ||
@@ -562,3 +558,3 @@ }): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.geo.batchCorrectLocation.html) - Permissions: `write` */ | ||
batchCorrectLocation(options: { | ||
batchCorrectLocation(params: { | ||
lat: string | number; | ||
@@ -571,3 +567,3 @@ lon: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.geo.correctLocation.html) - Permissions: `write` */ | ||
correctLocation(options: { | ||
correctLocation(params: { | ||
photo_id: string | number; | ||
@@ -579,3 +575,3 @@ place_id?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.geo.getLocation.html) - Permissions: `none` */ | ||
getLocation(options: { | ||
getLocation(params: { | ||
photo_id: string | number; | ||
@@ -585,7 +581,7 @@ extras?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.geo.getPerms.html) - Permissions: `read` */ | ||
getPerms(options: { | ||
getPerms(params: { | ||
photo_id: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.geo.photosForLocation.html) - Permissions: `read` */ | ||
photosForLocation(options: { | ||
photosForLocation(params: { | ||
lat: string | number; | ||
@@ -599,7 +595,7 @@ lon: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.geo.removeLocation.html) - Permissions: `write` */ | ||
removeLocation(options: { | ||
removeLocation(params: { | ||
photo_id: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.geo.setContext.html) - Permissions: `write` */ | ||
setContext(options: { | ||
setContext(params: { | ||
photo_id: string | number; | ||
@@ -609,3 +605,3 @@ context: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.geo.setLocation.html) - Permissions: `write` */ | ||
setLocation(options: { | ||
setLocation(params: { | ||
photo_id: string | number; | ||
@@ -618,3 +614,3 @@ lat: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.geo.setPerms.html) - Permissions: `write` */ | ||
setPerms(options: { | ||
setPerms(params: { | ||
is_public: string | number; | ||
@@ -628,7 +624,7 @@ is_contact: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.getAllContexts.html) - Permissions: `none` */ | ||
getAllContexts(options: { | ||
getAllContexts(params: { | ||
photo_id: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.getContactsPhotos.html) - Permissions: `read` */ | ||
getContactsPhotos(options: { | ||
getContactsPhotos(params: { | ||
count?: string | number; | ||
@@ -641,3 +637,3 @@ just_friends?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.getContactsPublicPhotos.html) - Permissions: `none` */ | ||
getContactsPublicPhotos(options: { | ||
getContactsPublicPhotos(params: { | ||
user_id: string | number; | ||
@@ -651,7 +647,7 @@ count?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.getContext.html) - Permissions: `none` */ | ||
getContext(options: { | ||
getContext(params: { | ||
photo_id: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.getCounts.html) - Permissions: `read` */ | ||
getCounts(options: { | ||
getCounts(params: { | ||
dates?: string | number; | ||
@@ -661,3 +657,3 @@ taken_dates?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.getExif.html) - Permissions: `none` */ | ||
getExif(options: { | ||
getExif(params: { | ||
photo_id: string | number; | ||
@@ -667,3 +663,3 @@ secret?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.getFavorites.html) - Permissions: `none` */ | ||
getFavorites(options: { | ||
getFavorites(params: { | ||
photo_id: string | number; | ||
@@ -674,3 +670,3 @@ page?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.getInfo.html) - Permissions: `none` */ | ||
getInfo(options: { | ||
getInfo(params: { | ||
photo_id: string | number; | ||
@@ -680,3 +676,3 @@ secret?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.getNotInSet.html) - Permissions: `read` */ | ||
getNotInSet(options: { | ||
getNotInSet(params: { | ||
max_upload_date?: string | number; | ||
@@ -693,7 +689,7 @@ min_taken_date?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.getPerms.html) - Permissions: `read` */ | ||
getPerms(options: { | ||
getPerms(params: { | ||
photo_id: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.getPopular.html) - Permissions: `none` */ | ||
getPopular(options: { | ||
getPopular(params: { | ||
user_id?: string | number; | ||
@@ -706,3 +702,3 @@ sort?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.getRecent.html) - Permissions: `none` */ | ||
getRecent(options: { | ||
getRecent(params: { | ||
extras?: string | number; | ||
@@ -713,7 +709,7 @@ per_page?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.getSizes.html) - Permissions: `none` */ | ||
getSizes(options: { | ||
getSizes(params: { | ||
photo_id: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.getUntagged.html) - Permissions: `read` */ | ||
getUntagged(options: { | ||
getUntagged(params: { | ||
min_upload_date?: string | number; | ||
@@ -730,3 +726,3 @@ max_upload_date?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.getWithGeoData.html) - Permissions: `read` */ | ||
getWithGeoData(options: { | ||
getWithGeoData(params: { | ||
min_upload_date?: string | number; | ||
@@ -744,3 +740,3 @@ max_upload_date?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.getWithoutGeoData.html) - Permissions: `read` */ | ||
getWithoutGeoData(options: { | ||
getWithoutGeoData(params: { | ||
max_upload_date?: string | number; | ||
@@ -759,6 +755,6 @@ min_taken_date?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.licenses.getInfo.html) - Permissions: `none` */ | ||
getInfo(options: { | ||
getInfo(params: { | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.licenses.setLicense.html) - Permissions: `write` */ | ||
setLicense(options: { | ||
setLicense(params: { | ||
photo_id: string | number; | ||
@@ -770,3 +766,3 @@ license_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.notes.add.html) - Permissions: `write` */ | ||
add(options: { | ||
add(params: { | ||
photo_id: string | number; | ||
@@ -780,7 +776,7 @@ note_x: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.notes.delete.html) - Permissions: `write` */ | ||
delete(options: { | ||
delete(params: { | ||
note_id: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.notes.edit.html) - Permissions: `write` */ | ||
edit(options: { | ||
edit(params: { | ||
note_id: string | number; | ||
@@ -796,3 +792,3 @@ note_x: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.people.add.html) - Permissions: `write` */ | ||
add(options: { | ||
add(params: { | ||
photo_id: string | number; | ||
@@ -806,3 +802,3 @@ user_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.people.delete.html) - Permissions: `write` */ | ||
delete(options: { | ||
delete(params: { | ||
photo_id: string | number; | ||
@@ -812,3 +808,3 @@ user_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.people.deleteCoords.html) - Permissions: `write` */ | ||
deleteCoords(options: { | ||
deleteCoords(params: { | ||
photo_id: string | number; | ||
@@ -818,3 +814,3 @@ user_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.people.editCoords.html) - Permissions: `write` */ | ||
editCoords(options: { | ||
editCoords(params: { | ||
photo_id: string | number; | ||
@@ -828,3 +824,3 @@ user_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.people.getList.html) - Permissions: `none` */ | ||
getList(options: { | ||
getList(params: { | ||
photo_id: string | number; | ||
@@ -834,3 +830,3 @@ }): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.recentlyUpdated.html) - Permissions: `read` */ | ||
recentlyUpdated(options: { | ||
recentlyUpdated(params: { | ||
min_date: string | number; | ||
@@ -842,7 +838,7 @@ extras?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.removeTag.html) - Permissions: `write` */ | ||
removeTag(options: { | ||
removeTag(params: { | ||
tag_id: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.search.html) - Permissions: `none` */ | ||
search(options: { | ||
search(params: { | ||
user_id?: string | number; | ||
@@ -884,3 +880,3 @@ tags?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.setContentType.html) - Permissions: `write` */ | ||
setContentType(options: { | ||
setContentType(params: { | ||
photo_id: string | number; | ||
@@ -890,3 +886,3 @@ content_type: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.setDates.html) - Permissions: `write` */ | ||
setDates(options: { | ||
setDates(params: { | ||
photo_id: string | number; | ||
@@ -898,3 +894,3 @@ date_posted?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.setMeta.html) - Permissions: `write` */ | ||
setMeta(options: { | ||
setMeta(params: { | ||
photo_id: string | number; | ||
@@ -905,3 +901,3 @@ title?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.setPerms.html) - Permissions: `write` */ | ||
setPerms(options: { | ||
setPerms(params: { | ||
photo_id: string | number; | ||
@@ -915,3 +911,3 @@ is_public: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.setSafetyLevel.html) - Permissions: `write` */ | ||
setSafetyLevel(options: { | ||
setSafetyLevel(params: { | ||
photo_id: string | number; | ||
@@ -922,3 +918,3 @@ safety_level?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.setTags.html) - Permissions: `write` */ | ||
setTags(options: { | ||
setTags(params: { | ||
photo_id: string | number; | ||
@@ -929,7 +925,7 @@ tags: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.suggestions.approveSuggestion.html) - Permissions: `write` */ | ||
approveSuggestion(options: { | ||
approveSuggestion(params: { | ||
suggestion_id: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.suggestions.getList.html) - Permissions: `read` */ | ||
getList(options: { | ||
getList(params: { | ||
photo_id?: string | number; | ||
@@ -939,11 +935,11 @@ status_id?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.suggestions.rejectSuggestion.html) - Permissions: `write` */ | ||
rejectSuggestion(options: { | ||
rejectSuggestion(params: { | ||
suggestion_id: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.suggestions.removeSuggestion.html) - Permissions: `write` */ | ||
removeSuggestion(options: { | ||
removeSuggestion(params: { | ||
suggestion_id: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.suggestions.suggestLocation.html) - Permissions: `write` */ | ||
suggestLocation(options: { | ||
suggestLocation(params: { | ||
photo_id: string | number; | ||
@@ -960,3 +956,3 @@ lat: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.transform.rotate.html) - Permissions: `write` */ | ||
rotate(options: { | ||
rotate(params: { | ||
photo_id: string | number; | ||
@@ -968,3 +964,3 @@ degrees: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photos.upload.checkTickets.html) - Permissions: `none` */ | ||
checkTickets(options: { | ||
checkTickets(params: { | ||
tickets: string | number; | ||
@@ -976,3 +972,3 @@ }): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photosets.addPhoto.html) - Permissions: `write` */ | ||
addPhoto(options: { | ||
addPhoto(params: { | ||
photoset_id: string | number; | ||
@@ -983,3 +979,3 @@ photo_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photosets.comments.addComment.html) - Permissions: `write` */ | ||
addComment(options: { | ||
addComment(params: { | ||
photoset_id: string | number; | ||
@@ -989,7 +985,7 @@ comment_text: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photosets.comments.deleteComment.html) - Permissions: `write` */ | ||
deleteComment(options: { | ||
deleteComment(params: { | ||
comment_id: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photosets.comments.editComment.html) - Permissions: `write` */ | ||
editComment(options: { | ||
editComment(params: { | ||
comment_id: string | number; | ||
@@ -999,3 +995,3 @@ comment_text: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photosets.comments.getList.html) - Permissions: `none` */ | ||
getList(options: { | ||
getList(params: { | ||
photoset_id: string | number; | ||
@@ -1005,3 +1001,3 @@ }): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photosets.create.html) - Permissions: `write` */ | ||
create(options: { | ||
create(params: { | ||
title: string | number; | ||
@@ -1012,7 +1008,7 @@ description?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photosets.delete.html) - Permissions: `write` */ | ||
delete(options: { | ||
delete(params: { | ||
photoset_id: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photosets.editMeta.html) - Permissions: `write` */ | ||
editMeta(options: { | ||
editMeta(params: { | ||
photoset_id: string | number; | ||
@@ -1023,3 +1019,3 @@ title: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photosets.editPhotos.html) - Permissions: `write` */ | ||
editPhotos(options: { | ||
editPhotos(params: { | ||
photoset_id: string | number; | ||
@@ -1030,3 +1026,3 @@ primary_photo_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photosets.getContext.html) - Permissions: `none` */ | ||
getContext(options: { | ||
getContext(params: { | ||
photo_id: string | number; | ||
@@ -1036,3 +1032,3 @@ photoset_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photosets.getInfo.html) - Permissions: `none` */ | ||
getInfo(options: { | ||
getInfo(params: { | ||
photoset_id: string | number; | ||
@@ -1042,3 +1038,3 @@ user_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photosets.getList.html) - Permissions: `none` */ | ||
getList(options: { | ||
getList(params: { | ||
user_id?: string | number; | ||
@@ -1050,3 +1046,3 @@ page?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photosets.getPhotos.html) - Permissions: `none` */ | ||
getPhotos(options: { | ||
getPhotos(params: { | ||
photoset_id: string | number; | ||
@@ -1061,7 +1057,7 @@ user_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photosets.orderSets.html) - Permissions: `write` */ | ||
orderSets(options: { | ||
orderSets(params: { | ||
photoset_ids: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photosets.removePhoto.html) - Permissions: `write` */ | ||
removePhoto(options: { | ||
removePhoto(params: { | ||
photoset_id: string | number; | ||
@@ -1071,3 +1067,3 @@ photo_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photosets.removePhotos.html) - Permissions: `write` */ | ||
removePhotos(options: { | ||
removePhotos(params: { | ||
photoset_id: string | number; | ||
@@ -1077,3 +1073,3 @@ photo_ids: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photosets.reorderPhotos.html) - Permissions: `write` */ | ||
reorderPhotos(options: { | ||
reorderPhotos(params: { | ||
photoset_id: string | number; | ||
@@ -1083,3 +1079,3 @@ photo_ids: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.photosets.setPrimaryPhoto.html) - Permissions: `write` */ | ||
setPrimaryPhoto(options: { | ||
setPrimaryPhoto(params: { | ||
photoset_id: string | number; | ||
@@ -1091,7 +1087,7 @@ photo_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.places.find.html) - Permissions: `none` */ | ||
find(options: { | ||
find(params: { | ||
query: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.places.findByLatLon.html) - Permissions: `none` */ | ||
findByLatLon(options: { | ||
findByLatLon(params: { | ||
lat: string | number; | ||
@@ -1102,3 +1098,3 @@ lon: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.places.getChildrenWithPhotosPublic.html) - Permissions: `none` */ | ||
getChildrenWithPhotosPublic(options: { | ||
getChildrenWithPhotosPublic(params: { | ||
place_id?: string | number; | ||
@@ -1108,3 +1104,3 @@ woe_id?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.places.getInfo.html) - Permissions: `none` */ | ||
getInfo(options: { | ||
getInfo(params: { | ||
place_id?: string | number; | ||
@@ -1114,10 +1110,10 @@ woe_id?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.places.getInfoByUrl.html) - Permissions: `none` */ | ||
getInfoByUrl(options: { | ||
getInfoByUrl(params: { | ||
url: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.places.getPlaceTypes.html) - Permissions: `none` */ | ||
getPlaceTypes(options: { | ||
getPlaceTypes(params: { | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.places.getShapeHistory.html) - Permissions: `none` */ | ||
getShapeHistory(options: { | ||
getShapeHistory(params: { | ||
place_id?: string | number; | ||
@@ -1127,3 +1123,3 @@ woe_id?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.places.getTopPlacesList.html) - Permissions: `none` */ | ||
getTopPlacesList(options: { | ||
getTopPlacesList(params: { | ||
place_type_id: string | number; | ||
@@ -1135,3 +1131,3 @@ date?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.places.placesForBoundingBox.html) - Permissions: `none` */ | ||
placesForBoundingBox(options: { | ||
placesForBoundingBox(params: { | ||
bbox: string | number; | ||
@@ -1142,3 +1138,3 @@ place_type?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.places.placesForContacts.html) - Permissions: `read` */ | ||
placesForContacts(options: { | ||
placesForContacts(params: { | ||
place_type?: string | number; | ||
@@ -1156,3 +1152,3 @@ place_type_id?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.places.placesForTags.html) - Permissions: `none` */ | ||
placesForTags(options: { | ||
placesForTags(params: { | ||
place_type_id: string | number; | ||
@@ -1172,3 +1168,3 @@ woe_id?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.places.placesForUser.html) - Permissions: `read` */ | ||
placesForUser(options: { | ||
placesForUser(params: { | ||
place_type_id?: string | number; | ||
@@ -1185,11 +1181,11 @@ place_type?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.places.resolvePlaceId.html) - Permissions: `none` */ | ||
resolvePlaceId(options: { | ||
resolvePlaceId(params: { | ||
place_id: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.places.resolvePlaceURL.html) - Permissions: `none` */ | ||
resolvePlaceURL(options: { | ||
resolvePlaceURL(params: { | ||
url: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.places.tagsForPlace.html) - Permissions: `none` */ | ||
tagsForPlace(options: { | ||
tagsForPlace(params: { | ||
woe_id?: string | number; | ||
@@ -1205,15 +1201,15 @@ place_id?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.prefs.getContentType.html) - Permissions: `read` */ | ||
getContentType(options: { | ||
getContentType(params: { | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.prefs.getGeoPerms.html) - Permissions: `read` */ | ||
getGeoPerms(options: { | ||
getGeoPerms(params: { | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.prefs.getHidden.html) - Permissions: `read` */ | ||
getHidden(options: { | ||
getHidden(params: { | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.prefs.getPrivacy.html) - Permissions: `read` */ | ||
getPrivacy(options: { | ||
getPrivacy(params: { | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.prefs.getSafetyLevel.html) - Permissions: `read` */ | ||
getSafetyLevel(options: { | ||
getSafetyLevel(params: { | ||
}): Promise<Response>; | ||
@@ -1223,3 +1219,3 @@ }; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.profile.getProfile.html) - Permissions: `none` */ | ||
getProfile(options: { | ||
getProfile(params: { | ||
user_id: string | number; | ||
@@ -1230,9 +1226,9 @@ }): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.push.getSubscriptions.html) - Permissions: `read` */ | ||
getSubscriptions(options: { | ||
getSubscriptions(params: { | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.push.getTopics.html) - Permissions: `none` */ | ||
getTopics(options: { | ||
getTopics(params: { | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.push.subscribe.html) - Permissions: `read` */ | ||
subscribe(options: { | ||
subscribe(params: { | ||
topic: string | number; | ||
@@ -1254,3 +1250,3 @@ callback: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.push.unsubscribe.html) - Permissions: `read` */ | ||
unsubscribe(options: { | ||
unsubscribe(params: { | ||
topic: string | number; | ||
@@ -1264,7 +1260,7 @@ callback: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.reflection.getMethodInfo.html) - Permissions: `none` */ | ||
getMethodInfo(options: { | ||
getMethodInfo(params: { | ||
method_name: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.reflection.getMethods.html) - Permissions: `none` */ | ||
getMethods(options: { | ||
getMethods(params: { | ||
}): Promise<Response>; | ||
@@ -1274,6 +1270,6 @@ }; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.stats.getCSVFiles.html) - Permissions: `read` */ | ||
getCSVFiles(options: { | ||
getCSVFiles(params: { | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.stats.getCollectionDomains.html) - Permissions: `read` */ | ||
getCollectionDomains(options: { | ||
getCollectionDomains(params: { | ||
date: string | number; | ||
@@ -1285,3 +1281,3 @@ collection_id?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.stats.getCollectionReferrers.html) - Permissions: `read` */ | ||
getCollectionReferrers(options: { | ||
getCollectionReferrers(params: { | ||
date: string | number; | ||
@@ -1294,3 +1290,3 @@ domain: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.stats.getCollectionStats.html) - Permissions: `read` */ | ||
getCollectionStats(options: { | ||
getCollectionStats(params: { | ||
date: string | number; | ||
@@ -1300,3 +1296,3 @@ collection_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.stats.getPhotoDomains.html) - Permissions: `read` */ | ||
getPhotoDomains(options: { | ||
getPhotoDomains(params: { | ||
date: string | number; | ||
@@ -1308,3 +1304,3 @@ photo_id?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.stats.getPhotoReferrers.html) - Permissions: `read` */ | ||
getPhotoReferrers(options: { | ||
getPhotoReferrers(params: { | ||
date: string | number; | ||
@@ -1317,3 +1313,3 @@ domain: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.stats.getPhotoStats.html) - Permissions: `read` */ | ||
getPhotoStats(options: { | ||
getPhotoStats(params: { | ||
date: string | number; | ||
@@ -1323,3 +1319,3 @@ photo_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.stats.getPhotosetDomains.html) - Permissions: `read` */ | ||
getPhotosetDomains(options: { | ||
getPhotosetDomains(params: { | ||
date: string | number; | ||
@@ -1331,3 +1327,3 @@ photoset_id?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.stats.getPhotosetReferrers.html) - Permissions: `read` */ | ||
getPhotosetReferrers(options: { | ||
getPhotosetReferrers(params: { | ||
date: string | number; | ||
@@ -1340,3 +1336,3 @@ domain: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.stats.getPhotosetStats.html) - Permissions: `read` */ | ||
getPhotosetStats(options: { | ||
getPhotosetStats(params: { | ||
date: string | number; | ||
@@ -1346,3 +1342,3 @@ photoset_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.stats.getPhotostreamDomains.html) - Permissions: `read` */ | ||
getPhotostreamDomains(options: { | ||
getPhotostreamDomains(params: { | ||
date: string | number; | ||
@@ -1353,3 +1349,3 @@ per_page?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.stats.getPhotostreamReferrers.html) - Permissions: `read` */ | ||
getPhotostreamReferrers(options: { | ||
getPhotostreamReferrers(params: { | ||
date: string | number; | ||
@@ -1361,7 +1357,7 @@ domain: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.stats.getPhotostreamStats.html) - Permissions: `read` */ | ||
getPhotostreamStats(options: { | ||
getPhotostreamStats(params: { | ||
date: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.stats.getPopularPhotos.html) - Permissions: `read` */ | ||
getPopularPhotos(options: { | ||
getPopularPhotos(params: { | ||
date?: string | number; | ||
@@ -1373,3 +1369,3 @@ sort?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.stats.getTotalViews.html) - Permissions: `read` */ | ||
getTotalViews(options: { | ||
getTotalViews(params: { | ||
date?: string | number; | ||
@@ -1380,3 +1376,3 @@ }): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.tags.getClusterPhotos.html) - Permissions: `none` */ | ||
getClusterPhotos(options: { | ||
getClusterPhotos(params: { | ||
tag: string | number; | ||
@@ -1386,7 +1382,7 @@ cluster_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.tags.getClusters.html) - Permissions: `none` */ | ||
getClusters(options: { | ||
getClusters(params: { | ||
tag: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.tags.getHotList.html) - Permissions: `none` */ | ||
getHotList(options: { | ||
getHotList(params: { | ||
period?: string | number; | ||
@@ -1396,11 +1392,11 @@ count?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.tags.getListPhoto.html) - Permissions: `none` */ | ||
getListPhoto(options: { | ||
getListPhoto(params: { | ||
photo_id: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.tags.getListUser.html) - Permissions: `none` */ | ||
getListUser(options: { | ||
getListUser(params: { | ||
user_id?: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.tags.getListUserPopular.html) - Permissions: `none` */ | ||
getListUserPopular(options: { | ||
getListUserPopular(params: { | ||
user_id?: string | number; | ||
@@ -1410,10 +1406,10 @@ count?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.tags.getListUserRaw.html) - Permissions: `none` */ | ||
getListUserRaw(options: { | ||
getListUserRaw(params: { | ||
tag?: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.tags.getMostFrequentlyUsed.html) - Permissions: `read` */ | ||
getMostFrequentlyUsed(options: { | ||
getMostFrequentlyUsed(params: { | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.tags.getRelated.html) - Permissions: `none` */ | ||
getRelated(options: { | ||
getRelated(params: { | ||
tag: string | number; | ||
@@ -1424,9 +1420,9 @@ }): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.test.echo.html) - Permissions: `none` */ | ||
echo(options: { | ||
echo(params: { | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.test.login.html) - Permissions: `read` */ | ||
login(options: { | ||
login(params: { | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.test.null.html) - Permissions: `read` */ | ||
null(options: { | ||
null(params: { | ||
}): Promise<Response>; | ||
@@ -1436,3 +1432,3 @@ }; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.testimonials.addTestimonial.html) - Permissions: `write` */ | ||
addTestimonial(options: { | ||
addTestimonial(params: { | ||
user_id: string | number; | ||
@@ -1442,11 +1438,11 @@ testimonial_text: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.testimonials.approveTestimonial.html) - Permissions: `write` */ | ||
approveTestimonial(options: { | ||
approveTestimonial(params: { | ||
testimonial_id: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.testimonials.deleteTestimonial.html) - Permissions: `write` */ | ||
deleteTestimonial(options: { | ||
deleteTestimonial(params: { | ||
testimonial_id: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.testimonials.editTestimonial.html) - Permissions: `write` */ | ||
editTestimonial(options: { | ||
editTestimonial(params: { | ||
user_id: string | number; | ||
@@ -1457,3 +1453,3 @@ testimonial_id: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.testimonials.getAllTestimonialsAbout.html) - Permissions: `read` */ | ||
getAllTestimonialsAbout(options: { | ||
getAllTestimonialsAbout(params: { | ||
page?: string | number; | ||
@@ -1463,7 +1459,7 @@ per_page?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.testimonials.getAllTestimonialsAboutBy.html) - Permissions: `read` */ | ||
getAllTestimonialsAboutBy(options: { | ||
getAllTestimonialsAboutBy(params: { | ||
user_id: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.testimonials.getAllTestimonialsBy.html) - Permissions: `read` */ | ||
getAllTestimonialsBy(options: { | ||
getAllTestimonialsBy(params: { | ||
page?: string | number; | ||
@@ -1473,3 +1469,3 @@ per_page?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.testimonials.getPendingTestimonialsAbout.html) - Permissions: `read` */ | ||
getPendingTestimonialsAbout(options: { | ||
getPendingTestimonialsAbout(params: { | ||
page?: string | number; | ||
@@ -1479,7 +1475,7 @@ per_page?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.testimonials.getPendingTestimonialsAboutBy.html) - Permissions: `read` */ | ||
getPendingTestimonialsAboutBy(options: { | ||
getPendingTestimonialsAboutBy(params: { | ||
user_id: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.testimonials.getPendingTestimonialsBy.html) - Permissions: `read` */ | ||
getPendingTestimonialsBy(options: { | ||
getPendingTestimonialsBy(params: { | ||
page?: string | number; | ||
@@ -1489,3 +1485,3 @@ per_page?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.testimonials.getTestimonialsAbout.html) - Permissions: `none` */ | ||
getTestimonialsAbout(options: { | ||
getTestimonialsAbout(params: { | ||
user_id: string | number; | ||
@@ -1496,7 +1492,7 @@ page?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.testimonials.getTestimonialsAboutBy.html) - Permissions: `read` */ | ||
getTestimonialsAboutBy(options: { | ||
getTestimonialsAboutBy(params: { | ||
user_id: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.testimonials.getTestimonialsBy.html) - Permissions: `none` */ | ||
getTestimonialsBy(options: { | ||
getTestimonialsBy(params: { | ||
user_id: string | number; | ||
@@ -1509,23 +1505,23 @@ page?: string | number; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.urls.getGroup.html) - Permissions: `none` */ | ||
getGroup(options: { | ||
getGroup(params: { | ||
group_id: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.urls.getUserPhotos.html) - Permissions: `none` */ | ||
getUserPhotos(options: { | ||
getUserPhotos(params: { | ||
user_id?: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.urls.getUserProfile.html) - Permissions: `none` */ | ||
getUserProfile(options: { | ||
getUserProfile(params: { | ||
user_id?: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.urls.lookupGallery.html) - Permissions: `none` */ | ||
lookupGallery(options: { | ||
lookupGallery(params: { | ||
url: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.urls.lookupGroup.html) - Permissions: `none` */ | ||
lookupGroup(options: { | ||
lookupGroup(params: { | ||
url: string | number; | ||
}): Promise<Response>; | ||
/** [Flickr docs](https://www.flickr.com/services/api/flickr.urls.lookupUser.html) - Permissions: `none` */ | ||
lookupUser(options: { | ||
lookupUser(params: { | ||
url: string | number; | ||
@@ -1532,0 +1528,0 @@ }): Promise<Response>; |
{ | ||
"name": "flickr-sdk", | ||
"version": "6.2.0", | ||
"version": "6.2.1", | ||
"description": "Almost certainly the best Flickr API client in the world for node and the browser", | ||
@@ -34,5 +34,6 @@ "keywords": [ | ||
"build-docs": "node script/build-docs > README.md", | ||
"build-types": "node script/build-types > flickr-sdk.d.ts", | ||
"build-types": "node script/build-types > flickr-sdk.d.ts && npm run tsc", | ||
"build-client": "browserify -s Flickr $npm_package_main > flickr-sdk.js", | ||
"build": "npm run build-rest && npm run build-docs && npm run build-types && npm run build-client", | ||
"tsc": "npx tsc", | ||
"lint": "eslint .", | ||
@@ -39,0 +40,0 @@ "test": "mocha", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
261623
5376