UNPKG

@pipedream/lob

Version:

Pipedream Lob Components

129 lines (128 loc) 5.11 kB
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>; }; }>; description: { type: string; label: string; description: string; }; 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<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>; }; }>)[]; label: string; description: string; }; front: { type: string; label: string; description: string; }; back: { type: string; label: string; description: string; }; size: { type: string; label: string; description: string; options: string[]; default: string; }; mailType: { type: string; label: string; description: string; options: string[]; default: string; }; mergeVariables: { type: string; label: string; description: string; optional: boolean; }; sendDate: { type: string; label: string; description: string; optional: boolean; }; 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<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>; }; }>)[]; label: string; description: string; optional: boolean; }; }>; export default _default;