n8n-nodes-base
Version:
Base nodes of n8n
43 lines (39 loc) • 1.22 kB
text/typescript
/**
* Bitwarden Node - Version 1
* Discriminator: resource=group, operation=create
*/
interface Credentials {
bitwardenApi: CredentialReference;
}
export type BitwardenV1GroupCreateParams = {
resource: 'group';
operation: 'create';
/**
* The name of the group to create
*/
name?: string | Expression<string> | PlaceholderValue;
/**
* Whether to allow this group to access all collections within the organization, instead of only its associated collections. If set to true, this option overrides any collection assignments.
* @default false
*/
accessAll?: boolean | Expression<boolean>;
/**
* Additional Fields
* @default {}
*/
additionalFields?: {
/** The collections to assign to this group. 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 group
*/
externalId?: string | Expression<string> | PlaceholderValue;
};
};
export type BitwardenV1GroupCreateNode = {
type: 'n8n-nodes-base.bitwarden';
version: 1;
credentials?: Credentials;
config: NodeConfig<BitwardenV1GroupCreateParams>;
};