/** * Linkbreakers API * This is a documentation of all the APIs of Linkbreakers * * The version of the OpenAPI document: 1.118.3 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { SlackIntegrationStatus } from './SlackIntegrationStatus'; /** * Represents a connected Slack workspace integration that receives event notifications * in a configured channel when workflow steps complete. * @export * @interface SlackIntegration */ export interface SlackIntegration { /** * * @type {Date} * @memberof SlackIntegration */ readonly createdAt?: Date; /** * * @type {string} * @memberof SlackIntegration */ createdBy?: string; /** * * @type {string} * @memberof SlackIntegration */ readonly failureCount?: string; /** * * @type {string} * @memberof SlackIntegration */ id?: string; /** * * @type {Date} * @memberof SlackIntegration */ readonly lastSentAt?: Date; /** * Filter notifications by a specific link ID. * Only events from this link will trigger notifications. * If empty, all links in the workspace will trigger notifications. * @type {string} * @memberof SlackIntegration */ linkId?: string; /** * * @type {string} * @memberof SlackIntegration */ slackChannelId?: string; /** * * @type {string} * @memberof SlackIntegration */ slackChannelName?: string; /** * * @type {string} * @memberof SlackIntegration */ slackTeamId?: string; /** * * @type {string} * @memberof SlackIntegration */ slackTeamName?: string; /** * * @type {SlackIntegrationStatus} * @memberof SlackIntegration */ status?: SlackIntegrationStatus; /** * * @type {string} * @memberof SlackIntegration */ readonly successCount?: string; /** * Filter notifications by workflow step kinds. * Only workflow steps matching these kinds will trigger notifications. * If empty, all workflow step kinds will trigger notifications. * @type {Array} * @memberof SlackIntegration */ triggers?: Array; /** * * @type {Date} * @memberof SlackIntegration */ readonly updatedAt?: Date; /** * * @type {string} * @memberof SlackIntegration */ workspaceId?: string; } /** * @export */ export declare const SlackIntegrationTriggersEnum: { readonly KindUnspecified: "KIND_UNSPECIFIED"; readonly KindEntry: "KIND_ENTRY"; readonly KindExit: "KIND_EXIT"; readonly KindInteraction: "KIND_INTERACTION"; readonly KindCondition: "KIND_CONDITION"; }; export type SlackIntegrationTriggersEnum = typeof SlackIntegrationTriggersEnum[keyof typeof SlackIntegrationTriggersEnum]; /** * Check if a given object implements the SlackIntegration interface. */ export declare function instanceOfSlackIntegration(value: object): value is SlackIntegration; export declare function SlackIntegrationFromJSON(json: any): SlackIntegration; export declare function SlackIntegrationFromJSONTyped(json: any, ignoreDiscriminator: boolean): SlackIntegration; export declare function SlackIntegrationToJSON(json: any): SlackIntegration; export declare function SlackIntegrationToJSONTyped(value?: Omit | null, ignoreDiscriminator?: boolean): any;