import { Pinterest } from '@ionic-native/pinterest' ; export interface PinterestUser { /**
     * The unique string of numbers and letters that identifies the user on Pinterest.
     */ id ? : string ; /**
     * The user’s Pinterest username.
     */ username ? : string ; /**
     * The user’s first name.
     */ first_name ? : string ; /**
     * The user’s last name.
     */ last_name ? : string ; /**
     * The text in the user’s “About you” section in their profile.
     */ bio ? : string ; /**
     * The date the user created their account in ISO 8601 format
     */ created_at ? : string ; /**
     * The user’s stats, including how many Pins, follows, boards and likes they have.
     */ counts ? : any ; /**
     * The user’s profile image. The response returns the image’s URL, width and height.
     */ image ? : any ; } export interface PinterestBoard { /**
     * The unique string of numbers and letters that identifies the board on Pinterest.
     */ id ? : string ; /**
     * The name of the board.
     */ name ? : string ; /**
     * The link to the board.
     */ url ? : string ; /**
     * The user-entered description of the board.
     */ description ? : string ; /**
     * The first and last name, ID and profile URL of the user who created the board.
     */ creator ? : PinterestUser ; /**
     * The date the user created the board.
     */ created_at ? : string ; /**
     * The board’s stats, including how many Pins, followers, user's following and collaborators it has.
     */ counts ? : any ; /**
     * The user’s profile image. The response returns the image’s URL, width and height.
     */ image ? : any ; } export interface PinterestPin { /**
     * The unique string of numbers and letters that identifies the Pin on Pinterest.
     */ id ? : string ; /**
     * The URL of the webpage where the Pin was created.
     */ link ? : string ; /**
     * The URL of the Pin on Pinterest.
     */ url ? : string ; /**
     * The first and last name, ID and profile URL of the user who created the board.
     */ creator ? : PinterestUser ; /**
     * The board that the Pin is on.
     */ board ? : PinterestBoard ; /**
     * The date the Pin was created.
     */ created_at ? : string ; /**
     * The user-entered description of the Pin.
     */ note ? : string ; /**
     * The dominant color of the Pin’s image in hex code format.
     */ color ? : string ; /**
     * The Pin’s stats, including the number of repins, comments and likes.
     */ counts ? : any ; /**
     * The media type of the Pin (image or video).
     */ media ? : any ; /**
     * The source data for videos, including the title, URL, provider, author name, author URL and provider name.
     */ attribution ? : any ; /**
     * The Pin’s image. The default response returns the image’s URL, width and height.
     */ image ? : any ; /**
     * Extra information about the Pin for Rich Pins. Includes the Pin type (e.g., article, recipe) and related information (e.g., ingredients, author).
     */ metadata ? : any ; } export class PinterestMock extends Pinterest { /**
     * Convenience constant for authentication scopes
     */ SCOPES : { READ_PUBLIC : string ; WRITE_PUBLIC : string ; READ_RELATIONSHIPS : string ; WRITE_RELATIONSHIPS : string ; } ; param scopes { Array < string > } returns { Promise < any > } login ( scopes ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param fields { string } returns { Promise < PinterestUser > } getMe ( fields ? ) { let response ; return new Promise ( ( resolve , reject ) => { resolve ( response ) ; } ) ; } ; param fields { string } param limit { number } returns { Promise < Array < PinterestPin > > } getMyPins ( fields ? , limit ? ) { let response = [ ] ; return new Promise ( ( resolve , reject ) => { resolve ( response ) ; } ) ; } ; param fields { string } param limit { number } returns { Promise < Array < PinterestBoard > > } getMyBoards ( fields ? , limit ? ) { let response = [ ] ; return new Promise ( ( resolve , reject ) => { resolve ( response ) ; } ) ; } ; param fields { string } param limit { number } returns { Promise < Array < PinterestPin > > } getMyLikes ( fields ? , limit ? ) { let response = [ ] ; return new Promise ( ( resolve , reject ) => { resolve ( response ) ; } ) ; } ; param fields { string } param limit { number } returns { Promise < Array < PinterestUser > > } getMyFollowers ( fields ? , limit ? ) { let response = [ ] ; return new Promise ( ( resolve , reject ) => { resolve ( response ) ; } ) ; } ; param fields { string } param limit { number } returns { Promise < Array < PinterestBoard > > } getMyFollowedBoards ( fields ? , limit ? ) { let response = [ ] ; return new Promise ( ( resolve , reject ) => { resolve ( response ) ; } ) ; } ; param fields { string } param limit { number } returns { Promise < any > } getMyFollowedInterests ( fields ? , limit ? ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param username param fields returns { Promise < PinterestUser > } getUser ( username , fields ? ) { let response ; return new Promise ( ( resolve , reject ) => { resolve ( response ) ; } ) ; } ; param boardId param fields returns { Promise < PinterestBoard > } getBoard ( boardId , fields ? ) { let response ; return new Promise ( ( resolve , reject ) => { resolve ( response ) ; } ) ; } ; param boardId { string } param fields { string } param limit { number } returns { Promise < Array < PinterestPin > > } getBoardPins ( boardId , fields ? , limit ? ) { let response = [ ] ; return new Promise ( ( resolve , reject ) => { resolve ( response ) ; } ) ; } ; param boardId { string } returns { Promise < PinterestUser > } deleteBoard ( boardId ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param name { string } param desc { string } returns { Promise < PinterestBoard > } createBoard ( name , desc ? ) { let response ; return new Promise ( ( resolve , reject ) => { resolve ( response ) ; } ) ; } ; param pinId { string } param fields { string } returns { Promise < PinterestPin > } getPin ( pinId , fields ? ) { let response ; return new Promise ( ( resolve , reject ) => { resolve ( response ) ; } ) ; } ; param pinId { string } returns { Promise < any > } deletePin ( pinId ) { return new Promise ( ( resolve , reject ) => { resolve ( ) ; } ) ; } ; param note { string } param boardId { string } param imageUrl { string } param link { string } returns { Promise < PinterestPin > } createPin ( note , boardId , imageUrl , link ? ) { let response ; return new Promise ( ( resolve , reject ) => { resolve ( response ) ; } ) ; } ; }