n8n-nodes-base
Version:
Base nodes of n8n
40 lines (36 loc) • 966 B
text/typescript
/**
* QuickBooks Online Node - Version 1
* Discriminator: resource=payment, operation=create
*/
interface Credentials {
quickBooksOAuth2Api: CredentialReference;
}
export type QuickbooksV1PaymentCreateParams = {
resource: 'payment';
operation: 'create';
/**
* The ID of the customer who the payment is for. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
* @default []
*/
CustomerRef?: string | Expression<string>;
/**
* Total amount of the transaction
* @default 0
*/
TotalAmt?: number | Expression<number>;
/**
* Additional Fields
* @default {}
*/
additionalFields?: {
/** Date when the transaction occurred
*/
TxnDate?: string | Expression<string>;
};
};
export type QuickbooksV1PaymentCreateNode = {
type: 'n8n-nodes-base.quickbooks';
version: 1;
credentials?: Credentials;
config: NodeConfig<QuickbooksV1PaymentCreateParams>;
};