import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface JourneySegmentConfig extends cdktf.TerraformMetaArguments { /** * Time, in days, from when the segment is assigned until it is automatically unassigned. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/journey_segment#assignment_expiration_days JourneySegment#assignment_expiration_days} */ readonly assignmentExpirationDays?: number; /** * The hexadecimal color value of the segment. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/journey_segment#color JourneySegment#color} */ readonly color: string; /** * A description of the segment. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/journey_segment#description JourneySegment#description} */ readonly description?: string; /** * The display name of the segment. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/journey_segment#display_name JourneySegment#display_name} */ readonly displayName: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/journey_segment#id JourneySegment#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; /** * Whether or not the segment is active. Defaults to `true`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/journey_segment#is_active JourneySegment#is_active} */ readonly isActive?: boolean | cdktf.IResolvable; /** * Whether or not the segment should be displayed to agent/supervisor users. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/journey_segment#should_display_to_agent JourneySegment#should_display_to_agent} */ readonly shouldDisplayToAgent?: boolean | cdktf.IResolvable; /** * context block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/journey_segment#context JourneySegment#context} */ readonly context?: JourneySegmentContext; /** * journey block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/journey_segment#journey JourneySegment#journey} */ readonly journey?: JourneySegmentJourney; } export interface JourneySegmentContextPatternsCriteria { /** * The entity to match the pattern against.Valid values: visit. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/journey_segment#entity_type JourneySegment#entity_type} */ readonly entityType: string; /** * The criteria key. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/journey_segment#key JourneySegment#key} */ readonly key: string; /** * The comparison operator. Valid values: containsAll, containsAny, notContainsAll, notContainsAny, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual, startsWith, endsWith. Defaults to `equal`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/journey_segment#operator JourneySegment#operator} */ readonly operator?: string; /** * Should criteria be case insensitive. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/journey_segment#should_ignore_case JourneySegment#should_ignore_case} */ readonly shouldIgnoreCase: boolean | cdktf.IResolvable; /** * The criteria values. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/journey_segment#values JourneySegment#values} */ readonly values: string[]; } export declare function journeySegmentContextPatternsCriteriaToTerraform(struct?: JourneySegmentContextPatternsCriteria | cdktf.IResolvable): any; export declare function journeySegmentContextPatternsCriteriaToHclTerraform(struct?: JourneySegmentContextPatternsCriteria | cdktf.IResolvable): any; export declare class JourneySegmentContextPatternsCriteriaOutputReference 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(): JourneySegmentContextPatternsCriteria | cdktf.IResolvable | undefined; set internalValue(value: JourneySegmentContextPatternsCriteria | cdktf.IResolvable | undefined); private _entityType?; get entityType(): string; set entityType(value: string); get entityTypeInput(): string; private _key?; get key(): string; set key(value: string); get keyInput(): string; private _operator?; get operator(): string; set operator(value: string); resetOperator(): void; get operatorInput(): string; private _shouldIgnoreCase?; get shouldIgnoreCase(): boolean | cdktf.IResolvable; set shouldIgnoreCase(value: boolean | cdktf.IResolvable); get shouldIgnoreCaseInput(): any; private _values?; get values(): string[]; set values(value: string[]); get valuesInput(): string[]; } export declare class JourneySegmentContextPatternsCriteriaList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: JourneySegmentContextPatternsCriteria[] | 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): JourneySegmentContextPatternsCriteriaOutputReference; } export interface JourneySegmentContextPatterns { /** * criteria block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/journey_segment#criteria JourneySegment#criteria} */ readonly criteria: JourneySegmentContextPatternsCriteria[] | cdktf.IResolvable; } export declare function journeySegmentContextPatternsToTerraform(struct?: JourneySegmentContextPatterns | cdktf.IResolvable): any; export declare function journeySegmentContextPatternsToHclTerraform(struct?: JourneySegmentContextPatterns | cdktf.IResolvable): any; export declare class JourneySegmentContextPatternsOutputReference 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(): JourneySegmentContextPatterns | cdktf.IResolvable | undefined; set internalValue(value: JourneySegmentContextPatterns | cdktf.IResolvable | undefined); private _criteria; get criteria(): JourneySegmentContextPatternsCriteriaList; putCriteria(value: JourneySegmentContextPatternsCriteria[] | cdktf.IResolvable): void; get criteriaInput(): any; } export declare class JourneySegmentContextPatternsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: JourneySegmentContextPatterns[] | 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): JourneySegmentContextPatternsOutputReference; } export interface JourneySegmentContext { /** * patterns block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/journey_segment#patterns JourneySegment#patterns} */ readonly patterns: JourneySegmentContextPatterns[] | cdktf.IResolvable; } export declare function journeySegmentContextToTerraform(struct?: JourneySegmentContextOutputReference | JourneySegmentContext): any; export declare function journeySegmentContextToHclTerraform(struct?: JourneySegmentContextOutputReference | JourneySegmentContext): any; export declare class JourneySegmentContextOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): JourneySegmentContext | undefined; set internalValue(value: JourneySegmentContext | undefined); private _patterns; get patterns(): JourneySegmentContextPatternsList; putPatterns(value: JourneySegmentContextPatterns[] | cdktf.IResolvable): void; get patternsInput(): any; } export interface JourneySegmentJourneyPatternsCriteria { /** * The criteria key. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/journey_segment#key JourneySegment#key} */ readonly key: string; /** * The comparison operator.Valid values: containsAll, containsAny, notContainsAll, notContainsAny, equal, notEqual, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual, startsWith, endsWith. Defaults to `equal`. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/journey_segment#operator JourneySegment#operator} */ readonly operator?: string; /** * Should criteria be case insensitive. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/journey_segment#should_ignore_case JourneySegment#should_ignore_case} */ readonly shouldIgnoreCase: boolean | cdktf.IResolvable; /** * The criteria values. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/journey_segment#values JourneySegment#values} */ readonly values: string[]; } export declare function journeySegmentJourneyPatternsCriteriaToTerraform(struct?: JourneySegmentJourneyPatternsCriteria | cdktf.IResolvable): any; export declare function journeySegmentJourneyPatternsCriteriaToHclTerraform(struct?: JourneySegmentJourneyPatternsCriteria | cdktf.IResolvable): any; export declare class JourneySegmentJourneyPatternsCriteriaOutputReference 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(): JourneySegmentJourneyPatternsCriteria | cdktf.IResolvable | undefined; set internalValue(value: JourneySegmentJourneyPatternsCriteria | cdktf.IResolvable | undefined); private _key?; get key(): string; set key(value: string); get keyInput(): string; private _operator?; get operator(): string; set operator(value: string); resetOperator(): void; get operatorInput(): string; private _shouldIgnoreCase?; get shouldIgnoreCase(): boolean | cdktf.IResolvable; set shouldIgnoreCase(value: boolean | cdktf.IResolvable); get shouldIgnoreCaseInput(): any; private _values?; get values(): string[]; set values(value: string[]); get valuesInput(): string[]; } export declare class JourneySegmentJourneyPatternsCriteriaList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: JourneySegmentJourneyPatternsCriteria[] | 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): JourneySegmentJourneyPatternsCriteriaOutputReference; } export interface JourneySegmentJourneyPatterns { /** * The number of times the pattern must match. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/journey_segment#count JourneySegment#count} */ readonly count: number; /** * The name of the event for which this pattern can be matched on. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/journey_segment#event_name JourneySegment#event_name} */ readonly eventName?: string; /** * The session type for which this pattern can be matched on. Valid values: web, app. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/journey_segment#session_type JourneySegment#session_type} */ readonly sessionType: string; /** * The stream type for which this pattern can be matched on. Valid values: Web, App. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/journey_segment#stream_type JourneySegment#stream_type} */ readonly streamType: string; /** * criteria block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/journey_segment#criteria JourneySegment#criteria} */ readonly criteria: JourneySegmentJourneyPatternsCriteria[] | cdktf.IResolvable; } export declare function journeySegmentJourneyPatternsToTerraform(struct?: JourneySegmentJourneyPatterns | cdktf.IResolvable): any; export declare function journeySegmentJourneyPatternsToHclTerraform(struct?: JourneySegmentJourneyPatterns | cdktf.IResolvable): any; export declare class JourneySegmentJourneyPatternsOutputReference 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(): JourneySegmentJourneyPatterns | cdktf.IResolvable | undefined; set internalValue(value: JourneySegmentJourneyPatterns | cdktf.IResolvable | undefined); private _count?; get count(): number; set count(value: number); get countInput(): number; private _eventName?; get eventName(): string; set eventName(value: string); resetEventName(): void; get eventNameInput(): string; private _sessionType?; get sessionType(): string; set sessionType(value: string); get sessionTypeInput(): string; private _streamType?; get streamType(): string; set streamType(value: string); get streamTypeInput(): string; private _criteria; get criteria(): JourneySegmentJourneyPatternsCriteriaList; putCriteria(value: JourneySegmentJourneyPatternsCriteria[] | cdktf.IResolvable): void; get criteriaInput(): any; } export declare class JourneySegmentJourneyPatternsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: JourneySegmentJourneyPatterns[] | 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): JourneySegmentJourneyPatternsOutputReference; } export interface JourneySegmentJourney { /** * patterns block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/journey_segment#patterns JourneySegment#patterns} */ readonly patterns: JourneySegmentJourneyPatterns[] | cdktf.IResolvable; } export declare function journeySegmentJourneyToTerraform(struct?: JourneySegmentJourneyOutputReference | JourneySegmentJourney): any; export declare function journeySegmentJourneyToHclTerraform(struct?: JourneySegmentJourneyOutputReference | JourneySegmentJourney): any; export declare class JourneySegmentJourneyOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): JourneySegmentJourney | undefined; set internalValue(value: JourneySegmentJourney | undefined); private _patterns; get patterns(): JourneySegmentJourneyPatternsList; putPatterns(value: JourneySegmentJourneyPatterns[] | cdktf.IResolvable): void; get patternsInput(): any; } /** * Represents a {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/journey_segment genesyscloud_journey_segment} */ export declare class JourneySegment extends cdktf.TerraformResource { static readonly tfResourceType = "genesyscloud_journey_segment"; /** * Generates CDKTF code for importing a JourneySegment 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 JourneySegment to import * @param importFromId The id of the existing JourneySegment that should be imported. Refer to the {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/journey_segment#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the JourneySegment 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/journey_segment genesyscloud_journey_segment} 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 JourneySegmentConfig */ constructor(scope: Construct, id: string, config: JourneySegmentConfig); private _assignmentExpirationDays?; get assignmentExpirationDays(): number; set assignmentExpirationDays(value: number); resetAssignmentExpirationDays(): void; get assignmentExpirationDaysInput(): number; private _color?; get color(): string; set color(value: string); get colorInput(): string; private _description?; get description(): string; set description(value: string); resetDescription(): void; get descriptionInput(): string; private _displayName?; get displayName(): string; set displayName(value: string); get displayNameInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _isActive?; get isActive(): boolean | cdktf.IResolvable; set isActive(value: boolean | cdktf.IResolvable); resetIsActive(): void; get isActiveInput(): any; private _shouldDisplayToAgent?; get shouldDisplayToAgent(): boolean | cdktf.IResolvable; set shouldDisplayToAgent(value: boolean | cdktf.IResolvable); resetShouldDisplayToAgent(): void; get shouldDisplayToAgentInput(): any; private _context; get context(): JourneySegmentContextOutputReference; putContext(value: JourneySegmentContext): void; resetContext(): void; get contextInput(): JourneySegmentContext; private _journey; get journey(): JourneySegmentJourneyOutputReference; putJourney(value: JourneySegmentJourney): void; resetJourney(): void; get journeyInput(): JourneySegmentJourney; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }