/**
 * Dropbox Node - Version 1
 * Discriminator: resource=folder, operation=create
 */


interface Credentials {
  dropboxApi: CredentialReference;
  dropboxOAuth2Api: CredentialReference;
}

/** Create a folder */
export type DropboxV1FolderCreateParams = {
  resource: 'folder';
  operation: 'create';
/**
 * Means of authenticating with the service
 * @default accessToken
 */
    authentication?: 'accessToken' | 'oAuth2' | Expression<string>;
/**
 * The folder to create. The parent folder has to exist.
 */
    path?: string | Expression<string> | PlaceholderValue;
};

export type DropboxV1FolderCreateOutput = {
  metadata?: {
    id?: string;
    name?: string;
    path_display?: string;
    path_lower?: string;
  };
};

export type DropboxV1FolderCreateNode = {
  type: 'n8n-nodes-base.dropbox';
  version: 1;
  credentials?: Credentials;
  config: NodeConfig<DropboxV1FolderCreateParams>;
  output?: Items<DropboxV1FolderCreateOutput>;
};