n8n-nodes-base
Version:
Base nodes of n8n
35 lines (31 loc) • 1.08 kB
text/typescript
/**
* Webflow Node - Version 1
* Discriminator: resource=item, operation=get
*/
interface Credentials {
webflowApi: CredentialReference;
webflowOAuth2Api: CredentialReference;
}
export type WebflowV1ItemGetParams = {
resource: 'item';
operation: 'get';
authentication?: 'accessToken' | 'oAuth2' | Expression<string>;
/**
* ID of the site containing the collection whose items to operate on. 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 operate on. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
*/
collectionId?: string | Expression<string>;
/**
* ID of the item to operate on
*/
itemId?: string | Expression<string> | PlaceholderValue;
};
export type WebflowV1ItemGetNode = {
type: 'n8n-nodes-base.webflow';
version: 1;
credentials?: Credentials;
config: NodeConfig<WebflowV1ItemGetParams>;
};