n8n-nodes-base
Version:
Base nodes of n8n
46 lines (42 loc) • 1.14 kB
text/typescript
/**
* Bitwarden Node - Version 1
* Discriminator: resource=member, operation=update
*/
interface Credentials {
bitwardenApi: CredentialReference;
}
export type BitwardenV1MemberUpdateParams = {
resource: 'member';
operation: 'update';
/**
* The identifier of the member
*/
memberId?: string | Expression<string> | PlaceholderValue;
/**
* Update Fields
* @default {}
*/
updateFields?: {
/** Type
* @default {}
*/
type?: 0 | 1 | 2 | 3 | Expression<number>;
/** The collections to assign to this member. Choose from the list, or specify IDs using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
* @default []
*/
collections?: string[];
/** The external identifier to set to this member
*/
externalId?: string | Expression<string> | PlaceholderValue;
/** Access All
* @default false
*/
accessAll?: boolean | Expression<boolean>;
};
};
export type BitwardenV1MemberUpdateNode = {
type: 'n8n-nodes-base.bitwarden';
version: 1;
credentials?: Credentials;
config: NodeConfig<BitwardenV1MemberUpdateParams>;
};