Interface AppInterface

Application entity interface

Mirrors macs-node-sdk/lib/app/models/app.js.

const app: AppInterface = {
id: 'app-123',
name: 'slack-integration',
type: 'INTEGRATION',
org: 'org-456',
short_description: 'Send messages and read channels via a Slack bot user.',
external_app_url: 'https://slack.com',
tags: ['chat', 'messaging'],
active: true
};
interface AppInterface {
    external_id?: string;
    extensors?: { [key: string]: string };
    record_history?: RecordHistory;
    id?: string;
    name: string;
    type: AppType;
    org?: string;
    user?: string;
    client?: string;
    short_description?: string;
    long_description?: string;
    readme?: string;
    image?: string;
    external_app_url?: string;
    external_api_urls?: { [key: string]: string };
    external_api_key?: string;
    external_headers?: { [key: string]: string };
    public?: boolean;
    featured?: boolean;
    active?: boolean;
    tags?: string[];
    keywords?: string[];
    connectors?: any;
    webhooks?: any;
}

Hierarchy (View Summary)

Properties

external_id?: string

External system identifier for integration with third-party systems

extensors?: { [key: string]: string }

Extended properties for custom integrations

record_history?: RecordHistory

Record history tracking information

id?: string

Unique identifier for the application

name: string

Application name (required, unique)

type: AppType

App type (required)

org?: string

Organization ID the app belongs to

user?: string

User ID the app belongs to (if not org-scoped)

client?: string

Client ID (for CLIENT-type apps). Set server-side after createClient().

short_description?: string

Brief description of the application

long_description?: string

Detailed description of the application

readme?: string

Markdown README rendered on the app profile

image?: string

URL to application's icon/image

external_app_url?: string

External application URL for integrations

external_api_urls?: { [key: string]: string }

Named external URLs used by the integration (validated as URLs server-side)

external_api_key?: string

API key used when calling the external app (encrypted at rest)

external_headers?: { [key: string]: string }

Custom headers forwarded on external API calls

public?: boolean

Public listing flag

featured?: boolean

Featured listing flag

active?: boolean

Whether the application is currently active

tags?: string[]

Tags for categorizing the application

keywords?: string[]

Keywords for search functionality

connectors?: any
webhooks?: any