UNPKG

@pipedream/lob

Version:

Pipedream Lob Components

185 lines (184 loc) 6.19 kB
import { Letter } from "@lob/lob-typescript-sdk"; 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<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>; }; }>; to: { 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<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>; }; }>)[]; label: string; description: string; }; description: { type: string; label: string; description: string; }; from: { 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<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>; }; }>)[]; label: string; description: string; }; name: { type: string; label: string; description: string; optional: boolean; }; company: { type: string; label: string; description: string; optional: boolean; }; email: { type: string; label: string; description: string; optional: boolean; }; phone: { type: string; label: string; description: string; optional: boolean; }; addressLine1: { type: string; label: string; description: string; optional: boolean; }; addressLine2: { type: string; label: string; description: string; optional: boolean; }; addressCity: { type: string; label: string; description: string; optional: boolean; }; addressState: { type: string; label: string; description: string; optional: boolean; }; addressZip: { type: string; label: string; description: string; optional: boolean; }; addressCountry: { type: string; label: string; description: string; optional: boolean; }; file: { type: string; label: string; description: string; }; color: { type: string; label: string; description: string; }; useType: { type: string; label: string; description: string; options: { label: string; value: string; }[]; }; mailType: { type: string; label: string; description: string; options: string[]; optional: boolean; }; sendDate: { type: string; label: string; description: string; optional: boolean; }; }>; export default _default;