docs: Update license to MIT
This commit is contained in:
parent
5f46a75d10
commit
8f1d35e0bc
2
LICENSE
2
LICENSE
|
|
@ -1,6 +1,6 @@
|
||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2021 Matrix API Lite
|
Copyright (C) 2021 Famedly GmbH
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Ansible inventory script used at Famedly GmbH for managing many hosts
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
import 'dart:core';
|
import 'dart:core';
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
library matrix_api_lite;
|
library matrix_api_lite;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
abstract class AlgorithmTypes {
|
abstract class AlgorithmTypes {
|
||||||
static const String olmV1Curve25519AesSha2 = 'm.olm.v1.curve25519-aes-sha2';
|
static const String olmV1Curve25519AesSha2 = 'm.olm.v1.curve25519-aes-sha2';
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
class AuthenticationData {
|
class AuthenticationData {
|
||||||
String type;
|
String type;
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
class AuthenticationIdentifier {
|
class AuthenticationIdentifier {
|
||||||
String type;
|
String type;
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'authentication_user_identifier.dart';
|
import 'authentication_user_identifier.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'authentication_identifier.dart';
|
import 'authentication_identifier.dart';
|
||||||
import 'authentication_types.dart';
|
import 'authentication_types.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'authentication_data.dart';
|
import 'authentication_data.dart';
|
||||||
import 'authentication_types.dart';
|
import 'authentication_types.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'authentication_identifier.dart';
|
import 'authentication_identifier.dart';
|
||||||
import 'authentication_types.dart';
|
import 'authentication_types.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'authentication_data.dart';
|
import 'authentication_data.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'authentication_data.dart';
|
import 'authentication_data.dart';
|
||||||
import 'authentication_types.dart';
|
import 'authentication_types.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
abstract class AuthenticationTypes {
|
abstract class AuthenticationTypes {
|
||||||
static const String password = 'm.login.password';
|
static const String password = 'm.login.password';
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'authentication_identifier.dart';
|
import 'authentication_identifier.dart';
|
||||||
import 'authentication_types.dart';
|
import 'authentication_types.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import '../utils/map_copy_extension.dart';
|
import '../utils/map_copy_extension.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'basic_event.dart';
|
import 'basic_event.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'basic_event.dart';
|
import 'basic_event.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
class Device {
|
class Device {
|
||||||
String deviceId;
|
String deviceId;
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'matrix_event.dart';
|
import 'matrix_event.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
abstract class EventTypes {
|
abstract class EventTypes {
|
||||||
// Room timeline and state event types
|
// Room timeline and state event types
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,26 @@
|
||||||
|
/* MIT License
|
||||||
|
*
|
||||||
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
* in the Software without restriction, including without limitation the rights
|
||||||
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import '../basic_event.dart';
|
import '../basic_event.dart';
|
||||||
import '../../utils/try_get_map_extension.dart';
|
import '../../utils/try_get_map_extension.dart';
|
||||||
import 'room_key_content.dart';
|
import 'room_key_content.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,26 @@
|
||||||
|
/* MIT License
|
||||||
|
*
|
||||||
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
* in the Software without restriction, including without limitation the rights
|
||||||
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import '../../utils/try_get_map_extension.dart';
|
import '../../utils/try_get_map_extension.dart';
|
||||||
|
|
||||||
class OlmPlaintextPayload {
|
class OlmPlaintextPayload {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,26 @@
|
||||||
|
/* MIT License
|
||||||
|
*
|
||||||
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
* in the Software without restriction, including without limitation the rights
|
||||||
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'package:matrix_api_lite/src/utils/logs.dart';
|
import 'package:matrix_api_lite/src/utils/logs.dart';
|
||||||
|
|
||||||
import '../basic_event.dart';
|
import '../basic_event.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,26 @@
|
||||||
|
/* MIT License
|
||||||
|
*
|
||||||
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
* in the Software without restriction, including without limitation the rights
|
||||||
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import '../basic_event.dart';
|
import '../basic_event.dart';
|
||||||
import '../../utils/try_get_map_extension.dart';
|
import '../../utils/try_get_map_extension.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,26 @@
|
||||||
|
/* MIT License
|
||||||
|
*
|
||||||
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
* in the Software without restriction, including without limitation the rights
|
||||||
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import '../basic_event.dart';
|
import '../basic_event.dart';
|
||||||
import '../../utils/try_get_map_extension.dart';
|
import '../../utils/try_get_map_extension.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,26 @@
|
||||||
|
/* MIT License
|
||||||
|
*
|
||||||
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
* in the Software without restriction, including without limitation the rights
|
||||||
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import '../basic_event.dart';
|
import '../basic_event.dart';
|
||||||
import '../../utils/try_get_map_extension.dart';
|
import '../../utils/try_get_map_extension.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,26 @@
|
||||||
|
/* MIT License
|
||||||
|
*
|
||||||
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
* in the Software without restriction, including without limitation the rights
|
||||||
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import '../basic_event.dart';
|
import '../basic_event.dart';
|
||||||
import '../../utils/try_get_map_extension.dart';
|
import '../../utils/try_get_map_extension.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,26 @@
|
||||||
|
/* MIT License
|
||||||
|
*
|
||||||
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
* in the Software without restriction, including without limitation the rights
|
||||||
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import '../basic_event.dart';
|
import '../basic_event.dart';
|
||||||
import '../../utils/try_get_map_extension.dart';
|
import '../../utils/try_get_map_extension.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,26 @@
|
||||||
|
/* MIT License
|
||||||
|
*
|
||||||
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
* in the Software without restriction, including without limitation the rights
|
||||||
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import '../basic_event.dart';
|
import '../basic_event.dart';
|
||||||
import '../../utils/try_get_map_extension.dart';
|
import '../../utils/try_get_map_extension.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'matrix_event.dart';
|
import 'matrix_event.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
enum EventFormat { client, federation }
|
enum EventFormat { client, federation }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'matrix_keys.dart';
|
import 'matrix_keys.dart';
|
||||||
import '../utils/map_copy_extension.dart';
|
import '../utils/map_copy_extension.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'well_known_informations.dart';
|
import 'well_known_informations.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
class LoginTypes {
|
class LoginTypes {
|
||||||
List<Flows> flows;
|
List<Flows> flows;
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
class MatrixConnectionException implements Exception {
|
class MatrixConnectionException implements Exception {
|
||||||
final dynamic original;
|
final dynamic original;
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'stripped_state_event.dart';
|
import 'stripped_state_event.dart';
|
||||||
import '../utils/map_copy_extension.dart';
|
import '../utils/map_copy_extension.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'dart:convert';
|
import 'dart:convert';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import '../utils/map_copy_extension.dart';
|
import '../utils/map_copy_extension.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
abstract class MessageTypes {
|
abstract class MessageTypes {
|
||||||
static const String Text = 'm.text';
|
static const String Text = 'm.text';
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'matrix_event.dart';
|
import 'matrix_event.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import '../utils/map_copy_extension.dart';
|
import '../utils/map_copy_extension.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
class OpenGraphData {
|
class OpenGraphData {
|
||||||
String ogTitle;
|
String ogTitle;
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
class OpenIdCredentials {
|
class OpenIdCredentials {
|
||||||
String accessToken;
|
String accessToken;
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'basic_event_with_sender.dart';
|
import 'basic_event_with_sender.dart';
|
||||||
import 'presence_content.dart';
|
import 'presence_content.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
enum PresenceType { online, offline, unavailable }
|
enum PresenceType { online, offline, unavailable }
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
class Profile {
|
class Profile {
|
||||||
/// The user's avatar URL if they have set one, otherwise null.
|
/// The user's avatar URL if they have set one, otherwise null.
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
class PublicRoomsResponse {
|
class PublicRoomsResponse {
|
||||||
List<PublicRoom> chunk;
|
List<PublicRoom> chunk;
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
enum PushRuleKind { content, override, room, sender, underride }
|
enum PushRuleKind { content, override, room, sender, underride }
|
||||||
enum PushRuleAction { notify, dont_notify, coalesce, set_tweak }
|
enum PushRuleAction { notify, dont_notify, coalesce, set_tweak }
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
class Pusher {
|
class Pusher {
|
||||||
String pushkey;
|
String pushkey;
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
class RequestTokenResponse {
|
class RequestTokenResponse {
|
||||||
String sid;
|
String sid;
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
class RoomAliasInformations {
|
class RoomAliasInformations {
|
||||||
String roomId;
|
String roomId;
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2020 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import '../../matrix_api_lite.dart';
|
import '../../matrix_api_lite.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2020 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
class RoomKeysSingleKey {
|
class RoomKeysSingleKey {
|
||||||
int firstMessageIndex;
|
int firstMessageIndex;
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
class RoomSummary {
|
class RoomSummary {
|
||||||
List<String> mHeroes;
|
List<String> mHeroes;
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import '../utils/map_copy_extension.dart';
|
import '../utils/map_copy_extension.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'basic_event_with_sender.dart';
|
import 'basic_event_with_sender.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
class SupportedProtocol {
|
class SupportedProtocol {
|
||||||
List<String> userFields;
|
List<String> userFields;
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
class SupportedVersions {
|
class SupportedVersions {
|
||||||
List<String> versions;
|
List<String> versions;
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'basic_event.dart';
|
import 'basic_event.dart';
|
||||||
import 'basic_event_with_sender.dart';
|
import 'basic_event_with_sender.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
class Tag {
|
class Tag {
|
||||||
double order;
|
double order;
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import '../matrix_api.dart';
|
import '../matrix_api.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import '../utils/map_copy_extension.dart';
|
import '../utils/map_copy_extension.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import '../utils/map_copy_extension.dart';
|
import '../utils/map_copy_extension.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'matrix_event.dart';
|
import 'matrix_event.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
class TurnServerCredentials {
|
class TurnServerCredentials {
|
||||||
String username;
|
String username;
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2020 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'matrix_exception.dart';
|
import 'matrix_exception.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'profile.dart';
|
import 'profile.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
class WellKnownInformations {
|
class WellKnownInformations {
|
||||||
MHomeserver mHomeserver;
|
MHomeserver mHomeserver;
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
class WhoIsInfo {
|
class WhoIsInfo {
|
||||||
String userId;
|
String userId;
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2020 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'package:logger/logger.dart';
|
import 'package:logger/logger.dart';
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Matrix API Lite
|
*
|
||||||
* Copyright (C) 2020 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
extension MapCopyExtension on Map<String, dynamic> {
|
extension MapCopyExtension on Map<String, dynamic> {
|
||||||
/// Deep-copies a given json map
|
/// Deep-copies a given json map
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,26 @@
|
||||||
|
/* MIT License
|
||||||
|
*
|
||||||
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
|
*
|
||||||
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
|
* in the Software without restriction, including without limitation the rights
|
||||||
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
|
* furnished to do so, subject to the following conditions:
|
||||||
|
*
|
||||||
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
|
* copies or substantial portions of the Software.
|
||||||
|
*
|
||||||
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'logs.dart';
|
import 'logs.dart';
|
||||||
|
|
||||||
extension TryGetMapExtension on Map<String, dynamic> {
|
extension TryGetMapExtension on Map<String, dynamic> {
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Famedly Matrix SDK
|
*
|
||||||
* Copyright (C) 2020 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'package:matrix_api_lite/matrix_api_lite.dart';
|
import 'package:matrix_api_lite/matrix_api_lite.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Famedly Matrix SDK
|
*
|
||||||
* Copyright (C) 2020 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'package:matrix_api_lite/matrix_api_lite.dart';
|
import 'package:matrix_api_lite/matrix_api_lite.dart';
|
||||||
import 'package:test/test.dart';
|
import 'package:test/test.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Ansible inventory script used at Famedly GmbH for managing many hosts
|
*
|
||||||
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'dart:typed_data';
|
import 'dart:typed_data';
|
||||||
import 'package:logger/logger.dart';
|
import 'package:logger/logger.dart';
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,25 @@
|
||||||
/*
|
/* MIT License
|
||||||
* Famedly Matrix SDK
|
*
|
||||||
* Copyright (C) 2020 Famedly GmbH
|
* Copyright (C) 2019, 2020, 2021 Famedly GmbH
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* it under the terms of the GNU Affero General Public License as
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* published by the Free Software Foundation, either version 3 of the
|
* in the Software without restriction, including without limitation the rights
|
||||||
* License, or (at your option) any later version.
|
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
*
|
* copies of the Software, and to permit persons to whom the Software is
|
||||||
* This program is distributed in the hope that it will be useful,
|
* furnished to do so, subject to the following conditions:
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
*
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* The above copyright notice and this permission notice shall be included in all
|
||||||
* GNU Affero General Public License for more details.
|
* copies or substantial portions of the Software.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Affero General Public License
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
*/
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
|
* SOFTWARE.
|
||||||
|
*/
|
||||||
|
|
||||||
import 'package:logger/logger.dart';
|
import 'package:logger/logger.dart';
|
||||||
import 'package:matrix_api_lite/matrix_api_lite.dart';
|
import 'package:matrix_api_lite/matrix_api_lite.dart';
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue