Documentation ¶
Index ¶
- func AddCalComRoutes(rg *gin.RouterGroup, ...)
- func Run(config *config.Config, services *service.Services)
- type AttendedBy
- type BookingCancelRequest
- type BookingCreatedRequest
- type BookingRescheduleRequest
- type ContactParticipant
- type CreateMeetingResponse
- type Email
- type ExternalMeeting
- type ExternalMeetings
- type Note
- type OauthSlackResponse
- type OauthSlackRevokeResponse
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCalComRoutes ¶
func AddCalComRoutes(rg *gin.RouterGroup, secretsRepo postgresRepository.PersonalIntegrationRepository)
Types ¶
type AttendedBy ¶
type AttendedBy struct {
ContactParticipant *ContactParticipant `json:"contactParticipant"`
}
type BookingCancelRequest ¶
type BookingCreatedRequest ¶
type BookingCreatedRequest struct { TriggerEvent string `json:"triggerEvent"` Payload struct { Title string `json:"title"` AdditionalNotes string `json:"additionalNotes"` StartTime time.Time `json:"startTime"` EndTime time.Time `json:"endTime"` Organizer struct { Email string `json:"email"` } `json:"organizer"` Attendees []struct { Email string `json:"email"` Name string `json:"name"` TimeZone string `json:"timeZone"` Language struct { Locale string `json:"locale"` } `json:"language"` } `json:"attendees"` Uid string `json:"uid"` ConferenceData struct { CreateRequest struct { RequestId string `json:"requestId"` } `json:"createRequest"` } `json:"conferenceData"` Metadata struct { VideoCallUrl string `json:"videoCallUrl"` } `json:"metadata"` } `json:"payload"` }
type BookingRescheduleRequest ¶
type BookingRescheduleRequest struct { TriggerEvent string `json:"triggerEvent"` Payload struct { Title string `json:"title"` RescheduleUid string `json:"rescheduleUid"` RescheduleStartTime time.Time `json:"rescheduleStartTime"` RescheduleEndTime time.Time `json:"rescheduleEndTime"` Organizer struct { Email string `json:"email"` } `json:"organizer"` Attendees []struct { Email string `json:"email"` Name string `json:"name"` TimeZone string `json:"timeZone"` Language struct { Locale string `json:"locale"` } `json:"language"` } `json:"attendees"` Uid string `json:"uid"` Metadata struct { VideoCallUrl string `json:"videoCallUrl"` } `json:"metadata"` } `json:"payload"` }
type ContactParticipant ¶
type CreateMeetingResponse ¶
type CreateMeetingResponse struct { MeetingCreate struct { Id string `json:"id"` Name string `json:"name"` Source string `json:"source"` StartedAt time.Time `json:"startedAt"` EndedAt time.Time `json:"endedAt"` AttendedBy []struct { Typename string `json:"__typename"` ContactParticipant struct { Id string `json:"id"` FirstName string `json:"firstName"` } `json:"contactParticipant"` } `json:"attendedBy"` CreatedBy []struct { Typename string `json:"__typename"` UserParticipant struct { Id string `json:"id"` FirstName string `json:"firstName"` } `json:"userParticipant"` } `json:"createdBy"` Note []struct { Id string `json:"id"` Html string `json:"html"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` AppSource string `json:"appSource"` SourceOfTruth string `json:"sourceOfTruth"` } `json:"note"` CreatedAt time.Time `json:"createdAt"` UpdatedAt time.Time `json:"updatedAt"` AppSource string `json:"appSource"` SourceOfTruth string `json:"sourceOfTruth"` } `json:"meeting_Create"` }
type ExternalMeeting ¶
type ExternalMeeting struct { AttendedBy []*AttendedBy `json:"attendedBy"` Note []*Note `json:"note"` ID string `json:"id"` }
type ExternalMeetings ¶
type ExternalMeetings struct { Content []*ExternalMeeting `json:"content"` TotalElements int64 `json:"totalElements"` TotalPages int64 `json:"totalPages"` }
type OauthSlackResponse ¶
type OauthSlackResponse struct { Ok bool `json:"ok"` Error string `json:"error"` AppId string `json:"app_id"` AuthedUser struct { Id string `json:"id"` } `json:"authed_user"` Scope string `json:"scope"` TokenType string `json:"token_type"` AccessToken string `json:"access_token"` BotUserId string `json:"bot_user_id"` Team struct { Id string `json:"id"` Name string `json:"name"` } `json:"team"` Enterprise interface{} `json:"enterprise"` IsEnterpriseInstall bool `json:"is_enterprise_install"` }
type Response ¶
type Response struct {
ExternalMeetings *ExternalMeetings `json:"externalMeetings"`
}
Click to show internal directories.
Click to hide internal directories.