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

    Constructors

    Properties

    Methods

    Constructors

    Properties

    dbHelper: DbHelper

    Methods

    • Get a slack installation by ID

      Parameters

      • args: {
            channelId: string;
            customerId: string;
            customerSlackBotInstallationId: string;
            tx?: B2bPgTransaction;
        }

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

    • Search slack channels by customer or channel id

      Parameters

      • __namedParameters: {
            channelId?: string;
            createdAt?: DbTimestampCriteria;
            customerId: string;
            customerSlackBotInstallationId?: string;
            page?: number;
            pageSize?: number;
            tx?: B2bPgTransaction;
            updatedAt?: DbTimestampCriteria;
        }

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