n8n-nodes-base
Version:
Base nodes of n8n
32 lines (27 loc) • 631 B
text/typescript
/**
* Oura Node - Version 1
* Discriminator: resource=profile, operation=get
*/
interface Credentials {
ouraApi: CredentialReference;
}
/** Get the user's personal information */
export type OuraV1ProfileGetParams = {
resource: 'profile';
operation: 'get';
};
export type OuraV1ProfileGetOutput = {
age?: number;
biological_sex?: string;
email?: string;
height?: number;
id?: string;
weight?: number;
};
export type OuraV1ProfileGetNode = {
type: 'n8n-nodes-base.oura';
version: 1;
credentials?: Credentials;
config: NodeConfig<OuraV1ProfileGetParams>;
output?: Items<OuraV1ProfileGetOutput>;
};