import * as z from "zod/v4-mini"; import { OpenEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdk-validation-error.js"; import * as models from "../index.js"; export type ListActionsRequest = { queueId?: string | undefined; page?: number | undefined; pageSize?: number | undefined; /** * The project to act on, when you call with an organization key. Optional when the organization has one project. A project key acts on its own project: naming another one is an error. */ projectId?: string | undefined; }; export declare const ListActionsType: { readonly AuthorBlock: "AUTHOR_BLOCK"; readonly AuthorBlockTemp: "AUTHOR_BLOCK_TEMP"; readonly AuthorUnblock: "AUTHOR_UNBLOCK"; readonly AuthorDelete: "AUTHOR_DELETE"; readonly AuthorReport: "AUTHOR_REPORT"; readonly AuthorWarn: "AUTHOR_WARN"; readonly AuthorCustom: "AUTHOR_CUSTOM"; readonly ItemReject: "ITEM_REJECT"; readonly ItemAllow: "ITEM_ALLOW"; readonly ItemCustom: "ITEM_CUSTOM"; }; export type ListActionsType = OpenEnum; /** * Whether the action resolves and removes the item, unresolves and re-add it to the queue, or does not change the resolve status. */ export declare const ListActionsQueueBehaviour: { readonly Remove: "REMOVE"; readonly Add: "ADD"; readonly NoChange: "NO_CHANGE"; }; /** * Whether the action resolves and removes the item, unresolves and re-add it to the queue, or does not change the resolve status. */ export type ListActionsQueueBehaviour = OpenEnum; /** * Show the action in all queues, selected queues or no queues (to use via API only). */ export declare const ListActionsPosition: { readonly AllQueues: "ALL_QUEUES"; readonly SomeQueues: "SOME_QUEUES"; readonly Hidden: "HIDDEN"; }; /** * Show the action in all queues, selected queues or no queues (to use via API only). */ export type ListActionsPosition = OpenEnum; export type ListActionsPossibleValue = { /** * The value of the action. */ value: string; }; export type ListActionsData = { /** * The ID of the action. */ id: string; /** * User defined key of the action. */ key?: string | null | undefined; /** * The date the action was created. */ createdAt: string; /** * The name of the action. */ name: string; /** * The description of the action. */ description?: string | null | undefined; /** * The type of the action. */ type?: ListActionsType | null | undefined; /** * Whether the action is a built-in action or a custom one. */ builtIn: boolean | null; /** * Whether the action resolves and removes the item, unresolves and re-add it to the queue, or does not change the resolve status. */ queueBehaviour: ListActionsQueueBehaviour; /** * The IDs of the queues the action is available in. */ filterInQueueIds: Array; /** * Show the action in all queues, selected queues or no queues (to use via API only). */ position: ListActionsPosition; /** * The possible values of the action. The user will be prompted to select one of these values when executing the action. */ possibleValues: Array; /** * Whether the action requires a value to be executed. */ valueRequired: boolean; /** * Whether the action allows any text to be entered as a value or if it must be one of the possible values. */ freeText: boolean; }; /** * Successful response */ export type ListActionsResponseBody = { /** * The items on this page. */ data: Array; /** * Where this page is in the full list. */ pagination: models.Pagination; }; export type ListActionsResponse = { result: ListActionsResponseBody; }; /** @internal */ export type ListActionsRequest$Outbound = { queueId?: string | undefined; page: number; pageSize: number; projectId?: string | undefined; }; /** @internal */ export declare const ListActionsRequest$outboundSchema: z.ZodMiniType; export declare function listActionsRequestToJSON(listActionsRequest: ListActionsRequest): string; /** @internal */ export declare const ListActionsType$inboundSchema: z.ZodMiniType; /** @internal */ export declare const ListActionsQueueBehaviour$inboundSchema: z.ZodMiniType; /** @internal */ export declare const ListActionsPosition$inboundSchema: z.ZodMiniType; /** @internal */ export declare const ListActionsPossibleValue$inboundSchema: z.ZodMiniType; export declare function listActionsPossibleValueFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ListActionsData$inboundSchema: z.ZodMiniType; export declare function listActionsDataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ListActionsResponseBody$inboundSchema: z.ZodMiniType; export declare function listActionsResponseBodyFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ListActionsResponse$inboundSchema: z.ZodMiniType; export declare function listActionsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=list-actions.d.ts.map