n8n-nodes-base
Version:
Base nodes of n8n
63 lines (59 loc) • 1.95 kB
text/typescript
/**
* Sentry.io Node - Version 1
* Discriminator: resource=project, operation=update
*/
interface Credentials {
sentryIoOAuth2Api: CredentialReference;
sentryIoApi: CredentialReference;
sentryIoServerApi: CredentialReference;
}
/** Update an issue */
export type SentryIoV1ProjectUpdateParams = {
resource: 'project';
operation: 'update';
authentication?: 'accessToken' | 'oAuth2' | 'accessTokenServer' | Expression<string>;
/**
* The slug of the organization the project belong to. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
*/
organizationSlug?: string | Expression<string>;
/**
* The slug of the project to update. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code/expressions/">expression</a>.
*/
projectSlug?: string | Expression<string>;
/**
* Update Fields
* @default {}
*/
updateFields?: {
/** The new platform for the updated project
* @default false
*/
isBookmarked?: boolean | Expression<boolean>;
/** Maximum interval to digest alerts
* @default 1800
*/
digestsMaxDelay?: number | Expression<number>;
/** Minium interval to digest alerts
* @default 60
*/
digestsMinDelay?: number | Expression<number>;
/** The new name for the updated project
*/
name?: string | Expression<string> | PlaceholderValue;
/** The new slug for the updated project
*/
slug?: string | Expression<string> | PlaceholderValue;
/** The new team name
*/
team?: string | Expression<string> | PlaceholderValue;
/** The new platform for the updated project
*/
platform?: string | Expression<string> | PlaceholderValue;
};
};
export type SentryIoV1ProjectUpdateNode = {
type: 'n8n-nodes-base.sentryIo';
version: 1;
credentials?: Credentials;
config: NodeConfig<SentryIoV1ProjectUpdateParams>;
};