class InviteInfoDeviceRepSchema(BaseRepSchema): type = fields.EnumCheckedConstant(InvitationType.DEVICE, required=True) greeter_user_id = UserIDField(required=True) greeter_human_handle = HumanHandleField(allow_none=True, missing=True)
class InviteNewUserReqSchema(BaseReqSchema): type = fields.EnumCheckedConstant(InvitationType.USER, required=True) claimer_email = fields.String(required=True) send_email = fields.Boolean(required=True)
class InviteListItemDeviceSchema(BaseSchema): type = fields.EnumCheckedConstant(InvitationType.DEVICE, required=True) token = fields.UUID(required=True) created_on = fields.DateTime(required=True) status = InvitationStatusField(required=True)
class InviteInfoUserRepSchema(BaseRepSchema): type = fields.EnumCheckedConstant(InvitationType.USER, required=True) claimer_email = fields.String(required=True) greeter_user_id = UserIDField(required=True) greeter_human_handle = HumanHandleField(allow_none=True, missing=True)
class InviteListItemUserSchema(BaseSchema): type = fields.EnumCheckedConstant(InvitationType.USER, required=True) token = fields.UUID(required=True) created_on = fields.DateTime(required=True) claimer_email = fields.String(required=True) status = InvitationStatusField(required=True)
class APIV1_HandshakeAdministrationAnswerSchema(BaseSchema): handshake = fields.CheckedConstant("answer", required=True) type = fields.EnumCheckedConstant(APIV1_HandshakeType.ADMINISTRATION, required=True) client_api_version = ApiVersionField(required=True) token = fields.String(required=True)
class InviteNewDeviceReqSchema(BaseReqSchema): type = fields.EnumCheckedConstant(InvitationType.DEVICE, required=True) send_email = fields.Boolean(required=True)
class NewInstanceReqSchema(BaseSchema): cmd = fields.EnumCheckedConstant(IPCCommand.NEW_INSTANCE, required=True) start_arg = fields.String(allow_none=True)
class ForegroundReqSchema(BaseSchema): cmd = fields.EnumCheckedConstant(IPCCommand.FOREGROUND, required=True)