import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface OutboundDnclistConfig extends cdktf.TerraformMetaArguments { /** * A dnc.com campaignId. Optional if the dncSourceType is dnc.com. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/outbound_dnclist#campaign_id OutboundDnclist#campaign_id} */ readonly campaignId?: string; /** * The contact method. Required if dncSourceType is rds. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/outbound_dnclist#contact_method OutboundDnclist#contact_method} */ readonly contactMethod?: string; /** * The column to evaluate exclusion against. Required if the dncSourceType is rds_custom. Since custom_exclusion_column cannot be updated, changing this value after deployment * will cause the dnc list to be destroyed and recreated with a new GUID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/outbound_dnclist#custom_exclusion_column OutboundDnclist#custom_exclusion_column} */ readonly customExclusionColumn?: string; /** * The division this DNC List belongs to. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/outbound_dnclist#division_id OutboundDnclist#division_id} */ readonly divisionId?: string; /** * The list of dnc.com codes to be treated as DNC. Required if the dncSourceType is dnc.com. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/outbound_dnclist#dnc_codes OutboundDnclist#dnc_codes} */ readonly dncCodes?: string[]; /** * The type of the DNC List. Changing the dnc_source_attribute will cause the outbound_dnclist object to be dropped and recreated with new ID. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/outbound_dnclist#dnc_source_type OutboundDnclist#dnc_source_type} */ readonly dncSourceType: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/outbound_dnclist#id OutboundDnclist#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; /** * A gryphon license number. Required if the dncSourceType is gryphon. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/outbound_dnclist#license_id OutboundDnclist#license_id} */ readonly licenseId?: string; /** * A dnc.com loginId. Required if the dncSourceType is dnc.com. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/outbound_dnclist#login_id OutboundDnclist#login_id} */ readonly loginId?: string; /** * The name of the DncList. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/outbound_dnclist#name OutboundDnclist#name} */ readonly name: string; /** * entries block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/outbound_dnclist#entries OutboundDnclist#entries} */ readonly entries?: OutboundDnclistEntries[] | cdktf.IResolvable; } export interface OutboundDnclistEntries { /** * Expiration date for DNC phone numbers in yyyy-MM-ddTHH:mmZ format. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/outbound_dnclist#expiration_date OutboundDnclist#expiration_date} */ readonly expirationDate?: string; /** * Phone numbers to add to a DNC list. Only possible if the dncSourceType is rds. Phone numbers must be in an E.164 number format. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/outbound_dnclist#phone_numbers OutboundDnclist#phone_numbers} */ readonly phoneNumbers?: string[]; } export declare function outboundDnclistEntriesToTerraform(struct?: OutboundDnclistEntries | cdktf.IResolvable): any; export declare function outboundDnclistEntriesToHclTerraform(struct?: OutboundDnclistEntries | cdktf.IResolvable): any; export declare class OutboundDnclistEntriesOutputReference 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(): OutboundDnclistEntries | cdktf.IResolvable | undefined; set internalValue(value: OutboundDnclistEntries | cdktf.IResolvable | undefined); private _expirationDate?; get expirationDate(): string; set expirationDate(value: string); resetExpirationDate(): void; get expirationDateInput(): string; private _phoneNumbers?; get phoneNumbers(): string[]; set phoneNumbers(value: string[]); resetPhoneNumbers(): void; get phoneNumbersInput(): string[]; } export declare class OutboundDnclistEntriesList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: OutboundDnclistEntries[] | 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): OutboundDnclistEntriesOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/outbound_dnclist genesyscloud_outbound_dnclist} */ export declare class OutboundDnclist extends cdktf.TerraformResource { static readonly tfResourceType = "genesyscloud_outbound_dnclist"; /** * Generates CDKTF code for importing a OutboundDnclist 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 OutboundDnclist to import * @param importFromId The id of the existing OutboundDnclist that should be imported. Refer to the {@link https://registry.terraform.io/providers/mypurecloud/genesyscloud/1.73.0/docs/resources/outbound_dnclist#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the OutboundDnclist 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/outbound_dnclist genesyscloud_outbound_dnclist} 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 OutboundDnclistConfig */ constructor(scope: Construct, id: string, config: OutboundDnclistConfig); private _campaignId?; get campaignId(): string; set campaignId(value: string); resetCampaignId(): void; get campaignIdInput(): string; private _contactMethod?; get contactMethod(): string; set contactMethod(value: string); resetContactMethod(): void; get contactMethodInput(): string; private _customExclusionColumn?; get customExclusionColumn(): string; set customExclusionColumn(value: string); resetCustomExclusionColumn(): void; get customExclusionColumnInput(): string; private _divisionId?; get divisionId(): string; set divisionId(value: string); resetDivisionId(): void; get divisionIdInput(): string; private _dncCodes?; get dncCodes(): string[]; set dncCodes(value: string[]); resetDncCodes(): void; get dncCodesInput(): string[]; private _dncSourceType?; get dncSourceType(): string; set dncSourceType(value: string); get dncSourceTypeInput(): string; private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string; private _licenseId?; get licenseId(): string; set licenseId(value: string); resetLicenseId(): void; get licenseIdInput(): string; private _loginId?; get loginId(): string; set loginId(value: string); resetLoginId(): void; get loginIdInput(): string; private _name?; get name(): string; set name(value: string); get nameInput(): string; private _entries; get entries(): OutboundDnclistEntriesList; putEntries(value: OutboundDnclistEntries[] | cdktf.IResolvable): void; resetEntries(): void; get entriesInput(): any; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }