@@ -101,16 +101,25 @@ |
||
101 | 101 | return $this->performRequest('GET', static::MESSAGES_USER_ENDPOINT, $userId); |
102 | 102 | } |
103 | 103 | |
104 | + /** |
|
105 | + * @param string $tableName |
|
106 | + */ |
|
104 | 107 | public function createEntry($tableName, array $data) |
105 | 108 | { |
106 | 109 | return $this->performRequest('POST', static::TABLE_ENTRY_CREATE_ENDPOINT, $tableName, $data); |
107 | 110 | } |
108 | 111 | |
112 | + /** |
|
113 | + * @param string $tableName |
|
114 | + */ |
|
109 | 115 | public function updateEntry($tableName, $id, array $data) |
110 | 116 | { |
111 | 117 | return $this->performRequest('PUT', static::TABLE_ENTRY_UPDATE_ENDPOINT, [$tableName, $id], $data); |
112 | 118 | } |
113 | 119 | |
120 | + /** |
|
121 | + * @param string $tableName |
|
122 | + */ |
|
114 | 123 | public function deleteEntry($tableName, $ids) |
115 | 124 | { |
116 | 125 | return $this->performRequest('DELETE', static::TABLE_ENTRY_DELETE_ENDPOINT, [$tableName, $ids]); |