Documentation ¶
Index ¶
- type ApiService
- func (c *ApiService) CreateChannel(params *CreateChannelParams) (*FlexV1Channel, error)
- func (c *ApiService) CreateFlexFlow(params *CreateFlexFlowParams) (*FlexV1FlexFlow, error)
- func (c *ApiService) CreateInsightsAssessments(params *CreateInsightsAssessmentsParams) (*FlexV1InsightsAssessments, error)
- func (c *ApiService) CreateInsightsAssessmentsComment(params *CreateInsightsAssessmentsCommentParams) (*FlexV1InsightsAssessmentsComment, error)
- func (c *ApiService) CreateInsightsQuestionnaires(params *CreateInsightsQuestionnairesParams) (*FlexV1InsightsQuestionnaires, error)
- func (c *ApiService) CreateInsightsQuestionnairesCategory(params *CreateInsightsQuestionnairesCategoryParams) (*FlexV1InsightsQuestionnairesCategory, error)
- func (c *ApiService) CreateInsightsQuestionnairesQuestion(params *CreateInsightsQuestionnairesQuestionParams) (*FlexV1InsightsQuestionnairesQuestion, error)
- func (c *ApiService) CreateInsightsSession(params *CreateInsightsSessionParams) (*FlexV1InsightsSession, error)
- func (c *ApiService) CreateInteraction(params *CreateInteractionParams) (*FlexV1Interaction, error)
- func (c *ApiService) CreateInteractionChannelInvite(InteractionSid string, ChannelSid string, ...) (*FlexV1InteractionChannelInvite, error)
- func (c *ApiService) CreateInteractionChannelParticipant(InteractionSid string, ChannelSid string, ...) (*FlexV1InteractionChannelParticipant, error)
- func (c *ApiService) CreateWebChannel(params *CreateWebChannelParams) (*FlexV1WebChannel, error)
- func (c *ApiService) DeleteChannel(Sid string) error
- func (c *ApiService) DeleteFlexFlow(Sid string) error
- func (c *ApiService) DeleteInsightsQuestionnaires(QuestionnaireSid string, params *DeleteInsightsQuestionnairesParams) error
- func (c *ApiService) DeleteInsightsQuestionnairesCategory(CategorySid string, params *DeleteInsightsQuestionnairesCategoryParams) error
- func (c *ApiService) DeleteInsightsQuestionnairesQuestion(QuestionSid string, params *DeleteInsightsQuestionnairesQuestionParams) error
- func (c *ApiService) DeleteWebChannel(Sid string) error
- func (c *ApiService) FetchChannel(Sid string) (*FlexV1Channel, error)
- func (c *ApiService) FetchConfiguration(params *FetchConfigurationParams) (*FlexV1Configuration, error)
- func (c *ApiService) FetchFlexFlow(Sid string) (*FlexV1FlexFlow, error)
- func (c *ApiService) FetchInsightsQuestionnaires(QuestionnaireSid string, params *FetchInsightsQuestionnairesParams) (*FlexV1InsightsQuestionnaires, error)
- func (c *ApiService) FetchInsightsSettingsAnswersets(params *FetchInsightsSettingsAnswersetsParams) (*FlexV1InsightsSettingsAnswersets, error)
- func (c *ApiService) FetchInsightsSettingsComment(params *FetchInsightsSettingsCommentParams) (*FlexV1InsightsSettingsComment, error)
- func (c *ApiService) FetchInsightsUserRoles(params *FetchInsightsUserRolesParams) (*FlexV1InsightsUserRoles, error)
- func (c *ApiService) FetchInteraction(Sid string) (*FlexV1Interaction, error)
- func (c *ApiService) FetchInteractionChannel(InteractionSid string, Sid string) (*FlexV1InteractionChannel, error)
- func (c *ApiService) FetchProvisioningStatus() (*FlexV1ProvisioningStatus, error)
- func (c *ApiService) FetchWebChannel(Sid string) (*FlexV1WebChannel, error)
- func (c *ApiService) ListChannel(params *ListChannelParams) ([]FlexV1Channel, error)
- func (c *ApiService) ListFlexFlow(params *ListFlexFlowParams) ([]FlexV1FlexFlow, error)
- func (c *ApiService) ListInsightsAssessments(params *ListInsightsAssessmentsParams) ([]FlexV1InsightsAssessments, error)
- func (c *ApiService) ListInsightsAssessmentsComment(params *ListInsightsAssessmentsCommentParams) ([]FlexV1InsightsAssessmentsComment, error)
- func (c *ApiService) ListInsightsConversations(params *ListInsightsConversationsParams) ([]FlexV1InsightsConversations, error)
- func (c *ApiService) ListInsightsQuestionnaires(params *ListInsightsQuestionnairesParams) ([]FlexV1InsightsQuestionnaires, error)
- func (c *ApiService) ListInsightsQuestionnairesCategory(params *ListInsightsQuestionnairesCategoryParams) ([]FlexV1InsightsQuestionnairesCategory, error)
- func (c *ApiService) ListInsightsQuestionnairesQuestion(params *ListInsightsQuestionnairesQuestionParams) ([]FlexV1InsightsQuestionnairesQuestion, error)
- func (c *ApiService) ListInsightsSegments(params *ListInsightsSegmentsParams) ([]FlexV1InsightsSegments, error)
- func (c *ApiService) ListInteractionChannel(InteractionSid string, params *ListInteractionChannelParams) ([]FlexV1InteractionChannel, error)
- func (c *ApiService) ListInteractionChannelInvite(InteractionSid string, ChannelSid string, ...) ([]FlexV1InteractionChannelInvite, error)
- func (c *ApiService) ListInteractionChannelParticipant(InteractionSid string, ChannelSid string, ...) ([]FlexV1InteractionChannelParticipant, error)
- func (c *ApiService) ListWebChannel(params *ListWebChannelParams) ([]FlexV1WebChannel, error)
- func (c *ApiService) PageChannel(params *ListChannelParams, pageToken, pageNumber string) (*ListChannelResponse, error)
- func (c *ApiService) PageFlexFlow(params *ListFlexFlowParams, pageToken, pageNumber string) (*ListFlexFlowResponse, error)
- func (c *ApiService) PageInsightsAssessments(params *ListInsightsAssessmentsParams, pageToken, pageNumber string) (*ListInsightsAssessmentsResponse, error)
- func (c *ApiService) PageInsightsAssessmentsComment(params *ListInsightsAssessmentsCommentParams, pageToken, pageNumber string) (*ListInsightsAssessmentsCommentResponse, error)
- func (c *ApiService) PageInsightsConversations(params *ListInsightsConversationsParams, pageToken, pageNumber string) (*ListInsightsConversationsResponse, error)
- func (c *ApiService) PageInsightsQuestionnaires(params *ListInsightsQuestionnairesParams, pageToken, pageNumber string) (*ListInsightsQuestionnairesResponse, error)
- func (c *ApiService) PageInsightsQuestionnairesCategory(params *ListInsightsQuestionnairesCategoryParams, pageToken, pageNumber string) (*ListInsightsQuestionnairesCategoryResponse, error)
- func (c *ApiService) PageInsightsQuestionnairesQuestion(params *ListInsightsQuestionnairesQuestionParams, pageToken, pageNumber string) (*ListInsightsQuestionnairesQuestionResponse, error)
- func (c *ApiService) PageInsightsSegments(params *ListInsightsSegmentsParams, pageToken, pageNumber string) (*ListInsightsSegmentsResponse, error)
- func (c *ApiService) PageInteractionChannel(InteractionSid string, params *ListInteractionChannelParams, ...) (*ListInteractionChannelResponse, error)
- func (c *ApiService) PageInteractionChannelInvite(InteractionSid string, ChannelSid string, ...) (*ListInteractionChannelInviteResponse, error)
- func (c *ApiService) PageInteractionChannelParticipant(InteractionSid string, ChannelSid string, ...) (*ListInteractionChannelParticipantResponse, error)
- func (c *ApiService) PageWebChannel(params *ListWebChannelParams, pageToken, pageNumber string) (*ListWebChannelResponse, error)
- func (c *ApiService) StreamChannel(params *ListChannelParams) (chan FlexV1Channel, chan error)
- func (c *ApiService) StreamFlexFlow(params *ListFlexFlowParams) (chan FlexV1FlexFlow, chan error)
- func (c *ApiService) StreamInsightsAssessments(params *ListInsightsAssessmentsParams) (chan FlexV1InsightsAssessments, chan error)
- func (c *ApiService) StreamInsightsAssessmentsComment(params *ListInsightsAssessmentsCommentParams) (chan FlexV1InsightsAssessmentsComment, chan error)
- func (c *ApiService) StreamInsightsConversations(params *ListInsightsConversationsParams) (chan FlexV1InsightsConversations, chan error)
- func (c *ApiService) StreamInsightsQuestionnaires(params *ListInsightsQuestionnairesParams) (chan FlexV1InsightsQuestionnaires, chan error)
- func (c *ApiService) StreamInsightsQuestionnairesCategory(params *ListInsightsQuestionnairesCategoryParams) (chan FlexV1InsightsQuestionnairesCategory, chan error)
- func (c *ApiService) StreamInsightsQuestionnairesQuestion(params *ListInsightsQuestionnairesQuestionParams) (chan FlexV1InsightsQuestionnairesQuestion, chan error)
- func (c *ApiService) StreamInsightsSegments(params *ListInsightsSegmentsParams) (chan FlexV1InsightsSegments, chan error)
- func (c *ApiService) StreamInteractionChannel(InteractionSid string, params *ListInteractionChannelParams) (chan FlexV1InteractionChannel, chan error)
- func (c *ApiService) StreamInteractionChannelInvite(InteractionSid string, ChannelSid string, ...) (chan FlexV1InteractionChannelInvite, chan error)
- func (c *ApiService) StreamInteractionChannelParticipant(InteractionSid string, ChannelSid string, ...) (chan FlexV1InteractionChannelParticipant, chan error)
- func (c *ApiService) StreamWebChannel(params *ListWebChannelParams) (chan FlexV1WebChannel, chan error)
- func (c *ApiService) UpdateFlexFlow(Sid string, params *UpdateFlexFlowParams) (*FlexV1FlexFlow, error)
- func (c *ApiService) UpdateInsightsAssessments(AssessmentSid string, params *UpdateInsightsAssessmentsParams) (*FlexV1InsightsAssessments, error)
- func (c *ApiService) UpdateInsightsQuestionnaires(QuestionnaireSid string, params *UpdateInsightsQuestionnairesParams) (*FlexV1InsightsQuestionnaires, error)
- func (c *ApiService) UpdateInsightsQuestionnairesCategory(CategorySid string, params *UpdateInsightsQuestionnairesCategoryParams) (*FlexV1InsightsQuestionnairesCategory, error)
- func (c *ApiService) UpdateInsightsQuestionnairesQuestion(QuestionSid string, params *UpdateInsightsQuestionnairesQuestionParams) (*FlexV1InsightsQuestionnairesQuestion, error)
- func (c *ApiService) UpdateInteractionChannel(InteractionSid string, Sid string, params *UpdateInteractionChannelParams) (*FlexV1InteractionChannel, error)
- func (c *ApiService) UpdateInteractionChannelParticipant(InteractionSid string, ChannelSid string, Sid string, ...) (*FlexV1InteractionChannelParticipant, error)
- func (c *ApiService) UpdateWebChannel(Sid string, params *UpdateWebChannelParams) (*FlexV1WebChannel, error)
- type CreateChannelParams
- func (params *CreateChannelParams) SetChatFriendlyName(ChatFriendlyName string) *CreateChannelParams
- func (params *CreateChannelParams) SetChatUniqueName(ChatUniqueName string) *CreateChannelParams
- func (params *CreateChannelParams) SetChatUserFriendlyName(ChatUserFriendlyName string) *CreateChannelParams
- func (params *CreateChannelParams) SetFlexFlowSid(FlexFlowSid string) *CreateChannelParams
- func (params *CreateChannelParams) SetIdentity(Identity string) *CreateChannelParams
- func (params *CreateChannelParams) SetLongLived(LongLived bool) *CreateChannelParams
- func (params *CreateChannelParams) SetPreEngagementData(PreEngagementData string) *CreateChannelParams
- func (params *CreateChannelParams) SetTarget(Target string) *CreateChannelParams
- func (params *CreateChannelParams) SetTaskAttributes(TaskAttributes string) *CreateChannelParams
- func (params *CreateChannelParams) SetTaskSid(TaskSid string) *CreateChannelParams
- type CreateFlexFlowParams
- func (params *CreateFlexFlowParams) SetChannelType(ChannelType string) *CreateFlexFlowParams
- func (params *CreateFlexFlowParams) SetChatServiceSid(ChatServiceSid string) *CreateFlexFlowParams
- func (params *CreateFlexFlowParams) SetContactIdentity(ContactIdentity string) *CreateFlexFlowParams
- func (params *CreateFlexFlowParams) SetEnabled(Enabled bool) *CreateFlexFlowParams
- func (params *CreateFlexFlowParams) SetFriendlyName(FriendlyName string) *CreateFlexFlowParams
- func (params *CreateFlexFlowParams) SetIntegrationChannel(IntegrationChannel string) *CreateFlexFlowParams
- func (params *CreateFlexFlowParams) SetIntegrationCreationOnMessage(IntegrationCreationOnMessage bool) *CreateFlexFlowParams
- func (params *CreateFlexFlowParams) SetIntegrationFlowSid(IntegrationFlowSid string) *CreateFlexFlowParams
- func (params *CreateFlexFlowParams) SetIntegrationPriority(IntegrationPriority int) *CreateFlexFlowParams
- func (params *CreateFlexFlowParams) SetIntegrationRetryCount(IntegrationRetryCount int) *CreateFlexFlowParams
- func (params *CreateFlexFlowParams) SetIntegrationTimeout(IntegrationTimeout int) *CreateFlexFlowParams
- func (params *CreateFlexFlowParams) SetIntegrationType(IntegrationType string) *CreateFlexFlowParams
- func (params *CreateFlexFlowParams) SetIntegrationUrl(IntegrationUrl string) *CreateFlexFlowParams
- func (params *CreateFlexFlowParams) SetIntegrationWorkflowSid(IntegrationWorkflowSid string) *CreateFlexFlowParams
- func (params *CreateFlexFlowParams) SetIntegrationWorkspaceSid(IntegrationWorkspaceSid string) *CreateFlexFlowParams
- func (params *CreateFlexFlowParams) SetJanitorEnabled(JanitorEnabled bool) *CreateFlexFlowParams
- func (params *CreateFlexFlowParams) SetLongLived(LongLived bool) *CreateFlexFlowParams
- type CreateInsightsAssessmentsCommentParams
- func (params *CreateInsightsAssessmentsCommentParams) SetAgentId(AgentId string) *CreateInsightsAssessmentsCommentParams
- func (params *CreateInsightsAssessmentsCommentParams) SetAuthorization(Authorization string) *CreateInsightsAssessmentsCommentParams
- func (params *CreateInsightsAssessmentsCommentParams) SetCategoryId(CategoryId string) *CreateInsightsAssessmentsCommentParams
- func (params *CreateInsightsAssessmentsCommentParams) SetCategoryName(CategoryName string) *CreateInsightsAssessmentsCommentParams
- func (params *CreateInsightsAssessmentsCommentParams) SetComment(Comment string) *CreateInsightsAssessmentsCommentParams
- func (params *CreateInsightsAssessmentsCommentParams) SetOffset(Offset float32) *CreateInsightsAssessmentsCommentParams
- func (params *CreateInsightsAssessmentsCommentParams) SetSegmentId(SegmentId string) *CreateInsightsAssessmentsCommentParams
- type CreateInsightsAssessmentsParams
- func (params *CreateInsightsAssessmentsParams) SetAgentId(AgentId string) *CreateInsightsAssessmentsParams
- func (params *CreateInsightsAssessmentsParams) SetAnswerId(AnswerId string) *CreateInsightsAssessmentsParams
- func (params *CreateInsightsAssessmentsParams) SetAnswerText(AnswerText string) *CreateInsightsAssessmentsParams
- func (params *CreateInsightsAssessmentsParams) SetAuthorization(Authorization string) *CreateInsightsAssessmentsParams
- func (params *CreateInsightsAssessmentsParams) SetCategoryName(CategoryName string) *CreateInsightsAssessmentsParams
- func (params *CreateInsightsAssessmentsParams) SetCategorySid(CategorySid string) *CreateInsightsAssessmentsParams
- func (params *CreateInsightsAssessmentsParams) SetMetricId(MetricId string) *CreateInsightsAssessmentsParams
- func (params *CreateInsightsAssessmentsParams) SetMetricName(MetricName string) *CreateInsightsAssessmentsParams
- func (params *CreateInsightsAssessmentsParams) SetOffset(Offset float32) *CreateInsightsAssessmentsParams
- func (params *CreateInsightsAssessmentsParams) SetQuestionnaireSid(QuestionnaireSid string) *CreateInsightsAssessmentsParams
- func (params *CreateInsightsAssessmentsParams) SetSegmentId(SegmentId string) *CreateInsightsAssessmentsParams
- type CreateInsightsQuestionnairesCategoryParams
- type CreateInsightsQuestionnairesParams
- func (params *CreateInsightsQuestionnairesParams) SetActive(Active bool) *CreateInsightsQuestionnairesParams
- func (params *CreateInsightsQuestionnairesParams) SetAuthorization(Authorization string) *CreateInsightsQuestionnairesParams
- func (params *CreateInsightsQuestionnairesParams) SetDescription(Description string) *CreateInsightsQuestionnairesParams
- func (params *CreateInsightsQuestionnairesParams) SetName(Name string) *CreateInsightsQuestionnairesParams
- func (params *CreateInsightsQuestionnairesParams) SetQuestionSids(QuestionSids []string) *CreateInsightsQuestionnairesParams
- type CreateInsightsQuestionnairesQuestionParams
- func (params *CreateInsightsQuestionnairesQuestionParams) SetAllowNa(AllowNa bool) *CreateInsightsQuestionnairesQuestionParams
- func (params *CreateInsightsQuestionnairesQuestionParams) SetAnswerSetId(AnswerSetId string) *CreateInsightsQuestionnairesQuestionParams
- func (params *CreateInsightsQuestionnairesQuestionParams) SetAuthorization(Authorization string) *CreateInsightsQuestionnairesQuestionParams
- func (params *CreateInsightsQuestionnairesQuestionParams) SetCategorySid(CategorySid string) *CreateInsightsQuestionnairesQuestionParams
- func (params *CreateInsightsQuestionnairesQuestionParams) SetDescription(Description string) *CreateInsightsQuestionnairesQuestionParams
- func (params *CreateInsightsQuestionnairesQuestionParams) SetQuestion(Question string) *CreateInsightsQuestionnairesQuestionParams
- type CreateInsightsSessionParams
- type CreateInteractionChannelInviteParams
- type CreateInteractionChannelParticipantParams
- type CreateInteractionParams
- func (params *CreateInteractionParams) SetChannel(Channel interface{}) *CreateInteractionParams
- func (params *CreateInteractionParams) SetInteractionContextSid(InteractionContextSid string) *CreateInteractionParams
- func (params *CreateInteractionParams) SetRouting(Routing interface{}) *CreateInteractionParams
- type CreateWebChannelParams
- func (params *CreateWebChannelParams) SetChatFriendlyName(ChatFriendlyName string) *CreateWebChannelParams
- func (params *CreateWebChannelParams) SetChatUniqueName(ChatUniqueName string) *CreateWebChannelParams
- func (params *CreateWebChannelParams) SetCustomerFriendlyName(CustomerFriendlyName string) *CreateWebChannelParams
- func (params *CreateWebChannelParams) SetFlexFlowSid(FlexFlowSid string) *CreateWebChannelParams
- func (params *CreateWebChannelParams) SetIdentity(Identity string) *CreateWebChannelParams
- func (params *CreateWebChannelParams) SetPreEngagementData(PreEngagementData string) *CreateWebChannelParams
- type DeleteInsightsQuestionnairesCategoryParams
- type DeleteInsightsQuestionnairesParams
- type DeleteInsightsQuestionnairesQuestionParams
- type FetchConfigurationParams
- type FetchInsightsQuestionnairesParams
- type FetchInsightsSettingsAnswersetsParams
- type FetchInsightsSettingsCommentParams
- type FetchInsightsUserRolesParams
- type FlexV1Channel
- type FlexV1Configuration
- type FlexV1FlexFlow
- type FlexV1InsightsAssessments
- type FlexV1InsightsAssessmentsComment
- type FlexV1InsightsConversations
- type FlexV1InsightsQuestionnaires
- type FlexV1InsightsQuestionnairesCategory
- type FlexV1InsightsQuestionnairesQuestion
- type FlexV1InsightsSegments
- type FlexV1InsightsSession
- type FlexV1InsightsSettingsAnswersets
- type FlexV1InsightsSettingsComment
- type FlexV1InsightsUserRoles
- type FlexV1Interaction
- type FlexV1InteractionChannel
- type FlexV1InteractionChannelInvite
- type FlexV1InteractionChannelParticipant
- type FlexV1ProvisioningStatus
- type FlexV1WebChannel
- type ListChannelParams
- type ListChannelResponse
- type ListChannelResponseMeta
- type ListFlexFlowParams
- type ListFlexFlowResponse
- type ListInsightsAssessmentsCommentParams
- func (params *ListInsightsAssessmentsCommentParams) SetAgentId(AgentId string) *ListInsightsAssessmentsCommentParams
- func (params *ListInsightsAssessmentsCommentParams) SetAuthorization(Authorization string) *ListInsightsAssessmentsCommentParams
- func (params *ListInsightsAssessmentsCommentParams) SetLimit(Limit int) *ListInsightsAssessmentsCommentParams
- func (params *ListInsightsAssessmentsCommentParams) SetPageSize(PageSize int) *ListInsightsAssessmentsCommentParams
- func (params *ListInsightsAssessmentsCommentParams) SetSegmentId(SegmentId string) *ListInsightsAssessmentsCommentParams
- type ListInsightsAssessmentsCommentResponse
- type ListInsightsAssessmentsParams
- func (params *ListInsightsAssessmentsParams) SetAuthorization(Authorization string) *ListInsightsAssessmentsParams
- func (params *ListInsightsAssessmentsParams) SetLimit(Limit int) *ListInsightsAssessmentsParams
- func (params *ListInsightsAssessmentsParams) SetPageSize(PageSize int) *ListInsightsAssessmentsParams
- func (params *ListInsightsAssessmentsParams) SetSegmentId(SegmentId string) *ListInsightsAssessmentsParams
- type ListInsightsAssessmentsResponse
- type ListInsightsConversationsParams
- func (params *ListInsightsConversationsParams) SetAuthorization(Authorization string) *ListInsightsConversationsParams
- func (params *ListInsightsConversationsParams) SetLimit(Limit int) *ListInsightsConversationsParams
- func (params *ListInsightsConversationsParams) SetPageSize(PageSize int) *ListInsightsConversationsParams
- func (params *ListInsightsConversationsParams) SetSegmentId(SegmentId string) *ListInsightsConversationsParams
- type ListInsightsConversationsResponse
- type ListInsightsQuestionnairesCategoryParams
- func (params *ListInsightsQuestionnairesCategoryParams) SetAuthorization(Authorization string) *ListInsightsQuestionnairesCategoryParams
- func (params *ListInsightsQuestionnairesCategoryParams) SetLimit(Limit int) *ListInsightsQuestionnairesCategoryParams
- func (params *ListInsightsQuestionnairesCategoryParams) SetPageSize(PageSize int) *ListInsightsQuestionnairesCategoryParams
- type ListInsightsQuestionnairesCategoryResponse
- type ListInsightsQuestionnairesParams
- func (params *ListInsightsQuestionnairesParams) SetAuthorization(Authorization string) *ListInsightsQuestionnairesParams
- func (params *ListInsightsQuestionnairesParams) SetIncludeInactive(IncludeInactive bool) *ListInsightsQuestionnairesParams
- func (params *ListInsightsQuestionnairesParams) SetLimit(Limit int) *ListInsightsQuestionnairesParams
- func (params *ListInsightsQuestionnairesParams) SetPageSize(PageSize int) *ListInsightsQuestionnairesParams
- type ListInsightsQuestionnairesQuestionParams
- func (params *ListInsightsQuestionnairesQuestionParams) SetAuthorization(Authorization string) *ListInsightsQuestionnairesQuestionParams
- func (params *ListInsightsQuestionnairesQuestionParams) SetCategorySid(CategorySid []string) *ListInsightsQuestionnairesQuestionParams
- func (params *ListInsightsQuestionnairesQuestionParams) SetLimit(Limit int) *ListInsightsQuestionnairesQuestionParams
- func (params *ListInsightsQuestionnairesQuestionParams) SetPageSize(PageSize int) *ListInsightsQuestionnairesQuestionParams
- type ListInsightsQuestionnairesQuestionResponse
- type ListInsightsQuestionnairesResponse
- type ListInsightsSegmentsParams
- func (params *ListInsightsSegmentsParams) SetAuthorization(Authorization string) *ListInsightsSegmentsParams
- func (params *ListInsightsSegmentsParams) SetLimit(Limit int) *ListInsightsSegmentsParams
- func (params *ListInsightsSegmentsParams) SetPageSize(PageSize int) *ListInsightsSegmentsParams
- func (params *ListInsightsSegmentsParams) SetReservationId(ReservationId []string) *ListInsightsSegmentsParams
- func (params *ListInsightsSegmentsParams) SetSegmentId(SegmentId string) *ListInsightsSegmentsParams
- type ListInsightsSegmentsResponse
- type ListInteractionChannelInviteParams
- type ListInteractionChannelInviteResponse
- type ListInteractionChannelParams
- type ListInteractionChannelParticipantParams
- type ListInteractionChannelParticipantResponse
- type ListInteractionChannelResponse
- type ListWebChannelParams
- type ListWebChannelResponse
- type UpdateFlexFlowParams
- func (params *UpdateFlexFlowParams) SetChannelType(ChannelType string) *UpdateFlexFlowParams
- func (params *UpdateFlexFlowParams) SetChatServiceSid(ChatServiceSid string) *UpdateFlexFlowParams
- func (params *UpdateFlexFlowParams) SetContactIdentity(ContactIdentity string) *UpdateFlexFlowParams
- func (params *UpdateFlexFlowParams) SetEnabled(Enabled bool) *UpdateFlexFlowParams
- func (params *UpdateFlexFlowParams) SetFriendlyName(FriendlyName string) *UpdateFlexFlowParams
- func (params *UpdateFlexFlowParams) SetIntegrationChannel(IntegrationChannel string) *UpdateFlexFlowParams
- func (params *UpdateFlexFlowParams) SetIntegrationCreationOnMessage(IntegrationCreationOnMessage bool) *UpdateFlexFlowParams
- func (params *UpdateFlexFlowParams) SetIntegrationFlowSid(IntegrationFlowSid string) *UpdateFlexFlowParams
- func (params *UpdateFlexFlowParams) SetIntegrationPriority(IntegrationPriority int) *UpdateFlexFlowParams
- func (params *UpdateFlexFlowParams) SetIntegrationRetryCount(IntegrationRetryCount int) *UpdateFlexFlowParams
- func (params *UpdateFlexFlowParams) SetIntegrationTimeout(IntegrationTimeout int) *UpdateFlexFlowParams
- func (params *UpdateFlexFlowParams) SetIntegrationType(IntegrationType string) *UpdateFlexFlowParams
- func (params *UpdateFlexFlowParams) SetIntegrationUrl(IntegrationUrl string) *UpdateFlexFlowParams
- func (params *UpdateFlexFlowParams) SetIntegrationWorkflowSid(IntegrationWorkflowSid string) *UpdateFlexFlowParams
- func (params *UpdateFlexFlowParams) SetIntegrationWorkspaceSid(IntegrationWorkspaceSid string) *UpdateFlexFlowParams
- func (params *UpdateFlexFlowParams) SetJanitorEnabled(JanitorEnabled bool) *UpdateFlexFlowParams
- func (params *UpdateFlexFlowParams) SetLongLived(LongLived bool) *UpdateFlexFlowParams
- type UpdateInsightsAssessmentsParams
- func (params *UpdateInsightsAssessmentsParams) SetAnswerId(AnswerId string) *UpdateInsightsAssessmentsParams
- func (params *UpdateInsightsAssessmentsParams) SetAnswerText(AnswerText string) *UpdateInsightsAssessmentsParams
- func (params *UpdateInsightsAssessmentsParams) SetAuthorization(Authorization string) *UpdateInsightsAssessmentsParams
- func (params *UpdateInsightsAssessmentsParams) SetOffset(Offset float32) *UpdateInsightsAssessmentsParams
- type UpdateInsightsQuestionnairesCategoryParams
- type UpdateInsightsQuestionnairesParams
- func (params *UpdateInsightsQuestionnairesParams) SetActive(Active bool) *UpdateInsightsQuestionnairesParams
- func (params *UpdateInsightsQuestionnairesParams) SetAuthorization(Authorization string) *UpdateInsightsQuestionnairesParams
- func (params *UpdateInsightsQuestionnairesParams) SetDescription(Description string) *UpdateInsightsQuestionnairesParams
- func (params *UpdateInsightsQuestionnairesParams) SetName(Name string) *UpdateInsightsQuestionnairesParams
- func (params *UpdateInsightsQuestionnairesParams) SetQuestionSids(QuestionSids []string) *UpdateInsightsQuestionnairesParams
- type UpdateInsightsQuestionnairesQuestionParams
- func (params *UpdateInsightsQuestionnairesQuestionParams) SetAllowNa(AllowNa bool) *UpdateInsightsQuestionnairesQuestionParams
- func (params *UpdateInsightsQuestionnairesQuestionParams) SetAnswerSetId(AnswerSetId string) *UpdateInsightsQuestionnairesQuestionParams
- func (params *UpdateInsightsQuestionnairesQuestionParams) SetAuthorization(Authorization string) *UpdateInsightsQuestionnairesQuestionParams
- func (params *UpdateInsightsQuestionnairesQuestionParams) SetCategorySid(CategorySid string) *UpdateInsightsQuestionnairesQuestionParams
- func (params *UpdateInsightsQuestionnairesQuestionParams) SetDescription(Description string) *UpdateInsightsQuestionnairesQuestionParams
- func (params *UpdateInsightsQuestionnairesQuestionParams) SetQuestion(Question string) *UpdateInsightsQuestionnairesQuestionParams
- type UpdateInteractionChannelParams
- type UpdateInteractionChannelParticipantParams
- type UpdateWebChannelParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiService ¶
type ApiService struct {
// contains filtered or unexported fields
}
func NewApiService ¶
func NewApiService(requestHandler *twilio.RequestHandler) *ApiService
func NewApiServiceWithClient ¶
func NewApiServiceWithClient(client twilio.BaseClient) *ApiService
func (*ApiService) CreateChannel ¶
func (c *ApiService) CreateChannel(params *CreateChannelParams) (*FlexV1Channel, error)
func (*ApiService) CreateFlexFlow ¶
func (c *ApiService) CreateFlexFlow(params *CreateFlexFlowParams) (*FlexV1FlexFlow, error)
func (*ApiService) CreateInsightsAssessments ¶
func (c *ApiService) CreateInsightsAssessments(params *CreateInsightsAssessmentsParams) (*FlexV1InsightsAssessments, error)
Add assessments against conversation to dynamo db. Used in assessments screen by user. Users can select the questionnaire and pick up answers for each and every question.
func (*ApiService) CreateInsightsAssessmentsComment ¶
func (c *ApiService) CreateInsightsAssessmentsComment(params *CreateInsightsAssessmentsCommentParams) (*FlexV1InsightsAssessmentsComment, error)
To create a comment assessment for a conversation
func (*ApiService) CreateInsightsQuestionnaires ¶
func (c *ApiService) CreateInsightsQuestionnaires(params *CreateInsightsQuestionnairesParams) (*FlexV1InsightsQuestionnaires, error)
To create a Questionnaire
func (*ApiService) CreateInsightsQuestionnairesCategory ¶
func (c *ApiService) CreateInsightsQuestionnairesCategory(params *CreateInsightsQuestionnairesCategoryParams) (*FlexV1InsightsQuestionnairesCategory, error)
To create a category for Questions
func (*ApiService) CreateInsightsQuestionnairesQuestion ¶
func (c *ApiService) CreateInsightsQuestionnairesQuestion(params *CreateInsightsQuestionnairesQuestionParams) (*FlexV1InsightsQuestionnairesQuestion, error)
To create a question for a Category
func (*ApiService) CreateInsightsSession ¶
func (c *ApiService) CreateInsightsSession(params *CreateInsightsSessionParams) (*FlexV1InsightsSession, error)
To obtain session details for fetching reports and dashboards
func (*ApiService) CreateInteraction ¶
func (c *ApiService) CreateInteraction(params *CreateInteractionParams) (*FlexV1Interaction, error)
Create a new Interaction.
func (*ApiService) CreateInteractionChannelInvite ¶
func (c *ApiService) CreateInteractionChannelInvite(InteractionSid string, ChannelSid string, params *CreateInteractionChannelInviteParams) (*FlexV1InteractionChannelInvite, error)
Invite an Agent or a TaskQueue to a Channel.
func (*ApiService) CreateInteractionChannelParticipant ¶
func (c *ApiService) CreateInteractionChannelParticipant(InteractionSid string, ChannelSid string, params *CreateInteractionChannelParticipantParams) (*FlexV1InteractionChannelParticipant, error)
Add a Participant to a Channel.
func (*ApiService) CreateWebChannel ¶
func (c *ApiService) CreateWebChannel(params *CreateWebChannelParams) (*FlexV1WebChannel, error)
func (*ApiService) DeleteChannel ¶
func (c *ApiService) DeleteChannel(Sid string) error
func (*ApiService) DeleteFlexFlow ¶
func (c *ApiService) DeleteFlexFlow(Sid string) error
func (*ApiService) DeleteInsightsQuestionnaires ¶
func (c *ApiService) DeleteInsightsQuestionnaires(QuestionnaireSid string, params *DeleteInsightsQuestionnairesParams) error
To delete the questionnaire
func (*ApiService) DeleteInsightsQuestionnairesCategory ¶
func (c *ApiService) DeleteInsightsQuestionnairesCategory(CategorySid string, params *DeleteInsightsQuestionnairesCategoryParams) error
func (*ApiService) DeleteInsightsQuestionnairesQuestion ¶
func (c *ApiService) DeleteInsightsQuestionnairesQuestion(QuestionSid string, params *DeleteInsightsQuestionnairesQuestionParams) error
func (*ApiService) DeleteWebChannel ¶
func (c *ApiService) DeleteWebChannel(Sid string) error
func (*ApiService) FetchChannel ¶
func (c *ApiService) FetchChannel(Sid string) (*FlexV1Channel, error)
func (*ApiService) FetchConfiguration ¶
func (c *ApiService) FetchConfiguration(params *FetchConfigurationParams) (*FlexV1Configuration, error)
func (*ApiService) FetchFlexFlow ¶
func (c *ApiService) FetchFlexFlow(Sid string) (*FlexV1FlexFlow, error)
func (*ApiService) FetchInsightsQuestionnaires ¶
func (c *ApiService) FetchInsightsQuestionnaires(QuestionnaireSid string, params *FetchInsightsQuestionnairesParams) (*FlexV1InsightsQuestionnaires, error)
To get the Questionnaire Detail
func (*ApiService) FetchInsightsSettingsAnswersets ¶
func (c *ApiService) FetchInsightsSettingsAnswersets(params *FetchInsightsSettingsAnswersetsParams) (*FlexV1InsightsSettingsAnswersets, error)
To get the Answer Set Settings for an Account
func (*ApiService) FetchInsightsSettingsComment ¶
func (c *ApiService) FetchInsightsSettingsComment(params *FetchInsightsSettingsCommentParams) (*FlexV1InsightsSettingsComment, error)
To get the Comment Settings for an Account
func (*ApiService) FetchInsightsUserRoles ¶
func (c *ApiService) FetchInsightsUserRoles(params *FetchInsightsUserRolesParams) (*FlexV1InsightsUserRoles, error)
This is used by Flex UI and Quality Management to fetch the Flex Insights roles for the user
func (*ApiService) FetchInteraction ¶
func (c *ApiService) FetchInteraction(Sid string) (*FlexV1Interaction, error)
func (*ApiService) FetchInteractionChannel ¶
func (c *ApiService) FetchInteractionChannel(InteractionSid string, Sid string) (*FlexV1InteractionChannel, error)
Fetch a Channel for an Interaction.
func (*ApiService) FetchProvisioningStatus ¶
func (c *ApiService) FetchProvisioningStatus() (*FlexV1ProvisioningStatus, error)
func (*ApiService) FetchWebChannel ¶
func (c *ApiService) FetchWebChannel(Sid string) (*FlexV1WebChannel, error)
func (*ApiService) ListChannel ¶
func (c *ApiService) ListChannel(params *ListChannelParams) ([]FlexV1Channel, error)
Lists Channel records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListFlexFlow ¶
func (c *ApiService) ListFlexFlow(params *ListFlexFlowParams) ([]FlexV1FlexFlow, error)
Lists FlexFlow records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListInsightsAssessments ¶
func (c *ApiService) ListInsightsAssessments(params *ListInsightsAssessmentsParams) ([]FlexV1InsightsAssessments, error)
Lists InsightsAssessments records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListInsightsAssessmentsComment ¶
func (c *ApiService) ListInsightsAssessmentsComment(params *ListInsightsAssessmentsCommentParams) ([]FlexV1InsightsAssessmentsComment, error)
Lists InsightsAssessmentsComment records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListInsightsConversations ¶
func (c *ApiService) ListInsightsConversations(params *ListInsightsConversationsParams) ([]FlexV1InsightsConversations, error)
Lists InsightsConversations records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListInsightsQuestionnaires ¶
func (c *ApiService) ListInsightsQuestionnaires(params *ListInsightsQuestionnairesParams) ([]FlexV1InsightsQuestionnaires, error)
Lists InsightsQuestionnaires records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListInsightsQuestionnairesCategory ¶
func (c *ApiService) ListInsightsQuestionnairesCategory(params *ListInsightsQuestionnairesCategoryParams) ([]FlexV1InsightsQuestionnairesCategory, error)
Lists InsightsQuestionnairesCategory records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListInsightsQuestionnairesQuestion ¶
func (c *ApiService) ListInsightsQuestionnairesQuestion(params *ListInsightsQuestionnairesQuestionParams) ([]FlexV1InsightsQuestionnairesQuestion, error)
Lists InsightsQuestionnairesQuestion records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListInsightsSegments ¶
func (c *ApiService) ListInsightsSegments(params *ListInsightsSegmentsParams) ([]FlexV1InsightsSegments, error)
Lists InsightsSegments records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListInteractionChannel ¶
func (c *ApiService) ListInteractionChannel(InteractionSid string, params *ListInteractionChannelParams) ([]FlexV1InteractionChannel, error)
Lists InteractionChannel records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListInteractionChannelInvite ¶
func (c *ApiService) ListInteractionChannelInvite(InteractionSid string, ChannelSid string, params *ListInteractionChannelInviteParams) ([]FlexV1InteractionChannelInvite, error)
Lists InteractionChannelInvite records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListInteractionChannelParticipant ¶
func (c *ApiService) ListInteractionChannelParticipant(InteractionSid string, ChannelSid string, params *ListInteractionChannelParticipantParams) ([]FlexV1InteractionChannelParticipant, error)
Lists InteractionChannelParticipant records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) ListWebChannel ¶
func (c *ApiService) ListWebChannel(params *ListWebChannelParams) ([]FlexV1WebChannel, error)
Lists WebChannel records from the API as a list. Unlike stream, this operation is eager and loads 'limit' records into memory before returning.
func (*ApiService) PageChannel ¶
func (c *ApiService) PageChannel(params *ListChannelParams, pageToken, pageNumber string) (*ListChannelResponse, error)
Retrieve a single page of Channel records from the API. Request is executed immediately.
func (*ApiService) PageFlexFlow ¶
func (c *ApiService) PageFlexFlow(params *ListFlexFlowParams, pageToken, pageNumber string) (*ListFlexFlowResponse, error)
Retrieve a single page of FlexFlow records from the API. Request is executed immediately.
func (*ApiService) PageInsightsAssessments ¶
func (c *ApiService) PageInsightsAssessments(params *ListInsightsAssessmentsParams, pageToken, pageNumber string) (*ListInsightsAssessmentsResponse, error)
Retrieve a single page of InsightsAssessments records from the API. Request is executed immediately.
func (*ApiService) PageInsightsAssessmentsComment ¶
func (c *ApiService) PageInsightsAssessmentsComment(params *ListInsightsAssessmentsCommentParams, pageToken, pageNumber string) (*ListInsightsAssessmentsCommentResponse, error)
Retrieve a single page of InsightsAssessmentsComment records from the API. Request is executed immediately.
func (*ApiService) PageInsightsConversations ¶
func (c *ApiService) PageInsightsConversations(params *ListInsightsConversationsParams, pageToken, pageNumber string) (*ListInsightsConversationsResponse, error)
Retrieve a single page of InsightsConversations records from the API. Request is executed immediately.
func (*ApiService) PageInsightsQuestionnaires ¶
func (c *ApiService) PageInsightsQuestionnaires(params *ListInsightsQuestionnairesParams, pageToken, pageNumber string) (*ListInsightsQuestionnairesResponse, error)
Retrieve a single page of InsightsQuestionnaires records from the API. Request is executed immediately.
func (*ApiService) PageInsightsQuestionnairesCategory ¶
func (c *ApiService) PageInsightsQuestionnairesCategory(params *ListInsightsQuestionnairesCategoryParams, pageToken, pageNumber string) (*ListInsightsQuestionnairesCategoryResponse, error)
Retrieve a single page of InsightsQuestionnairesCategory records from the API. Request is executed immediately.
func (*ApiService) PageInsightsQuestionnairesQuestion ¶
func (c *ApiService) PageInsightsQuestionnairesQuestion(params *ListInsightsQuestionnairesQuestionParams, pageToken, pageNumber string) (*ListInsightsQuestionnairesQuestionResponse, error)
Retrieve a single page of InsightsQuestionnairesQuestion records from the API. Request is executed immediately.
func (*ApiService) PageInsightsSegments ¶
func (c *ApiService) PageInsightsSegments(params *ListInsightsSegmentsParams, pageToken, pageNumber string) (*ListInsightsSegmentsResponse, error)
Retrieve a single page of InsightsSegments records from the API. Request is executed immediately.
func (*ApiService) PageInteractionChannel ¶
func (c *ApiService) PageInteractionChannel(InteractionSid string, params *ListInteractionChannelParams, pageToken, pageNumber string) (*ListInteractionChannelResponse, error)
Retrieve a single page of InteractionChannel records from the API. Request is executed immediately.
func (*ApiService) PageInteractionChannelInvite ¶
func (c *ApiService) PageInteractionChannelInvite(InteractionSid string, ChannelSid string, params *ListInteractionChannelInviteParams, pageToken, pageNumber string) (*ListInteractionChannelInviteResponse, error)
Retrieve a single page of InteractionChannelInvite records from the API. Request is executed immediately.
func (*ApiService) PageInteractionChannelParticipant ¶
func (c *ApiService) PageInteractionChannelParticipant(InteractionSid string, ChannelSid string, params *ListInteractionChannelParticipantParams, pageToken, pageNumber string) (*ListInteractionChannelParticipantResponse, error)
Retrieve a single page of InteractionChannelParticipant records from the API. Request is executed immediately.
func (*ApiService) PageWebChannel ¶
func (c *ApiService) PageWebChannel(params *ListWebChannelParams, pageToken, pageNumber string) (*ListWebChannelResponse, error)
Retrieve a single page of WebChannel records from the API. Request is executed immediately.
func (*ApiService) StreamChannel ¶
func (c *ApiService) StreamChannel(params *ListChannelParams) (chan FlexV1Channel, chan error)
Streams Channel records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamFlexFlow ¶
func (c *ApiService) StreamFlexFlow(params *ListFlexFlowParams) (chan FlexV1FlexFlow, chan error)
Streams FlexFlow records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamInsightsAssessments ¶
func (c *ApiService) StreamInsightsAssessments(params *ListInsightsAssessmentsParams) (chan FlexV1InsightsAssessments, chan error)
Streams InsightsAssessments records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamInsightsAssessmentsComment ¶
func (c *ApiService) StreamInsightsAssessmentsComment(params *ListInsightsAssessmentsCommentParams) (chan FlexV1InsightsAssessmentsComment, chan error)
Streams InsightsAssessmentsComment records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamInsightsConversations ¶
func (c *ApiService) StreamInsightsConversations(params *ListInsightsConversationsParams) (chan FlexV1InsightsConversations, chan error)
Streams InsightsConversations records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamInsightsQuestionnaires ¶
func (c *ApiService) StreamInsightsQuestionnaires(params *ListInsightsQuestionnairesParams) (chan FlexV1InsightsQuestionnaires, chan error)
Streams InsightsQuestionnaires records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamInsightsQuestionnairesCategory ¶
func (c *ApiService) StreamInsightsQuestionnairesCategory(params *ListInsightsQuestionnairesCategoryParams) (chan FlexV1InsightsQuestionnairesCategory, chan error)
Streams InsightsQuestionnairesCategory records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamInsightsQuestionnairesQuestion ¶
func (c *ApiService) StreamInsightsQuestionnairesQuestion(params *ListInsightsQuestionnairesQuestionParams) (chan FlexV1InsightsQuestionnairesQuestion, chan error)
Streams InsightsQuestionnairesQuestion records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamInsightsSegments ¶
func (c *ApiService) StreamInsightsSegments(params *ListInsightsSegmentsParams) (chan FlexV1InsightsSegments, chan error)
Streams InsightsSegments records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamInteractionChannel ¶
func (c *ApiService) StreamInteractionChannel(InteractionSid string, params *ListInteractionChannelParams) (chan FlexV1InteractionChannel, chan error)
Streams InteractionChannel records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamInteractionChannelInvite ¶
func (c *ApiService) StreamInteractionChannelInvite(InteractionSid string, ChannelSid string, params *ListInteractionChannelInviteParams) (chan FlexV1InteractionChannelInvite, chan error)
Streams InteractionChannelInvite records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamInteractionChannelParticipant ¶
func (c *ApiService) StreamInteractionChannelParticipant(InteractionSid string, ChannelSid string, params *ListInteractionChannelParticipantParams) (chan FlexV1InteractionChannelParticipant, chan error)
Streams InteractionChannelParticipant records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) StreamWebChannel ¶
func (c *ApiService) StreamWebChannel(params *ListWebChannelParams) (chan FlexV1WebChannel, chan error)
Streams WebChannel records from the API as a channel stream. This operation lazily loads records as efficiently as possible until the limit is reached.
func (*ApiService) UpdateFlexFlow ¶
func (c *ApiService) UpdateFlexFlow(Sid string, params *UpdateFlexFlowParams) (*FlexV1FlexFlow, error)
func (*ApiService) UpdateInsightsAssessments ¶
func (c *ApiService) UpdateInsightsAssessments(AssessmentSid string, params *UpdateInsightsAssessmentsParams) (*FlexV1InsightsAssessments, error)
Update a specific Assessment assessed earlier
func (*ApiService) UpdateInsightsQuestionnaires ¶
func (c *ApiService) UpdateInsightsQuestionnaires(QuestionnaireSid string, params *UpdateInsightsQuestionnairesParams) (*FlexV1InsightsQuestionnaires, error)
To update the questionnaire
func (*ApiService) UpdateInsightsQuestionnairesCategory ¶
func (c *ApiService) UpdateInsightsQuestionnairesCategory(CategorySid string, params *UpdateInsightsQuestionnairesCategoryParams) (*FlexV1InsightsQuestionnairesCategory, error)
To update the category for Questions
func (*ApiService) UpdateInsightsQuestionnairesQuestion ¶
func (c *ApiService) UpdateInsightsQuestionnairesQuestion(QuestionSid string, params *UpdateInsightsQuestionnairesQuestionParams) (*FlexV1InsightsQuestionnairesQuestion, error)
To update the question
func (*ApiService) UpdateInteractionChannel ¶
func (c *ApiService) UpdateInteractionChannel(InteractionSid string, Sid string, params *UpdateInteractionChannelParams) (*FlexV1InteractionChannel, error)
Update an existing Interaction Channel.
func (*ApiService) UpdateInteractionChannelParticipant ¶
func (c *ApiService) UpdateInteractionChannelParticipant(InteractionSid string, ChannelSid string, Sid string, params *UpdateInteractionChannelParticipantParams) (*FlexV1InteractionChannelParticipant, error)
Update an existing Channel Participant.
func (*ApiService) UpdateWebChannel ¶
func (c *ApiService) UpdateWebChannel(Sid string, params *UpdateWebChannelParams) (*FlexV1WebChannel, error)
type CreateChannelParams ¶
type CreateChannelParams struct { // The SID of the Flex Flow. FlexFlowSid *string `json:"FlexFlowSid,omitempty"` // The `identity` value that uniquely identifies the new resource's chat User. Identity *string `json:"Identity,omitempty"` // The chat participant's friendly name. ChatUserFriendlyName *string `json:"ChatUserFriendlyName,omitempty"` // The chat channel's friendly name. ChatFriendlyName *string `json:"ChatFriendlyName,omitempty"` // The Target Contact Identity, for example the phone number of an SMS. Target *string `json:"Target,omitempty"` // The chat channel's unique name. ChatUniqueName *string `json:"ChatUniqueName,omitempty"` // The pre-engagement data. PreEngagementData *string `json:"PreEngagementData,omitempty"` // The SID of the TaskRouter Task. Only valid when integration type is `task`. `null` for integration types `studio` & `external` TaskSid *string `json:"TaskSid,omitempty"` // The Task attributes to be added for the TaskRouter Task. TaskAttributes *string `json:"TaskAttributes,omitempty"` // Whether to create the channel as long-lived. LongLived *bool `json:"LongLived,omitempty"` }
Optional parameters for the method 'CreateChannel'
func (*CreateChannelParams) SetChatFriendlyName ¶
func (params *CreateChannelParams) SetChatFriendlyName(ChatFriendlyName string) *CreateChannelParams
func (*CreateChannelParams) SetChatUniqueName ¶
func (params *CreateChannelParams) SetChatUniqueName(ChatUniqueName string) *CreateChannelParams
func (*CreateChannelParams) SetChatUserFriendlyName ¶
func (params *CreateChannelParams) SetChatUserFriendlyName(ChatUserFriendlyName string) *CreateChannelParams
func (*CreateChannelParams) SetFlexFlowSid ¶
func (params *CreateChannelParams) SetFlexFlowSid(FlexFlowSid string) *CreateChannelParams
func (*CreateChannelParams) SetIdentity ¶
func (params *CreateChannelParams) SetIdentity(Identity string) *CreateChannelParams
func (*CreateChannelParams) SetLongLived ¶
func (params *CreateChannelParams) SetLongLived(LongLived bool) *CreateChannelParams
func (*CreateChannelParams) SetPreEngagementData ¶
func (params *CreateChannelParams) SetPreEngagementData(PreEngagementData string) *CreateChannelParams
func (*CreateChannelParams) SetTarget ¶
func (params *CreateChannelParams) SetTarget(Target string) *CreateChannelParams
func (*CreateChannelParams) SetTaskAttributes ¶
func (params *CreateChannelParams) SetTaskAttributes(TaskAttributes string) *CreateChannelParams
func (*CreateChannelParams) SetTaskSid ¶
func (params *CreateChannelParams) SetTaskSid(TaskSid string) *CreateChannelParams
type CreateFlexFlowParams ¶
type CreateFlexFlowParams struct { // A descriptive string that you create to describe the Flex Flow resource. FriendlyName *string `json:"FriendlyName,omitempty"` // The SID of the chat service. ChatServiceSid *string `json:"ChatServiceSid,omitempty"` // ChannelType *string `json:"ChannelType,omitempty"` // The channel contact's Identity. ContactIdentity *string `json:"ContactIdentity,omitempty"` // Whether the new Flex Flow is enabled. Enabled *bool `json:"Enabled,omitempty"` // IntegrationType *string `json:"IntegrationType,omitempty"` // The SID of the Studio Flow. Required when `integrationType` is `studio`. IntegrationFlowSid *string `json:"Integration.FlowSid,omitempty"` // The URL of the external webhook. Required when `integrationType` is `external`. IntegrationUrl *string `json:"Integration.Url,omitempty"` // The Workspace SID for a new Task. Required when `integrationType` is `task`. IntegrationWorkspaceSid *string `json:"Integration.WorkspaceSid,omitempty"` // The Workflow SID for a new Task. Required when `integrationType` is `task`. IntegrationWorkflowSid *string `json:"Integration.WorkflowSid,omitempty"` // The Task Channel SID (TCXXXX) or unique name (e.g., `sms`) to use for the Task that will be created. Applicable and required when `integrationType` is `task`. The default value is `default`. IntegrationChannel *string `json:"Integration.Channel,omitempty"` // The Task timeout in seconds for a new Task. Default is 86,400 seconds (24 hours). Optional when `integrationType` is `task`, not applicable otherwise. IntegrationTimeout *int `json:"Integration.Timeout,omitempty"` // The Task priority of a new Task. The default priority is 0. Optional when `integrationType` is `task`, not applicable otherwise. IntegrationPriority *int `json:"Integration.Priority,omitempty"` // In the context of outbound messaging, defines whether to create a Task immediately (and therefore reserve the conversation to current agent), or delay Task creation until the customer sends the first response. Set to false to create immediately, true to delay Task creation. This setting is only applicable for outbound messaging. IntegrationCreationOnMessage *bool `json:"Integration.CreationOnMessage,omitempty"` // When enabled, Flex will keep the chat channel active so that it may be used for subsequent interactions with a contact identity. Defaults to `false`. LongLived *bool `json:"LongLived,omitempty"` // When enabled, the Messaging Channel Janitor will remove active Proxy sessions if the associated Task is deleted outside of the Flex UI. Defaults to `false`. JanitorEnabled *bool `json:"JanitorEnabled,omitempty"` // The number of times to retry the Studio Flow or webhook in case of failure. Takes integer values from 0 to 3 with the default being 3. Optional when `integrationType` is `studio` or `external`, not applicable otherwise. IntegrationRetryCount *int `json:"Integration.RetryCount,omitempty"` }
Optional parameters for the method 'CreateFlexFlow'
func (*CreateFlexFlowParams) SetChannelType ¶
func (params *CreateFlexFlowParams) SetChannelType(ChannelType string) *CreateFlexFlowParams
func (*CreateFlexFlowParams) SetChatServiceSid ¶
func (params *CreateFlexFlowParams) SetChatServiceSid(ChatServiceSid string) *CreateFlexFlowParams
func (*CreateFlexFlowParams) SetContactIdentity ¶
func (params *CreateFlexFlowParams) SetContactIdentity(ContactIdentity string) *CreateFlexFlowParams
func (*CreateFlexFlowParams) SetEnabled ¶
func (params *CreateFlexFlowParams) SetEnabled(Enabled bool) *CreateFlexFlowParams
func (*CreateFlexFlowParams) SetFriendlyName ¶
func (params *CreateFlexFlowParams) SetFriendlyName(FriendlyName string) *CreateFlexFlowParams
func (*CreateFlexFlowParams) SetIntegrationChannel ¶
func (params *CreateFlexFlowParams) SetIntegrationChannel(IntegrationChannel string) *CreateFlexFlowParams
func (*CreateFlexFlowParams) SetIntegrationCreationOnMessage ¶
func (params *CreateFlexFlowParams) SetIntegrationCreationOnMessage(IntegrationCreationOnMessage bool) *CreateFlexFlowParams
func (*CreateFlexFlowParams) SetIntegrationFlowSid ¶
func (params *CreateFlexFlowParams) SetIntegrationFlowSid(IntegrationFlowSid string) *CreateFlexFlowParams
func (*CreateFlexFlowParams) SetIntegrationPriority ¶
func (params *CreateFlexFlowParams) SetIntegrationPriority(IntegrationPriority int) *CreateFlexFlowParams
func (*CreateFlexFlowParams) SetIntegrationRetryCount ¶
func (params *CreateFlexFlowParams) SetIntegrationRetryCount(IntegrationRetryCount int) *CreateFlexFlowParams
func (*CreateFlexFlowParams) SetIntegrationTimeout ¶
func (params *CreateFlexFlowParams) SetIntegrationTimeout(IntegrationTimeout int) *CreateFlexFlowParams
func (*CreateFlexFlowParams) SetIntegrationType ¶
func (params *CreateFlexFlowParams) SetIntegrationType(IntegrationType string) *CreateFlexFlowParams
func (*CreateFlexFlowParams) SetIntegrationUrl ¶
func (params *CreateFlexFlowParams) SetIntegrationUrl(IntegrationUrl string) *CreateFlexFlowParams
func (*CreateFlexFlowParams) SetIntegrationWorkflowSid ¶
func (params *CreateFlexFlowParams) SetIntegrationWorkflowSid(IntegrationWorkflowSid string) *CreateFlexFlowParams
func (*CreateFlexFlowParams) SetIntegrationWorkspaceSid ¶
func (params *CreateFlexFlowParams) SetIntegrationWorkspaceSid(IntegrationWorkspaceSid string) *CreateFlexFlowParams
func (*CreateFlexFlowParams) SetJanitorEnabled ¶
func (params *CreateFlexFlowParams) SetJanitorEnabled(JanitorEnabled bool) *CreateFlexFlowParams
func (*CreateFlexFlowParams) SetLongLived ¶
func (params *CreateFlexFlowParams) SetLongLived(LongLived bool) *CreateFlexFlowParams
type CreateInsightsAssessmentsCommentParams ¶
type CreateInsightsAssessmentsCommentParams struct { // The Authorization HTTP request header Authorization *string `json:"Authorization,omitempty"` // The ID of the category CategoryId *string `json:"CategoryId,omitempty"` // The name of the category CategoryName *string `json:"CategoryName,omitempty"` // The Assessment comment. Comment *string `json:"Comment,omitempty"` // The id of the segment. SegmentId *string `json:"SegmentId,omitempty"` // The id of the agent. AgentId *string `json:"AgentId,omitempty"` // The offset Offset *float32 `json:"Offset,omitempty"` }
Optional parameters for the method 'CreateInsightsAssessmentsComment'
func (*CreateInsightsAssessmentsCommentParams) SetAgentId ¶
func (params *CreateInsightsAssessmentsCommentParams) SetAgentId(AgentId string) *CreateInsightsAssessmentsCommentParams
func (*CreateInsightsAssessmentsCommentParams) SetAuthorization ¶
func (params *CreateInsightsAssessmentsCommentParams) SetAuthorization(Authorization string) *CreateInsightsAssessmentsCommentParams
func (*CreateInsightsAssessmentsCommentParams) SetCategoryId ¶
func (params *CreateInsightsAssessmentsCommentParams) SetCategoryId(CategoryId string) *CreateInsightsAssessmentsCommentParams
func (*CreateInsightsAssessmentsCommentParams) SetCategoryName ¶
func (params *CreateInsightsAssessmentsCommentParams) SetCategoryName(CategoryName string) *CreateInsightsAssessmentsCommentParams
func (*CreateInsightsAssessmentsCommentParams) SetComment ¶
func (params *CreateInsightsAssessmentsCommentParams) SetComment(Comment string) *CreateInsightsAssessmentsCommentParams
func (*CreateInsightsAssessmentsCommentParams) SetOffset ¶
func (params *CreateInsightsAssessmentsCommentParams) SetOffset(Offset float32) *CreateInsightsAssessmentsCommentParams
func (*CreateInsightsAssessmentsCommentParams) SetSegmentId ¶
func (params *CreateInsightsAssessmentsCommentParams) SetSegmentId(SegmentId string) *CreateInsightsAssessmentsCommentParams
type CreateInsightsAssessmentsParams ¶
type CreateInsightsAssessmentsParams struct { // The Authorization HTTP request header Authorization *string `json:"Authorization,omitempty"` // The SID of the category CategorySid *string `json:"CategorySid,omitempty"` // The name of the category CategoryName *string `json:"CategoryName,omitempty"` // Segment Id of the conversation SegmentId *string `json:"SegmentId,omitempty"` // The id of the Agent AgentId *string `json:"AgentId,omitempty"` // The offset of the conversation. Offset *float32 `json:"Offset,omitempty"` // The question SID selected for assessment MetricId *string `json:"MetricId,omitempty"` // The question name of the assessment MetricName *string `json:"MetricName,omitempty"` // The answer text selected by user AnswerText *string `json:"AnswerText,omitempty"` // The id of the answer selected by user AnswerId *string `json:"AnswerId,omitempty"` // Questionnaire SID of the associated question QuestionnaireSid *string `json:"QuestionnaireSid,omitempty"` }
Optional parameters for the method 'CreateInsightsAssessments'
func (*CreateInsightsAssessmentsParams) SetAgentId ¶
func (params *CreateInsightsAssessmentsParams) SetAgentId(AgentId string) *CreateInsightsAssessmentsParams
func (*CreateInsightsAssessmentsParams) SetAnswerId ¶
func (params *CreateInsightsAssessmentsParams) SetAnswerId(AnswerId string) *CreateInsightsAssessmentsParams
func (*CreateInsightsAssessmentsParams) SetAnswerText ¶
func (params *CreateInsightsAssessmentsParams) SetAnswerText(AnswerText string) *CreateInsightsAssessmentsParams
func (*CreateInsightsAssessmentsParams) SetAuthorization ¶
func (params *CreateInsightsAssessmentsParams) SetAuthorization(Authorization string) *CreateInsightsAssessmentsParams
func (*CreateInsightsAssessmentsParams) SetCategoryName ¶
func (params *CreateInsightsAssessmentsParams) SetCategoryName(CategoryName string) *CreateInsightsAssessmentsParams
func (*CreateInsightsAssessmentsParams) SetCategorySid ¶
func (params *CreateInsightsAssessmentsParams) SetCategorySid(CategorySid string) *CreateInsightsAssessmentsParams
func (*CreateInsightsAssessmentsParams) SetMetricId ¶
func (params *CreateInsightsAssessmentsParams) SetMetricId(MetricId string) *CreateInsightsAssessmentsParams
func (*CreateInsightsAssessmentsParams) SetMetricName ¶
func (params *CreateInsightsAssessmentsParams) SetMetricName(MetricName string) *CreateInsightsAssessmentsParams
func (*CreateInsightsAssessmentsParams) SetOffset ¶
func (params *CreateInsightsAssessmentsParams) SetOffset(Offset float32) *CreateInsightsAssessmentsParams
func (*CreateInsightsAssessmentsParams) SetQuestionnaireSid ¶
func (params *CreateInsightsAssessmentsParams) SetQuestionnaireSid(QuestionnaireSid string) *CreateInsightsAssessmentsParams
func (*CreateInsightsAssessmentsParams) SetSegmentId ¶
func (params *CreateInsightsAssessmentsParams) SetSegmentId(SegmentId string) *CreateInsightsAssessmentsParams
type CreateInsightsQuestionnairesCategoryParams ¶
type CreateInsightsQuestionnairesCategoryParams struct { // The Authorization HTTP request header Authorization *string `json:"Authorization,omitempty"` // The name of this category. Name *string `json:"Name,omitempty"` }
Optional parameters for the method 'CreateInsightsQuestionnairesCategory'
func (*CreateInsightsQuestionnairesCategoryParams) SetAuthorization ¶
func (params *CreateInsightsQuestionnairesCategoryParams) SetAuthorization(Authorization string) *CreateInsightsQuestionnairesCategoryParams
func (*CreateInsightsQuestionnairesCategoryParams) SetName ¶
func (params *CreateInsightsQuestionnairesCategoryParams) SetName(Name string) *CreateInsightsQuestionnairesCategoryParams
type CreateInsightsQuestionnairesParams ¶
type CreateInsightsQuestionnairesParams struct { // The Authorization HTTP request header Authorization *string `json:"Authorization,omitempty"` // The name of this questionnaire Name *string `json:"Name,omitempty"` // The description of this questionnaire Description *string `json:"Description,omitempty"` // The flag to enable or disable questionnaire Active *bool `json:"Active,omitempty"` // The list of questions sids under a questionnaire QuestionSids *[]string `json:"QuestionSids,omitempty"` }
Optional parameters for the method 'CreateInsightsQuestionnaires'
func (*CreateInsightsQuestionnairesParams) SetActive ¶
func (params *CreateInsightsQuestionnairesParams) SetActive(Active bool) *CreateInsightsQuestionnairesParams
func (*CreateInsightsQuestionnairesParams) SetAuthorization ¶
func (params *CreateInsightsQuestionnairesParams) SetAuthorization(Authorization string) *CreateInsightsQuestionnairesParams
func (*CreateInsightsQuestionnairesParams) SetDescription ¶
func (params *CreateInsightsQuestionnairesParams) SetDescription(Description string) *CreateInsightsQuestionnairesParams
func (*CreateInsightsQuestionnairesParams) SetName ¶
func (params *CreateInsightsQuestionnairesParams) SetName(Name string) *CreateInsightsQuestionnairesParams
func (*CreateInsightsQuestionnairesParams) SetQuestionSids ¶
func (params *CreateInsightsQuestionnairesParams) SetQuestionSids(QuestionSids []string) *CreateInsightsQuestionnairesParams
type CreateInsightsQuestionnairesQuestionParams ¶
type CreateInsightsQuestionnairesQuestionParams struct { // The Authorization HTTP request header Authorization *string `json:"Authorization,omitempty"` // The SID of the category CategorySid *string `json:"CategorySid,omitempty"` // The question. Question *string `json:"Question,omitempty"` // The answer_set for the question. AnswerSetId *string `json:"AnswerSetId,omitempty"` // The flag to enable for disable NA for answer. AllowNa *bool `json:"AllowNa,omitempty"` // The description for the question. Description *string `json:"Description,omitempty"` }
Optional parameters for the method 'CreateInsightsQuestionnairesQuestion'
func (*CreateInsightsQuestionnairesQuestionParams) SetAllowNa ¶
func (params *CreateInsightsQuestionnairesQuestionParams) SetAllowNa(AllowNa bool) *CreateInsightsQuestionnairesQuestionParams
func (*CreateInsightsQuestionnairesQuestionParams) SetAnswerSetId ¶
func (params *CreateInsightsQuestionnairesQuestionParams) SetAnswerSetId(AnswerSetId string) *CreateInsightsQuestionnairesQuestionParams
func (*CreateInsightsQuestionnairesQuestionParams) SetAuthorization ¶
func (params *CreateInsightsQuestionnairesQuestionParams) SetAuthorization(Authorization string) *CreateInsightsQuestionnairesQuestionParams
func (*CreateInsightsQuestionnairesQuestionParams) SetCategorySid ¶
func (params *CreateInsightsQuestionnairesQuestionParams) SetCategorySid(CategorySid string) *CreateInsightsQuestionnairesQuestionParams
func (*CreateInsightsQuestionnairesQuestionParams) SetDescription ¶
func (params *CreateInsightsQuestionnairesQuestionParams) SetDescription(Description string) *CreateInsightsQuestionnairesQuestionParams
func (*CreateInsightsQuestionnairesQuestionParams) SetQuestion ¶
func (params *CreateInsightsQuestionnairesQuestionParams) SetQuestion(Question string) *CreateInsightsQuestionnairesQuestionParams
type CreateInsightsSessionParams ¶
type CreateInsightsSessionParams struct { // The Authorization HTTP request header Authorization *string `json:"Authorization,omitempty"` }
Optional parameters for the method 'CreateInsightsSession'
func (*CreateInsightsSessionParams) SetAuthorization ¶
func (params *CreateInsightsSessionParams) SetAuthorization(Authorization string) *CreateInsightsSessionParams
type CreateInteractionChannelInviteParams ¶
type CreateInteractionChannelInviteParams struct {
// The Interaction's routing logic.
Routing *interface{} `json:"Routing,omitempty"`
}
Optional parameters for the method 'CreateInteractionChannelInvite'
func (*CreateInteractionChannelInviteParams) SetRouting ¶
func (params *CreateInteractionChannelInviteParams) SetRouting(Routing interface{}) *CreateInteractionChannelInviteParams
type CreateInteractionChannelParticipantParams ¶
type CreateInteractionChannelParticipantParams struct { // Type *string `json:"Type,omitempty"` // JSON representing the Media Properties for the new Participant. MediaProperties *interface{} `json:"MediaProperties,omitempty"` }
Optional parameters for the method 'CreateInteractionChannelParticipant'
func (*CreateInteractionChannelParticipantParams) SetMediaProperties ¶
func (params *CreateInteractionChannelParticipantParams) SetMediaProperties(MediaProperties interface{}) *CreateInteractionChannelParticipantParams
func (*CreateInteractionChannelParticipantParams) SetType ¶
func (params *CreateInteractionChannelParticipantParams) SetType(Type string) *CreateInteractionChannelParticipantParams
type CreateInteractionParams ¶
type CreateInteractionParams struct { // The Interaction's channel. Channel *interface{} `json:"Channel,omitempty"` // The Interaction's routing logic. Routing *interface{} `json:"Routing,omitempty"` // The Interaction context sid is used for adding a context lookup sid InteractionContextSid *string `json:"InteractionContextSid,omitempty"` }
Optional parameters for the method 'CreateInteraction'
func (*CreateInteractionParams) SetChannel ¶
func (params *CreateInteractionParams) SetChannel(Channel interface{}) *CreateInteractionParams
func (*CreateInteractionParams) SetInteractionContextSid ¶
func (params *CreateInteractionParams) SetInteractionContextSid(InteractionContextSid string) *CreateInteractionParams
func (*CreateInteractionParams) SetRouting ¶
func (params *CreateInteractionParams) SetRouting(Routing interface{}) *CreateInteractionParams
type CreateWebChannelParams ¶
type CreateWebChannelParams struct { // The SID of the Flex Flow. FlexFlowSid *string `json:"FlexFlowSid,omitempty"` // The chat identity. Identity *string `json:"Identity,omitempty"` // The chat participant's friendly name. CustomerFriendlyName *string `json:"CustomerFriendlyName,omitempty"` // The chat channel's friendly name. ChatFriendlyName *string `json:"ChatFriendlyName,omitempty"` // The chat channel's unique name. ChatUniqueName *string `json:"ChatUniqueName,omitempty"` // The pre-engagement data. PreEngagementData *string `json:"PreEngagementData,omitempty"` }
Optional parameters for the method 'CreateWebChannel'
func (*CreateWebChannelParams) SetChatFriendlyName ¶
func (params *CreateWebChannelParams) SetChatFriendlyName(ChatFriendlyName string) *CreateWebChannelParams
func (*CreateWebChannelParams) SetChatUniqueName ¶
func (params *CreateWebChannelParams) SetChatUniqueName(ChatUniqueName string) *CreateWebChannelParams
func (*CreateWebChannelParams) SetCustomerFriendlyName ¶
func (params *CreateWebChannelParams) SetCustomerFriendlyName(CustomerFriendlyName string) *CreateWebChannelParams
func (*CreateWebChannelParams) SetFlexFlowSid ¶
func (params *CreateWebChannelParams) SetFlexFlowSid(FlexFlowSid string) *CreateWebChannelParams
func (*CreateWebChannelParams) SetIdentity ¶
func (params *CreateWebChannelParams) SetIdentity(Identity string) *CreateWebChannelParams
func (*CreateWebChannelParams) SetPreEngagementData ¶
func (params *CreateWebChannelParams) SetPreEngagementData(PreEngagementData string) *CreateWebChannelParams
type DeleteInsightsQuestionnairesCategoryParams ¶
type DeleteInsightsQuestionnairesCategoryParams struct { // The Authorization HTTP request header Authorization *string `json:"Authorization,omitempty"` }
Optional parameters for the method 'DeleteInsightsQuestionnairesCategory'
func (*DeleteInsightsQuestionnairesCategoryParams) SetAuthorization ¶
func (params *DeleteInsightsQuestionnairesCategoryParams) SetAuthorization(Authorization string) *DeleteInsightsQuestionnairesCategoryParams
type DeleteInsightsQuestionnairesParams ¶
type DeleteInsightsQuestionnairesParams struct { // The Authorization HTTP request header Authorization *string `json:"Authorization,omitempty"` }
Optional parameters for the method 'DeleteInsightsQuestionnaires'
func (*DeleteInsightsQuestionnairesParams) SetAuthorization ¶
func (params *DeleteInsightsQuestionnairesParams) SetAuthorization(Authorization string) *DeleteInsightsQuestionnairesParams
type DeleteInsightsQuestionnairesQuestionParams ¶
type DeleteInsightsQuestionnairesQuestionParams struct { // The Authorization HTTP request header Authorization *string `json:"Authorization,omitempty"` }
Optional parameters for the method 'DeleteInsightsQuestionnairesQuestion'
func (*DeleteInsightsQuestionnairesQuestionParams) SetAuthorization ¶
func (params *DeleteInsightsQuestionnairesQuestionParams) SetAuthorization(Authorization string) *DeleteInsightsQuestionnairesQuestionParams
type FetchConfigurationParams ¶
type FetchConfigurationParams struct { // The Pinned UI version of the Configuration resource to fetch. UiVersion *string `json:"UiVersion,omitempty"` }
Optional parameters for the method 'FetchConfiguration'
func (*FetchConfigurationParams) SetUiVersion ¶
func (params *FetchConfigurationParams) SetUiVersion(UiVersion string) *FetchConfigurationParams
type FetchInsightsQuestionnairesParams ¶
type FetchInsightsQuestionnairesParams struct { // The Authorization HTTP request header Authorization *string `json:"Authorization,omitempty"` }
Optional parameters for the method 'FetchInsightsQuestionnaires'
func (*FetchInsightsQuestionnairesParams) SetAuthorization ¶
func (params *FetchInsightsQuestionnairesParams) SetAuthorization(Authorization string) *FetchInsightsQuestionnairesParams
type FetchInsightsSettingsAnswersetsParams ¶
type FetchInsightsSettingsAnswersetsParams struct { // The Authorization HTTP request header Authorization *string `json:"Authorization,omitempty"` }
Optional parameters for the method 'FetchInsightsSettingsAnswersets'
func (*FetchInsightsSettingsAnswersetsParams) SetAuthorization ¶
func (params *FetchInsightsSettingsAnswersetsParams) SetAuthorization(Authorization string) *FetchInsightsSettingsAnswersetsParams
type FetchInsightsSettingsCommentParams ¶
type FetchInsightsSettingsCommentParams struct { // The Authorization HTTP request header Authorization *string `json:"Authorization,omitempty"` }
Optional parameters for the method 'FetchInsightsSettingsComment'
func (*FetchInsightsSettingsCommentParams) SetAuthorization ¶
func (params *FetchInsightsSettingsCommentParams) SetAuthorization(Authorization string) *FetchInsightsSettingsCommentParams
type FetchInsightsUserRolesParams ¶
type FetchInsightsUserRolesParams struct { // The Authorization HTTP request header Authorization *string `json:"Authorization,omitempty"` }
Optional parameters for the method 'FetchInsightsUserRoles'
func (*FetchInsightsUserRolesParams) SetAuthorization ¶
func (params *FetchInsightsUserRolesParams) SetAuthorization(Authorization string) *FetchInsightsUserRolesParams
type FlexV1Channel ¶
type FlexV1Channel struct { // The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Channel resource and owns this Workflow. AccountSid *string `json:"account_sid,omitempty"` // The SID of the Flex Flow. FlexFlowSid *string `json:"flex_flow_sid,omitempty"` // The unique string that we created to identify the Channel resource. Sid *string `json:"sid,omitempty"` // The SID of the chat user. UserSid *string `json:"user_sid,omitempty"` // The SID of the TaskRouter Task. Only valid when integration type is `task`. `null` for integration types `studio` & `external` TaskSid *string `json:"task_sid,omitempty"` // The absolute URL of the Flex chat channel resource. Url *string `json:"url,omitempty"` // The date and time in GMT when the Flex chat channel was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. DateCreated *time.Time `json:"date_created,omitempty"` // The date and time in GMT when the Flex chat channel was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. DateUpdated *time.Time `json:"date_updated,omitempty"` }
FlexV1Channel struct for FlexV1Channel
type FlexV1Configuration ¶
type FlexV1Configuration struct { // The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Configuration resource. AccountSid *string `json:"account_sid,omitempty"` // The date and time in GMT when the Configuration resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. DateCreated *time.Time `json:"date_created,omitempty"` // The date and time in GMT when the Configuration resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. DateUpdated *time.Time `json:"date_updated,omitempty"` // An object that contains application-specific data. Attributes *interface{} `json:"attributes,omitempty"` Status *string `json:"status,omitempty"` // The SID of the TaskRouter Workspace. TaskrouterWorkspaceSid *string `json:"taskrouter_workspace_sid,omitempty"` // The SID of the TaskRouter target Workflow. TaskrouterTargetWorkflowSid *string `json:"taskrouter_target_workflow_sid,omitempty"` // The SID of the TaskRouter Target TaskQueue. TaskrouterTargetTaskqueueSid *string `json:"taskrouter_target_taskqueue_sid,omitempty"` // The list of TaskRouter TaskQueues. TaskrouterTaskqueues *[]interface{} `json:"taskrouter_taskqueues,omitempty"` // The Skill description for TaskRouter workers. TaskrouterSkills *[]interface{} `json:"taskrouter_skills,omitempty"` // The TaskRouter default channel capacities and availability for workers. TaskrouterWorkerChannels *interface{} `json:"taskrouter_worker_channels,omitempty"` // The TaskRouter Worker attributes. TaskrouterWorkerAttributes *interface{} `json:"taskrouter_worker_attributes,omitempty"` // The TaskRouter SID of the offline activity. TaskrouterOfflineActivitySid *string `json:"taskrouter_offline_activity_sid,omitempty"` // The URL where the Flex instance is hosted. RuntimeDomain *string `json:"runtime_domain,omitempty"` // The SID of the Messaging service instance. MessagingServiceInstanceSid *string `json:"messaging_service_instance_sid,omitempty"` // The SID of the chat service this user belongs to. ChatServiceInstanceSid *string `json:"chat_service_instance_sid,omitempty"` // The SID of the Flex service instance. FlexServiceInstanceSid *string `json:"flex_service_instance_sid,omitempty"` // The primary language of the Flex UI. UiLanguage *string `json:"ui_language,omitempty"` // The object that describes Flex UI characteristics and settings. UiAttributes *interface{} `json:"ui_attributes,omitempty"` // The object that defines the NPM packages and versions to be used in Hosted Flex. UiDependencies *interface{} `json:"ui_dependencies,omitempty"` // The Pinned UI version. UiVersion *string `json:"ui_version,omitempty"` // The Flex Service version. ServiceVersion *string `json:"service_version,omitempty"` // Whether call recording is enabled. CallRecordingEnabled *bool `json:"call_recording_enabled,omitempty"` // The call recording webhook URL. CallRecordingWebhookUrl *string `json:"call_recording_webhook_url,omitempty"` // Whether CRM is present for Flex. CrmEnabled *bool `json:"crm_enabled,omitempty"` // The CRM type. CrmType *string `json:"crm_type,omitempty"` // The CRM Callback URL. CrmCallbackUrl *string `json:"crm_callback_url,omitempty"` // The CRM Fallback URL. CrmFallbackUrl *string `json:"crm_fallback_url,omitempty"` // An object that contains the CRM attributes. CrmAttributes *interface{} `json:"crm_attributes,omitempty"` // The list of public attributes, which are visible to unauthenticated clients. PublicAttributes *interface{} `json:"public_attributes,omitempty"` // Whether the plugin service enabled. PluginServiceEnabled *bool `json:"plugin_service_enabled,omitempty"` // The plugin service attributes. PluginServiceAttributes *interface{} `json:"plugin_service_attributes,omitempty"` // A list of objects that contain the configurations for the Integrations supported in this configuration. Integrations *[]interface{} `json:"integrations,omitempty"` // The list of outbound call flows. OutboundCallFlows *interface{} `json:"outbound_call_flows,omitempty"` // The list of serverless service SIDs. ServerlessServiceSids *[]string `json:"serverless_service_sids,omitempty"` // Configurable parameters for Queues Statistics. QueueStatsConfiguration *interface{} `json:"queue_stats_configuration,omitempty"` // Configurable parameters for Notifications. Notifications *interface{} `json:"notifications,omitempty"` // Configurable parameters for Markdown. Markdown *interface{} `json:"markdown,omitempty"` // The absolute URL of the Configuration resource. Url *string `json:"url,omitempty"` // Object with enabled/disabled flag with list of workspaces. FlexInsightsHr *interface{} `json:"flex_insights_hr,omitempty"` // Setting this to true will redirect Flex UI to the URL set in flex_url FlexInsightsDrilldown *bool `json:"flex_insights_drilldown,omitempty"` // URL to redirect to in case drilldown is enabled. FlexUrl *string `json:"flex_url,omitempty"` // Settings for different limits for Flex Conversations channels attachments. ChannelConfigs *[]interface{} `json:"channel_configs,omitempty"` // Configurable parameters for Debugger Integration. DebuggerIntegration *interface{} `json:"debugger_integration,omitempty"` // Configurable parameters for Flex UI Status report. FlexUiStatusReport *interface{} `json:"flex_ui_status_report,omitempty"` // Agent conversation end methods. AgentConvEndMethods *interface{} `json:"agent_conv_end_methods,omitempty"` // Citrix voice vdi configuration and settings. CitrixVoiceVdi *interface{} `json:"citrix_voice_vdi,omitempty"` // Presence and presence ttl configuration OfflineConfig *interface{} `json:"offline_config,omitempty"` }
FlexV1Configuration struct for FlexV1Configuration
type FlexV1FlexFlow ¶
type FlexV1FlexFlow struct { // The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Flex Flow resource and owns this Workflow. AccountSid *string `json:"account_sid,omitempty"` // The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. DateCreated *time.Time `json:"date_created,omitempty"` // The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. DateUpdated *time.Time `json:"date_updated,omitempty"` // The unique string that we created to identify the Flex Flow resource. Sid *string `json:"sid,omitempty"` // The string that you assigned to describe the resource. FriendlyName *string `json:"friendly_name,omitempty"` // The SID of the chat service. ChatServiceSid *string `json:"chat_service_sid,omitempty"` ChannelType *string `json:"channel_type,omitempty"` // The channel contact's Identity. ContactIdentity *string `json:"contact_identity,omitempty"` // Whether the Flex Flow is enabled. Enabled *bool `json:"enabled,omitempty"` IntegrationType *string `json:"integration_type,omitempty"` // An object that contains specific parameters for the integration. Integration *interface{} `json:"integration,omitempty"` // When enabled, Flex will keep the chat channel active so that it may be used for subsequent interactions with a contact identity. Defaults to `false`. LongLived *bool `json:"long_lived,omitempty"` // When enabled, the Messaging Channel Janitor will remove active Proxy sessions if the associated Task is deleted outside of the Flex UI. Defaults to `false`. JanitorEnabled *bool `json:"janitor_enabled,omitempty"` // The absolute URL of the Flex Flow resource. Url *string `json:"url,omitempty"` }
FlexV1FlexFlow struct for FlexV1FlexFlow
type FlexV1InsightsAssessments ¶
type FlexV1InsightsAssessments struct { // The unique SID identifier of the Account. AccountSid *string `json:"account_sid,omitempty"` // The SID of the assessment AssessmentSid *string `json:"assessment_sid,omitempty"` // Offset of the conversation Offset *float32 `json:"offset,omitempty"` // The flag indicating if this assessment is part of report Report *bool `json:"report,omitempty"` // The weightage given to this comment Weight *float32 `json:"weight,omitempty"` // The id of the Agent AgentId *string `json:"agent_id,omitempty"` // Segment Id of conversation SegmentId *string `json:"segment_id,omitempty"` // The name of the user. UserName *string `json:"user_name,omitempty"` // The email id of the user. UserEmail *string `json:"user_email,omitempty"` // The answer text selected by user AnswerText *string `json:"answer_text,omitempty"` // The id of the answer selected by user AnswerId *string `json:"answer_id,omitempty"` // Assessment Details associated with an assessment Assessment *interface{} `json:"assessment,omitempty"` Timestamp *float32 `json:"timestamp,omitempty"` Url *string `json:"url,omitempty"` }
FlexV1InsightsAssessments struct for FlexV1InsightsAssessments
func (*FlexV1InsightsAssessments) UnmarshalJSON ¶
func (response *FlexV1InsightsAssessments) UnmarshalJSON(bytes []byte) (err error)
type FlexV1InsightsAssessmentsComment ¶
type FlexV1InsightsAssessmentsComment struct { // The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Flex Insights resource and owns this resource. AccountSid *string `json:"account_sid,omitempty"` // The SID of the assessment. AssessmentSid *string `json:"assessment_sid,omitempty"` // The comment added for assessment. Comment *interface{} `json:"comment,omitempty"` // The offset Offset *float32 `json:"offset,omitempty"` // The flag indicating if this assessment is part of report Report *bool `json:"report,omitempty"` // The weightage given to this comment Weight *float32 `json:"weight,omitempty"` // The id of the agent. AgentId *string `json:"agent_id,omitempty"` // The id of the segment. SegmentId *string `json:"segment_id,omitempty"` // The name of the user. UserName *string `json:"user_name,omitempty"` // The email id of the user. UserEmail *string `json:"user_email,omitempty"` // The timestamp when the record is inserted Timestamp *float32 `json:"timestamp,omitempty"` Url *string `json:"url,omitempty"` }
FlexV1InsightsAssessmentsComment struct for FlexV1InsightsAssessmentsComment
func (*FlexV1InsightsAssessmentsComment) UnmarshalJSON ¶
func (response *FlexV1InsightsAssessmentsComment) UnmarshalJSON(bytes []byte) (err error)
type FlexV1InsightsConversations ¶
type FlexV1InsightsConversations struct { // The id of the account. AccountId *string `json:"account_id,omitempty"` // The unique id of the conversation ConversationId *string `json:"conversation_id,omitempty"` // The count of segments for a conversation SegmentCount *int `json:"segment_count,omitempty"` // The Segments of a conversation Segments *[]interface{} `json:"segments,omitempty"` }
FlexV1InsightsConversations struct for FlexV1InsightsConversations
type FlexV1InsightsQuestionnaires ¶
type FlexV1InsightsQuestionnaires struct { // The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Flex Insights resource and owns this resource. AccountSid *string `json:"account_sid,omitempty"` // The sid of this questionnaire QuestionnaireSid *string `json:"questionnaire_sid,omitempty"` // The name of this category. Name *string `json:"name,omitempty"` // The description of this questionnaire Description *string `json:"description,omitempty"` // The flag to enable or disable questionnaire Active *bool `json:"active,omitempty"` // The list of questions with category for a questionnaire Questions *[]interface{} `json:"questions,omitempty"` Url *string `json:"url,omitempty"` }
FlexV1InsightsQuestionnaires struct for FlexV1InsightsQuestionnaires
type FlexV1InsightsQuestionnairesCategory ¶
type FlexV1InsightsQuestionnairesCategory struct { // The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Flex Insights resource and owns this resource. AccountSid *string `json:"account_sid,omitempty"` // The SID of the category CategorySid *string `json:"category_sid,omitempty"` // The name of this category. Name *string `json:"name,omitempty"` Url *string `json:"url,omitempty"` }
FlexV1InsightsQuestionnairesCategory struct for FlexV1InsightsQuestionnairesCategory
type FlexV1InsightsQuestionnairesQuestion ¶
type FlexV1InsightsQuestionnairesQuestion struct { // The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Flex Insights resource and owns this resource. AccountSid *string `json:"account_sid,omitempty"` // The SID of the question QuestionSid *string `json:"question_sid,omitempty"` // The question. Question *string `json:"question,omitempty"` // The description for the question. Description *string `json:"description,omitempty"` // The Category for the question. Category *interface{} `json:"category,omitempty"` // The answer_set for the question. AnswerSetId *string `json:"answer_set_id,omitempty"` // The flag to enable for disable NA for answer. AllowNa *bool `json:"allow_na,omitempty"` // Integer value that tells a particular question is used by how many questionnaires Usage *int `json:"usage,omitempty"` // Set of answers for the question AnswerSet *interface{} `json:"answer_set,omitempty"` Url *string `json:"url,omitempty"` }
FlexV1InsightsQuestionnairesQuestion struct for FlexV1InsightsQuestionnairesQuestion
type FlexV1InsightsSegments ¶
type FlexV1InsightsSegments struct { // To unique id of the segment SegmentId *string `json:"segment_id,omitempty"` // The unique id for the conversation. ExternalId *string `json:"external_id,omitempty"` Queue *string `json:"queue,omitempty"` ExternalContact *string `json:"external_contact,omitempty"` // The uuid for the external_segment_link. ExternalSegmentLinkId *string `json:"external_segment_link_id,omitempty"` // The date of the conversation. Date *string `json:"date,omitempty"` // The unique id for the account. AccountId *string `json:"account_id,omitempty"` // The hyperlink to recording of the task event. ExternalSegmentLink *string `json:"external_segment_link,omitempty"` // The unique id for the agent. AgentId *string `json:"agent_id,omitempty"` // The phone number of the agent. AgentPhone *string `json:"agent_phone,omitempty"` // The name of the agent. AgentName *string `json:"agent_name,omitempty"` // The team name to which agent belongs. AgentTeamName *string `json:"agent_team_name,omitempty"` // he team name to which agent belongs. AgentTeamNameInHierarchy *string `json:"agent_team_name_in_hierarchy,omitempty"` // The link to the agent conversation. AgentLink *string `json:"agent_link,omitempty"` // The phone number of the customer. CustomerPhone *string `json:"customer_phone,omitempty"` // The name of the customer. CustomerName *string `json:"customer_name,omitempty"` // The link to the customer conversation. CustomerLink *string `json:"customer_link,omitempty"` // The offset value for the recording. SegmentRecordingOffset *string `json:"segment_recording_offset,omitempty"` // The media identifiers of the conversation. Media *interface{} `json:"media,omitempty"` // The type of the assessment. AssessmentType *interface{} `json:"assessment_type,omitempty"` // The percentage scored on the Assessments. AssessmentPercentage *interface{} `json:"assessment_percentage,omitempty"` Url *string `json:"url,omitempty"` }
FlexV1InsightsSegments struct for FlexV1InsightsSegments
type FlexV1InsightsSession ¶
type FlexV1InsightsSession struct { // Unique ID to identify the user's workspace WorkspaceId *string `json:"workspace_id,omitempty"` // The session expiry date and time, given in ISO 8601 format. SessionExpiry *string `json:"session_expiry,omitempty"` // The unique ID for the session SessionId *string `json:"session_id,omitempty"` // The base URL to fetch reports and dashboards BaseUrl *string `json:"base_url,omitempty"` // The URL of this resource. Url *string `json:"url,omitempty"` }
FlexV1InsightsSession struct for FlexV1InsightsSession
type FlexV1InsightsSettingsAnswersets ¶
type FlexV1InsightsSettingsAnswersets struct { // The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Flex Insights resource and owns this resource. AccountSid *string `json:"account_sid,omitempty"` // The lis of answer sets AnswerSets *interface{} `json:"answer_sets,omitempty"` // The list of answer set categories AnswerSetCategories *interface{} `json:"answer_set_categories,omitempty"` // The details for not applicable answer set NotApplicable *interface{} `json:"not_applicable,omitempty"` Url *string `json:"url,omitempty"` }
FlexV1InsightsSettingsAnswersets struct for FlexV1InsightsSettingsAnswersets
type FlexV1InsightsSettingsComment ¶
type FlexV1InsightsSettingsComment struct { // The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the Flex Insights resource and owns this resource. AccountSid *string `json:"account_sid,omitempty"` Comments *interface{} `json:"comments,omitempty"` Url *string `json:"url,omitempty"` }
FlexV1InsightsSettingsComment struct for FlexV1InsightsSettingsComment
type FlexV1InsightsUserRoles ¶
type FlexV1InsightsUserRoles struct { // Flex Insights roles for the user Roles *[]string `json:"roles,omitempty"` Url *string `json:"url,omitempty"` }
FlexV1InsightsUserRoles struct for FlexV1InsightsUserRoles
type FlexV1Interaction ¶
type FlexV1Interaction struct { // The unique string created by Twilio to identify an Interaction resource, prefixed with KD. Sid *string `json:"sid,omitempty"` // A JSON object that defines the Interaction’s communication channel and includes details about the channel. See the [Outbound SMS](https://www.twilio.com/docs/flex/developer/conversations/interactions-api/interactions#agent-initiated-outbound-interactions) and [inbound (API-initiated)](https://www.twilio.com/docs/flex/developer/conversations/interactions-api/interactions#api-initiated-contact) Channel object examples. Channel *interface{} `json:"channel,omitempty"` // A JSON Object representing the routing rules for the Interaction Channel. See [Outbound SMS Example](https://www.twilio.com/docs/flex/developer/conversations/interactions-api/interactions#agent-initiated-outbound-interactions) for an example Routing object. The Interactions resource uses TaskRouter for all routing functionality. All attributes in the Routing object on your Interaction request body are added “as is” to the task. For a list of known attributes consumed by the Flex UI and/or Flex Insights, see [Known Task Attributes](https://www.twilio.com/docs/flex/developer/conversations/interactions-api#task-attributes). Routing *interface{} `json:"routing,omitempty"` Url *string `json:"url,omitempty"` Links *map[string]interface{} `json:"links,omitempty"` InteractionContextSid *string `json:"interaction_context_sid,omitempty"` }
FlexV1Interaction struct for FlexV1Interaction
type FlexV1InteractionChannel ¶
type FlexV1InteractionChannel struct { // The unique string created by Twilio to identify an Interaction Channel resource, prefixed with UO. Sid *string `json:"sid,omitempty"` // The unique string created by Twilio to identify an Interaction resource, prefixed with KD. InteractionSid *string `json:"interaction_sid,omitempty"` Type *string `json:"type,omitempty"` Status *string `json:"status,omitempty"` // The Twilio error code for a failed channel. ErrorCode *int `json:"error_code,omitempty"` // The error message for a failed channel. ErrorMessage *string `json:"error_message,omitempty"` Url *string `json:"url,omitempty"` Links *map[string]interface{} `json:"links,omitempty"` }
FlexV1InteractionChannel struct for FlexV1InteractionChannel
type FlexV1InteractionChannelInvite ¶
type FlexV1InteractionChannelInvite struct { // The unique string created by Twilio to identify an Interaction Channel Invite resource. Sid *string `json:"sid,omitempty"` // The Interaction SID for this Channel. InteractionSid *string `json:"interaction_sid,omitempty"` // The Channel SID for this Invite. ChannelSid *string `json:"channel_sid,omitempty"` // A JSON object representing the routing rules for the Interaction Channel. See [Outbound SMS Example](https://www.twilio.com/docs/flex/developer/conversations/interactions-api/interactions#agent-initiated-outbound-interactions) for an example Routing object. The Interactions resource uses TaskRouter for all routing functionality. All attributes in the Routing object on your Interaction request body are added “as is” to the task. For a list of known attributes consumed by the Flex UI and/or Flex Insights, see [Known Task Attributes](https://www.twilio.com/docs/flex/developer/conversations/interactions-api#task-attributes). Routing *interface{} `json:"routing,omitempty"` Url *string `json:"url,omitempty"` }
FlexV1InteractionChannelInvite struct for FlexV1InteractionChannelInvite
type FlexV1InteractionChannelParticipant ¶
type FlexV1InteractionChannelParticipant struct { // The unique string created by Twilio to identify an Interaction Channel Participant resource. Sid *string `json:"sid,omitempty"` Type *string `json:"type,omitempty"` // The Interaction Sid for this channel. InteractionSid *string `json:"interaction_sid,omitempty"` // The Channel Sid for this Participant. ChannelSid *string `json:"channel_sid,omitempty"` Url *string `json:"url,omitempty"` }
FlexV1InteractionChannelParticipant struct for FlexV1InteractionChannelParticipant
type FlexV1ProvisioningStatus ¶
type FlexV1ProvisioningStatus struct { Status *string `json:"status,omitempty"` // The absolute URL of the resource. Url *string `json:"url,omitempty"` }
FlexV1ProvisioningStatus struct for FlexV1ProvisioningStatus
type FlexV1WebChannel ¶
type FlexV1WebChannel struct { // The SID of the [Account](https://www.twilio.com/docs/iam/api/account) that created the WebChannel resource and owns this Workflow. AccountSid *string `json:"account_sid,omitempty"` // The SID of the Flex Flow. FlexFlowSid *string `json:"flex_flow_sid,omitempty"` // The unique string that we created to identify the WebChannel resource. Sid *string `json:"sid,omitempty"` // The absolute URL of the WebChannel resource. Url *string `json:"url,omitempty"` // The date and time in GMT when the resource was created specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. DateCreated *time.Time `json:"date_created,omitempty"` // The date and time in GMT when the resource was last updated specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. DateUpdated *time.Time `json:"date_updated,omitempty"` }
FlexV1WebChannel struct for FlexV1WebChannel
type ListChannelParams ¶
type ListChannelParams struct { // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListChannel'
func (*ListChannelParams) SetLimit ¶
func (params *ListChannelParams) SetLimit(Limit int) *ListChannelParams
func (*ListChannelParams) SetPageSize ¶
func (params *ListChannelParams) SetPageSize(PageSize int) *ListChannelParams
type ListChannelResponse ¶
type ListChannelResponse struct { FlexChatChannels []FlexV1Channel `json:"flex_chat_channels,omitempty"` Meta ListChannelResponseMeta `json:"meta,omitempty"` }
ListChannelResponse struct for ListChannelResponse
type ListChannelResponseMeta ¶
type ListChannelResponseMeta struct { FirstPageUrl string `json:"first_page_url,omitempty"` NextPageUrl *string `json:"next_page_url,omitempty"` Page int `json:"page,omitempty"` PageSize int `json:"page_size,omitempty"` PreviousPageUrl *string `json:"previous_page_url,omitempty"` Url string `json:"url,omitempty"` Key string `json:"key,omitempty"` }
ListChannelResponseMeta struct for ListChannelResponseMeta
type ListFlexFlowParams ¶
type ListFlexFlowParams struct { // The `friendly_name` of the Flex Flow resources to read. FriendlyName *string `json:"FriendlyName,omitempty"` // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListFlexFlow'
func (*ListFlexFlowParams) SetFriendlyName ¶
func (params *ListFlexFlowParams) SetFriendlyName(FriendlyName string) *ListFlexFlowParams
func (*ListFlexFlowParams) SetLimit ¶
func (params *ListFlexFlowParams) SetLimit(Limit int) *ListFlexFlowParams
func (*ListFlexFlowParams) SetPageSize ¶
func (params *ListFlexFlowParams) SetPageSize(PageSize int) *ListFlexFlowParams
type ListFlexFlowResponse ¶
type ListFlexFlowResponse struct { FlexFlows []FlexV1FlexFlow `json:"flex_flows,omitempty"` Meta ListChannelResponseMeta `json:"meta,omitempty"` }
ListFlexFlowResponse struct for ListFlexFlowResponse
type ListInsightsAssessmentsCommentParams ¶
type ListInsightsAssessmentsCommentParams struct { // The Authorization HTTP request header Authorization *string `json:"Authorization,omitempty"` // The id of the segment. SegmentId *string `json:"SegmentId,omitempty"` // The id of the agent. AgentId *string `json:"AgentId,omitempty"` // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListInsightsAssessmentsComment'
func (*ListInsightsAssessmentsCommentParams) SetAgentId ¶
func (params *ListInsightsAssessmentsCommentParams) SetAgentId(AgentId string) *ListInsightsAssessmentsCommentParams
func (*ListInsightsAssessmentsCommentParams) SetAuthorization ¶
func (params *ListInsightsAssessmentsCommentParams) SetAuthorization(Authorization string) *ListInsightsAssessmentsCommentParams
func (*ListInsightsAssessmentsCommentParams) SetLimit ¶
func (params *ListInsightsAssessmentsCommentParams) SetLimit(Limit int) *ListInsightsAssessmentsCommentParams
func (*ListInsightsAssessmentsCommentParams) SetPageSize ¶
func (params *ListInsightsAssessmentsCommentParams) SetPageSize(PageSize int) *ListInsightsAssessmentsCommentParams
func (*ListInsightsAssessmentsCommentParams) SetSegmentId ¶
func (params *ListInsightsAssessmentsCommentParams) SetSegmentId(SegmentId string) *ListInsightsAssessmentsCommentParams
type ListInsightsAssessmentsCommentResponse ¶
type ListInsightsAssessmentsCommentResponse struct { Comments []FlexV1InsightsAssessmentsComment `json:"comments,omitempty"` Meta ListChannelResponseMeta `json:"meta,omitempty"` }
ListInsightsAssessmentsCommentResponse struct for ListInsightsAssessmentsCommentResponse
type ListInsightsAssessmentsParams ¶
type ListInsightsAssessmentsParams struct { // The Authorization HTTP request header Authorization *string `json:"Authorization,omitempty"` // The id of the segment. SegmentId *string `json:"SegmentId,omitempty"` // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListInsightsAssessments'
func (*ListInsightsAssessmentsParams) SetAuthorization ¶
func (params *ListInsightsAssessmentsParams) SetAuthorization(Authorization string) *ListInsightsAssessmentsParams
func (*ListInsightsAssessmentsParams) SetLimit ¶
func (params *ListInsightsAssessmentsParams) SetLimit(Limit int) *ListInsightsAssessmentsParams
func (*ListInsightsAssessmentsParams) SetPageSize ¶
func (params *ListInsightsAssessmentsParams) SetPageSize(PageSize int) *ListInsightsAssessmentsParams
func (*ListInsightsAssessmentsParams) SetSegmentId ¶
func (params *ListInsightsAssessmentsParams) SetSegmentId(SegmentId string) *ListInsightsAssessmentsParams
type ListInsightsAssessmentsResponse ¶
type ListInsightsAssessmentsResponse struct { Assessments []FlexV1InsightsAssessments `json:"assessments,omitempty"` Meta ListChannelResponseMeta `json:"meta,omitempty"` }
ListInsightsAssessmentsResponse struct for ListInsightsAssessmentsResponse
type ListInsightsConversationsParams ¶
type ListInsightsConversationsParams struct { // The Authorization HTTP request header Authorization *string `json:"Authorization,omitempty"` // Unique Id of the segment for which conversation details needs to be fetched SegmentId *string `json:"SegmentId,omitempty"` // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListInsightsConversations'
func (*ListInsightsConversationsParams) SetAuthorization ¶
func (params *ListInsightsConversationsParams) SetAuthorization(Authorization string) *ListInsightsConversationsParams
func (*ListInsightsConversationsParams) SetLimit ¶
func (params *ListInsightsConversationsParams) SetLimit(Limit int) *ListInsightsConversationsParams
func (*ListInsightsConversationsParams) SetPageSize ¶
func (params *ListInsightsConversationsParams) SetPageSize(PageSize int) *ListInsightsConversationsParams
func (*ListInsightsConversationsParams) SetSegmentId ¶
func (params *ListInsightsConversationsParams) SetSegmentId(SegmentId string) *ListInsightsConversationsParams
type ListInsightsConversationsResponse ¶
type ListInsightsConversationsResponse struct { Conversations []FlexV1InsightsConversations `json:"conversations,omitempty"` Meta ListChannelResponseMeta `json:"meta,omitempty"` }
ListInsightsConversationsResponse struct for ListInsightsConversationsResponse
type ListInsightsQuestionnairesCategoryParams ¶
type ListInsightsQuestionnairesCategoryParams struct { // The Authorization HTTP request header Authorization *string `json:"Authorization,omitempty"` // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListInsightsQuestionnairesCategory'
func (*ListInsightsQuestionnairesCategoryParams) SetAuthorization ¶
func (params *ListInsightsQuestionnairesCategoryParams) SetAuthorization(Authorization string) *ListInsightsQuestionnairesCategoryParams
func (*ListInsightsQuestionnairesCategoryParams) SetLimit ¶
func (params *ListInsightsQuestionnairesCategoryParams) SetLimit(Limit int) *ListInsightsQuestionnairesCategoryParams
func (*ListInsightsQuestionnairesCategoryParams) SetPageSize ¶
func (params *ListInsightsQuestionnairesCategoryParams) SetPageSize(PageSize int) *ListInsightsQuestionnairesCategoryParams
type ListInsightsQuestionnairesCategoryResponse ¶
type ListInsightsQuestionnairesCategoryResponse struct { Categories []FlexV1InsightsQuestionnairesCategory `json:"categories,omitempty"` Meta ListChannelResponseMeta `json:"meta,omitempty"` }
ListInsightsQuestionnairesCategoryResponse struct for ListInsightsQuestionnairesCategoryResponse
type ListInsightsQuestionnairesParams ¶
type ListInsightsQuestionnairesParams struct { // The Authorization HTTP request header Authorization *string `json:"Authorization,omitempty"` // Flag indicating whether to include inactive questionnaires or not IncludeInactive *bool `json:"IncludeInactive,omitempty"` // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListInsightsQuestionnaires'
func (*ListInsightsQuestionnairesParams) SetAuthorization ¶
func (params *ListInsightsQuestionnairesParams) SetAuthorization(Authorization string) *ListInsightsQuestionnairesParams
func (*ListInsightsQuestionnairesParams) SetIncludeInactive ¶
func (params *ListInsightsQuestionnairesParams) SetIncludeInactive(IncludeInactive bool) *ListInsightsQuestionnairesParams
func (*ListInsightsQuestionnairesParams) SetLimit ¶
func (params *ListInsightsQuestionnairesParams) SetLimit(Limit int) *ListInsightsQuestionnairesParams
func (*ListInsightsQuestionnairesParams) SetPageSize ¶
func (params *ListInsightsQuestionnairesParams) SetPageSize(PageSize int) *ListInsightsQuestionnairesParams
type ListInsightsQuestionnairesQuestionParams ¶
type ListInsightsQuestionnairesQuestionParams struct { // The Authorization HTTP request header Authorization *string `json:"Authorization,omitempty"` // The list of category SIDs CategorySid *[]string `json:"CategorySid,omitempty"` // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListInsightsQuestionnairesQuestion'
func (*ListInsightsQuestionnairesQuestionParams) SetAuthorization ¶
func (params *ListInsightsQuestionnairesQuestionParams) SetAuthorization(Authorization string) *ListInsightsQuestionnairesQuestionParams
func (*ListInsightsQuestionnairesQuestionParams) SetCategorySid ¶
func (params *ListInsightsQuestionnairesQuestionParams) SetCategorySid(CategorySid []string) *ListInsightsQuestionnairesQuestionParams
func (*ListInsightsQuestionnairesQuestionParams) SetLimit ¶
func (params *ListInsightsQuestionnairesQuestionParams) SetLimit(Limit int) *ListInsightsQuestionnairesQuestionParams
func (*ListInsightsQuestionnairesQuestionParams) SetPageSize ¶
func (params *ListInsightsQuestionnairesQuestionParams) SetPageSize(PageSize int) *ListInsightsQuestionnairesQuestionParams
type ListInsightsQuestionnairesQuestionResponse ¶
type ListInsightsQuestionnairesQuestionResponse struct { Questions []FlexV1InsightsQuestionnairesQuestion `json:"questions,omitempty"` Meta ListChannelResponseMeta `json:"meta,omitempty"` }
ListInsightsQuestionnairesQuestionResponse struct for ListInsightsQuestionnairesQuestionResponse
type ListInsightsQuestionnairesResponse ¶
type ListInsightsQuestionnairesResponse struct { Questionnaires []FlexV1InsightsQuestionnaires `json:"questionnaires,omitempty"` Meta ListChannelResponseMeta `json:"meta,omitempty"` }
ListInsightsQuestionnairesResponse struct for ListInsightsQuestionnairesResponse
type ListInsightsSegmentsParams ¶
type ListInsightsSegmentsParams struct { // The Authorization HTTP request header Authorization *string `json:"Authorization,omitempty"` // To unique id of the segment SegmentId *string `json:"SegmentId,omitempty"` // The list of reservation Ids ReservationId *[]string `json:"ReservationId,omitempty"` // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListInsightsSegments'
func (*ListInsightsSegmentsParams) SetAuthorization ¶
func (params *ListInsightsSegmentsParams) SetAuthorization(Authorization string) *ListInsightsSegmentsParams
func (*ListInsightsSegmentsParams) SetLimit ¶
func (params *ListInsightsSegmentsParams) SetLimit(Limit int) *ListInsightsSegmentsParams
func (*ListInsightsSegmentsParams) SetPageSize ¶
func (params *ListInsightsSegmentsParams) SetPageSize(PageSize int) *ListInsightsSegmentsParams
func (*ListInsightsSegmentsParams) SetReservationId ¶
func (params *ListInsightsSegmentsParams) SetReservationId(ReservationId []string) *ListInsightsSegmentsParams
func (*ListInsightsSegmentsParams) SetSegmentId ¶
func (params *ListInsightsSegmentsParams) SetSegmentId(SegmentId string) *ListInsightsSegmentsParams
type ListInsightsSegmentsResponse ¶
type ListInsightsSegmentsResponse struct { Segments []FlexV1InsightsSegments `json:"segments,omitempty"` Meta ListChannelResponseMeta `json:"meta,omitempty"` }
ListInsightsSegmentsResponse struct for ListInsightsSegmentsResponse
type ListInteractionChannelInviteParams ¶
type ListInteractionChannelInviteParams struct { // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListInteractionChannelInvite'
func (*ListInteractionChannelInviteParams) SetLimit ¶
func (params *ListInteractionChannelInviteParams) SetLimit(Limit int) *ListInteractionChannelInviteParams
func (*ListInteractionChannelInviteParams) SetPageSize ¶
func (params *ListInteractionChannelInviteParams) SetPageSize(PageSize int) *ListInteractionChannelInviteParams
type ListInteractionChannelInviteResponse ¶
type ListInteractionChannelInviteResponse struct { Invites []FlexV1InteractionChannelInvite `json:"invites,omitempty"` Meta ListChannelResponseMeta `json:"meta,omitempty"` }
ListInteractionChannelInviteResponse struct for ListInteractionChannelInviteResponse
type ListInteractionChannelParams ¶
type ListInteractionChannelParams struct { // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListInteractionChannel'
func (*ListInteractionChannelParams) SetLimit ¶
func (params *ListInteractionChannelParams) SetLimit(Limit int) *ListInteractionChannelParams
func (*ListInteractionChannelParams) SetPageSize ¶
func (params *ListInteractionChannelParams) SetPageSize(PageSize int) *ListInteractionChannelParams
type ListInteractionChannelParticipantParams ¶
type ListInteractionChannelParticipantParams struct { // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListInteractionChannelParticipant'
func (*ListInteractionChannelParticipantParams) SetLimit ¶
func (params *ListInteractionChannelParticipantParams) SetLimit(Limit int) *ListInteractionChannelParticipantParams
func (*ListInteractionChannelParticipantParams) SetPageSize ¶
func (params *ListInteractionChannelParticipantParams) SetPageSize(PageSize int) *ListInteractionChannelParticipantParams
type ListInteractionChannelParticipantResponse ¶
type ListInteractionChannelParticipantResponse struct { Participants []FlexV1InteractionChannelParticipant `json:"participants,omitempty"` Meta ListChannelResponseMeta `json:"meta,omitempty"` }
ListInteractionChannelParticipantResponse struct for ListInteractionChannelParticipantResponse
type ListInteractionChannelResponse ¶
type ListInteractionChannelResponse struct { Channels []FlexV1InteractionChannel `json:"channels,omitempty"` Meta ListChannelResponseMeta `json:"meta,omitempty"` }
ListInteractionChannelResponse struct for ListInteractionChannelResponse
type ListWebChannelParams ¶
type ListWebChannelParams struct { // How many resources to return in each list page. The default is 50, and the maximum is 1000. PageSize *int `json:"PageSize,omitempty"` // Max number of records to return. Limit *int `json:"limit,omitempty"` }
Optional parameters for the method 'ListWebChannel'
func (*ListWebChannelParams) SetLimit ¶
func (params *ListWebChannelParams) SetLimit(Limit int) *ListWebChannelParams
func (*ListWebChannelParams) SetPageSize ¶
func (params *ListWebChannelParams) SetPageSize(PageSize int) *ListWebChannelParams
type ListWebChannelResponse ¶
type ListWebChannelResponse struct { FlexChatChannels []FlexV1WebChannel `json:"flex_chat_channels,omitempty"` Meta ListChannelResponseMeta `json:"meta,omitempty"` }
ListWebChannelResponse struct for ListWebChannelResponse
type UpdateFlexFlowParams ¶
type UpdateFlexFlowParams struct { // A descriptive string that you create to describe the Flex Flow resource. FriendlyName *string `json:"FriendlyName,omitempty"` // The SID of the chat service. ChatServiceSid *string `json:"ChatServiceSid,omitempty"` // ChannelType *string `json:"ChannelType,omitempty"` // The channel contact's Identity. ContactIdentity *string `json:"ContactIdentity,omitempty"` // Whether the new Flex Flow is enabled. Enabled *bool `json:"Enabled,omitempty"` // IntegrationType *string `json:"IntegrationType,omitempty"` // The SID of the Studio Flow. Required when `integrationType` is `studio`. IntegrationFlowSid *string `json:"Integration.FlowSid,omitempty"` // The URL of the external webhook. Required when `integrationType` is `external`. IntegrationUrl *string `json:"Integration.Url,omitempty"` // The Workspace SID for a new Task. Required when `integrationType` is `task`. IntegrationWorkspaceSid *string `json:"Integration.WorkspaceSid,omitempty"` // The Workflow SID for a new Task. Required when `integrationType` is `task`. IntegrationWorkflowSid *string `json:"Integration.WorkflowSid,omitempty"` // The Task Channel SID (TCXXXX) or unique name (e.g., `sms`) to use for the Task that will be created. Applicable and required when `integrationType` is `task`. The default value is `default`. IntegrationChannel *string `json:"Integration.Channel,omitempty"` // The Task timeout in seconds for a new Task. Default is 86,400 seconds (24 hours). Optional when `integrationType` is `task`, not applicable otherwise. IntegrationTimeout *int `json:"Integration.Timeout,omitempty"` // The Task priority of a new Task. The default priority is 0. Optional when `integrationType` is `task`, not applicable otherwise. IntegrationPriority *int `json:"Integration.Priority,omitempty"` // In the context of outbound messaging, defines whether to create a Task immediately (and therefore reserve the conversation to current agent), or delay Task creation until the customer sends the first response. Set to false to create immediately, true to delay Task creation. This setting is only applicable for outbound messaging. IntegrationCreationOnMessage *bool `json:"Integration.CreationOnMessage,omitempty"` // When enabled, Flex will keep the chat channel active so that it may be used for subsequent interactions with a contact identity. Defaults to `false`. LongLived *bool `json:"LongLived,omitempty"` // When enabled, the Messaging Channel Janitor will remove active Proxy sessions if the associated Task is deleted outside of the Flex UI. Defaults to `false`. JanitorEnabled *bool `json:"JanitorEnabled,omitempty"` // The number of times to retry the Studio Flow or webhook in case of failure. Takes integer values from 0 to 3 with the default being 3. Optional when `integrationType` is `studio` or `external`, not applicable otherwise. IntegrationRetryCount *int `json:"Integration.RetryCount,omitempty"` }
Optional parameters for the method 'UpdateFlexFlow'
func (*UpdateFlexFlowParams) SetChannelType ¶
func (params *UpdateFlexFlowParams) SetChannelType(ChannelType string) *UpdateFlexFlowParams
func (*UpdateFlexFlowParams) SetChatServiceSid ¶
func (params *UpdateFlexFlowParams) SetChatServiceSid(ChatServiceSid string) *UpdateFlexFlowParams
func (*UpdateFlexFlowParams) SetContactIdentity ¶
func (params *UpdateFlexFlowParams) SetContactIdentity(ContactIdentity string) *UpdateFlexFlowParams
func (*UpdateFlexFlowParams) SetEnabled ¶
func (params *UpdateFlexFlowParams) SetEnabled(Enabled bool) *UpdateFlexFlowParams
func (*UpdateFlexFlowParams) SetFriendlyName ¶
func (params *UpdateFlexFlowParams) SetFriendlyName(FriendlyName string) *UpdateFlexFlowParams
func (*UpdateFlexFlowParams) SetIntegrationChannel ¶
func (params *UpdateFlexFlowParams) SetIntegrationChannel(IntegrationChannel string) *UpdateFlexFlowParams
func (*UpdateFlexFlowParams) SetIntegrationCreationOnMessage ¶
func (params *UpdateFlexFlowParams) SetIntegrationCreationOnMessage(IntegrationCreationOnMessage bool) *UpdateFlexFlowParams
func (*UpdateFlexFlowParams) SetIntegrationFlowSid ¶
func (params *UpdateFlexFlowParams) SetIntegrationFlowSid(IntegrationFlowSid string) *UpdateFlexFlowParams
func (*UpdateFlexFlowParams) SetIntegrationPriority ¶
func (params *UpdateFlexFlowParams) SetIntegrationPriority(IntegrationPriority int) *UpdateFlexFlowParams
func (*UpdateFlexFlowParams) SetIntegrationRetryCount ¶
func (params *UpdateFlexFlowParams) SetIntegrationRetryCount(IntegrationRetryCount int) *UpdateFlexFlowParams
func (*UpdateFlexFlowParams) SetIntegrationTimeout ¶
func (params *UpdateFlexFlowParams) SetIntegrationTimeout(IntegrationTimeout int) *UpdateFlexFlowParams
func (*UpdateFlexFlowParams) SetIntegrationType ¶
func (params *UpdateFlexFlowParams) SetIntegrationType(IntegrationType string) *UpdateFlexFlowParams
func (*UpdateFlexFlowParams) SetIntegrationUrl ¶
func (params *UpdateFlexFlowParams) SetIntegrationUrl(IntegrationUrl string) *UpdateFlexFlowParams
func (*UpdateFlexFlowParams) SetIntegrationWorkflowSid ¶
func (params *UpdateFlexFlowParams) SetIntegrationWorkflowSid(IntegrationWorkflowSid string) *UpdateFlexFlowParams
func (*UpdateFlexFlowParams) SetIntegrationWorkspaceSid ¶
func (params *UpdateFlexFlowParams) SetIntegrationWorkspaceSid(IntegrationWorkspaceSid string) *UpdateFlexFlowParams
func (*UpdateFlexFlowParams) SetJanitorEnabled ¶
func (params *UpdateFlexFlowParams) SetJanitorEnabled(JanitorEnabled bool) *UpdateFlexFlowParams
func (*UpdateFlexFlowParams) SetLongLived ¶
func (params *UpdateFlexFlowParams) SetLongLived(LongLived bool) *UpdateFlexFlowParams
type UpdateInsightsAssessmentsParams ¶
type UpdateInsightsAssessmentsParams struct { // The Authorization HTTP request header Authorization *string `json:"Authorization,omitempty"` // The offset of the conversation Offset *float32 `json:"Offset,omitempty"` // The answer text selected by user AnswerText *string `json:"AnswerText,omitempty"` // The id of the answer selected by user AnswerId *string `json:"AnswerId,omitempty"` }
Optional parameters for the method 'UpdateInsightsAssessments'
func (*UpdateInsightsAssessmentsParams) SetAnswerId ¶
func (params *UpdateInsightsAssessmentsParams) SetAnswerId(AnswerId string) *UpdateInsightsAssessmentsParams
func (*UpdateInsightsAssessmentsParams) SetAnswerText ¶
func (params *UpdateInsightsAssessmentsParams) SetAnswerText(AnswerText string) *UpdateInsightsAssessmentsParams
func (*UpdateInsightsAssessmentsParams) SetAuthorization ¶
func (params *UpdateInsightsAssessmentsParams) SetAuthorization(Authorization string) *UpdateInsightsAssessmentsParams
func (*UpdateInsightsAssessmentsParams) SetOffset ¶
func (params *UpdateInsightsAssessmentsParams) SetOffset(Offset float32) *UpdateInsightsAssessmentsParams
type UpdateInsightsQuestionnairesCategoryParams ¶
type UpdateInsightsQuestionnairesCategoryParams struct { // The Authorization HTTP request header Authorization *string `json:"Authorization,omitempty"` // The name of this category. Name *string `json:"Name,omitempty"` }
Optional parameters for the method 'UpdateInsightsQuestionnairesCategory'
func (*UpdateInsightsQuestionnairesCategoryParams) SetAuthorization ¶
func (params *UpdateInsightsQuestionnairesCategoryParams) SetAuthorization(Authorization string) *UpdateInsightsQuestionnairesCategoryParams
func (*UpdateInsightsQuestionnairesCategoryParams) SetName ¶
func (params *UpdateInsightsQuestionnairesCategoryParams) SetName(Name string) *UpdateInsightsQuestionnairesCategoryParams
type UpdateInsightsQuestionnairesParams ¶
type UpdateInsightsQuestionnairesParams struct { // The Authorization HTTP request header Authorization *string `json:"Authorization,omitempty"` // The flag to enable or disable questionnaire Active *bool `json:"Active,omitempty"` // The name of this questionnaire Name *string `json:"Name,omitempty"` // The description of this questionnaire Description *string `json:"Description,omitempty"` // The list of questions sids under a questionnaire QuestionSids *[]string `json:"QuestionSids,omitempty"` }
Optional parameters for the method 'UpdateInsightsQuestionnaires'
func (*UpdateInsightsQuestionnairesParams) SetActive ¶
func (params *UpdateInsightsQuestionnairesParams) SetActive(Active bool) *UpdateInsightsQuestionnairesParams
func (*UpdateInsightsQuestionnairesParams) SetAuthorization ¶
func (params *UpdateInsightsQuestionnairesParams) SetAuthorization(Authorization string) *UpdateInsightsQuestionnairesParams
func (*UpdateInsightsQuestionnairesParams) SetDescription ¶
func (params *UpdateInsightsQuestionnairesParams) SetDescription(Description string) *UpdateInsightsQuestionnairesParams
func (*UpdateInsightsQuestionnairesParams) SetName ¶
func (params *UpdateInsightsQuestionnairesParams) SetName(Name string) *UpdateInsightsQuestionnairesParams
func (*UpdateInsightsQuestionnairesParams) SetQuestionSids ¶
func (params *UpdateInsightsQuestionnairesParams) SetQuestionSids(QuestionSids []string) *UpdateInsightsQuestionnairesParams
type UpdateInsightsQuestionnairesQuestionParams ¶
type UpdateInsightsQuestionnairesQuestionParams struct { // The Authorization HTTP request header Authorization *string `json:"Authorization,omitempty"` // The flag to enable for disable NA for answer. AllowNa *bool `json:"AllowNa,omitempty"` // The SID of the category CategorySid *string `json:"CategorySid,omitempty"` // The question. Question *string `json:"Question,omitempty"` // The description for the question. Description *string `json:"Description,omitempty"` // The answer_set for the question. AnswerSetId *string `json:"AnswerSetId,omitempty"` }
Optional parameters for the method 'UpdateInsightsQuestionnairesQuestion'
func (*UpdateInsightsQuestionnairesQuestionParams) SetAllowNa ¶
func (params *UpdateInsightsQuestionnairesQuestionParams) SetAllowNa(AllowNa bool) *UpdateInsightsQuestionnairesQuestionParams
func (*UpdateInsightsQuestionnairesQuestionParams) SetAnswerSetId ¶
func (params *UpdateInsightsQuestionnairesQuestionParams) SetAnswerSetId(AnswerSetId string) *UpdateInsightsQuestionnairesQuestionParams
func (*UpdateInsightsQuestionnairesQuestionParams) SetAuthorization ¶
func (params *UpdateInsightsQuestionnairesQuestionParams) SetAuthorization(Authorization string) *UpdateInsightsQuestionnairesQuestionParams
func (*UpdateInsightsQuestionnairesQuestionParams) SetCategorySid ¶
func (params *UpdateInsightsQuestionnairesQuestionParams) SetCategorySid(CategorySid string) *UpdateInsightsQuestionnairesQuestionParams
func (*UpdateInsightsQuestionnairesQuestionParams) SetDescription ¶
func (params *UpdateInsightsQuestionnairesQuestionParams) SetDescription(Description string) *UpdateInsightsQuestionnairesQuestionParams
func (*UpdateInsightsQuestionnairesQuestionParams) SetQuestion ¶
func (params *UpdateInsightsQuestionnairesQuestionParams) SetQuestion(Question string) *UpdateInsightsQuestionnairesQuestionParams
type UpdateInteractionChannelParams ¶
type UpdateInteractionChannelParams struct { // Status *string `json:"Status,omitempty"` // It changes the state of associated tasks. Routing status is required, When the channel status is set to `inactive`. Allowed Value for routing status is `closed`. Otherwise Optional, if not specified, all tasks will be set to `wrapping`. Routing *interface{} `json:"Routing,omitempty"` }
Optional parameters for the method 'UpdateInteractionChannel'
func (*UpdateInteractionChannelParams) SetRouting ¶
func (params *UpdateInteractionChannelParams) SetRouting(Routing interface{}) *UpdateInteractionChannelParams
func (*UpdateInteractionChannelParams) SetStatus ¶
func (params *UpdateInteractionChannelParams) SetStatus(Status string) *UpdateInteractionChannelParams
type UpdateInteractionChannelParticipantParams ¶
type UpdateInteractionChannelParticipantParams struct { // Status *string `json:"Status,omitempty"` }
Optional parameters for the method 'UpdateInteractionChannelParticipant'
func (*UpdateInteractionChannelParticipantParams) SetStatus ¶
func (params *UpdateInteractionChannelParticipantParams) SetStatus(Status string) *UpdateInteractionChannelParticipantParams
type UpdateWebChannelParams ¶
type UpdateWebChannelParams struct { // ChatStatus *string `json:"ChatStatus,omitempty"` // The post-engagement data. PostEngagementData *string `json:"PostEngagementData,omitempty"` }
Optional parameters for the method 'UpdateWebChannel'
func (*UpdateWebChannelParams) SetChatStatus ¶
func (params *UpdateWebChannelParams) SetChatStatus(ChatStatus string) *UpdateWebChannelParams
func (*UpdateWebChannelParams) SetPostEngagementData ¶
func (params *UpdateWebChannelParams) SetPostEngagementData(PostEngagementData string) *UpdateWebChannelParams
Source Files ¶
- account_provision_status.go
- api_service.go
- channels.go
- configuration.go
- flex_flows.go
- insights_conversations.go
- insights_quality_management_assessments.go
- insights_quality_management_assessments_comments.go
- insights_quality_management_categories.go
- insights_quality_management_questionnaires.go
- insights_quality_management_questions.go
- insights_quality_management_settings_answer_sets.go
- insights_quality_management_settings_comment_tags.go
- insights_segments.go
- insights_session.go
- insights_user_roles.go
- interactions.go
- interactions_channels.go
- interactions_channels_invites.go
- interactions_channels_participants.go
- model_flex_v1_channel.go
- model_flex_v1_configuration.go
- model_flex_v1_flex_flow.go
- model_flex_v1_insights_assessments.go
- model_flex_v1_insights_assessments_comment.go
- model_flex_v1_insights_conversations.go
- model_flex_v1_insights_questionnaires.go
- model_flex_v1_insights_questionnaires_category.go
- model_flex_v1_insights_questionnaires_question.go
- model_flex_v1_insights_segments.go
- model_flex_v1_insights_session.go
- model_flex_v1_insights_settings_answersets.go
- model_flex_v1_insights_settings_comment.go
- model_flex_v1_insights_user_roles.go
- model_flex_v1_interaction.go
- model_flex_v1_interaction_channel.go
- model_flex_v1_interaction_channel_invite.go
- model_flex_v1_interaction_channel_participant.go
- model_flex_v1_provisioning_status.go
- model_flex_v1_web_channel.go
- model_list_channel_response.go
- model_list_channel_response_meta.go
- model_list_flex_flow_response.go
- model_list_insights_assessments_comment_response.go
- model_list_insights_assessments_response.go
- model_list_insights_conversations_response.go
- model_list_insights_questionnaires_category_response.go
- model_list_insights_questionnaires_question_response.go
- model_list_insights_questionnaires_response.go
- model_list_insights_segments_response.go
- model_list_interaction_channel_invite_response.go
- model_list_interaction_channel_participant_response.go
- model_list_interaction_channel_response.go
- model_list_web_channel_response.go
- web_channels.go