Skip to content

Commit

Permalink
Merge pull request #96 from tada-team/meeting-freq-statuses
Browse files Browse the repository at this point in the history
update structs
  • Loading branch information
deniskelin authored May 11, 2022
2 parents 5c57fd5 + 8535510 commit fa59591
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions meetings.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,17 @@ type Meeting struct {
}

type MeetingsGetRequest struct {
TeamUuid string `json:"team_uuid"`
DateFrom ISODateTimeString `json:"date_from"`
DateTo ISODateTimeString `json:"date_to"`
Members []string `json:"members,omitempty"`
Limit *int32 `json:"limit,omitempty"`
Offset *int32 `json:"offset,omitempty"`
IsArchive *bool `json:"is_archive,omitempty"`
IsFreq *bool `json:"is_freq,omitempty"`
IsPublic *bool `json:"is_public,omitempty"`
IsOutside *bool `json:"is_outside,omitempty"`
IsRequired *bool `json:"is_required,omitempty"`
TeamUuid string `json:"team_uuid"`
DateFrom string `json:"date_from"`
DateTo string `json:"date_to"`
Members []string `json:"members,omitempty"`
Limit *int32 `json:"limit,omitempty"`
Offset *int32 `json:"offset,omitempty"`
IsArchive *bool `json:"is_archive,omitempty"`
IsFreq *bool `json:"is_freq,omitempty"`
IsPublic *bool `json:"is_public,omitempty"`
IsOutside *bool `json:"is_outside,omitempty"`
IsRequired *bool `json:"is_required,omitempty"`
}

type MeetingsResponse struct {
Expand All @@ -44,6 +44,10 @@ type MeetingsResponse struct {
Total *int32 `json:"total,omitempty"`
}

type MeetingsDatesResponse struct {
Dates []string `json:"dates"`
}

type MeetingsCreateRequest struct {
OwnerContactUuid JID `json:"owner_contact_uuid"`
TeamUuid string `json:"team_uuid"`
Expand Down

0 comments on commit fa59591

Please sign in to comment.