123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- <?php
- declare(strict_types=1);
- /**
- * @copyright Copyright (c) 2023 Kate Döen <kate.doeen@nextcloud.com>
- *
- * @author Kate Döen <kate.doeen@nextcloud.com>
- *
- * @license GNU AGPL version 3 or any later version
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
- namespace OCA\Provisioning_API;
- /**
- * @psalm-type Provisioning_APIUserDetailsQuota = array{
- * free?: float|int,
- * quota?: float|int|string,
- * relative?: float|int,
- * total?: float|int,
- * used?: float|int,
- * }
- *
- * @psalm-type Provisioning_APIUserDetails = array{
- * additional_mail: string[],
- * additional_mailScope?: string[],
- * address: string,
- * addressScope?: string,
- * avatarScope?: string,
- * backend: string,
- * backendCapabilities: array{
- * setDisplayName: bool,
- * setPassword: bool
- * },
- * biography: string,
- * biographyScope?: string,
- * display-name: string,
- * displayname: string,
- * displaynameScope?: string,
- * email: ?string,
- * emailScope?: string,
- * enabled?: bool,
- * fediverse: string,
- * fediverseScope?: string,
- * groups: string[],
- * headline: string,
- * headlineScope?: string,
- * id: string,
- * language: string,
- * lastLogin: int,
- * locale: string,
- * manager: string,
- * notify_email: ?string,
- * organisation: string,
- * organisationScope?: string,
- * phone: string,
- * phoneScope?: string,
- * profile_enabled: string,
- * profile_enabledScope?: string,
- * quota: Provisioning_APIUserDetailsQuota,
- * role: string,
- * roleScope?: string,
- * storageLocation?: string,
- * subadmin: string[],
- * twitter: string,
- * twitterScope?: string,
- * website: string,
- * websiteScope?: string,
- * }
- *
- * @psalm-type Provisioning_APIAppInfo = array{
- * active: bool|null,
- * activity: ?mixed,
- * author: ?mixed,
- * background-jobs: ?mixed,
- * bugs: ?mixed,
- * category: ?mixed,
- * collaboration: ?mixed,
- * commands: ?mixed,
- * default_enable: ?mixed,
- * dependencies: ?mixed,
- * description: string,
- * discussion: ?mixed,
- * documentation: ?mixed,
- * groups: ?mixed,
- * id: string,
- * info: ?mixed,
- * internal: bool|null,
- * level: int|null,
- * licence: ?mixed,
- * name: string,
- * namespace: ?mixed,
- * navigations: ?mixed,
- * preview: ?mixed,
- * previewAsIcon: bool|null,
- * public: ?mixed,
- * remote: ?mixed,
- * removable: bool|null,
- * repair-steps: ?mixed,
- * repository: ?mixed,
- * sabre: ?mixed,
- * screenshot: ?mixed,
- * settings: ?mixed,
- * summary: string,
- * trash: ?mixed,
- * two-factor-providers: ?mixed,
- * types: ?mixed,
- * version: string,
- * versions: ?mixed,
- * website: ?mixed,
- * }
- *
- * @psalm-type Provisioning_APIGroupDetails = array{
- * id: string,
- * displayname: string,
- * usercount: bool|int,
- * disabled: bool|int,
- * canAdd: bool,
- * canRemove: bool,
- * }
- */
- class ResponseDefinitions {
- }
|