Documentation
¶
Index ¶
- func ElementsAsString(list types.List) []string
- func ListValueFromStrings(strings []string) types.List
- func New(version string) func() provider.Provider
- func NewVAPIAssistantResource() resource.Resource
- func NewVAPIFileResource() resource.Resource
- func NewVAPIPhoneNumberResource() resource.Resource
- func NewVAPISIPTrunkPhoneNumberResource() resource.Resource
- func NewVAPISIPTrunkResource() resource.Resource
- func NewVAPIToolFunctionResource() resource.Resource
- func NewVAPIToolQueryFunctionResource() resource.Resource
- type AnalysisPlanResourceModel
- type ArtifactPlanResourceModel
- type Destination
- type KnowledgeBase
- type KnowledgeBaseResourceModel
- type MessagePlanResourceModel
- type ModelResourceModel
- type OutboundAuthenticationPlanModel
- type Parameters
- type Property
- type PropertyResourceModel
- type SIPGatewayModel
- type SIPRegisterPlanModel
- type ScaffoldingProviderModel
- type StartSpeakingPlanResourceModel
- type StopSpeakingPlanResourceModel
- type StructuredDataSchemaResourceModel
- type TranscriberResourceModel
- type TranscriptionEndpointingPlanResourceModel
- type VAPIAssistantResource
- func (r *VAPIAssistantResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *VAPIAssistantResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *VAPIAssistantResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *VAPIAssistantResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *VAPIAssistantResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *VAPIAssistantResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *VAPIAssistantResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type VAPIAssistantResourceModel
- type VAPIFileResource
- func (r *VAPIFileResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *VAPIFileResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *VAPIFileResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *VAPIFileResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *VAPIFileResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *VAPIFileResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *VAPIFileResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *VAPIFileResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type VAPIFileResourceModel
- type VAPIProvider
- func (p *VAPIProvider) Configure(ctx context.Context, req provider.ConfigureRequest, ...)
- func (p *VAPIProvider) DataSources(ctx context.Context) []func() datasource.DataSource
- func (p *VAPIProvider) Functions(ctx context.Context) []func() function.Function
- func (p *VAPIProvider) Metadata(ctx context.Context, req provider.MetadataRequest, ...)
- func (p *VAPIProvider) Resources(ctx context.Context) []func() resource.Resource
- func (p *VAPIProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
- type VAPISIPTrunkPhoneNumberResource
- func (r *VAPISIPTrunkPhoneNumberResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *VAPISIPTrunkPhoneNumberResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *VAPISIPTrunkPhoneNumberResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *VAPISIPTrunkPhoneNumberResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *VAPISIPTrunkPhoneNumberResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *VAPISIPTrunkPhoneNumberResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *VAPISIPTrunkPhoneNumberResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *VAPISIPTrunkPhoneNumberResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type VAPISIPTrunkPhoneNumberResourceModel
- type VAPISIPTrunkResource
- func (r *VAPISIPTrunkResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *VAPISIPTrunkResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *VAPISIPTrunkResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *VAPISIPTrunkResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *VAPISIPTrunkResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *VAPISIPTrunkResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *VAPISIPTrunkResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *VAPISIPTrunkResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type VAPISIPTrunkResourceModel
- type VAPIToolFunctionResource
- func (r *VAPIToolFunctionResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *VAPIToolFunctionResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *VAPIToolFunctionResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *VAPIToolFunctionResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *VAPIToolFunctionResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *VAPIToolFunctionResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *VAPIToolFunctionResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *VAPIToolFunctionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type VAPIToolFunctionResourceModel
- type VAPIToolQueryFunctionResource
- func (r *VAPIToolQueryFunctionResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *VAPIToolQueryFunctionResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *VAPIToolQueryFunctionResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *VAPIToolQueryFunctionResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *VAPIToolQueryFunctionResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *VAPIToolQueryFunctionResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *VAPIToolQueryFunctionResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *VAPIToolQueryFunctionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type VAPIToolQueryFunctionResourceModel
- type VAPITwilioPhoneNumberResource
- func (r *VAPITwilioPhoneNumberResource) Configure(ctx context.Context, req resource.ConfigureRequest, ...)
- func (r *VAPITwilioPhoneNumberResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
- func (r *VAPITwilioPhoneNumberResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
- func (r *VAPITwilioPhoneNumberResource) ImportState(ctx context.Context, req resource.ImportStateRequest, ...)
- func (r *VAPITwilioPhoneNumberResource) Metadata(ctx context.Context, req resource.MetadataRequest, ...)
- func (r *VAPITwilioPhoneNumberResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
- func (r *VAPITwilioPhoneNumberResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
- func (r *VAPITwilioPhoneNumberResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
- type VAPITwilioPhoneNumberResourceModel
- type VoiceResourceModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ElementsAsString ¶ added in v0.5.0
ElementsAsString converts a Terraform types.List into a slice of strings.
func ListValueFromStrings ¶ added in v0.5.0
ListValueFromStrings converts a slice of strings to a Terraform types.List.
func NewVAPIAssistantResource ¶ added in v0.5.0
func NewVAPIFileResource ¶ added in v0.2.0
func NewVAPIPhoneNumberResource ¶ added in v0.3.0
NewVAPIPhoneNumberResource constructor.
func NewVAPISIPTrunkPhoneNumberResource ¶ added in v0.11.0
NewVAPISIPTrunkPhoneNumberResource returns a new SIP trunk phone number resource.
func NewVAPISIPTrunkResource ¶ added in v0.10.0
func NewVAPIToolFunctionResource ¶ added in v0.4.0
func NewVAPIToolQueryFunctionResource ¶ added in v0.7.0
Types ¶
type AnalysisPlanResourceModel ¶ added in v0.5.0
type AnalysisPlanResourceModel struct {
SummaryPrompt types.String `tfsdk:"summary_prompt"`
StructuredDataPrompt types.String `tfsdk:"structured_data_prompt"`
StructuredDataSchema *StructuredDataSchemaResourceModel `tfsdk:"structured_data_schema"`
SuccessEvaluationPrompt types.String `tfsdk:"success_evaluation_prompt"`
SuccessEvaluationRubric types.String `tfsdk:"success_evaluation_rubric"`
}
type ArtifactPlanResourceModel ¶ added in v0.8.2
type Destination ¶ added in v0.8.0
type KnowledgeBase ¶ added in v0.7.0
type KnowledgeBaseResourceModel ¶ added in v0.5.1
type MessagePlanResourceModel ¶ added in v0.5.0
type ModelResourceModel ¶ added in v0.5.0
type ModelResourceModel struct {
Model types.String `tfsdk:"model"`
SystemPrompt types.String `tfsdk:"system_prompt"`
Provider types.String `tfsdk:"provider"`
Temperature types.Float64 `tfsdk:"temperature"`
MaxTokens types.Int64 `tfsdk:"max_tokens"`
ToolIDs types.List `tfsdk:"tool_ids"`
KnowledgeBase *KnowledgeBaseResourceModel `tfsdk:"knowledge_base"`
}
type OutboundAuthenticationPlanModel ¶ added in v0.10.0
type OutboundAuthenticationPlanModel struct {
AuthUsername types.String `tfsdk:"auth_username"`
AuthPassword types.String `tfsdk:"auth_password"`
SIPRegisterPlan *SIPRegisterPlanModel `tfsdk:"sip_register_plan"`
}
type Parameters ¶ added in v0.4.0
type PropertyResourceModel ¶ added in v0.5.0
type SIPGatewayModel ¶ added in v0.10.0
type SIPRegisterPlanModel ¶ added in v0.10.0
type ScaffoldingProviderModel ¶ added in v0.2.0
ScaffoldingProviderModel describes the provider data model.
type StartSpeakingPlanResourceModel ¶ added in v0.5.0
type StartSpeakingPlanResourceModel struct {
WaitSeconds types.Float64 `tfsdk:"wait_seconds"`
SmartEndpointingEnabled types.Bool `tfsdk:"smart_endpointing_enabled"`
TranscriptionEndpointingPlan *TranscriptionEndpointingPlanResourceModel `tfsdk:"transcription_endpointing_plan"`
}
type StopSpeakingPlanResourceModel ¶ added in v0.5.0
type StructuredDataSchemaResourceModel ¶ added in v0.5.0
type StructuredDataSchemaResourceModel struct {
Type types.String `tfsdk:"type"`
Properties map[string]PropertyResourceModel `tfsdk:"properties"`
}
type TranscriberResourceModel ¶ added in v0.5.0
type TranscriptionEndpointingPlanResourceModel ¶ added in v0.5.0
type VAPIAssistantResource ¶ added in v0.5.0
type VAPIAssistantResource struct {
// contains filtered or unexported fields
}
func (*VAPIAssistantResource) Configure ¶ added in v0.5.0
func (r *VAPIAssistantResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
Configure assigns the configured API client to the resource.
func (*VAPIAssistantResource) Create ¶ added in v0.5.0
func (r *VAPIAssistantResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
Create implements the create operation for the assistant resource.
func (*VAPIAssistantResource) Delete ¶ added in v0.5.0
func (r *VAPIAssistantResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
Delete implements the delete operation for the assistant resource.
func (*VAPIAssistantResource) Metadata ¶ added in v0.5.0
func (r *VAPIAssistantResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
Metadata sets the resource type name for Terraform.
func (*VAPIAssistantResource) Read ¶ added in v0.5.0
func (r *VAPIAssistantResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
Read implements the read operation for the assistant resource.
func (*VAPIAssistantResource) Schema ¶ added in v0.5.0
func (r *VAPIAssistantResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
Schema defines the resource schema for the assistant resource.
func (*VAPIAssistantResource) Update ¶ added in v0.5.0
func (r *VAPIAssistantResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Update implements the update operation for the assistant resource.
type VAPIAssistantResourceModel ¶ added in v0.5.0
type VAPIAssistantResourceModel struct {
ID types.String `tfsdk:"id"`
OrgID types.String `tfsdk:"org_id"`
Name types.String `tfsdk:"name"`
FirstMessageMode types.String `tfsdk:"first_message_mode"`
HipaaEnabled types.Bool `tfsdk:"hipaa_enabled"`
ClientMessages types.List `tfsdk:"client_messages"`
ServerMessages types.List `tfsdk:"server_messages"`
SilenceTimeoutSeconds types.Float64 `tfsdk:"silence_timeout_seconds"`
MaxDurationSeconds types.Int64 `tfsdk:"max_duration_seconds"`
BackgroundSound types.String `tfsdk:"background_sound"`
BackgroundDenoising types.Bool `tfsdk:"background_denoising"`
ModelOutputEnabled types.Bool `tfsdk:"model_output_enabled"`
FirstMessage types.String `tfsdk:"first_message"`
VoicemailMessage types.String `tfsdk:"voicemail_message"`
EndCallMessage types.String `tfsdk:"end_call_message"`
ServerURL types.String `tfsdk:"server_url"`
ServerURLSecret types.String `tfsdk:"server_url_secret"`
EndCallPhrases types.List `tfsdk:"end_call_phrases"`
Transcriber *TranscriberResourceModel `tfsdk:"transcriber"`
Model *ModelResourceModel `tfsdk:"model"`
Voice *VoiceResourceModel `tfsdk:"voice"`
StartSpeakingPlan *StartSpeakingPlanResourceModel `tfsdk:"start_speaking_plan"`
StopSpeakingPlan *StopSpeakingPlanResourceModel `tfsdk:"stop_speaking_plan"`
AnalysisPlan *AnalysisPlanResourceModel `tfsdk:"analysis_plan"`
MessagePlan *MessagePlanResourceModel `tfsdk:"message_plan"`
ArtifactPlan *ArtifactPlanResourceModel `tfsdk:"artifact_plan"`
EndCallFunctionEnabled types.Bool `tfsdk:"end_call_function_enabled"`
RecordingEnabled types.Bool `tfsdk:"recording_enabled"`
ForwardingPhoneNumber types.String `tfsdk:"forwarding_phone_number"`
PhoneNumberID types.String `tfsdk:"phone_number_id"`
Language types.String `tfsdk:"language"`
InterruptionsEnabled types.Bool `tfsdk:"interruptions_enabled"`
DialKeypadFunctionEnabled types.Bool `tfsdk:"dial_keypad_function_enabled"`
FillersEnabled types.Bool `tfsdk:"fillers_enabled"`
ResponseDelaySeconds types.Float64 `tfsdk:"response_delay_seconds"`
NumWordsToInterruptAssistant types.Int64 `tfsdk:"num_words_to_interrupt_assistant"`
LiveTranscriptsEnabled types.Bool `tfsdk:"live_transcripts_enabled"`
Keywords types.List `tfsdk:"keywords"`
ParentID types.String `tfsdk:"parent_id"`
}
type VAPIFileResource ¶ added in v0.2.0
type VAPIFileResource struct {
// contains filtered or unexported fields
}
func (*VAPIFileResource) Configure ¶ added in v0.2.0
func (r *VAPIFileResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*VAPIFileResource) Create ¶ added in v0.2.0
func (r *VAPIFileResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*VAPIFileResource) Delete ¶ added in v0.2.0
func (r *VAPIFileResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*VAPIFileResource) ImportState ¶ added in v0.2.0
func (r *VAPIFileResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*VAPIFileResource) Metadata ¶ added in v0.2.0
func (r *VAPIFileResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*VAPIFileResource) Read ¶ added in v0.2.0
func (r *VAPIFileResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*VAPIFileResource) Schema ¶ added in v0.2.0
func (r *VAPIFileResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*VAPIFileResource) Update ¶ added in v0.2.0
func (r *VAPIFileResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type VAPIFileResourceModel ¶ added in v0.2.0
type VAPIFileResourceModel struct {
Content types.String `tfsdk:"content"`
Filename types.String `tfsdk:"filename"`
Name types.String `tfsdk:"name"`
OriginalName types.String `tfsdk:"original_name"`
Bytes types.Int64 `tfsdk:"bytes"`
Mimetype types.String `tfsdk:"mimetype"`
Path types.String `tfsdk:"path"`
URL types.String `tfsdk:"url"`
CreatedAt types.String `tfsdk:"created_at"`
UpdatedAt types.String `tfsdk:"updated_at"`
Id types.String `tfsdk:"id"`
OrgID types.String `tfsdk:"org_id"`
Status types.String `tfsdk:"status"`
Bucket types.String `tfsdk:"bucket"`
Purpose types.String `tfsdk:"purpose"`
}
type VAPIProvider ¶ added in v0.2.0
type VAPIProvider struct {
// contains filtered or unexported fields
}
VAPIProvider defines the provider implementation.
func (*VAPIProvider) Configure ¶ added in v0.2.0
func (p *VAPIProvider) Configure(ctx context.Context, req provider.ConfigureRequest, resp *provider.ConfigureResponse)
func (*VAPIProvider) DataSources ¶ added in v0.2.0
func (p *VAPIProvider) DataSources(ctx context.Context) []func() datasource.DataSource
func (*VAPIProvider) Functions ¶ added in v0.2.0
func (p *VAPIProvider) Functions(ctx context.Context) []func() function.Function
func (*VAPIProvider) Metadata ¶ added in v0.2.0
func (p *VAPIProvider) Metadata(ctx context.Context, req provider.MetadataRequest, resp *provider.MetadataResponse)
func (*VAPIProvider) Resources ¶ added in v0.2.0
func (p *VAPIProvider) Resources(ctx context.Context) []func() resource.Resource
func (*VAPIProvider) Schema ¶ added in v0.2.0
func (p *VAPIProvider) Schema(ctx context.Context, req provider.SchemaRequest, resp *provider.SchemaResponse)
type VAPISIPTrunkPhoneNumberResource ¶ added in v0.11.0
type VAPISIPTrunkPhoneNumberResource struct {
// contains filtered or unexported fields
}
VAPISIPTrunkPhoneNumberResource manages a SIP Trunk phone number resource.
func (*VAPISIPTrunkPhoneNumberResource) Configure ¶ added in v0.11.0
func (r *VAPISIPTrunkPhoneNumberResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
Configure binds the API client to the resource.
func (*VAPISIPTrunkPhoneNumberResource) Create ¶ added in v0.11.0
func (r *VAPISIPTrunkPhoneNumberResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
Create creates the SIP trunk phone number.
func (*VAPISIPTrunkPhoneNumberResource) Delete ¶ added in v0.11.0
func (r *VAPISIPTrunkPhoneNumberResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
Delete removes the SIP trunk phone number.
func (*VAPISIPTrunkPhoneNumberResource) ImportState ¶ added in v0.11.0
func (r *VAPISIPTrunkPhoneNumberResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
ImportState enables `terraform import`.
func (*VAPISIPTrunkPhoneNumberResource) Metadata ¶ added in v0.11.0
func (r *VAPISIPTrunkPhoneNumberResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
Metadata sets the resource type name.
func (*VAPISIPTrunkPhoneNumberResource) Read ¶ added in v0.11.0
func (r *VAPISIPTrunkPhoneNumberResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
Read fetches the current state from the API.
func (*VAPISIPTrunkPhoneNumberResource) Schema ¶ added in v0.11.0
func (r *VAPISIPTrunkPhoneNumberResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
Schema defines the resource schema.
func (*VAPISIPTrunkPhoneNumberResource) Update ¶ added in v0.11.0
func (r *VAPISIPTrunkPhoneNumberResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
Update deletes and recreates the SIP trunk phone number.
type VAPISIPTrunkPhoneNumberResourceModel ¶ added in v0.11.0
type VAPISIPTrunkPhoneNumberResourceModel struct {
ID types.String `tfsdk:"id"`
OrgID types.String `tfsdk:"org_id"`
Number types.String `tfsdk:"number"`
Name types.String `tfsdk:"name"`
PhoneProvider types.String `tfsdk:"phone_provider"`
CreatedAt types.String `tfsdk:"created_at"`
UpdatedAt types.String `tfsdk:"updated_at"`
CredentialID types.String `tfsdk:"credential_id"`
NumberE164CheckEnabled types.Bool `tfsdk:"number_e164_check_enabled"`
}
VAPISIPTrunkPhoneNumberResourceModel maps the schema data.
type VAPISIPTrunkResource ¶ added in v0.10.0
type VAPISIPTrunkResource struct {
// contains filtered or unexported fields
}
func (*VAPISIPTrunkResource) Configure ¶ added in v0.10.0
func (r *VAPISIPTrunkResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*VAPISIPTrunkResource) Create ¶ added in v0.10.0
func (r *VAPISIPTrunkResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*VAPISIPTrunkResource) Delete ¶ added in v0.10.0
func (r *VAPISIPTrunkResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*VAPISIPTrunkResource) ImportState ¶ added in v0.10.0
func (r *VAPISIPTrunkResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*VAPISIPTrunkResource) Metadata ¶ added in v0.10.0
func (r *VAPISIPTrunkResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*VAPISIPTrunkResource) Read ¶ added in v0.10.0
func (r *VAPISIPTrunkResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*VAPISIPTrunkResource) Schema ¶ added in v0.10.0
func (r *VAPISIPTrunkResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*VAPISIPTrunkResource) Update ¶ added in v0.10.0
func (r *VAPISIPTrunkResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type VAPISIPTrunkResourceModel ¶ added in v0.10.0
type VAPISIPTrunkResourceModel struct {
ID types.String `tfsdk:"id"`
SIPProvider types.String `tfsdk:"sip_provider"`
Name types.String `tfsdk:"name"`
Gateways []SIPGatewayModel `tfsdk:"gateways"`
OutboundAuthenticationPlan *OutboundAuthenticationPlanModel `tfsdk:"outbound_authentication_plan"`
OutboundLeadingPlusEnabled types.Bool `tfsdk:"outbound_leading_plus_enabled"`
TechPrefix types.String `tfsdk:"tech_prefix"`
SIPDiversionHeader types.String `tfsdk:"sip_diversion_header"`
}
type VAPIToolFunctionResource ¶ added in v0.4.0
type VAPIToolFunctionResource struct {
// contains filtered or unexported fields
}
func (*VAPIToolFunctionResource) Configure ¶ added in v0.4.0
func (r *VAPIToolFunctionResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*VAPIToolFunctionResource) Create ¶ added in v0.4.0
func (r *VAPIToolFunctionResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*VAPIToolFunctionResource) Delete ¶ added in v0.4.0
func (r *VAPIToolFunctionResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*VAPIToolFunctionResource) ImportState ¶ added in v0.4.0
func (r *VAPIToolFunctionResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*VAPIToolFunctionResource) Metadata ¶ added in v0.4.0
func (r *VAPIToolFunctionResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*VAPIToolFunctionResource) Read ¶ added in v0.4.0
func (r *VAPIToolFunctionResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*VAPIToolFunctionResource) Schema ¶ added in v0.4.0
func (r *VAPIToolFunctionResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*VAPIToolFunctionResource) Update ¶ added in v0.4.0
func (r *VAPIToolFunctionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type VAPIToolFunctionResourceModel ¶ added in v0.4.0
type VAPIToolFunctionResourceModel struct {
ID types.String `tfsdk:"id"`
OrgID types.String `tfsdk:"org_id"`
Name types.String `tfsdk:"name"`
Description types.String `tfsdk:"description"`
Async types.Bool `tfsdk:"async"`
Type types.String `tfsdk:"type"`
ServerURL types.String `tfsdk:"server_url"`
ServerSecret types.String `tfsdk:"server_secret"`
Parameters Parameters `tfsdk:"parameters"`
Destinations []Destination `tfsdk:"destinations"`
CreatedAt types.String `tfsdk:"created_at"`
UpdatedAt types.String `tfsdk:"updated_at"`
}
type VAPIToolQueryFunctionResource ¶ added in v0.7.0
type VAPIToolQueryFunctionResource struct {
// contains filtered or unexported fields
}
func (*VAPIToolQueryFunctionResource) Configure ¶ added in v0.7.0
func (r *VAPIToolQueryFunctionResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*VAPIToolQueryFunctionResource) Create ¶ added in v0.7.0
func (r *VAPIToolQueryFunctionResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*VAPIToolQueryFunctionResource) Delete ¶ added in v0.7.0
func (r *VAPIToolQueryFunctionResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*VAPIToolQueryFunctionResource) ImportState ¶ added in v0.7.0
func (r *VAPIToolQueryFunctionResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*VAPIToolQueryFunctionResource) Metadata ¶ added in v0.7.0
func (r *VAPIToolQueryFunctionResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*VAPIToolQueryFunctionResource) Read ¶ added in v0.7.0
func (r *VAPIToolQueryFunctionResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*VAPIToolQueryFunctionResource) Schema ¶ added in v0.7.0
func (r *VAPIToolQueryFunctionResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*VAPIToolQueryFunctionResource) Update ¶ added in v0.7.0
func (r *VAPIToolQueryFunctionResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type VAPIToolQueryFunctionResourceModel ¶ added in v0.7.0
type VAPITwilioPhoneNumberResource ¶ added in v0.3.0
type VAPITwilioPhoneNumberResource struct {
// contains filtered or unexported fields
}
VAPITwilioPhoneNumberResource struct.
func (*VAPITwilioPhoneNumberResource) Configure ¶ added in v0.3.0
func (r *VAPITwilioPhoneNumberResource) Configure(ctx context.Context, req resource.ConfigureRequest, resp *resource.ConfigureResponse)
func (*VAPITwilioPhoneNumberResource) Create ¶ added in v0.3.0
func (r *VAPITwilioPhoneNumberResource) Create(ctx context.Context, req resource.CreateRequest, resp *resource.CreateResponse)
func (*VAPITwilioPhoneNumberResource) Delete ¶ added in v0.3.0
func (r *VAPITwilioPhoneNumberResource) Delete(ctx context.Context, req resource.DeleteRequest, resp *resource.DeleteResponse)
func (*VAPITwilioPhoneNumberResource) ImportState ¶ added in v0.3.0
func (r *VAPITwilioPhoneNumberResource) ImportState(ctx context.Context, req resource.ImportStateRequest, resp *resource.ImportStateResponse)
func (*VAPITwilioPhoneNumberResource) Metadata ¶ added in v0.3.0
func (r *VAPITwilioPhoneNumberResource) Metadata(ctx context.Context, req resource.MetadataRequest, resp *resource.MetadataResponse)
func (*VAPITwilioPhoneNumberResource) Read ¶ added in v0.3.0
func (r *VAPITwilioPhoneNumberResource) Read(ctx context.Context, req resource.ReadRequest, resp *resource.ReadResponse)
func (*VAPITwilioPhoneNumberResource) Schema ¶ added in v0.3.0
func (r *VAPITwilioPhoneNumberResource) Schema(ctx context.Context, req resource.SchemaRequest, resp *resource.SchemaResponse)
func (*VAPITwilioPhoneNumberResource) Update ¶ added in v0.3.0
func (r *VAPITwilioPhoneNumberResource) Update(ctx context.Context, req resource.UpdateRequest, resp *resource.UpdateResponse)
type VAPITwilioPhoneNumberResourceModel ¶ added in v0.3.0
type VAPITwilioPhoneNumberResourceModel struct {
ID types.String `tfsdk:"id"`
OrgID types.String `tfsdk:"org_id"`
Number types.String `tfsdk:"number"`
CreatedAt types.String `tfsdk:"created_at"`
UpdatedAt types.String `tfsdk:"updated_at"`
TwilioAccountSid types.String `tfsdk:"twilio_account_sid"`
TwilioAuthToken types.String `tfsdk:"twilio_auth_token"`
Name types.String `tfsdk:"name"`
PhoneProvider types.String `tfsdk:"phone_provider"`
FallbackType types.String `tfsdk:"fallback_destination_type"`
FallbackE164CheckEnabled types.String `tfsdk:"fallback_destination_number_e164_check_enabled"`
FallbackNumber types.String `tfsdk:"fallback_destination_number"`
FallbackExtension types.String `tfsdk:"fallback_destination_extension"`
FallbackMessage types.String `tfsdk:"fallback_destination_message"`
FallbackDescription types.String `tfsdk:"fallback_destination_description"`
AssistantID types.String `tfsdk:"assistant_id"`
}
VAPITwilioPhoneNumberResourceModel struct.