import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface TaskManagementWorkitemConfig extends cdktf.TerraformMetaArguments { /** * The id of the assignee of the Workitem. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_workitem#assignee_id TaskManagementWorkitem#assignee_id} */ readonly assigneeId?: string; /** * Set it to false to disable auto status transition. By default, it is enabled. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_workitem#auto_status_transition TaskManagementWorkitem#auto_status_transition} */ readonly autoStatusTransition?: boolean | cdktf.IResolvable; /** * JSON formatted object for custom field values defined in the schema referenced by the worktype of the workitem. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_workitem#custom_fields TaskManagementWorkitem#custom_fields} */ readonly customFields?: string; /** * The due date of the Workitem. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_workitem#date_due TaskManagementWorkitem#date_due} */ readonly dateDue?: string; /** * The expiry date of the Workitem. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_workitem#date_expires TaskManagementWorkitem#date_expires} */ readonly dateExpires?: string; /** * The description of the Workitem. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_workitem#description TaskManagementWorkitem#description} */ readonly description?: string; /** * The estimated duration in seconds to complete the workitem. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_workitem#duration_seconds TaskManagementWorkitem#duration_seconds} */ readonly durationSeconds?: number; /** * The id of the external contact of the Workitem. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_workitem#external_contact_id TaskManagementWorkitem#external_contact_id} */ readonly externalContactId?: string; /** * The external tag of the Workitem. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_workitem#external_tag TaskManagementWorkitem#external_tag} */ readonly externalTag?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_workitem#id TaskManagementWorkitem#id} * * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. */ readonly id?: string; /** * The language of the Workitem. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_workitem#language_id TaskManagementWorkitem#language_id} */ readonly languageId?: string; /** * The name of the Workitem. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_workitem#name TaskManagementWorkitem#name} */ readonly name: string; /** * Ids of the preferred agents of the Workitem. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_workitem#preferred_agents_ids TaskManagementWorkitem#preferred_agents_ids} */ readonly preferredAgentsIds?: string[]; /** * The priority of the Workitem. The valid range is between -25,000,000 and 25,000,000. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_workitem#priority TaskManagementWorkitem#priority} */ readonly priority?: number; /** * The Workitem's queue id. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_workitem#queue_id TaskManagementWorkitem#queue_id} */ readonly queueId?: string; /** * The ids of skills of the Workitem. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_workitem#skills_ids TaskManagementWorkitem#skills_ids} */ readonly skillsIds?: string[]; /** * The id of the current status of the Workitem. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_workitem#status_id TaskManagementWorkitem#status_id} */ readonly statusId?: string; /** * The time to live of the Workitem in seconds. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_workitem#ttl TaskManagementWorkitem#ttl} */ readonly ttl?: number; /** * The id of the Workbin that contains the Workitem. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_workitem#workbin_id TaskManagementWorkitem#workbin_id} */ readonly workbinId?: string; /** * The Worktype ID of the Workitem. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_workitem#worktype_id TaskManagementWorkitem#worktype_id} */ readonly worktypeId: string; /** * scored_agents block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_workitem#scored_agents TaskManagementWorkitem#scored_agents} */ readonly scoredAgents?: TaskManagementWorkitemScoredAgents[] | cdktf.IResolvable; } export interface TaskManagementWorkitemScoredAgents { /** * The agent id * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_workitem#agent_id TaskManagementWorkitem#agent_id} */ readonly agentId: string; /** * Agent's score for the workitem, from 0 - 100, higher being better * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_workitem#score TaskManagementWorkitem#score} */ readonly score: number; } export declare function taskManagementWorkitemScoredAgentsToTerraform(struct?: TaskManagementWorkitemScoredAgents | cdktf.IResolvable): any; export declare function taskManagementWorkitemScoredAgentsToHclTerraform(struct?: TaskManagementWorkitemScoredAgents | cdktf.IResolvable): any; export declare class TaskManagementWorkitemScoredAgentsOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): TaskManagementWorkitemScoredAgents | cdktf.IResolvable | undefined; set internalValue(value: TaskManagementWorkitemScoredAgents | cdktf.IResolvable | undefined); private _agentId?; get agentId(): string; set agentId(value: string); get agentIdInput(): string; private _score?; get score(): number; set score(value: number); get scoreInput(): number; } export declare class TaskManagementWorkitemScoredAgentsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: TaskManagementWorkitemScoredAgents[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): TaskManagementWorkitemScoredAgentsOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_workitem genesyscloud_task_management_workitem} */ export declare class TaskManagementWorkitem extends cdktf.TerraformResource { static readonly tfResourceType = "genesyscloud_task_management_workitem"; /** * Generates CDKTF code for importing a TaskManagementWorkitem resource upon running "cdktf plan " * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the TaskManagementWorkitem to import * @param importFromId The id of the existing TaskManagementWorkitem that should be imported. Refer to the {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_workitem#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the TaskManagementWorkitem to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): any; /** * Create a new {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/task_management_workitem genesyscloud_task_management_workitem} Resource * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options TaskManagementWorkitemConfig */ constructor(scope: Construct, id: string, config: TaskManagementWorkitemConfig); private _assigneeId?; get assigneeId(): string; set assigneeId(value: string); resetAssigneeId(): void; get assigneeIdInput(): string; private _autoStatusTransition?; get autoStatusTransition(): boolean | cdktf.IResolvable; set autoStatusTransition(value: boolean | cdktf.IResolvable); resetAutoStatusTransition(): void; get autoStatusTransitionInput(): any; private _customFields?; get customFields(): string; set customFields(value: string); resetCustomFields(): void; get customFieldsInput(): string; private _dateDue?; get dateDue(): string; set dateDue(value: string); resetDateDue(): void; get dateDueInput(): string; private _dateExpires?; get dateExpires(): string; set dateExpires(value: string); resetDateExpires(): void; get dateExpiresInput(): string; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _durationSeconds?; get durationSeconds(): number; set durationSeconds(value: number); resetDurationSeconds(): void; get durationSecondsInput(): number; private _externalContactId?; get externalContactId(): string; set externalContactId(value: string); resetExternalContactId(): void; get externalContactIdInput(): string; private _externalTag?; get externalTag(): string; set externalTag(value: string); resetExternalTag(): void; get externalTagInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _languageId?; get languageId(): string; set languageId(value: string); resetLanguageId(): void; get languageIdInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _preferredAgentsIds?; get preferredAgentsIds(): string[]; set preferredAgentsIds(value: string[]); resetPreferredAgentsIds(): void; get preferredAgentsIdsInput(): string[]; private _priority?; get priority(): number; set priority(value: number); resetPriority(): void; get priorityInput(): number; private _queueId?; get queueId(): string; set queueId(value: string); resetQueueId(): void; get queueIdInput(): string; private _skillsIds?; get skillsIds(): string[]; set skillsIds(value: string[]); resetSkillsIds(): void; get skillsIdsInput(): string[]; private _statusId?; get statusId(): string; set statusId(value: string); resetStatusId(): void; get statusIdInput(): string; private _ttl?; get ttl(): number; set ttl(value: number); resetTtl(): void; get ttlInput(): number; private _workbinId?; get workbinId(): string; set workbinId(value: string); resetWorkbinId(): void; get workbinIdInput(): string; private _worktypeId?; get worktypeId(): string; set worktypeId(value: string); get worktypeIdInput(): string; private _scoredAgents; get scoredAgents(): TaskManagementWorkitemScoredAgentsList; putScoredAgents(value: TaskManagementWorkitemScoredAgents[] | cdktf.IResolvable): void; resetScoredAgents(): void; get scoredAgentsInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }