module Place::CalendarCommon
Included Modules
- PlaceOS::Driver::Interface::Mailer
Direct including types
Defined in:
place/calendar_common.crInstance Method Summary
- #accept_event(calendar_id : String, event_id : String, user_id : String | Nil = nil, notify : Bool = false, comment : String | Nil = nil)
- #access_token(user_id : String | Nil = nil)
-
#calendar_service_name
returns: google or office365
- #create_event(title : String, event_start : Int64, event_end : Int64 | Nil = nil, description : String = "", attendees : Array(PlaceCalendar::Event::Attendee) = [] of ::PlaceCalendar::Event::Attendee, location : String | Nil = nil, timezone : String | Nil = nil, user_id : String | Nil = nil, calendar_id : String | Nil = nil, online_meeting_id : String | Nil = nil, online_meeting_provider : String | Nil = nil, online_meeting_url : String | Nil = nil, online_meeting_sip : String | Nil = nil, online_meeting_phones : Array(String) | Nil = nil, online_meeting_pin : String | Nil = nil)
- #create_notifier(resource : String, notification_url : String, expiration_time : Int64, client_secret : String | Nil = nil, lifecycle_notification_url : String | Nil = nil) : PlaceCalendar::Subscription
- #decline_event(calendar_id : String, event_id : String, user_id : String | Nil = nil, notify : Bool = false, comment : String | Nil = nil)
- #delete_event(calendar_id : String, event_id : String, user_id : String | Nil = nil, notify : Bool = false, comment : String | Nil = nil)
- #delete_notifier(subscription : PlaceCalendar::Subscription) : Nil
- #generate_png_qrcode(text : String, size : Int32 = 128) : String
- #generate_svg_qrcode(text : String) : String
- #get_event(calendar_id : String, event_id : String, user_id : String | Nil = nil)
-
#get_group(group_id : String)
NOTE : GraphAPI Only!
- #get_groups(user_id : String)
- #get_members(group_id : String, next_page : String | Nil = nil)
- #get_user(user_id : String)
-
#get_user_manager(user_id : String)
NOTE : GraphAPI Only!
- #in_flight_size
- #list_calendars(user_id : String)
- #list_events(calendar_id : String, period_start : Int64, period_end : Int64, time_zone : String | Nil = nil, user_id : String | Nil = nil, include_cancelled : Bool = false, ical_uid : String | Nil = nil)
-
#list_groups(query : String | Nil = nil, filter : String | Nil = nil)
NOTE : GraphAPI Only! - here for use with configuration
- #list_users(query : String | Nil = nil, limit : Int32 | Nil = nil, filter : String | Nil = nil, next_page : String | Nil = nil)
- #on_load
- #on_unload
- #on_update
- #queue_size
-
#reauthorize_notifier(subscription : PlaceCalendar::Subscription, new_expiration_time : Int64 | Nil = nil) : PlaceCalendar::Subscription
NOTE : GraphAPI Only!
- #renew_notifier(subscription : PlaceCalendar::Subscription, new_expiration_time : Int64) : PlaceCalendar::Subscription
- #send_mail(to : String | Array(String), subject : String, message_plaintext : String | Nil = nil, message_html : String | Nil = nil, resource_attachments : Array(ResourceAttachment) = [] of ResourceAttachment, attachments : Array(Attachment) = [] of Attachment, cc : String | Array(String) = [] of String, bcc : String | Array(String) = [] of String, from : String | Array(String) | Nil = nil, reply_to : String | Array(String) | Nil = nil)
- #update_event(event : PlaceCalendar::Event, user_id : String | Nil = nil, calendar_id : String | Nil = nil)
Instance Method Detail
def accept_event(calendar_id : String, event_id : String, user_id : String | Nil = nil, notify : Bool = false, comment : String | Nil = nil)
#
def create_event(title : String, event_start : Int64, event_end : Int64 | Nil = nil, description : String = "", attendees : Array(PlaceCalendar::Event::Attendee) = [] of ::PlaceCalendar::Event::Attendee, location : String | Nil = nil, timezone : String | Nil = nil, user_id : String | Nil = nil, calendar_id : String | Nil = nil, online_meeting_id : String | Nil = nil, online_meeting_provider : String | Nil = nil, online_meeting_url : String | Nil = nil, online_meeting_sip : String | Nil = nil, online_meeting_phones : Array(String) | Nil = nil, online_meeting_pin : String | Nil = nil)
#
def create_notifier(resource : String, notification_url : String, expiration_time : Int64, client_secret : String | Nil = nil, lifecycle_notification_url : String | Nil = nil) : PlaceCalendar::Subscription
#
def decline_event(calendar_id : String, event_id : String, user_id : String | Nil = nil, notify : Bool = false, comment : String | Nil = nil)
#
def delete_event(calendar_id : String, event_id : String, user_id : String | Nil = nil, notify : Bool = false, comment : String | Nil = nil)
#
def get_event(calendar_id : String, event_id : String, user_id : String | Nil = nil)
#
def list_events(calendar_id : String, period_start : Int64, period_end : Int64, time_zone : String | Nil = nil, user_id : String | Nil = nil, include_cancelled : Bool = false, ical_uid : String | Nil = nil)
#
NOTE : GraphAPI Only! - here for use with configuration
def list_users(query : String | Nil = nil, limit : Int32 | Nil = nil, filter : String | Nil = nil, next_page : String | Nil = nil)
#
def reauthorize_notifier(subscription : PlaceCalendar::Subscription, new_expiration_time : Int64 | Nil = nil) : PlaceCalendar::Subscription
#
NOTE : GraphAPI Only!
def renew_notifier(subscription : PlaceCalendar::Subscription, new_expiration_time : Int64) : PlaceCalendar::Subscription
#
def send_mail(to : String | Array(String), subject : String, message_plaintext : String | Nil = nil, message_html : String | Nil = nil, resource_attachments : Array(ResourceAttachment) = [] of ResourceAttachment, attachments : Array(Attachment) = [] of Attachment, cc : String | Array(String) = [] of String, bcc : String | Array(String) = [] of String, from : String | Array(String) | Nil = nil, reply_to : String | Array(String) | Nil = nil)
#
def update_event(event : PlaceCalendar::Event, user_id : String | Nil = nil, calendar_id : String | Nil = nil)
#