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

    Class CustomerSlackBotInstallationAdminService

    Index
    db: B2bDatabase
    instance: (...args: []) => CustomerSlackBotInstallationAdminService = ...

    The process service: the shared database and the internal bus.

    • 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;
            customerIds?: string[];
            ids?: string[];
            includeHidden?: boolean;
            page?: number;
            pageSize?: number;
            slackBotInstallationIds?: string[];
            tx?: PgAsyncTransaction<NodePgQueryResultHKT, EmptyRelations>;
            updatedAt?: DbTimestampCriteria;
        }

      Returns Promise<
          {
              ok: true;
              value: {
                  hasNext: boolean;
                  items: CustomerSlackBotInstallation[];
                  total: number;
              };
          },
      >