Skip to content

Commit 7423061

Browse files
committed
Meetings endpoint covered
1 parent 69ba8db commit 7423061

File tree

1 file changed

+47
-3
lines changed

1 file changed

+47
-3
lines changed

src/Endpoint/Meetings.php

Lines changed: 47 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,57 @@ public function status(string $meetingId, array $data = []) {
7575
}
7676

7777
/**
78-
* Records
78+
* List Registrants
7979
*
8080
* @param $meetingId
81+
* @param array $query
82+
* @return array|mixed
83+
*/
84+
public function listRegistrants(string $meetingId, array $query = []) {
85+
return $this->get("meetings/{$meetingId}/registrants", $query);
86+
}
87+
88+
/**
89+
* Add Registrant
90+
*
91+
* @param $meetingId
92+
* @param array $data
93+
* @return array|mixed
94+
*/
95+
public function addRegistrant(string $meetingId, array $data = []) {
96+
return $this->post("meetings/{$meetingId}/registrants", $data);
97+
}
98+
99+
/**
100+
* Update Registrant Status
101+
*
102+
* @param $meetingId
103+
* @param array $data
104+
* @return array|mixed
105+
*/
106+
public function updateRegistrantStatus(string $meetingId, array $data = []) {
107+
return $this->put("meetings/{$meetingId}/registrants/status", $data);
108+
}
109+
110+
/**
111+
* Past Meeting
112+
*
113+
* @param $meetingUUID
114+
* @return array|mixed
115+
*/
116+
public function pastMeeting(string $meetingUUID) {
117+
return $this->get("past_meetings/{$meetingUUID}");
118+
}
119+
120+
/**
121+
* Past Meeting Participants
122+
*
123+
* @param $meetingUUID
124+
* @param array $query
81125
* @return array|mixed
82126
*/
83-
public function records(string $meetingId) {
84-
return $this->get("meetings/{$meetingId}/recordings");
127+
public function pastMeetingParticipants(string $meetingUUID, array $query = []) {
128+
return $this->get("past_meetings/{$meetingUUID}/participants", $query);
85129
}
86130

87131
}

0 commit comments

Comments
 (0)