interface MainEntity { /** @format GUID */ _id?: string; tags?: Tags; } interface Tags { privateTags?: TagList; tags?: TagList; } interface TagList { /** * @maxSize 100 * @maxLength 5 */ tagIds?: string[]; } interface RunTriggerRequest { /** * Trigger ID. You can find this in the custom trigger configuration in the automations builder. * @maxLength 100 */ triggerId?: string; /** * Optional payload object to pass to run trigger. Define the payload schema from sample data in the custom trigger configuration in the * automations builder. */ payload?: Record | null; } interface RunTriggerResponse { } interface BulkUpdateMainEntityTagsRequest { /** * @maxSize 100 * @maxLength 50 */ entityIds?: string[]; assignTags?: Tags; unassignTags?: Tags; } interface BulkUpdateMainEntityTagsResponse { } interface BulkUpdateMainEntityTagsByFilterRequest { filter?: Record | null; assignTags?: Tags; unassignTags?: Tags; } interface BulkUpdateMainEntityTagsByFilterResponse { } /** * Runs the automation associated with the trigger ID that you pass to it. * @public * @permissionId AUTOMATIONS.TRIGGER_WEBHOOK * @applicableIdentity APP * @fqn com.wixpress.crm.automations.automations_custom_trigger.AutomationsCustomTriggerService.RunTrigger */ declare function runTrigger(options?: RunTriggerOptions): Promise; interface RunTriggerOptions { /** * Trigger ID. You can find this in the custom trigger configuration in the automations builder. * @maxLength 100 */ triggerId?: string; /** * Optional payload object to pass to run trigger. Define the payload schema from sample data in the custom trigger configuration in the * automations builder. */ payload?: Record | null; } interface BulkUpdateMainEntityTagsOptions { /** * @maxSize 100 * @maxLength 50 */ entityIds?: string[]; assignTags?: Tags; unassignTags?: Tags; } interface BulkUpdateMainEntityTagsByFilterOptions { filter?: Record | null; assignTags?: Tags; unassignTags?: Tags; } export { type BulkUpdateMainEntityTagsByFilterOptions, type BulkUpdateMainEntityTagsByFilterRequest, type BulkUpdateMainEntityTagsByFilterResponse, type BulkUpdateMainEntityTagsOptions, type BulkUpdateMainEntityTagsRequest, type BulkUpdateMainEntityTagsResponse, type MainEntity, type RunTriggerOptions, type RunTriggerRequest, type RunTriggerResponse, type TagList, type Tags, runTrigger };