n8n-nodes-base
Version:
Base nodes of n8n
42 lines (38 loc) • 928 B
text/typescript
/**
* Freshservice Node - Version 1
* Discriminator: resource=department, operation=getAll
*/
interface Credentials {
freshserviceApi: CredentialReference;
}
/** Retrieve many agents */
export type FreshserviceV1DepartmentGetAllParams = {
resource: 'department';
operation: 'getAll';
/**
* 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 50
*/
limit?: number | Expression<number>;
/**
* Filters
* @default {}
*/
filters?: {
/** Name of the department
*/
name?: string | Expression<string> | PlaceholderValue;
};
};
export type FreshserviceV1DepartmentGetAllNode = {
type: 'n8n-nodes-base.freshservice';
version: 1;
credentials?: Credentials;
config: NodeConfig<FreshserviceV1DepartmentGetAllParams>;
};