@pipedream/lob
Version:
Pipedream Lob Components
28 lines (27 loc) • 1.01 kB
TypeScript
import { Configuration, AddressesApi, Address, PostcardsApi, Postcard, LettersApi } from "@lob/lob-typescript-sdk";
declare const _default: import("@pipedream/types").App<{
_authConfig(): Configuration;
_letterApi(): LettersApi;
_postcardsApi(): PostcardsApi;
_addressApi(): AddressesApi;
listAllAddresses(): Promise<Array<Address>>;
createAddress(opts?: {}): Promise<Address>;
listAllPostcards(): Promise<Array<Postcard>>;
createLetter(opts?: {}): Promise<import("@lob/lob-typescript-sdk").Letter>;
createPostcard(opts?: {}): Promise<Postcard>;
retrievePostcard(id: string): Promise<Postcard>;
cancelPostcard(id: string): Promise<import("@lob/lob-typescript-sdk").PostcardDeletion>;
paginate(api: any): Promise<any[]>;
}, {
addressId: {
type: string;
label: string;
options(): Promise<any>;
};
postcardId: {
type: string;
label: string;
options(): Promise<any>;
};
}>;
export default _default;