mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 06:34:05 -08:00
37 lines
651 B
TypeScript
37 lines
651 B
TypeScript
export const enum RecipientType {
|
|
email = 'EMAIL',
|
|
phone = 'PHONE',
|
|
paypalId = 'PAYPAL_ID',
|
|
}
|
|
|
|
export const enum RecipientWallet {
|
|
paypal = 'PAYPAL',
|
|
venmo = 'VENMO',
|
|
}
|
|
|
|
export interface IAmount {
|
|
currency?: string;
|
|
value?: number;
|
|
}
|
|
|
|
export interface ISenderBatchHeader {
|
|
sender_batch_id?: string;
|
|
email_subject?: string;
|
|
email_message?: string;
|
|
note?: string;
|
|
}
|
|
|
|
export interface IItem {
|
|
recipient_type?: RecipientType;
|
|
amount?: IAmount;
|
|
note?: string;
|
|
receiver?: string;
|
|
sender_item_id?: string;
|
|
recipient_wallet?: RecipientWallet;
|
|
}
|
|
|
|
export interface IPaymentBatch {
|
|
sender_batch_header?: ISenderBatchHeader;
|
|
items?: IItem[];
|
|
}
|