@pipedream/lob
Version:
Pipedream Lob Components
56 lines (55 loc) • 2.75 kB
TypeScript
declare const _default: import("@pipedream/types").Action<unknown, {
lob: import("@pipedream/types").App<{
_authConfig(): import("@lob/lob-typescript-sdk").Configuration;
_letterApi(): import("@lob/lob-typescript-sdk").LettersApi;
_postcardsApi(): import("@lob/lob-typescript-sdk").PostcardsApi;
_addressApi(): import("@lob/lob-typescript-sdk").AddressesApi;
listAllAddresses(): Promise<Array<import("@lob/lob-typescript-sdk").Address>>;
createAddress(opts?: {}): Promise<import("@lob/lob-typescript-sdk").Address>;
listAllPostcards(): Promise<Array<import("@lob/lob-typescript-sdk").Postcard>>;
createLetter(opts?: {}): Promise<import("@lob/lob-typescript-sdk").Letter>;
createPostcard(opts?: {}): Promise<import("@lob/lob-typescript-sdk").Postcard>;
retrievePostcard(id: string): Promise<import("@lob/lob-typescript-sdk").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>;
};
}>;
postcardId: {
propDefinition: (string | import("@pipedream/types").App<{
_authConfig(): import("@lob/lob-typescript-sdk").Configuration;
_letterApi(): import("@lob/lob-typescript-sdk").LettersApi;
_postcardsApi(): import("@lob/lob-typescript-sdk").PostcardsApi;
_addressApi(): import("@lob/lob-typescript-sdk").AddressesApi;
listAllAddresses(): Promise<Array<import("@lob/lob-typescript-sdk").Address>>;
createAddress(opts?: {}): Promise<import("@lob/lob-typescript-sdk").Address>;
listAllPostcards(): Promise<Array<import("@lob/lob-typescript-sdk").Postcard>>;
createLetter(opts?: {}): Promise<import("@lob/lob-typescript-sdk").Letter>;
createPostcard(opts?: {}): Promise<import("@lob/lob-typescript-sdk").Postcard>;
retrievePostcard(id: string): Promise<import("@lob/lob-typescript-sdk").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;