@cfxlabsinc/b2b-services
    Preparing search index...

    Class CustomerSlackBotInstallationAdminService

    Index
    db: B2bDatabase
    • Get a slack installation by ID

      Parameters

      • args: {
            customerId: string;
            hidden?: boolean;
            slackBotInstallationId: string;
            tx?: PgAsyncTransaction<NodePgQueryResultHKT, EmptyRelations>;
        }

      Returns Promise<{ ok: true; value: CustomerSlackBotInstallation | null }>

    • Get a slack installation by ID

      Parameters

      • args: { id: string; tx?: PgAsyncTransaction<NodePgQueryResultHKT, EmptyRelations> }

      Returns Promise<{ ok: true; value: CustomerSlackBotInstallation | null }>

    • Search a slack installations

      Parameters

      • __namedParameters: {
            createdAt?: DbTimestampCriteria;
            customerId?: string;
            id?: string[];
            includeHidden?: boolean;
            page?: number;
            pageSize?: number;
            slackBotInstallationId?: string;
            tx?: PgAsyncTransaction<NodePgQueryResultHKT, EmptyRelations>;
            updatedAt?: DbTimestampCriteria;
        }

      Returns Promise<{ ok: true; value: CustomerSlackBotInstallation[] }>