n8n-nodes-base
Version:
Base nodes of n8n
42 lines (38 loc) • 1.27 kB
text/typescript
/**
* Webflow Node - Version 1
* Discriminator: resource=item, operation=getAll
*/
interface Credentials {
webflowApi: CredentialReference;
webflowOAuth2Api: CredentialReference;
}
export type WebflowV1ItemGetAllParams = {
resource: 'item';
operation: 'getAll';
authentication?: 'accessToken' | 'oAuth2' | Expression<string>;
/**
* ID of the site containing the collection whose items to retrieve. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
*/
siteId?: string | Expression<string>;
/**
* ID of the collection whose items to retrieve. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
*/
collectionId?: string | Expression<string>;
/**
* Whether to return all results or only up to a given limit
* @default false
*/
returnAll?: boolean | Expression<boolean>;
/**
* Max number of results to return
* @displayOptions.show { returnAll: [false] }
* @default 100
*/
limit?: number | Expression<number>;
};
export type WebflowV1ItemGetAllNode = {
type: 'n8n-nodes-base.webflow';
version: 1;
credentials?: Credentials;
config: NodeConfig<WebflowV1ItemGetAllParams>;
};