content: -- This file is part of the Wire Server implementation.
  --
  -- Copyright (C) 2022 Wire Swiss GmbH <opensource@wire.com>
  --
  -- This program is free software: you can redistribute it and/or modify it under
  -- the terms of the GNU Affero General Public License as published by the Free
  -- Software Foundation, either version 3 of the License, or (at your option) any
  -- later version.
  --
  -- This program is distributed in the hope that it will be useful, but WITHOUT
  -- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  -- FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
  -- details.
  --
  -- You should have received a copy of the GNU Affero General Public License along
  -- with this program. If not, see <https://www.gnu.org/licenses/>.
  
  module Test.Wire.API.Golden.Generated.TeamContact_user where
  
  import Data.Id (Id (Id))
  import Data.Json.Util (readUTCTimeMillis)
  import Data.UUID qualified as UUID (fromString)
  import Imports (Maybe (Just, Nothing), fromJust)
  import Wire.API.Team.Role (Role (RoleAdmin, RoleExternalPartner, RoleMember, RoleOwner))
  import Wire.API.User
  import Wire.API.User.Search (Sso (..), TeamContact (..))
  
  testObject_TeamContact_user_1 :: TeamContact
  testObject_TeamContact_user_1 =
    TeamContact
      { teamContactUserId = Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000200000001")),
        teamContactName = "",
        teamContactColorId = Nothing,
        teamContactHandle = Nothing,
        teamContactTeam = Nothing,
        teamContactEmail = Just (unsafeEmailAddress "some" "example"),
        teamContactCreatedAt = Just (fromJust (readUTCTimeMillis "1864-05-11T12:52:22.086Z")),
        teamContactManagedBy = Nothing,
        teamContactSAMLIdp = Just "r",
        teamContactRole = Just RoleAdmin,
        teamContactScimExternalId = Just "0307979d-c742-4421-954a-9ceb1f22e58f",
        teamContactSso = Nothing,
        teamContactEmailUnvalidated = Nothing,
        teamContactUserGroups = []
      }
  
  testObject_TeamContact_user_2 :: TeamContact
  testObject_TeamContact_user_2 =
    TeamContact
      { teamContactUserId = Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000000000002")),
        teamContactName = "\160469\35044",
        teamContactColorId = Just 2,
        teamContactHandle = Just "",
        teamContactTeam = Just (Id (fromJust (UUID.fromString "00000002-0000-0000-0000-000200000001"))),
        teamContactEmail = Just (unsafeEmailAddress "some" "example"),
        teamContactCreatedAt = Just (fromJust (readUTCTimeMillis "1864-05-08T03:35:20.125Z")),
        teamContactManagedBy = Nothing,
        teamContactSAMLIdp = Just "N\DC4",
        teamContactRole = Just RoleExternalPartner,
        teamContactScimExternalId = Nothing,
        teamContactSso = Nothing,
        teamContactEmailUnvalidated = Nothing,
        teamContactUserGroups = []
      }
  
  testObject_TeamContact_user_3 :: TeamContact
  testObject_TeamContact_user_3 =
    TeamContact
      { teamContactUserId = Id (fromJust (UUID.fromString "00000002-0000-0000-0000-000000000000")),
        teamContactName = "",
        teamContactColorId = Nothing,
        teamContactHandle = Just "",
        teamContactTeam = Just (Id (fromJust (UUID.fromString "00000002-0000-0002-0000-000100000000"))),
        teamContactEmail = Just (unsafeEmailAddress "some" "example"),
        teamContactCreatedAt = Just (fromJust (readUTCTimeMillis "1864-05-09T04:40:28.583Z")),
        teamContactManagedBy = Just ManagedByScim,
        teamContactSAMLIdp = Just "\"c`",
        teamContactRole = Just RoleMember,
        teamContactScimExternalId = Nothing,
        teamContactSso = Just (Sso "https://example.com/issuer/123" "0307979d-c742-4421-954a-9ceb1f22e58f"),
        teamContactEmailUnvalidated = Nothing,
        teamContactUserGroups = []
      }
  
  testObject_TeamContact_user_4 :: TeamContact
  testObject_TeamContact_user_4 =
    TeamContact
      { teamContactUserId = Id (fromJust (UUID.fromString "00000002-0000-0001-0000-000000000002")),
        teamContactName = "",
        teamContactColorId = Nothing,
        teamContactHandle = Just "U6",
        teamContactTeam = Nothing,
        teamContactEmail = Just (unsafeEmailAddress "some" "example"),
        teamContactCreatedAt = Nothing,
        teamContactManagedBy = Nothing,
        teamContactSAMLIdp = Nothing,
        teamContactRole = Nothing,
        teamContactScimExternalId = Nothing,
        teamContactSso = Nothing,
        teamContactEmailUnvalidated = Just (unsafeEmailAddress "some" "example"),
        teamContactUserGroups = []
      }
  
  testObject_TeamContact_user_5 :: TeamContact
  testObject_TeamContact_user_5 =
    TeamContact
      { teamContactUserId = Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000200000000")),
        teamContactName = "8",
        teamContactColorId = Just (-3),
        teamContactHandle = Just "\RS",
        teamContactTeam = Just (Id (fromJust (UUID.fromString "00000002-0000-0000-0000-000200000000"))),
        teamContactEmail = Nothing,
        teamContactCreatedAt = Just (fromJust (readUTCTimeMillis "1864-05-09T19:22:27.168Z")),
        teamContactManagedBy = Nothing,
        teamContactSAMLIdp = Just "\12641",
        teamContactRole = Just RoleExternalPartner,
        teamContactScimExternalId = Nothing,
        teamContactSso = Nothing,
        teamContactEmailUnvalidated = Nothing,
        teamContactUserGroups = []
      }
  
  testObject_TeamContact_user_6 :: TeamContact
  testObject_TeamContact_user_6 =
    TeamContact
      { teamContactUserId = Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000000")),
        teamContactName = "z",
        teamContactColorId = Nothing,
        teamContactHandle = Nothing,
        teamContactTeam = Nothing,
        teamContactEmail = Nothing,
        teamContactCreatedAt = Nothing,
        teamContactManagedBy = Just ManagedByWire,
        teamContactSAMLIdp = Nothing,
        teamContactRole = Nothing,
        teamContactScimExternalId = Nothing,
        teamContactSso = Nothing,
        teamContactEmailUnvalidated = Nothing,
        teamContactUserGroups = []
      }
  
  testObject_TeamContact_user_7 :: TeamContact
  testObject_TeamContact_user_7 =
    TeamContact
      { teamContactUserId = Id (fromJust (UUID.fromString "00000002-0000-0002-0000-000000000000")),
        teamContactName = "7",
        teamContactColorId = Nothing,
        teamContactHandle = Nothing,
        teamContactTeam = Nothing,
        teamContactEmail = Just (unsafeEmailAddress "some" "example"),
        teamContactCreatedAt = Just (fromJust (readUTCTimeMillis "1864-05-06T11:54:20.119Z")),
        teamContactManagedBy = Just ManagedByWire,
        teamContactSAMLIdp = Nothing,
        teamContactRole = Just RoleAdmin,
        teamContactScimExternalId = Just "0307979d-c742-4421-954a-9ceb1f22e58f",
        teamContactSso = Nothing,
        teamContactEmailUnvalidated = Just (unsafeEmailAddress "some" "example"),
        teamContactUserGroups = []
      }
  
  testObject_TeamContact_user_8 :: TeamContact
  testObject_TeamContact_user_8 =
    TeamContact
      { teamContactUserId = Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000000")),
        teamContactName = "\1067719Z",
        teamContactColorId = Just (-1),
        teamContactHandle = Just "\bdL",
        teamContactTeam = Just (Id (fromJust (UUID.fromString "00000002-0000-0000-0000-000100000002"))),
        teamContactEmail = Just (unsafeEmailAddress "some" "example"),
        teamContactCreatedAt = Just (fromJust (readUTCTimeMillis "1864-05-06T04:27:11.179Z")),
        teamContactManagedBy = Just ManagedByScim,
        teamContactSAMLIdp = Just "",
        teamContactRole = Just RoleMember,
        teamContactScimExternalId = Nothing,
        teamContactSso = Nothing,
        teamContactEmailUnvalidated = Nothing,
        teamContactUserGroups = []
      }
  
  testObject_TeamContact_user_9 :: TeamContact
  testObject_TeamContact_user_9 =
    TeamContact
      { teamContactUserId = Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000000")),
        teamContactName = "h,",
        teamContactColorId = Just 2,
        teamContactHandle = Nothing,
        teamContactTeam = Just (Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000200000001"))),
        teamContactEmail = Just (unsafeEmailAddress "some" "example"),
        teamContactCreatedAt = Just (fromJust (readUTCTimeMillis "1864-05-11T18:31:16.554Z")),
        teamContactManagedBy = Just ManagedByWire,
        teamContactSAMLIdp = Just "\164542\US",
        teamContactRole = Just RoleAdmin,
        teamContactScimExternalId = Nothing,
        teamContactSso = Nothing,
        teamContactEmailUnvalidated = Nothing,
        teamContactUserGroups = []
      }
  
  testObject_TeamContact_user_10 :: TeamContact
  testObject_TeamContact_user_10 =
    TeamContact
      { teamContactUserId = Id (fromJust (UUID.fromString "00000002-0000-0000-0000-000100000001")),
        teamContactName = "or",
        teamContactColorId = Just 2,
        teamContactHandle = Just "",
        teamContactTeam = Nothing,
        teamContactEmail = Nothing,
        teamContactCreatedAt = Just (fromJust (readUTCTimeMillis "1864-05-06T05:51:36.680Z")),
        teamContactManagedBy = Just ManagedByScim,
        teamContactSAMLIdp = Just "P-\EM",
        teamContactRole = Just RoleMember,
        teamContactScimExternalId = Nothing,
        teamContactSso = Just (Sso "https://example.com/issuer/123" "0307979d-c742-4421-954a-9ceb1f22e58f"),
        teamContactEmailUnvalidated = Nothing,
        teamContactUserGroups = []
      }
  
  testObject_TeamContact_user_11 :: TeamContact
  testObject_TeamContact_user_11 =
    TeamContact
      { teamContactUserId = Id (fromJust (UUID.fromString "00000000-0000-0000-0000-000000000002")),
        teamContactName = "\ACK",
        teamContactColorId = Just (-3),
        teamContactHandle = Nothing,
        teamContactTeam = Nothing,
        teamContactEmail = Just (unsafeEmailAddress "some" "example"),
        teamContactCreatedAt = Nothing,
        teamContactManagedBy = Just ManagedByScim,
        teamContactSAMLIdp = Nothing,
        teamContactRole = Just RoleExternalPartner,
        teamContactScimExternalId = Nothing,
        teamContactSso = Nothing,
        teamContactEmailUnvalidated = Nothing,
        teamContactUserGroups = []
      }
  
  testObject_TeamContact_user_12 :: TeamContact
  testObject_TeamContact_user_12 =
    TeamContact
      { teamContactUserId = Id (fromJust (UUID.fromString "00000002-0000-0000-0000-000200000000")),
        teamContactName = "\10652w",
        teamContactColorId = Nothing,
        teamContactHandle = Just "",
        teamContactTeam = Just (Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000000000000"))),
        teamContactEmail = Just (unsafeEmailAddress "some" "example"),
        teamContactCreatedAt = Just (fromJust (readUTCTimeMillis "1864-05-06T13:09:44.601Z")),
        teamContactManagedBy = Nothing,
        teamContactSAMLIdp = Just "\SUB:",
        teamContactRole = Nothing,
        teamContactScimExternalId = Nothing,
        teamContactSso = Nothing,
        teamContactEmailUnvalidated = Nothing,
        teamContactUserGroups = []
      }
  
  testObject_TeamContact_user_13 :: TeamContact
  testObject_TeamContact_user_13 =
    TeamContact
      { teamContactUserId = Id (fromJust (UUID.fromString "00000002-0000-0002-0000-000100000001")),
        teamContactName = "\SUB\983552P",
        teamContactColorId = Just 0,
        teamContactHandle = Just "S",
        teamContactTeam = Just (Id (fromJust (UUID.fromString "00000000-0000-0002-0000-000200000000"))),
        teamContactEmail = Just (unsafeEmailAddress "some" "example"),
        teamContactCreatedAt = Nothing,
        teamContactManagedBy = Just ManagedByScim,
        teamContactSAMLIdp = Just "\993657\a",
        teamContactRole = Just RoleMember,
        teamContactScimExternalId = Just "0307979d-c742-4421-954a-9ceb1f22e58f",
        teamContactSso = Nothing,
        teamContactEmailUnvalidated = Nothing,
        teamContactUserGroups = []
      }
  
  testObject_TeamContact_user_14 :: TeamContact
  testObject_TeamContact_user_14 =
    TeamContact
      { teamContactUserId = Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000100000000")),
        teamContactName = "`+",
        teamContactColorId = Just (-3),
        teamContactHandle = Just "\"\US\DC4",
        teamContactTeam = Nothing,
        teamContactEmail = Just (unsafeEmailAddress "some" "example"),
        teamContactCreatedAt = Just (fromJust (readUTCTimeMillis "1864-05-08T20:31:37.388Z")),
        teamContactManagedBy = Just ManagedByScim,
        teamContactSAMLIdp = Nothing,
        teamContactRole = Just RoleExternalPartner,
        teamContactScimExternalId = Just "0307979d-c742-4421-954a-9ceb1f22e58f",
        teamContactSso = Nothing,
        teamContactEmailUnvalidated = Nothing,
        teamContactUserGroups = []
      }
  
  testObject_TeamContact_user_15 :: TeamContact
  testObject_TeamContact_user_15 =
    TeamContact
      { teamContactUserId = Id (fromJust (UUID.fromString "00000002-0000-0002-0000-000100000002")),
        teamContactName = "\54517}O",
        teamContactColorId = Nothing,
        teamContactHandle = Just "J",
        teamContactTeam = Nothing,
        teamContactEmail = Just (unsafeEmailAddress "some" "example"),
        teamContactCreatedAt = Just (fromJust (readUTCTimeMillis "1864-05-11T14:15:19.890Z")),
        teamContactManagedBy = Nothing,
        teamContactSAMLIdp = Just "",
        teamContactRole = Just RoleExternalPartner,
        teamContactScimExternalId = Nothing,
        teamContactSso = Nothing,
        teamContactEmailUnvalidated = Just (unsafeEmailAddress "some" "example"),
        teamContactUserGroups = []
      }
  
  testObject_TeamContact_user_16 :: TeamContact
  testObject_TeamContact_user_16 =
    TeamContact
      { teamContactUserId = Id (fromJust (UUID.fromString "00000001-0000-0000-0000-000000000002")),
        teamContactName = "\ACK6J",
        teamContactColorId = Just (-1),
        teamContactHandle = Nothing,
        teamContactTeam = Just (Id (fromJust (UUID.fromString "00000001-0000-0002-0000-000200000001"))),
        teamContactEmail = Just (unsafeEmailAddress "some" "example"),
        teamContactCreatedAt = Just (fromJust (readUTCTimeMillis "1864-05-08T15:43:05.866Z")),
        teamContactManagedBy = Just ManagedByWire,
        teamContactSAMLIdp = Just "k",
        teamContactRole = Nothing,
        teamContactScimExternalId = Nothing,
        teamContactSso = Just (Sso "https://example.com/issuer/123" "0307979d-c742-4421-954a-9ceb1f22e58f"),
        teamContactEmailUnvalidated = Just (unsafeEmailAddress "some" "example"),
        teamContactUserGroups = []
      }
  
  testObject_TeamContact_user_17 :: TeamContact
  testObject_TeamContact_user_17 =
    TeamContact
      { teamContactUserId = Id (fromJust (UUID.fromString "00000000-0000-0001-0000-000200000001")),
        teamContactName = "/MB",
        teamContactColorId = Just (-3),
        teamContactHandle = Nothing,
        teamContactTeam = Just (Id (fromJust (UUID.fromString "00000002-0000-0000-0000-000200000001"))),
        teamContactEmail = Just (unsafeEmailAddress "some" "example"),
        teamContactCreatedAt = Just (fromJust (readUTCTimeMillis "1864-05-10T20:50:28.410Z")),
        teamContactManagedBy = Just ManagedByWire,
        teamContactSAMLIdp = Just "\138052",
        teamContactRole = Just RoleOwner,
        teamContactScimExternalId = Just "0307979d-c742-4421-954a-9ceb1f22e58f",
        teamContactSso = Just (Sso "https://example.com/issuer/123" "0307979d-c742-4421-954a-9ceb1f22e58f"),
        teamContactEmailUnvalidated = Nothing,
        teamContactUserGroups = []
      }
  
  testObject_TeamContact_user_18 :: TeamContact
  testObject_TeamContact_user_18 =
    TeamContact
      { teamContactUserId = Id (fromJust (UUID.fromString "00000002-0000-0001-0000-000000000002")),
        teamContactName = "[\1078188C",
        teamContactColorId = Just 3,
        teamContactHandle = Nothing,
        teamContactTeam = Just (Id (fromJust (UUID.fromString "00000001-0000-0002-0000-000000000000"))),
        teamContactEmail = Just (unsafeEmailAddress "some" "example"),
        teamContactCreatedAt = Nothing,
        teamContactManagedBy = Just ManagedByWire,
        teamContactSAMLIdp = Just "\DC2",
        teamContactRole = Just RoleOwner,
        teamContactScimExternalId = Nothing,
        teamContactSso = Just (Sso "https://example.com/issuer/123" "0307979d-c742-4421-954a-9ceb1f22e58f"),
        teamContactEmailUnvalidated = Nothing,
        teamContactUserGroups = []
      }
  
  testObject_TeamContact_user_19 :: TeamContact
  testObject_TeamContact_user_19 =
    TeamContact
      { teamContactUserId = Id (fromJust (UUID.fromString "00000001-0000-0002-0000-000200000002")),
        teamContactName = "",
        teamContactColorId = Just (-3),
        teamContactHandle = Nothing,
        teamContactTeam = Just (Id (fromJust (UUID.fromString "00000001-0000-0002-0000-000200000002"))),
        teamContactEmail = Just (unsafeEmailAddress "some" "example"),
        teamContactCreatedAt = Just (fromJust (readUTCTimeMillis "1864-05-10T11:20:36.673Z")),
        teamContactManagedBy = Nothing,
        teamContactSAMLIdp = Nothing,
        teamContactRole = Just RoleExternalPartner,
        teamContactScimExternalId = Nothing,
        teamContactSso = Just (Sso "https://example.com/issuer/123" "0307979d-c742-4421-954a-9ceb1f22e58f"),
        teamContactEmailUnvalidated = Nothing,
        teamContactUserGroups = []
      }
  
  testObject_TeamContact_user_20 :: TeamContact
  testObject_TeamContact_user_20 =
    TeamContact
      { teamContactUserId = Id (fromJust (UUID.fromString "00000001-0000-0001-0000-000100000000")),
        teamContactName = "",
        teamContactColorId = Just (-3),
        teamContactHandle = Just "0\1085403\1021449",
        teamContactTeam = Just (Id (fromJust (UUID.fromString "00000001-0000-0002-0000-000100000001"))),
        teamContactEmail = Just (unsafeEmailAddress "some" "example"),
        teamContactCreatedAt = Just (fromJust (readUTCTimeMillis "1864-05-06T18:23:32.240Z")),
        teamContactManagedBy = Just ManagedByScim,
        teamContactSAMLIdp = Just "",
        teamContactRole = Just RoleOwner,
        teamContactScimExternalId = Just "0307979d-c742-4421-954a-9ceb1f22e58f",
        teamContactSso = Nothing,
        teamContactEmailUnvalidated = Just (unsafeEmailAddress "some" "example"),
        teamContactUserGroups = []
      }
  