intercom-client
Version:
Official Node bindings to the Intercom API
23 lines (22 loc) • 663 B
TypeScript
/**
* Contains details about final status of the completed action for conversation part type <code>custom_action_finished</code>.
*/
export interface CustomActionFinished {
action?: CustomActionFinished.Action;
}
export declare namespace CustomActionFinished {
interface Action {
/** Name of the action */
name?: string;
/** Status of the action */
result?: Action.Result;
}
namespace Action {
/** Status of the action */
const Result: {
readonly Success: "success";
readonly Failed: "failed";
};
type Result = (typeof Result)[keyof typeof Result];
}
}