box-node-sdk
Version:
Official SDK for Box Platform APIs
64 lines • 3.48 kB
TypeScript
import { UserMiniV2026R0 } from './userMiniV2026R0.js';
import { AutomateWorkflowReferenceV2026R0 } from './automateWorkflowReferenceV2026R0.js';
import { DateTime } from '../../internal/utils.js';
import { SerializedData } from '../../serialization/json.js';
export type AutomateWorkflowActionV2026R0TypeField = 'workflow_action';
export type AutomateWorkflowActionV2026R0ActionTypeField = 'run_workflow' | string;
export declare class AutomateWorkflowActionV2026R0 {
/**
* The identifier for the Automate action. */
readonly id: string;
/**
* The object type for this workflow action wrapper. */
readonly type: AutomateWorkflowActionV2026R0TypeField;
/**
* The type that defines the behavior of this action. */
readonly actionType: AutomateWorkflowActionV2026R0ActionTypeField;
/**
* A human-readable description of the workflow action. */
readonly description?: string;
/**
* The date and time when the action was created. */
readonly createdAt?: DateTime;
/**
* The date and time when the action was last updated. */
readonly updatedAt?: DateTime;
readonly createdBy?: UserMiniV2026R0;
readonly updatedBy?: UserMiniV2026R0;
readonly workflow: AutomateWorkflowReferenceV2026R0;
readonly rawData?: SerializedData;
constructor(fields: Omit<AutomateWorkflowActionV2026R0, 'type' | 'actionType'> & Partial<Pick<AutomateWorkflowActionV2026R0, 'type' | 'actionType'>>);
}
export interface AutomateWorkflowActionV2026R0Input {
/**
* The identifier for the Automate action. */
readonly id: string;
/**
* The object type for this workflow action wrapper. */
readonly type?: AutomateWorkflowActionV2026R0TypeField;
/**
* The type that defines the behavior of this action. */
readonly actionType?: AutomateWorkflowActionV2026R0ActionTypeField;
/**
* A human-readable description of the workflow action. */
readonly description?: string;
/**
* The date and time when the action was created. */
readonly createdAt?: DateTime;
/**
* The date and time when the action was last updated. */
readonly updatedAt?: DateTime;
readonly createdBy?: UserMiniV2026R0;
readonly updatedBy?: UserMiniV2026R0;
readonly workflow: AutomateWorkflowReferenceV2026R0;
readonly rawData?: SerializedData;
}
export declare function serializeAutomateWorkflowActionV2026R0TypeField(val: AutomateWorkflowActionV2026R0TypeField): SerializedData;
export declare function deserializeAutomateWorkflowActionV2026R0TypeField(val: SerializedData): AutomateWorkflowActionV2026R0TypeField;
export declare function serializeAutomateWorkflowActionV2026R0ActionTypeField(val: AutomateWorkflowActionV2026R0ActionTypeField): SerializedData;
export declare function deserializeAutomateWorkflowActionV2026R0ActionTypeField(val: SerializedData): AutomateWorkflowActionV2026R0ActionTypeField;
export declare function serializeAutomateWorkflowActionV2026R0(val: AutomateWorkflowActionV2026R0): SerializedData;
export declare function deserializeAutomateWorkflowActionV2026R0(val: SerializedData): AutomateWorkflowActionV2026R0;
export declare function serializeAutomateWorkflowActionV2026R0Input(val: AutomateWorkflowActionV2026R0Input): SerializedData;
export declare function deserializeAutomateWorkflowActionV2026R0Input(val: SerializedData): AutomateWorkflowActionV2026R0Input;
//# sourceMappingURL=automateWorkflowActionV2026R0.d.ts.map