@marceloclp/monzojs
Version:
Unofficial wrapper for the Monzo API written in TypeScript.
8 lines (7 loc) • 328 B
TypeScript
import { MonzoAPI } from '../types';
/**
* Creates a new feed item on the user’s feed.
*
* @see https://docs.monzo.com/#create-feed-item
*/
export declare const createFeedItem: <T extends "basic" = "basic">(accessToken: string, { accountId, type, url, params }: MonzoAPI.FeedItems.CreateFeedItemParams<T>) => Promise<{}>;